Documentation ¶
Index ¶
- Constants
- Variables
- func NewApiEventLoop(emitter ApiEmitter, syncer ApiSyncer) eventloop.EventLoop
- func NewApiSimpleEventLoop(emitter ApiSimpleEmitter, syncers ...ApiSyncer) eventloop.SimpleEventLoop
- func NewDiscoveryEventLoop(emitter DiscoveryEmitter, syncer DiscoverySyncer) eventloop.EventLoop
- func NewDiscoverySimpleEventLoop(emitter DiscoverySimpleEmitter, syncers ...DiscoverySyncer) eventloop.SimpleEventLoop
- func NewEdsEventLoop(emitter EdsEmitter, syncer EdsSyncer) eventloop.EventLoop
- func NewEdsSimpleEventLoop(emitter EdsSimpleEmitter, syncers ...EdsSyncer) eventloop.SimpleEventLoop
- func NewSetupEventLoop(emitter SetupEmitter, syncer SetupSyncer) eventloop.EventLoop
- func NewSetupSimpleEventLoop(emitter SetupSimpleEmitter, syncers ...SetupSyncer) eventloop.SimpleEventLoop
- type ApiEmitter
- type ApiSimpleEmitter
- type ApiSnapshot
- type ApiSnapshotStringer
- type ApiSyncDeciderdeprecated
- type ApiSyncDeciderWithContext
- type ApiSyncer
- type ApiSyncers
- type Artifact
- func (o *Artifact) DeepCopyObject() runtime.Object
- func (*Artifact) Descriptor() ([]byte, []int)
- func (this *Artifact) Equal(that interface{}) bool
- func (m *Artifact) GetData() map[string]string
- func (m *Artifact) GetMetadata() core.Metadata
- func (o *Artifact) GetObjectKind() schema.ObjectKind
- func (r *Artifact) GroupVersionKind() schema.GroupVersionKind
- func (r *Artifact) Hash() uint64
- func (*Artifact) ProtoMessage()
- func (m *Artifact) Reset()
- func (r *Artifact) SetMetadata(meta core.Metadata)
- func (m *Artifact) String() string
- func (m *Artifact) XXX_DiscardUnknown()
- func (m *Artifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Artifact) XXX_Merge(src proto.Message)
- func (m *Artifact) XXX_Size() int
- func (m *Artifact) XXX_Unmarshal(b []byte) error
- type ArtifactClient
- type ArtifactList
- func (list ArtifactList) AsInterfaces() []interface{}
- func (list ArtifactList) AsResources() resources.ResourceList
- func (list ArtifactList) Clone() ArtifactList
- func (list ArtifactList) Each(f func(element *Artifact))
- func (list ArtifactList) EachResource(f func(element resources.Resource))
- func (list ArtifactList) Find(namespace, name string) (*Artifact, error)
- func (list ArtifactList) Names() []string
- func (list ArtifactList) NamespacesDotNames() []string
- func (list ArtifactList) Sort() ArtifactList
- type ArtifactReconciler
- type ArtifactWatcher
- type AwsSecret
- func (*AwsSecret) Descriptor() ([]byte, []int)
- func (this *AwsSecret) Equal(that interface{}) bool
- func (m *AwsSecret) GetAccessKey() string
- func (m *AwsSecret) GetSecretKey() string
- func (*AwsSecret) ProtoMessage()
- func (m *AwsSecret) Reset()
- func (m *AwsSecret) String() string
- func (m *AwsSecret) XXX_DiscardUnknown()
- func (m *AwsSecret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AwsSecret) XXX_Merge(src proto.Message)
- func (m *AwsSecret) XXX_Size() int
- func (m *AwsSecret) XXX_Unmarshal(b []byte) error
- type AzureSecret
- func (*AzureSecret) Descriptor() ([]byte, []int)
- func (this *AzureSecret) Equal(that interface{}) bool
- func (m *AzureSecret) GetApiKeys() map[string]string
- func (*AzureSecret) ProtoMessage()
- func (m *AzureSecret) Reset()
- func (m *AzureSecret) String() string
- func (m *AzureSecret) XXX_DiscardUnknown()
- func (m *AzureSecret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AzureSecret) XXX_Merge(src proto.Message)
- func (m *AzureSecret) XXX_Size() int
- func (m *AzureSecret) XXX_Unmarshal(b []byte) error
- type CallCredentials
- func (*CallCredentials) Descriptor() ([]byte, []int)
- func (this *CallCredentials) Equal(that interface{}) bool
- func (m *CallCredentials) GetFileCredentialSource() *CallCredentials_FileCredentialSource
- func (*CallCredentials) ProtoMessage()
- func (m *CallCredentials) Reset()
- func (m *CallCredentials) String() string
- func (m *CallCredentials) XXX_DiscardUnknown()
- func (m *CallCredentials) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CallCredentials) XXX_Merge(src proto.Message)
- func (m *CallCredentials) XXX_Size() int
- func (m *CallCredentials) XXX_Unmarshal(b []byte) error
- type CallCredentials_FileCredentialSource
- func (*CallCredentials_FileCredentialSource) Descriptor() ([]byte, []int)
- func (this *CallCredentials_FileCredentialSource) Equal(that interface{}) bool
- func (m *CallCredentials_FileCredentialSource) GetHeader() string
- func (m *CallCredentials_FileCredentialSource) GetTokenFileName() string
- func (*CallCredentials_FileCredentialSource) ProtoMessage()
- func (m *CallCredentials_FileCredentialSource) Reset()
- func (m *CallCredentials_FileCredentialSource) String() string
- func (m *CallCredentials_FileCredentialSource) XXX_DiscardUnknown()
- func (m *CallCredentials_FileCredentialSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CallCredentials_FileCredentialSource) XXX_Merge(src proto.Message)
- func (m *CallCredentials_FileCredentialSource) XXX_Size() int
- func (m *CallCredentials_FileCredentialSource) XXX_Unmarshal(b []byte) error
- type CircuitBreakerConfig
- func (*CircuitBreakerConfig) Descriptor() ([]byte, []int)
- func (this *CircuitBreakerConfig) Equal(that interface{}) bool
- func (m *CircuitBreakerConfig) GetMaxConnections() *types.UInt32Value
- func (m *CircuitBreakerConfig) GetMaxPendingRequests() *types.UInt32Value
- func (m *CircuitBreakerConfig) GetMaxRequests() *types.UInt32Value
- func (m *CircuitBreakerConfig) GetMaxRetries() *types.UInt32Value
- func (*CircuitBreakerConfig) ProtoMessage()
- func (m *CircuitBreakerConfig) Reset()
- func (m *CircuitBreakerConfig) String() string
- func (m *CircuitBreakerConfig) XXX_DiscardUnknown()
- func (m *CircuitBreakerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CircuitBreakerConfig) XXX_Merge(src proto.Message)
- func (m *CircuitBreakerConfig) XXX_Size() int
- func (m *CircuitBreakerConfig) XXX_Unmarshal(b []byte) error
- type ConnectionConfig
- func (*ConnectionConfig) Descriptor() ([]byte, []int)
- func (this *ConnectionConfig) Equal(that interface{}) bool
- func (m *ConnectionConfig) GetConnectTimeout() *time.Duration
- func (m *ConnectionConfig) GetMaxRequestsPerConnection() uint32
- func (m *ConnectionConfig) GetTcpKeepalive() *ConnectionConfig_TcpKeepAlive
- func (*ConnectionConfig) ProtoMessage()
- func (m *ConnectionConfig) Reset()
- func (m *ConnectionConfig) String() string
- func (m *ConnectionConfig) XXX_DiscardUnknown()
- func (m *ConnectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConnectionConfig) XXX_Merge(src proto.Message)
- func (m *ConnectionConfig) XXX_Size() int
- func (m *ConnectionConfig) XXX_Unmarshal(b []byte) error
- type ConnectionConfig_TcpKeepAlive
- func (*ConnectionConfig_TcpKeepAlive) Descriptor() ([]byte, []int)
- func (this *ConnectionConfig_TcpKeepAlive) Equal(that interface{}) bool
- func (m *ConnectionConfig_TcpKeepAlive) GetKeepaliveInterval() *time.Duration
- func (m *ConnectionConfig_TcpKeepAlive) GetKeepaliveProbes() uint32
- func (m *ConnectionConfig_TcpKeepAlive) GetKeepaliveTime() *time.Duration
- func (*ConnectionConfig_TcpKeepAlive) ProtoMessage()
- func (m *ConnectionConfig_TcpKeepAlive) Reset()
- func (m *ConnectionConfig_TcpKeepAlive) String() string
- func (m *ConnectionConfig_TcpKeepAlive) XXX_DiscardUnknown()
- func (m *ConnectionConfig_TcpKeepAlive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConnectionConfig_TcpKeepAlive) XXX_Merge(src proto.Message)
- func (m *ConnectionConfig_TcpKeepAlive) XXX_Size() int
- func (m *ConnectionConfig_TcpKeepAlive) XXX_Unmarshal(b []byte) error
- type ConsulServiceDestination
- func (*ConsulServiceDestination) Descriptor() ([]byte, []int)
- func (this *ConsulServiceDestination) Equal(that interface{}) bool
- func (m *ConsulServiceDestination) GetDataCenters() []string
- func (m *ConsulServiceDestination) GetServiceName() string
- func (m *ConsulServiceDestination) GetTags() []string
- func (*ConsulServiceDestination) ProtoMessage()
- func (m *ConsulServiceDestination) Reset()
- func (m *ConsulServiceDestination) String() string
- func (m *ConsulServiceDestination) XXX_DiscardUnknown()
- func (m *ConsulServiceDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsulServiceDestination) XXX_Merge(src proto.Message)
- func (m *ConsulServiceDestination) XXX_Size() int
- func (m *ConsulServiceDestination) XXX_Unmarshal(b []byte) error
- type CorsPolicy
- func (*CorsPolicy) Descriptor() ([]byte, []int)
- func (this *CorsPolicy) Equal(that interface{}) bool
- func (m *CorsPolicy) GetAllowCredentials() bool
- func (m *CorsPolicy) GetAllowHeaders() []string
- func (m *CorsPolicy) GetAllowMethods() []string
- func (m *CorsPolicy) GetAllowOrigin() []string
- func (m *CorsPolicy) GetAllowOriginRegex() []string
- func (m *CorsPolicy) GetExposeHeaders() []string
- func (m *CorsPolicy) GetMaxAge() string
- func (*CorsPolicy) ProtoMessage()
- func (m *CorsPolicy) Reset()
- func (m *CorsPolicy) String() string
- func (m *CorsPolicy) XXX_DiscardUnknown()
- func (m *CorsPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CorsPolicy) XXX_Merge(src proto.Message)
- func (m *CorsPolicy) XXX_Size() int
- func (m *CorsPolicy) XXX_Unmarshal(b []byte) error
- type Destination
- func (*Destination) Descriptor() ([]byte, []int)
- func (this *Destination) Equal(that interface{}) bool
- func (m *Destination) GetConsul() *ConsulServiceDestination
- func (m *Destination) GetDestinationSpec() *DestinationSpec
- func (m *Destination) GetDestinationType() isDestination_DestinationType
- func (m *Destination) GetKube() *KubernetesServiceDestination
- func (m *Destination) GetSubset() *Subset
- func (m *Destination) GetUpstream() *core.ResourceRef
- func (*Destination) ProtoMessage()
- func (m *Destination) Reset()
- func (m *Destination) String() string
- func (m *Destination) XXX_DiscardUnknown()
- func (m *Destination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Destination) XXX_Merge(src proto.Message)
- func (*Destination) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Destination) XXX_Size() int
- func (m *Destination) XXX_Unmarshal(b []byte) error
- type DestinationSpec
- func (*DestinationSpec) Descriptor() ([]byte, []int)
- func (this *DestinationSpec) Equal(that interface{}) bool
- func (m *DestinationSpec) GetAws() *aws.DestinationSpec
- func (m *DestinationSpec) GetAzure() *azure.DestinationSpec
- func (m *DestinationSpec) GetDestinationType() isDestinationSpec_DestinationType
- func (m *DestinationSpec) GetGrpc() *grpc.DestinationSpec
- func (m *DestinationSpec) GetRest() *rest.DestinationSpec
- func (*DestinationSpec) ProtoMessage()
- func (m *DestinationSpec) Reset()
- func (m *DestinationSpec) String() string
- func (m *DestinationSpec) XXX_DiscardUnknown()
- func (m *DestinationSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DestinationSpec) XXX_Merge(src proto.Message)
- func (*DestinationSpec) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *DestinationSpec) XXX_Size() int
- func (m *DestinationSpec) XXX_Unmarshal(b []byte) error
- type DestinationSpec_Aws
- type DestinationSpec_Azure
- type DestinationSpec_Grpc
- type DestinationSpec_Rest
- type Destination_Consul
- type Destination_Kube
- type Destination_Upstream
- type DirectResponseAction
- func (*DirectResponseAction) Descriptor() ([]byte, []int)
- func (this *DirectResponseAction) Equal(that interface{}) bool
- func (m *DirectResponseAction) GetBody() string
- func (m *DirectResponseAction) GetStatus() uint32
- func (*DirectResponseAction) ProtoMessage()
- func (m *DirectResponseAction) Reset()
- func (m *DirectResponseAction) String() string
- func (m *DirectResponseAction) XXX_DiscardUnknown()
- func (m *DirectResponseAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DirectResponseAction) XXX_Merge(src proto.Message)
- func (m *DirectResponseAction) XXX_Size() int
- func (m *DirectResponseAction) XXX_Unmarshal(b []byte) error
- type DiscoveryEmitter
- type DiscoveryMetadata
- func (*DiscoveryMetadata) Descriptor() ([]byte, []int)
- func (this *DiscoveryMetadata) Equal(that interface{}) bool
- func (*DiscoveryMetadata) ProtoMessage()
- func (m *DiscoveryMetadata) Reset()
- func (m *DiscoveryMetadata) String() string
- func (m *DiscoveryMetadata) XXX_DiscardUnknown()
- func (m *DiscoveryMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DiscoveryMetadata) XXX_Merge(src proto.Message)
- func (m *DiscoveryMetadata) XXX_Size() int
- func (m *DiscoveryMetadata) XXX_Unmarshal(b []byte) error
- type DiscoverySimpleEmitter
- type DiscoverySnapshot
- type DiscoverySnapshotStringer
- type DiscoverySyncDeciderdeprecated
- type DiscoverySyncDeciderWithContext
- type DiscoverySyncer
- type DiscoverySyncers
- type EdsEmitter
- type EdsSimpleEmitter
- type EdsSnapshot
- type EdsSnapshotStringer
- type EdsSyncDeciderdeprecated
- type EdsSyncDeciderWithContext
- type EdsSyncer
- type EdsSyncers
- type Endpoint
- func (o *Endpoint) DeepCopyObject() runtime.Object
- func (*Endpoint) Descriptor() ([]byte, []int)
- func (this *Endpoint) Equal(that interface{}) bool
- func (m *Endpoint) GetAddress() string
- func (m *Endpoint) GetMetadata() core.Metadata
- func (o *Endpoint) GetObjectKind() schema.ObjectKind
- func (m *Endpoint) GetPort() uint32
- func (m *Endpoint) GetUpstreams() []*core.ResourceRef
- func (r *Endpoint) GroupVersionKind() schema.GroupVersionKind
- func (r *Endpoint) Hash() uint64
- func (*Endpoint) ProtoMessage()
- func (m *Endpoint) Reset()
- func (r *Endpoint) SetMetadata(meta core.Metadata)
- func (m *Endpoint) String() string
- func (m *Endpoint) XXX_DiscardUnknown()
- func (m *Endpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Endpoint) XXX_Merge(src proto.Message)
- func (m *Endpoint) XXX_Size() int
- func (m *Endpoint) XXX_Unmarshal(b []byte) error
- type EndpointClient
- type EndpointList
- func (list EndpointList) AsInterfaces() []interface{}
- func (list EndpointList) AsResources() resources.ResourceList
- func (list EndpointList) Clone() EndpointList
- func (list EndpointList) Each(f func(element *Endpoint))
- func (list EndpointList) EachResource(f func(element resources.Resource))
- func (list EndpointList) Find(namespace, name string) (*Endpoint, error)
- func (list EndpointList) Names() []string
- func (list EndpointList) NamespacesDotNames() []string
- func (list EndpointList) Sort() EndpointList
- type EndpointReconciler
- type EndpointWatcher
- type Extension
- func (*Extension) Descriptor() ([]byte, []int)
- func (this *Extension) Equal(that interface{}) bool
- func (m *Extension) GetConfig() *types.Struct
- func (*Extension) ProtoMessage()
- func (m *Extension) Reset()
- func (m *Extension) String() string
- func (m *Extension) XXX_DiscardUnknown()
- func (m *Extension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Extension) XXX_Merge(src proto.Message)
- func (m *Extension) XXX_Size() int
- func (m *Extension) XXX_Unmarshal(b []byte) error
- type Extensions
- func (*Extensions) Descriptor() ([]byte, []int)
- func (this *Extensions) Equal(that interface{}) bool
- func (m *Extensions) GetConfigs() map[string]*types.Struct
- func (*Extensions) ProtoMessage()
- func (m *Extensions) Reset()
- func (m *Extensions) String() string
- func (m *Extensions) XXX_DiscardUnknown()
- func (m *Extensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Extensions) XXX_Merge(src proto.Message)
- func (m *Extensions) XXX_Size() int
- func (m *Extensions) XXX_Unmarshal(b []byte) error
- type HeaderMatcher
- func (*HeaderMatcher) Descriptor() ([]byte, []int)
- func (this *HeaderMatcher) Equal(that interface{}) bool
- func (m *HeaderMatcher) GetName() string
- func (m *HeaderMatcher) GetRegex() bool
- func (m *HeaderMatcher) GetValue() string
- func (*HeaderMatcher) ProtoMessage()
- func (m *HeaderMatcher) Reset()
- func (m *HeaderMatcher) String() string
- func (m *HeaderMatcher) XXX_DiscardUnknown()
- func (m *HeaderMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HeaderMatcher) XXX_Merge(src proto.Message)
- func (m *HeaderMatcher) XXX_Size() int
- func (m *HeaderMatcher) XXX_Unmarshal(b []byte) error
- type HttpListener
- func (*HttpListener) Descriptor() ([]byte, []int)
- func (this *HttpListener) Equal(that interface{}) bool
- func (m *HttpListener) GetListenerPlugins() *HttpListenerPlugins
- func (m *HttpListener) GetVirtualHosts() []*VirtualHost
- func (*HttpListener) ProtoMessage()
- func (m *HttpListener) Reset()
- func (m *HttpListener) String() string
- func (m *HttpListener) XXX_DiscardUnknown()
- func (m *HttpListener) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HttpListener) XXX_Merge(src proto.Message)
- func (m *HttpListener) XXX_Size() int
- func (m *HttpListener) XXX_Unmarshal(b []byte) error
- type HttpListenerPlugins
- func (*HttpListenerPlugins) Descriptor() ([]byte, []int)
- func (this *HttpListenerPlugins) Equal(that interface{}) bool
- func (m *HttpListenerPlugins) GetExtensions() *Extensions
- func (m *HttpListenerPlugins) GetGrpcWeb() *grpc_web.GrpcWeb
- func (m *HttpListenerPlugins) GetHttpConnectionManagerSettings() *hcm.HttpConnectionManagerSettings
- func (*HttpListenerPlugins) ProtoMessage()
- func (m *HttpListenerPlugins) Reset()
- func (m *HttpListenerPlugins) String() string
- func (m *HttpListenerPlugins) XXX_DiscardUnknown()
- func (m *HttpListenerPlugins) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HttpListenerPlugins) XXX_Merge(src proto.Message)
- func (m *HttpListenerPlugins) XXX_Size() int
- func (m *HttpListenerPlugins) XXX_Unmarshal(b []byte) error
- type KubernetesServiceDestination
- func (*KubernetesServiceDestination) Descriptor() ([]byte, []int)
- func (this *KubernetesServiceDestination) Equal(that interface{}) bool
- func (m *KubernetesServiceDestination) GetPort() uint32
- func (m *KubernetesServiceDestination) GetRef() core.ResourceRef
- func (*KubernetesServiceDestination) ProtoMessage()
- func (m *KubernetesServiceDestination) Reset()
- func (m *KubernetesServiceDestination) String() string
- func (m *KubernetesServiceDestination) XXX_DiscardUnknown()
- func (m *KubernetesServiceDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KubernetesServiceDestination) XXX_Merge(src proto.Message)
- func (m *KubernetesServiceDestination) XXX_Size() int
- func (m *KubernetesServiceDestination) XXX_Unmarshal(b []byte) error
- type Listener
- func (*Listener) Descriptor() ([]byte, []int)
- func (this *Listener) Equal(that interface{}) bool
- func (m *Listener) GetBindAddress() string
- func (m *Listener) GetBindPort() uint32
- func (m *Listener) GetHttpListener() *HttpListener
- func (m *Listener) GetListenerType() isListener_ListenerType
- func (m *Listener) GetName() string
- func (m *Listener) GetPlugins() *ListenerPlugins
- func (m *Listener) GetSslConfigurations() []*SslConfig
- func (m *Listener) GetTcpListener() *TcpListener
- func (m *Listener) GetUseProxyProto() *types.BoolValue
- func (*Listener) ProtoMessage()
- func (m *Listener) Reset()
- func (m *Listener) String() string
- func (m *Listener) XXX_DiscardUnknown()
- func (m *Listener) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Listener) XXX_Merge(src proto.Message)
- func (*Listener) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Listener) XXX_Size() int
- func (m *Listener) XXX_Unmarshal(b []byte) error
- type ListenerPlugins
- func (*ListenerPlugins) Descriptor() ([]byte, []int)
- func (this *ListenerPlugins) Equal(that interface{}) bool
- func (m *ListenerPlugins) GetAccessLoggingService() *als.AccessLoggingService
- func (m *ListenerPlugins) GetExtensions() *Extensions
- func (*ListenerPlugins) ProtoMessage()
- func (m *ListenerPlugins) Reset()
- func (m *ListenerPlugins) String() string
- func (m *ListenerPlugins) XXX_DiscardUnknown()
- func (m *ListenerPlugins) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListenerPlugins) XXX_Merge(src proto.Message)
- func (m *ListenerPlugins) XXX_Size() int
- func (m *ListenerPlugins) XXX_Unmarshal(b []byte) error
- type Listener_HttpListener
- type Listener_TcpListener
- type LoadBalancerConfig
- func (*LoadBalancerConfig) Descriptor() ([]byte, []int)
- func (this *LoadBalancerConfig) Equal(that interface{}) bool
- func (m *LoadBalancerConfig) GetHealthyPanicThreshold() *types.DoubleValue
- func (m *LoadBalancerConfig) GetLeastRequest() *LoadBalancerConfig_LeastRequest
- func (m *LoadBalancerConfig) GetMaglev() *LoadBalancerConfig_Maglev
- func (m *LoadBalancerConfig) GetRandom() *LoadBalancerConfig_Random
- func (m *LoadBalancerConfig) GetRingHash() *LoadBalancerConfig_RingHash
- func (m *LoadBalancerConfig) GetRoundRobin() *LoadBalancerConfig_RoundRobin
- func (m *LoadBalancerConfig) GetType() isLoadBalancerConfig_Type
- func (m *LoadBalancerConfig) GetUpdateMergeWindow() *time.Duration
- func (*LoadBalancerConfig) ProtoMessage()
- func (m *LoadBalancerConfig) Reset()
- func (m *LoadBalancerConfig) String() string
- func (m *LoadBalancerConfig) XXX_DiscardUnknown()
- func (m *LoadBalancerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoadBalancerConfig) XXX_Merge(src proto.Message)
- func (*LoadBalancerConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *LoadBalancerConfig) XXX_Size() int
- func (m *LoadBalancerConfig) XXX_Unmarshal(b []byte) error
- type LoadBalancerConfig_LeastRequest
- func (*LoadBalancerConfig_LeastRequest) Descriptor() ([]byte, []int)
- func (this *LoadBalancerConfig_LeastRequest) Equal(that interface{}) bool
- func (m *LoadBalancerConfig_LeastRequest) GetChoiceCount() uint32
- func (*LoadBalancerConfig_LeastRequest) ProtoMessage()
- func (m *LoadBalancerConfig_LeastRequest) Reset()
- func (m *LoadBalancerConfig_LeastRequest) String() string
- func (m *LoadBalancerConfig_LeastRequest) XXX_DiscardUnknown()
- func (m *LoadBalancerConfig_LeastRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoadBalancerConfig_LeastRequest) XXX_Merge(src proto.Message)
- func (m *LoadBalancerConfig_LeastRequest) XXX_Size() int
- func (m *LoadBalancerConfig_LeastRequest) XXX_Unmarshal(b []byte) error
- type LoadBalancerConfig_LeastRequest_
- type LoadBalancerConfig_Maglev
- func (*LoadBalancerConfig_Maglev) Descriptor() ([]byte, []int)
- func (this *LoadBalancerConfig_Maglev) Equal(that interface{}) bool
- func (*LoadBalancerConfig_Maglev) ProtoMessage()
- func (m *LoadBalancerConfig_Maglev) Reset()
- func (m *LoadBalancerConfig_Maglev) String() string
- func (m *LoadBalancerConfig_Maglev) XXX_DiscardUnknown()
- func (m *LoadBalancerConfig_Maglev) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoadBalancerConfig_Maglev) XXX_Merge(src proto.Message)
- func (m *LoadBalancerConfig_Maglev) XXX_Size() int
- func (m *LoadBalancerConfig_Maglev) XXX_Unmarshal(b []byte) error
- type LoadBalancerConfig_Maglev_
- type LoadBalancerConfig_Random
- func (*LoadBalancerConfig_Random) Descriptor() ([]byte, []int)
- func (this *LoadBalancerConfig_Random) Equal(that interface{}) bool
- func (*LoadBalancerConfig_Random) ProtoMessage()
- func (m *LoadBalancerConfig_Random) Reset()
- func (m *LoadBalancerConfig_Random) String() string
- func (m *LoadBalancerConfig_Random) XXX_DiscardUnknown()
- func (m *LoadBalancerConfig_Random) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoadBalancerConfig_Random) XXX_Merge(src proto.Message)
- func (m *LoadBalancerConfig_Random) XXX_Size() int
- func (m *LoadBalancerConfig_Random) XXX_Unmarshal(b []byte) error
- type LoadBalancerConfig_Random_
- type LoadBalancerConfig_RingHash
- func (*LoadBalancerConfig_RingHash) Descriptor() ([]byte, []int)
- func (this *LoadBalancerConfig_RingHash) Equal(that interface{}) bool
- func (m *LoadBalancerConfig_RingHash) GetRingHashConfig() *LoadBalancerConfig_RingHashConfig
- func (*LoadBalancerConfig_RingHash) ProtoMessage()
- func (m *LoadBalancerConfig_RingHash) Reset()
- func (m *LoadBalancerConfig_RingHash) String() string
- func (m *LoadBalancerConfig_RingHash) XXX_DiscardUnknown()
- func (m *LoadBalancerConfig_RingHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoadBalancerConfig_RingHash) XXX_Merge(src proto.Message)
- func (m *LoadBalancerConfig_RingHash) XXX_Size() int
- func (m *LoadBalancerConfig_RingHash) XXX_Unmarshal(b []byte) error
- type LoadBalancerConfig_RingHashConfig
- func (*LoadBalancerConfig_RingHashConfig) Descriptor() ([]byte, []int)
- func (this *LoadBalancerConfig_RingHashConfig) Equal(that interface{}) bool
- func (m *LoadBalancerConfig_RingHashConfig) GetMaximumRingSize() uint64
- func (m *LoadBalancerConfig_RingHashConfig) GetMinimumRingSize() uint64
- func (*LoadBalancerConfig_RingHashConfig) ProtoMessage()
- func (m *LoadBalancerConfig_RingHashConfig) Reset()
- func (m *LoadBalancerConfig_RingHashConfig) String() string
- func (m *LoadBalancerConfig_RingHashConfig) XXX_DiscardUnknown()
- func (m *LoadBalancerConfig_RingHashConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoadBalancerConfig_RingHashConfig) XXX_Merge(src proto.Message)
- func (m *LoadBalancerConfig_RingHashConfig) XXX_Size() int
- func (m *LoadBalancerConfig_RingHashConfig) XXX_Unmarshal(b []byte) error
- type LoadBalancerConfig_RingHash_
- type LoadBalancerConfig_RoundRobin
- func (*LoadBalancerConfig_RoundRobin) Descriptor() ([]byte, []int)
- func (this *LoadBalancerConfig_RoundRobin) Equal(that interface{}) bool
- func (*LoadBalancerConfig_RoundRobin) ProtoMessage()
- func (m *LoadBalancerConfig_RoundRobin) Reset()
- func (m *LoadBalancerConfig_RoundRobin) String() string
- func (m *LoadBalancerConfig_RoundRobin) XXX_DiscardUnknown()
- func (m *LoadBalancerConfig_RoundRobin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoadBalancerConfig_RoundRobin) XXX_Merge(src proto.Message)
- func (m *LoadBalancerConfig_RoundRobin) XXX_Size() int
- func (m *LoadBalancerConfig_RoundRobin) XXX_Unmarshal(b []byte) error
- type LoadBalancerConfig_RoundRobin_
- type Matcher
- func (*Matcher) Descriptor() ([]byte, []int)
- func (this *Matcher) Equal(that interface{}) bool
- func (m *Matcher) GetExact() string
- func (m *Matcher) GetHeaders() []*HeaderMatcher
- func (m *Matcher) GetMethods() []string
- func (m *Matcher) GetPathSpecifier() isMatcher_PathSpecifier
- func (m *Matcher) GetPrefix() string
- func (m *Matcher) GetQueryParameters() []*QueryParameterMatcher
- func (m *Matcher) GetRegex() string
- func (*Matcher) ProtoMessage()
- func (m *Matcher) Reset()
- func (m *Matcher) String() string
- func (m *Matcher) XXX_DiscardUnknown()
- func (m *Matcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Matcher) XXX_Merge(src proto.Message)
- func (*Matcher) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Matcher) XXX_Size() int
- func (m *Matcher) XXX_Unmarshal(b []byte) error
- type Matcher_Exact
- type Matcher_Prefix
- type Matcher_Regex
- type MultiDestination
- func (*MultiDestination) Descriptor() ([]byte, []int)
- func (this *MultiDestination) Equal(that interface{}) bool
- func (m *MultiDestination) GetDestinations() []*WeightedDestination
- func (*MultiDestination) ProtoMessage()
- func (m *MultiDestination) Reset()
- func (m *MultiDestination) String() string
- func (m *MultiDestination) XXX_DiscardUnknown()
- func (m *MultiDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MultiDestination) XXX_Merge(src proto.Message)
- func (m *MultiDestination) XXX_Size() int
- func (m *MultiDestination) XXX_Unmarshal(b []byte) error
- type Proxy
- func (o *Proxy) DeepCopyObject() runtime.Object
- func (*Proxy) Descriptor() ([]byte, []int)
- func (this *Proxy) Equal(that interface{}) bool
- func (m *Proxy) GetListeners() []*Listener
- func (m *Proxy) GetMetadata() core.Metadata
- func (o *Proxy) GetObjectKind() schema.ObjectKind
- func (m *Proxy) GetStatus() core.Status
- func (r *Proxy) GroupVersionKind() schema.GroupVersionKind
- func (r *Proxy) Hash() uint64
- func (*Proxy) ProtoMessage()
- func (m *Proxy) Reset()
- func (r *Proxy) SetMetadata(meta core.Metadata)
- func (r *Proxy) SetStatus(status core.Status)
- func (m *Proxy) String() string
- func (m *Proxy) XXX_DiscardUnknown()
- func (m *Proxy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Proxy) XXX_Merge(src proto.Message)
- func (m *Proxy) XXX_Size() int
- func (m *Proxy) XXX_Unmarshal(b []byte) error
- type ProxyClient
- type ProxyList
- func (list ProxyList) AsInputResources() resources.InputResourceList
- func (list ProxyList) AsInterfaces() []interface{}
- func (list ProxyList) AsResources() resources.ResourceList
- func (list ProxyList) Clone() ProxyList
- func (list ProxyList) Each(f func(element *Proxy))
- func (list ProxyList) EachResource(f func(element resources.Resource))
- func (list ProxyList) Find(namespace, name string) (*Proxy, error)
- func (list ProxyList) Names() []string
- func (list ProxyList) NamespacesDotNames() []string
- func (list ProxyList) Sort() ProxyList
- type ProxyReconciler
- type ProxyWatcher
- type QueryParameterMatcher
- func (*QueryParameterMatcher) Descriptor() ([]byte, []int)
- func (this *QueryParameterMatcher) Equal(that interface{}) bool
- func (m *QueryParameterMatcher) GetName() string
- func (m *QueryParameterMatcher) GetRegex() bool
- func (m *QueryParameterMatcher) GetValue() string
- func (*QueryParameterMatcher) ProtoMessage()
- func (m *QueryParameterMatcher) Reset()
- func (m *QueryParameterMatcher) String() string
- func (m *QueryParameterMatcher) XXX_DiscardUnknown()
- func (m *QueryParameterMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParameterMatcher) XXX_Merge(src proto.Message)
- func (m *QueryParameterMatcher) XXX_Size() int
- func (m *QueryParameterMatcher) XXX_Unmarshal(b []byte) error
- type RedirectAction
- func (*RedirectAction) Descriptor() ([]byte, []int)
- func (this *RedirectAction) Equal(that interface{}) bool
- func (m *RedirectAction) GetHostRedirect() string
- func (m *RedirectAction) GetHttpsRedirect() bool
- func (m *RedirectAction) GetPathRedirect() string
- func (m *RedirectAction) GetPathRewriteSpecifier() isRedirectAction_PathRewriteSpecifier
- func (m *RedirectAction) GetPrefixRewrite() string
- func (m *RedirectAction) GetResponseCode() RedirectAction_RedirectResponseCode
- func (m *RedirectAction) GetStripQuery() bool
- func (*RedirectAction) ProtoMessage()
- func (m *RedirectAction) Reset()
- func (m *RedirectAction) String() string
- func (m *RedirectAction) XXX_DiscardUnknown()
- func (m *RedirectAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RedirectAction) XXX_Merge(src proto.Message)
- func (*RedirectAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *RedirectAction) XXX_Size() int
- func (m *RedirectAction) XXX_Unmarshal(b []byte) error
- type RedirectAction_PathRedirect
- type RedirectAction_PrefixRewrite
- type RedirectAction_RedirectResponseCode
- type Route
- func (*Route) Descriptor() ([]byte, []int)
- func (this *Route) Equal(that interface{}) bool
- func (m *Route) GetAction() isRoute_Action
- func (m *Route) GetDirectResponseAction() *DirectResponseAction
- func (m *Route) GetMatcher() *Matcher
- func (m *Route) GetRedirectAction() *RedirectAction
- func (m *Route) GetRouteAction() *RouteAction
- func (m *Route) GetRoutePlugins() *RoutePlugins
- func (*Route) ProtoMessage()
- func (m *Route) Reset()
- func (m *Route) String() string
- func (m *Route) XXX_DiscardUnknown()
- func (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Route) XXX_Merge(src proto.Message)
- func (*Route) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Route) XXX_Size() int
- func (m *Route) XXX_Unmarshal(b []byte) error
- type RouteAction
- func (*RouteAction) Descriptor() ([]byte, []int)
- func (this *RouteAction) Equal(that interface{}) bool
- func (m *RouteAction) GetDestination() isRouteAction_Destination
- func (m *RouteAction) GetMulti() *MultiDestination
- func (m *RouteAction) GetSingle() *Destination
- func (m *RouteAction) GetUpstreamGroup() *core.ResourceRef
- func (*RouteAction) ProtoMessage()
- func (m *RouteAction) Reset()
- func (m *RouteAction) String() string
- func (m *RouteAction) XXX_DiscardUnknown()
- func (m *RouteAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RouteAction) XXX_Merge(src proto.Message)
- func (*RouteAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *RouteAction) XXX_Size() int
- func (m *RouteAction) XXX_Unmarshal(b []byte) error
- type RouteAction_Multi
- type RouteAction_Single
- type RouteAction_UpstreamGroup
- type RoutePlugins
- func (*RoutePlugins) Descriptor() ([]byte, []int)
- func (this *RoutePlugins) Equal(that interface{}) bool
- func (m *RoutePlugins) GetCors() *cors.CorsPolicy
- func (m *RoutePlugins) GetExtensions() *Extensions
- func (m *RoutePlugins) GetFaults() *faultinjection.RouteFaults
- func (m *RoutePlugins) GetHeaderManipulation() *headers.HeaderManipulation
- func (m *RoutePlugins) GetHostRewrite() *hostrewrite.HostRewrite
- func (m *RoutePlugins) GetLbHash() *lbhash.RouteActionHashConfig
- func (m *RoutePlugins) GetPrefixRewrite() *transformation.PrefixRewrite
- func (m *RoutePlugins) GetRetries() *retries.RetryPolicy
- func (m *RoutePlugins) GetShadowing() *shadowing.RouteShadowing
- func (m *RoutePlugins) GetTimeout() *time.Duration
- func (m *RoutePlugins) GetTracing() *tracing.RouteTracingSettings
- func (m *RoutePlugins) GetTransformations() *transformation.RouteTransformations
- func (*RoutePlugins) ProtoMessage()
- func (m *RoutePlugins) Reset()
- func (m *RoutePlugins) String() string
- func (m *RoutePlugins) XXX_DiscardUnknown()
- func (m *RoutePlugins) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RoutePlugins) XXX_Merge(src proto.Message)
- func (m *RoutePlugins) XXX_Size() int
- func (m *RoutePlugins) XXX_Unmarshal(b []byte) error
- type Route_DirectResponseAction
- type Route_RedirectAction
- type Route_RouteAction
- type SDSConfig
- func (*SDSConfig) Descriptor() ([]byte, []int)
- func (this *SDSConfig) Equal(that interface{}) bool
- func (m *SDSConfig) GetCallCredentials() *CallCredentials
- func (m *SDSConfig) GetCertificatesSecretName() string
- func (m *SDSConfig) GetTargetUri() string
- func (m *SDSConfig) GetValidationContextName() string
- func (*SDSConfig) ProtoMessage()
- func (m *SDSConfig) Reset()
- func (m *SDSConfig) String() string
- func (m *SDSConfig) XXX_DiscardUnknown()
- func (m *SDSConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SDSConfig) XXX_Merge(src proto.Message)
- func (m *SDSConfig) XXX_Size() int
- func (m *SDSConfig) XXX_Unmarshal(b []byte) error
- type SSLFiles
- func (*SSLFiles) Descriptor() ([]byte, []int)
- func (this *SSLFiles) Equal(that interface{}) bool
- func (m *SSLFiles) GetRootCa() string
- func (m *SSLFiles) GetTlsCert() string
- func (m *SSLFiles) GetTlsKey() string
- func (*SSLFiles) ProtoMessage()
- func (m *SSLFiles) Reset()
- func (m *SSLFiles) String() string
- func (m *SSLFiles) XXX_DiscardUnknown()
- func (m *SSLFiles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SSLFiles) XXX_Merge(src proto.Message)
- func (m *SSLFiles) XXX_Size() int
- func (m *SSLFiles) XXX_Unmarshal(b []byte) error
- type Secret
- func (o *Secret) DeepCopyObject() runtime.Object
- func (*Secret) Descriptor() ([]byte, []int)
- func (this *Secret) Equal(that interface{}) bool
- func (m *Secret) GetAws() *AwsSecret
- func (m *Secret) GetAzure() *AzureSecret
- func (m *Secret) GetExtension() *Extension
- func (m *Secret) GetKind() isSecret_Kind
- func (m *Secret) GetMetadata() core.Metadata
- func (o *Secret) GetObjectKind() schema.ObjectKind
- func (m *Secret) GetTls() *TlsSecret
- func (r *Secret) GroupVersionKind() schema.GroupVersionKind
- func (r *Secret) Hash() uint64
- func (*Secret) ProtoMessage()
- func (m *Secret) Reset()
- func (r *Secret) SetMetadata(meta core.Metadata)
- func (m *Secret) String() string
- func (m *Secret) XXX_DiscardUnknown()
- func (m *Secret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Secret) XXX_Merge(src proto.Message)
- func (*Secret) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Secret) XXX_Size() int
- func (m *Secret) XXX_Unmarshal(b []byte) error
- type SecretClient
- type SecretList
- func (list SecretList) AsInterfaces() []interface{}
- func (list SecretList) AsResources() resources.ResourceList
- func (list SecretList) Clone() SecretList
- func (list SecretList) Each(f func(element *Secret))
- func (list SecretList) EachResource(f func(element resources.Resource))
- func (list SecretList) Find(namespace, name string) (*Secret, error)
- func (list SecretList) Names() []string
- func (list SecretList) NamespacesDotNames() []string
- func (list SecretList) Sort() SecretList
- type SecretReconciler
- type SecretWatcher
- type Secret_Aws
- type Secret_Azure
- type Secret_Extension
- type Secret_Tls
- type ServiceSpecGetter
- type ServiceSpecMutator
- type ServiceSpecSetter
- type Settings
- func (o *Settings) DeepCopyObject() runtime.Object
- func (*Settings) Descriptor() ([]byte, []int)
- func (this *Settings) Equal(that interface{}) bool
- func (m *Settings) GetArtifactSource() isSettings_ArtifactSource
- func (m *Settings) GetBindAddr() string
- func (m *Settings) GetCircuitBreakers() *CircuitBreakerConfig
- func (m *Settings) GetConfigSource() isSettings_ConfigSource
- func (m *Settings) GetConsul() *Settings_ConsulConfiguration
- func (m *Settings) GetConsulKvArtifactSource() *Settings_ConsulKv
- func (m *Settings) GetConsulKvSource() *Settings_ConsulKv
- func (m *Settings) GetDevMode() bool
- func (m *Settings) GetDirectoryArtifactSource() *Settings_Directory
- func (m *Settings) GetDirectoryConfigSource() *Settings_Directory
- func (m *Settings) GetDirectorySecretSource() *Settings_Directory
- func (m *Settings) GetDiscovery() *Settings_DiscoveryOptions
- func (m *Settings) GetDiscoveryNamespace() string
- func (m *Settings) GetExtensions() *Extensions
- func (m *Settings) GetKnative() *Settings_KnativeOptions
- func (m *Settings) GetKubernetes() *Settings_KubernetesConfiguration
- func (m *Settings) GetKubernetesArtifactSource() *Settings_KubernetesConfigmaps
- func (m *Settings) GetKubernetesConfigSource() *Settings_KubernetesCrds
- func (m *Settings) GetKubernetesSecretSource() *Settings_KubernetesSecrets
- func (m *Settings) GetLinkerd() bool
- func (m *Settings) GetMetadata() core.Metadata
- func (o *Settings) GetObjectKind() schema.ObjectKind
- func (m *Settings) GetRefreshRate() *types.Duration
- func (m *Settings) GetSecretSource() isSettings_SecretSource
- func (m *Settings) GetStatus() core.Status
- func (m *Settings) GetVaultSecretSource() *Settings_VaultSecrets
- func (m *Settings) GetWatchNamespaces() []string
- func (r *Settings) GroupVersionKind() schema.GroupVersionKind
- func (r *Settings) Hash() uint64
- func (*Settings) ProtoMessage()
- func (m *Settings) Reset()
- func (r *Settings) SetMetadata(meta core.Metadata)
- func (r *Settings) SetStatus(status core.Status)
- func (m *Settings) String() string
- func (m *Settings) XXX_DiscardUnknown()
- func (m *Settings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Settings) XXX_Merge(src proto.Message)
- func (*Settings) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Settings) XXX_Size() int
- func (m *Settings) XXX_Unmarshal(b []byte) error
- type SettingsClient
- type SettingsList
- func (list SettingsList) AsInputResources() resources.InputResourceList
- func (list SettingsList) AsInterfaces() []interface{}
- func (list SettingsList) AsResources() resources.ResourceList
- func (list SettingsList) Clone() SettingsList
- func (list SettingsList) Each(f func(element *Settings))
- func (list SettingsList) EachResource(f func(element resources.Resource))
- func (list SettingsList) Find(namespace, name string) (*Settings, error)
- func (list SettingsList) Names() []string
- func (list SettingsList) NamespacesDotNames() []string
- func (list SettingsList) Sort() SettingsList
- type SettingsReconciler
- type SettingsWatcher
- type Settings_ConsulConfiguration
- func (*Settings_ConsulConfiguration) Descriptor() ([]byte, []int)
- func (this *Settings_ConsulConfiguration) Equal(that interface{}) bool
- func (m *Settings_ConsulConfiguration) GetAddress() string
- func (m *Settings_ConsulConfiguration) GetCaFile() string
- func (m *Settings_ConsulConfiguration) GetCaPath() string
- func (m *Settings_ConsulConfiguration) GetCertFile() string
- func (m *Settings_ConsulConfiguration) GetDatacenter() string
- func (m *Settings_ConsulConfiguration) GetInsecureSkipVerify() *types.BoolValue
- func (m *Settings_ConsulConfiguration) GetKeyFile() string
- func (m *Settings_ConsulConfiguration) GetPassword() string
- func (m *Settings_ConsulConfiguration) GetServiceDiscovery() *Settings_ConsulConfiguration_ServiceDiscoveryOptions
- func (m *Settings_ConsulConfiguration) GetToken() string
- func (m *Settings_ConsulConfiguration) GetUsername() string
- func (m *Settings_ConsulConfiguration) GetWaitTime() *types.Duration
- func (*Settings_ConsulConfiguration) ProtoMessage()
- func (m *Settings_ConsulConfiguration) Reset()
- func (m *Settings_ConsulConfiguration) String() string
- func (m *Settings_ConsulConfiguration) XXX_DiscardUnknown()
- func (m *Settings_ConsulConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Settings_ConsulConfiguration) XXX_Merge(src proto.Message)
- func (m *Settings_ConsulConfiguration) XXX_Size() int
- func (m *Settings_ConsulConfiguration) XXX_Unmarshal(b []byte) error
- type Settings_ConsulConfiguration_ServiceDiscoveryOptions
- func (*Settings_ConsulConfiguration_ServiceDiscoveryOptions) Descriptor() ([]byte, []int)
- func (this *Settings_ConsulConfiguration_ServiceDiscoveryOptions) Equal(that interface{}) bool
- func (m *Settings_ConsulConfiguration_ServiceDiscoveryOptions) GetDataCenters() []string
- func (*Settings_ConsulConfiguration_ServiceDiscoveryOptions) ProtoMessage()
- func (m *Settings_ConsulConfiguration_ServiceDiscoveryOptions) Reset()
- func (m *Settings_ConsulConfiguration_ServiceDiscoveryOptions) String() string
- func (m *Settings_ConsulConfiguration_ServiceDiscoveryOptions) XXX_DiscardUnknown()
- func (m *Settings_ConsulConfiguration_ServiceDiscoveryOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Settings_ConsulConfiguration_ServiceDiscoveryOptions) XXX_Merge(src proto.Message)
- func (m *Settings_ConsulConfiguration_ServiceDiscoveryOptions) XXX_Size() int
- func (m *Settings_ConsulConfiguration_ServiceDiscoveryOptions) XXX_Unmarshal(b []byte) error
- type Settings_ConsulKv
- func (*Settings_ConsulKv) Descriptor() ([]byte, []int)
- func (this *Settings_ConsulKv) Equal(that interface{}) bool
- func (m *Settings_ConsulKv) GetRootKey() string
- func (*Settings_ConsulKv) ProtoMessage()
- func (m *Settings_ConsulKv) Reset()
- func (m *Settings_ConsulKv) String() string
- func (m *Settings_ConsulKv) XXX_DiscardUnknown()
- func (m *Settings_ConsulKv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Settings_ConsulKv) XXX_Merge(src proto.Message)
- func (m *Settings_ConsulKv) XXX_Size() int
- func (m *Settings_ConsulKv) XXX_Unmarshal(b []byte) error
- type Settings_ConsulKvArtifactSource
- type Settings_ConsulKvSource
- type Settings_Directory
- func (*Settings_Directory) Descriptor() ([]byte, []int)
- func (this *Settings_Directory) Equal(that interface{}) bool
- func (m *Settings_Directory) GetDirectory() string
- func (*Settings_Directory) ProtoMessage()
- func (m *Settings_Directory) Reset()
- func (m *Settings_Directory) String() string
- func (m *Settings_Directory) XXX_DiscardUnknown()
- func (m *Settings_Directory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Settings_Directory) XXX_Merge(src proto.Message)
- func (m *Settings_Directory) XXX_Size() int
- func (m *Settings_Directory) XXX_Unmarshal(b []byte) error
- type Settings_DirectoryArtifactSource
- type Settings_DirectoryConfigSource
- type Settings_DirectorySecretSource
- type Settings_DiscoveryOptions
- func (*Settings_DiscoveryOptions) Descriptor() ([]byte, []int)
- func (this *Settings_DiscoveryOptions) Equal(that interface{}) bool
- func (m *Settings_DiscoveryOptions) GetFdsMode() Settings_DiscoveryOptions_FdsMode
- func (*Settings_DiscoveryOptions) ProtoMessage()
- func (m *Settings_DiscoveryOptions) Reset()
- func (m *Settings_DiscoveryOptions) String() string
- func (m *Settings_DiscoveryOptions) XXX_DiscardUnknown()
- func (m *Settings_DiscoveryOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Settings_DiscoveryOptions) XXX_Merge(src proto.Message)
- func (m *Settings_DiscoveryOptions) XXX_Size() int
- func (m *Settings_DiscoveryOptions) XXX_Unmarshal(b []byte) error
- type Settings_DiscoveryOptions_FdsMode
- type Settings_KnativeOptions
- func (*Settings_KnativeOptions) Descriptor() ([]byte, []int)
- func (this *Settings_KnativeOptions) Equal(that interface{}) bool
- func (m *Settings_KnativeOptions) GetClusterIngressProxyAddress() string
- func (m *Settings_KnativeOptions) GetKnativeExternalProxyAddress() string
- func (m *Settings_KnativeOptions) GetKnativeInternalProxyAddress() string
- func (*Settings_KnativeOptions) ProtoMessage()
- func (m *Settings_KnativeOptions) Reset()
- func (m *Settings_KnativeOptions) String() string
- func (m *Settings_KnativeOptions) XXX_DiscardUnknown()
- func (m *Settings_KnativeOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Settings_KnativeOptions) XXX_Merge(src proto.Message)
- func (m *Settings_KnativeOptions) XXX_Size() int
- func (m *Settings_KnativeOptions) XXX_Unmarshal(b []byte) error
- type Settings_KubernetesArtifactSource
- type Settings_KubernetesConfigSource
- type Settings_KubernetesConfigmaps
- func (*Settings_KubernetesConfigmaps) Descriptor() ([]byte, []int)
- func (this *Settings_KubernetesConfigmaps) Equal(that interface{}) bool
- func (*Settings_KubernetesConfigmaps) ProtoMessage()
- func (m *Settings_KubernetesConfigmaps) Reset()
- func (m *Settings_KubernetesConfigmaps) String() string
- func (m *Settings_KubernetesConfigmaps) XXX_DiscardUnknown()
- func (m *Settings_KubernetesConfigmaps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Settings_KubernetesConfigmaps) XXX_Merge(src proto.Message)
- func (m *Settings_KubernetesConfigmaps) XXX_Size() int
- func (m *Settings_KubernetesConfigmaps) XXX_Unmarshal(b []byte) error
- type Settings_KubernetesConfiguration
- func (*Settings_KubernetesConfiguration) Descriptor() ([]byte, []int)
- func (this *Settings_KubernetesConfiguration) Equal(that interface{}) bool
- func (m *Settings_KubernetesConfiguration) GetRateLimits() *Settings_KubernetesConfiguration_RateLimits
- func (*Settings_KubernetesConfiguration) ProtoMessage()
- func (m *Settings_KubernetesConfiguration) Reset()
- func (m *Settings_KubernetesConfiguration) String() string
- func (m *Settings_KubernetesConfiguration) XXX_DiscardUnknown()
- func (m *Settings_KubernetesConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Settings_KubernetesConfiguration) XXX_Merge(src proto.Message)
- func (m *Settings_KubernetesConfiguration) XXX_Size() int
- func (m *Settings_KubernetesConfiguration) XXX_Unmarshal(b []byte) error
- type Settings_KubernetesConfiguration_RateLimits
- func (*Settings_KubernetesConfiguration_RateLimits) Descriptor() ([]byte, []int)
- func (this *Settings_KubernetesConfiguration_RateLimits) Equal(that interface{}) bool
- func (m *Settings_KubernetesConfiguration_RateLimits) GetBurst() uint32
- func (m *Settings_KubernetesConfiguration_RateLimits) GetQPS() float32
- func (*Settings_KubernetesConfiguration_RateLimits) ProtoMessage()
- func (m *Settings_KubernetesConfiguration_RateLimits) Reset()
- func (m *Settings_KubernetesConfiguration_RateLimits) String() string
- func (m *Settings_KubernetesConfiguration_RateLimits) XXX_DiscardUnknown()
- func (m *Settings_KubernetesConfiguration_RateLimits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Settings_KubernetesConfiguration_RateLimits) XXX_Merge(src proto.Message)
- func (m *Settings_KubernetesConfiguration_RateLimits) XXX_Size() int
- func (m *Settings_KubernetesConfiguration_RateLimits) XXX_Unmarshal(b []byte) error
- type Settings_KubernetesCrds
- func (*Settings_KubernetesCrds) Descriptor() ([]byte, []int)
- func (this *Settings_KubernetesCrds) Equal(that interface{}) bool
- func (*Settings_KubernetesCrds) ProtoMessage()
- func (m *Settings_KubernetesCrds) Reset()
- func (m *Settings_KubernetesCrds) String() string
- func (m *Settings_KubernetesCrds) XXX_DiscardUnknown()
- func (m *Settings_KubernetesCrds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Settings_KubernetesCrds) XXX_Merge(src proto.Message)
- func (m *Settings_KubernetesCrds) XXX_Size() int
- func (m *Settings_KubernetesCrds) XXX_Unmarshal(b []byte) error
- type Settings_KubernetesSecretSource
- type Settings_KubernetesSecrets
- func (*Settings_KubernetesSecrets) Descriptor() ([]byte, []int)
- func (this *Settings_KubernetesSecrets) Equal(that interface{}) bool
- func (*Settings_KubernetesSecrets) ProtoMessage()
- func (m *Settings_KubernetesSecrets) Reset()
- func (m *Settings_KubernetesSecrets) String() string
- func (m *Settings_KubernetesSecrets) XXX_DiscardUnknown()
- func (m *Settings_KubernetesSecrets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Settings_KubernetesSecrets) XXX_Merge(src proto.Message)
- func (m *Settings_KubernetesSecrets) XXX_Size() int
- func (m *Settings_KubernetesSecrets) XXX_Unmarshal(b []byte) error
- type Settings_VaultSecretSource
- type Settings_VaultSecrets
- func (*Settings_VaultSecrets) Descriptor() ([]byte, []int)
- func (this *Settings_VaultSecrets) Equal(that interface{}) bool
- func (m *Settings_VaultSecrets) GetAddress() string
- func (m *Settings_VaultSecrets) GetCaCert() string
- func (m *Settings_VaultSecrets) GetCaPath() string
- func (m *Settings_VaultSecrets) GetClientCert() string
- func (m *Settings_VaultSecrets) GetClientKey() string
- func (m *Settings_VaultSecrets) GetInsecure() *types.BoolValue
- func (m *Settings_VaultSecrets) GetRootKey() string
- func (m *Settings_VaultSecrets) GetTlsServerName() string
- func (m *Settings_VaultSecrets) GetToken() string
- func (*Settings_VaultSecrets) ProtoMessage()
- func (m *Settings_VaultSecrets) Reset()
- func (m *Settings_VaultSecrets) String() string
- func (m *Settings_VaultSecrets) XXX_DiscardUnknown()
- func (m *Settings_VaultSecrets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Settings_VaultSecrets) XXX_Merge(src proto.Message)
- func (m *Settings_VaultSecrets) XXX_Size() int
- func (m *Settings_VaultSecrets) XXX_Unmarshal(b []byte) error
- type SetupEmitter
- type SetupSimpleEmitter
- type SetupSnapshot
- type SetupSnapshotStringer
- type SetupSyncDeciderdeprecated
- type SetupSyncDeciderWithContext
- type SetupSyncer
- type SetupSyncers
- type SslConfig
- func (*SslConfig) Descriptor() ([]byte, []int)
- func (this *SslConfig) Equal(that interface{}) bool
- func (m *SslConfig) GetParameters() *SslParameters
- func (m *SslConfig) GetSds() *SDSConfig
- func (m *SslConfig) GetSecretRef() *core.ResourceRef
- func (m *SslConfig) GetSniDomains() []string
- func (m *SslConfig) GetSslFiles() *SSLFiles
- func (m *SslConfig) GetSslSecrets() isSslConfig_SslSecrets
- func (m *SslConfig) GetVerifySubjectAltName() []string
- func (*SslConfig) ProtoMessage()
- func (m *SslConfig) Reset()
- func (m *SslConfig) String() string
- func (m *SslConfig) XXX_DiscardUnknown()
- func (m *SslConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SslConfig) XXX_Merge(src proto.Message)
- func (*SslConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *SslConfig) XXX_Size() int
- func (m *SslConfig) XXX_Unmarshal(b []byte) error
- type SslConfig_Sds
- type SslConfig_SecretRef
- type SslConfig_SslFiles
- type SslParameters
- func (*SslParameters) Descriptor() ([]byte, []int)
- func (this *SslParameters) Equal(that interface{}) bool
- func (m *SslParameters) GetCipherSuites() []string
- func (m *SslParameters) GetEcdhCurves() []string
- func (m *SslParameters) GetMaximumProtocolVersion() SslParameters_ProtocolVersion
- func (m *SslParameters) GetMinimumProtocolVersion() SslParameters_ProtocolVersion
- func (*SslParameters) ProtoMessage()
- func (m *SslParameters) Reset()
- func (m *SslParameters) String() string
- func (m *SslParameters) XXX_DiscardUnknown()
- func (m *SslParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SslParameters) XXX_Merge(src proto.Message)
- func (m *SslParameters) XXX_Size() int
- func (m *SslParameters) XXX_Unmarshal(b []byte) error
- type SslParameters_ProtocolVersion
- type Subset
- func (*Subset) Descriptor() ([]byte, []int)
- func (this *Subset) Equal(that interface{}) bool
- func (m *Subset) GetValues() map[string]string
- func (*Subset) ProtoMessage()
- func (m *Subset) Reset()
- func (m *Subset) String() string
- func (m *Subset) XXX_DiscardUnknown()
- func (m *Subset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Subset) XXX_Merge(src proto.Message)
- func (m *Subset) XXX_Size() int
- func (m *Subset) XXX_Unmarshal(b []byte) error
- type SubsetSpecGetter
- type SubsetSpecMutator
- type SubsetSpecSetter
- type TcpHost
- func (*TcpHost) Descriptor() ([]byte, []int)
- func (this *TcpHost) Equal(that interface{}) bool
- func (m *TcpHost) GetDestination() *RouteAction
- func (m *TcpHost) GetName() string
- func (m *TcpHost) GetSslConfig() *SslConfig
- func (*TcpHost) ProtoMessage()
- func (m *TcpHost) Reset()
- func (m *TcpHost) String() string
- func (m *TcpHost) XXX_DiscardUnknown()
- func (m *TcpHost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TcpHost) XXX_Merge(src proto.Message)
- func (m *TcpHost) XXX_Size() int
- func (m *TcpHost) XXX_Unmarshal(b []byte) error
- type TcpListener
- func (*TcpListener) Descriptor() ([]byte, []int)
- func (this *TcpListener) Equal(that interface{}) bool
- func (m *TcpListener) GetPlugins() *TcpListenerPlugins
- func (m *TcpListener) GetTcpHosts() []*TcpHost
- func (*TcpListener) ProtoMessage()
- func (m *TcpListener) Reset()
- func (m *TcpListener) String() string
- func (m *TcpListener) XXX_DiscardUnknown()
- func (m *TcpListener) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TcpListener) XXX_Merge(src proto.Message)
- func (m *TcpListener) XXX_Size() int
- func (m *TcpListener) XXX_Unmarshal(b []byte) error
- type TcpListenerPlugins
- func (*TcpListenerPlugins) Descriptor() ([]byte, []int)
- func (this *TcpListenerPlugins) Equal(that interface{}) bool
- func (m *TcpListenerPlugins) GetTcpProxySettings() *tcp.TcpProxySettings
- func (*TcpListenerPlugins) ProtoMessage()
- func (m *TcpListenerPlugins) Reset()
- func (m *TcpListenerPlugins) String() string
- func (m *TcpListenerPlugins) XXX_DiscardUnknown()
- func (m *TcpListenerPlugins) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TcpListenerPlugins) XXX_Merge(src proto.Message)
- func (m *TcpListenerPlugins) XXX_Size() int
- func (m *TcpListenerPlugins) XXX_Unmarshal(b []byte) error
- type TlsSecret
- func (*TlsSecret) Descriptor() ([]byte, []int)
- func (this *TlsSecret) Equal(that interface{}) bool
- func (m *TlsSecret) GetCertChain() string
- func (m *TlsSecret) GetPrivateKey() string
- func (m *TlsSecret) GetRootCa() string
- func (*TlsSecret) ProtoMessage()
- func (m *TlsSecret) Reset()
- func (m *TlsSecret) String() string
- func (m *TlsSecret) XXX_DiscardUnknown()
- func (m *TlsSecret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TlsSecret) XXX_Merge(src proto.Message)
- func (m *TlsSecret) XXX_Size() int
- func (m *TlsSecret) XXX_Unmarshal(b []byte) error
- type TransitionArtifactFunc
- type TransitionEndpointFunc
- type TransitionProxyFunc
- type TransitionSecretFunc
- type TransitionSettingsFunc
- type TransitionUpstreamFunc
- type TransitionUpstreamGroupFunc
- type Upstream
- func (o *Upstream) DeepCopyObject() runtime.Object
- func (*Upstream) Descriptor() ([]byte, []int)
- func (this *Upstream) Equal(that interface{}) bool
- func (m *Upstream) GetDiscoveryMetadata() *DiscoveryMetadata
- func (m *Upstream) GetMetadata() core.Metadata
- func (o *Upstream) GetObjectKind() schema.ObjectKind
- func (m *Upstream) GetStatus() core.Status
- func (m *Upstream) GetUpstreamSpec() *UpstreamSpec
- func (r *Upstream) GroupVersionKind() schema.GroupVersionKind
- func (r *Upstream) Hash() uint64
- func (*Upstream) ProtoMessage()
- func (m *Upstream) Reset()
- func (r *Upstream) SetMetadata(meta core.Metadata)
- func (r *Upstream) SetStatus(status core.Status)
- func (m *Upstream) String() string
- func (m *Upstream) XXX_DiscardUnknown()
- func (m *Upstream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Upstream) XXX_Merge(src proto.Message)
- func (m *Upstream) XXX_Size() int
- func (m *Upstream) XXX_Unmarshal(b []byte) error
- type UpstreamClient
- type UpstreamGroup
- func (o *UpstreamGroup) DeepCopyObject() runtime.Object
- func (*UpstreamGroup) Descriptor() ([]byte, []int)
- func (this *UpstreamGroup) Equal(that interface{}) bool
- func (m *UpstreamGroup) GetDestinations() []*WeightedDestination
- func (m *UpstreamGroup) GetMetadata() core.Metadata
- func (o *UpstreamGroup) GetObjectKind() schema.ObjectKind
- func (m *UpstreamGroup) GetStatus() core.Status
- func (r *UpstreamGroup) GroupVersionKind() schema.GroupVersionKind
- func (r *UpstreamGroup) Hash() uint64
- func (*UpstreamGroup) ProtoMessage()
- func (m *UpstreamGroup) Reset()
- func (r *UpstreamGroup) SetMetadata(meta core.Metadata)
- func (r *UpstreamGroup) SetStatus(status core.Status)
- func (m *UpstreamGroup) String() string
- func (m *UpstreamGroup) XXX_DiscardUnknown()
- func (m *UpstreamGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpstreamGroup) XXX_Merge(src proto.Message)
- func (m *UpstreamGroup) XXX_Size() int
- func (m *UpstreamGroup) XXX_Unmarshal(b []byte) error
- type UpstreamGroupClient
- func NewUpstreamGroupClient(rcFactory factory.ResourceClientFactory) (UpstreamGroupClient, error)
- func NewUpstreamGroupClientWithBase(rc clients.ResourceClient) UpstreamGroupClient
- func NewUpstreamGroupClientWithToken(rcFactory factory.ResourceClientFactory, token string) (UpstreamGroupClient, error)
- type UpstreamGroupList
- func (list UpstreamGroupList) AsInputResources() resources.InputResourceList
- func (list UpstreamGroupList) AsInterfaces() []interface{}
- func (list UpstreamGroupList) AsResources() resources.ResourceList
- func (list UpstreamGroupList) Clone() UpstreamGroupList
- func (list UpstreamGroupList) Each(f func(element *UpstreamGroup))
- func (list UpstreamGroupList) EachResource(f func(element resources.Resource))
- func (list UpstreamGroupList) Find(namespace, name string) (*UpstreamGroup, error)
- func (list UpstreamGroupList) Names() []string
- func (list UpstreamGroupList) NamespacesDotNames() []string
- func (list UpstreamGroupList) Sort() UpstreamGroupList
- type UpstreamGroupReconciler
- type UpstreamGroupWatcher
- type UpstreamList
- func (list UpstreamList) AsInputResources() resources.InputResourceList
- func (list UpstreamList) AsInterfaces() []interface{}
- func (list UpstreamList) AsResources() resources.ResourceList
- func (list UpstreamList) Clone() UpstreamList
- func (list UpstreamList) Each(f func(element *Upstream))
- func (list UpstreamList) EachResource(f func(element resources.Resource))
- func (list UpstreamList) Find(namespace, name string) (*Upstream, error)
- func (list UpstreamList) Names() []string
- func (list UpstreamList) NamespacesDotNames() []string
- func (list UpstreamList) Sort() UpstreamList
- type UpstreamReconciler
- type UpstreamSpec
- func (*UpstreamSpec) Descriptor() ([]byte, []int)
- func (this *UpstreamSpec) Equal(that interface{}) bool
- func (m *UpstreamSpec) GetAws() *aws.UpstreamSpec
- func (m *UpstreamSpec) GetAwsEc2() *ec2.UpstreamSpec
- func (m *UpstreamSpec) GetAzure() *azure.UpstreamSpec
- func (m *UpstreamSpec) GetCircuitBreakers() *CircuitBreakerConfig
- func (m *UpstreamSpec) GetConnectionConfig() *ConnectionConfig
- func (m *UpstreamSpec) GetConsul() *consul.UpstreamSpec
- func (m *UpstreamSpec) GetKube() *kubernetes.UpstreamSpec
- func (m *UpstreamSpec) GetLoadBalancerConfig() *LoadBalancerConfig
- func (m *UpstreamSpec) GetPipe() *pipe.UpstreamSpec
- func (m *UpstreamSpec) GetSslConfig() *UpstreamSslConfig
- func (m *UpstreamSpec) GetStatic() *static.UpstreamSpec
- func (m *UpstreamSpec) GetUpstreamType() isUpstreamSpec_UpstreamType
- func (m *UpstreamSpec) GetUseHttp2() bool
- func (*UpstreamSpec) ProtoMessage()
- func (m *UpstreamSpec) Reset()
- func (m *UpstreamSpec) String() string
- func (m *UpstreamSpec) XXX_DiscardUnknown()
- func (m *UpstreamSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpstreamSpec) XXX_Merge(src proto.Message)
- func (*UpstreamSpec) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *UpstreamSpec) XXX_Size() int
- func (m *UpstreamSpec) XXX_Unmarshal(b []byte) error
- type UpstreamSpec_Aws
- type UpstreamSpec_AwsEc2
- type UpstreamSpec_Azure
- type UpstreamSpec_Consul
- type UpstreamSpec_Kube
- func (this *UpstreamSpec_Kube) Equal(that interface{}) bool
- func (us *UpstreamSpec_Kube) GetServiceSpec() *plugins.ServiceSpec
- func (us *UpstreamSpec_Kube) GetSubsetSpec() *plugins.SubsetSpec
- func (us *UpstreamSpec_Kube) SetServiceSpec(spec *plugins.ServiceSpec)
- func (us *UpstreamSpec_Kube) SetSubsetSpec(spec *plugins.SubsetSpec)
- type UpstreamSpec_Pipe
- type UpstreamSpec_Static
- type UpstreamSslConfig
- func (*UpstreamSslConfig) Descriptor() ([]byte, []int)
- func (this *UpstreamSslConfig) Equal(that interface{}) bool
- func (m *UpstreamSslConfig) GetParameters() *SslParameters
- func (m *UpstreamSslConfig) GetSds() *SDSConfig
- func (m *UpstreamSslConfig) GetSecretRef() *core.ResourceRef
- func (m *UpstreamSslConfig) GetSni() string
- func (m *UpstreamSslConfig) GetSslFiles() *SSLFiles
- func (m *UpstreamSslConfig) GetSslSecrets() isUpstreamSslConfig_SslSecrets
- func (m *UpstreamSslConfig) GetVerifySubjectAltName() []string
- func (*UpstreamSslConfig) ProtoMessage()
- func (m *UpstreamSslConfig) Reset()
- func (m *UpstreamSslConfig) String() string
- func (m *UpstreamSslConfig) XXX_DiscardUnknown()
- func (m *UpstreamSslConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpstreamSslConfig) XXX_Merge(src proto.Message)
- func (*UpstreamSslConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *UpstreamSslConfig) XXX_Size() int
- func (m *UpstreamSslConfig) XXX_Unmarshal(b []byte) error
- type UpstreamSslConfig_Sds
- type UpstreamSslConfig_SecretRef
- type UpstreamSslConfig_SslFiles
- type UpstreamWatcher
- type VirtualHost
- func (*VirtualHost) Descriptor() ([]byte, []int)
- func (this *VirtualHost) Equal(that interface{}) bool
- func (m *VirtualHost) GetCorsPolicy() *CorsPolicy
- func (m *VirtualHost) GetDomains() []string
- func (m *VirtualHost) GetName() string
- func (m *VirtualHost) GetRoutes() []*Route
- func (m *VirtualHost) GetVirtualHostPlugins() *VirtualHostPlugins
- func (*VirtualHost) ProtoMessage()
- func (m *VirtualHost) Reset()
- func (m *VirtualHost) String() string
- func (m *VirtualHost) XXX_DiscardUnknown()
- func (m *VirtualHost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VirtualHost) XXX_Merge(src proto.Message)
- func (m *VirtualHost) XXX_Size() int
- func (m *VirtualHost) XXX_Unmarshal(b []byte) error
- type VirtualHostPlugins
- func (*VirtualHostPlugins) Descriptor() ([]byte, []int)
- func (this *VirtualHostPlugins) Equal(that interface{}) bool
- func (m *VirtualHostPlugins) GetCors() *cors.CorsPolicy
- func (m *VirtualHostPlugins) GetExtensions() *Extensions
- func (m *VirtualHostPlugins) GetHeaderManipulation() *headers.HeaderManipulation
- func (m *VirtualHostPlugins) GetRetries() *retries.RetryPolicy
- func (m *VirtualHostPlugins) GetStats() *stats.Stats
- func (*VirtualHostPlugins) ProtoMessage()
- func (m *VirtualHostPlugins) Reset()
- func (m *VirtualHostPlugins) String() string
- func (m *VirtualHostPlugins) XXX_DiscardUnknown()
- func (m *VirtualHostPlugins) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VirtualHostPlugins) XXX_Merge(src proto.Message)
- func (m *VirtualHostPlugins) XXX_Size() int
- func (m *VirtualHostPlugins) XXX_Unmarshal(b []byte) error
- type WeightedDestination
- func (*WeightedDestination) Descriptor() ([]byte, []int)
- func (this *WeightedDestination) Equal(that interface{}) bool
- func (m *WeightedDestination) GetDestination() *Destination
- func (m *WeightedDestination) GetWeighedDestinationPlugins() *WeightedDestinationPlugins
- func (m *WeightedDestination) GetWeight() uint32
- func (*WeightedDestination) ProtoMessage()
- func (m *WeightedDestination) Reset()
- func (m *WeightedDestination) String() string
- func (m *WeightedDestination) XXX_DiscardUnknown()
- func (m *WeightedDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WeightedDestination) XXX_Merge(src proto.Message)
- func (m *WeightedDestination) XXX_Size() int
- func (m *WeightedDestination) XXX_Unmarshal(b []byte) error
- type WeightedDestinationPlugins
- func (*WeightedDestinationPlugins) Descriptor() ([]byte, []int)
- func (this *WeightedDestinationPlugins) Equal(that interface{}) bool
- func (m *WeightedDestinationPlugins) GetHeaderManipulation() *headers.HeaderManipulation
- func (*WeightedDestinationPlugins) ProtoMessage()
- func (m *WeightedDestinationPlugins) Reset()
- func (m *WeightedDestinationPlugins) String() string
- func (m *WeightedDestinationPlugins) XXX_DiscardUnknown()
- func (m *WeightedDestinationPlugins) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WeightedDestinationPlugins) XXX_Merge(src proto.Message)
- func (m *WeightedDestinationPlugins) XXX_Size() int
- func (m *WeightedDestinationPlugins) XXX_Unmarshal(b []byte) error
Constants ¶
const UpstreamListErrorTag = "list did not find upstream"
This should be added to solo-kit (an issue has been opened)
Variables ¶
var ( ArtifactCrd = crd.NewCrd( "artifacts", ArtifactGVK.Group, ArtifactGVK.Version, ArtifactGVK.Kind, "art", false, &Artifact{}) )
var (
ArtifactGVK = schema.GroupVersionKind{
Version: "v1",
Group: "gloo.solo.io",
Kind: "Artifact",
}
)
var ( EndpointCrd = crd.NewCrd( "endpoints", EndpointGVK.Group, EndpointGVK.Version, EndpointGVK.Kind, "ep", false, &Endpoint{}) )
var (
EndpointGVK = schema.GroupVersionKind{
Version: "v1",
Group: "gloo.solo.io",
Kind: "Endpoint",
}
)
var ( ProxyCrd = crd.NewCrd( "proxies", ProxyGVK.Group, ProxyGVK.Version, ProxyGVK.Kind, "px", false, &Proxy{}) )
var (
ProxyGVK = schema.GroupVersionKind{
Version: "v1",
Group: "gloo.solo.io",
Kind: "Proxy",
}
)
var RedirectAction_RedirectResponseCode_name = map[int32]string{
0: "MOVED_PERMANENTLY",
1: "FOUND",
2: "SEE_OTHER",
3: "TEMPORARY_REDIRECT",
4: "PERMANENT_REDIRECT",
}
var RedirectAction_RedirectResponseCode_value = map[string]int32{
"MOVED_PERMANENTLY": 0,
"FOUND": 1,
"SEE_OTHER": 2,
"TEMPORARY_REDIRECT": 3,
"PERMANENT_REDIRECT": 4,
}
var ( SecretCrd = crd.NewCrd( "secrets", SecretGVK.Group, SecretGVK.Version, SecretGVK.Kind, "sec", false, &Secret{}) )
var (
SecretGVK = schema.GroupVersionKind{
Version: "v1",
Group: "gloo.solo.io",
Kind: "Secret",
}
)
var ( SettingsCrd = crd.NewCrd( "settings", SettingsGVK.Group, SettingsGVK.Version, SettingsGVK.Kind, "st", false, &Settings{}) )
var (
SettingsGVK = schema.GroupVersionKind{
Version: "v1",
Group: "gloo.solo.io",
Kind: "Settings",
}
)
var Settings_DiscoveryOptions_FdsMode_name = map[int32]string{
0: "BLACKLIST",
1: "WHITELIST",
2: "DISABLED",
}
var Settings_DiscoveryOptions_FdsMode_value = map[string]int32{
"BLACKLIST": 0,
"WHITELIST": 1,
"DISABLED": 2,
}
var SslParameters_ProtocolVersion_name = map[int32]string{
0: "TLS_AUTO",
1: "TLSv1_0",
2: "TLSv1_1",
3: "TLSv1_2",
4: "TLSv1_3",
}
var SslParameters_ProtocolVersion_value = map[string]int32{
"TLS_AUTO": 0,
"TLSv1_0": 1,
"TLSv1_1": 2,
"TLSv1_2": 3,
"TLSv1_3": 4,
}
var ( UpstreamCrd = crd.NewCrd( "upstreams", UpstreamGVK.Group, UpstreamGVK.Version, UpstreamGVK.Kind, "us", false, &Upstream{}) )
var (
UpstreamGVK = schema.GroupVersionKind{
Version: "v1",
Group: "gloo.solo.io",
Kind: "Upstream",
}
)
var ( UpstreamGroupCrd = crd.NewCrd( "upstreamgroups", UpstreamGroupGVK.Group, UpstreamGroupGVK.Version, UpstreamGroupGVK.Kind, "ug", false, &UpstreamGroup{}) )
var (
UpstreamGroupGVK = schema.GroupVersionKind{
Version: "v1",
Group: "gloo.solo.io",
Kind: "UpstreamGroup",
}
)
Functions ¶
func NewApiEventLoop ¶
func NewApiEventLoop(emitter ApiEmitter, syncer ApiSyncer) eventloop.EventLoop
func NewApiSimpleEventLoop ¶ added in v0.13.21
func NewApiSimpleEventLoop(emitter ApiSimpleEmitter, syncers ...ApiSyncer) eventloop.SimpleEventLoop
func NewDiscoveryEventLoop ¶
func NewDiscoveryEventLoop(emitter DiscoveryEmitter, syncer DiscoverySyncer) eventloop.EventLoop
func NewDiscoverySimpleEventLoop ¶ added in v0.13.21
func NewDiscoverySimpleEventLoop(emitter DiscoverySimpleEmitter, syncers ...DiscoverySyncer) eventloop.SimpleEventLoop
func NewEdsEventLoop ¶ added in v0.15.0
func NewEdsEventLoop(emitter EdsEmitter, syncer EdsSyncer) eventloop.EventLoop
func NewEdsSimpleEventLoop ¶ added in v0.15.0
func NewEdsSimpleEventLoop(emitter EdsSimpleEmitter, syncers ...EdsSyncer) eventloop.SimpleEventLoop
func NewSetupEventLoop ¶
func NewSetupEventLoop(emitter SetupEmitter, syncer SetupSyncer) eventloop.EventLoop
func NewSetupSimpleEventLoop ¶ added in v0.13.21
func NewSetupSimpleEventLoop(emitter SetupSimpleEmitter, syncers ...SetupSyncer) eventloop.SimpleEventLoop
Types ¶
type ApiEmitter ¶
type ApiEmitter interface { Register() error Artifact() ArtifactClient Endpoint() EndpointClient Proxy() ProxyClient UpstreamGroup() UpstreamGroupClient Secret() SecretClient Upstream() UpstreamClient Snapshots(watchNamespaces []string, opts clients.WatchOpts) (<-chan *ApiSnapshot, <-chan error, error) }
func NewApiEmitter ¶
func NewApiEmitter(artifactClient ArtifactClient, endpointClient EndpointClient, proxyClient ProxyClient, upstreamGroupClient UpstreamGroupClient, secretClient SecretClient, upstreamClient UpstreamClient) ApiEmitter
func NewApiEmitterWithEmit ¶
func NewApiEmitterWithEmit(artifactClient ArtifactClient, endpointClient EndpointClient, proxyClient ProxyClient, upstreamGroupClient UpstreamGroupClient, secretClient SecretClient, upstreamClient UpstreamClient, emit <-chan struct{}) ApiEmitter
type ApiSimpleEmitter ¶ added in v0.13.21
type ApiSimpleEmitter interface {
Snapshots(ctx context.Context) (<-chan *ApiSnapshot, <-chan error, error)
}
func NewApiSimpleEmitter ¶ added in v0.13.21
func NewApiSimpleEmitter(aggregatedWatch clients.ResourceWatch) ApiSimpleEmitter
func NewApiSimpleEmitterWithEmit ¶ added in v0.13.21
func NewApiSimpleEmitterWithEmit(aggregatedWatch clients.ResourceWatch, emit <-chan struct{}) ApiSimpleEmitter
type ApiSnapshot ¶
type ApiSnapshot struct { Artifacts ArtifactList Endpoints EndpointList Proxies ProxyList UpstreamGroups UpstreamGroupList Secrets SecretList Upstreams UpstreamList }
func (ApiSnapshot) Clone ¶
func (s ApiSnapshot) Clone() ApiSnapshot
func (ApiSnapshot) Hash ¶
func (s ApiSnapshot) Hash() uint64
func (ApiSnapshot) HashFields ¶
func (s ApiSnapshot) HashFields() []zap.Field
func (ApiSnapshot) Stringer ¶
func (s ApiSnapshot) Stringer() ApiSnapshotStringer
type ApiSnapshotStringer ¶
type ApiSnapshotStringer struct { Version uint64 Artifacts []string Endpoints []string Proxies []string UpstreamGroups []string Secrets []string Upstreams []string }
func (ApiSnapshotStringer) String ¶
func (ss ApiSnapshotStringer) String() string
type ApiSyncDecider
deprecated
added in
v0.13.21
type ApiSyncDecider interface { ApiSyncer ShouldSync(old, new *ApiSnapshot) bool }
Deprecated: use ApiSyncDeciderWithContext
type ApiSyncDeciderWithContext ¶ added in v0.15.0
type ApiSyncDeciderWithContext interface { ApiSyncer ShouldSync(ctx context.Context, old, new *ApiSnapshot) bool }
type ApiSyncers ¶
type ApiSyncers []ApiSyncer
func (ApiSyncers) Sync ¶
func (s ApiSyncers) Sync(ctx context.Context, snapshot *ApiSnapshot) error
type Artifact ¶
type Artifact struct { // Raw data data being stored Data map[string]string `` /* 149-byte string literal not displayed */ // Metadata contains the object metadata for this resource Metadata core.Metadata `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
@solo-kit:resource.short_name=art @solo-kit:resource.plural_name=artifacts
Gloo Artifacts are used by Gloo to store small bits of binary or file data.
Certain plugins such as the gRPC plugin read and write artifacts to one of Gloo's configured storage layer.
Artifacts can be backed by files on disk, Kubernetes ConfigMaps, and Consul Key/Value pairs.
Supported artifact backends can be selected in Gloo's boostrap options.
func NewArtifact ¶
func (*Artifact) DeepCopyObject ¶
func (*Artifact) Descriptor ¶
func (*Artifact) GetMetadata ¶
func (*Artifact) GetObjectKind ¶
func (o *Artifact) GetObjectKind() schema.ObjectKind
func (*Artifact) GroupVersionKind ¶ added in v0.18.0
func (r *Artifact) GroupVersionKind() schema.GroupVersionKind
func (*Artifact) ProtoMessage ¶
func (*Artifact) ProtoMessage()
func (*Artifact) SetMetadata ¶
func (*Artifact) XXX_DiscardUnknown ¶
func (m *Artifact) XXX_DiscardUnknown()
func (*Artifact) XXX_Marshal ¶
func (*Artifact) XXX_Unmarshal ¶
type ArtifactClient ¶
type ArtifactClient interface { BaseClient() clients.ResourceClient Register() error Read(namespace, name string, opts clients.ReadOpts) (*Artifact, error) Write(resource *Artifact, opts clients.WriteOpts) (*Artifact, error) Delete(namespace, name string, opts clients.DeleteOpts) error List(namespace string, opts clients.ListOpts) (ArtifactList, error) ArtifactWatcher }
func NewArtifactClient ¶
func NewArtifactClient(rcFactory factory.ResourceClientFactory) (ArtifactClient, error)
func NewArtifactClientWithBase ¶
func NewArtifactClientWithBase(rc clients.ResourceClient) ArtifactClient
func NewArtifactClientWithToken ¶
func NewArtifactClientWithToken(rcFactory factory.ResourceClientFactory, token string) (ArtifactClient, error)
type ArtifactList ¶
type ArtifactList []*Artifact
func (ArtifactList) AsInterfaces ¶
func (list ArtifactList) AsInterfaces() []interface{}
func (ArtifactList) AsResources ¶
func (list ArtifactList) AsResources() resources.ResourceList
func (ArtifactList) Clone ¶
func (list ArtifactList) Clone() ArtifactList
func (ArtifactList) Each ¶
func (list ArtifactList) Each(f func(element *Artifact))
func (ArtifactList) EachResource ¶ added in v0.13.21
func (list ArtifactList) EachResource(f func(element resources.Resource))
func (ArtifactList) Find ¶
func (list ArtifactList) Find(namespace, name string) (*Artifact, error)
namespace is optional, if left empty, names can collide if the list contains more than one with the same name
func (ArtifactList) Names ¶
func (list ArtifactList) Names() []string
func (ArtifactList) NamespacesDotNames ¶
func (list ArtifactList) NamespacesDotNames() []string
func (ArtifactList) Sort ¶
func (list ArtifactList) Sort() ArtifactList
type ArtifactReconciler ¶
type ArtifactReconciler interface {
Reconcile(namespace string, desiredResources ArtifactList, transition TransitionArtifactFunc, opts clients.ListOpts) error
}
func NewArtifactReconciler ¶
func NewArtifactReconciler(client ArtifactClient) ArtifactReconciler
type ArtifactWatcher ¶ added in v0.13.21
type AwsSecret ¶
type AwsSecret struct { // provided by `glooctl create secret aws` AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` // provided by `glooctl create secret aws` SecretKey string `protobuf:"bytes,2,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
There are two ways of providing AWS secrets:
- Method 1: `glooctl create secret aws`
```
glooctl create secret aws --name aws-secret-from-glooctl \ --namespace default \ --access-key $ACC \ --secret-key $SEC
```
will produce a Kubernetes resource similar to this (note the `aws` field and `resource_kind` annotation):
``` apiVersion: v1 data:
aws: base64EncodedStringForMachineConsumption
kind: Secret metadata:
annotations: resource_kind: '*v1.Secret' creationTimestamp: "2019-08-23T15:10:20Z" name: aws-secret-from-glooctl namespace: default resourceVersion: "592637" selfLink: /api/v1/namespaces/default/secrets/secret-e2e uid: 1f8c147f-c5b8-11e9-bbf3-42010a8001bc
type: Opaque ```
- Method 2: `kubectl apply -f resource-file.yaml`
- If using a git-ops flow, or otherwise creating secrets from yaml files, you may prefer to provide AWS credentials using the format below, with `aws_access_key_id` and `aws_secret_access_key` fields.
- This circumvents the need for the annotation, which are not supported by some tools such as godaddy/kubernetes-external-secrets(https://github.com/godaddy/kubernetes-external-secrets)
```yaml # a sample aws secret resource-file.yaml apiVersion: v1 data:
aws_access_key_id: some-id aws_secret_access_key: some-secret
kind: Secret metadata:
name: aws-secret-abcd namespace: default
```
func (*AwsSecret) Descriptor ¶
func (*AwsSecret) GetAccessKey ¶
func (*AwsSecret) GetSecretKey ¶
func (*AwsSecret) ProtoMessage ¶
func (*AwsSecret) ProtoMessage()
func (*AwsSecret) XXX_DiscardUnknown ¶
func (m *AwsSecret) XXX_DiscardUnknown()
func (*AwsSecret) XXX_Marshal ¶
func (*AwsSecret) XXX_Unmarshal ¶
type AzureSecret ¶
type AzureSecret struct { // provided by `glooctl create secret azure` ApiKeys map[string]string `` /* 170-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AzureSecret) Descriptor ¶
func (*AzureSecret) Descriptor() ([]byte, []int)
func (*AzureSecret) Equal ¶
func (this *AzureSecret) Equal(that interface{}) bool
func (*AzureSecret) GetApiKeys ¶
func (m *AzureSecret) GetApiKeys() map[string]string
func (*AzureSecret) ProtoMessage ¶
func (*AzureSecret) ProtoMessage()
func (*AzureSecret) Reset ¶
func (m *AzureSecret) Reset()
func (*AzureSecret) String ¶
func (m *AzureSecret) String() string
func (*AzureSecret) XXX_DiscardUnknown ¶
func (m *AzureSecret) XXX_DiscardUnknown()
func (*AzureSecret) XXX_Marshal ¶
func (m *AzureSecret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AzureSecret) XXX_Merge ¶
func (m *AzureSecret) XXX_Merge(src proto.Message)
func (*AzureSecret) XXX_Size ¶
func (m *AzureSecret) XXX_Size() int
func (*AzureSecret) XXX_Unmarshal ¶
func (m *AzureSecret) XXX_Unmarshal(b []byte) error
type CallCredentials ¶ added in v0.11.2
type CallCredentials struct { // Call credentials are coming from a file, FileCredentialSource *CallCredentials_FileCredentialSource `protobuf:"bytes,1,opt,name=file_credential_source,json=fileCredentialSource,proto3" json:"file_credential_source,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CallCredentials) Descriptor ¶ added in v0.11.2
func (*CallCredentials) Descriptor() ([]byte, []int)
func (*CallCredentials) Equal ¶ added in v0.11.2
func (this *CallCredentials) Equal(that interface{}) bool
func (*CallCredentials) GetFileCredentialSource ¶ added in v0.11.2
func (m *CallCredentials) GetFileCredentialSource() *CallCredentials_FileCredentialSource
func (*CallCredentials) ProtoMessage ¶ added in v0.11.2
func (*CallCredentials) ProtoMessage()
func (*CallCredentials) Reset ¶ added in v0.11.2
func (m *CallCredentials) Reset()
func (*CallCredentials) String ¶ added in v0.11.2
func (m *CallCredentials) String() string
func (*CallCredentials) XXX_DiscardUnknown ¶ added in v0.11.2
func (m *CallCredentials) XXX_DiscardUnknown()
func (*CallCredentials) XXX_Marshal ¶ added in v0.11.2
func (m *CallCredentials) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CallCredentials) XXX_Merge ¶ added in v0.11.2
func (m *CallCredentials) XXX_Merge(src proto.Message)
func (*CallCredentials) XXX_Size ¶ added in v0.11.2
func (m *CallCredentials) XXX_Size() int
func (*CallCredentials) XXX_Unmarshal ¶ added in v0.11.2
func (m *CallCredentials) XXX_Unmarshal(b []byte) error
type CallCredentials_FileCredentialSource ¶ added in v0.11.2
type CallCredentials_FileCredentialSource struct { // File containing auth token. TokenFileName string `protobuf:"bytes,1,opt,name=token_file_name,json=tokenFileName,proto3" json:"token_file_name,omitempty"` // Header to carry the token. Header string `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CallCredentials_FileCredentialSource) Descriptor ¶ added in v0.11.2
func (*CallCredentials_FileCredentialSource) Descriptor() ([]byte, []int)
func (*CallCredentials_FileCredentialSource) Equal ¶ added in v0.11.2
func (this *CallCredentials_FileCredentialSource) Equal(that interface{}) bool
func (*CallCredentials_FileCredentialSource) GetHeader ¶ added in v0.11.2
func (m *CallCredentials_FileCredentialSource) GetHeader() string
func (*CallCredentials_FileCredentialSource) GetTokenFileName ¶ added in v0.11.2
func (m *CallCredentials_FileCredentialSource) GetTokenFileName() string
func (*CallCredentials_FileCredentialSource) ProtoMessage ¶ added in v0.11.2
func (*CallCredentials_FileCredentialSource) ProtoMessage()
func (*CallCredentials_FileCredentialSource) Reset ¶ added in v0.11.2
func (m *CallCredentials_FileCredentialSource) Reset()
func (*CallCredentials_FileCredentialSource) String ¶ added in v0.11.2
func (m *CallCredentials_FileCredentialSource) String() string
func (*CallCredentials_FileCredentialSource) XXX_DiscardUnknown ¶ added in v0.11.2
func (m *CallCredentials_FileCredentialSource) XXX_DiscardUnknown()
func (*CallCredentials_FileCredentialSource) XXX_Marshal ¶ added in v0.11.2
func (m *CallCredentials_FileCredentialSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CallCredentials_FileCredentialSource) XXX_Merge ¶ added in v0.11.2
func (m *CallCredentials_FileCredentialSource) XXX_Merge(src proto.Message)
func (*CallCredentials_FileCredentialSource) XXX_Size ¶ added in v0.11.2
func (m *CallCredentials_FileCredentialSource) XXX_Size() int
func (*CallCredentials_FileCredentialSource) XXX_Unmarshal ¶ added in v0.11.2
func (m *CallCredentials_FileCredentialSource) XXX_Unmarshal(b []byte) error
type CircuitBreakerConfig ¶ added in v0.13.3
type CircuitBreakerConfig struct { MaxConnections *types.UInt32Value `protobuf:"bytes,1,opt,name=max_connections,json=maxConnections,proto3" json:"max_connections,omitempty"` MaxPendingRequests *types.UInt32Value `protobuf:"bytes,2,opt,name=max_pending_requests,json=maxPendingRequests,proto3" json:"max_pending_requests,omitempty"` MaxRequests *types.UInt32Value `protobuf:"bytes,3,opt,name=max_requests,json=maxRequests,proto3" json:"max_requests,omitempty"` MaxRetries *types.UInt32Value `protobuf:"bytes,4,opt,name=max_retries,json=maxRetries,proto3" json:"max_retries,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SslConfig contains the options necessary to configure a virtual host or listener to use TLS See the [envoy docs](https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/cluster/circuit_breaker.proto#envoy-api-msg-cluster-circuitbreakers) for the meaning of these values.
func (*CircuitBreakerConfig) Descriptor ¶ added in v0.13.3
func (*CircuitBreakerConfig) Descriptor() ([]byte, []int)
func (*CircuitBreakerConfig) Equal ¶ added in v0.13.3
func (this *CircuitBreakerConfig) Equal(that interface{}) bool
func (*CircuitBreakerConfig) GetMaxConnections ¶ added in v0.13.3
func (m *CircuitBreakerConfig) GetMaxConnections() *types.UInt32Value
func (*CircuitBreakerConfig) GetMaxPendingRequests ¶ added in v0.13.3
func (m *CircuitBreakerConfig) GetMaxPendingRequests() *types.UInt32Value
func (*CircuitBreakerConfig) GetMaxRequests ¶ added in v0.13.3
func (m *CircuitBreakerConfig) GetMaxRequests() *types.UInt32Value
func (*CircuitBreakerConfig) GetMaxRetries ¶ added in v0.13.3
func (m *CircuitBreakerConfig) GetMaxRetries() *types.UInt32Value
func (*CircuitBreakerConfig) ProtoMessage ¶ added in v0.13.3
func (*CircuitBreakerConfig) ProtoMessage()
func (*CircuitBreakerConfig) Reset ¶ added in v0.13.3
func (m *CircuitBreakerConfig) Reset()
func (*CircuitBreakerConfig) String ¶ added in v0.13.3
func (m *CircuitBreakerConfig) String() string
func (*CircuitBreakerConfig) XXX_DiscardUnknown ¶ added in v0.13.3
func (m *CircuitBreakerConfig) XXX_DiscardUnknown()
func (*CircuitBreakerConfig) XXX_Marshal ¶ added in v0.13.3
func (m *CircuitBreakerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CircuitBreakerConfig) XXX_Merge ¶ added in v0.13.3
func (m *CircuitBreakerConfig) XXX_Merge(src proto.Message)
func (*CircuitBreakerConfig) XXX_Size ¶ added in v0.13.3
func (m *CircuitBreakerConfig) XXX_Size() int
func (*CircuitBreakerConfig) XXX_Unmarshal ¶ added in v0.13.3
func (m *CircuitBreakerConfig) XXX_Unmarshal(b []byte) error
type ConnectionConfig ¶ added in v0.13.15
type ConnectionConfig struct { // Maximum requests for a single upstream connection (unspecified or zero = no limit) MaxRequestsPerConnection uint32 `` /* 138-byte string literal not displayed */ // The timeout for new network connections to hosts in the cluster ConnectTimeout *time.Duration `protobuf:"bytes,2,opt,name=connect_timeout,json=connectTimeout,proto3,stdduration" json:"connect_timeout,omitempty"` // Configure OS-level tcp keepalive checks TcpKeepalive *ConnectionConfig_TcpKeepAlive `protobuf:"bytes,3,opt,name=tcp_keepalive,json=tcpKeepalive,proto3" json:"tcp_keepalive,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Fine tune the settings for connections to an upstream
func (*ConnectionConfig) Descriptor ¶ added in v0.13.15
func (*ConnectionConfig) Descriptor() ([]byte, []int)
func (*ConnectionConfig) Equal ¶ added in v0.13.15
func (this *ConnectionConfig) Equal(that interface{}) bool
func (*ConnectionConfig) GetConnectTimeout ¶ added in v0.13.15
func (m *ConnectionConfig) GetConnectTimeout() *time.Duration
func (*ConnectionConfig) GetMaxRequestsPerConnection ¶ added in v0.13.15
func (m *ConnectionConfig) GetMaxRequestsPerConnection() uint32
func (*ConnectionConfig) GetTcpKeepalive ¶ added in v0.13.15
func (m *ConnectionConfig) GetTcpKeepalive() *ConnectionConfig_TcpKeepAlive
func (*ConnectionConfig) ProtoMessage ¶ added in v0.13.15
func (*ConnectionConfig) ProtoMessage()
func (*ConnectionConfig) Reset ¶ added in v0.13.15
func (m *ConnectionConfig) Reset()
func (*ConnectionConfig) String ¶ added in v0.13.15
func (m *ConnectionConfig) String() string
func (*ConnectionConfig) XXX_DiscardUnknown ¶ added in v0.13.15
func (m *ConnectionConfig) XXX_DiscardUnknown()
func (*ConnectionConfig) XXX_Marshal ¶ added in v0.13.15
func (m *ConnectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConnectionConfig) XXX_Merge ¶ added in v0.13.15
func (m *ConnectionConfig) XXX_Merge(src proto.Message)
func (*ConnectionConfig) XXX_Size ¶ added in v0.13.15
func (m *ConnectionConfig) XXX_Size() int
func (*ConnectionConfig) XXX_Unmarshal ¶ added in v0.13.15
func (m *ConnectionConfig) XXX_Unmarshal(b []byte) error
type ConnectionConfig_TcpKeepAlive ¶ added in v0.13.15
type ConnectionConfig_TcpKeepAlive struct { // Maximum number of keepalive probes to send without response before deciding the connection is dead. KeepaliveProbes uint32 `protobuf:"varint,1,opt,name=keepalive_probes,json=keepaliveProbes,proto3" json:"keepalive_probes,omitempty"` // The number of seconds a connection needs to be idle before keep-alive probes start being sent. This is rounded up to the second. KeepaliveTime *time.Duration `protobuf:"bytes,2,opt,name=keepalive_time,json=keepaliveTime,proto3,stdduration" json:"keepalive_time,omitempty"` // The number of seconds between keep-alive probes. This is rounded up to the second. KeepaliveInterval *time.Duration `protobuf:"bytes,3,opt,name=keepalive_interval,json=keepaliveInterval,proto3,stdduration" json:"keepalive_interval,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives. see more info here: https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/core/address.proto#envoy-api-msg-core-tcpkeepalive
func (*ConnectionConfig_TcpKeepAlive) Descriptor ¶ added in v0.13.15
func (*ConnectionConfig_TcpKeepAlive) Descriptor() ([]byte, []int)
func (*ConnectionConfig_TcpKeepAlive) Equal ¶ added in v0.13.15
func (this *ConnectionConfig_TcpKeepAlive) Equal(that interface{}) bool
func (*ConnectionConfig_TcpKeepAlive) GetKeepaliveInterval ¶ added in v0.13.15
func (m *ConnectionConfig_TcpKeepAlive) GetKeepaliveInterval() *time.Duration
func (*ConnectionConfig_TcpKeepAlive) GetKeepaliveProbes ¶ added in v0.13.15
func (m *ConnectionConfig_TcpKeepAlive) GetKeepaliveProbes() uint32
func (*ConnectionConfig_TcpKeepAlive) GetKeepaliveTime ¶ added in v0.13.15
func (m *ConnectionConfig_TcpKeepAlive) GetKeepaliveTime() *time.Duration
func (*ConnectionConfig_TcpKeepAlive) ProtoMessage ¶ added in v0.13.15
func (*ConnectionConfig_TcpKeepAlive) ProtoMessage()
func (*ConnectionConfig_TcpKeepAlive) Reset ¶ added in v0.13.15
func (m *ConnectionConfig_TcpKeepAlive) Reset()
func (*ConnectionConfig_TcpKeepAlive) String ¶ added in v0.13.15
func (m *ConnectionConfig_TcpKeepAlive) String() string
func (*ConnectionConfig_TcpKeepAlive) XXX_DiscardUnknown ¶ added in v0.13.15
func (m *ConnectionConfig_TcpKeepAlive) XXX_DiscardUnknown()
func (*ConnectionConfig_TcpKeepAlive) XXX_Marshal ¶ added in v0.13.15
func (m *ConnectionConfig_TcpKeepAlive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConnectionConfig_TcpKeepAlive) XXX_Merge ¶ added in v0.13.15
func (m *ConnectionConfig_TcpKeepAlive) XXX_Merge(src proto.Message)
func (*ConnectionConfig_TcpKeepAlive) XXX_Size ¶ added in v0.13.15
func (m *ConnectionConfig_TcpKeepAlive) XXX_Size() int
func (*ConnectionConfig_TcpKeepAlive) XXX_Unmarshal ¶ added in v0.13.15
func (m *ConnectionConfig_TcpKeepAlive) XXX_Unmarshal(b []byte) error
type ConsulServiceDestination ¶ added in v0.17.0
type ConsulServiceDestination struct { // The name of the target service. This field is required. ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // If provided, load balance traffic only between services matching all the given tags. Tags []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` // If provided, load balance traffic only between services running in the given // [data centers](https://www.consul.io/docs/internals/architecture.html). DataCenters []string `protobuf:"bytes,3,rep,name=data_centers,json=dataCenters,proto3" json:"data_centers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Identifies a [Consul](https://www.consul.io/) [service](https://www.consul.io/docs/agent/services.html) to route traffic to. Multiple Consul services with the same name can present distinct sets of tags, listen of different ports, and live in multiple data centers (see an example [here](https://www.consul.io/docs/agent/services.html#multiple-service-definitions)). You can target the desired subset of services via the fields in this configuration. Gloo will detect the correspondent IP addresses and ports and load balance traffic between them.
func (*ConsulServiceDestination) Descriptor ¶ added in v0.17.0
func (*ConsulServiceDestination) Descriptor() ([]byte, []int)
func (*ConsulServiceDestination) Equal ¶ added in v0.17.0
func (this *ConsulServiceDestination) Equal(that interface{}) bool
func (*ConsulServiceDestination) GetDataCenters ¶ added in v0.17.0
func (m *ConsulServiceDestination) GetDataCenters() []string
func (*ConsulServiceDestination) GetServiceName ¶ added in v0.17.0
func (m *ConsulServiceDestination) GetServiceName() string
func (*ConsulServiceDestination) GetTags ¶ added in v0.17.0
func (m *ConsulServiceDestination) GetTags() []string
func (*ConsulServiceDestination) ProtoMessage ¶ added in v0.17.0
func (*ConsulServiceDestination) ProtoMessage()
func (*ConsulServiceDestination) Reset ¶ added in v0.17.0
func (m *ConsulServiceDestination) Reset()
func (*ConsulServiceDestination) String ¶ added in v0.17.0
func (m *ConsulServiceDestination) String() string
func (*ConsulServiceDestination) XXX_DiscardUnknown ¶ added in v0.17.0
func (m *ConsulServiceDestination) XXX_DiscardUnknown()
func (*ConsulServiceDestination) XXX_Marshal ¶ added in v0.17.0
func (m *ConsulServiceDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsulServiceDestination) XXX_Merge ¶ added in v0.17.0
func (m *ConsulServiceDestination) XXX_Merge(src proto.Message)
func (*ConsulServiceDestination) XXX_Size ¶ added in v0.17.0
func (m *ConsulServiceDestination) XXX_Size() int
func (*ConsulServiceDestination) XXX_Unmarshal ¶ added in v0.17.0
func (m *ConsulServiceDestination) XXX_Unmarshal(b []byte) error
type CorsPolicy ¶ added in v0.13.0
type CorsPolicy struct { // Specifies the origins that will be allowed to make CORS requests. // // An origin is allowed if either allow_origin or allow_origin_regex match. AllowOrigin []string `protobuf:"bytes,1,rep,name=allow_origin,json=allowOrigin,proto3" json:"allow_origin,omitempty"` // Specifies regex patterns that match origins that will be allowed to make // CORS requests. // // An origin is allowed if either allow_origin or allow_origin_regex match. AllowOriginRegex []string `protobuf:"bytes,2,rep,name=allow_origin_regex,json=allowOriginRegex,proto3" json:"allow_origin_regex,omitempty"` // Specifies the content for the *access-control-allow-methods* header. AllowMethods []string `protobuf:"bytes,3,rep,name=allow_methods,json=allowMethods,proto3" json:"allow_methods,omitempty"` // Specifies the content for the *access-control-allow-headers* header. AllowHeaders []string `protobuf:"bytes,4,rep,name=allow_headers,json=allowHeaders,proto3" json:"allow_headers,omitempty"` // Specifies the content for the *access-control-expose-headers* header. ExposeHeaders []string `protobuf:"bytes,5,rep,name=expose_headers,json=exposeHeaders,proto3" json:"expose_headers,omitempty"` // Specifies the content for the *access-control-max-age* header. MaxAge string `protobuf:"bytes,6,opt,name=max_age,json=maxAge,proto3" json:"max_age,omitempty"` // Specifies whether the resource allows credentials. AllowCredentials bool `protobuf:"varint,7,opt,name=allow_credentials,json=allowCredentials,proto3" json:"allow_credentials,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CorsPolicy defines Cross-Origin Resource Sharing for a virtual service. DEPRECATED set cors policy through the Virtual Host Plugin
func (*CorsPolicy) Descriptor ¶ added in v0.13.0
func (*CorsPolicy) Descriptor() ([]byte, []int)
func (*CorsPolicy) Equal ¶ added in v0.13.0
func (this *CorsPolicy) Equal(that interface{}) bool
func (*CorsPolicy) GetAllowCredentials ¶ added in v0.13.0
func (m *CorsPolicy) GetAllowCredentials() bool
func (*CorsPolicy) GetAllowHeaders ¶ added in v0.13.0
func (m *CorsPolicy) GetAllowHeaders() []string
func (*CorsPolicy) GetAllowMethods ¶ added in v0.13.0
func (m *CorsPolicy) GetAllowMethods() []string
func (*CorsPolicy) GetAllowOrigin ¶ added in v0.13.0
func (m *CorsPolicy) GetAllowOrigin() []string
func (*CorsPolicy) GetAllowOriginRegex ¶ added in v0.13.0
func (m *CorsPolicy) GetAllowOriginRegex() []string
func (*CorsPolicy) GetExposeHeaders ¶ added in v0.13.0
func (m *CorsPolicy) GetExposeHeaders() []string
func (*CorsPolicy) GetMaxAge ¶ added in v0.13.0
func (m *CorsPolicy) GetMaxAge() string
func (*CorsPolicy) ProtoMessage ¶ added in v0.13.0
func (*CorsPolicy) ProtoMessage()
func (*CorsPolicy) Reset ¶ added in v0.13.0
func (m *CorsPolicy) Reset()
func (*CorsPolicy) String ¶ added in v0.13.0
func (m *CorsPolicy) String() string
func (*CorsPolicy) XXX_DiscardUnknown ¶ added in v0.13.0
func (m *CorsPolicy) XXX_DiscardUnknown()
func (*CorsPolicy) XXX_Marshal ¶ added in v0.13.0
func (m *CorsPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CorsPolicy) XXX_Merge ¶ added in v0.13.0
func (m *CorsPolicy) XXX_Merge(src proto.Message)
func (*CorsPolicy) XXX_Size ¶ added in v0.13.0
func (m *CorsPolicy) XXX_Size() int
func (*CorsPolicy) XXX_Unmarshal ¶ added in v0.13.0
func (m *CorsPolicy) XXX_Unmarshal(b []byte) error
type Destination ¶
type Destination struct { // The type of the destination // // Types that are valid to be assigned to DestinationType: // *Destination_Upstream // *Destination_Kube // *Destination_Consul DestinationType isDestination_DestinationType `protobuf_oneof:"destination_type"` // Some upstreams utilize plugins which require or permit additional configuration on routes targeting them. // gRPC upstreams, for example, allow specifying REST-style parameters for JSON-to-gRPC transcoding in the // destination config. If the destination config is required for the upstream and not provided by the user, // Gloo will invalidate the destination and its parent resources. DestinationSpec *DestinationSpec `protobuf:"bytes,2,opt,name=destination_spec,json=destinationSpec,proto3" json:"destination_spec,omitempty"` // If specified, traffic will only be routed to a subset of the upstream. If upstream doesn't // contain the specified subset, we will fallback to normal upstream routing. Subset *Subset `protobuf:"bytes,3,opt,name=subset,proto3" json:"subset,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Destinations define routable destinations for proxied requests.
func (*Destination) Descriptor ¶
func (*Destination) Descriptor() ([]byte, []int)
func (*Destination) Equal ¶
func (this *Destination) Equal(that interface{}) bool
func (*Destination) GetConsul ¶ added in v0.17.0
func (m *Destination) GetConsul() *ConsulServiceDestination
func (*Destination) GetDestinationSpec ¶
func (m *Destination) GetDestinationSpec() *DestinationSpec
func (*Destination) GetDestinationType ¶ added in v0.13.34
func (m *Destination) GetDestinationType() isDestination_DestinationType
func (*Destination) GetKube ¶ added in v0.17.0
func (m *Destination) GetKube() *KubernetesServiceDestination
func (*Destination) GetSubset ¶ added in v0.13.6
func (m *Destination) GetSubset() *Subset
func (*Destination) GetUpstream ¶
func (m *Destination) GetUpstream() *core.ResourceRef
func (*Destination) ProtoMessage ¶
func (*Destination) ProtoMessage()
func (*Destination) Reset ¶
func (m *Destination) Reset()
func (*Destination) String ¶
func (m *Destination) String() string
func (*Destination) XXX_DiscardUnknown ¶
func (m *Destination) XXX_DiscardUnknown()
func (*Destination) XXX_Marshal ¶
func (m *Destination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Destination) XXX_Merge ¶
func (m *Destination) XXX_Merge(src proto.Message)
func (*Destination) XXX_OneofFuncs ¶ added in v0.13.34
func (*Destination) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Destination) XXX_Size ¶
func (m *Destination) XXX_Size() int
func (*Destination) XXX_Unmarshal ¶
func (m *Destination) XXX_Unmarshal(b []byte) error
type DestinationSpec ¶
type DestinationSpec struct { // Note to developers: new DestinationSpecs must be added to this oneof field // to be usable by Gloo. // // Types that are valid to be assigned to DestinationType: // *DestinationSpec_Aws // *DestinationSpec_Azure // *DestinationSpec_Rest // *DestinationSpec_Grpc DestinationType isDestinationSpec_DestinationType `protobuf_oneof:"destination_type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Configuration for Destinations that are tied to the UpstreamSpec or ServiceSpec on that destination
func (*DestinationSpec) Descriptor ¶
func (*DestinationSpec) Descriptor() ([]byte, []int)
func (*DestinationSpec) Equal ¶
func (this *DestinationSpec) Equal(that interface{}) bool
func (*DestinationSpec) GetAws ¶
func (m *DestinationSpec) GetAws() *aws.DestinationSpec
func (*DestinationSpec) GetAzure ¶
func (m *DestinationSpec) GetAzure() *azure.DestinationSpec
func (*DestinationSpec) GetDestinationType ¶
func (m *DestinationSpec) GetDestinationType() isDestinationSpec_DestinationType
func (*DestinationSpec) GetGrpc ¶
func (m *DestinationSpec) GetGrpc() *grpc.DestinationSpec
func (*DestinationSpec) GetRest ¶
func (m *DestinationSpec) GetRest() *rest.DestinationSpec
func (*DestinationSpec) ProtoMessage ¶
func (*DestinationSpec) ProtoMessage()
func (*DestinationSpec) Reset ¶
func (m *DestinationSpec) Reset()
func (*DestinationSpec) String ¶
func (m *DestinationSpec) String() string
func (*DestinationSpec) XXX_DiscardUnknown ¶
func (m *DestinationSpec) XXX_DiscardUnknown()
func (*DestinationSpec) XXX_Marshal ¶
func (m *DestinationSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DestinationSpec) XXX_Merge ¶
func (m *DestinationSpec) XXX_Merge(src proto.Message)
func (*DestinationSpec) XXX_OneofFuncs ¶
func (*DestinationSpec) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*DestinationSpec) XXX_Size ¶
func (m *DestinationSpec) XXX_Size() int
func (*DestinationSpec) XXX_Unmarshal ¶
func (m *DestinationSpec) XXX_Unmarshal(b []byte) error
type DestinationSpec_Aws ¶
type DestinationSpec_Aws struct {
Aws *aws.DestinationSpec `protobuf:"bytes,1,opt,name=aws,proto3,oneof"`
}
func (*DestinationSpec_Aws) Equal ¶
func (this *DestinationSpec_Aws) Equal(that interface{}) bool
type DestinationSpec_Azure ¶
type DestinationSpec_Azure struct {
Azure *azure.DestinationSpec `protobuf:"bytes,2,opt,name=azure,proto3,oneof"`
}
func (*DestinationSpec_Azure) Equal ¶
func (this *DestinationSpec_Azure) Equal(that interface{}) bool
type DestinationSpec_Grpc ¶
type DestinationSpec_Grpc struct {
Grpc *grpc.DestinationSpec `protobuf:"bytes,4,opt,name=grpc,proto3,oneof"`
}
func (*DestinationSpec_Grpc) Equal ¶
func (this *DestinationSpec_Grpc) Equal(that interface{}) bool
type DestinationSpec_Rest ¶
type DestinationSpec_Rest struct {
Rest *rest.DestinationSpec `protobuf:"bytes,3,opt,name=rest,proto3,oneof"`
}
func (*DestinationSpec_Rest) Equal ¶
func (this *DestinationSpec_Rest) Equal(that interface{}) bool
type Destination_Consul ¶ added in v0.17.0
type Destination_Consul struct {
Consul *ConsulServiceDestination `protobuf:"bytes,12,opt,name=consul,proto3,oneof"`
}
func (*Destination_Consul) Equal ¶ added in v0.17.0
func (this *Destination_Consul) Equal(that interface{}) bool
type Destination_Kube ¶ added in v0.17.0
type Destination_Kube struct {
Kube *KubernetesServiceDestination `protobuf:"bytes,11,opt,name=kube,proto3,oneof"`
}
func (*Destination_Kube) Equal ¶ added in v0.17.0
func (this *Destination_Kube) Equal(that interface{}) bool
type Destination_Upstream ¶ added in v0.13.34
type Destination_Upstream struct {
Upstream *core.ResourceRef `protobuf:"bytes,10,opt,name=upstream,proto3,oneof"`
}
func (*Destination_Upstream) Equal ¶ added in v0.13.34
func (this *Destination_Upstream) Equal(that interface{}) bool
type DirectResponseAction ¶
type DirectResponseAction struct { // Specifies the HTTP response status to be returned. Status uint32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` // Specifies the content of the response body. If this setting is omitted, // no body is included in the generated response. // // Note: Headers can be specified using the Header Modification plugin in the enclosing // Route, Virtual Host, or Listener. Body string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DirectResponseAction is copied directly from https://github.com/envoyproxy/envoy/blob/master/api/envoy/api/v2/route/route.proto
func (*DirectResponseAction) Descriptor ¶
func (*DirectResponseAction) Descriptor() ([]byte, []int)
func (*DirectResponseAction) Equal ¶
func (this *DirectResponseAction) Equal(that interface{}) bool
func (*DirectResponseAction) GetBody ¶
func (m *DirectResponseAction) GetBody() string
func (*DirectResponseAction) GetStatus ¶
func (m *DirectResponseAction) GetStatus() uint32
func (*DirectResponseAction) ProtoMessage ¶
func (*DirectResponseAction) ProtoMessage()
func (*DirectResponseAction) Reset ¶
func (m *DirectResponseAction) Reset()
func (*DirectResponseAction) String ¶
func (m *DirectResponseAction) String() string
func (*DirectResponseAction) XXX_DiscardUnknown ¶
func (m *DirectResponseAction) XXX_DiscardUnknown()
func (*DirectResponseAction) XXX_Marshal ¶
func (m *DirectResponseAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DirectResponseAction) XXX_Merge ¶
func (m *DirectResponseAction) XXX_Merge(src proto.Message)
func (*DirectResponseAction) XXX_Size ¶
func (m *DirectResponseAction) XXX_Size() int
func (*DirectResponseAction) XXX_Unmarshal ¶
func (m *DirectResponseAction) XXX_Unmarshal(b []byte) error
type DiscoveryEmitter ¶
type DiscoveryEmitter interface { Register() error Upstream() UpstreamClient KubeNamespace() github_com_solo_io_solo_kit_pkg_api_v1_resources_common_kubernetes.KubeNamespaceClient Secret() SecretClient Snapshots(watchNamespaces []string, opts clients.WatchOpts) (<-chan *DiscoverySnapshot, <-chan error, error) }
func NewDiscoveryEmitter ¶
func NewDiscoveryEmitter(upstreamClient UpstreamClient, kubeNamespaceClient github_com_solo_io_solo_kit_pkg_api_v1_resources_common_kubernetes.KubeNamespaceClient, secretClient SecretClient) DiscoveryEmitter
func NewDiscoveryEmitterWithEmit ¶
func NewDiscoveryEmitterWithEmit(upstreamClient UpstreamClient, kubeNamespaceClient github_com_solo_io_solo_kit_pkg_api_v1_resources_common_kubernetes.KubeNamespaceClient, secretClient SecretClient, emit <-chan struct{}) DiscoveryEmitter
type DiscoveryMetadata ¶
type DiscoveryMetadata struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
created by discovery services
func (*DiscoveryMetadata) Descriptor ¶
func (*DiscoveryMetadata) Descriptor() ([]byte, []int)
func (*DiscoveryMetadata) Equal ¶
func (this *DiscoveryMetadata) Equal(that interface{}) bool
func (*DiscoveryMetadata) ProtoMessage ¶
func (*DiscoveryMetadata) ProtoMessage()
func (*DiscoveryMetadata) Reset ¶
func (m *DiscoveryMetadata) Reset()
func (*DiscoveryMetadata) String ¶
func (m *DiscoveryMetadata) String() string
func (*DiscoveryMetadata) XXX_DiscardUnknown ¶
func (m *DiscoveryMetadata) XXX_DiscardUnknown()
func (*DiscoveryMetadata) XXX_Marshal ¶
func (m *DiscoveryMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DiscoveryMetadata) XXX_Merge ¶
func (m *DiscoveryMetadata) XXX_Merge(src proto.Message)
func (*DiscoveryMetadata) XXX_Size ¶
func (m *DiscoveryMetadata) XXX_Size() int
func (*DiscoveryMetadata) XXX_Unmarshal ¶
func (m *DiscoveryMetadata) XXX_Unmarshal(b []byte) error
type DiscoverySimpleEmitter ¶ added in v0.13.21
type DiscoverySimpleEmitter interface {
Snapshots(ctx context.Context) (<-chan *DiscoverySnapshot, <-chan error, error)
}
func NewDiscoverySimpleEmitter ¶ added in v0.13.21
func NewDiscoverySimpleEmitter(aggregatedWatch clients.ResourceWatch) DiscoverySimpleEmitter
func NewDiscoverySimpleEmitterWithEmit ¶ added in v0.13.21
func NewDiscoverySimpleEmitterWithEmit(aggregatedWatch clients.ResourceWatch, emit <-chan struct{}) DiscoverySimpleEmitter
type DiscoverySnapshot ¶
type DiscoverySnapshot struct { Upstreams UpstreamList Kubenamespaces github_com_solo_io_solo_kit_pkg_api_v1_resources_common_kubernetes.KubeNamespaceList Secrets SecretList }
func (DiscoverySnapshot) Clone ¶
func (s DiscoverySnapshot) Clone() DiscoverySnapshot
func (DiscoverySnapshot) Hash ¶
func (s DiscoverySnapshot) Hash() uint64
func (DiscoverySnapshot) HashFields ¶
func (s DiscoverySnapshot) HashFields() []zap.Field
func (DiscoverySnapshot) Stringer ¶
func (s DiscoverySnapshot) Stringer() DiscoverySnapshotStringer
type DiscoverySnapshotStringer ¶
type DiscoverySnapshotStringer struct { Version uint64 Upstreams []string Kubenamespaces []string Secrets []string }
func (DiscoverySnapshotStringer) String ¶
func (ss DiscoverySnapshotStringer) String() string
type DiscoverySyncDecider
deprecated
added in
v0.13.21
type DiscoverySyncDecider interface { DiscoverySyncer ShouldSync(old, new *DiscoverySnapshot) bool }
Deprecated: use DiscoverySyncDeciderWithContext
type DiscoverySyncDeciderWithContext ¶ added in v0.15.0
type DiscoverySyncDeciderWithContext interface { DiscoverySyncer ShouldSync(ctx context.Context, old, new *DiscoverySnapshot) bool }
type DiscoverySyncer ¶
type DiscoverySyncer interface {
Sync(context.Context, *DiscoverySnapshot) error
}
type DiscoverySyncers ¶
type DiscoverySyncers []DiscoverySyncer
func (DiscoverySyncers) Sync ¶
func (s DiscoverySyncers) Sync(ctx context.Context, snapshot *DiscoverySnapshot) error
type EdsEmitter ¶ added in v0.15.0
type EdsEmitter interface { Register() error Upstream() UpstreamClient Snapshots(watchNamespaces []string, opts clients.WatchOpts) (<-chan *EdsSnapshot, <-chan error, error) }
func NewEdsEmitter ¶ added in v0.15.0
func NewEdsEmitter(upstreamClient UpstreamClient) EdsEmitter
func NewEdsEmitterWithEmit ¶ added in v0.15.0
func NewEdsEmitterWithEmit(upstreamClient UpstreamClient, emit <-chan struct{}) EdsEmitter
type EdsSimpleEmitter ¶ added in v0.15.0
type EdsSimpleEmitter interface {
Snapshots(ctx context.Context) (<-chan *EdsSnapshot, <-chan error, error)
}
func NewEdsSimpleEmitter ¶ added in v0.15.0
func NewEdsSimpleEmitter(aggregatedWatch clients.ResourceWatch) EdsSimpleEmitter
func NewEdsSimpleEmitterWithEmit ¶ added in v0.15.0
func NewEdsSimpleEmitterWithEmit(aggregatedWatch clients.ResourceWatch, emit <-chan struct{}) EdsSimpleEmitter
type EdsSnapshot ¶ added in v0.15.0
type EdsSnapshot struct {
Upstreams UpstreamList
}
func (EdsSnapshot) Clone ¶ added in v0.15.0
func (s EdsSnapshot) Clone() EdsSnapshot
func (EdsSnapshot) Hash ¶ added in v0.15.0
func (s EdsSnapshot) Hash() uint64
func (EdsSnapshot) HashFields ¶ added in v0.15.0
func (s EdsSnapshot) HashFields() []zap.Field
func (EdsSnapshot) Stringer ¶ added in v0.15.0
func (s EdsSnapshot) Stringer() EdsSnapshotStringer
type EdsSnapshotStringer ¶ added in v0.15.0
func (EdsSnapshotStringer) String ¶ added in v0.15.0
func (ss EdsSnapshotStringer) String() string
type EdsSyncDecider
deprecated
added in
v0.15.0
type EdsSyncDecider interface { EdsSyncer ShouldSync(old, new *EdsSnapshot) bool }
Deprecated: use EdsSyncDeciderWithContext
type EdsSyncDeciderWithContext ¶ added in v0.15.0
type EdsSyncDeciderWithContext interface { EdsSyncer ShouldSync(ctx context.Context, old, new *EdsSnapshot) bool }
type EdsSyncer ¶ added in v0.15.0
type EdsSyncer interface {
Sync(context.Context, *EdsSnapshot) error
}
type EdsSyncers ¶ added in v0.15.0
type EdsSyncers []EdsSyncer
func (EdsSyncers) Sync ¶ added in v0.15.0
func (s EdsSyncers) Sync(ctx context.Context, snapshot *EdsSnapshot) error
type Endpoint ¶
type Endpoint struct { // List of the upstreams the endpoint belongs to Upstreams []*core.ResourceRef `protobuf:"bytes,1,rep,name=upstreams,proto3" json:"upstreams,omitempty"` // Address of the endpoint (ip or hostname) Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // listening port for the endpoint Port uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` // Metadata contains the object metadata for this resource Metadata core.Metadata `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Endpoints represent dynamically discovered address/ports where an upstream service is listening
func NewEndpoint ¶
func (*Endpoint) DeepCopyObject ¶
func (*Endpoint) Descriptor ¶
func (*Endpoint) GetAddress ¶
func (*Endpoint) GetMetadata ¶
func (*Endpoint) GetObjectKind ¶
func (o *Endpoint) GetObjectKind() schema.ObjectKind
func (*Endpoint) GetUpstreams ¶
func (m *Endpoint) GetUpstreams() []*core.ResourceRef
func (*Endpoint) GroupVersionKind ¶ added in v0.18.0
func (r *Endpoint) GroupVersionKind() schema.GroupVersionKind
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) SetMetadata ¶
func (*Endpoint) XXX_DiscardUnknown ¶
func (m *Endpoint) XXX_DiscardUnknown()
func (*Endpoint) XXX_Marshal ¶
func (*Endpoint) XXX_Unmarshal ¶
type EndpointClient ¶
type EndpointClient interface { BaseClient() clients.ResourceClient Register() error Read(namespace, name string, opts clients.ReadOpts) (*Endpoint, error) Write(resource *Endpoint, opts clients.WriteOpts) (*Endpoint, error) Delete(namespace, name string, opts clients.DeleteOpts) error List(namespace string, opts clients.ListOpts) (EndpointList, error) EndpointWatcher }
func NewEndpointClient ¶
func NewEndpointClient(rcFactory factory.ResourceClientFactory) (EndpointClient, error)
func NewEndpointClientWithBase ¶
func NewEndpointClientWithBase(rc clients.ResourceClient) EndpointClient
func NewEndpointClientWithToken ¶
func NewEndpointClientWithToken(rcFactory factory.ResourceClientFactory, token string) (EndpointClient, error)
type EndpointList ¶
type EndpointList []*Endpoint
func (EndpointList) AsInterfaces ¶
func (list EndpointList) AsInterfaces() []interface{}
func (EndpointList) AsResources ¶
func (list EndpointList) AsResources() resources.ResourceList
func (EndpointList) Clone ¶
func (list EndpointList) Clone() EndpointList
func (EndpointList) Each ¶
func (list EndpointList) Each(f func(element *Endpoint))
func (EndpointList) EachResource ¶ added in v0.13.21
func (list EndpointList) EachResource(f func(element resources.Resource))
func (EndpointList) Find ¶
func (list EndpointList) Find(namespace, name string) (*Endpoint, error)
namespace is optional, if left empty, names can collide if the list contains more than one with the same name
func (EndpointList) Names ¶
func (list EndpointList) Names() []string
func (EndpointList) NamespacesDotNames ¶
func (list EndpointList) NamespacesDotNames() []string
func (EndpointList) Sort ¶
func (list EndpointList) Sort() EndpointList
type EndpointReconciler ¶
type EndpointReconciler interface {
Reconcile(namespace string, desiredResources EndpointList, transition TransitionEndpointFunc, opts clients.ListOpts) error
}
func NewEndpointReconciler ¶
func NewEndpointReconciler(client EndpointClient) EndpointReconciler
type EndpointWatcher ¶ added in v0.13.21
type Extension ¶
type Extension struct { Config *types.Struct `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Extension) Descriptor ¶
func (*Extension) ProtoMessage ¶
func (*Extension) ProtoMessage()
func (*Extension) XXX_DiscardUnknown ¶
func (m *Extension) XXX_DiscardUnknown()
func (*Extension) XXX_Marshal ¶
func (*Extension) XXX_Unmarshal ¶
type Extensions ¶
type Extensions struct { Configs map[string]*types.Struct `` /* 155-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Extensions) Descriptor ¶
func (*Extensions) Descriptor() ([]byte, []int)
func (*Extensions) Equal ¶
func (this *Extensions) Equal(that interface{}) bool
func (*Extensions) GetConfigs ¶
func (m *Extensions) GetConfigs() map[string]*types.Struct
func (*Extensions) ProtoMessage ¶
func (*Extensions) ProtoMessage()
func (*Extensions) Reset ¶
func (m *Extensions) Reset()
func (*Extensions) String ¶
func (m *Extensions) String() string
func (*Extensions) XXX_DiscardUnknown ¶
func (m *Extensions) XXX_DiscardUnknown()
func (*Extensions) XXX_Marshal ¶
func (m *Extensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Extensions) XXX_Merge ¶
func (m *Extensions) XXX_Merge(src proto.Message)
func (*Extensions) XXX_Size ¶
func (m *Extensions) XXX_Size() int
func (*Extensions) XXX_Unmarshal ¶
func (m *Extensions) XXX_Unmarshal(b []byte) error
type HeaderMatcher ¶
type HeaderMatcher struct { // Specifies the name of the header in the request. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Specifies the value of the header. If the value is absent a request that // has the name header will match, regardless of the header’s value. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Specifies whether the header value should be treated as regex or not. Regex bool `protobuf:"varint,3,opt,name=regex,proto3" json:"regex,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Internally, Gloo always uses the HTTP/2 *:authority* header to represent the HTTP/1 *Host* header. Thus, if attempting to match on *Host*, match on *:authority* instead.
In the absence of any header match specifier, match will default to `present_match` i.e, a request that has the `name` header will match, regardless of the header's value.
func (*HeaderMatcher) Descriptor ¶
func (*HeaderMatcher) Descriptor() ([]byte, []int)
func (*HeaderMatcher) Equal ¶
func (this *HeaderMatcher) Equal(that interface{}) bool
func (*HeaderMatcher) GetName ¶
func (m *HeaderMatcher) GetName() string
func (*HeaderMatcher) GetRegex ¶
func (m *HeaderMatcher) GetRegex() bool
func (*HeaderMatcher) GetValue ¶
func (m *HeaderMatcher) GetValue() string
func (*HeaderMatcher) ProtoMessage ¶
func (*HeaderMatcher) ProtoMessage()
func (*HeaderMatcher) Reset ¶
func (m *HeaderMatcher) Reset()
func (*HeaderMatcher) String ¶
func (m *HeaderMatcher) String() string
func (*HeaderMatcher) XXX_DiscardUnknown ¶
func (m *HeaderMatcher) XXX_DiscardUnknown()
func (*HeaderMatcher) XXX_Marshal ¶
func (m *HeaderMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HeaderMatcher) XXX_Merge ¶
func (m *HeaderMatcher) XXX_Merge(src proto.Message)
func (*HeaderMatcher) XXX_Size ¶
func (m *HeaderMatcher) XXX_Size() int
func (*HeaderMatcher) XXX_Unmarshal ¶
func (m *HeaderMatcher) XXX_Unmarshal(b []byte) error
type HttpListener ¶
type HttpListener struct { // the set of virtual hosts that will be accessible by clients connecting to this listener. // at least one virtual host must be specified for this listener to be active (else connections will be refused) // the set of domains for each virtual host must be unique, or the config will be considered invalid VirtualHosts []*VirtualHost `protobuf:"bytes,1,rep,name=virtual_hosts,json=virtualHosts,proto3" json:"virtual_hosts,omitempty"` // Listener Plugins contains top-level plugin configuration to be applied to a listener // Listener config is applied to traffic for the given listener. // Some configuration here can be overridden in // Virtual Host Plugin configuration or Route Plugin configuration ListenerPlugins *HttpListenerPlugins `protobuf:"bytes,2,opt,name=listener_plugins,json=listenerPlugins,proto3" json:"listener_plugins,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Use this listener to configure proxy behavior for any HTTP-level features including defining routes (via virtual services). HttpListeners also contain plugin configuration that applies globally across all virtual hosts on the listener. Some plugins can be configured to work both on the listener and virtual host level (such as the rate limit plugin)
func (*HttpListener) Descriptor ¶
func (*HttpListener) Descriptor() ([]byte, []int)
func (*HttpListener) Equal ¶
func (this *HttpListener) Equal(that interface{}) bool
func (*HttpListener) GetListenerPlugins ¶
func (m *HttpListener) GetListenerPlugins() *HttpListenerPlugins
func (*HttpListener) GetVirtualHosts ¶
func (m *HttpListener) GetVirtualHosts() []*VirtualHost
func (*HttpListener) ProtoMessage ¶
func (*HttpListener) ProtoMessage()
func (*HttpListener) Reset ¶
func (m *HttpListener) Reset()
func (*HttpListener) String ¶
func (m *HttpListener) String() string
func (*HttpListener) XXX_DiscardUnknown ¶
func (m *HttpListener) XXX_DiscardUnknown()
func (*HttpListener) XXX_Marshal ¶
func (m *HttpListener) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HttpListener) XXX_Merge ¶
func (m *HttpListener) XXX_Merge(src proto.Message)
func (*HttpListener) XXX_Size ¶
func (m *HttpListener) XXX_Size() int
func (*HttpListener) XXX_Unmarshal ¶
func (m *HttpListener) XXX_Unmarshal(b []byte) error
type HttpListenerPlugins ¶ added in v0.16.0
type HttpListenerPlugins struct { GrpcWeb *grpc_web.GrpcWeb `protobuf:"bytes,1,opt,name=grpc_web,json=grpcWeb,proto3" json:"grpc_web,omitempty"` HttpConnectionManagerSettings *hcm.HttpConnectionManagerSettings `` /* 152-byte string literal not displayed */ Extensions *Extensions `protobuf:"bytes,3,opt,name=extensions,proto3" json:"extensions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Plugin-specific configuration that lives on http listeners
func (*HttpListenerPlugins) Descriptor ¶ added in v0.16.0
func (*HttpListenerPlugins) Descriptor() ([]byte, []int)
func (*HttpListenerPlugins) Equal ¶ added in v0.16.0
func (this *HttpListenerPlugins) Equal(that interface{}) bool
func (*HttpListenerPlugins) GetExtensions ¶ added in v0.18.25
func (m *HttpListenerPlugins) GetExtensions() *Extensions
func (*HttpListenerPlugins) GetGrpcWeb ¶ added in v0.16.0
func (m *HttpListenerPlugins) GetGrpcWeb() *grpc_web.GrpcWeb
func (*HttpListenerPlugins) GetHttpConnectionManagerSettings ¶ added in v0.16.0
func (m *HttpListenerPlugins) GetHttpConnectionManagerSettings() *hcm.HttpConnectionManagerSettings
func (*HttpListenerPlugins) ProtoMessage ¶ added in v0.16.0
func (*HttpListenerPlugins) ProtoMessage()
func (*HttpListenerPlugins) Reset ¶ added in v0.16.0
func (m *HttpListenerPlugins) Reset()
func (*HttpListenerPlugins) String ¶ added in v0.16.0
func (m *HttpListenerPlugins) String() string
func (*HttpListenerPlugins) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *HttpListenerPlugins) XXX_DiscardUnknown()
func (*HttpListenerPlugins) XXX_Marshal ¶ added in v0.16.0
func (m *HttpListenerPlugins) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HttpListenerPlugins) XXX_Merge ¶ added in v0.16.0
func (m *HttpListenerPlugins) XXX_Merge(src proto.Message)
func (*HttpListenerPlugins) XXX_Size ¶ added in v0.16.0
func (m *HttpListenerPlugins) XXX_Size() int
func (*HttpListenerPlugins) XXX_Unmarshal ¶ added in v0.16.0
func (m *HttpListenerPlugins) XXX_Unmarshal(b []byte) error
type KubernetesServiceDestination ¶ added in v0.17.0
type KubernetesServiceDestination struct { // The target service Ref core.ResourceRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref"` // The port attribute of the service Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Identifies a port on a kubernetes service to route traffic to.
func (*KubernetesServiceDestination) Descriptor ¶ added in v0.17.0
func (*KubernetesServiceDestination) Descriptor() ([]byte, []int)
func (*KubernetesServiceDestination) Equal ¶ added in v0.17.0
func (this *KubernetesServiceDestination) Equal(that interface{}) bool
func (*KubernetesServiceDestination) GetPort ¶ added in v0.17.0
func (m *KubernetesServiceDestination) GetPort() uint32
func (*KubernetesServiceDestination) GetRef ¶ added in v0.17.0
func (m *KubernetesServiceDestination) GetRef() core.ResourceRef
func (*KubernetesServiceDestination) ProtoMessage ¶ added in v0.17.0
func (*KubernetesServiceDestination) ProtoMessage()
func (*KubernetesServiceDestination) Reset ¶ added in v0.17.0
func (m *KubernetesServiceDestination) Reset()
func (*KubernetesServiceDestination) String ¶ added in v0.17.0
func (m *KubernetesServiceDestination) String() string
func (*KubernetesServiceDestination) XXX_DiscardUnknown ¶ added in v0.17.0
func (m *KubernetesServiceDestination) XXX_DiscardUnknown()
func (*KubernetesServiceDestination) XXX_Marshal ¶ added in v0.17.0
func (m *KubernetesServiceDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KubernetesServiceDestination) XXX_Merge ¶ added in v0.17.0
func (m *KubernetesServiceDestination) XXX_Merge(src proto.Message)
func (*KubernetesServiceDestination) XXX_Size ¶ added in v0.17.0
func (m *KubernetesServiceDestination) XXX_Size() int
func (*KubernetesServiceDestination) XXX_Unmarshal ¶ added in v0.17.0
func (m *KubernetesServiceDestination) XXX_Unmarshal(b []byte) error
type Listener ¶
type Listener struct { // the name of the listener. names must be unique for each listener within a proxy Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // the bind address for the listener. // both ipv4 and ipv6 formats are supported BindAddress string `protobuf:"bytes,2,opt,name=bind_address,json=bindAddress,proto3" json:"bind_address,omitempty"` // the port to bind on // ports numbers must be unique for listeners within a proxy BindPort uint32 `protobuf:"varint,3,opt,name=bind_port,json=bindPort,proto3" json:"bind_port,omitempty"` // Listeners can listen for HTTP, TCP (unsupported), and UDP (unsupported) connections // // Types that are valid to be assigned to ListenerType: // *Listener_HttpListener // *Listener_TcpListener ListenerType isListener_ListenerType `protobuf_oneof:"ListenerType"` // SSL Config is optional for the listener. If provided, the listener will serve TLS for connections on this port. // Multiple SslConfigs are supported for the purpose of SNI. Be aware that the SNI domain provided in the SSL Config SslConfigurations []*SslConfig `protobuf:"bytes,6,rep,name=ssl_configurations,json=sslConfigurations,proto3" json:"ssl_configurations,omitempty"` // Enable ProxyProtocol support for this listener UseProxyProto *types.BoolValue `protobuf:"bytes,7,opt,name=use_proxy_proto,json=useProxyProto,proto3" json:"use_proxy_proto,omitempty"` // top level plugins Plugins *ListenerPlugins `protobuf:"bytes,8,opt,name=plugins,proto3" json:"plugins,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Listeners define the address:port where the proxy will listen for incoming connections A Listener accepts connections (currently only HTTP is supported) and apply user-defined behavior for those connections, e.g. performing SSL termination, HTTP retries, and rate limiting.
func (*Listener) Descriptor ¶
func (*Listener) GetBindAddress ¶
func (*Listener) GetBindPort ¶
func (*Listener) GetHttpListener ¶
func (m *Listener) GetHttpListener() *HttpListener
func (*Listener) GetListenerType ¶
func (m *Listener) GetListenerType() isListener_ListenerType
func (*Listener) GetPlugins ¶ added in v0.18.0
func (m *Listener) GetPlugins() *ListenerPlugins
func (*Listener) GetSslConfigurations ¶ added in v0.14.0
func (*Listener) GetTcpListener ¶ added in v0.18.0
func (m *Listener) GetTcpListener() *TcpListener
func (*Listener) GetUseProxyProto ¶ added in v0.13.15
func (*Listener) ProtoMessage ¶
func (*Listener) ProtoMessage()
func (*Listener) XXX_DiscardUnknown ¶
func (m *Listener) XXX_DiscardUnknown()
func (*Listener) XXX_Marshal ¶
func (*Listener) XXX_OneofFuncs ¶
func (*Listener) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Listener) XXX_Unmarshal ¶
type ListenerPlugins ¶
type ListenerPlugins struct { AccessLoggingService *als.AccessLoggingService `protobuf:"bytes,1,opt,name=access_logging_service,json=accessLoggingService,proto3" json:"access_logging_service,omitempty"` Extensions *Extensions `protobuf:"bytes,2,opt,name=extensions,proto3" json:"extensions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Plugin-specific configuration that lives on gateways Each ListenerPlugin object contains configuration for a specific plugin Note to developers: new Listener Plugins must be added to this struct to be usable by Gloo.
func (*ListenerPlugins) Descriptor ¶
func (*ListenerPlugins) Descriptor() ([]byte, []int)
func (*ListenerPlugins) Equal ¶
func (this *ListenerPlugins) Equal(that interface{}) bool
func (*ListenerPlugins) GetAccessLoggingService ¶ added in v0.18.1
func (m *ListenerPlugins) GetAccessLoggingService() *als.AccessLoggingService
func (*ListenerPlugins) GetExtensions ¶ added in v0.18.21
func (m *ListenerPlugins) GetExtensions() *Extensions
func (*ListenerPlugins) ProtoMessage ¶
func (*ListenerPlugins) ProtoMessage()
func (*ListenerPlugins) Reset ¶
func (m *ListenerPlugins) Reset()
func (*ListenerPlugins) String ¶
func (m *ListenerPlugins) String() string
func (*ListenerPlugins) XXX_DiscardUnknown ¶
func (m *ListenerPlugins) XXX_DiscardUnknown()
func (*ListenerPlugins) XXX_Marshal ¶
func (m *ListenerPlugins) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListenerPlugins) XXX_Merge ¶
func (m *ListenerPlugins) XXX_Merge(src proto.Message)
func (*ListenerPlugins) XXX_Size ¶
func (m *ListenerPlugins) XXX_Size() int
func (*ListenerPlugins) XXX_Unmarshal ¶
func (m *ListenerPlugins) XXX_Unmarshal(b []byte) error
type Listener_HttpListener ¶
type Listener_HttpListener struct {
HttpListener *HttpListener `protobuf:"bytes,4,opt,name=http_listener,json=httpListener,proto3,oneof"`
}
func (*Listener_HttpListener) Equal ¶
func (this *Listener_HttpListener) Equal(that interface{}) bool
type Listener_TcpListener ¶ added in v0.18.0
type Listener_TcpListener struct {
TcpListener *TcpListener `protobuf:"bytes,5,opt,name=tcp_listener,json=tcpListener,proto3,oneof"`
}
func (*Listener_TcpListener) Equal ¶ added in v0.18.0
func (this *Listener_TcpListener) Equal(that interface{}) bool
type LoadBalancerConfig ¶ added in v0.13.12
type LoadBalancerConfig struct { // Configures envoy's panic threshold Percent between 0-100. Once the number of non health hosts // reaches this percentage, envoy disregards health information. // see more info [here](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/load_balancing/panic_threshold#arch-overview-load-balancing-panic-threshold). HealthyPanicThreshold *types.DoubleValue `` /* 126-byte string literal not displayed */ // This allows batch updates of endpoints health/weight/metadata that happen during a time window. // this help lower cpu usage when endpoint change rate is high. defaults to 1 second. // Set to 0 to disable and have changes applied immediately. UpdateMergeWindow *time.Duration `` /* 126-byte string literal not displayed */ // Types that are valid to be assigned to Type: // *LoadBalancerConfig_RoundRobin_ // *LoadBalancerConfig_LeastRequest_ // *LoadBalancerConfig_Random_ // *LoadBalancerConfig_RingHash_ // *LoadBalancerConfig_Maglev_ Type isLoadBalancerConfig_Type `protobuf_oneof:"type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
LoadBalancerConfig is the settings for the load balancer used to send request to the Upstream endpoints.
func (*LoadBalancerConfig) Descriptor ¶ added in v0.13.12
func (*LoadBalancerConfig) Descriptor() ([]byte, []int)
func (*LoadBalancerConfig) Equal ¶ added in v0.13.12
func (this *LoadBalancerConfig) Equal(that interface{}) bool
func (*LoadBalancerConfig) GetHealthyPanicThreshold ¶ added in v0.13.12
func (m *LoadBalancerConfig) GetHealthyPanicThreshold() *types.DoubleValue
func (*LoadBalancerConfig) GetLeastRequest ¶ added in v0.13.12
func (m *LoadBalancerConfig) GetLeastRequest() *LoadBalancerConfig_LeastRequest
func (*LoadBalancerConfig) GetMaglev ¶ added in v0.18.22
func (m *LoadBalancerConfig) GetMaglev() *LoadBalancerConfig_Maglev
func (*LoadBalancerConfig) GetRandom ¶ added in v0.13.12
func (m *LoadBalancerConfig) GetRandom() *LoadBalancerConfig_Random
func (*LoadBalancerConfig) GetRingHash ¶ added in v0.18.22
func (m *LoadBalancerConfig) GetRingHash() *LoadBalancerConfig_RingHash
func (*LoadBalancerConfig) GetRoundRobin ¶ added in v0.13.12
func (m *LoadBalancerConfig) GetRoundRobin() *LoadBalancerConfig_RoundRobin
func (*LoadBalancerConfig) GetType ¶ added in v0.13.12
func (m *LoadBalancerConfig) GetType() isLoadBalancerConfig_Type
func (*LoadBalancerConfig) GetUpdateMergeWindow ¶ added in v0.13.12
func (m *LoadBalancerConfig) GetUpdateMergeWindow() *time.Duration
func (*LoadBalancerConfig) ProtoMessage ¶ added in v0.13.12
func (*LoadBalancerConfig) ProtoMessage()
func (*LoadBalancerConfig) Reset ¶ added in v0.13.12
func (m *LoadBalancerConfig) Reset()
func (*LoadBalancerConfig) String ¶ added in v0.13.12
func (m *LoadBalancerConfig) String() string
func (*LoadBalancerConfig) XXX_DiscardUnknown ¶ added in v0.13.12
func (m *LoadBalancerConfig) XXX_DiscardUnknown()
func (*LoadBalancerConfig) XXX_Marshal ¶ added in v0.13.12
func (m *LoadBalancerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoadBalancerConfig) XXX_Merge ¶ added in v0.13.12
func (m *LoadBalancerConfig) XXX_Merge(src proto.Message)
func (*LoadBalancerConfig) XXX_OneofFuncs ¶ added in v0.13.12
func (*LoadBalancerConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*LoadBalancerConfig) XXX_Size ¶ added in v0.13.12
func (m *LoadBalancerConfig) XXX_Size() int
func (*LoadBalancerConfig) XXX_Unmarshal ¶ added in v0.13.12
func (m *LoadBalancerConfig) XXX_Unmarshal(b []byte) error
type LoadBalancerConfig_LeastRequest ¶ added in v0.13.12
type LoadBalancerConfig_LeastRequest struct { // How many choices to take into account. defaults to 2. ChoiceCount uint32 `protobuf:"varint,1,opt,name=choice_count,json=choiceCount,proto3" json:"choice_count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoadBalancerConfig_LeastRequest) Descriptor ¶ added in v0.13.12
func (*LoadBalancerConfig_LeastRequest) Descriptor() ([]byte, []int)
func (*LoadBalancerConfig_LeastRequest) Equal ¶ added in v0.13.12
func (this *LoadBalancerConfig_LeastRequest) Equal(that interface{}) bool
func (*LoadBalancerConfig_LeastRequest) GetChoiceCount ¶ added in v0.13.12
func (m *LoadBalancerConfig_LeastRequest) GetChoiceCount() uint32
func (*LoadBalancerConfig_LeastRequest) ProtoMessage ¶ added in v0.13.12
func (*LoadBalancerConfig_LeastRequest) ProtoMessage()
func (*LoadBalancerConfig_LeastRequest) Reset ¶ added in v0.13.12
func (m *LoadBalancerConfig_LeastRequest) Reset()
func (*LoadBalancerConfig_LeastRequest) String ¶ added in v0.13.12
func (m *LoadBalancerConfig_LeastRequest) String() string
func (*LoadBalancerConfig_LeastRequest) XXX_DiscardUnknown ¶ added in v0.13.12
func (m *LoadBalancerConfig_LeastRequest) XXX_DiscardUnknown()
func (*LoadBalancerConfig_LeastRequest) XXX_Marshal ¶ added in v0.13.12
func (m *LoadBalancerConfig_LeastRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoadBalancerConfig_LeastRequest) XXX_Merge ¶ added in v0.13.12
func (m *LoadBalancerConfig_LeastRequest) XXX_Merge(src proto.Message)
func (*LoadBalancerConfig_LeastRequest) XXX_Size ¶ added in v0.13.12
func (m *LoadBalancerConfig_LeastRequest) XXX_Size() int
func (*LoadBalancerConfig_LeastRequest) XXX_Unmarshal ¶ added in v0.13.12
func (m *LoadBalancerConfig_LeastRequest) XXX_Unmarshal(b []byte) error
type LoadBalancerConfig_LeastRequest_ ¶ added in v0.13.12
type LoadBalancerConfig_LeastRequest_ struct {
LeastRequest *LoadBalancerConfig_LeastRequest `protobuf:"bytes,4,opt,name=least_request,json=leastRequest,proto3,oneof"`
}
func (*LoadBalancerConfig_LeastRequest_) Equal ¶ added in v0.13.12
func (this *LoadBalancerConfig_LeastRequest_) Equal(that interface{}) bool
type LoadBalancerConfig_Maglev ¶ added in v0.18.22
type LoadBalancerConfig_Maglev struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoadBalancerConfig_Maglev) Descriptor ¶ added in v0.18.22
func (*LoadBalancerConfig_Maglev) Descriptor() ([]byte, []int)
func (*LoadBalancerConfig_Maglev) Equal ¶ added in v0.18.22
func (this *LoadBalancerConfig_Maglev) Equal(that interface{}) bool
func (*LoadBalancerConfig_Maglev) ProtoMessage ¶ added in v0.18.22
func (*LoadBalancerConfig_Maglev) ProtoMessage()
func (*LoadBalancerConfig_Maglev) Reset ¶ added in v0.18.22
func (m *LoadBalancerConfig_Maglev) Reset()
func (*LoadBalancerConfig_Maglev) String ¶ added in v0.18.22
func (m *LoadBalancerConfig_Maglev) String() string
func (*LoadBalancerConfig_Maglev) XXX_DiscardUnknown ¶ added in v0.18.22
func (m *LoadBalancerConfig_Maglev) XXX_DiscardUnknown()
func (*LoadBalancerConfig_Maglev) XXX_Marshal ¶ added in v0.18.22
func (m *LoadBalancerConfig_Maglev) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoadBalancerConfig_Maglev) XXX_Merge ¶ added in v0.18.22
func (m *LoadBalancerConfig_Maglev) XXX_Merge(src proto.Message)
func (*LoadBalancerConfig_Maglev) XXX_Size ¶ added in v0.18.22
func (m *LoadBalancerConfig_Maglev) XXX_Size() int
func (*LoadBalancerConfig_Maglev) XXX_Unmarshal ¶ added in v0.18.22
func (m *LoadBalancerConfig_Maglev) XXX_Unmarshal(b []byte) error
type LoadBalancerConfig_Maglev_ ¶ added in v0.18.22
type LoadBalancerConfig_Maglev_ struct {
Maglev *LoadBalancerConfig_Maglev `protobuf:"bytes,7,opt,name=maglev,proto3,oneof"`
}
func (*LoadBalancerConfig_Maglev_) Equal ¶ added in v0.18.22
func (this *LoadBalancerConfig_Maglev_) Equal(that interface{}) bool
type LoadBalancerConfig_Random ¶ added in v0.13.12
type LoadBalancerConfig_Random struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoadBalancerConfig_Random) Descriptor ¶ added in v0.13.12
func (*LoadBalancerConfig_Random) Descriptor() ([]byte, []int)
func (*LoadBalancerConfig_Random) Equal ¶ added in v0.13.12
func (this *LoadBalancerConfig_Random) Equal(that interface{}) bool
func (*LoadBalancerConfig_Random) ProtoMessage ¶ added in v0.13.12
func (*LoadBalancerConfig_Random) ProtoMessage()
func (*LoadBalancerConfig_Random) Reset ¶ added in v0.13.12
func (m *LoadBalancerConfig_Random) Reset()
func (*LoadBalancerConfig_Random) String ¶ added in v0.13.12
func (m *LoadBalancerConfig_Random) String() string
func (*LoadBalancerConfig_Random) XXX_DiscardUnknown ¶ added in v0.13.12
func (m *LoadBalancerConfig_Random) XXX_DiscardUnknown()
func (*LoadBalancerConfig_Random) XXX_Marshal ¶ added in v0.13.12
func (m *LoadBalancerConfig_Random) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoadBalancerConfig_Random) XXX_Merge ¶ added in v0.13.12
func (m *LoadBalancerConfig_Random) XXX_Merge(src proto.Message)
func (*LoadBalancerConfig_Random) XXX_Size ¶ added in v0.13.12
func (m *LoadBalancerConfig_Random) XXX_Size() int
func (*LoadBalancerConfig_Random) XXX_Unmarshal ¶ added in v0.13.12
func (m *LoadBalancerConfig_Random) XXX_Unmarshal(b []byte) error
type LoadBalancerConfig_Random_ ¶ added in v0.13.12
type LoadBalancerConfig_Random_ struct {
Random *LoadBalancerConfig_Random `protobuf:"bytes,5,opt,name=random,proto3,oneof"`
}
func (*LoadBalancerConfig_Random_) Equal ¶ added in v0.13.12
func (this *LoadBalancerConfig_Random_) Equal(that interface{}) bool
type LoadBalancerConfig_RingHash ¶ added in v0.18.22
type LoadBalancerConfig_RingHash struct { // Optional, customizes the parameters used in the hashing algorithm RingHashConfig *LoadBalancerConfig_RingHashConfig `protobuf:"bytes,1,opt,name=ring_hash_config,json=ringHashConfig,proto3" json:"ring_hash_config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoadBalancerConfig_RingHash) Descriptor ¶ added in v0.18.22
func (*LoadBalancerConfig_RingHash) Descriptor() ([]byte, []int)
func (*LoadBalancerConfig_RingHash) Equal ¶ added in v0.18.22
func (this *LoadBalancerConfig_RingHash) Equal(that interface{}) bool
func (*LoadBalancerConfig_RingHash) GetRingHashConfig ¶ added in v0.18.22
func (m *LoadBalancerConfig_RingHash) GetRingHashConfig() *LoadBalancerConfig_RingHashConfig
func (*LoadBalancerConfig_RingHash) ProtoMessage ¶ added in v0.18.22
func (*LoadBalancerConfig_RingHash) ProtoMessage()
func (*LoadBalancerConfig_RingHash) Reset ¶ added in v0.18.22
func (m *LoadBalancerConfig_RingHash) Reset()
func (*LoadBalancerConfig_RingHash) String ¶ added in v0.18.22
func (m *LoadBalancerConfig_RingHash) String() string
func (*LoadBalancerConfig_RingHash) XXX_DiscardUnknown ¶ added in v0.18.22
func (m *LoadBalancerConfig_RingHash) XXX_DiscardUnknown()
func (*LoadBalancerConfig_RingHash) XXX_Marshal ¶ added in v0.18.22
func (m *LoadBalancerConfig_RingHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoadBalancerConfig_RingHash) XXX_Merge ¶ added in v0.18.22
func (m *LoadBalancerConfig_RingHash) XXX_Merge(src proto.Message)
func (*LoadBalancerConfig_RingHash) XXX_Size ¶ added in v0.18.22
func (m *LoadBalancerConfig_RingHash) XXX_Size() int
func (*LoadBalancerConfig_RingHash) XXX_Unmarshal ¶ added in v0.18.22
func (m *LoadBalancerConfig_RingHash) XXX_Unmarshal(b []byte) error
type LoadBalancerConfig_RingHashConfig ¶ added in v0.18.22
type LoadBalancerConfig_RingHashConfig struct { // Minimum hash ring size. The larger the ring is (that is, the more hashes there are for each provided host) // the better the request distribution will reflect the desired weights. Defaults to 1024 entries, and limited // to 8M entries. MinimumRingSize uint64 `protobuf:"varint,1,opt,name=minimum_ring_size,json=minimumRingSize,proto3" json:"minimum_ring_size,omitempty"` // Maximum hash ring size. Defaults to 8M entries, and limited to 8M entries, but can be lowered to further // constrain resource use. MaximumRingSize uint64 `protobuf:"varint,2,opt,name=maximum_ring_size,json=maximumRingSize,proto3" json:"maximum_ring_size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Customizes the parameters used in the hashing algorithm to refine performance or resource usage.
func (*LoadBalancerConfig_RingHashConfig) Descriptor ¶ added in v0.18.22
func (*LoadBalancerConfig_RingHashConfig) Descriptor() ([]byte, []int)
func (*LoadBalancerConfig_RingHashConfig) Equal ¶ added in v0.18.22
func (this *LoadBalancerConfig_RingHashConfig) Equal(that interface{}) bool
func (*LoadBalancerConfig_RingHashConfig) GetMaximumRingSize ¶ added in v0.18.22
func (m *LoadBalancerConfig_RingHashConfig) GetMaximumRingSize() uint64
func (*LoadBalancerConfig_RingHashConfig) GetMinimumRingSize ¶ added in v0.18.22
func (m *LoadBalancerConfig_RingHashConfig) GetMinimumRingSize() uint64
func (*LoadBalancerConfig_RingHashConfig) ProtoMessage ¶ added in v0.18.22
func (*LoadBalancerConfig_RingHashConfig) ProtoMessage()
func (*LoadBalancerConfig_RingHashConfig) Reset ¶ added in v0.18.22
func (m *LoadBalancerConfig_RingHashConfig) Reset()
func (*LoadBalancerConfig_RingHashConfig) String ¶ added in v0.18.22
func (m *LoadBalancerConfig_RingHashConfig) String() string
func (*LoadBalancerConfig_RingHashConfig) XXX_DiscardUnknown ¶ added in v0.18.22
func (m *LoadBalancerConfig_RingHashConfig) XXX_DiscardUnknown()
func (*LoadBalancerConfig_RingHashConfig) XXX_Marshal ¶ added in v0.18.22
func (m *LoadBalancerConfig_RingHashConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoadBalancerConfig_RingHashConfig) XXX_Merge ¶ added in v0.18.22
func (m *LoadBalancerConfig_RingHashConfig) XXX_Merge(src proto.Message)
func (*LoadBalancerConfig_RingHashConfig) XXX_Size ¶ added in v0.18.22
func (m *LoadBalancerConfig_RingHashConfig) XXX_Size() int
func (*LoadBalancerConfig_RingHashConfig) XXX_Unmarshal ¶ added in v0.18.22
func (m *LoadBalancerConfig_RingHashConfig) XXX_Unmarshal(b []byte) error
type LoadBalancerConfig_RingHash_ ¶ added in v0.18.22
type LoadBalancerConfig_RingHash_ struct {
RingHash *LoadBalancerConfig_RingHash `protobuf:"bytes,6,opt,name=ring_hash,json=ringHash,proto3,oneof"`
}
func (*LoadBalancerConfig_RingHash_) Equal ¶ added in v0.18.22
func (this *LoadBalancerConfig_RingHash_) Equal(that interface{}) bool
type LoadBalancerConfig_RoundRobin ¶ added in v0.13.12
type LoadBalancerConfig_RoundRobin struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoadBalancerConfig_RoundRobin) Descriptor ¶ added in v0.13.12
func (*LoadBalancerConfig_RoundRobin) Descriptor() ([]byte, []int)
func (*LoadBalancerConfig_RoundRobin) Equal ¶ added in v0.13.12
func (this *LoadBalancerConfig_RoundRobin) Equal(that interface{}) bool
func (*LoadBalancerConfig_RoundRobin) ProtoMessage ¶ added in v0.13.12
func (*LoadBalancerConfig_RoundRobin) ProtoMessage()
func (*LoadBalancerConfig_RoundRobin) Reset ¶ added in v0.13.12
func (m *LoadBalancerConfig_RoundRobin) Reset()
func (*LoadBalancerConfig_RoundRobin) String ¶ added in v0.13.12
func (m *LoadBalancerConfig_RoundRobin) String() string
func (*LoadBalancerConfig_RoundRobin) XXX_DiscardUnknown ¶ added in v0.13.12
func (m *LoadBalancerConfig_RoundRobin) XXX_DiscardUnknown()
func (*LoadBalancerConfig_RoundRobin) XXX_Marshal ¶ added in v0.13.12
func (m *LoadBalancerConfig_RoundRobin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoadBalancerConfig_RoundRobin) XXX_Merge ¶ added in v0.13.12
func (m *LoadBalancerConfig_RoundRobin) XXX_Merge(src proto.Message)
func (*LoadBalancerConfig_RoundRobin) XXX_Size ¶ added in v0.13.12
func (m *LoadBalancerConfig_RoundRobin) XXX_Size() int
func (*LoadBalancerConfig_RoundRobin) XXX_Unmarshal ¶ added in v0.13.12
func (m *LoadBalancerConfig_RoundRobin) XXX_Unmarshal(b []byte) error
type LoadBalancerConfig_RoundRobin_ ¶ added in v0.13.12
type LoadBalancerConfig_RoundRobin_ struct {
RoundRobin *LoadBalancerConfig_RoundRobin `protobuf:"bytes,3,opt,name=round_robin,json=roundRobin,proto3,oneof"`
}
func (*LoadBalancerConfig_RoundRobin_) Equal ¶ added in v0.13.12
func (this *LoadBalancerConfig_RoundRobin_) Equal(that interface{}) bool
type Matcher ¶
type Matcher struct { // Types that are valid to be assigned to PathSpecifier: // *Matcher_Prefix // *Matcher_Exact // *Matcher_Regex PathSpecifier isMatcher_PathSpecifier `protobuf_oneof:"path_specifier"` // Specifies a set of headers that the route should match on. The router will // check the request’s headers against all the specified headers in the route // config. A match will happen if all the headers in the route are present in // the request with the same values (or based on presence if the value field // is not in the config). Headers []*HeaderMatcher `protobuf:"bytes,6,rep,name=headers,proto3" json:"headers,omitempty"` // Specifies a set of URL query parameters on which the route should // match. The router will check the query string from the *path* header // against all the specified query parameters. If the number of specified // query parameters is nonzero, they all must match the *path* header's // query string for a match to occur. QueryParameters []*QueryParameterMatcher `protobuf:"bytes,7,rep,name=query_parameters,json=queryParameters,proto3" json:"query_parameters,omitempty"` // HTTP Method/Verb(s) to match on. If none specified, the matcher will ignore the HTTP Method Methods []string `protobuf:"bytes,8,rep,name=methods,proto3" json:"methods,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Parameters for matching routes to requests received by a Gloo-managed proxy
func (*Matcher) Descriptor ¶
func (*Matcher) GetHeaders ¶
func (m *Matcher) GetHeaders() []*HeaderMatcher
func (*Matcher) GetMethods ¶
func (*Matcher) GetPathSpecifier ¶
func (m *Matcher) GetPathSpecifier() isMatcher_PathSpecifier
func (*Matcher) GetQueryParameters ¶
func (m *Matcher) GetQueryParameters() []*QueryParameterMatcher
func (*Matcher) ProtoMessage ¶
func (*Matcher) ProtoMessage()
func (*Matcher) XXX_DiscardUnknown ¶
func (m *Matcher) XXX_DiscardUnknown()
func (*Matcher) XXX_Marshal ¶
func (*Matcher) XXX_OneofFuncs ¶
func (*Matcher) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Matcher) XXX_Unmarshal ¶
type Matcher_Exact ¶
type Matcher_Exact struct {
Exact string `protobuf:"bytes,2,opt,name=exact,proto3,oneof"`
}
func (*Matcher_Exact) Equal ¶
func (this *Matcher_Exact) Equal(that interface{}) bool
type Matcher_Prefix ¶
type Matcher_Prefix struct {
Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3,oneof"`
}
func (*Matcher_Prefix) Equal ¶
func (this *Matcher_Prefix) Equal(that interface{}) bool
type Matcher_Regex ¶
type Matcher_Regex struct {
Regex string `protobuf:"bytes,3,opt,name=regex,proto3,oneof"`
}
func (*Matcher_Regex) Equal ¶
func (this *Matcher_Regex) Equal(that interface{}) bool
type MultiDestination ¶
type MultiDestination struct { // This list must contain at least one destination or the listener housing this route will be invalid, // causing Gloo to error the parent proxy resource. Destinations []*WeightedDestination `protobuf:"bytes,1,rep,name=destinations,proto3" json:"destinations,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
MultiDestination is a container for a set of weighted destinations. Gloo will load balance traffic for a single route across multiple destinations according to their specified weights.
func (*MultiDestination) Descriptor ¶
func (*MultiDestination) Descriptor() ([]byte, []int)
func (*MultiDestination) Equal ¶
func (this *MultiDestination) Equal(that interface{}) bool
func (*MultiDestination) GetDestinations ¶
func (m *MultiDestination) GetDestinations() []*WeightedDestination
func (*MultiDestination) ProtoMessage ¶
func (*MultiDestination) ProtoMessage()
func (*MultiDestination) Reset ¶
func (m *MultiDestination) Reset()
func (*MultiDestination) String ¶
func (m *MultiDestination) String() string
func (*MultiDestination) XXX_DiscardUnknown ¶
func (m *MultiDestination) XXX_DiscardUnknown()
func (*MultiDestination) XXX_Marshal ¶
func (m *MultiDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MultiDestination) XXX_Merge ¶
func (m *MultiDestination) XXX_Merge(src proto.Message)
func (*MultiDestination) XXX_Size ¶
func (m *MultiDestination) XXX_Size() int
func (*MultiDestination) XXX_Unmarshal ¶
func (m *MultiDestination) XXX_Unmarshal(b []byte) error
type Proxy ¶
type Proxy struct { // Define here each listener the proxy should create. // Listeners define the a set of behaviors for a single bind address/port where the proxy will listen // If no listeners are specified, the instances configured with the proxy resource will not accept connections. Listeners []*Listener `protobuf:"bytes,2,rep,name=listeners,proto3" json:"listeners,omitempty"` // Status indicates the validation status of this resource. // Status is read-only by clients, and set by gloo during validation Status core.Status `protobuf:"bytes,6,opt,name=status,proto3" json:"status" testdiff:"ignore"` // Metadata contains the object metadata for this resource Metadata core.Metadata `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A Proxy is a container for the entire set of configuration that will to be applied to one or more Proxy instances. Proxies can be understood as a set of listeners, represents a different bind address/port where the proxy will listen for connections. Each listener has its own set of configuration.
If any of the sub-resources within a listener is declared invalid (e.g. due to invalid user configuration), the proxy will be marked invalid by Gloo.
Proxy instances that register with Gloo are assigned the proxy configuration corresponding with a proxy-specific identifier. In the case of Envoy, proxy instances are identified by their Node ID. Node IDs must match a existing Proxy Node ID can be specified in Envoy with the `--service-node` flag, or in the Envoy instance's bootstrap config.
func (*Proxy) DeepCopyObject ¶
func (*Proxy) Descriptor ¶
func (*Proxy) GetListeners ¶
func (*Proxy) GetMetadata ¶
func (*Proxy) GetObjectKind ¶
func (o *Proxy) GetObjectKind() schema.ObjectKind
func (*Proxy) GroupVersionKind ¶ added in v0.18.0
func (r *Proxy) GroupVersionKind() schema.GroupVersionKind
func (*Proxy) ProtoMessage ¶
func (*Proxy) ProtoMessage()
func (*Proxy) SetMetadata ¶
func (*Proxy) XXX_DiscardUnknown ¶
func (m *Proxy) XXX_DiscardUnknown()
func (*Proxy) XXX_Marshal ¶
func (*Proxy) XXX_Unmarshal ¶
type ProxyClient ¶
type ProxyClient interface { BaseClient() clients.ResourceClient Register() error Read(namespace, name string, opts clients.ReadOpts) (*Proxy, error) Write(resource *Proxy, opts clients.WriteOpts) (*Proxy, error) Delete(namespace, name string, opts clients.DeleteOpts) error List(namespace string, opts clients.ListOpts) (ProxyList, error) ProxyWatcher }
func NewProxyClient ¶
func NewProxyClient(rcFactory factory.ResourceClientFactory) (ProxyClient, error)
func NewProxyClientWithBase ¶
func NewProxyClientWithBase(rc clients.ResourceClient) ProxyClient
func NewProxyClientWithToken ¶
func NewProxyClientWithToken(rcFactory factory.ResourceClientFactory, token string) (ProxyClient, error)
type ProxyList ¶
type ProxyList []*Proxy
func (ProxyList) AsInputResources ¶
func (list ProxyList) AsInputResources() resources.InputResourceList
func (ProxyList) AsInterfaces ¶
func (list ProxyList) AsInterfaces() []interface{}
func (ProxyList) AsResources ¶
func (list ProxyList) AsResources() resources.ResourceList
func (ProxyList) EachResource ¶ added in v0.13.21
func (ProxyList) Find ¶
namespace is optional, if left empty, names can collide if the list contains more than one with the same name
func (ProxyList) NamespacesDotNames ¶
type ProxyReconciler ¶
type ProxyReconciler interface {
Reconcile(namespace string, desiredResources ProxyList, transition TransitionProxyFunc, opts clients.ListOpts) error
}
func NewProxyReconciler ¶
func NewProxyReconciler(client ProxyClient) ProxyReconciler
type ProxyWatcher ¶ added in v0.13.21
type QueryParameterMatcher ¶
type QueryParameterMatcher struct { // Specifies the name of a key that must be present in the requested // *path*'s query string. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Specifies the value of the key. If the value is absent, a request // that contains the key in its query string will match, whether the // key appears with a value (e.g., "?debug=true") or not (e.g., "?debug") Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Specifies whether the query parameter value is a regular expression. // Defaults to false. The entire query parameter value (i.e., the part to // the right of the equals sign in "key=value") must match the regex. // E.g., the regex "\d+$" will match "123" but not "a123" or "123a". Regex bool `protobuf:"varint,3,opt,name=regex,proto3" json:"regex,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Query parameter matching treats the query string of a request's :path header as an ampersand-separated list of keys and/or key=value elements.
func (*QueryParameterMatcher) Descriptor ¶
func (*QueryParameterMatcher) Descriptor() ([]byte, []int)
func (*QueryParameterMatcher) Equal ¶
func (this *QueryParameterMatcher) Equal(that interface{}) bool
func (*QueryParameterMatcher) GetName ¶
func (m *QueryParameterMatcher) GetName() string
func (*QueryParameterMatcher) GetRegex ¶
func (m *QueryParameterMatcher) GetRegex() bool
func (*QueryParameterMatcher) GetValue ¶
func (m *QueryParameterMatcher) GetValue() string
func (*QueryParameterMatcher) ProtoMessage ¶
func (*QueryParameterMatcher) ProtoMessage()
func (*QueryParameterMatcher) Reset ¶
func (m *QueryParameterMatcher) Reset()
func (*QueryParameterMatcher) String ¶
func (m *QueryParameterMatcher) String() string
func (*QueryParameterMatcher) XXX_DiscardUnknown ¶
func (m *QueryParameterMatcher) XXX_DiscardUnknown()
func (*QueryParameterMatcher) XXX_Marshal ¶
func (m *QueryParameterMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParameterMatcher) XXX_Merge ¶
func (m *QueryParameterMatcher) XXX_Merge(src proto.Message)
func (*QueryParameterMatcher) XXX_Size ¶
func (m *QueryParameterMatcher) XXX_Size() int
func (*QueryParameterMatcher) XXX_Unmarshal ¶
func (m *QueryParameterMatcher) XXX_Unmarshal(b []byte) error
type RedirectAction ¶
type RedirectAction struct { // The host portion of the URL will be swapped with this value. HostRedirect string `protobuf:"bytes,1,opt,name=host_redirect,json=hostRedirect,proto3" json:"host_redirect,omitempty"` // Types that are valid to be assigned to PathRewriteSpecifier: // *RedirectAction_PathRedirect // *RedirectAction_PrefixRewrite PathRewriteSpecifier isRedirectAction_PathRewriteSpecifier `protobuf_oneof:"path_rewrite_specifier"` // The HTTP status code to use in the redirect response. The default response // code is MOVED_PERMANENTLY (301). ResponseCode RedirectAction_RedirectResponseCode `` /* 152-byte string literal not displayed */ // The scheme portion of the URL will be swapped with "https". HttpsRedirect bool `protobuf:"varint,4,opt,name=https_redirect,json=httpsRedirect,proto3" json:"https_redirect,omitempty"` // Indicates that during redirection, the query portion of the URL will // be removed. Default value is false. StripQuery bool `protobuf:"varint,6,opt,name=strip_query,json=stripQuery,proto3" json:"strip_query,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Notice: RedirectAction is copied directly from https://github.com/envoyproxy/envoy/blob/master/api/envoy/api/v2/route/route.proto
func (*RedirectAction) Descriptor ¶
func (*RedirectAction) Descriptor() ([]byte, []int)
func (*RedirectAction) Equal ¶
func (this *RedirectAction) Equal(that interface{}) bool
func (*RedirectAction) GetHostRedirect ¶
func (m *RedirectAction) GetHostRedirect() string
func (*RedirectAction) GetHttpsRedirect ¶
func (m *RedirectAction) GetHttpsRedirect() bool
func (*RedirectAction) GetPathRedirect ¶
func (m *RedirectAction) GetPathRedirect() string
func (*RedirectAction) GetPathRewriteSpecifier ¶
func (m *RedirectAction) GetPathRewriteSpecifier() isRedirectAction_PathRewriteSpecifier
func (*RedirectAction) GetPrefixRewrite ¶
func (m *RedirectAction) GetPrefixRewrite() string
func (*RedirectAction) GetResponseCode ¶
func (m *RedirectAction) GetResponseCode() RedirectAction_RedirectResponseCode
func (*RedirectAction) GetStripQuery ¶
func (m *RedirectAction) GetStripQuery() bool
func (*RedirectAction) ProtoMessage ¶
func (*RedirectAction) ProtoMessage()
func (*RedirectAction) Reset ¶
func (m *RedirectAction) Reset()
func (*RedirectAction) String ¶
func (m *RedirectAction) String() string
func (*RedirectAction) XXX_DiscardUnknown ¶
func (m *RedirectAction) XXX_DiscardUnknown()
func (*RedirectAction) XXX_Marshal ¶
func (m *RedirectAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RedirectAction) XXX_Merge ¶
func (m *RedirectAction) XXX_Merge(src proto.Message)
func (*RedirectAction) XXX_OneofFuncs ¶
func (*RedirectAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*RedirectAction) XXX_Size ¶
func (m *RedirectAction) XXX_Size() int
func (*RedirectAction) XXX_Unmarshal ¶
func (m *RedirectAction) XXX_Unmarshal(b []byte) error
type RedirectAction_PathRedirect ¶
type RedirectAction_PathRedirect struct {
PathRedirect string `protobuf:"bytes,2,opt,name=path_redirect,json=pathRedirect,proto3,oneof"`
}
func (*RedirectAction_PathRedirect) Equal ¶
func (this *RedirectAction_PathRedirect) Equal(that interface{}) bool
type RedirectAction_PrefixRewrite ¶
type RedirectAction_PrefixRewrite struct {
PrefixRewrite string `protobuf:"bytes,5,opt,name=prefix_rewrite,json=prefixRewrite,proto3,oneof"`
}
func (*RedirectAction_PrefixRewrite) Equal ¶
func (this *RedirectAction_PrefixRewrite) Equal(that interface{}) bool
type RedirectAction_RedirectResponseCode ¶
type RedirectAction_RedirectResponseCode int32
const ( // Moved Permanently HTTP Status Code - 301. RedirectAction_MOVED_PERMANENTLY RedirectAction_RedirectResponseCode = 0 // Found HTTP Status Code - 302. RedirectAction_FOUND RedirectAction_RedirectResponseCode = 1 // See Other HTTP Status Code - 303. RedirectAction_SEE_OTHER RedirectAction_RedirectResponseCode = 2 // Temporary Redirect HTTP Status Code - 307. RedirectAction_TEMPORARY_REDIRECT RedirectAction_RedirectResponseCode = 3 // Permanent Redirect HTTP Status Code - 308. RedirectAction_PERMANENT_REDIRECT RedirectAction_RedirectResponseCode = 4 )
func (RedirectAction_RedirectResponseCode) EnumDescriptor ¶
func (RedirectAction_RedirectResponseCode) EnumDescriptor() ([]byte, []int)
func (RedirectAction_RedirectResponseCode) String ¶
func (x RedirectAction_RedirectResponseCode) String() string
type Route ¶
type Route struct { // The matcher contains parameters for matching requests (i.e.: based on HTTP path, headers, etc.) Matcher *Matcher `protobuf:"bytes,1,opt,name=matcher,proto3" json:"matcher,omitempty"` // The Route Action Defines what action the proxy should take when a request matches the route. // // Types that are valid to be assigned to Action: // *Route_RouteAction // *Route_RedirectAction // *Route_DirectResponseAction Action isRoute_Action `protobuf_oneof:"action"` // Route Plugins extend the behavior of routes. // Route plugins include configuration such as retries,rate limiting, and request/response transformation. RoutePlugins *RoutePlugins `protobuf:"bytes,5,opt,name=route_plugins,json=routePlugins,proto3" json:"route_plugins,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* Routes declare the entry points on virtual hosts and the action to take for matched requests.
func (*Route) Descriptor ¶
func (*Route) GetDirectResponseAction ¶
func (m *Route) GetDirectResponseAction() *DirectResponseAction
func (*Route) GetMatcher ¶
func (*Route) GetRedirectAction ¶
func (m *Route) GetRedirectAction() *RedirectAction
func (*Route) GetRouteAction ¶
func (m *Route) GetRouteAction() *RouteAction
func (*Route) GetRoutePlugins ¶
func (m *Route) GetRoutePlugins() *RoutePlugins
func (*Route) ProtoMessage ¶
func (*Route) ProtoMessage()
func (*Route) XXX_DiscardUnknown ¶
func (m *Route) XXX_DiscardUnknown()
func (*Route) XXX_Marshal ¶
func (*Route) XXX_OneofFuncs ¶
func (*Route) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Route) XXX_Unmarshal ¶
type RouteAction ¶
type RouteAction struct { // Defines the destination upstream for routing // Some destinations require additional configuration for the route (e.g. AWS upstreams require a function name // to be specified). // // Types that are valid to be assigned to Destination: // *RouteAction_Single // *RouteAction_Multi // *RouteAction_UpstreamGroup Destination isRouteAction_Destination `protobuf_oneof:"destination"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
RouteActions are used to route matched requests to upstreams.
func (*RouteAction) Descriptor ¶
func (*RouteAction) Descriptor() ([]byte, []int)
func (*RouteAction) Equal ¶
func (this *RouteAction) Equal(that interface{}) bool
func (*RouteAction) GetDestination ¶
func (m *RouteAction) GetDestination() isRouteAction_Destination
func (*RouteAction) GetMulti ¶
func (m *RouteAction) GetMulti() *MultiDestination
func (*RouteAction) GetSingle ¶
func (m *RouteAction) GetSingle() *Destination
func (*RouteAction) GetUpstreamGroup ¶ added in v0.13.6
func (m *RouteAction) GetUpstreamGroup() *core.ResourceRef
func (*RouteAction) ProtoMessage ¶
func (*RouteAction) ProtoMessage()
func (*RouteAction) Reset ¶
func (m *RouteAction) Reset()
func (*RouteAction) String ¶
func (m *RouteAction) String() string
func (*RouteAction) XXX_DiscardUnknown ¶
func (m *RouteAction) XXX_DiscardUnknown()
func (*RouteAction) XXX_Marshal ¶
func (m *RouteAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RouteAction) XXX_Merge ¶
func (m *RouteAction) XXX_Merge(src proto.Message)
func (*RouteAction) XXX_OneofFuncs ¶
func (*RouteAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*RouteAction) XXX_Size ¶
func (m *RouteAction) XXX_Size() int
func (*RouteAction) XXX_Unmarshal ¶
func (m *RouteAction) XXX_Unmarshal(b []byte) error
type RouteAction_Multi ¶
type RouteAction_Multi struct {
Multi *MultiDestination `protobuf:"bytes,2,opt,name=multi,proto3,oneof"`
}
func (*RouteAction_Multi) Equal ¶
func (this *RouteAction_Multi) Equal(that interface{}) bool
type RouteAction_Single ¶
type RouteAction_Single struct {
Single *Destination `protobuf:"bytes,1,opt,name=single,proto3,oneof"`
}
func (*RouteAction_Single) Equal ¶
func (this *RouteAction_Single) Equal(that interface{}) bool
type RouteAction_UpstreamGroup ¶ added in v0.13.6
type RouteAction_UpstreamGroup struct {
UpstreamGroup *core.ResourceRef `protobuf:"bytes,3,opt,name=upstream_group,json=upstreamGroup,proto3,oneof"`
}
func (*RouteAction_UpstreamGroup) Equal ¶ added in v0.13.6
func (this *RouteAction_UpstreamGroup) Equal(that interface{}) bool
type RoutePlugins ¶
type RoutePlugins struct { Transformations *transformation.RouteTransformations `protobuf:"bytes,1,opt,name=transformations,proto3" json:"transformations,omitempty"` Faults *faultinjection.RouteFaults `protobuf:"bytes,2,opt,name=faults,proto3" json:"faults,omitempty"` PrefixRewrite *transformation.PrefixRewrite `protobuf:"bytes,3,opt,name=prefix_rewrite,json=prefixRewrite,proto3" json:"prefix_rewrite,omitempty"` Timeout *time.Duration `protobuf:"bytes,4,opt,name=timeout,proto3,stdduration" json:"timeout,omitempty"` Retries *retries.RetryPolicy `protobuf:"bytes,5,opt,name=retries,proto3" json:"retries,omitempty"` Extensions *Extensions `protobuf:"bytes,6,opt,name=extensions,proto3" json:"extensions,omitempty"` // Defines route-specific tracing configuration. // See here for additional information on Envoy's tracing capabilities: https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/observability/tracing.html // See here for additional information about configuring tracing with Gloo: https://gloo.solo.io/user_guides/setup_options/observability/#tracing Tracing *tracing.RouteTracingSettings `protobuf:"bytes,7,opt,name=tracing,proto3" json:"tracing,omitempty"` // Specifies traffic shadowing configuration for the route. // See here for additional information on Envoy's shadowing capabilities: https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/route/route.proto#envoy-api-msg-route-routeaction-requestmirrorpolicy Shadowing *shadowing.RouteShadowing `protobuf:"bytes,8,opt,name=shadowing,proto3" json:"shadowing,omitempty"` // Append/Remove headers on Requests or Responses on this Route HeaderManipulation *headers.HeaderManipulation `protobuf:"bytes,9,opt,name=header_manipulation,json=headerManipulation,proto3" json:"header_manipulation,omitempty"` // Rewrite the Host header for requests matched on this route HostRewrite *hostrewrite.HostRewrite `protobuf:"bytes,10,opt,name=host_rewrite,json=hostRewrite,proto3" json:"host_rewrite,omitempty"` // Defines a CORS policy for the route // If a CORS policy is also defined on the route's virtual host, the policies are merged. Cors *cors.CorsPolicy `protobuf:"bytes,11,opt,name=cors,proto3" json:"cors,omitempty"` // For routes served by a hashing load balancer, this defines the input to the hash key // Gloo configures Envoy with the first available RouteActionHashConfig among the following ordered list of providers: // - route, upstream, virtual service LbHash *lbhash.RouteActionHashConfig `protobuf:"bytes,12,opt,name=lb_hash,json=lbHash,proto3" json:"lb_hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Plugin-specific configuration that lives on routes Each RoutePlugin object contains configuration for a specific plugin Note to developers: new Route Plugins must be added to this struct to be usable by Gloo.
func (*RoutePlugins) Descriptor ¶
func (*RoutePlugins) Descriptor() ([]byte, []int)
func (*RoutePlugins) Equal ¶
func (this *RoutePlugins) Equal(that interface{}) bool
func (*RoutePlugins) GetCors ¶ added in v0.18.17
func (m *RoutePlugins) GetCors() *cors.CorsPolicy
func (*RoutePlugins) GetExtensions ¶
func (m *RoutePlugins) GetExtensions() *Extensions
func (*RoutePlugins) GetFaults ¶
func (m *RoutePlugins) GetFaults() *faultinjection.RouteFaults
func (*RoutePlugins) GetHeaderManipulation ¶ added in v0.18.7
func (m *RoutePlugins) GetHeaderManipulation() *headers.HeaderManipulation
func (*RoutePlugins) GetHostRewrite ¶ added in v0.18.7
func (m *RoutePlugins) GetHostRewrite() *hostrewrite.HostRewrite
func (*RoutePlugins) GetLbHash ¶ added in v0.18.22
func (m *RoutePlugins) GetLbHash() *lbhash.RouteActionHashConfig
func (*RoutePlugins) GetPrefixRewrite ¶
func (m *RoutePlugins) GetPrefixRewrite() *transformation.PrefixRewrite
func (*RoutePlugins) GetRetries ¶
func (m *RoutePlugins) GetRetries() *retries.RetryPolicy
func (*RoutePlugins) GetShadowing ¶ added in v0.18.6
func (m *RoutePlugins) GetShadowing() *shadowing.RouteShadowing
func (*RoutePlugins) GetTimeout ¶
func (m *RoutePlugins) GetTimeout() *time.Duration
func (*RoutePlugins) GetTracing ¶ added in v0.18.2
func (m *RoutePlugins) GetTracing() *tracing.RouteTracingSettings
func (*RoutePlugins) GetTransformations ¶
func (m *RoutePlugins) GetTransformations() *transformation.RouteTransformations
func (*RoutePlugins) ProtoMessage ¶
func (*RoutePlugins) ProtoMessage()
func (*RoutePlugins) Reset ¶
func (m *RoutePlugins) Reset()
func (*RoutePlugins) String ¶
func (m *RoutePlugins) String() string
func (*RoutePlugins) XXX_DiscardUnknown ¶
func (m *RoutePlugins) XXX_DiscardUnknown()
func (*RoutePlugins) XXX_Marshal ¶
func (m *RoutePlugins) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RoutePlugins) XXX_Merge ¶
func (m *RoutePlugins) XXX_Merge(src proto.Message)
func (*RoutePlugins) XXX_Size ¶
func (m *RoutePlugins) XXX_Size() int
func (*RoutePlugins) XXX_Unmarshal ¶
func (m *RoutePlugins) XXX_Unmarshal(b []byte) error
type Route_DirectResponseAction ¶
type Route_DirectResponseAction struct {
DirectResponseAction *DirectResponseAction `protobuf:"bytes,4,opt,name=direct_response_action,json=directResponseAction,proto3,oneof"`
}
func (*Route_DirectResponseAction) Equal ¶
func (this *Route_DirectResponseAction) Equal(that interface{}) bool
type Route_RedirectAction ¶
type Route_RedirectAction struct {
RedirectAction *RedirectAction `protobuf:"bytes,3,opt,name=redirect_action,json=redirectAction,proto3,oneof"`
}
func (*Route_RedirectAction) Equal ¶
func (this *Route_RedirectAction) Equal(that interface{}) bool
type Route_RouteAction ¶
type Route_RouteAction struct {
RouteAction *RouteAction `protobuf:"bytes,2,opt,name=route_action,json=routeAction,proto3,oneof"`
}
func (*Route_RouteAction) Equal ¶
func (this *Route_RouteAction) Equal(that interface{}) bool
type SDSConfig ¶ added in v0.11.2
type SDSConfig struct { // Target uri for the sds channel. currently only a unix domain socket is supported. TargetUri string `protobuf:"bytes,1,opt,name=target_uri,json=targetUri,proto3" json:"target_uri,omitempty"` // Call credentials. CallCredentials *CallCredentials `protobuf:"bytes,2,opt,name=call_credentials,json=callCredentials,proto3" json:"call_credentials,omitempty"` // The name of the secret containing the certificate CertificatesSecretName string `` /* 129-byte string literal not displayed */ // The name of secret containing the validation context (i.e. root ca) ValidationContextName string `` /* 126-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SDSConfig) Descriptor ¶ added in v0.11.2
func (*SDSConfig) GetCallCredentials ¶ added in v0.11.2
func (m *SDSConfig) GetCallCredentials() *CallCredentials
func (*SDSConfig) GetCertificatesSecretName ¶ added in v0.11.2
func (*SDSConfig) GetTargetUri ¶ added in v0.11.2
func (*SDSConfig) GetValidationContextName ¶ added in v0.11.2
func (*SDSConfig) ProtoMessage ¶ added in v0.11.2
func (*SDSConfig) ProtoMessage()
func (*SDSConfig) XXX_DiscardUnknown ¶ added in v0.11.2
func (m *SDSConfig) XXX_DiscardUnknown()
func (*SDSConfig) XXX_Marshal ¶ added in v0.11.2
func (*SDSConfig) XXX_Unmarshal ¶ added in v0.11.2
type SSLFiles ¶
type SSLFiles struct { TlsCert string `protobuf:"bytes,1,opt,name=tls_cert,json=tlsCert,proto3" json:"tls_cert,omitempty"` TlsKey string `protobuf:"bytes,2,opt,name=tls_key,json=tlsKey,proto3" json:"tls_key,omitempty"` // for client cert validation. optional RootCa string `protobuf:"bytes,3,opt,name=root_ca,json=rootCa,proto3" json:"root_ca,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SSLFiles reference paths to certificates which can be read by the proxy off of its local filesystem
func (*SSLFiles) Descriptor ¶
func (*SSLFiles) GetTlsCert ¶
func (*SSLFiles) ProtoMessage ¶
func (*SSLFiles) ProtoMessage()
func (*SSLFiles) XXX_DiscardUnknown ¶
func (m *SSLFiles) XXX_DiscardUnknown()
func (*SSLFiles) XXX_Marshal ¶
func (*SSLFiles) XXX_Unmarshal ¶
type Secret ¶
type Secret struct { // Types that are valid to be assigned to Kind: // *Secret_Aws // *Secret_Azure // *Secret_Tls // *Secret_Extension Kind isSecret_Kind `protobuf_oneof:"kind"` // Metadata contains the object metadata for this resource Metadata core.Metadata `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Certain plugins such as the AWS Lambda Plugin require the use of secrets for authentication, configuration of SSL Certificates, and other data that should not be stored in plaintext configuration.
Gloo runs an independent (goroutine) controller to monitor secrets. Secrets are stored in their own secret storage layer. Gloo can monitor secrets stored in the following secret storage services:
- Kubernetes Secrets - Hashicorp Vault - Plaintext files (recommended only for testing) - Secrets must adhere to a structure, specified by the plugin that requires them.
Gloo's secret backend can be configured in Gloo's bootstrap options
func (*Secret) DeepCopyObject ¶
func (*Secret) Descriptor ¶
func (*Secret) GetAzure ¶
func (m *Secret) GetAzure() *AzureSecret
func (*Secret) GetExtension ¶
func (*Secret) GetMetadata ¶
func (*Secret) GetObjectKind ¶
func (o *Secret) GetObjectKind() schema.ObjectKind
func (*Secret) GroupVersionKind ¶ added in v0.18.0
func (r *Secret) GroupVersionKind() schema.GroupVersionKind
func (*Secret) ProtoMessage ¶
func (*Secret) ProtoMessage()
func (*Secret) SetMetadata ¶
func (*Secret) XXX_DiscardUnknown ¶
func (m *Secret) XXX_DiscardUnknown()
func (*Secret) XXX_Marshal ¶
func (*Secret) XXX_OneofFuncs ¶
func (*Secret) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Secret) XXX_Unmarshal ¶
type SecretClient ¶
type SecretClient interface { BaseClient() clients.ResourceClient Register() error Read(namespace, name string, opts clients.ReadOpts) (*Secret, error) Write(resource *Secret, opts clients.WriteOpts) (*Secret, error) Delete(namespace, name string, opts clients.DeleteOpts) error List(namespace string, opts clients.ListOpts) (SecretList, error) SecretWatcher }
func NewSecretClient ¶
func NewSecretClient(rcFactory factory.ResourceClientFactory) (SecretClient, error)
func NewSecretClientWithBase ¶
func NewSecretClientWithBase(rc clients.ResourceClient) SecretClient
func NewSecretClientWithToken ¶
func NewSecretClientWithToken(rcFactory factory.ResourceClientFactory, token string) (SecretClient, error)
type SecretList ¶
type SecretList []*Secret
func (SecretList) AsInterfaces ¶
func (list SecretList) AsInterfaces() []interface{}
func (SecretList) AsResources ¶
func (list SecretList) AsResources() resources.ResourceList
func (SecretList) Clone ¶
func (list SecretList) Clone() SecretList
func (SecretList) Each ¶
func (list SecretList) Each(f func(element *Secret))
func (SecretList) EachResource ¶ added in v0.13.21
func (list SecretList) EachResource(f func(element resources.Resource))
func (SecretList) Find ¶
func (list SecretList) Find(namespace, name string) (*Secret, error)
namespace is optional, if left empty, names can collide if the list contains more than one with the same name
func (SecretList) Names ¶
func (list SecretList) Names() []string
func (SecretList) NamespacesDotNames ¶
func (list SecretList) NamespacesDotNames() []string
func (SecretList) Sort ¶
func (list SecretList) Sort() SecretList
type SecretReconciler ¶
type SecretReconciler interface {
Reconcile(namespace string, desiredResources SecretList, transition TransitionSecretFunc, opts clients.ListOpts) error
}
func NewSecretReconciler ¶
func NewSecretReconciler(client SecretClient) SecretReconciler
type SecretWatcher ¶ added in v0.13.21
type Secret_Aws ¶
type Secret_Aws struct {
Aws *AwsSecret `protobuf:"bytes,1,opt,name=aws,proto3,oneof"`
}
func (*Secret_Aws) Equal ¶
func (this *Secret_Aws) Equal(that interface{}) bool
type Secret_Azure ¶
type Secret_Azure struct {
Azure *AzureSecret `protobuf:"bytes,2,opt,name=azure,proto3,oneof"`
}
func (*Secret_Azure) Equal ¶
func (this *Secret_Azure) Equal(that interface{}) bool
type Secret_Extension ¶
type Secret_Extension struct {
Extension *Extension `protobuf:"bytes,4,opt,name=extension,proto3,oneof"`
}
func (*Secret_Extension) Equal ¶
func (this *Secret_Extension) Equal(that interface{}) bool
type Secret_Tls ¶
type Secret_Tls struct {
Tls *TlsSecret `protobuf:"bytes,3,opt,name=tls,proto3,oneof"`
}
func (*Secret_Tls) Equal ¶
func (this *Secret_Tls) Equal(that interface{}) bool
type ServiceSpecGetter ¶
type ServiceSpecGetter interface {
GetServiceSpec() *plugins.ServiceSpec
}
type ServiceSpecMutator ¶
type ServiceSpecMutator interface { ServiceSpecGetter ServiceSpecSetter }
type ServiceSpecSetter ¶
type ServiceSpecSetter interface {
SetServiceSpec(*plugins.ServiceSpec)
}
type Settings ¶
type Settings struct { // This is the namespace to which Gloo will write its own resources, e.g. discovered Upstreams or default Gateways. // If empty, this will default to "gloo-system". DiscoveryNamespace string `protobuf:"bytes,1,opt,name=discovery_namespace,json=discoveryNamespace,proto3" json:"discovery_namespace,omitempty"` // Use this setting to restrict the namespaces that Gloo takes into consideration when watching for resources.In a // usual production scenario, RBAC policies will limit the namespaces that Gloo has access to. If `watch_namespaces` // contains namespaces outside of this whitelist, Gloo will fail to start. // // If not set, this defaults to all available namespaces. Please note that, the `discovery_namespace` will always // be included in this list. WatchNamespaces []string `protobuf:"bytes,2,rep,name=watch_namespaces,json=watchNamespaces,proto3" json:"watch_namespaces,omitempty"` // This setting determines where Gloo will store its resources // // Types that are valid to be assigned to ConfigSource: // *Settings_KubernetesConfigSource // *Settings_DirectoryConfigSource // *Settings_ConsulKvSource ConfigSource isSettings_ConfigSource `protobuf_oneof:"config_source"` // Determines where Gloo will read/write secrets from/to. // // Types that are valid to be assigned to SecretSource: // *Settings_KubernetesSecretSource // *Settings_VaultSecretSource // *Settings_DirectorySecretSource SecretSource isSettings_SecretSource `protobuf_oneof:"secret_source"` // Where to read artifacts from. // // Types that are valid to be assigned to ArtifactSource: // *Settings_KubernetesArtifactSource // *Settings_DirectoryArtifactSource // *Settings_ConsulKvArtifactSource ArtifactSource isSettings_ArtifactSource `protobuf_oneof:"artifact_source"` // Where the gloo xDS server should bind (should not need configuration by user) BindAddr string `protobuf:"bytes,11,opt,name=bind_addr,json=bindAddr,proto3" json:"bind_addr,omitempty"` // How frequently to resync watches, etc RefreshRate *types.Duration `protobuf:"bytes,12,opt,name=refresh_rate,json=refreshRate,proto3" json:"refresh_rate,omitempty"` // Enable serving debug data on port 9090 DevMode bool `protobuf:"varint,13,opt,name=dev_mode,json=devMode,proto3" json:"dev_mode,omitempty"` // Enable automatic linkerd upstream header addition for easier routing to linkerd services Linkerd bool `protobuf:"varint,17,opt,name=linkerd,proto3" json:"linkerd,omitempty"` // Default circuit breakers when not set in a specific upstream. CircuitBreakers *CircuitBreakerConfig `protobuf:"bytes,3,opt,name=circuit_breakers,json=circuitBreakers,proto3" json:"circuit_breakers,omitempty"` // Configuration options for the Clusteringress Controller (for Knative). Knative *Settings_KnativeOptions `protobuf:"bytes,18,opt,name=knative,proto3" json:"knative,omitempty"` // Options for configuring Gloo's Discovery service Discovery *Settings_DiscoveryOptions `protobuf:"bytes,19,opt,name=discovery,proto3" json:"discovery,omitempty"` // Options to configure Gloo's integration with [HashiCorp Consul](https://www.consul.io/). Consul *Settings_ConsulConfiguration `protobuf:"bytes,20,opt,name=consul,proto3" json:"consul,omitempty"` // Options to configure Gloo's integration with [Kubernetes](https://www.kubernetes.io/). Kubernetes *Settings_KubernetesConfiguration `protobuf:"bytes,22,opt,name=kubernetes,proto3" json:"kubernetes,omitempty"` // Settings for extensions Extensions *Extensions `protobuf:"bytes,16,opt,name=extensions,proto3" json:"extensions,omitempty"` // Metadata contains the object metadata for this resource Metadata core.Metadata `protobuf:"bytes,14,opt,name=metadata,proto3" json:"metadata"` // Status indicates the validation status of this resource. // Status is read-only by clients, and set by gloo during validation Status core.Status `protobuf:"bytes,15,opt,name=status,proto3" json:"status" testdiff:"ignore"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents global settings for all the Gloo components.
func NewSettings ¶
func (*Settings) DeepCopyObject ¶
func (*Settings) Descriptor ¶
func (*Settings) GetArtifactSource ¶
func (m *Settings) GetArtifactSource() isSettings_ArtifactSource
func (*Settings) GetBindAddr ¶
func (*Settings) GetCircuitBreakers ¶ added in v0.13.3
func (m *Settings) GetCircuitBreakers() *CircuitBreakerConfig
func (*Settings) GetConfigSource ¶
func (m *Settings) GetConfigSource() isSettings_ConfigSource
func (*Settings) GetConsul ¶ added in v0.17.1
func (m *Settings) GetConsul() *Settings_ConsulConfiguration
func (*Settings) GetConsulKvArtifactSource ¶ added in v0.18.23
func (m *Settings) GetConsulKvArtifactSource() *Settings_ConsulKv
func (*Settings) GetConsulKvSource ¶ added in v0.18.0
func (m *Settings) GetConsulKvSource() *Settings_ConsulKv
func (*Settings) GetDevMode ¶
func (*Settings) GetDirectoryArtifactSource ¶
func (m *Settings) GetDirectoryArtifactSource() *Settings_Directory
func (*Settings) GetDirectoryConfigSource ¶
func (m *Settings) GetDirectoryConfigSource() *Settings_Directory
func (*Settings) GetDirectorySecretSource ¶
func (m *Settings) GetDirectorySecretSource() *Settings_Directory
func (*Settings) GetDiscovery ¶ added in v0.17.0
func (m *Settings) GetDiscovery() *Settings_DiscoveryOptions
func (*Settings) GetDiscoveryNamespace ¶
func (*Settings) GetExtensions ¶
func (m *Settings) GetExtensions() *Extensions
func (*Settings) GetKnative ¶ added in v0.15.0
func (m *Settings) GetKnative() *Settings_KnativeOptions
func (*Settings) GetKubernetes ¶ added in v0.18.12
func (m *Settings) GetKubernetes() *Settings_KubernetesConfiguration
func (*Settings) GetKubernetesArtifactSource ¶
func (m *Settings) GetKubernetesArtifactSource() *Settings_KubernetesConfigmaps
func (*Settings) GetKubernetesConfigSource ¶
func (m *Settings) GetKubernetesConfigSource() *Settings_KubernetesCrds
func (*Settings) GetKubernetesSecretSource ¶
func (m *Settings) GetKubernetesSecretSource() *Settings_KubernetesSecrets
func (*Settings) GetLinkerd ¶ added in v0.13.20
func (*Settings) GetMetadata ¶
func (*Settings) GetObjectKind ¶
func (o *Settings) GetObjectKind() schema.ObjectKind
func (*Settings) GetRefreshRate ¶
func (*Settings) GetSecretSource ¶
func (m *Settings) GetSecretSource() isSettings_SecretSource
func (*Settings) GetVaultSecretSource ¶
func (m *Settings) GetVaultSecretSource() *Settings_VaultSecrets
func (*Settings) GetWatchNamespaces ¶
func (*Settings) GroupVersionKind ¶ added in v0.18.0
func (r *Settings) GroupVersionKind() schema.GroupVersionKind
func (*Settings) ProtoMessage ¶
func (*Settings) ProtoMessage()
func (*Settings) SetMetadata ¶
func (*Settings) XXX_DiscardUnknown ¶
func (m *Settings) XXX_DiscardUnknown()
func (*Settings) XXX_Marshal ¶
func (*Settings) XXX_OneofFuncs ¶
func (*Settings) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Settings) XXX_Unmarshal ¶
type SettingsClient ¶
type SettingsClient interface { BaseClient() clients.ResourceClient Register() error Read(namespace, name string, opts clients.ReadOpts) (*Settings, error) Write(resource *Settings, opts clients.WriteOpts) (*Settings, error) Delete(namespace, name string, opts clients.DeleteOpts) error List(namespace string, opts clients.ListOpts) (SettingsList, error) SettingsWatcher }
func NewSettingsClient ¶
func NewSettingsClient(rcFactory factory.ResourceClientFactory) (SettingsClient, error)
func NewSettingsClientWithBase ¶
func NewSettingsClientWithBase(rc clients.ResourceClient) SettingsClient
func NewSettingsClientWithToken ¶
func NewSettingsClientWithToken(rcFactory factory.ResourceClientFactory, token string) (SettingsClient, error)
type SettingsList ¶
type SettingsList []*Settings
func (SettingsList) AsInputResources ¶
func (list SettingsList) AsInputResources() resources.InputResourceList
func (SettingsList) AsInterfaces ¶
func (list SettingsList) AsInterfaces() []interface{}
func (SettingsList) AsResources ¶
func (list SettingsList) AsResources() resources.ResourceList
func (SettingsList) Clone ¶
func (list SettingsList) Clone() SettingsList
func (SettingsList) Each ¶
func (list SettingsList) Each(f func(element *Settings))
func (SettingsList) EachResource ¶ added in v0.13.21
func (list SettingsList) EachResource(f func(element resources.Resource))
func (SettingsList) Find ¶
func (list SettingsList) Find(namespace, name string) (*Settings, error)
namespace is optional, if left empty, names can collide if the list contains more than one with the same name
func (SettingsList) Names ¶
func (list SettingsList) Names() []string
func (SettingsList) NamespacesDotNames ¶
func (list SettingsList) NamespacesDotNames() []string
func (SettingsList) Sort ¶
func (list SettingsList) Sort() SettingsList
type SettingsReconciler ¶
type SettingsReconciler interface {
Reconcile(namespace string, desiredResources SettingsList, transition TransitionSettingsFunc, opts clients.ListOpts) error
}
func NewSettingsReconciler ¶
func NewSettingsReconciler(client SettingsClient) SettingsReconciler
type SettingsWatcher ¶ added in v0.13.21
type Settings_ConsulConfiguration ¶ added in v0.17.1
type Settings_ConsulConfiguration struct { // The address of the Consul server. // Defaults to the value of the standard CONSUL_HTTP_ADDR env if set, otherwise to 127.0.0.1:8500. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // Datacenter to use. If not provided, the default agent datacenter is used. Datacenter string `protobuf:"bytes,2,opt,name=datacenter,proto3" json:"datacenter,omitempty"` // Username to use for HTTP Basic Authentication Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // Password to use for HTTP Basic Authentication Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` // Token is used to provide a per-request ACL token // which overrides the agent's default token. Token string `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"` // caFile is the optional path to the CA certificate used for Consul // communication, defaults to the system bundle if not specified. CaFile string `protobuf:"bytes,6,opt,name=ca_file,json=caFile,proto3" json:"ca_file,omitempty"` // caPath is the optional path to a directory of CA certificates to use for // Consul communication, defaults to the system bundle if not specified. CaPath string `protobuf:"bytes,7,opt,name=ca_path,json=caPath,proto3" json:"ca_path,omitempty"` // CertFile is the optional path to the certificate for Consul // communication. If this is set then you need to also set KeyFile. CertFile string `protobuf:"bytes,8,opt,name=cert_file,json=certFile,proto3" json:"cert_file,omitempty"` // KeyFile is the optional path to the private key for Consul communication. // If this is set then you need to also set CertFile. KeyFile string `protobuf:"bytes,9,opt,name=key_file,json=keyFile,proto3" json:"key_file,omitempty"` // InsecureSkipVerify if set to true will disable TLS host verification. InsecureSkipVerify *types.BoolValue `protobuf:"bytes,10,opt,name=insecure_skip_verify,json=insecureSkipVerify,proto3" json:"insecure_skip_verify,omitempty"` // WaitTime limits how long a watches for Consul resources will block. // If not provided, the agent default values will be used. WaitTime *types.Duration `protobuf:"bytes,11,opt,name=wait_time,json=waitTime,proto3" json:"wait_time,omitempty"` // Enable Service Discovery via Consul with this field // set to empty struct `{}` to enable with defaults ServiceDiscovery *Settings_ConsulConfiguration_ServiceDiscoveryOptions `protobuf:"bytes,12,opt,name=service_discovery,json=serviceDiscovery,proto3" json:"service_discovery,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Provides overrides for the default configuration parameters used to connect to Consul.
Note: It is also possible to configure the Consul client Gloo uses via the environment variables described [here](https://www.consul.io/docs/commands/index.html#environment-variables). These need to be set on the Gloo container.
func (*Settings_ConsulConfiguration) Descriptor ¶ added in v0.17.1
func (*Settings_ConsulConfiguration) Descriptor() ([]byte, []int)
func (*Settings_ConsulConfiguration) Equal ¶ added in v0.17.1
func (this *Settings_ConsulConfiguration) Equal(that interface{}) bool
func (*Settings_ConsulConfiguration) GetAddress ¶ added in v0.17.1
func (m *Settings_ConsulConfiguration) GetAddress() string
func (*Settings_ConsulConfiguration) GetCaFile ¶ added in v0.18.0
func (m *Settings_ConsulConfiguration) GetCaFile() string
func (*Settings_ConsulConfiguration) GetCaPath ¶ added in v0.18.0
func (m *Settings_ConsulConfiguration) GetCaPath() string
func (*Settings_ConsulConfiguration) GetCertFile ¶ added in v0.18.0
func (m *Settings_ConsulConfiguration) GetCertFile() string
func (*Settings_ConsulConfiguration) GetDatacenter ¶ added in v0.18.0
func (m *Settings_ConsulConfiguration) GetDatacenter() string
func (*Settings_ConsulConfiguration) GetInsecureSkipVerify ¶ added in v0.18.0
func (m *Settings_ConsulConfiguration) GetInsecureSkipVerify() *types.BoolValue
func (*Settings_ConsulConfiguration) GetKeyFile ¶ added in v0.18.0
func (m *Settings_ConsulConfiguration) GetKeyFile() string
func (*Settings_ConsulConfiguration) GetPassword ¶ added in v0.18.0
func (m *Settings_ConsulConfiguration) GetPassword() string
func (*Settings_ConsulConfiguration) GetServiceDiscovery ¶ added in v0.18.0
func (m *Settings_ConsulConfiguration) GetServiceDiscovery() *Settings_ConsulConfiguration_ServiceDiscoveryOptions
func (*Settings_ConsulConfiguration) GetToken ¶ added in v0.18.0
func (m *Settings_ConsulConfiguration) GetToken() string
func (*Settings_ConsulConfiguration) GetUsername ¶ added in v0.18.0
func (m *Settings_ConsulConfiguration) GetUsername() string
func (*Settings_ConsulConfiguration) GetWaitTime ¶ added in v0.17.1
func (m *Settings_ConsulConfiguration) GetWaitTime() *types.Duration
func (*Settings_ConsulConfiguration) ProtoMessage ¶ added in v0.17.1
func (*Settings_ConsulConfiguration) ProtoMessage()
func (*Settings_ConsulConfiguration) Reset ¶ added in v0.17.1
func (m *Settings_ConsulConfiguration) Reset()
func (*Settings_ConsulConfiguration) String ¶ added in v0.17.1
func (m *Settings_ConsulConfiguration) String() string
func (*Settings_ConsulConfiguration) XXX_DiscardUnknown ¶ added in v0.17.1
func (m *Settings_ConsulConfiguration) XXX_DiscardUnknown()
func (*Settings_ConsulConfiguration) XXX_Marshal ¶ added in v0.17.1
func (m *Settings_ConsulConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Settings_ConsulConfiguration) XXX_Merge ¶ added in v0.17.1
func (m *Settings_ConsulConfiguration) XXX_Merge(src proto.Message)
func (*Settings_ConsulConfiguration) XXX_Size ¶ added in v0.17.1
func (m *Settings_ConsulConfiguration) XXX_Size() int
func (*Settings_ConsulConfiguration) XXX_Unmarshal ¶ added in v0.17.1
func (m *Settings_ConsulConfiguration) XXX_Unmarshal(b []byte) error
type Settings_ConsulConfiguration_ServiceDiscoveryOptions ¶ added in v0.18.0
type Settings_ConsulConfiguration_ServiceDiscoveryOptions struct { // Use this parameter to restrict the data centers that will be considered when discovering and routing to // services. If not provided, Gloo will use all available data centers. DataCenters []string `protobuf:"bytes,1,rep,name=data_centers,json=dataCenters,proto3" json:"data_centers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
service discovery options for Consul
func (*Settings_ConsulConfiguration_ServiceDiscoveryOptions) Descriptor ¶ added in v0.18.0
func (*Settings_ConsulConfiguration_ServiceDiscoveryOptions) Descriptor() ([]byte, []int)
func (*Settings_ConsulConfiguration_ServiceDiscoveryOptions) Equal ¶ added in v0.18.0
func (this *Settings_ConsulConfiguration_ServiceDiscoveryOptions) Equal(that interface{}) bool
func (*Settings_ConsulConfiguration_ServiceDiscoveryOptions) GetDataCenters ¶ added in v0.18.0
func (m *Settings_ConsulConfiguration_ServiceDiscoveryOptions) GetDataCenters() []string
func (*Settings_ConsulConfiguration_ServiceDiscoveryOptions) ProtoMessage ¶ added in v0.18.0
func (*Settings_ConsulConfiguration_ServiceDiscoveryOptions) ProtoMessage()
func (*Settings_ConsulConfiguration_ServiceDiscoveryOptions) Reset ¶ added in v0.18.0
func (m *Settings_ConsulConfiguration_ServiceDiscoveryOptions) Reset()
func (*Settings_ConsulConfiguration_ServiceDiscoveryOptions) String ¶ added in v0.18.0
func (m *Settings_ConsulConfiguration_ServiceDiscoveryOptions) String() string
func (*Settings_ConsulConfiguration_ServiceDiscoveryOptions) XXX_DiscardUnknown ¶ added in v0.18.0
func (m *Settings_ConsulConfiguration_ServiceDiscoveryOptions) XXX_DiscardUnknown()
func (*Settings_ConsulConfiguration_ServiceDiscoveryOptions) XXX_Marshal ¶ added in v0.18.0
func (m *Settings_ConsulConfiguration_ServiceDiscoveryOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Settings_ConsulConfiguration_ServiceDiscoveryOptions) XXX_Merge ¶ added in v0.18.0
func (m *Settings_ConsulConfiguration_ServiceDiscoveryOptions) XXX_Merge(src proto.Message)
func (*Settings_ConsulConfiguration_ServiceDiscoveryOptions) XXX_Size ¶ added in v0.18.0
func (m *Settings_ConsulConfiguration_ServiceDiscoveryOptions) XXX_Size() int
func (*Settings_ConsulConfiguration_ServiceDiscoveryOptions) XXX_Unmarshal ¶ added in v0.18.0
func (m *Settings_ConsulConfiguration_ServiceDiscoveryOptions) XXX_Unmarshal(b []byte) error
type Settings_ConsulKv ¶ added in v0.18.0
type Settings_ConsulKv struct { // all keys stored in Consul will begin with this prefix // this can be used to run multiple instances of Gloo against the same Consul cluster // defaults to `gloo` RootKey string `protobuf:"bytes,1,opt,name=root_key,json=rootKey,proto3" json:"root_key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Use [HashiCorp Consul Key-Value](https://www.consul.io/api/kv.html/) as storage for config data. Configuration options for connecting to Consul can be configured in the Settings' root `consul` field
func (*Settings_ConsulKv) Descriptor ¶ added in v0.18.0
func (*Settings_ConsulKv) Descriptor() ([]byte, []int)
func (*Settings_ConsulKv) Equal ¶ added in v0.18.0
func (this *Settings_ConsulKv) Equal(that interface{}) bool
func (*Settings_ConsulKv) GetRootKey ¶ added in v0.18.0
func (m *Settings_ConsulKv) GetRootKey() string
func (*Settings_ConsulKv) ProtoMessage ¶ added in v0.18.0
func (*Settings_ConsulKv) ProtoMessage()
func (*Settings_ConsulKv) Reset ¶ added in v0.18.0
func (m *Settings_ConsulKv) Reset()
func (*Settings_ConsulKv) String ¶ added in v0.18.0
func (m *Settings_ConsulKv) String() string
func (*Settings_ConsulKv) XXX_DiscardUnknown ¶ added in v0.18.0
func (m *Settings_ConsulKv) XXX_DiscardUnknown()
func (*Settings_ConsulKv) XXX_Marshal ¶ added in v0.18.0
func (m *Settings_ConsulKv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Settings_ConsulKv) XXX_Merge ¶ added in v0.18.0
func (m *Settings_ConsulKv) XXX_Merge(src proto.Message)
func (*Settings_ConsulKv) XXX_Size ¶ added in v0.18.0
func (m *Settings_ConsulKv) XXX_Size() int
func (*Settings_ConsulKv) XXX_Unmarshal ¶ added in v0.18.0
func (m *Settings_ConsulKv) XXX_Unmarshal(b []byte) error
type Settings_ConsulKvArtifactSource ¶ added in v0.18.23
type Settings_ConsulKvArtifactSource struct {
ConsulKvArtifactSource *Settings_ConsulKv `protobuf:"bytes,23,opt,name=consul_kv_artifact_source,json=consulKvArtifactSource,proto3,oneof"`
}
func (*Settings_ConsulKvArtifactSource) Equal ¶ added in v0.18.23
func (this *Settings_ConsulKvArtifactSource) Equal(that interface{}) bool
type Settings_ConsulKvSource ¶ added in v0.18.0
type Settings_ConsulKvSource struct {
ConsulKvSource *Settings_ConsulKv `protobuf:"bytes,21,opt,name=consul_kv_source,json=consulKvSource,proto3,oneof"`
}
func (*Settings_ConsulKvSource) Equal ¶ added in v0.18.0
func (this *Settings_ConsulKvSource) Equal(that interface{}) bool
type Settings_Directory ¶
type Settings_Directory struct { Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
As an alternative to Kubernetes CRDs, Gloo is able to store resources in a local file system. This option determines the root of the directory tree used to this end.
func (*Settings_Directory) Descriptor ¶
func (*Settings_Directory) Descriptor() ([]byte, []int)
func (*Settings_Directory) Equal ¶
func (this *Settings_Directory) Equal(that interface{}) bool
func (*Settings_Directory) GetDirectory ¶
func (m *Settings_Directory) GetDirectory() string
func (*Settings_Directory) ProtoMessage ¶
func (*Settings_Directory) ProtoMessage()
func (*Settings_Directory) Reset ¶
func (m *Settings_Directory) Reset()
func (*Settings_Directory) String ¶
func (m *Settings_Directory) String() string
func (*Settings_Directory) XXX_DiscardUnknown ¶
func (m *Settings_Directory) XXX_DiscardUnknown()
func (*Settings_Directory) XXX_Marshal ¶
func (m *Settings_Directory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Settings_Directory) XXX_Merge ¶
func (m *Settings_Directory) XXX_Merge(src proto.Message)
func (*Settings_Directory) XXX_Size ¶
func (m *Settings_Directory) XXX_Size() int
func (*Settings_Directory) XXX_Unmarshal ¶
func (m *Settings_Directory) XXX_Unmarshal(b []byte) error
type Settings_DirectoryArtifactSource ¶
type Settings_DirectoryArtifactSource struct {
DirectoryArtifactSource *Settings_Directory `protobuf:"bytes,10,opt,name=directory_artifact_source,json=directoryArtifactSource,proto3,oneof"`
}
func (*Settings_DirectoryArtifactSource) Equal ¶
func (this *Settings_DirectoryArtifactSource) Equal(that interface{}) bool
type Settings_DirectoryConfigSource ¶
type Settings_DirectoryConfigSource struct {
DirectoryConfigSource *Settings_Directory `protobuf:"bytes,5,opt,name=directory_config_source,json=directoryConfigSource,proto3,oneof"`
}
func (*Settings_DirectoryConfigSource) Equal ¶
func (this *Settings_DirectoryConfigSource) Equal(that interface{}) bool
type Settings_DirectorySecretSource ¶
type Settings_DirectorySecretSource struct {
DirectorySecretSource *Settings_Directory `protobuf:"bytes,8,opt,name=directory_secret_source,json=directorySecretSource,proto3,oneof"`
}
func (*Settings_DirectorySecretSource) Equal ¶
func (this *Settings_DirectorySecretSource) Equal(that interface{}) bool
type Settings_DiscoveryOptions ¶ added in v0.17.0
type Settings_DiscoveryOptions struct { FdsMode Settings_DiscoveryOptions_FdsMode `` /* 135-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Settings_DiscoveryOptions) Descriptor ¶ added in v0.17.0
func (*Settings_DiscoveryOptions) Descriptor() ([]byte, []int)
func (*Settings_DiscoveryOptions) Equal ¶ added in v0.17.0
func (this *Settings_DiscoveryOptions) Equal(that interface{}) bool
func (*Settings_DiscoveryOptions) GetFdsMode ¶ added in v0.17.0
func (m *Settings_DiscoveryOptions) GetFdsMode() Settings_DiscoveryOptions_FdsMode
func (*Settings_DiscoveryOptions) ProtoMessage ¶ added in v0.17.0
func (*Settings_DiscoveryOptions) ProtoMessage()
func (*Settings_DiscoveryOptions) Reset ¶ added in v0.17.0
func (m *Settings_DiscoveryOptions) Reset()
func (*Settings_DiscoveryOptions) String ¶ added in v0.17.0
func (m *Settings_DiscoveryOptions) String() string
func (*Settings_DiscoveryOptions) XXX_DiscardUnknown ¶ added in v0.17.0
func (m *Settings_DiscoveryOptions) XXX_DiscardUnknown()
func (*Settings_DiscoveryOptions) XXX_Marshal ¶ added in v0.17.0
func (m *Settings_DiscoveryOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Settings_DiscoveryOptions) XXX_Merge ¶ added in v0.17.0
func (m *Settings_DiscoveryOptions) XXX_Merge(src proto.Message)
func (*Settings_DiscoveryOptions) XXX_Size ¶ added in v0.17.0
func (m *Settings_DiscoveryOptions) XXX_Size() int
func (*Settings_DiscoveryOptions) XXX_Unmarshal ¶ added in v0.17.0
func (m *Settings_DiscoveryOptions) XXX_Unmarshal(b []byte) error
type Settings_DiscoveryOptions_FdsMode ¶ added in v0.17.0
type Settings_DiscoveryOptions_FdsMode int32
Possible modes for running the function discovery service (FDS). FDS polls services in-cluster for Swagger and gRPC endpoints. This behavior can be controlled with the use of annotations. FdsMode specifies what policy FDS will use when determining which services to poll.
const ( // In BLACKLIST mode (default), FDS will poll all services in cluster except those services labeled with // `discovery.solo.io/function_discovery=disabled`. This label can also be used on namespaces to apply to // all services within a namespace **which are not explicitly whitelisted**. // Note that `kube-system` and `kube-public` namespaces must be explicitly whitelisted even in blacklist mode. Settings_DiscoveryOptions_BLACKLIST Settings_DiscoveryOptions_FdsMode = 0 // In WHITELIST mode, FDS will poll only services in cluster labeled with // `discovery.solo.io/function_discovery=enabled`. This label can also be used on namespaces to apply to all // services **which are not explicitly blacklisted** within a namespace. Settings_DiscoveryOptions_WHITELIST Settings_DiscoveryOptions_FdsMode = 1 // In DISABLED mode, FDS will not run. Settings_DiscoveryOptions_DISABLED Settings_DiscoveryOptions_FdsMode = 2 )
func (Settings_DiscoveryOptions_FdsMode) EnumDescriptor ¶ added in v0.17.0
func (Settings_DiscoveryOptions_FdsMode) EnumDescriptor() ([]byte, []int)
func (Settings_DiscoveryOptions_FdsMode) String ¶ added in v0.17.0
func (x Settings_DiscoveryOptions_FdsMode) String() string
type Settings_KnativeOptions ¶ added in v0.15.0
type Settings_KnativeOptions struct { // Address of the clusteringress proxy. // If empty, it will default to clusteringress-proxy.$POD_NAMESPACE.svc.cluster.local. // Use if running Knative Version 0.7.X or less ClusterIngressProxyAddress string `` /* 143-byte string literal not displayed */ // Address of the externally-facing knative proxy. // If empty, it will default to knative-external-proxy.$POD_NAMESPACE.svc.cluster.local. // Use if running Knative Version 0.8.X or higher KnativeExternalProxyAddress string `` /* 146-byte string literal not displayed */ // Address of the internally-facing knative proxy. // If empty, it will default to knative-internal-proxy.$POD_NAMESPACE.svc.cluster.local. // Use if running Knative Version 0.8.X or higher KnativeInternalProxyAddress string `` /* 146-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Settings_KnativeOptions) Descriptor ¶ added in v0.15.0
func (*Settings_KnativeOptions) Descriptor() ([]byte, []int)
func (*Settings_KnativeOptions) Equal ¶ added in v0.15.0
func (this *Settings_KnativeOptions) Equal(that interface{}) bool
func (*Settings_KnativeOptions) GetClusterIngressProxyAddress ¶ added in v0.15.0
func (m *Settings_KnativeOptions) GetClusterIngressProxyAddress() string
func (*Settings_KnativeOptions) GetKnativeExternalProxyAddress ¶ added in v0.18.12
func (m *Settings_KnativeOptions) GetKnativeExternalProxyAddress() string
func (*Settings_KnativeOptions) GetKnativeInternalProxyAddress ¶ added in v0.18.12
func (m *Settings_KnativeOptions) GetKnativeInternalProxyAddress() string
func (*Settings_KnativeOptions) ProtoMessage ¶ added in v0.15.0
func (*Settings_KnativeOptions) ProtoMessage()
func (*Settings_KnativeOptions) Reset ¶ added in v0.15.0
func (m *Settings_KnativeOptions) Reset()
func (*Settings_KnativeOptions) String ¶ added in v0.15.0
func (m *Settings_KnativeOptions) String() string
func (*Settings_KnativeOptions) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *Settings_KnativeOptions) XXX_DiscardUnknown()
func (*Settings_KnativeOptions) XXX_Marshal ¶ added in v0.15.0
func (m *Settings_KnativeOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Settings_KnativeOptions) XXX_Merge ¶ added in v0.15.0
func (m *Settings_KnativeOptions) XXX_Merge(src proto.Message)
func (*Settings_KnativeOptions) XXX_Size ¶ added in v0.15.0
func (m *Settings_KnativeOptions) XXX_Size() int
func (*Settings_KnativeOptions) XXX_Unmarshal ¶ added in v0.15.0
func (m *Settings_KnativeOptions) XXX_Unmarshal(b []byte) error
type Settings_KubernetesArtifactSource ¶
type Settings_KubernetesArtifactSource struct {
KubernetesArtifactSource *Settings_KubernetesConfigmaps `protobuf:"bytes,9,opt,name=kubernetes_artifact_source,json=kubernetesArtifactSource,proto3,oneof"`
}
func (*Settings_KubernetesArtifactSource) Equal ¶
func (this *Settings_KubernetesArtifactSource) Equal(that interface{}) bool
type Settings_KubernetesConfigSource ¶
type Settings_KubernetesConfigSource struct {
KubernetesConfigSource *Settings_KubernetesCrds `protobuf:"bytes,4,opt,name=kubernetes_config_source,json=kubernetesConfigSource,proto3,oneof"`
}
func (*Settings_KubernetesConfigSource) Equal ¶
func (this *Settings_KubernetesConfigSource) Equal(that interface{}) bool
type Settings_KubernetesConfigmaps ¶
type Settings_KubernetesConfigmaps struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Use Kubernetes ConfigMaps as storage.
func (*Settings_KubernetesConfigmaps) Descriptor ¶
func (*Settings_KubernetesConfigmaps) Descriptor() ([]byte, []int)
func (*Settings_KubernetesConfigmaps) Equal ¶
func (this *Settings_KubernetesConfigmaps) Equal(that interface{}) bool
func (*Settings_KubernetesConfigmaps) ProtoMessage ¶
func (*Settings_KubernetesConfigmaps) ProtoMessage()
func (*Settings_KubernetesConfigmaps) Reset ¶
func (m *Settings_KubernetesConfigmaps) Reset()
func (*Settings_KubernetesConfigmaps) String ¶
func (m *Settings_KubernetesConfigmaps) String() string
func (*Settings_KubernetesConfigmaps) XXX_DiscardUnknown ¶
func (m *Settings_KubernetesConfigmaps) XXX_DiscardUnknown()
func (*Settings_KubernetesConfigmaps) XXX_Marshal ¶
func (m *Settings_KubernetesConfigmaps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Settings_KubernetesConfigmaps) XXX_Merge ¶
func (m *Settings_KubernetesConfigmaps) XXX_Merge(src proto.Message)
func (*Settings_KubernetesConfigmaps) XXX_Size ¶
func (m *Settings_KubernetesConfigmaps) XXX_Size() int
func (*Settings_KubernetesConfigmaps) XXX_Unmarshal ¶
func (m *Settings_KubernetesConfigmaps) XXX_Unmarshal(b []byte) error
type Settings_KubernetesConfiguration ¶ added in v0.18.12
type Settings_KubernetesConfiguration struct { // Rate limits for the kuberentes clients RateLimits *Settings_KubernetesConfiguration_RateLimits `protobuf:"bytes,1,opt,name=rate_limits,json=rateLimits,proto3" json:"rate_limits,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Provides overrides for the default configuration parameters used to interact with Kubernetes.
func (*Settings_KubernetesConfiguration) Descriptor ¶ added in v0.18.12
func (*Settings_KubernetesConfiguration) Descriptor() ([]byte, []int)
func (*Settings_KubernetesConfiguration) Equal ¶ added in v0.18.12
func (this *Settings_KubernetesConfiguration) Equal(that interface{}) bool
func (*Settings_KubernetesConfiguration) GetRateLimits ¶ added in v0.18.12
func (m *Settings_KubernetesConfiguration) GetRateLimits() *Settings_KubernetesConfiguration_RateLimits
func (*Settings_KubernetesConfiguration) ProtoMessage ¶ added in v0.18.12
func (*Settings_KubernetesConfiguration) ProtoMessage()
func (*Settings_KubernetesConfiguration) Reset ¶ added in v0.18.12
func (m *Settings_KubernetesConfiguration) Reset()
func (*Settings_KubernetesConfiguration) String ¶ added in v0.18.12
func (m *Settings_KubernetesConfiguration) String() string
func (*Settings_KubernetesConfiguration) XXX_DiscardUnknown ¶ added in v0.18.12
func (m *Settings_KubernetesConfiguration) XXX_DiscardUnknown()
func (*Settings_KubernetesConfiguration) XXX_Marshal ¶ added in v0.18.12
func (m *Settings_KubernetesConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Settings_KubernetesConfiguration) XXX_Merge ¶ added in v0.18.12
func (m *Settings_KubernetesConfiguration) XXX_Merge(src proto.Message)
func (*Settings_KubernetesConfiguration) XXX_Size ¶ added in v0.18.12
func (m *Settings_KubernetesConfiguration) XXX_Size() int
func (*Settings_KubernetesConfiguration) XXX_Unmarshal ¶ added in v0.18.12
func (m *Settings_KubernetesConfiguration) XXX_Unmarshal(b []byte) error
type Settings_KubernetesConfiguration_RateLimits ¶ added in v0.18.12
type Settings_KubernetesConfiguration_RateLimits struct { // The maximum queries-per-second Gloo can make to the Kubernetes API Server. QPS float32 `protobuf:"fixed32,1,opt,name=QPS,proto3" json:"QPS,omitempty"` // Maximum burst for throttle. When a steady state of QPS requests per second, // this is an additional number of allowed, to allow for short bursts. Burst uint32 `protobuf:"varint,2,opt,name=burst,proto3" json:"burst,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Settings_KubernetesConfiguration_RateLimits) Descriptor ¶ added in v0.18.12
func (*Settings_KubernetesConfiguration_RateLimits) Descriptor() ([]byte, []int)
func (*Settings_KubernetesConfiguration_RateLimits) Equal ¶ added in v0.18.12
func (this *Settings_KubernetesConfiguration_RateLimits) Equal(that interface{}) bool
func (*Settings_KubernetesConfiguration_RateLimits) GetBurst ¶ added in v0.18.12
func (m *Settings_KubernetesConfiguration_RateLimits) GetBurst() uint32
func (*Settings_KubernetesConfiguration_RateLimits) GetQPS ¶ added in v0.18.12
func (m *Settings_KubernetesConfiguration_RateLimits) GetQPS() float32
func (*Settings_KubernetesConfiguration_RateLimits) ProtoMessage ¶ added in v0.18.12
func (*Settings_KubernetesConfiguration_RateLimits) ProtoMessage()
func (*Settings_KubernetesConfiguration_RateLimits) Reset ¶ added in v0.18.12
func (m *Settings_KubernetesConfiguration_RateLimits) Reset()
func (*Settings_KubernetesConfiguration_RateLimits) String ¶ added in v0.18.12
func (m *Settings_KubernetesConfiguration_RateLimits) String() string
func (*Settings_KubernetesConfiguration_RateLimits) XXX_DiscardUnknown ¶ added in v0.18.12
func (m *Settings_KubernetesConfiguration_RateLimits) XXX_DiscardUnknown()
func (*Settings_KubernetesConfiguration_RateLimits) XXX_Marshal ¶ added in v0.18.12
func (m *Settings_KubernetesConfiguration_RateLimits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Settings_KubernetesConfiguration_RateLimits) XXX_Merge ¶ added in v0.18.12
func (m *Settings_KubernetesConfiguration_RateLimits) XXX_Merge(src proto.Message)
func (*Settings_KubernetesConfiguration_RateLimits) XXX_Size ¶ added in v0.18.12
func (m *Settings_KubernetesConfiguration_RateLimits) XXX_Size() int
func (*Settings_KubernetesConfiguration_RateLimits) XXX_Unmarshal ¶ added in v0.18.12
func (m *Settings_KubernetesConfiguration_RateLimits) XXX_Unmarshal(b []byte) error
type Settings_KubernetesCrds ¶
type Settings_KubernetesCrds struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Use Kubernetes CRDs as storage.
func (*Settings_KubernetesCrds) Descriptor ¶
func (*Settings_KubernetesCrds) Descriptor() ([]byte, []int)
func (*Settings_KubernetesCrds) Equal ¶
func (this *Settings_KubernetesCrds) Equal(that interface{}) bool
func (*Settings_KubernetesCrds) ProtoMessage ¶
func (*Settings_KubernetesCrds) ProtoMessage()
func (*Settings_KubernetesCrds) Reset ¶
func (m *Settings_KubernetesCrds) Reset()
func (*Settings_KubernetesCrds) String ¶
func (m *Settings_KubernetesCrds) String() string
func (*Settings_KubernetesCrds) XXX_DiscardUnknown ¶
func (m *Settings_KubernetesCrds) XXX_DiscardUnknown()
func (*Settings_KubernetesCrds) XXX_Marshal ¶
func (m *Settings_KubernetesCrds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Settings_KubernetesCrds) XXX_Merge ¶
func (m *Settings_KubernetesCrds) XXX_Merge(src proto.Message)
func (*Settings_KubernetesCrds) XXX_Size ¶
func (m *Settings_KubernetesCrds) XXX_Size() int
func (*Settings_KubernetesCrds) XXX_Unmarshal ¶
func (m *Settings_KubernetesCrds) XXX_Unmarshal(b []byte) error
type Settings_KubernetesSecretSource ¶
type Settings_KubernetesSecretSource struct {
KubernetesSecretSource *Settings_KubernetesSecrets `protobuf:"bytes,6,opt,name=kubernetes_secret_source,json=kubernetesSecretSource,proto3,oneof"`
}
func (*Settings_KubernetesSecretSource) Equal ¶
func (this *Settings_KubernetesSecretSource) Equal(that interface{}) bool
type Settings_KubernetesSecrets ¶
type Settings_KubernetesSecrets struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Use Kubernetes as storage for secret data.
func (*Settings_KubernetesSecrets) Descriptor ¶
func (*Settings_KubernetesSecrets) Descriptor() ([]byte, []int)
func (*Settings_KubernetesSecrets) Equal ¶
func (this *Settings_KubernetesSecrets) Equal(that interface{}) bool
func (*Settings_KubernetesSecrets) ProtoMessage ¶
func (*Settings_KubernetesSecrets) ProtoMessage()
func (*Settings_KubernetesSecrets) Reset ¶
func (m *Settings_KubernetesSecrets) Reset()
func (*Settings_KubernetesSecrets) String ¶
func (m *Settings_KubernetesSecrets) String() string
func (*Settings_KubernetesSecrets) XXX_DiscardUnknown ¶
func (m *Settings_KubernetesSecrets) XXX_DiscardUnknown()
func (*Settings_KubernetesSecrets) XXX_Marshal ¶
func (m *Settings_KubernetesSecrets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Settings_KubernetesSecrets) XXX_Merge ¶
func (m *Settings_KubernetesSecrets) XXX_Merge(src proto.Message)
func (*Settings_KubernetesSecrets) XXX_Size ¶
func (m *Settings_KubernetesSecrets) XXX_Size() int
func (*Settings_KubernetesSecrets) XXX_Unmarshal ¶
func (m *Settings_KubernetesSecrets) XXX_Unmarshal(b []byte) error
type Settings_VaultSecretSource ¶
type Settings_VaultSecretSource struct {
VaultSecretSource *Settings_VaultSecrets `protobuf:"bytes,7,opt,name=vault_secret_source,json=vaultSecretSource,proto3,oneof"`
}
func (*Settings_VaultSecretSource) Equal ¶
func (this *Settings_VaultSecretSource) Equal(that interface{}) bool
type Settings_VaultSecrets ¶
type Settings_VaultSecrets struct { // the Token used to authenticate to Vault Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // address is the address of the Vault server. This should be a complete // URL such as "http://vault.example.com". Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // caCert is the path to a PEM-encoded CA cert file to use to verify the // Vault server SSL certificate. CaCert string `protobuf:"bytes,3,opt,name=ca_cert,json=caCert,proto3" json:"ca_cert,omitempty"` // caPath is the path to a directory of PEM-encoded CA cert files to verify // the Vault server SSL certificate. CaPath string `protobuf:"bytes,4,opt,name=ca_path,json=caPath,proto3" json:"ca_path,omitempty"` // clientCert is the path to the certificate for Vault communication ClientCert string `protobuf:"bytes,5,opt,name=client_cert,json=clientCert,proto3" json:"client_cert,omitempty"` // clientKey is the path to the private key for Vault communication ClientKey string `protobuf:"bytes,6,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"` // tlsServerName, if set, is used to set the SNI host when connecting via // TLS. TlsServerName string `protobuf:"bytes,7,opt,name=tls_server_name,json=tlsServerName,proto3" json:"tls_server_name,omitempty"` // Insecure enables or disables SSL verification Insecure *types.BoolValue `protobuf:"bytes,8,opt,name=insecure,proto3" json:"insecure,omitempty"` // all keys stored in Vault will begin with this Vault // this can be used to run multiple instances of Gloo against the same Consul cluster // defaults to `gloo` RootKey string `protobuf:"bytes,9,opt,name=root_key,json=rootKey,proto3" json:"root_key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Use [HashiCorp Vault](https://www.vaultproject.io/) as storage for secret data.
func (*Settings_VaultSecrets) Descriptor ¶
func (*Settings_VaultSecrets) Descriptor() ([]byte, []int)
func (*Settings_VaultSecrets) Equal ¶
func (this *Settings_VaultSecrets) Equal(that interface{}) bool
func (*Settings_VaultSecrets) GetAddress ¶ added in v0.18.0
func (m *Settings_VaultSecrets) GetAddress() string
func (*Settings_VaultSecrets) GetCaCert ¶ added in v0.18.0
func (m *Settings_VaultSecrets) GetCaCert() string
func (*Settings_VaultSecrets) GetCaPath ¶ added in v0.18.0
func (m *Settings_VaultSecrets) GetCaPath() string
func (*Settings_VaultSecrets) GetClientCert ¶ added in v0.18.0
func (m *Settings_VaultSecrets) GetClientCert() string
func (*Settings_VaultSecrets) GetClientKey ¶ added in v0.18.0
func (m *Settings_VaultSecrets) GetClientKey() string
func (*Settings_VaultSecrets) GetInsecure ¶ added in v0.18.0
func (m *Settings_VaultSecrets) GetInsecure() *types.BoolValue
func (*Settings_VaultSecrets) GetRootKey ¶ added in v0.18.0
func (m *Settings_VaultSecrets) GetRootKey() string
func (*Settings_VaultSecrets) GetTlsServerName ¶ added in v0.18.0
func (m *Settings_VaultSecrets) GetTlsServerName() string
func (*Settings_VaultSecrets) GetToken ¶ added in v0.18.0
func (m *Settings_VaultSecrets) GetToken() string
func (*Settings_VaultSecrets) ProtoMessage ¶
func (*Settings_VaultSecrets) ProtoMessage()
func (*Settings_VaultSecrets) Reset ¶
func (m *Settings_VaultSecrets) Reset()
func (*Settings_VaultSecrets) String ¶
func (m *Settings_VaultSecrets) String() string
func (*Settings_VaultSecrets) XXX_DiscardUnknown ¶
func (m *Settings_VaultSecrets) XXX_DiscardUnknown()
func (*Settings_VaultSecrets) XXX_Marshal ¶
func (m *Settings_VaultSecrets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Settings_VaultSecrets) XXX_Merge ¶
func (m *Settings_VaultSecrets) XXX_Merge(src proto.Message)
func (*Settings_VaultSecrets) XXX_Size ¶
func (m *Settings_VaultSecrets) XXX_Size() int
func (*Settings_VaultSecrets) XXX_Unmarshal ¶
func (m *Settings_VaultSecrets) XXX_Unmarshal(b []byte) error
type SetupEmitter ¶
type SetupEmitter interface { Register() error Settings() SettingsClient Snapshots(watchNamespaces []string, opts clients.WatchOpts) (<-chan *SetupSnapshot, <-chan error, error) }
func NewSetupEmitter ¶
func NewSetupEmitter(settingsClient SettingsClient) SetupEmitter
func NewSetupEmitterWithEmit ¶
func NewSetupEmitterWithEmit(settingsClient SettingsClient, emit <-chan struct{}) SetupEmitter
type SetupSimpleEmitter ¶ added in v0.13.21
type SetupSimpleEmitter interface {
Snapshots(ctx context.Context) (<-chan *SetupSnapshot, <-chan error, error)
}
func NewSetupSimpleEmitter ¶ added in v0.13.21
func NewSetupSimpleEmitter(aggregatedWatch clients.ResourceWatch) SetupSimpleEmitter
func NewSetupSimpleEmitterWithEmit ¶ added in v0.13.21
func NewSetupSimpleEmitterWithEmit(aggregatedWatch clients.ResourceWatch, emit <-chan struct{}) SetupSimpleEmitter
type SetupSnapshot ¶
type SetupSnapshot struct {
Settings SettingsList
}
func (SetupSnapshot) Clone ¶
func (s SetupSnapshot) Clone() SetupSnapshot
func (SetupSnapshot) Hash ¶
func (s SetupSnapshot) Hash() uint64
func (SetupSnapshot) HashFields ¶
func (s SetupSnapshot) HashFields() []zap.Field
func (SetupSnapshot) Stringer ¶
func (s SetupSnapshot) Stringer() SetupSnapshotStringer
type SetupSnapshotStringer ¶
func (SetupSnapshotStringer) String ¶
func (ss SetupSnapshotStringer) String() string
type SetupSyncDecider
deprecated
added in
v0.13.21
type SetupSyncDecider interface { SetupSyncer ShouldSync(old, new *SetupSnapshot) bool }
Deprecated: use SetupSyncDeciderWithContext
type SetupSyncDeciderWithContext ¶ added in v0.15.0
type SetupSyncDeciderWithContext interface { SetupSyncer ShouldSync(ctx context.Context, old, new *SetupSnapshot) bool }
type SetupSyncer ¶
type SetupSyncer interface {
Sync(context.Context, *SetupSnapshot) error
}
type SetupSyncers ¶
type SetupSyncers []SetupSyncer
func (SetupSyncers) Sync ¶
func (s SetupSyncers) Sync(ctx context.Context, snapshot *SetupSnapshot) error
type SslConfig ¶
type SslConfig struct { // Types that are valid to be assigned to SslSecrets: // *SslConfig_SecretRef // *SslConfig_SslFiles // *SslConfig_Sds SslSecrets isSslConfig_SslSecrets `protobuf_oneof:"ssl_secrets"` // optional. the SNI domains that should be considered for TLS connections SniDomains []string `protobuf:"bytes,3,rep,name=sni_domains,json=sniDomains,proto3" json:"sni_domains,omitempty"` // Verify that the Subject Alternative Name in the peer certificate is one of the specified values. // note that a root_ca must be provided if this option is used. VerifySubjectAltName []string `protobuf:"bytes,5,rep,name=verify_subject_alt_name,json=verifySubjectAltName,proto3" json:"verify_subject_alt_name,omitempty"` Parameters *SslParameters `protobuf:"bytes,6,opt,name=parameters,proto3" json:"parameters,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SslConfig contains the options necessary to configure a virtual host or listener to use TLS
func (*SslConfig) Descriptor ¶
func (*SslConfig) GetParameters ¶ added in v0.13.3
func (m *SslConfig) GetParameters() *SslParameters
func (*SslConfig) GetSecretRef ¶
func (m *SslConfig) GetSecretRef() *core.ResourceRef
func (*SslConfig) GetSniDomains ¶
func (*SslConfig) GetSslFiles ¶
func (*SslConfig) GetSslSecrets ¶
func (m *SslConfig) GetSslSecrets() isSslConfig_SslSecrets
func (*SslConfig) GetVerifySubjectAltName ¶ added in v0.11.2
func (*SslConfig) ProtoMessage ¶
func (*SslConfig) ProtoMessage()
func (*SslConfig) XXX_DiscardUnknown ¶
func (m *SslConfig) XXX_DiscardUnknown()
func (*SslConfig) XXX_Marshal ¶
func (*SslConfig) XXX_OneofFuncs ¶
func (*SslConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*SslConfig) XXX_Unmarshal ¶
type SslConfig_Sds ¶ added in v0.11.2
type SslConfig_Sds struct {
Sds *SDSConfig `protobuf:"bytes,4,opt,name=sds,proto3,oneof"`
}
func (*SslConfig_Sds) Equal ¶ added in v0.11.2
func (this *SslConfig_Sds) Equal(that interface{}) bool
type SslConfig_SecretRef ¶
type SslConfig_SecretRef struct {
SecretRef *core.ResourceRef `protobuf:"bytes,1,opt,name=secret_ref,json=secretRef,proto3,oneof"`
}
func (*SslConfig_SecretRef) Equal ¶
func (this *SslConfig_SecretRef) Equal(that interface{}) bool
type SslConfig_SslFiles ¶
type SslConfig_SslFiles struct {
SslFiles *SSLFiles `protobuf:"bytes,2,opt,name=ssl_files,json=sslFiles,proto3,oneof"`
}
func (*SslConfig_SslFiles) Equal ¶
func (this *SslConfig_SslFiles) Equal(that interface{}) bool
type SslParameters ¶ added in v0.13.3
type SslParameters struct { MinimumProtocolVersion SslParameters_ProtocolVersion `` /* 178-byte string literal not displayed */ MaximumProtocolVersion SslParameters_ProtocolVersion `` /* 178-byte string literal not displayed */ CipherSuites []string `protobuf:"bytes,3,rep,name=cipher_suites,json=cipherSuites,proto3" json:"cipher_suites,omitempty"` EcdhCurves []string `protobuf:"bytes,4,rep,name=ecdh_curves,json=ecdhCurves,proto3" json:"ecdh_curves,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
General TLS parameters. See the [envoy docs](https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/auth/cert.proto#envoy-api-enum-auth-tlsparameters-tlsprotocol) for more information on the meaning of these values.
func (*SslParameters) Descriptor ¶ added in v0.13.3
func (*SslParameters) Descriptor() ([]byte, []int)
func (*SslParameters) Equal ¶ added in v0.13.3
func (this *SslParameters) Equal(that interface{}) bool
func (*SslParameters) GetCipherSuites ¶ added in v0.13.3
func (m *SslParameters) GetCipherSuites() []string
func (*SslParameters) GetEcdhCurves ¶ added in v0.13.3
func (m *SslParameters) GetEcdhCurves() []string
func (*SslParameters) GetMaximumProtocolVersion ¶ added in v0.13.3
func (m *SslParameters) GetMaximumProtocolVersion() SslParameters_ProtocolVersion
func (*SslParameters) GetMinimumProtocolVersion ¶ added in v0.13.3
func (m *SslParameters) GetMinimumProtocolVersion() SslParameters_ProtocolVersion
func (*SslParameters) ProtoMessage ¶ added in v0.13.3
func (*SslParameters) ProtoMessage()
func (*SslParameters) Reset ¶ added in v0.13.3
func (m *SslParameters) Reset()
func (*SslParameters) String ¶ added in v0.13.3
func (m *SslParameters) String() string
func (*SslParameters) XXX_DiscardUnknown ¶ added in v0.13.3
func (m *SslParameters) XXX_DiscardUnknown()
func (*SslParameters) XXX_Marshal ¶ added in v0.13.3
func (m *SslParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SslParameters) XXX_Merge ¶ added in v0.13.3
func (m *SslParameters) XXX_Merge(src proto.Message)
func (*SslParameters) XXX_Size ¶ added in v0.13.3
func (m *SslParameters) XXX_Size() int
func (*SslParameters) XXX_Unmarshal ¶ added in v0.13.3
func (m *SslParameters) XXX_Unmarshal(b []byte) error
type SslParameters_ProtocolVersion ¶ added in v0.13.3
type SslParameters_ProtocolVersion int32
const ( // Envoy will choose the optimal TLS version. SslParameters_TLS_AUTO SslParameters_ProtocolVersion = 0 // TLS 1.0 SslParameters_TLSv1_0 SslParameters_ProtocolVersion = 1 // TLS 1.1 SslParameters_TLSv1_1 SslParameters_ProtocolVersion = 2 // TLS 1.2 SslParameters_TLSv1_2 SslParameters_ProtocolVersion = 3 // TLS 1.3 SslParameters_TLSv1_3 SslParameters_ProtocolVersion = 4 )
func (SslParameters_ProtocolVersion) EnumDescriptor ¶ added in v0.13.3
func (SslParameters_ProtocolVersion) EnumDescriptor() ([]byte, []int)
func (SslParameters_ProtocolVersion) String ¶ added in v0.13.3
func (x SslParameters_ProtocolVersion) String() string
type Subset ¶ added in v0.13.6
type Subset struct { Values map[string]string `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Subset) Descriptor ¶ added in v0.13.6
func (*Subset) ProtoMessage ¶ added in v0.13.6
func (*Subset) ProtoMessage()
func (*Subset) XXX_DiscardUnknown ¶ added in v0.13.6
func (m *Subset) XXX_DiscardUnknown()
func (*Subset) XXX_Marshal ¶ added in v0.13.6
func (*Subset) XXX_Unmarshal ¶ added in v0.13.6
type SubsetSpecGetter ¶ added in v0.13.6
type SubsetSpecGetter interface {
GetSubsetSpec() *plugins.SubsetSpec
}
type SubsetSpecMutator ¶ added in v0.13.6
type SubsetSpecMutator interface { SubsetSpecGetter SubsetSpecSetter }
type SubsetSpecSetter ¶ added in v0.13.6
type SubsetSpecSetter interface {
SetSubsetSpec(*plugins.SubsetSpec)
}
type TcpHost ¶ added in v0.18.0
type TcpHost struct { // the logical name of the tcp host. names must be unique for each tcp host within a listener Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Name of the destinations the gateway can route to. // Note: the destination spec and subsets are not supported in this context and will be ignored. Destination *RouteAction `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"` // If provided, the Gateway will serve TLS/SSL traffic for this set of routes SslConfig *SslConfig `protobuf:"bytes,3,opt,name=ssl_config,json=sslConfig,proto3" json:"ssl_config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TcpHost) Descriptor ¶ added in v0.18.0
func (*TcpHost) GetDestination ¶ added in v0.18.0
func (m *TcpHost) GetDestination() *RouteAction
func (*TcpHost) GetSslConfig ¶ added in v0.18.0
func (*TcpHost) ProtoMessage ¶ added in v0.18.0
func (*TcpHost) ProtoMessage()
func (*TcpHost) XXX_DiscardUnknown ¶ added in v0.18.0
func (m *TcpHost) XXX_DiscardUnknown()
func (*TcpHost) XXX_Marshal ¶ added in v0.18.0
func (*TcpHost) XXX_Unmarshal ¶ added in v0.18.0
type TcpListener ¶ added in v0.18.0
type TcpListener struct { // List of filter chains to match on for this listener TcpHosts []*TcpHost `protobuf:"bytes,1,rep,name=tcp_hosts,json=tcpHosts,proto3" json:"tcp_hosts,omitempty"` // Plugins contains top-level plugin configuration to be applied to a listener // Listener config is applied to traffic for the given listener. // Some configuration here can be overridden in // Virtual Host Plugin configuration or Route Plugin configuration Plugins *TcpListenerPlugins `protobuf:"bytes,8,opt,name=plugins,proto3" json:"plugins,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TcpListener) Descriptor ¶ added in v0.18.0
func (*TcpListener) Descriptor() ([]byte, []int)
func (*TcpListener) Equal ¶ added in v0.18.0
func (this *TcpListener) Equal(that interface{}) bool
func (*TcpListener) GetPlugins ¶ added in v0.18.0
func (m *TcpListener) GetPlugins() *TcpListenerPlugins
func (*TcpListener) GetTcpHosts ¶ added in v0.18.0
func (m *TcpListener) GetTcpHosts() []*TcpHost
func (*TcpListener) ProtoMessage ¶ added in v0.18.0
func (*TcpListener) ProtoMessage()
func (*TcpListener) Reset ¶ added in v0.18.0
func (m *TcpListener) Reset()
func (*TcpListener) String ¶ added in v0.18.0
func (m *TcpListener) String() string
func (*TcpListener) XXX_DiscardUnknown ¶ added in v0.18.0
func (m *TcpListener) XXX_DiscardUnknown()
func (*TcpListener) XXX_Marshal ¶ added in v0.18.0
func (m *TcpListener) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TcpListener) XXX_Merge ¶ added in v0.18.0
func (m *TcpListener) XXX_Merge(src proto.Message)
func (*TcpListener) XXX_Size ¶ added in v0.18.0
func (m *TcpListener) XXX_Size() int
func (*TcpListener) XXX_Unmarshal ¶ added in v0.18.0
func (m *TcpListener) XXX_Unmarshal(b []byte) error
type TcpListenerPlugins ¶ added in v0.16.0
type TcpListenerPlugins struct { TcpProxySettings *tcp.TcpProxySettings `protobuf:"bytes,3,opt,name=tcp_proxy_settings,json=tcpProxySettings,proto3" json:"tcp_proxy_settings,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Plugin-specific configuration that lives on tcp listeners
func (*TcpListenerPlugins) Descriptor ¶ added in v0.16.0
func (*TcpListenerPlugins) Descriptor() ([]byte, []int)
func (*TcpListenerPlugins) Equal ¶ added in v0.16.0
func (this *TcpListenerPlugins) Equal(that interface{}) bool
func (*TcpListenerPlugins) GetTcpProxySettings ¶ added in v0.16.0
func (m *TcpListenerPlugins) GetTcpProxySettings() *tcp.TcpProxySettings
func (*TcpListenerPlugins) ProtoMessage ¶ added in v0.16.0
func (*TcpListenerPlugins) ProtoMessage()
func (*TcpListenerPlugins) Reset ¶ added in v0.16.0
func (m *TcpListenerPlugins) Reset()
func (*TcpListenerPlugins) String ¶ added in v0.16.0
func (m *TcpListenerPlugins) String() string
func (*TcpListenerPlugins) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *TcpListenerPlugins) XXX_DiscardUnknown()
func (*TcpListenerPlugins) XXX_Marshal ¶ added in v0.16.0
func (m *TcpListenerPlugins) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TcpListenerPlugins) XXX_Merge ¶ added in v0.16.0
func (m *TcpListenerPlugins) XXX_Merge(src proto.Message)
func (*TcpListenerPlugins) XXX_Size ¶ added in v0.16.0
func (m *TcpListenerPlugins) XXX_Size() int
func (*TcpListenerPlugins) XXX_Unmarshal ¶ added in v0.16.0
func (m *TcpListenerPlugins) XXX_Unmarshal(b []byte) error
type TlsSecret ¶
type TlsSecret struct { // provided by `glooctl create secret tls` CertChain string `protobuf:"bytes,1,opt,name=cert_chain,json=certChain,proto3" json:"cert_chain,omitempty"` // provided by `glooctl create secret tls` PrivateKey string `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` // provided by `glooctl create secret tls` RootCa string `protobuf:"bytes,3,opt,name=root_ca,json=rootCa,proto3" json:"root_ca,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TlsSecret) Descriptor ¶
func (*TlsSecret) GetCertChain ¶
func (*TlsSecret) GetPrivateKey ¶
func (*TlsSecret) ProtoMessage ¶
func (*TlsSecret) ProtoMessage()
func (*TlsSecret) XXX_DiscardUnknown ¶
func (m *TlsSecret) XXX_DiscardUnknown()
func (*TlsSecret) XXX_Marshal ¶
func (*TlsSecret) XXX_Unmarshal ¶
type TransitionArtifactFunc ¶
Option to copy anything from the original to the desired before writing. Return value of false means don't update
type TransitionEndpointFunc ¶
Option to copy anything from the original to the desired before writing. Return value of false means don't update
type TransitionProxyFunc ¶
Option to copy anything from the original to the desired before writing. Return value of false means don't update
type TransitionSecretFunc ¶
Option to copy anything from the original to the desired before writing. Return value of false means don't update
type TransitionSettingsFunc ¶
Option to copy anything from the original to the desired before writing. Return value of false means don't update
type TransitionUpstreamFunc ¶
Option to copy anything from the original to the desired before writing. Return value of false means don't update
type TransitionUpstreamGroupFunc ¶ added in v0.13.6
type TransitionUpstreamGroupFunc func(original, desired *UpstreamGroup) (bool, error)
Option to copy anything from the original to the desired before writing. Return value of false means don't update
type Upstream ¶
type Upstream struct { // Type-specific configuration. Examples include static, kubernetes, and aws. // The type-specific config for the upstream is called a spec. UpstreamSpec *UpstreamSpec `protobuf:"bytes,2,opt,name=upstream_spec,json=upstreamSpec,proto3" json:"upstream_spec,omitempty"` // Status indicates the validation status of the resource. Status is read-only by clients, and set by gloo during validation Status core.Status `protobuf:"bytes,6,opt,name=status,proto3" json:"status" testdiff:"ignore"` // Metadata contains the object metadata for this resource Metadata core.Metadata `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata"` // Upstreams and their configuration can be automatically by Gloo Discovery // if this upstream is created or modified by Discovery, metadata about the operation will be placed here. DiscoveryMetadata *DiscoveryMetadata `protobuf:"bytes,8,opt,name=discovery_metadata,json=discoveryMetadata,proto3" json:"discovery_metadata,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Upstreams represent destination for routing HTTP requests. Upstreams can be compared to [clusters](https://www.envoyproxy.io/docs/envoy/latest/api-v1/cluster_manager/cluster.html?highlight=cluster) in Envoy terminology. Each upstream in Gloo has a type. Supported types include `static`, `kubernetes`, `aws`, `consul`, and more. Each upstream type is handled by a corresponding Gloo plugin.
func NewUpstream ¶
func (*Upstream) DeepCopyObject ¶
func (*Upstream) Descriptor ¶
func (*Upstream) GetDiscoveryMetadata ¶
func (m *Upstream) GetDiscoveryMetadata() *DiscoveryMetadata
func (*Upstream) GetMetadata ¶
func (*Upstream) GetObjectKind ¶
func (o *Upstream) GetObjectKind() schema.ObjectKind
func (*Upstream) GetUpstreamSpec ¶
func (m *Upstream) GetUpstreamSpec() *UpstreamSpec
func (*Upstream) GroupVersionKind ¶ added in v0.18.0
func (r *Upstream) GroupVersionKind() schema.GroupVersionKind
func (*Upstream) ProtoMessage ¶
func (*Upstream) ProtoMessage()
func (*Upstream) SetMetadata ¶
func (*Upstream) XXX_DiscardUnknown ¶
func (m *Upstream) XXX_DiscardUnknown()
func (*Upstream) XXX_Marshal ¶
func (*Upstream) XXX_Unmarshal ¶
type UpstreamClient ¶
type UpstreamClient interface { BaseClient() clients.ResourceClient Register() error Read(namespace, name string, opts clients.ReadOpts) (*Upstream, error) Write(resource *Upstream, opts clients.WriteOpts) (*Upstream, error) Delete(namespace, name string, opts clients.DeleteOpts) error List(namespace string, opts clients.ListOpts) (UpstreamList, error) UpstreamWatcher }
func NewUpstreamClient ¶
func NewUpstreamClient(rcFactory factory.ResourceClientFactory) (UpstreamClient, error)
func NewUpstreamClientWithBase ¶
func NewUpstreamClientWithBase(rc clients.ResourceClient) UpstreamClient
func NewUpstreamClientWithToken ¶
func NewUpstreamClientWithToken(rcFactory factory.ResourceClientFactory, token string) (UpstreamClient, error)
type UpstreamGroup ¶ added in v0.13.6
type UpstreamGroup struct { // The destinations that are part of this upstream group. Destinations []*WeightedDestination `protobuf:"bytes,1,rep,name=destinations,proto3" json:"destinations,omitempty"` // Status indicates the validation status of this resource. // Status is read-only by clients, and set by gloo during validation Status core.Status `protobuf:"bytes,6,opt,name=status,proto3" json:"status" testdiff:"ignore"` // Metadata contains the object metadata for this resource Metadata core.Metadata `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewUpstreamGroup ¶ added in v0.13.6
func NewUpstreamGroup(namespace, name string) *UpstreamGroup
func (*UpstreamGroup) DeepCopyObject ¶ added in v0.13.6
func (o *UpstreamGroup) DeepCopyObject() runtime.Object
func (*UpstreamGroup) Descriptor ¶ added in v0.13.6
func (*UpstreamGroup) Descriptor() ([]byte, []int)
func (*UpstreamGroup) Equal ¶ added in v0.13.6
func (this *UpstreamGroup) Equal(that interface{}) bool
func (*UpstreamGroup) GetDestinations ¶ added in v0.13.6
func (m *UpstreamGroup) GetDestinations() []*WeightedDestination
func (*UpstreamGroup) GetMetadata ¶ added in v0.13.6
func (m *UpstreamGroup) GetMetadata() core.Metadata
func (*UpstreamGroup) GetObjectKind ¶ added in v0.13.6
func (o *UpstreamGroup) GetObjectKind() schema.ObjectKind
func (*UpstreamGroup) GetStatus ¶ added in v0.13.6
func (m *UpstreamGroup) GetStatus() core.Status
func (*UpstreamGroup) GroupVersionKind ¶ added in v0.18.0
func (r *UpstreamGroup) GroupVersionKind() schema.GroupVersionKind
func (*UpstreamGroup) Hash ¶ added in v0.13.6
func (r *UpstreamGroup) Hash() uint64
func (*UpstreamGroup) ProtoMessage ¶ added in v0.13.6
func (*UpstreamGroup) ProtoMessage()
func (*UpstreamGroup) Reset ¶ added in v0.13.6
func (m *UpstreamGroup) Reset()
func (*UpstreamGroup) SetMetadata ¶ added in v0.13.6
func (r *UpstreamGroup) SetMetadata(meta core.Metadata)
func (*UpstreamGroup) SetStatus ¶ added in v0.13.6
func (r *UpstreamGroup) SetStatus(status core.Status)
func (*UpstreamGroup) String ¶ added in v0.13.6
func (m *UpstreamGroup) String() string
func (*UpstreamGroup) XXX_DiscardUnknown ¶ added in v0.13.6
func (m *UpstreamGroup) XXX_DiscardUnknown()
func (*UpstreamGroup) XXX_Marshal ¶ added in v0.13.6
func (m *UpstreamGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpstreamGroup) XXX_Merge ¶ added in v0.13.6
func (m *UpstreamGroup) XXX_Merge(src proto.Message)
func (*UpstreamGroup) XXX_Size ¶ added in v0.13.6
func (m *UpstreamGroup) XXX_Size() int
func (*UpstreamGroup) XXX_Unmarshal ¶ added in v0.13.6
func (m *UpstreamGroup) XXX_Unmarshal(b []byte) error
type UpstreamGroupClient ¶ added in v0.13.6
type UpstreamGroupClient interface { BaseClient() clients.ResourceClient Register() error Read(namespace, name string, opts clients.ReadOpts) (*UpstreamGroup, error) Write(resource *UpstreamGroup, opts clients.WriteOpts) (*UpstreamGroup, error) Delete(namespace, name string, opts clients.DeleteOpts) error List(namespace string, opts clients.ListOpts) (UpstreamGroupList, error) UpstreamGroupWatcher }
func NewUpstreamGroupClient ¶ added in v0.13.6
func NewUpstreamGroupClient(rcFactory factory.ResourceClientFactory) (UpstreamGroupClient, error)
func NewUpstreamGroupClientWithBase ¶ added in v0.13.6
func NewUpstreamGroupClientWithBase(rc clients.ResourceClient) UpstreamGroupClient
func NewUpstreamGroupClientWithToken ¶ added in v0.13.6
func NewUpstreamGroupClientWithToken(rcFactory factory.ResourceClientFactory, token string) (UpstreamGroupClient, error)
type UpstreamGroupList ¶ added in v0.13.6
type UpstreamGroupList []*UpstreamGroup
func (UpstreamGroupList) AsInputResources ¶ added in v0.13.6
func (list UpstreamGroupList) AsInputResources() resources.InputResourceList
func (UpstreamGroupList) AsInterfaces ¶ added in v0.13.6
func (list UpstreamGroupList) AsInterfaces() []interface{}
func (UpstreamGroupList) AsResources ¶ added in v0.13.6
func (list UpstreamGroupList) AsResources() resources.ResourceList
func (UpstreamGroupList) Clone ¶ added in v0.13.6
func (list UpstreamGroupList) Clone() UpstreamGroupList
func (UpstreamGroupList) Each ¶ added in v0.13.6
func (list UpstreamGroupList) Each(f func(element *UpstreamGroup))
func (UpstreamGroupList) EachResource ¶ added in v0.13.21
func (list UpstreamGroupList) EachResource(f func(element resources.Resource))
func (UpstreamGroupList) Find ¶ added in v0.13.6
func (list UpstreamGroupList) Find(namespace, name string) (*UpstreamGroup, error)
namespace is optional, if left empty, names can collide if the list contains more than one with the same name
func (UpstreamGroupList) Names ¶ added in v0.13.6
func (list UpstreamGroupList) Names() []string
func (UpstreamGroupList) NamespacesDotNames ¶ added in v0.13.6
func (list UpstreamGroupList) NamespacesDotNames() []string
func (UpstreamGroupList) Sort ¶ added in v0.13.6
func (list UpstreamGroupList) Sort() UpstreamGroupList
type UpstreamGroupReconciler ¶ added in v0.13.6
type UpstreamGroupReconciler interface {
Reconcile(namespace string, desiredResources UpstreamGroupList, transition TransitionUpstreamGroupFunc, opts clients.ListOpts) error
}
func NewUpstreamGroupReconciler ¶ added in v0.13.6
func NewUpstreamGroupReconciler(client UpstreamGroupClient) UpstreamGroupReconciler
type UpstreamGroupWatcher ¶ added in v0.13.21
type UpstreamList ¶
type UpstreamList []*Upstream
func (UpstreamList) AsInputResources ¶
func (list UpstreamList) AsInputResources() resources.InputResourceList
func (UpstreamList) AsInterfaces ¶
func (list UpstreamList) AsInterfaces() []interface{}
func (UpstreamList) AsResources ¶
func (list UpstreamList) AsResources() resources.ResourceList
func (UpstreamList) Clone ¶
func (list UpstreamList) Clone() UpstreamList
func (UpstreamList) Each ¶
func (list UpstreamList) Each(f func(element *Upstream))
func (UpstreamList) EachResource ¶ added in v0.13.21
func (list UpstreamList) EachResource(f func(element resources.Resource))
func (UpstreamList) Find ¶
func (list UpstreamList) Find(namespace, name string) (*Upstream, error)
namespace is optional, if left empty, names can collide if the list contains more than one with the same name
func (UpstreamList) Names ¶
func (list UpstreamList) Names() []string
func (UpstreamList) NamespacesDotNames ¶
func (list UpstreamList) NamespacesDotNames() []string
func (UpstreamList) Sort ¶
func (list UpstreamList) Sort() UpstreamList
type UpstreamReconciler ¶
type UpstreamReconciler interface {
Reconcile(namespace string, desiredResources UpstreamList, transition TransitionUpstreamFunc, opts clients.ListOpts) error
}
func NewUpstreamReconciler ¶
func NewUpstreamReconciler(client UpstreamClient) UpstreamReconciler
type UpstreamSpec ¶
type UpstreamSpec struct { SslConfig *UpstreamSslConfig `protobuf:"bytes,6,opt,name=ssl_config,json=sslConfig,proto3" json:"ssl_config,omitempty"` // Circuit breakers for this upstream. if not set, the defaults ones from the Gloo settings will be used. // if those are not set, [envoy's defaults](https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/cluster/circuit_breaker.proto#envoy-api-msg-cluster-circuitbreakers) // will be used. CircuitBreakers *CircuitBreakerConfig `protobuf:"bytes,7,opt,name=circuit_breakers,json=circuitBreakers,proto3" json:"circuit_breakers,omitempty"` LoadBalancerConfig *LoadBalancerConfig `protobuf:"bytes,8,opt,name=load_balancer_config,json=loadBalancerConfig,proto3" json:"load_balancer_config,omitempty"` ConnectionConfig *ConnectionConfig `protobuf:"bytes,9,opt,name=connection_config,json=connectionConfig,proto3" json:"connection_config,omitempty"` // Use http2 when communicating with this upstream // this field is evaluated `true` for upstreams // with a grpc service spec UseHttp2 bool `protobuf:"varint,10,opt,name=use_http2,json=useHttp2,proto3" json:"use_http2,omitempty"` // Note to developers: new Upstream Plugins must be added to this oneof field // to be usable by Gloo. // // Types that are valid to be assigned to UpstreamType: // *UpstreamSpec_Kube // *UpstreamSpec_Static // *UpstreamSpec_Pipe // *UpstreamSpec_Aws // *UpstreamSpec_Azure // *UpstreamSpec_Consul // *UpstreamSpec_AwsEc2 UpstreamType isUpstreamSpec_UpstreamType `protobuf_oneof:"upstream_type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Each upstream in Gloo has a type. Supported types include `static`, `kubernetes`, `aws`, `consul`, and more. Each upstream type is handled by a corresponding Gloo plugin.
func (*UpstreamSpec) Descriptor ¶
func (*UpstreamSpec) Descriptor() ([]byte, []int)
func (*UpstreamSpec) Equal ¶
func (this *UpstreamSpec) Equal(that interface{}) bool
func (*UpstreamSpec) GetAws ¶
func (m *UpstreamSpec) GetAws() *aws.UpstreamSpec
func (*UpstreamSpec) GetAwsEc2 ¶ added in v0.17.1
func (m *UpstreamSpec) GetAwsEc2() *ec2.UpstreamSpec
func (*UpstreamSpec) GetAzure ¶
func (m *UpstreamSpec) GetAzure() *azure.UpstreamSpec
func (*UpstreamSpec) GetCircuitBreakers ¶ added in v0.13.3
func (m *UpstreamSpec) GetCircuitBreakers() *CircuitBreakerConfig
func (*UpstreamSpec) GetConnectionConfig ¶ added in v0.13.15
func (m *UpstreamSpec) GetConnectionConfig() *ConnectionConfig
func (*UpstreamSpec) GetConsul ¶
func (m *UpstreamSpec) GetConsul() *consul.UpstreamSpec
func (*UpstreamSpec) GetKube ¶
func (m *UpstreamSpec) GetKube() *kubernetes.UpstreamSpec
func (*UpstreamSpec) GetLoadBalancerConfig ¶ added in v0.13.12
func (m *UpstreamSpec) GetLoadBalancerConfig() *LoadBalancerConfig
func (*UpstreamSpec) GetPipe ¶ added in v0.18.2
func (m *UpstreamSpec) GetPipe() *pipe.UpstreamSpec
func (*UpstreamSpec) GetSslConfig ¶
func (m *UpstreamSpec) GetSslConfig() *UpstreamSslConfig
func (*UpstreamSpec) GetStatic ¶
func (m *UpstreamSpec) GetStatic() *static.UpstreamSpec
func (*UpstreamSpec) GetUpstreamType ¶
func (m *UpstreamSpec) GetUpstreamType() isUpstreamSpec_UpstreamType
func (*UpstreamSpec) GetUseHttp2 ¶ added in v0.15.0
func (m *UpstreamSpec) GetUseHttp2() bool
func (*UpstreamSpec) ProtoMessage ¶
func (*UpstreamSpec) ProtoMessage()
func (*UpstreamSpec) Reset ¶
func (m *UpstreamSpec) Reset()
func (*UpstreamSpec) String ¶
func (m *UpstreamSpec) String() string
func (*UpstreamSpec) XXX_DiscardUnknown ¶
func (m *UpstreamSpec) XXX_DiscardUnknown()
func (*UpstreamSpec) XXX_Marshal ¶
func (m *UpstreamSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpstreamSpec) XXX_Merge ¶
func (m *UpstreamSpec) XXX_Merge(src proto.Message)
func (*UpstreamSpec) XXX_OneofFuncs ¶
func (*UpstreamSpec) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*UpstreamSpec) XXX_Size ¶
func (m *UpstreamSpec) XXX_Size() int
func (*UpstreamSpec) XXX_Unmarshal ¶
func (m *UpstreamSpec) XXX_Unmarshal(b []byte) error
type UpstreamSpec_Aws ¶
type UpstreamSpec_Aws struct {
Aws *aws.UpstreamSpec `protobuf:"bytes,2,opt,name=aws,proto3,oneof"`
}
func (*UpstreamSpec_Aws) Equal ¶
func (this *UpstreamSpec_Aws) Equal(that interface{}) bool
type UpstreamSpec_AwsEc2 ¶ added in v0.17.1
type UpstreamSpec_AwsEc2 struct {
AwsEc2 *ec2.UpstreamSpec `protobuf:"bytes,11,opt,name=aws_ec2,json=awsEc2,proto3,oneof"`
}
func (*UpstreamSpec_AwsEc2) Equal ¶ added in v0.17.1
func (this *UpstreamSpec_AwsEc2) Equal(that interface{}) bool
type UpstreamSpec_Azure ¶
type UpstreamSpec_Azure struct {
Azure *azure.UpstreamSpec `protobuf:"bytes,3,opt,name=azure,proto3,oneof"`
}
func (*UpstreamSpec_Azure) Equal ¶
func (this *UpstreamSpec_Azure) Equal(that interface{}) bool
type UpstreamSpec_Consul ¶
type UpstreamSpec_Consul struct {
Consul *consul.UpstreamSpec `protobuf:"bytes,5,opt,name=consul,proto3,oneof"`
}
func (*UpstreamSpec_Consul) Equal ¶
func (this *UpstreamSpec_Consul) Equal(that interface{}) bool
func (*UpstreamSpec_Consul) GetServiceSpec ¶ added in v0.13.6
func (us *UpstreamSpec_Consul) GetServiceSpec() *plugins.ServiceSpec
func (*UpstreamSpec_Consul) GetSubsetSpec ¶ added in v0.17.4
func (us *UpstreamSpec_Consul) GetSubsetSpec() *plugins.SubsetSpec
func (*UpstreamSpec_Consul) SetServiceSpec ¶ added in v0.13.6
func (us *UpstreamSpec_Consul) SetServiceSpec(spec *plugins.ServiceSpec)
type UpstreamSpec_Kube ¶
type UpstreamSpec_Kube struct {
Kube *kubernetes.UpstreamSpec `protobuf:"bytes,1,opt,name=kube,proto3,oneof"`
}
func (*UpstreamSpec_Kube) Equal ¶
func (this *UpstreamSpec_Kube) Equal(that interface{}) bool
func (*UpstreamSpec_Kube) GetServiceSpec ¶
func (us *UpstreamSpec_Kube) GetServiceSpec() *plugins.ServiceSpec
Add these two methods to any upstream spec that supports a ServiceSpec describing the service represented by the upstream
func (*UpstreamSpec_Kube) GetSubsetSpec ¶ added in v0.13.6
func (us *UpstreamSpec_Kube) GetSubsetSpec() *plugins.SubsetSpec
func (*UpstreamSpec_Kube) SetServiceSpec ¶
func (us *UpstreamSpec_Kube) SetServiceSpec(spec *plugins.ServiceSpec)
func (*UpstreamSpec_Kube) SetSubsetSpec ¶ added in v0.13.6
func (us *UpstreamSpec_Kube) SetSubsetSpec(spec *plugins.SubsetSpec)
type UpstreamSpec_Pipe ¶ added in v0.18.2
type UpstreamSpec_Pipe struct {
Pipe *pipe.UpstreamSpec `protobuf:"bytes,12,opt,name=pipe,proto3,oneof"`
}
func (*UpstreamSpec_Pipe) Equal ¶ added in v0.18.2
func (this *UpstreamSpec_Pipe) Equal(that interface{}) bool
func (*UpstreamSpec_Pipe) GetServiceSpec ¶ added in v0.18.2
func (us *UpstreamSpec_Pipe) GetServiceSpec() *plugins.ServiceSpec
func (*UpstreamSpec_Pipe) SetServiceSpec ¶ added in v0.18.2
func (us *UpstreamSpec_Pipe) SetServiceSpec(spec *plugins.ServiceSpec)
type UpstreamSpec_Static ¶
type UpstreamSpec_Static struct {
Static *static.UpstreamSpec `protobuf:"bytes,4,opt,name=static,proto3,oneof"`
}
func (*UpstreamSpec_Static) Equal ¶
func (this *UpstreamSpec_Static) Equal(that interface{}) bool
func (*UpstreamSpec_Static) GetServiceSpec ¶
func (us *UpstreamSpec_Static) GetServiceSpec() *plugins.ServiceSpec
func (*UpstreamSpec_Static) SetServiceSpec ¶
func (us *UpstreamSpec_Static) SetServiceSpec(spec *plugins.ServiceSpec)
type UpstreamSslConfig ¶
type UpstreamSslConfig struct { // Types that are valid to be assigned to SslSecrets: // *UpstreamSslConfig_SecretRef // *UpstreamSslConfig_SslFiles // *UpstreamSslConfig_Sds SslSecrets isUpstreamSslConfig_SslSecrets `protobuf_oneof:"ssl_secrets"` // optional. the SNI domains that should be considered for TLS connections Sni string `protobuf:"bytes,3,opt,name=sni,proto3" json:"sni,omitempty"` // Verify that the Subject Alternative Name in the peer certificate is one of the specified values. // note that a root_ca must be provided if this option is used. VerifySubjectAltName []string `protobuf:"bytes,5,rep,name=verify_subject_alt_name,json=verifySubjectAltName,proto3" json:"verify_subject_alt_name,omitempty"` Parameters *SslParameters `protobuf:"bytes,7,opt,name=parameters,proto3" json:"parameters,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SslConfig contains the options necessary to configure a virtual host or listener to use TLS
func (*UpstreamSslConfig) Descriptor ¶
func (*UpstreamSslConfig) Descriptor() ([]byte, []int)
func (*UpstreamSslConfig) Equal ¶
func (this *UpstreamSslConfig) Equal(that interface{}) bool
func (*UpstreamSslConfig) GetParameters ¶ added in v0.13.3
func (m *UpstreamSslConfig) GetParameters() *SslParameters
func (*UpstreamSslConfig) GetSds ¶ added in v0.11.2
func (m *UpstreamSslConfig) GetSds() *SDSConfig
func (*UpstreamSslConfig) GetSecretRef ¶
func (m *UpstreamSslConfig) GetSecretRef() *core.ResourceRef
func (*UpstreamSslConfig) GetSni ¶
func (m *UpstreamSslConfig) GetSni() string
func (*UpstreamSslConfig) GetSslFiles ¶
func (m *UpstreamSslConfig) GetSslFiles() *SSLFiles
func (*UpstreamSslConfig) GetSslSecrets ¶
func (m *UpstreamSslConfig) GetSslSecrets() isUpstreamSslConfig_SslSecrets
func (*UpstreamSslConfig) GetVerifySubjectAltName ¶ added in v0.11.2
func (m *UpstreamSslConfig) GetVerifySubjectAltName() []string
func (*UpstreamSslConfig) ProtoMessage ¶
func (*UpstreamSslConfig) ProtoMessage()
func (*UpstreamSslConfig) Reset ¶
func (m *UpstreamSslConfig) Reset()
func (*UpstreamSslConfig) String ¶
func (m *UpstreamSslConfig) String() string
func (*UpstreamSslConfig) XXX_DiscardUnknown ¶
func (m *UpstreamSslConfig) XXX_DiscardUnknown()
func (*UpstreamSslConfig) XXX_Marshal ¶
func (m *UpstreamSslConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpstreamSslConfig) XXX_Merge ¶
func (m *UpstreamSslConfig) XXX_Merge(src proto.Message)
func (*UpstreamSslConfig) XXX_OneofFuncs ¶
func (*UpstreamSslConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*UpstreamSslConfig) XXX_Size ¶
func (m *UpstreamSslConfig) XXX_Size() int
func (*UpstreamSslConfig) XXX_Unmarshal ¶
func (m *UpstreamSslConfig) XXX_Unmarshal(b []byte) error
type UpstreamSslConfig_Sds ¶ added in v0.11.2
type UpstreamSslConfig_Sds struct {
Sds *SDSConfig `protobuf:"bytes,4,opt,name=sds,proto3,oneof"`
}
func (*UpstreamSslConfig_Sds) Equal ¶ added in v0.11.2
func (this *UpstreamSslConfig_Sds) Equal(that interface{}) bool
type UpstreamSslConfig_SecretRef ¶
type UpstreamSslConfig_SecretRef struct {
SecretRef *core.ResourceRef `protobuf:"bytes,1,opt,name=secret_ref,json=secretRef,proto3,oneof"`
}
func (*UpstreamSslConfig_SecretRef) Equal ¶
func (this *UpstreamSslConfig_SecretRef) Equal(that interface{}) bool
type UpstreamSslConfig_SslFiles ¶
type UpstreamSslConfig_SslFiles struct {
SslFiles *SSLFiles `protobuf:"bytes,2,opt,name=ssl_files,json=sslFiles,proto3,oneof"`
}
func (*UpstreamSslConfig_SslFiles) Equal ¶
func (this *UpstreamSslConfig_SslFiles) Equal(that interface{}) bool
type UpstreamWatcher ¶ added in v0.13.21
type VirtualHost ¶
type VirtualHost struct { // the logical name of the virtual host. names must be unique for each virtual host within a listener Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The list of domains (i.e.: matching the `Host` header of a request) that belong to this virtual host. // Note that the wildcard will not match the empty string. e.g. “*-bar.foo.com” will match “baz-bar.foo.com” // but not “-bar.foo.com”. Additionally, a special entry “*” is allowed which will match any host/authority header. // Only a single virtual host in the entire route configuration can match on “*”. A domain must be unique across all // virtual hosts or the config will be invalidated by Gloo // Domains on virtual hosts obey the same rules as [Envoy Virtual Hosts](https://github.com/envoyproxy/envoy/blob/master/api/envoy/api/v2/route/route.proto) Domains []string `protobuf:"bytes,2,rep,name=domains,proto3" json:"domains,omitempty"` // The list of HTTP routes define routing actions to be taken for incoming HTTP requests whose host header matches // this virtual host. If the request matches more than one route in the list, the first route matched will be selected. // If the list of routes is empty, the virtual host will be ignored by Gloo. Routes []*Route `protobuf:"bytes,3,rep,name=routes,proto3" json:"routes,omitempty"` // Virtual host plugins contain additional configuration to be applied to all traffic served by the Virtual Host. // Some configuration here can be overridden by Route Plugins. VirtualHostPlugins *VirtualHostPlugins `protobuf:"bytes,4,opt,name=virtual_host_plugins,json=virtualHostPlugins,proto3" json:"virtual_host_plugins,omitempty"` // Defines a CORS policy for the virtual host // If a CORS policy is also defined on the route matched by the request, the policies are merged. // DEPRECATED set cors policy through the Virtual Host Plugin CorsPolicy *CorsPolicy `protobuf:"bytes,5,opt,name=cors_policy,json=corsPolicy,proto3" json:"cors_policy,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Virtual Hosts group an ordered list of routes under one or more domains. Each Virtual Host has a logical name, which must be unique for the listener. An HTTP request is first matched to a virtual host based on its host header, then to a route within the virtual host. If a request is not matched to any virtual host or a route therein, the target proxy will reply with a 404.
func (*VirtualHost) Descriptor ¶
func (*VirtualHost) Descriptor() ([]byte, []int)
func (*VirtualHost) Equal ¶
func (this *VirtualHost) Equal(that interface{}) bool
func (*VirtualHost) GetCorsPolicy ¶ added in v0.13.0
func (m *VirtualHost) GetCorsPolicy() *CorsPolicy
func (*VirtualHost) GetDomains ¶
func (m *VirtualHost) GetDomains() []string
func (*VirtualHost) GetName ¶
func (m *VirtualHost) GetName() string
func (*VirtualHost) GetRoutes ¶
func (m *VirtualHost) GetRoutes() []*Route
func (*VirtualHost) GetVirtualHostPlugins ¶
func (m *VirtualHost) GetVirtualHostPlugins() *VirtualHostPlugins
func (*VirtualHost) ProtoMessage ¶
func (*VirtualHost) ProtoMessage()
func (*VirtualHost) Reset ¶
func (m *VirtualHost) Reset()
func (*VirtualHost) String ¶
func (m *VirtualHost) String() string
func (*VirtualHost) XXX_DiscardUnknown ¶
func (m *VirtualHost) XXX_DiscardUnknown()
func (*VirtualHost) XXX_Marshal ¶
func (m *VirtualHost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VirtualHost) XXX_Merge ¶
func (m *VirtualHost) XXX_Merge(src proto.Message)
func (*VirtualHost) XXX_Size ¶
func (m *VirtualHost) XXX_Size() int
func (*VirtualHost) XXX_Unmarshal ¶
func (m *VirtualHost) XXX_Unmarshal(b []byte) error
type VirtualHostPlugins ¶
type VirtualHostPlugins struct { Extensions *Extensions `protobuf:"bytes,1,opt,name=extensions,proto3" json:"extensions,omitempty"` Retries *retries.RetryPolicy `protobuf:"bytes,5,opt,name=retries,proto3" json:"retries,omitempty"` Stats *stats.Stats `protobuf:"bytes,10,opt,name=stats,proto3" json:"stats,omitempty"` // Append/Remove headers on Requests or Responses on all routes contained in this Virtual Host HeaderManipulation *headers.HeaderManipulation `protobuf:"bytes,2,opt,name=header_manipulation,json=headerManipulation,proto3" json:"header_manipulation,omitempty"` // Defines a CORS policy for the virtual host // If a CORS policy is also defined on the route matched by the request, the policies are merged. Cors *cors.CorsPolicy `protobuf:"bytes,3,opt,name=cors,proto3" json:"cors,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Plugin-specific configuration that lives on virtual hosts Each VirtualHostPlugin object contains configuration for a specific plugin Note to developers: new Virtual Host Plugins must be added to this struct to be usable by Gloo.
func (*VirtualHostPlugins) Descriptor ¶
func (*VirtualHostPlugins) Descriptor() ([]byte, []int)
func (*VirtualHostPlugins) Equal ¶
func (this *VirtualHostPlugins) Equal(that interface{}) bool
func (*VirtualHostPlugins) GetCors ¶ added in v0.18.17
func (m *VirtualHostPlugins) GetCors() *cors.CorsPolicy
func (*VirtualHostPlugins) GetExtensions ¶
func (m *VirtualHostPlugins) GetExtensions() *Extensions
func (*VirtualHostPlugins) GetHeaderManipulation ¶ added in v0.18.7
func (m *VirtualHostPlugins) GetHeaderManipulation() *headers.HeaderManipulation
func (*VirtualHostPlugins) GetRetries ¶ added in v0.13.8
func (m *VirtualHostPlugins) GetRetries() *retries.RetryPolicy
func (*VirtualHostPlugins) GetStats ¶ added in v0.14.0
func (m *VirtualHostPlugins) GetStats() *stats.Stats
func (*VirtualHostPlugins) ProtoMessage ¶
func (*VirtualHostPlugins) ProtoMessage()
func (*VirtualHostPlugins) Reset ¶
func (m *VirtualHostPlugins) Reset()
func (*VirtualHostPlugins) String ¶
func (m *VirtualHostPlugins) String() string
func (*VirtualHostPlugins) XXX_DiscardUnknown ¶
func (m *VirtualHostPlugins) XXX_DiscardUnknown()
func (*VirtualHostPlugins) XXX_Marshal ¶
func (m *VirtualHostPlugins) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VirtualHostPlugins) XXX_Merge ¶
func (m *VirtualHostPlugins) XXX_Merge(src proto.Message)
func (*VirtualHostPlugins) XXX_Size ¶
func (m *VirtualHostPlugins) XXX_Size() int
func (*VirtualHostPlugins) XXX_Unmarshal ¶
func (m *VirtualHostPlugins) XXX_Unmarshal(b []byte) error
type WeightedDestination ¶
type WeightedDestination struct { Destination *Destination `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"` // Weight must be greater than zero // Routing to each destination will be balanced by the ratio of the destination's weight to the total weight on a route Weight uint32 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"` // Apply configuration to traffic that is sent to this weighted destination WeighedDestinationPlugins *WeightedDestinationPlugins `` /* 138-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
WeightedDestination attaches a weight to a single destination.
func (*WeightedDestination) Descriptor ¶
func (*WeightedDestination) Descriptor() ([]byte, []int)
func (*WeightedDestination) Equal ¶
func (this *WeightedDestination) Equal(that interface{}) bool
func (*WeightedDestination) GetDestination ¶
func (m *WeightedDestination) GetDestination() *Destination
func (*WeightedDestination) GetWeighedDestinationPlugins ¶ added in v0.18.7
func (m *WeightedDestination) GetWeighedDestinationPlugins() *WeightedDestinationPlugins
func (*WeightedDestination) GetWeight ¶
func (m *WeightedDestination) GetWeight() uint32
func (*WeightedDestination) ProtoMessage ¶
func (*WeightedDestination) ProtoMessage()
func (*WeightedDestination) Reset ¶
func (m *WeightedDestination) Reset()
func (*WeightedDestination) String ¶
func (m *WeightedDestination) String() string
func (*WeightedDestination) XXX_DiscardUnknown ¶
func (m *WeightedDestination) XXX_DiscardUnknown()
func (*WeightedDestination) XXX_Marshal ¶
func (m *WeightedDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WeightedDestination) XXX_Merge ¶
func (m *WeightedDestination) XXX_Merge(src proto.Message)
func (*WeightedDestination) XXX_Size ¶
func (m *WeightedDestination) XXX_Size() int
func (*WeightedDestination) XXX_Unmarshal ¶
func (m *WeightedDestination) XXX_Unmarshal(b []byte) error
type WeightedDestinationPlugins ¶ added in v0.18.7
type WeightedDestinationPlugins struct { // Append/Remove headers on Requests or Responses to/from this Weighted Destination HeaderManipulation *headers.HeaderManipulation `protobuf:"bytes,1,opt,name=header_manipulation,json=headerManipulation,proto3" json:"header_manipulation,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Plugin-specific configuration that is applied when a specific weighted destination is selected for routing.
func (*WeightedDestinationPlugins) Descriptor ¶ added in v0.18.7
func (*WeightedDestinationPlugins) Descriptor() ([]byte, []int)
func (*WeightedDestinationPlugins) Equal ¶ added in v0.18.7
func (this *WeightedDestinationPlugins) Equal(that interface{}) bool
func (*WeightedDestinationPlugins) GetHeaderManipulation ¶ added in v0.18.7
func (m *WeightedDestinationPlugins) GetHeaderManipulation() *headers.HeaderManipulation
func (*WeightedDestinationPlugins) ProtoMessage ¶ added in v0.18.7
func (*WeightedDestinationPlugins) ProtoMessage()
func (*WeightedDestinationPlugins) Reset ¶ added in v0.18.7
func (m *WeightedDestinationPlugins) Reset()
func (*WeightedDestinationPlugins) String ¶ added in v0.18.7
func (m *WeightedDestinationPlugins) String() string
func (*WeightedDestinationPlugins) XXX_DiscardUnknown ¶ added in v0.18.7
func (m *WeightedDestinationPlugins) XXX_DiscardUnknown()
func (*WeightedDestinationPlugins) XXX_Marshal ¶ added in v0.18.7
func (m *WeightedDestinationPlugins) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WeightedDestinationPlugins) XXX_Merge ¶ added in v0.18.7
func (m *WeightedDestinationPlugins) XXX_Merge(src proto.Message)
func (*WeightedDestinationPlugins) XXX_Size ¶ added in v0.18.7
func (m *WeightedDestinationPlugins) XXX_Size() int
func (*WeightedDestinationPlugins) XXX_Unmarshal ¶ added in v0.18.7
func (m *WeightedDestinationPlugins) XXX_Unmarshal(b []byte) error
Source Files ¶
- api_event_loop.sk.go
- api_simple_event_loop.sk.go
- api_snapshot.sk.go
- api_snapshot_emitter.sk.go
- api_snapshot_simple_emitter.sk.go
- artifact.pb.go
- artifact.sk.go
- artifact_client.sk.go
- artifact_reconciler.sk.go
- circuit_breaker.pb.go
- connection.pb.go
- discovery_event_loop.sk.go
- discovery_simple_event_loop.sk.go
- discovery_snapshot.sk.go
- discovery_snapshot_emitter.sk.go
- discovery_snapshot_simple_emitter.sk.go
- eds_event_loop.sk.go
- eds_simple_event_loop.sk.go
- eds_snapshot.sk.go
- eds_snapshot_emitter.sk.go
- eds_snapshot_simple_emitter.sk.go
- endpoint.pb.go
- endpoint.sk.go
- endpoint_client.sk.go
- endpoint_reconciler.sk.go
- extensions.pb.go
- extensions_service_spec.go
- extensions_subsets.go
- load_balancer.pb.go
- plugins.pb.go
- proxy.pb.go
- proxy.sk.go
- proxy_client.sk.go
- proxy_reconciler.sk.go
- secret.pb.go
- secret.sk.go
- secret_client.sk.go
- secret_reconciler.sk.go
- settings.pb.go
- settings.sk.go
- settings_client.sk.go
- settings_reconciler.sk.go
- setup_event_loop.sk.go
- setup_simple_event_loop.sk.go
- setup_snapshot.sk.go
- setup_snapshot_emitter.sk.go
- setup_snapshot_simple_emitter.sk.go
- ssl.pb.go
- subset.pb.go
- upstream.pb.go
- upstream.sk.go
- upstream_client.sk.go
- upstream_group.sk.go
- upstream_group_client.sk.go
- upstream_group_reconciler.sk.go
- upstream_mod.go
- upstream_reconciler.sk.go