Documentation ¶
Index ¶
- func ConfigMap(envoy *v1.Envoy) *apiv1.ConfigMap
- func Deployment(envoy *v1.Envoy) *appsv1.Deployment
- func Service(envoy *v1.Envoy) *apiv1.Service
- func UpdateStatus(clientset client.Interface, envoy *v1.Envoy, namespace string, ...) error
- type APIConfigSource
- type Address
- type Admin
- type AdsConfig
- type Bootstrap
- type CdsConfig
- type Clusters
- type DynamicResources
- type Grpc
- type GrpcServices
- type HTTP2ProtocolOptions
- type Hosts
- type LdsConfig
- type Node
- type SocketAddress
- type StaticResources
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Deployment ¶
func Deployment(envoy *v1.Envoy) *appsv1.Deployment
Deployment returns a spec for an envoy deployment
func UpdateStatus ¶
func UpdateStatus(clientset client.Interface, envoy *v1.Envoy, namespace string, deployment *appsv1.Deployment) error
UpdateStatus updates the status of an envoy resource
Types ¶
type APIConfigSource ¶
type APIConfigSource struct { APIType string `json:"api_type"` GrpcServices GrpcServices `json:"grpc_services"` }
type Address ¶
type Address struct {
SocketAddress SocketAddress `json:"socket_address"`
}
type AdsConfig ¶
type AdsConfig struct { APIType string `json:"api_type"` GrpcServices GrpcServices `json:"grpc_services"` }
type Bootstrap ¶
type Bootstrap struct { DynamicResources DynamicResources `json:"dynamic_resources"` Node Node `json:"node"` StaticResources StaticResources `json:"static_resources"` Admin Admin `json:"admin"` }
type CdsConfig ¶
type CdsConfig struct {
APIConfigSource APIConfigSource `json:"api_config_source"`
}
type Clusters ¶
type Clusters struct { Name string `json:"name"` Type string `json:"type"` ConnectTimeout string `json:"connect_timeout"` Hosts []Hosts `json:"hosts"` HTTP2ProtocolOptions HTTP2ProtocolOptions `json:"http2_protocol_options"` }
type DynamicResources ¶
type GrpcServices ¶
type GrpcServices struct {
Grpc Grpc `json:"envoy_grpc"`
}
type HTTP2ProtocolOptions ¶
type HTTP2ProtocolOptions struct { }
type Hosts ¶
type Hosts struct {
SocketAddress SocketAddress `json:"socket_address"`
}
type LdsConfig ¶
type LdsConfig struct {
APIConfigSource APIConfigSource `json:"api_config_source"`
}
type SocketAddress ¶
type StaticResources ¶
type StaticResources struct {
Clusters []Clusters `json:"clusters"`
}
Click to show internal directories.
Click to hide internal directories.