model

package
v0.0.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCServiceOptions

type GRPCServiceOptions struct {
	Host string `json:"host" yaml:"host"`
	Port int    `json:"port" yaml:"port"`
}

GRPCServiceOptions gRPC server options

type HTTPError

type HTTPError struct {
	Code    int    `json:"code" example:"400"`
	Message string `json:"message" example:"status bad request"`
}

HTTPError error response

type HostedZone added in v0.0.7

type HostedZone struct {
	Id   string `json:"id" yaml:"id"`
	Name string `json:"name" yaml:"name"`
}

type ListHostedZonesResponse added in v0.0.7

type ListHostedZonesResponse struct {
	HostedZones []HostedZone `json:"hostedzones" yaml:"hostedzones"`
}

type MetricsServiceOptions

type MetricsServiceOptions struct {
	Port int `json:"port" yaml:"port"`
}

MetricsServiceOptions metrics server options

type RestServiceOptions

type RestServiceOptions struct {
	Port           int    `json:"port" yaml:"port"`
	CAFile         string `json:"caFile" yaml:"caFile"`
	PrivateKeyFile string `json:"privateKetFile" yaml:"privateKeyFile"`
	PublicCertFile string `json:"publicCertFile" yaml:"publicCertFile"`
}

RestServiceOptions http server options

type StatusResponse

type StatusResponse struct {
	Message string `json:"message"`
}

StatusResponse status response

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL