Documentation ¶
Index ¶
- Variables
- func ConfigEntryToStructs(s *ConfigEntry) structs.ConfigEntry
- func CookieConfigFromStructs(t *structs.CookieConfig, s *CookieConfig)
- func CookieConfigToStructs(s *CookieConfig, t *structs.CookieConfig)
- func DestinationConfigFromStructs(t *structs.DestinationConfig, s *DestinationConfig)
- func DestinationConfigToStructs(s *DestinationConfig, t *structs.DestinationConfig)
- func ExposeConfigFromStructs(t *structs.ExposeConfig, s *ExposeConfig)
- func ExposeConfigToStructs(s *ExposeConfig, t *structs.ExposeConfig)
- func ExposePathFromStructs(t *structs.ExposePath, s *ExposePath)
- func ExposePathToStructs(s *ExposePath, t *structs.ExposePath)
- func GatewayServiceTLSConfigFromStructs(t *structs.GatewayServiceTLSConfig, s *GatewayServiceTLSConfig)
- func GatewayServiceTLSConfigToStructs(s *GatewayServiceTLSConfig, t *structs.GatewayServiceTLSConfig)
- func GatewayTLSConfigFromStructs(t *structs.GatewayTLSConfig, s *GatewayTLSConfig)
- func GatewayTLSConfigToStructs(s *GatewayTLSConfig, t *structs.GatewayTLSConfig)
- func GatewayTLSSDSConfigFromStructs(t *structs.GatewayTLSSDSConfig, s *GatewayTLSSDSConfig)
- func GatewayTLSSDSConfigToStructs(s *GatewayTLSSDSConfig, t *structs.GatewayTLSSDSConfig)
- func HTTPHeaderModifiersFromStructs(t *structs.HTTPHeaderModifiers, s *HTTPHeaderModifiers)
- func HTTPHeaderModifiersToStructs(s *HTTPHeaderModifiers, t *structs.HTTPHeaderModifiers)
- func HashPolicyFromStructs(t *structs.HashPolicy, s *HashPolicy)
- func HashPolicyToStructs(s *HashPolicy, t *structs.HashPolicy)
- func IngressGatewayFromStructs(t *structs.IngressGatewayConfigEntry, s *IngressGateway)
- func IngressGatewayToStructs(s *IngressGateway, t *structs.IngressGatewayConfigEntry)
- func IngressListenerFromStructs(t *structs.IngressListener, s *IngressListener)
- func IngressListenerToStructs(s *IngressListener, t *structs.IngressListener)
- func IngressServiceConfigFromStructs(t *structs.IngressServiceConfig, s *IngressServiceConfig)
- func IngressServiceConfigToStructs(s *IngressServiceConfig, t *structs.IngressServiceConfig)
- func IngressServiceFromStructs(t *structs.IngressService, s *IngressService)
- func IngressServiceToStructs(s *IngressService, t *structs.IngressService)
- func IntentionHTTPHeaderPermissionFromStructs(t *structs.IntentionHTTPHeaderPermission, s *IntentionHTTPHeaderPermission)
- func IntentionHTTPHeaderPermissionToStructs(s *IntentionHTTPHeaderPermission, t *structs.IntentionHTTPHeaderPermission)
- func IntentionHTTPPermissionFromStructs(t *structs.IntentionHTTPPermission, s *IntentionHTTPPermission)
- func IntentionHTTPPermissionToStructs(s *IntentionHTTPPermission, t *structs.IntentionHTTPPermission)
- func IntentionPermissionFromStructs(t *structs.IntentionPermission, s *IntentionPermission)
- func IntentionPermissionToStructs(s *IntentionPermission, t *structs.IntentionPermission)
- func LeastRequestConfigFromStructs(t *structs.LeastRequestConfig, s *LeastRequestConfig)
- func LeastRequestConfigToStructs(s *LeastRequestConfig, t *structs.LeastRequestConfig)
- func LoadBalancerFromStructs(t *structs.LoadBalancer, s *LoadBalancer)
- func LoadBalancerToStructs(s *LoadBalancer, t *structs.LoadBalancer)
- func MeshConfigFromStructs(t *structs.MeshConfigEntry, s *MeshConfig)
- func MeshConfigToStructs(s *MeshConfig, t *structs.MeshConfigEntry)
- func MeshDirectionalTLSConfigFromStructs(t *structs.MeshDirectionalTLSConfig, s *MeshDirectionalTLSConfig)
- func MeshDirectionalTLSConfigToStructs(s *MeshDirectionalTLSConfig, t *structs.MeshDirectionalTLSConfig)
- func MeshGatewayConfigFromStructs(t *structs.MeshGatewayConfig, s *MeshGatewayConfig)
- func MeshGatewayConfigToStructs(s *MeshGatewayConfig, t *structs.MeshGatewayConfig)
- func MeshHTTPConfigFromStructs(t *structs.MeshHTTPConfig, s *MeshHTTPConfig)
- func MeshHTTPConfigToStructs(s *MeshHTTPConfig, t *structs.MeshHTTPConfig)
- func MeshTLSConfigFromStructs(t *structs.MeshTLSConfig, s *MeshTLSConfig)
- func MeshTLSConfigToStructs(s *MeshTLSConfig, t *structs.MeshTLSConfig)
- func PassiveHealthCheckFromStructs(t *structs.PassiveHealthCheck, s *PassiveHealthCheck)
- func PassiveHealthCheckToStructs(s *PassiveHealthCheck, t *structs.PassiveHealthCheck)
- func PeeringMeshConfigFromStructs(t *structs.PeeringMeshConfig, s *PeeringMeshConfig)
- func PeeringMeshConfigToStructs(s *PeeringMeshConfig, t *structs.PeeringMeshConfig)
- func RingHashConfigFromStructs(t *structs.RingHashConfig, s *RingHashConfig)
- func RingHashConfigToStructs(s *RingHashConfig, t *structs.RingHashConfig)
- func ServiceDefaultsFromStructs(t *structs.ServiceConfigEntry, s *ServiceDefaults)
- func ServiceDefaultsToStructs(s *ServiceDefaults, t *structs.ServiceConfigEntry)
- func ServiceIntentionsFromStructs(t *structs.ServiceIntentionsConfigEntry, s *ServiceIntentions)
- func ServiceIntentionsToStructs(s *ServiceIntentions, t *structs.ServiceIntentionsConfigEntry)
- func ServiceResolverFailoverFromStructs(t *structs.ServiceResolverFailover, s *ServiceResolverFailover)
- func ServiceResolverFailoverTargetFromStructs(t *structs.ServiceResolverFailoverTarget, s *ServiceResolverFailoverTarget)
- func ServiceResolverFailoverTargetToStructs(s *ServiceResolverFailoverTarget, t *structs.ServiceResolverFailoverTarget)
- func ServiceResolverFailoverToStructs(s *ServiceResolverFailover, t *structs.ServiceResolverFailover)
- func ServiceResolverFromStructs(t *structs.ServiceResolverConfigEntry, s *ServiceResolver)
- func ServiceResolverRedirectFromStructs(t *structs.ServiceResolverRedirect, s *ServiceResolverRedirect)
- func ServiceResolverRedirectToStructs(s *ServiceResolverRedirect, t *structs.ServiceResolverRedirect)
- func ServiceResolverSubsetFromStructs(t *structs.ServiceResolverSubset, s *ServiceResolverSubset)
- func ServiceResolverSubsetToStructs(s *ServiceResolverSubset, t *structs.ServiceResolverSubset)
- func ServiceResolverToStructs(s *ServiceResolver, t *structs.ServiceResolverConfigEntry)
- func SourceIntentionFromStructs(t *structs.SourceIntention, s *SourceIntention)
- func SourceIntentionToStructs(s *SourceIntention, t *structs.SourceIntention)
- func TransparentProxyConfigFromStructs(t *structs.TransparentProxyConfig, s *TransparentProxyConfig)
- func TransparentProxyConfigToStructs(s *TransparentProxyConfig, t *structs.TransparentProxyConfig)
- func TransparentProxyMeshConfigFromStructs(t *structs.TransparentProxyMeshConfig, s *TransparentProxyMeshConfig)
- func TransparentProxyMeshConfigToStructs(s *TransparentProxyMeshConfig, t *structs.TransparentProxyMeshConfig)
- func UpstreamConfigFromStructs(t *structs.UpstreamConfig, s *UpstreamConfig)
- func UpstreamConfigToStructs(s *UpstreamConfig, t *structs.UpstreamConfig)
- func UpstreamConfigurationFromStructs(t *structs.UpstreamConfiguration, s *UpstreamConfiguration)
- func UpstreamConfigurationToStructs(s *UpstreamConfiguration, t *structs.UpstreamConfiguration)
- func UpstreamLimitsFromStructs(t *structs.UpstreamLimits, s *UpstreamLimits)
- func UpstreamLimitsToStructs(s *UpstreamLimits, t *structs.UpstreamLimits)
- type ConfigEntry
- func (*ConfigEntry) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigEntry) GetEnterpriseMeta() *pbcommon.EnterpriseMeta
- func (m *ConfigEntry) GetEntry() isConfigEntry_Entry
- func (x *ConfigEntry) GetIngressGateway() *IngressGateway
- func (x *ConfigEntry) GetKind() Kind
- func (x *ConfigEntry) GetMeshConfig() *MeshConfig
- func (x *ConfigEntry) GetName() string
- func (x *ConfigEntry) GetRaftIndex() *pbcommon.RaftIndex
- func (x *ConfigEntry) GetServiceDefaults() *ServiceDefaults
- func (x *ConfigEntry) GetServiceIntentions() *ServiceIntentions
- func (x *ConfigEntry) GetServiceResolver() *ServiceResolver
- func (msg *ConfigEntry) MarshalBinary() ([]byte, error)
- func (*ConfigEntry) ProtoMessage()
- func (x *ConfigEntry) ProtoReflect() protoreflect.Message
- func (x *ConfigEntry) Reset()
- func (x *ConfigEntry) String() string
- func (msg *ConfigEntry) UnmarshalBinary(b []byte) error
- type ConfigEntry_IngressGateway
- type ConfigEntry_MeshConfig
- type ConfigEntry_ServiceDefaults
- type ConfigEntry_ServiceIntentions
- type ConfigEntry_ServiceResolver
- type CookieConfig
- func (*CookieConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CookieConfig) GetPath() string
- func (x *CookieConfig) GetSession() bool
- func (x *CookieConfig) GetTTL() *durationpb.Duration
- func (msg *CookieConfig) MarshalBinary() ([]byte, error)
- func (*CookieConfig) ProtoMessage()
- func (x *CookieConfig) ProtoReflect() protoreflect.Message
- func (x *CookieConfig) Reset()
- func (x *CookieConfig) String() string
- func (msg *CookieConfig) UnmarshalBinary(b []byte) error
- type DestinationConfig
- func (*DestinationConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DestinationConfig) GetAddresses() []string
- func (x *DestinationConfig) GetPort() int32
- func (msg *DestinationConfig) MarshalBinary() ([]byte, error)
- func (*DestinationConfig) ProtoMessage()
- func (x *DestinationConfig) ProtoReflect() protoreflect.Message
- func (x *DestinationConfig) Reset()
- func (x *DestinationConfig) String() string
- func (msg *DestinationConfig) UnmarshalBinary(b []byte) error
- type ExposeConfig
- func (*ExposeConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ExposeConfig) GetChecks() bool
- func (x *ExposeConfig) GetPaths() []*ExposePath
- func (msg *ExposeConfig) MarshalBinary() ([]byte, error)
- func (*ExposeConfig) ProtoMessage()
- func (x *ExposeConfig) ProtoReflect() protoreflect.Message
- func (x *ExposeConfig) Reset()
- func (x *ExposeConfig) String() string
- func (msg *ExposeConfig) UnmarshalBinary(b []byte) error
- type ExposePath
- func (*ExposePath) Descriptor() ([]byte, []int)deprecated
- func (x *ExposePath) GetListenerPort() int32
- func (x *ExposePath) GetLocalPathPort() int32
- func (x *ExposePath) GetParsedFromCheck() bool
- func (x *ExposePath) GetPath() string
- func (x *ExposePath) GetProtocol() string
- func (msg *ExposePath) MarshalBinary() ([]byte, error)
- func (*ExposePath) ProtoMessage()
- func (x *ExposePath) ProtoReflect() protoreflect.Message
- func (x *ExposePath) Reset()
- func (x *ExposePath) String() string
- func (msg *ExposePath) UnmarshalBinary(b []byte) error
- type GatewayServiceTLSConfig
- func (*GatewayServiceTLSConfig) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayServiceTLSConfig) GetSDS() *GatewayTLSSDSConfig
- func (msg *GatewayServiceTLSConfig) MarshalBinary() ([]byte, error)
- func (*GatewayServiceTLSConfig) ProtoMessage()
- func (x *GatewayServiceTLSConfig) ProtoReflect() protoreflect.Message
- func (x *GatewayServiceTLSConfig) Reset()
- func (x *GatewayServiceTLSConfig) String() string
- func (msg *GatewayServiceTLSConfig) UnmarshalBinary(b []byte) error
- type GatewayTLSConfig
- func (*GatewayTLSConfig) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayTLSConfig) GetCipherSuites() []string
- func (x *GatewayTLSConfig) GetEnabled() bool
- func (x *GatewayTLSConfig) GetSDS() *GatewayTLSSDSConfig
- func (x *GatewayTLSConfig) GetTLSMaxVersion() string
- func (x *GatewayTLSConfig) GetTLSMinVersion() string
- func (msg *GatewayTLSConfig) MarshalBinary() ([]byte, error)
- func (*GatewayTLSConfig) ProtoMessage()
- func (x *GatewayTLSConfig) ProtoReflect() protoreflect.Message
- func (x *GatewayTLSConfig) Reset()
- func (x *GatewayTLSConfig) String() string
- func (msg *GatewayTLSConfig) UnmarshalBinary(b []byte) error
- type GatewayTLSSDSConfig
- func (*GatewayTLSSDSConfig) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayTLSSDSConfig) GetCertResource() string
- func (x *GatewayTLSSDSConfig) GetClusterName() string
- func (msg *GatewayTLSSDSConfig) MarshalBinary() ([]byte, error)
- func (*GatewayTLSSDSConfig) ProtoMessage()
- func (x *GatewayTLSSDSConfig) ProtoReflect() protoreflect.Message
- func (x *GatewayTLSSDSConfig) Reset()
- func (x *GatewayTLSSDSConfig) String() string
- func (msg *GatewayTLSSDSConfig) UnmarshalBinary(b []byte) error
- type HTTPHeaderModifiers
- func (*HTTPHeaderModifiers) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPHeaderModifiers) GetAdd() map[string]string
- func (x *HTTPHeaderModifiers) GetRemove() []string
- func (x *HTTPHeaderModifiers) GetSet() map[string]string
- func (msg *HTTPHeaderModifiers) MarshalBinary() ([]byte, error)
- func (*HTTPHeaderModifiers) ProtoMessage()
- func (x *HTTPHeaderModifiers) ProtoReflect() protoreflect.Message
- func (x *HTTPHeaderModifiers) Reset()
- func (x *HTTPHeaderModifiers) String() string
- func (msg *HTTPHeaderModifiers) UnmarshalBinary(b []byte) error
- type HashPolicy
- func (*HashPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *HashPolicy) GetCookieConfig() *CookieConfig
- func (x *HashPolicy) GetField() string
- func (x *HashPolicy) GetFieldValue() string
- func (x *HashPolicy) GetSourceIP() bool
- func (x *HashPolicy) GetTerminal() bool
- func (msg *HashPolicy) MarshalBinary() ([]byte, error)
- func (*HashPolicy) ProtoMessage()
- func (x *HashPolicy) ProtoReflect() protoreflect.Message
- func (x *HashPolicy) Reset()
- func (x *HashPolicy) String() string
- func (msg *HashPolicy) UnmarshalBinary(b []byte) error
- type IngressGateway
- func (*IngressGateway) Descriptor() ([]byte, []int)deprecated
- func (x *IngressGateway) GetDefaults() *IngressServiceConfig
- func (x *IngressGateway) GetListeners() []*IngressListener
- func (x *IngressGateway) GetMeta() map[string]string
- func (x *IngressGateway) GetTLS() *GatewayTLSConfig
- func (msg *IngressGateway) MarshalBinary() ([]byte, error)
- func (*IngressGateway) ProtoMessage()
- func (x *IngressGateway) ProtoReflect() protoreflect.Message
- func (x *IngressGateway) Reset()
- func (x *IngressGateway) String() string
- func (msg *IngressGateway) UnmarshalBinary(b []byte) error
- type IngressListener
- func (*IngressListener) Descriptor() ([]byte, []int)deprecated
- func (x *IngressListener) GetPort() int32
- func (x *IngressListener) GetProtocol() string
- func (x *IngressListener) GetServices() []*IngressService
- func (x *IngressListener) GetTLS() *GatewayTLSConfig
- func (msg *IngressListener) MarshalBinary() ([]byte, error)
- func (*IngressListener) ProtoMessage()
- func (x *IngressListener) ProtoReflect() protoreflect.Message
- func (x *IngressListener) Reset()
- func (x *IngressListener) String() string
- func (msg *IngressListener) UnmarshalBinary(b []byte) error
- type IngressService
- func (*IngressService) Descriptor() ([]byte, []int)deprecated
- func (x *IngressService) GetEnterpriseMeta() *pbcommon.EnterpriseMeta
- func (x *IngressService) GetHosts() []string
- func (x *IngressService) GetMaxConcurrentRequests() uint32
- func (x *IngressService) GetMaxConnections() uint32
- func (x *IngressService) GetMaxPendingRequests() uint32
- func (x *IngressService) GetMeta() map[string]string
- func (x *IngressService) GetName() string
- func (x *IngressService) GetRequestHeaders() *HTTPHeaderModifiers
- func (x *IngressService) GetResponseHeaders() *HTTPHeaderModifiers
- func (x *IngressService) GetTLS() *GatewayServiceTLSConfig
- func (msg *IngressService) MarshalBinary() ([]byte, error)
- func (*IngressService) ProtoMessage()
- func (x *IngressService) ProtoReflect() protoreflect.Message
- func (x *IngressService) Reset()
- func (x *IngressService) String() string
- func (msg *IngressService) UnmarshalBinary(b []byte) error
- type IngressServiceConfig
- func (*IngressServiceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *IngressServiceConfig) GetMaxConcurrentRequests() uint32
- func (x *IngressServiceConfig) GetMaxConnections() uint32
- func (x *IngressServiceConfig) GetMaxPendingRequests() uint32
- func (msg *IngressServiceConfig) MarshalBinary() ([]byte, error)
- func (*IngressServiceConfig) ProtoMessage()
- func (x *IngressServiceConfig) ProtoReflect() protoreflect.Message
- func (x *IngressServiceConfig) Reset()
- func (x *IngressServiceConfig) String() string
- func (msg *IngressServiceConfig) UnmarshalBinary(b []byte) error
- type IntentionAction
- func (IntentionAction) Descriptor() protoreflect.EnumDescriptor
- func (x IntentionAction) Enum() *IntentionAction
- func (IntentionAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x IntentionAction) Number() protoreflect.EnumNumber
- func (x IntentionAction) String() string
- func (IntentionAction) Type() protoreflect.EnumType
- type IntentionHTTPHeaderPermission
- func (*IntentionHTTPHeaderPermission) Descriptor() ([]byte, []int)deprecated
- func (x *IntentionHTTPHeaderPermission) GetExact() string
- func (x *IntentionHTTPHeaderPermission) GetInvert() bool
- func (x *IntentionHTTPHeaderPermission) GetName() string
- func (x *IntentionHTTPHeaderPermission) GetPrefix() string
- func (x *IntentionHTTPHeaderPermission) GetPresent() bool
- func (x *IntentionHTTPHeaderPermission) GetRegex() string
- func (x *IntentionHTTPHeaderPermission) GetSuffix() string
- func (msg *IntentionHTTPHeaderPermission) MarshalBinary() ([]byte, error)
- func (*IntentionHTTPHeaderPermission) ProtoMessage()
- func (x *IntentionHTTPHeaderPermission) ProtoReflect() protoreflect.Message
- func (x *IntentionHTTPHeaderPermission) Reset()
- func (x *IntentionHTTPHeaderPermission) String() string
- func (msg *IntentionHTTPHeaderPermission) UnmarshalBinary(b []byte) error
- type IntentionHTTPPermission
- func (*IntentionHTTPPermission) Descriptor() ([]byte, []int)deprecated
- func (x *IntentionHTTPPermission) GetHeader() []*IntentionHTTPHeaderPermission
- func (x *IntentionHTTPPermission) GetMethods() []string
- func (x *IntentionHTTPPermission) GetPathExact() string
- func (x *IntentionHTTPPermission) GetPathPrefix() string
- func (x *IntentionHTTPPermission) GetPathRegex() string
- func (msg *IntentionHTTPPermission) MarshalBinary() ([]byte, error)
- func (*IntentionHTTPPermission) ProtoMessage()
- func (x *IntentionHTTPPermission) ProtoReflect() protoreflect.Message
- func (x *IntentionHTTPPermission) Reset()
- func (x *IntentionHTTPPermission) String() string
- func (msg *IntentionHTTPPermission) UnmarshalBinary(b []byte) error
- type IntentionPermission
- func (*IntentionPermission) Descriptor() ([]byte, []int)deprecated
- func (x *IntentionPermission) GetAction() IntentionAction
- func (x *IntentionPermission) GetHTTP() *IntentionHTTPPermission
- func (msg *IntentionPermission) MarshalBinary() ([]byte, error)
- func (*IntentionPermission) ProtoMessage()
- func (x *IntentionPermission) ProtoReflect() protoreflect.Message
- func (x *IntentionPermission) Reset()
- func (x *IntentionPermission) String() string
- func (msg *IntentionPermission) UnmarshalBinary(b []byte) error
- type IntentionSourceType
- func (IntentionSourceType) Descriptor() protoreflect.EnumDescriptor
- func (x IntentionSourceType) Enum() *IntentionSourceType
- func (IntentionSourceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x IntentionSourceType) Number() protoreflect.EnumNumber
- func (x IntentionSourceType) String() string
- func (IntentionSourceType) Type() protoreflect.EnumType
- type Kind
- type LeastRequestConfig
- func (*LeastRequestConfig) Descriptor() ([]byte, []int)deprecated
- func (x *LeastRequestConfig) GetChoiceCount() uint32
- func (msg *LeastRequestConfig) MarshalBinary() ([]byte, error)
- func (*LeastRequestConfig) ProtoMessage()
- func (x *LeastRequestConfig) ProtoReflect() protoreflect.Message
- func (x *LeastRequestConfig) Reset()
- func (x *LeastRequestConfig) String() string
- func (msg *LeastRequestConfig) UnmarshalBinary(b []byte) error
- type LoadBalancer
- func (*LoadBalancer) Descriptor() ([]byte, []int)deprecated
- func (x *LoadBalancer) GetHashPolicies() []*HashPolicy
- func (x *LoadBalancer) GetLeastRequestConfig() *LeastRequestConfig
- func (x *LoadBalancer) GetPolicy() string
- func (x *LoadBalancer) GetRingHashConfig() *RingHashConfig
- func (msg *LoadBalancer) MarshalBinary() ([]byte, error)
- func (*LoadBalancer) ProtoMessage()
- func (x *LoadBalancer) ProtoReflect() protoreflect.Message
- func (x *LoadBalancer) Reset()
- func (x *LoadBalancer) String() string
- func (msg *LoadBalancer) UnmarshalBinary(b []byte) error
- type MeshConfig
- func (*MeshConfig) Descriptor() ([]byte, []int)deprecated
- func (x *MeshConfig) GetHTTP() *MeshHTTPConfig
- func (x *MeshConfig) GetMeta() map[string]string
- func (x *MeshConfig) GetPeering() *PeeringMeshConfig
- func (x *MeshConfig) GetTLS() *MeshTLSConfig
- func (x *MeshConfig) GetTransparentProxy() *TransparentProxyMeshConfig
- func (msg *MeshConfig) MarshalBinary() ([]byte, error)
- func (*MeshConfig) ProtoMessage()
- func (x *MeshConfig) ProtoReflect() protoreflect.Message
- func (x *MeshConfig) Reset()
- func (x *MeshConfig) String() string
- func (msg *MeshConfig) UnmarshalBinary(b []byte) error
- type MeshDirectionalTLSConfig
- func (*MeshDirectionalTLSConfig) Descriptor() ([]byte, []int)deprecated
- func (x *MeshDirectionalTLSConfig) GetCipherSuites() []string
- func (x *MeshDirectionalTLSConfig) GetTLSMaxVersion() string
- func (x *MeshDirectionalTLSConfig) GetTLSMinVersion() string
- func (msg *MeshDirectionalTLSConfig) MarshalBinary() ([]byte, error)
- func (*MeshDirectionalTLSConfig) ProtoMessage()
- func (x *MeshDirectionalTLSConfig) ProtoReflect() protoreflect.Message
- func (x *MeshDirectionalTLSConfig) Reset()
- func (x *MeshDirectionalTLSConfig) String() string
- func (msg *MeshDirectionalTLSConfig) UnmarshalBinary(b []byte) error
- type MeshGatewayConfig
- func (*MeshGatewayConfig) Descriptor() ([]byte, []int)deprecated
- func (x *MeshGatewayConfig) GetMode() MeshGatewayMode
- func (msg *MeshGatewayConfig) MarshalBinary() ([]byte, error)
- func (*MeshGatewayConfig) ProtoMessage()
- func (x *MeshGatewayConfig) ProtoReflect() protoreflect.Message
- func (x *MeshGatewayConfig) Reset()
- func (x *MeshGatewayConfig) String() string
- func (msg *MeshGatewayConfig) UnmarshalBinary(b []byte) error
- type MeshGatewayMode
- func (MeshGatewayMode) Descriptor() protoreflect.EnumDescriptor
- func (x MeshGatewayMode) Enum() *MeshGatewayMode
- func (MeshGatewayMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x MeshGatewayMode) Number() protoreflect.EnumNumber
- func (x MeshGatewayMode) String() string
- func (MeshGatewayMode) Type() protoreflect.EnumType
- type MeshHTTPConfig
- func (*MeshHTTPConfig) Descriptor() ([]byte, []int)deprecated
- func (x *MeshHTTPConfig) GetSanitizeXForwardedClientCert() bool
- func (msg *MeshHTTPConfig) MarshalBinary() ([]byte, error)
- func (*MeshHTTPConfig) ProtoMessage()
- func (x *MeshHTTPConfig) ProtoReflect() protoreflect.Message
- func (x *MeshHTTPConfig) Reset()
- func (x *MeshHTTPConfig) String() string
- func (msg *MeshHTTPConfig) UnmarshalBinary(b []byte) error
- type MeshTLSConfig
- func (*MeshTLSConfig) Descriptor() ([]byte, []int)deprecated
- func (x *MeshTLSConfig) GetIncoming() *MeshDirectionalTLSConfig
- func (x *MeshTLSConfig) GetOutgoing() *MeshDirectionalTLSConfig
- func (msg *MeshTLSConfig) MarshalBinary() ([]byte, error)
- func (*MeshTLSConfig) ProtoMessage()
- func (x *MeshTLSConfig) ProtoReflect() protoreflect.Message
- func (x *MeshTLSConfig) Reset()
- func (x *MeshTLSConfig) String() string
- func (msg *MeshTLSConfig) UnmarshalBinary(b []byte) error
- type PassiveHealthCheck
- func (*PassiveHealthCheck) Descriptor() ([]byte, []int)deprecated
- func (x *PassiveHealthCheck) GetEnforcingConsecutive5Xx() uint32
- func (x *PassiveHealthCheck) GetInterval() *durationpb.Duration
- func (x *PassiveHealthCheck) GetMaxFailures() uint32
- func (msg *PassiveHealthCheck) MarshalBinary() ([]byte, error)
- func (*PassiveHealthCheck) ProtoMessage()
- func (x *PassiveHealthCheck) ProtoReflect() protoreflect.Message
- func (x *PassiveHealthCheck) Reset()
- func (x *PassiveHealthCheck) String() string
- func (msg *PassiveHealthCheck) UnmarshalBinary(b []byte) error
- type PeeringMeshConfig
- func (*PeeringMeshConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PeeringMeshConfig) GetPeerThroughMeshGateways() bool
- func (msg *PeeringMeshConfig) MarshalBinary() ([]byte, error)
- func (*PeeringMeshConfig) ProtoMessage()
- func (x *PeeringMeshConfig) ProtoReflect() protoreflect.Message
- func (x *PeeringMeshConfig) Reset()
- func (x *PeeringMeshConfig) String() string
- func (msg *PeeringMeshConfig) UnmarshalBinary(b []byte) error
- type ProxyMode
- type RingHashConfig
- func (*RingHashConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RingHashConfig) GetMaximumRingSize() uint64
- func (x *RingHashConfig) GetMinimumRingSize() uint64
- func (msg *RingHashConfig) MarshalBinary() ([]byte, error)
- func (*RingHashConfig) ProtoMessage()
- func (x *RingHashConfig) ProtoReflect() protoreflect.Message
- func (x *RingHashConfig) Reset()
- func (x *RingHashConfig) String() string
- func (msg *RingHashConfig) UnmarshalBinary(b []byte) error
- type ServiceDefaults
- func (*ServiceDefaults) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceDefaults) GetBalanceInboundConnections() string
- func (x *ServiceDefaults) GetDestination() *DestinationConfig
- func (x *ServiceDefaults) GetExpose() *ExposeConfig
- func (x *ServiceDefaults) GetExternalSNI() string
- func (x *ServiceDefaults) GetLocalConnectTimeoutMs() int32
- func (x *ServiceDefaults) GetLocalRequestTimeoutMs() int32
- func (x *ServiceDefaults) GetMaxInboundConnections() int32
- func (x *ServiceDefaults) GetMeshGateway() *MeshGatewayConfig
- func (x *ServiceDefaults) GetMeta() map[string]string
- func (x *ServiceDefaults) GetMode() ProxyMode
- func (x *ServiceDefaults) GetProtocol() string
- func (x *ServiceDefaults) GetTransparentProxy() *TransparentProxyConfig
- func (x *ServiceDefaults) GetUpstreamConfig() *UpstreamConfiguration
- func (msg *ServiceDefaults) MarshalBinary() ([]byte, error)
- func (*ServiceDefaults) ProtoMessage()
- func (x *ServiceDefaults) ProtoReflect() protoreflect.Message
- func (x *ServiceDefaults) Reset()
- func (x *ServiceDefaults) String() string
- func (msg *ServiceDefaults) UnmarshalBinary(b []byte) error
- type ServiceIntentions
- func (*ServiceIntentions) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceIntentions) GetMeta() map[string]string
- func (x *ServiceIntentions) GetSources() []*SourceIntention
- func (msg *ServiceIntentions) MarshalBinary() ([]byte, error)
- func (*ServiceIntentions) ProtoMessage()
- func (x *ServiceIntentions) ProtoReflect() protoreflect.Message
- func (x *ServiceIntentions) Reset()
- func (x *ServiceIntentions) String() string
- func (msg *ServiceIntentions) UnmarshalBinary(b []byte) error
- type ServiceResolver
- func (*ServiceResolver) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceResolver) GetConnectTimeout() *durationpb.Duration
- func (x *ServiceResolver) GetDefaultSubset() string
- func (x *ServiceResolver) GetFailover() map[string]*ServiceResolverFailover
- func (x *ServiceResolver) GetLoadBalancer() *LoadBalancer
- func (x *ServiceResolver) GetMeta() map[string]string
- func (x *ServiceResolver) GetRedirect() *ServiceResolverRedirect
- func (x *ServiceResolver) GetSubsets() map[string]*ServiceResolverSubset
- func (msg *ServiceResolver) MarshalBinary() ([]byte, error)
- func (*ServiceResolver) ProtoMessage()
- func (x *ServiceResolver) ProtoReflect() protoreflect.Message
- func (x *ServiceResolver) Reset()
- func (x *ServiceResolver) String() string
- func (msg *ServiceResolver) UnmarshalBinary(b []byte) error
- type ServiceResolverFailover
- func (*ServiceResolverFailover) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceResolverFailover) GetDatacenters() []string
- func (x *ServiceResolverFailover) GetNamespace() string
- func (x *ServiceResolverFailover) GetService() string
- func (x *ServiceResolverFailover) GetServiceSubset() string
- func (x *ServiceResolverFailover) GetTargets() []*ServiceResolverFailoverTarget
- func (msg *ServiceResolverFailover) MarshalBinary() ([]byte, error)
- func (*ServiceResolverFailover) ProtoMessage()
- func (x *ServiceResolverFailover) ProtoReflect() protoreflect.Message
- func (x *ServiceResolverFailover) Reset()
- func (x *ServiceResolverFailover) String() string
- func (msg *ServiceResolverFailover) UnmarshalBinary(b []byte) error
- type ServiceResolverFailoverTarget
- func (*ServiceResolverFailoverTarget) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceResolverFailoverTarget) GetDatacenter() string
- func (x *ServiceResolverFailoverTarget) GetNamespace() string
- func (x *ServiceResolverFailoverTarget) GetPartition() string
- func (x *ServiceResolverFailoverTarget) GetPeer() string
- func (x *ServiceResolverFailoverTarget) GetService() string
- func (x *ServiceResolverFailoverTarget) GetServiceSubset() string
- func (msg *ServiceResolverFailoverTarget) MarshalBinary() ([]byte, error)
- func (*ServiceResolverFailoverTarget) ProtoMessage()
- func (x *ServiceResolverFailoverTarget) ProtoReflect() protoreflect.Message
- func (x *ServiceResolverFailoverTarget) Reset()
- func (x *ServiceResolverFailoverTarget) String() string
- func (msg *ServiceResolverFailoverTarget) UnmarshalBinary(b []byte) error
- type ServiceResolverRedirect
- func (*ServiceResolverRedirect) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceResolverRedirect) GetDatacenter() string
- func (x *ServiceResolverRedirect) GetNamespace() string
- func (x *ServiceResolverRedirect) GetPartition() string
- func (x *ServiceResolverRedirect) GetPeer() string
- func (x *ServiceResolverRedirect) GetService() string
- func (x *ServiceResolverRedirect) GetServiceSubset() string
- func (msg *ServiceResolverRedirect) MarshalBinary() ([]byte, error)
- func (*ServiceResolverRedirect) ProtoMessage()
- func (x *ServiceResolverRedirect) ProtoReflect() protoreflect.Message
- func (x *ServiceResolverRedirect) Reset()
- func (x *ServiceResolverRedirect) String() string
- func (msg *ServiceResolverRedirect) UnmarshalBinary(b []byte) error
- type ServiceResolverSubset
- func (*ServiceResolverSubset) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceResolverSubset) GetFilter() string
- func (x *ServiceResolverSubset) GetOnlyPassing() bool
- func (msg *ServiceResolverSubset) MarshalBinary() ([]byte, error)
- func (*ServiceResolverSubset) ProtoMessage()
- func (x *ServiceResolverSubset) ProtoReflect() protoreflect.Message
- func (x *ServiceResolverSubset) Reset()
- func (x *ServiceResolverSubset) String() string
- func (msg *ServiceResolverSubset) UnmarshalBinary(b []byte) error
- type SourceIntention
- func (*SourceIntention) Descriptor() ([]byte, []int)deprecated
- func (x *SourceIntention) GetAction() IntentionAction
- func (x *SourceIntention) GetDescription() string
- func (x *SourceIntention) GetEnterpriseMeta() *pbcommon.EnterpriseMeta
- func (x *SourceIntention) GetLegacyCreateTime() *timestamppb.Timestamp
- func (x *SourceIntention) GetLegacyID() string
- func (x *SourceIntention) GetLegacyMeta() map[string]string
- func (x *SourceIntention) GetLegacyUpdateTime() *timestamppb.Timestamp
- func (x *SourceIntention) GetName() string
- func (x *SourceIntention) GetPeer() string
- func (x *SourceIntention) GetPermissions() []*IntentionPermission
- func (x *SourceIntention) GetPrecedence() int32
- func (x *SourceIntention) GetType() IntentionSourceType
- func (msg *SourceIntention) MarshalBinary() ([]byte, error)
- func (*SourceIntention) ProtoMessage()
- func (x *SourceIntention) ProtoReflect() protoreflect.Message
- func (x *SourceIntention) Reset()
- func (x *SourceIntention) String() string
- func (msg *SourceIntention) UnmarshalBinary(b []byte) error
- type TransparentProxyConfig
- func (*TransparentProxyConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TransparentProxyConfig) GetDialedDirectly() bool
- func (x *TransparentProxyConfig) GetOutboundListenerPort() int32
- func (msg *TransparentProxyConfig) MarshalBinary() ([]byte, error)
- func (*TransparentProxyConfig) ProtoMessage()
- func (x *TransparentProxyConfig) ProtoReflect() protoreflect.Message
- func (x *TransparentProxyConfig) Reset()
- func (x *TransparentProxyConfig) String() string
- func (msg *TransparentProxyConfig) UnmarshalBinary(b []byte) error
- type TransparentProxyMeshConfig
- func (*TransparentProxyMeshConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TransparentProxyMeshConfig) GetMeshDestinationsOnly() bool
- func (msg *TransparentProxyMeshConfig) MarshalBinary() ([]byte, error)
- func (*TransparentProxyMeshConfig) ProtoMessage()
- func (x *TransparentProxyMeshConfig) ProtoReflect() protoreflect.Message
- func (x *TransparentProxyMeshConfig) Reset()
- func (x *TransparentProxyMeshConfig) String() string
- func (msg *TransparentProxyMeshConfig) UnmarshalBinary(b []byte) error
- type UpstreamConfig
- func (*UpstreamConfig) Descriptor() ([]byte, []int)deprecated
- func (x *UpstreamConfig) GetBalanceOutboundConnections() string
- func (x *UpstreamConfig) GetConnectTimeoutMs() int32
- func (x *UpstreamConfig) GetEnterpriseMeta() *pbcommon.EnterpriseMeta
- func (x *UpstreamConfig) GetEnvoyClusterJSON() string
- func (x *UpstreamConfig) GetEnvoyListenerJSON() string
- func (x *UpstreamConfig) GetLimits() *UpstreamLimits
- func (x *UpstreamConfig) GetMeshGateway() *MeshGatewayConfig
- func (x *UpstreamConfig) GetName() string
- func (x *UpstreamConfig) GetPassiveHealthCheck() *PassiveHealthCheck
- func (x *UpstreamConfig) GetProtocol() string
- func (msg *UpstreamConfig) MarshalBinary() ([]byte, error)
- func (*UpstreamConfig) ProtoMessage()
- func (x *UpstreamConfig) ProtoReflect() protoreflect.Message
- func (x *UpstreamConfig) Reset()
- func (x *UpstreamConfig) String() string
- func (msg *UpstreamConfig) UnmarshalBinary(b []byte) error
- type UpstreamConfiguration
- func (*UpstreamConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *UpstreamConfiguration) GetDefaults() *UpstreamConfig
- func (x *UpstreamConfiguration) GetOverrides() []*UpstreamConfig
- func (msg *UpstreamConfiguration) MarshalBinary() ([]byte, error)
- func (*UpstreamConfiguration) ProtoMessage()
- func (x *UpstreamConfiguration) ProtoReflect() protoreflect.Message
- func (x *UpstreamConfiguration) Reset()
- func (x *UpstreamConfiguration) String() string
- func (msg *UpstreamConfiguration) UnmarshalBinary(b []byte) error
- type UpstreamLimits
- func (*UpstreamLimits) Descriptor() ([]byte, []int)deprecated
- func (x *UpstreamLimits) GetMaxConcurrentRequests() int32
- func (x *UpstreamLimits) GetMaxConnections() int32
- func (x *UpstreamLimits) GetMaxPendingRequests() int32
- func (msg *UpstreamLimits) MarshalBinary() ([]byte, error)
- func (*UpstreamLimits) ProtoMessage()
- func (x *UpstreamLimits) ProtoReflect() protoreflect.Message
- func (x *UpstreamLimits) Reset()
- func (x *UpstreamLimits) String() string
- func (msg *UpstreamLimits) UnmarshalBinary(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( Kind_name = map[int32]string{ 0: "KindUnknown", 1: "KindMeshConfig", 2: "KindServiceResolver", 3: "KindIngressGateway", 4: "KindServiceIntentions", 5: "KindServiceDefaults", } Kind_value = map[string]int32{ "KindUnknown": 0, "KindMeshConfig": 1, "KindServiceResolver": 2, "KindIngressGateway": 3, "KindServiceIntentions": 4, "KindServiceDefaults": 5, } )
Enum value maps for Kind.
var ( IntentionAction_name = map[int32]string{ 0: "Deny", 1: "Allow", } IntentionAction_value = map[string]int32{ "Deny": 0, "Allow": 1, } )
Enum value maps for IntentionAction.
var ( IntentionSourceType_name = map[int32]string{ 0: "Consul", } IntentionSourceType_value = map[string]int32{ "Consul": 0, } )
Enum value maps for IntentionSourceType.
var ( ProxyMode_name = map[int32]string{ 0: "ProxyModeDefault", 1: "ProxyModeTransparent", 2: "ProxyModeDirect", } ProxyMode_value = map[string]int32{ "ProxyModeDefault": 0, "ProxyModeTransparent": 1, "ProxyModeDirect": 2, } )
Enum value maps for ProxyMode.
var ( MeshGatewayMode_name = map[int32]string{ 0: "MeshGatewayModeDefault", 1: "MeshGatewayModeNone", 2: "MeshGatewayModeLocal", 3: "MeshGatewayModeRemote", } MeshGatewayMode_value = map[string]int32{ "MeshGatewayModeDefault": 0, "MeshGatewayModeNone": 1, "MeshGatewayModeLocal": 2, "MeshGatewayModeRemote": 3, } )
Enum value maps for MeshGatewayMode.
var File_proto_pbconfigentry_config_entry_proto protoreflect.FileDescriptor
Functions ¶
func ConfigEntryToStructs ¶
func ConfigEntryToStructs(s *ConfigEntry) structs.ConfigEntry
func CookieConfigFromStructs ¶
func CookieConfigFromStructs(t *structs.CookieConfig, s *CookieConfig)
func CookieConfigToStructs ¶
func CookieConfigToStructs(s *CookieConfig, t *structs.CookieConfig)
func DestinationConfigFromStructs ¶ added in v1.14.0
func DestinationConfigFromStructs(t *structs.DestinationConfig, s *DestinationConfig)
func DestinationConfigToStructs ¶ added in v1.14.0
func DestinationConfigToStructs(s *DestinationConfig, t *structs.DestinationConfig)
func ExposeConfigFromStructs ¶ added in v1.14.0
func ExposeConfigFromStructs(t *structs.ExposeConfig, s *ExposeConfig)
func ExposeConfigToStructs ¶ added in v1.14.0
func ExposeConfigToStructs(s *ExposeConfig, t *structs.ExposeConfig)
func ExposePathFromStructs ¶ added in v1.14.0
func ExposePathFromStructs(t *structs.ExposePath, s *ExposePath)
func ExposePathToStructs ¶ added in v1.14.0
func ExposePathToStructs(s *ExposePath, t *structs.ExposePath)
func GatewayServiceTLSConfigFromStructs ¶
func GatewayServiceTLSConfigFromStructs(t *structs.GatewayServiceTLSConfig, s *GatewayServiceTLSConfig)
func GatewayServiceTLSConfigToStructs ¶
func GatewayServiceTLSConfigToStructs(s *GatewayServiceTLSConfig, t *structs.GatewayServiceTLSConfig)
func GatewayTLSConfigFromStructs ¶
func GatewayTLSConfigFromStructs(t *structs.GatewayTLSConfig, s *GatewayTLSConfig)
func GatewayTLSConfigToStructs ¶
func GatewayTLSConfigToStructs(s *GatewayTLSConfig, t *structs.GatewayTLSConfig)
func GatewayTLSSDSConfigFromStructs ¶
func GatewayTLSSDSConfigFromStructs(t *structs.GatewayTLSSDSConfig, s *GatewayTLSSDSConfig)
func GatewayTLSSDSConfigToStructs ¶
func GatewayTLSSDSConfigToStructs(s *GatewayTLSSDSConfig, t *structs.GatewayTLSSDSConfig)
func HTTPHeaderModifiersFromStructs ¶
func HTTPHeaderModifiersFromStructs(t *structs.HTTPHeaderModifiers, s *HTTPHeaderModifiers)
func HTTPHeaderModifiersToStructs ¶
func HTTPHeaderModifiersToStructs(s *HTTPHeaderModifiers, t *structs.HTTPHeaderModifiers)
func HashPolicyFromStructs ¶
func HashPolicyFromStructs(t *structs.HashPolicy, s *HashPolicy)
func HashPolicyToStructs ¶
func HashPolicyToStructs(s *HashPolicy, t *structs.HashPolicy)
func IngressGatewayFromStructs ¶
func IngressGatewayFromStructs(t *structs.IngressGatewayConfigEntry, s *IngressGateway)
func IngressGatewayToStructs ¶
func IngressGatewayToStructs(s *IngressGateway, t *structs.IngressGatewayConfigEntry)
func IngressListenerFromStructs ¶
func IngressListenerFromStructs(t *structs.IngressListener, s *IngressListener)
func IngressListenerToStructs ¶
func IngressListenerToStructs(s *IngressListener, t *structs.IngressListener)
func IngressServiceConfigFromStructs ¶ added in v1.13.3
func IngressServiceConfigFromStructs(t *structs.IngressServiceConfig, s *IngressServiceConfig)
func IngressServiceConfigToStructs ¶ added in v1.13.3
func IngressServiceConfigToStructs(s *IngressServiceConfig, t *structs.IngressServiceConfig)
func IngressServiceFromStructs ¶
func IngressServiceFromStructs(t *structs.IngressService, s *IngressService)
func IngressServiceToStructs ¶
func IngressServiceToStructs(s *IngressService, t *structs.IngressService)
func IntentionHTTPHeaderPermissionFromStructs ¶
func IntentionHTTPHeaderPermissionFromStructs(t *structs.IntentionHTTPHeaderPermission, s *IntentionHTTPHeaderPermission)
func IntentionHTTPHeaderPermissionToStructs ¶
func IntentionHTTPHeaderPermissionToStructs(s *IntentionHTTPHeaderPermission, t *structs.IntentionHTTPHeaderPermission)
func IntentionHTTPPermissionFromStructs ¶
func IntentionHTTPPermissionFromStructs(t *structs.IntentionHTTPPermission, s *IntentionHTTPPermission)
func IntentionHTTPPermissionToStructs ¶
func IntentionHTTPPermissionToStructs(s *IntentionHTTPPermission, t *structs.IntentionHTTPPermission)
func IntentionPermissionFromStructs ¶
func IntentionPermissionFromStructs(t *structs.IntentionPermission, s *IntentionPermission)
func IntentionPermissionToStructs ¶
func IntentionPermissionToStructs(s *IntentionPermission, t *structs.IntentionPermission)
func LeastRequestConfigFromStructs ¶
func LeastRequestConfigFromStructs(t *structs.LeastRequestConfig, s *LeastRequestConfig)
func LeastRequestConfigToStructs ¶
func LeastRequestConfigToStructs(s *LeastRequestConfig, t *structs.LeastRequestConfig)
func LoadBalancerFromStructs ¶
func LoadBalancerFromStructs(t *structs.LoadBalancer, s *LoadBalancer)
func LoadBalancerToStructs ¶
func LoadBalancerToStructs(s *LoadBalancer, t *structs.LoadBalancer)
func MeshConfigFromStructs ¶
func MeshConfigFromStructs(t *structs.MeshConfigEntry, s *MeshConfig)
func MeshConfigToStructs ¶
func MeshConfigToStructs(s *MeshConfig, t *structs.MeshConfigEntry)
func MeshDirectionalTLSConfigFromStructs ¶
func MeshDirectionalTLSConfigFromStructs(t *structs.MeshDirectionalTLSConfig, s *MeshDirectionalTLSConfig)
func MeshDirectionalTLSConfigToStructs ¶
func MeshDirectionalTLSConfigToStructs(s *MeshDirectionalTLSConfig, t *structs.MeshDirectionalTLSConfig)
func MeshGatewayConfigFromStructs ¶ added in v1.14.0
func MeshGatewayConfigFromStructs(t *structs.MeshGatewayConfig, s *MeshGatewayConfig)
func MeshGatewayConfigToStructs ¶ added in v1.14.0
func MeshGatewayConfigToStructs(s *MeshGatewayConfig, t *structs.MeshGatewayConfig)
func MeshHTTPConfigFromStructs ¶
func MeshHTTPConfigFromStructs(t *structs.MeshHTTPConfig, s *MeshHTTPConfig)
func MeshHTTPConfigToStructs ¶
func MeshHTTPConfigToStructs(s *MeshHTTPConfig, t *structs.MeshHTTPConfig)
func MeshTLSConfigFromStructs ¶
func MeshTLSConfigFromStructs(t *structs.MeshTLSConfig, s *MeshTLSConfig)
func MeshTLSConfigToStructs ¶
func MeshTLSConfigToStructs(s *MeshTLSConfig, t *structs.MeshTLSConfig)
func PassiveHealthCheckFromStructs ¶ added in v1.14.0
func PassiveHealthCheckFromStructs(t *structs.PassiveHealthCheck, s *PassiveHealthCheck)
func PassiveHealthCheckToStructs ¶ added in v1.14.0
func PassiveHealthCheckToStructs(s *PassiveHealthCheck, t *structs.PassiveHealthCheck)
func PeeringMeshConfigFromStructs ¶ added in v1.14.0
func PeeringMeshConfigFromStructs(t *structs.PeeringMeshConfig, s *PeeringMeshConfig)
func PeeringMeshConfigToStructs ¶ added in v1.14.0
func PeeringMeshConfigToStructs(s *PeeringMeshConfig, t *structs.PeeringMeshConfig)
func RingHashConfigFromStructs ¶
func RingHashConfigFromStructs(t *structs.RingHashConfig, s *RingHashConfig)
func RingHashConfigToStructs ¶
func RingHashConfigToStructs(s *RingHashConfig, t *structs.RingHashConfig)
func ServiceDefaultsFromStructs ¶ added in v1.14.0
func ServiceDefaultsFromStructs(t *structs.ServiceConfigEntry, s *ServiceDefaults)
func ServiceDefaultsToStructs ¶ added in v1.14.0
func ServiceDefaultsToStructs(s *ServiceDefaults, t *structs.ServiceConfigEntry)
func ServiceIntentionsFromStructs ¶
func ServiceIntentionsFromStructs(t *structs.ServiceIntentionsConfigEntry, s *ServiceIntentions)
func ServiceIntentionsToStructs ¶
func ServiceIntentionsToStructs(s *ServiceIntentions, t *structs.ServiceIntentionsConfigEntry)
func ServiceResolverFailoverFromStructs ¶
func ServiceResolverFailoverFromStructs(t *structs.ServiceResolverFailover, s *ServiceResolverFailover)
func ServiceResolverFailoverTargetFromStructs ¶ added in v1.14.0
func ServiceResolverFailoverTargetFromStructs(t *structs.ServiceResolverFailoverTarget, s *ServiceResolverFailoverTarget)
func ServiceResolverFailoverTargetToStructs ¶ added in v1.14.0
func ServiceResolverFailoverTargetToStructs(s *ServiceResolverFailoverTarget, t *structs.ServiceResolverFailoverTarget)
func ServiceResolverFailoverToStructs ¶
func ServiceResolverFailoverToStructs(s *ServiceResolverFailover, t *structs.ServiceResolverFailover)
func ServiceResolverFromStructs ¶
func ServiceResolverFromStructs(t *structs.ServiceResolverConfigEntry, s *ServiceResolver)
func ServiceResolverRedirectFromStructs ¶
func ServiceResolverRedirectFromStructs(t *structs.ServiceResolverRedirect, s *ServiceResolverRedirect)
func ServiceResolverRedirectToStructs ¶
func ServiceResolverRedirectToStructs(s *ServiceResolverRedirect, t *structs.ServiceResolverRedirect)
func ServiceResolverSubsetFromStructs ¶
func ServiceResolverSubsetFromStructs(t *structs.ServiceResolverSubset, s *ServiceResolverSubset)
func ServiceResolverSubsetToStructs ¶
func ServiceResolverSubsetToStructs(s *ServiceResolverSubset, t *structs.ServiceResolverSubset)
func ServiceResolverToStructs ¶
func ServiceResolverToStructs(s *ServiceResolver, t *structs.ServiceResolverConfigEntry)
func SourceIntentionFromStructs ¶
func SourceIntentionFromStructs(t *structs.SourceIntention, s *SourceIntention)
func SourceIntentionToStructs ¶
func SourceIntentionToStructs(s *SourceIntention, t *structs.SourceIntention)
func TransparentProxyConfigFromStructs ¶ added in v1.14.0
func TransparentProxyConfigFromStructs(t *structs.TransparentProxyConfig, s *TransparentProxyConfig)
func TransparentProxyConfigToStructs ¶ added in v1.14.0
func TransparentProxyConfigToStructs(s *TransparentProxyConfig, t *structs.TransparentProxyConfig)
func TransparentProxyMeshConfigFromStructs ¶
func TransparentProxyMeshConfigFromStructs(t *structs.TransparentProxyMeshConfig, s *TransparentProxyMeshConfig)
func TransparentProxyMeshConfigToStructs ¶
func TransparentProxyMeshConfigToStructs(s *TransparentProxyMeshConfig, t *structs.TransparentProxyMeshConfig)
func UpstreamConfigFromStructs ¶ added in v1.14.0
func UpstreamConfigFromStructs(t *structs.UpstreamConfig, s *UpstreamConfig)
func UpstreamConfigToStructs ¶ added in v1.14.0
func UpstreamConfigToStructs(s *UpstreamConfig, t *structs.UpstreamConfig)
func UpstreamConfigurationFromStructs ¶ added in v1.14.0
func UpstreamConfigurationFromStructs(t *structs.UpstreamConfiguration, s *UpstreamConfiguration)
func UpstreamConfigurationToStructs ¶ added in v1.14.0
func UpstreamConfigurationToStructs(s *UpstreamConfiguration, t *structs.UpstreamConfiguration)
func UpstreamLimitsFromStructs ¶ added in v1.14.0
func UpstreamLimitsFromStructs(t *structs.UpstreamLimits, s *UpstreamLimits)
func UpstreamLimitsToStructs ¶ added in v1.14.0
func UpstreamLimitsToStructs(s *UpstreamLimits, t *structs.UpstreamLimits)
Types ¶
type ConfigEntry ¶
type ConfigEntry struct { Kind Kind `protobuf:"varint,1,opt,name=Kind,proto3,enum=hashicorp.consul.internal.configentry.Kind" json:"Kind,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` EnterpriseMeta *pbcommon.EnterpriseMeta `protobuf:"bytes,3,opt,name=EnterpriseMeta,proto3" json:"EnterpriseMeta,omitempty"` RaftIndex *pbcommon.RaftIndex `protobuf:"bytes,4,opt,name=RaftIndex,proto3" json:"RaftIndex,omitempty"` // Types that are assignable to Entry: // // *ConfigEntry_MeshConfig // *ConfigEntry_ServiceResolver // *ConfigEntry_IngressGateway // *ConfigEntry_ServiceIntentions // *ConfigEntry_ServiceDefaults Entry isConfigEntry_Entry `protobuf_oneof:"Entry"` // contains filtered or unexported fields }
func ConfigEntryFromStructs ¶
func ConfigEntryFromStructs(s structs.ConfigEntry) *ConfigEntry
func (*ConfigEntry) Descriptor
deprecated
func (*ConfigEntry) Descriptor() ([]byte, []int)
Deprecated: Use ConfigEntry.ProtoReflect.Descriptor instead.
func (*ConfigEntry) GetEnterpriseMeta ¶
func (x *ConfigEntry) GetEnterpriseMeta() *pbcommon.EnterpriseMeta
func (*ConfigEntry) GetEntry ¶
func (m *ConfigEntry) GetEntry() isConfigEntry_Entry
func (*ConfigEntry) GetIngressGateway ¶
func (x *ConfigEntry) GetIngressGateway() *IngressGateway
func (*ConfigEntry) GetKind ¶
func (x *ConfigEntry) GetKind() Kind
func (*ConfigEntry) GetMeshConfig ¶
func (x *ConfigEntry) GetMeshConfig() *MeshConfig
func (*ConfigEntry) GetName ¶
func (x *ConfigEntry) GetName() string
func (*ConfigEntry) GetRaftIndex ¶
func (x *ConfigEntry) GetRaftIndex() *pbcommon.RaftIndex
func (*ConfigEntry) GetServiceDefaults ¶ added in v1.14.0
func (x *ConfigEntry) GetServiceDefaults() *ServiceDefaults
func (*ConfigEntry) GetServiceIntentions ¶
func (x *ConfigEntry) GetServiceIntentions() *ServiceIntentions
func (*ConfigEntry) GetServiceResolver ¶
func (x *ConfigEntry) GetServiceResolver() *ServiceResolver
func (*ConfigEntry) MarshalBinary ¶
func (msg *ConfigEntry) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*ConfigEntry) ProtoMessage ¶
func (*ConfigEntry) ProtoMessage()
func (*ConfigEntry) ProtoReflect ¶
func (x *ConfigEntry) ProtoReflect() protoreflect.Message
func (*ConfigEntry) Reset ¶
func (x *ConfigEntry) Reset()
func (*ConfigEntry) String ¶
func (x *ConfigEntry) String() string
func (*ConfigEntry) UnmarshalBinary ¶
func (msg *ConfigEntry) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type ConfigEntry_IngressGateway ¶
type ConfigEntry_IngressGateway struct {
IngressGateway *IngressGateway `protobuf:"bytes,7,opt,name=IngressGateway,proto3,oneof"`
}
type ConfigEntry_MeshConfig ¶
type ConfigEntry_MeshConfig struct {
MeshConfig *MeshConfig `protobuf:"bytes,5,opt,name=MeshConfig,proto3,oneof"`
}
type ConfigEntry_ServiceDefaults ¶ added in v1.14.0
type ConfigEntry_ServiceDefaults struct {
ServiceDefaults *ServiceDefaults `protobuf:"bytes,9,opt,name=ServiceDefaults,proto3,oneof"`
}
type ConfigEntry_ServiceIntentions ¶
type ConfigEntry_ServiceIntentions struct {
ServiceIntentions *ServiceIntentions `protobuf:"bytes,8,opt,name=ServiceIntentions,proto3,oneof"`
}
type ConfigEntry_ServiceResolver ¶
type ConfigEntry_ServiceResolver struct {
ServiceResolver *ServiceResolver `protobuf:"bytes,6,opt,name=ServiceResolver,proto3,oneof"`
}
type CookieConfig ¶
type CookieConfig struct { Session bool `protobuf:"varint,1,opt,name=Session,proto3" json:"Session,omitempty"` // mog: func-to=structs.DurationFromProto func-from=structs.DurationToProto TTL *durationpb.Duration `protobuf:"bytes,2,opt,name=TTL,proto3" json:"TTL,omitempty"` Path string `protobuf:"bytes,3,opt,name=Path,proto3" json:"Path,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.CookieConfig output=config_entry.gen.go name=Structs
func (*CookieConfig) Descriptor
deprecated
func (*CookieConfig) Descriptor() ([]byte, []int)
Deprecated: Use CookieConfig.ProtoReflect.Descriptor instead.
func (*CookieConfig) GetPath ¶
func (x *CookieConfig) GetPath() string
func (*CookieConfig) GetSession ¶
func (x *CookieConfig) GetSession() bool
func (*CookieConfig) GetTTL ¶
func (x *CookieConfig) GetTTL() *durationpb.Duration
func (*CookieConfig) MarshalBinary ¶
func (msg *CookieConfig) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*CookieConfig) ProtoMessage ¶
func (*CookieConfig) ProtoMessage()
func (*CookieConfig) ProtoReflect ¶
func (x *CookieConfig) ProtoReflect() protoreflect.Message
func (*CookieConfig) Reset ¶
func (x *CookieConfig) Reset()
func (*CookieConfig) String ¶
func (x *CookieConfig) String() string
func (*CookieConfig) UnmarshalBinary ¶
func (msg *CookieConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type DestinationConfig ¶ added in v1.14.0
type DestinationConfig struct { Addresses []string `protobuf:"bytes,1,rep,name=Addresses,proto3" json:"Addresses,omitempty"` // mog: func-to=int func-from=int32 Port int32 `protobuf:"varint,2,opt,name=Port,proto3" json:"Port,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.DestinationConfig output=config_entry.gen.go name=Structs
func (*DestinationConfig) Descriptor
deprecated
added in
v1.14.0
func (*DestinationConfig) Descriptor() ([]byte, []int)
Deprecated: Use DestinationConfig.ProtoReflect.Descriptor instead.
func (*DestinationConfig) GetAddresses ¶ added in v1.14.0
func (x *DestinationConfig) GetAddresses() []string
func (*DestinationConfig) GetPort ¶ added in v1.14.0
func (x *DestinationConfig) GetPort() int32
func (*DestinationConfig) MarshalBinary ¶ added in v1.14.0
func (msg *DestinationConfig) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*DestinationConfig) ProtoMessage ¶ added in v1.14.0
func (*DestinationConfig) ProtoMessage()
func (*DestinationConfig) ProtoReflect ¶ added in v1.14.0
func (x *DestinationConfig) ProtoReflect() protoreflect.Message
func (*DestinationConfig) Reset ¶ added in v1.14.0
func (x *DestinationConfig) Reset()
func (*DestinationConfig) String ¶ added in v1.14.0
func (x *DestinationConfig) String() string
func (*DestinationConfig) UnmarshalBinary ¶ added in v1.14.0
func (msg *DestinationConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type ExposeConfig ¶ added in v1.14.0
type ExposeConfig struct { Checks bool `protobuf:"varint,1,opt,name=Checks,proto3" json:"Checks,omitempty"` Paths []*ExposePath `protobuf:"bytes,2,rep,name=Paths,proto3" json:"Paths,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.ExposeConfig output=config_entry.gen.go name=Structs
func (*ExposeConfig) Descriptor
deprecated
added in
v1.14.0
func (*ExposeConfig) Descriptor() ([]byte, []int)
Deprecated: Use ExposeConfig.ProtoReflect.Descriptor instead.
func (*ExposeConfig) GetChecks ¶ added in v1.14.0
func (x *ExposeConfig) GetChecks() bool
func (*ExposeConfig) GetPaths ¶ added in v1.14.0
func (x *ExposeConfig) GetPaths() []*ExposePath
func (*ExposeConfig) MarshalBinary ¶ added in v1.14.0
func (msg *ExposeConfig) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*ExposeConfig) ProtoMessage ¶ added in v1.14.0
func (*ExposeConfig) ProtoMessage()
func (*ExposeConfig) ProtoReflect ¶ added in v1.14.0
func (x *ExposeConfig) ProtoReflect() protoreflect.Message
func (*ExposeConfig) Reset ¶ added in v1.14.0
func (x *ExposeConfig) Reset()
func (*ExposeConfig) String ¶ added in v1.14.0
func (x *ExposeConfig) String() string
func (*ExposeConfig) UnmarshalBinary ¶ added in v1.14.0
func (msg *ExposeConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type ExposePath ¶ added in v1.14.0
type ExposePath struct { // mog: func-to=int func-from=int32 ListenerPort int32 `protobuf:"varint,1,opt,name=ListenerPort,proto3" json:"ListenerPort,omitempty"` Path string `protobuf:"bytes,2,opt,name=Path,proto3" json:"Path,omitempty"` // mog: func-to=int func-from=int32 LocalPathPort int32 `protobuf:"varint,3,opt,name=LocalPathPort,proto3" json:"LocalPathPort,omitempty"` Protocol string `protobuf:"bytes,4,opt,name=Protocol,proto3" json:"Protocol,omitempty"` ParsedFromCheck bool `protobuf:"varint,5,opt,name=ParsedFromCheck,proto3" json:"ParsedFromCheck,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.ExposePath output=config_entry.gen.go name=Structs
func (*ExposePath) Descriptor
deprecated
added in
v1.14.0
func (*ExposePath) Descriptor() ([]byte, []int)
Deprecated: Use ExposePath.ProtoReflect.Descriptor instead.
func (*ExposePath) GetListenerPort ¶ added in v1.14.0
func (x *ExposePath) GetListenerPort() int32
func (*ExposePath) GetLocalPathPort ¶ added in v1.14.0
func (x *ExposePath) GetLocalPathPort() int32
func (*ExposePath) GetParsedFromCheck ¶ added in v1.14.0
func (x *ExposePath) GetParsedFromCheck() bool
func (*ExposePath) GetPath ¶ added in v1.14.0
func (x *ExposePath) GetPath() string
func (*ExposePath) GetProtocol ¶ added in v1.14.0
func (x *ExposePath) GetProtocol() string
func (*ExposePath) MarshalBinary ¶ added in v1.14.0
func (msg *ExposePath) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*ExposePath) ProtoMessage ¶ added in v1.14.0
func (*ExposePath) ProtoMessage()
func (*ExposePath) ProtoReflect ¶ added in v1.14.0
func (x *ExposePath) ProtoReflect() protoreflect.Message
func (*ExposePath) Reset ¶ added in v1.14.0
func (x *ExposePath) Reset()
func (*ExposePath) String ¶ added in v1.14.0
func (x *ExposePath) String() string
func (*ExposePath) UnmarshalBinary ¶ added in v1.14.0
func (msg *ExposePath) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type GatewayServiceTLSConfig ¶
type GatewayServiceTLSConfig struct { SDS *GatewayTLSSDSConfig `protobuf:"bytes,1,opt,name=SDS,proto3" json:"SDS,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.GatewayServiceTLSConfig output=config_entry.gen.go name=Structs
func (*GatewayServiceTLSConfig) Descriptor
deprecated
func (*GatewayServiceTLSConfig) Descriptor() ([]byte, []int)
Deprecated: Use GatewayServiceTLSConfig.ProtoReflect.Descriptor instead.
func (*GatewayServiceTLSConfig) GetSDS ¶
func (x *GatewayServiceTLSConfig) GetSDS() *GatewayTLSSDSConfig
func (*GatewayServiceTLSConfig) MarshalBinary ¶
func (msg *GatewayServiceTLSConfig) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*GatewayServiceTLSConfig) ProtoMessage ¶
func (*GatewayServiceTLSConfig) ProtoMessage()
func (*GatewayServiceTLSConfig) ProtoReflect ¶
func (x *GatewayServiceTLSConfig) ProtoReflect() protoreflect.Message
func (*GatewayServiceTLSConfig) Reset ¶
func (x *GatewayServiceTLSConfig) Reset()
func (*GatewayServiceTLSConfig) String ¶
func (x *GatewayServiceTLSConfig) String() string
func (*GatewayServiceTLSConfig) UnmarshalBinary ¶
func (msg *GatewayServiceTLSConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type GatewayTLSConfig ¶
type GatewayTLSConfig struct { Enabled bool `protobuf:"varint,1,opt,name=Enabled,proto3" json:"Enabled,omitempty"` SDS *GatewayTLSSDSConfig `protobuf:"bytes,2,opt,name=SDS,proto3" json:"SDS,omitempty"` // mog: func-from=tlsVersionFromStructs func-to=tlsVersionToStructs TLSMinVersion string `protobuf:"bytes,3,opt,name=TLSMinVersion,proto3" json:"TLSMinVersion,omitempty"` // mog: func-from=tlsVersionFromStructs func-to=tlsVersionToStructs TLSMaxVersion string `protobuf:"bytes,4,opt,name=TLSMaxVersion,proto3" json:"TLSMaxVersion,omitempty"` // mog: func-from=cipherSuitesFromStructs func-to=cipherSuitesToStructs CipherSuites []string `protobuf:"bytes,5,rep,name=CipherSuites,proto3" json:"CipherSuites,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.GatewayTLSConfig output=config_entry.gen.go name=Structs
func (*GatewayTLSConfig) Descriptor
deprecated
func (*GatewayTLSConfig) Descriptor() ([]byte, []int)
Deprecated: Use GatewayTLSConfig.ProtoReflect.Descriptor instead.
func (*GatewayTLSConfig) GetCipherSuites ¶
func (x *GatewayTLSConfig) GetCipherSuites() []string
func (*GatewayTLSConfig) GetEnabled ¶
func (x *GatewayTLSConfig) GetEnabled() bool
func (*GatewayTLSConfig) GetSDS ¶
func (x *GatewayTLSConfig) GetSDS() *GatewayTLSSDSConfig
func (*GatewayTLSConfig) GetTLSMaxVersion ¶
func (x *GatewayTLSConfig) GetTLSMaxVersion() string
func (*GatewayTLSConfig) GetTLSMinVersion ¶
func (x *GatewayTLSConfig) GetTLSMinVersion() string
func (*GatewayTLSConfig) MarshalBinary ¶
func (msg *GatewayTLSConfig) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*GatewayTLSConfig) ProtoMessage ¶
func (*GatewayTLSConfig) ProtoMessage()
func (*GatewayTLSConfig) ProtoReflect ¶
func (x *GatewayTLSConfig) ProtoReflect() protoreflect.Message
func (*GatewayTLSConfig) Reset ¶
func (x *GatewayTLSConfig) Reset()
func (*GatewayTLSConfig) String ¶
func (x *GatewayTLSConfig) String() string
func (*GatewayTLSConfig) UnmarshalBinary ¶
func (msg *GatewayTLSConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type GatewayTLSSDSConfig ¶
type GatewayTLSSDSConfig struct { ClusterName string `protobuf:"bytes,1,opt,name=ClusterName,proto3" json:"ClusterName,omitempty"` CertResource string `protobuf:"bytes,2,opt,name=CertResource,proto3" json:"CertResource,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.GatewayTLSSDSConfig output=config_entry.gen.go name=Structs
func (*GatewayTLSSDSConfig) Descriptor
deprecated
func (*GatewayTLSSDSConfig) Descriptor() ([]byte, []int)
Deprecated: Use GatewayTLSSDSConfig.ProtoReflect.Descriptor instead.
func (*GatewayTLSSDSConfig) GetCertResource ¶
func (x *GatewayTLSSDSConfig) GetCertResource() string
func (*GatewayTLSSDSConfig) GetClusterName ¶
func (x *GatewayTLSSDSConfig) GetClusterName() string
func (*GatewayTLSSDSConfig) MarshalBinary ¶
func (msg *GatewayTLSSDSConfig) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*GatewayTLSSDSConfig) ProtoMessage ¶
func (*GatewayTLSSDSConfig) ProtoMessage()
func (*GatewayTLSSDSConfig) ProtoReflect ¶
func (x *GatewayTLSSDSConfig) ProtoReflect() protoreflect.Message
func (*GatewayTLSSDSConfig) Reset ¶
func (x *GatewayTLSSDSConfig) Reset()
func (*GatewayTLSSDSConfig) String ¶
func (x *GatewayTLSSDSConfig) String() string
func (*GatewayTLSSDSConfig) UnmarshalBinary ¶
func (msg *GatewayTLSSDSConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type HTTPHeaderModifiers ¶
type HTTPHeaderModifiers struct { Add map[string]string `` /* 147-byte string literal not displayed */ Set map[string]string `` /* 147-byte string literal not displayed */ Remove []string `protobuf:"bytes,3,rep,name=Remove,proto3" json:"Remove,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.HTTPHeaderModifiers output=config_entry.gen.go name=Structs
func (*HTTPHeaderModifiers) Descriptor
deprecated
func (*HTTPHeaderModifiers) Descriptor() ([]byte, []int)
Deprecated: Use HTTPHeaderModifiers.ProtoReflect.Descriptor instead.
func (*HTTPHeaderModifiers) GetAdd ¶
func (x *HTTPHeaderModifiers) GetAdd() map[string]string
func (*HTTPHeaderModifiers) GetRemove ¶
func (x *HTTPHeaderModifiers) GetRemove() []string
func (*HTTPHeaderModifiers) GetSet ¶
func (x *HTTPHeaderModifiers) GetSet() map[string]string
func (*HTTPHeaderModifiers) MarshalBinary ¶
func (msg *HTTPHeaderModifiers) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*HTTPHeaderModifiers) ProtoMessage ¶
func (*HTTPHeaderModifiers) ProtoMessage()
func (*HTTPHeaderModifiers) ProtoReflect ¶
func (x *HTTPHeaderModifiers) ProtoReflect() protoreflect.Message
func (*HTTPHeaderModifiers) Reset ¶
func (x *HTTPHeaderModifiers) Reset()
func (*HTTPHeaderModifiers) String ¶
func (x *HTTPHeaderModifiers) String() string
func (*HTTPHeaderModifiers) UnmarshalBinary ¶
func (msg *HTTPHeaderModifiers) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type HashPolicy ¶
type HashPolicy struct { Field string `protobuf:"bytes,1,opt,name=Field,proto3" json:"Field,omitempty"` FieldValue string `protobuf:"bytes,2,opt,name=FieldValue,proto3" json:"FieldValue,omitempty"` CookieConfig *CookieConfig `protobuf:"bytes,3,opt,name=CookieConfig,proto3" json:"CookieConfig,omitempty"` SourceIP bool `protobuf:"varint,4,opt,name=SourceIP,proto3" json:"SourceIP,omitempty"` Terminal bool `protobuf:"varint,5,opt,name=Terminal,proto3" json:"Terminal,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.HashPolicy output=config_entry.gen.go name=Structs
func (*HashPolicy) Descriptor
deprecated
func (*HashPolicy) Descriptor() ([]byte, []int)
Deprecated: Use HashPolicy.ProtoReflect.Descriptor instead.
func (*HashPolicy) GetCookieConfig ¶
func (x *HashPolicy) GetCookieConfig() *CookieConfig
func (*HashPolicy) GetField ¶
func (x *HashPolicy) GetField() string
func (*HashPolicy) GetFieldValue ¶
func (x *HashPolicy) GetFieldValue() string
func (*HashPolicy) GetSourceIP ¶
func (x *HashPolicy) GetSourceIP() bool
func (*HashPolicy) GetTerminal ¶
func (x *HashPolicy) GetTerminal() bool
func (*HashPolicy) MarshalBinary ¶
func (msg *HashPolicy) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*HashPolicy) ProtoMessage ¶
func (*HashPolicy) ProtoMessage()
func (*HashPolicy) ProtoReflect ¶
func (x *HashPolicy) ProtoReflect() protoreflect.Message
func (*HashPolicy) Reset ¶
func (x *HashPolicy) Reset()
func (*HashPolicy) String ¶
func (x *HashPolicy) String() string
func (*HashPolicy) UnmarshalBinary ¶
func (msg *HashPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type IngressGateway ¶
type IngressGateway struct { TLS *GatewayTLSConfig `protobuf:"bytes,1,opt,name=TLS,proto3" json:"TLS,omitempty"` Listeners []*IngressListener `protobuf:"bytes,2,rep,name=Listeners,proto3" json:"Listeners,omitempty"` Meta map[string]string `` /* 149-byte string literal not displayed */ Defaults *IngressServiceConfig `protobuf:"bytes,4,opt,name=Defaults,proto3" json:"Defaults,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.IngressGatewayConfigEntry output=config_entry.gen.go name=Structs ignore-fields=Kind,Name,RaftIndex,EnterpriseMeta
func (*IngressGateway) Descriptor
deprecated
func (*IngressGateway) Descriptor() ([]byte, []int)
Deprecated: Use IngressGateway.ProtoReflect.Descriptor instead.
func (*IngressGateway) GetDefaults ¶ added in v1.13.3
func (x *IngressGateway) GetDefaults() *IngressServiceConfig
func (*IngressGateway) GetListeners ¶
func (x *IngressGateway) GetListeners() []*IngressListener
func (*IngressGateway) GetMeta ¶
func (x *IngressGateway) GetMeta() map[string]string
func (*IngressGateway) GetTLS ¶
func (x *IngressGateway) GetTLS() *GatewayTLSConfig
func (*IngressGateway) MarshalBinary ¶
func (msg *IngressGateway) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*IngressGateway) ProtoMessage ¶
func (*IngressGateway) ProtoMessage()
func (*IngressGateway) ProtoReflect ¶
func (x *IngressGateway) ProtoReflect() protoreflect.Message
func (*IngressGateway) Reset ¶
func (x *IngressGateway) Reset()
func (*IngressGateway) String ¶
func (x *IngressGateway) String() string
func (*IngressGateway) UnmarshalBinary ¶
func (msg *IngressGateway) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type IngressListener ¶
type IngressListener struct { // mog: func-to=int func-from=int32 Port int32 `protobuf:"varint,1,opt,name=Port,proto3" json:"Port,omitempty"` Protocol string `protobuf:"bytes,2,opt,name=Protocol,proto3" json:"Protocol,omitempty"` Services []*IngressService `protobuf:"bytes,3,rep,name=Services,proto3" json:"Services,omitempty"` TLS *GatewayTLSConfig `protobuf:"bytes,4,opt,name=TLS,proto3" json:"TLS,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.IngressListener output=config_entry.gen.go name=Structs
func (*IngressListener) Descriptor
deprecated
func (*IngressListener) Descriptor() ([]byte, []int)
Deprecated: Use IngressListener.ProtoReflect.Descriptor instead.
func (*IngressListener) GetPort ¶
func (x *IngressListener) GetPort() int32
func (*IngressListener) GetProtocol ¶
func (x *IngressListener) GetProtocol() string
func (*IngressListener) GetServices ¶
func (x *IngressListener) GetServices() []*IngressService
func (*IngressListener) GetTLS ¶
func (x *IngressListener) GetTLS() *GatewayTLSConfig
func (*IngressListener) MarshalBinary ¶
func (msg *IngressListener) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*IngressListener) ProtoMessage ¶
func (*IngressListener) ProtoMessage()
func (*IngressListener) ProtoReflect ¶
func (x *IngressListener) ProtoReflect() protoreflect.Message
func (*IngressListener) Reset ¶
func (x *IngressListener) Reset()
func (*IngressListener) String ¶
func (x *IngressListener) String() string
func (*IngressListener) UnmarshalBinary ¶
func (msg *IngressListener) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type IngressService ¶
type IngressService struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Hosts []string `protobuf:"bytes,2,rep,name=Hosts,proto3" json:"Hosts,omitempty"` TLS *GatewayServiceTLSConfig `protobuf:"bytes,3,opt,name=TLS,proto3" json:"TLS,omitempty"` RequestHeaders *HTTPHeaderModifiers `protobuf:"bytes,4,opt,name=RequestHeaders,proto3" json:"RequestHeaders,omitempty"` ResponseHeaders *HTTPHeaderModifiers `protobuf:"bytes,5,opt,name=ResponseHeaders,proto3" json:"ResponseHeaders,omitempty"` Meta map[string]string `` /* 149-byte string literal not displayed */ // mog: func-to=enterpriseMetaToStructs func-from=enterpriseMetaFromStructs EnterpriseMeta *pbcommon.EnterpriseMeta `protobuf:"bytes,7,opt,name=EnterpriseMeta,proto3" json:"EnterpriseMeta,omitempty"` MaxConnections uint32 `protobuf:"varint,8,opt,name=MaxConnections,proto3" json:"MaxConnections,omitempty"` MaxPendingRequests uint32 `protobuf:"varint,9,opt,name=MaxPendingRequests,proto3" json:"MaxPendingRequests,omitempty"` MaxConcurrentRequests uint32 `protobuf:"varint,10,opt,name=MaxConcurrentRequests,proto3" json:"MaxConcurrentRequests,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.IngressService output=config_entry.gen.go name=Structs
func (*IngressService) Descriptor
deprecated
func (*IngressService) Descriptor() ([]byte, []int)
Deprecated: Use IngressService.ProtoReflect.Descriptor instead.
func (*IngressService) GetEnterpriseMeta ¶
func (x *IngressService) GetEnterpriseMeta() *pbcommon.EnterpriseMeta
func (*IngressService) GetHosts ¶
func (x *IngressService) GetHosts() []string
func (*IngressService) GetMaxConcurrentRequests ¶ added in v1.13.3
func (x *IngressService) GetMaxConcurrentRequests() uint32
func (*IngressService) GetMaxConnections ¶ added in v1.13.3
func (x *IngressService) GetMaxConnections() uint32
func (*IngressService) GetMaxPendingRequests ¶ added in v1.13.3
func (x *IngressService) GetMaxPendingRequests() uint32
func (*IngressService) GetMeta ¶
func (x *IngressService) GetMeta() map[string]string
func (*IngressService) GetName ¶
func (x *IngressService) GetName() string
func (*IngressService) GetRequestHeaders ¶
func (x *IngressService) GetRequestHeaders() *HTTPHeaderModifiers
func (*IngressService) GetResponseHeaders ¶
func (x *IngressService) GetResponseHeaders() *HTTPHeaderModifiers
func (*IngressService) GetTLS ¶
func (x *IngressService) GetTLS() *GatewayServiceTLSConfig
func (*IngressService) MarshalBinary ¶
func (msg *IngressService) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*IngressService) ProtoMessage ¶
func (*IngressService) ProtoMessage()
func (*IngressService) ProtoReflect ¶
func (x *IngressService) ProtoReflect() protoreflect.Message
func (*IngressService) Reset ¶
func (x *IngressService) Reset()
func (*IngressService) String ¶
func (x *IngressService) String() string
func (*IngressService) UnmarshalBinary ¶
func (msg *IngressService) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type IngressServiceConfig ¶ added in v1.13.3
type IngressServiceConfig struct { MaxConnections uint32 `protobuf:"varint,1,opt,name=MaxConnections,proto3" json:"MaxConnections,omitempty"` MaxPendingRequests uint32 `protobuf:"varint,2,opt,name=MaxPendingRequests,proto3" json:"MaxPendingRequests,omitempty"` MaxConcurrentRequests uint32 `protobuf:"varint,3,opt,name=MaxConcurrentRequests,proto3" json:"MaxConcurrentRequests,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.IngressServiceConfig output=config_entry.gen.go name=Structs
func (*IngressServiceConfig) Descriptor
deprecated
added in
v1.13.3
func (*IngressServiceConfig) Descriptor() ([]byte, []int)
Deprecated: Use IngressServiceConfig.ProtoReflect.Descriptor instead.
func (*IngressServiceConfig) GetMaxConcurrentRequests ¶ added in v1.13.3
func (x *IngressServiceConfig) GetMaxConcurrentRequests() uint32
func (*IngressServiceConfig) GetMaxConnections ¶ added in v1.13.3
func (x *IngressServiceConfig) GetMaxConnections() uint32
func (*IngressServiceConfig) GetMaxPendingRequests ¶ added in v1.13.3
func (x *IngressServiceConfig) GetMaxPendingRequests() uint32
func (*IngressServiceConfig) MarshalBinary ¶ added in v1.13.3
func (msg *IngressServiceConfig) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*IngressServiceConfig) ProtoMessage ¶ added in v1.13.3
func (*IngressServiceConfig) ProtoMessage()
func (*IngressServiceConfig) ProtoReflect ¶ added in v1.13.3
func (x *IngressServiceConfig) ProtoReflect() protoreflect.Message
func (*IngressServiceConfig) Reset ¶ added in v1.13.3
func (x *IngressServiceConfig) Reset()
func (*IngressServiceConfig) String ¶ added in v1.13.3
func (x *IngressServiceConfig) String() string
func (*IngressServiceConfig) UnmarshalBinary ¶ added in v1.13.3
func (msg *IngressServiceConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type IntentionAction ¶
type IntentionAction int32
const ( IntentionAction_Deny IntentionAction = 0 IntentionAction_Allow IntentionAction = 1 )
func (IntentionAction) Descriptor ¶
func (IntentionAction) Descriptor() protoreflect.EnumDescriptor
func (IntentionAction) Enum ¶
func (x IntentionAction) Enum() *IntentionAction
func (IntentionAction) EnumDescriptor
deprecated
func (IntentionAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use IntentionAction.Descriptor instead.
func (IntentionAction) Number ¶
func (x IntentionAction) Number() protoreflect.EnumNumber
func (IntentionAction) String ¶
func (x IntentionAction) String() string
func (IntentionAction) Type ¶
func (IntentionAction) Type() protoreflect.EnumType
type IntentionHTTPHeaderPermission ¶
type IntentionHTTPHeaderPermission struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Present bool `protobuf:"varint,2,opt,name=Present,proto3" json:"Present,omitempty"` Exact string `protobuf:"bytes,3,opt,name=Exact,proto3" json:"Exact,omitempty"` Prefix string `protobuf:"bytes,4,opt,name=Prefix,proto3" json:"Prefix,omitempty"` Suffix string `protobuf:"bytes,5,opt,name=Suffix,proto3" json:"Suffix,omitempty"` Regex string `protobuf:"bytes,6,opt,name=Regex,proto3" json:"Regex,omitempty"` Invert bool `protobuf:"varint,7,opt,name=Invert,proto3" json:"Invert,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.IntentionHTTPHeaderPermission output=config_entry.gen.go name=Structs
func (*IntentionHTTPHeaderPermission) Descriptor
deprecated
func (*IntentionHTTPHeaderPermission) Descriptor() ([]byte, []int)
Deprecated: Use IntentionHTTPHeaderPermission.ProtoReflect.Descriptor instead.
func (*IntentionHTTPHeaderPermission) GetExact ¶
func (x *IntentionHTTPHeaderPermission) GetExact() string
func (*IntentionHTTPHeaderPermission) GetInvert ¶
func (x *IntentionHTTPHeaderPermission) GetInvert() bool
func (*IntentionHTTPHeaderPermission) GetName ¶
func (x *IntentionHTTPHeaderPermission) GetName() string
func (*IntentionHTTPHeaderPermission) GetPrefix ¶
func (x *IntentionHTTPHeaderPermission) GetPrefix() string
func (*IntentionHTTPHeaderPermission) GetPresent ¶
func (x *IntentionHTTPHeaderPermission) GetPresent() bool
func (*IntentionHTTPHeaderPermission) GetRegex ¶
func (x *IntentionHTTPHeaderPermission) GetRegex() string
func (*IntentionHTTPHeaderPermission) GetSuffix ¶
func (x *IntentionHTTPHeaderPermission) GetSuffix() string
func (*IntentionHTTPHeaderPermission) MarshalBinary ¶
func (msg *IntentionHTTPHeaderPermission) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*IntentionHTTPHeaderPermission) ProtoMessage ¶
func (*IntentionHTTPHeaderPermission) ProtoMessage()
func (*IntentionHTTPHeaderPermission) ProtoReflect ¶
func (x *IntentionHTTPHeaderPermission) ProtoReflect() protoreflect.Message
func (*IntentionHTTPHeaderPermission) Reset ¶
func (x *IntentionHTTPHeaderPermission) Reset()
func (*IntentionHTTPHeaderPermission) String ¶
func (x *IntentionHTTPHeaderPermission) String() string
func (*IntentionHTTPHeaderPermission) UnmarshalBinary ¶
func (msg *IntentionHTTPHeaderPermission) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type IntentionHTTPPermission ¶
type IntentionHTTPPermission struct { PathExact string `protobuf:"bytes,1,opt,name=PathExact,proto3" json:"PathExact,omitempty"` PathPrefix string `protobuf:"bytes,2,opt,name=PathPrefix,proto3" json:"PathPrefix,omitempty"` PathRegex string `protobuf:"bytes,3,opt,name=PathRegex,proto3" json:"PathRegex,omitempty"` Header []*IntentionHTTPHeaderPermission `protobuf:"bytes,4,rep,name=Header,proto3" json:"Header,omitempty"` Methods []string `protobuf:"bytes,5,rep,name=Methods,proto3" json:"Methods,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.IntentionHTTPPermission output=config_entry.gen.go name=Structs
func (*IntentionHTTPPermission) Descriptor
deprecated
func (*IntentionHTTPPermission) Descriptor() ([]byte, []int)
Deprecated: Use IntentionHTTPPermission.ProtoReflect.Descriptor instead.
func (*IntentionHTTPPermission) GetHeader ¶
func (x *IntentionHTTPPermission) GetHeader() []*IntentionHTTPHeaderPermission
func (*IntentionHTTPPermission) GetMethods ¶
func (x *IntentionHTTPPermission) GetMethods() []string
func (*IntentionHTTPPermission) GetPathExact ¶
func (x *IntentionHTTPPermission) GetPathExact() string
func (*IntentionHTTPPermission) GetPathPrefix ¶
func (x *IntentionHTTPPermission) GetPathPrefix() string
func (*IntentionHTTPPermission) GetPathRegex ¶
func (x *IntentionHTTPPermission) GetPathRegex() string
func (*IntentionHTTPPermission) MarshalBinary ¶
func (msg *IntentionHTTPPermission) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*IntentionHTTPPermission) ProtoMessage ¶
func (*IntentionHTTPPermission) ProtoMessage()
func (*IntentionHTTPPermission) ProtoReflect ¶
func (x *IntentionHTTPPermission) ProtoReflect() protoreflect.Message
func (*IntentionHTTPPermission) Reset ¶
func (x *IntentionHTTPPermission) Reset()
func (*IntentionHTTPPermission) String ¶
func (x *IntentionHTTPPermission) String() string
func (*IntentionHTTPPermission) UnmarshalBinary ¶
func (msg *IntentionHTTPPermission) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type IntentionPermission ¶
type IntentionPermission struct { // mog: func-to=intentionActionToStructs func-from=intentionActionFromStructs Action IntentionAction `protobuf:"varint,1,opt,name=Action,proto3,enum=hashicorp.consul.internal.configentry.IntentionAction" json:"Action,omitempty"` HTTP *IntentionHTTPPermission `protobuf:"bytes,2,opt,name=HTTP,proto3" json:"HTTP,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.IntentionPermission output=config_entry.gen.go name=Structs
func (*IntentionPermission) Descriptor
deprecated
func (*IntentionPermission) Descriptor() ([]byte, []int)
Deprecated: Use IntentionPermission.ProtoReflect.Descriptor instead.
func (*IntentionPermission) GetAction ¶
func (x *IntentionPermission) GetAction() IntentionAction
func (*IntentionPermission) GetHTTP ¶
func (x *IntentionPermission) GetHTTP() *IntentionHTTPPermission
func (*IntentionPermission) MarshalBinary ¶
func (msg *IntentionPermission) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*IntentionPermission) ProtoMessage ¶
func (*IntentionPermission) ProtoMessage()
func (*IntentionPermission) ProtoReflect ¶
func (x *IntentionPermission) ProtoReflect() protoreflect.Message
func (*IntentionPermission) Reset ¶
func (x *IntentionPermission) Reset()
func (*IntentionPermission) String ¶
func (x *IntentionPermission) String() string
func (*IntentionPermission) UnmarshalBinary ¶
func (msg *IntentionPermission) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type IntentionSourceType ¶
type IntentionSourceType int32
const (
IntentionSourceType_Consul IntentionSourceType = 0
)
func (IntentionSourceType) Descriptor ¶
func (IntentionSourceType) Descriptor() protoreflect.EnumDescriptor
func (IntentionSourceType) Enum ¶
func (x IntentionSourceType) Enum() *IntentionSourceType
func (IntentionSourceType) EnumDescriptor
deprecated
func (IntentionSourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use IntentionSourceType.Descriptor instead.
func (IntentionSourceType) Number ¶
func (x IntentionSourceType) Number() protoreflect.EnumNumber
func (IntentionSourceType) String ¶
func (x IntentionSourceType) String() string
func (IntentionSourceType) Type ¶
func (IntentionSourceType) Type() protoreflect.EnumType
type Kind ¶
type Kind int32
func (Kind) Descriptor ¶
func (Kind) Descriptor() protoreflect.EnumDescriptor
func (Kind) EnumDescriptor
deprecated
func (Kind) Number ¶
func (x Kind) Number() protoreflect.EnumNumber
func (Kind) Type ¶
func (Kind) Type() protoreflect.EnumType
type LeastRequestConfig ¶
type LeastRequestConfig struct { ChoiceCount uint32 `protobuf:"varint,1,opt,name=ChoiceCount,proto3" json:"ChoiceCount,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.LeastRequestConfig output=config_entry.gen.go name=Structs
func (*LeastRequestConfig) Descriptor
deprecated
func (*LeastRequestConfig) Descriptor() ([]byte, []int)
Deprecated: Use LeastRequestConfig.ProtoReflect.Descriptor instead.
func (*LeastRequestConfig) GetChoiceCount ¶
func (x *LeastRequestConfig) GetChoiceCount() uint32
func (*LeastRequestConfig) MarshalBinary ¶
func (msg *LeastRequestConfig) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*LeastRequestConfig) ProtoMessage ¶
func (*LeastRequestConfig) ProtoMessage()
func (*LeastRequestConfig) ProtoReflect ¶
func (x *LeastRequestConfig) ProtoReflect() protoreflect.Message
func (*LeastRequestConfig) Reset ¶
func (x *LeastRequestConfig) Reset()
func (*LeastRequestConfig) String ¶
func (x *LeastRequestConfig) String() string
func (*LeastRequestConfig) UnmarshalBinary ¶
func (msg *LeastRequestConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type LoadBalancer ¶
type LoadBalancer struct { Policy string `protobuf:"bytes,1,opt,name=Policy,proto3" json:"Policy,omitempty"` RingHashConfig *RingHashConfig `protobuf:"bytes,2,opt,name=RingHashConfig,proto3" json:"RingHashConfig,omitempty"` LeastRequestConfig *LeastRequestConfig `protobuf:"bytes,3,opt,name=LeastRequestConfig,proto3" json:"LeastRequestConfig,omitempty"` HashPolicies []*HashPolicy `protobuf:"bytes,4,rep,name=HashPolicies,proto3" json:"HashPolicies,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.LoadBalancer output=config_entry.gen.go name=Structs
func (*LoadBalancer) Descriptor
deprecated
func (*LoadBalancer) Descriptor() ([]byte, []int)
Deprecated: Use LoadBalancer.ProtoReflect.Descriptor instead.
func (*LoadBalancer) GetHashPolicies ¶
func (x *LoadBalancer) GetHashPolicies() []*HashPolicy
func (*LoadBalancer) GetLeastRequestConfig ¶
func (x *LoadBalancer) GetLeastRequestConfig() *LeastRequestConfig
func (*LoadBalancer) GetPolicy ¶
func (x *LoadBalancer) GetPolicy() string
func (*LoadBalancer) GetRingHashConfig ¶
func (x *LoadBalancer) GetRingHashConfig() *RingHashConfig
func (*LoadBalancer) MarshalBinary ¶
func (msg *LoadBalancer) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*LoadBalancer) ProtoMessage ¶
func (*LoadBalancer) ProtoMessage()
func (*LoadBalancer) ProtoReflect ¶
func (x *LoadBalancer) ProtoReflect() protoreflect.Message
func (*LoadBalancer) Reset ¶
func (x *LoadBalancer) Reset()
func (*LoadBalancer) String ¶
func (x *LoadBalancer) String() string
func (*LoadBalancer) UnmarshalBinary ¶
func (msg *LoadBalancer) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type MeshConfig ¶
type MeshConfig struct { TransparentProxy *TransparentProxyMeshConfig `protobuf:"bytes,1,opt,name=TransparentProxy,proto3" json:"TransparentProxy,omitempty"` TLS *MeshTLSConfig `protobuf:"bytes,2,opt,name=TLS,proto3" json:"TLS,omitempty"` HTTP *MeshHTTPConfig `protobuf:"bytes,3,opt,name=HTTP,proto3" json:"HTTP,omitempty"` Meta map[string]string `` /* 149-byte string literal not displayed */ Peering *PeeringMeshConfig `protobuf:"bytes,5,opt,name=Peering,proto3" json:"Peering,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.MeshConfigEntry output=config_entry.gen.go name=Structs ignore-fields=RaftIndex,EnterpriseMeta
func (*MeshConfig) Descriptor
deprecated
func (*MeshConfig) Descriptor() ([]byte, []int)
Deprecated: Use MeshConfig.ProtoReflect.Descriptor instead.
func (*MeshConfig) GetHTTP ¶
func (x *MeshConfig) GetHTTP() *MeshHTTPConfig
func (*MeshConfig) GetMeta ¶
func (x *MeshConfig) GetMeta() map[string]string
func (*MeshConfig) GetPeering ¶ added in v1.14.0
func (x *MeshConfig) GetPeering() *PeeringMeshConfig
func (*MeshConfig) GetTLS ¶
func (x *MeshConfig) GetTLS() *MeshTLSConfig
func (*MeshConfig) GetTransparentProxy ¶
func (x *MeshConfig) GetTransparentProxy() *TransparentProxyMeshConfig
func (*MeshConfig) MarshalBinary ¶
func (msg *MeshConfig) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*MeshConfig) ProtoMessage ¶
func (*MeshConfig) ProtoMessage()
func (*MeshConfig) ProtoReflect ¶
func (x *MeshConfig) ProtoReflect() protoreflect.Message
func (*MeshConfig) Reset ¶
func (x *MeshConfig) Reset()
func (*MeshConfig) String ¶
func (x *MeshConfig) String() string
func (*MeshConfig) UnmarshalBinary ¶
func (msg *MeshConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type MeshDirectionalTLSConfig ¶
type MeshDirectionalTLSConfig struct { // mog: func-from=tlsVersionFromStructs func-to=tlsVersionToStructs TLSMinVersion string `protobuf:"bytes,1,opt,name=TLSMinVersion,proto3" json:"TLSMinVersion,omitempty"` // mog: func-from=tlsVersionFromStructs func-to=tlsVersionToStructs TLSMaxVersion string `protobuf:"bytes,2,opt,name=TLSMaxVersion,proto3" json:"TLSMaxVersion,omitempty"` // mog: func-from=cipherSuitesFromStructs func-to=cipherSuitesToStructs CipherSuites []string `protobuf:"bytes,3,rep,name=CipherSuites,proto3" json:"CipherSuites,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.MeshDirectionalTLSConfig output=config_entry.gen.go name=Structs
func (*MeshDirectionalTLSConfig) Descriptor
deprecated
func (*MeshDirectionalTLSConfig) Descriptor() ([]byte, []int)
Deprecated: Use MeshDirectionalTLSConfig.ProtoReflect.Descriptor instead.
func (*MeshDirectionalTLSConfig) GetCipherSuites ¶
func (x *MeshDirectionalTLSConfig) GetCipherSuites() []string
func (*MeshDirectionalTLSConfig) GetTLSMaxVersion ¶
func (x *MeshDirectionalTLSConfig) GetTLSMaxVersion() string
func (*MeshDirectionalTLSConfig) GetTLSMinVersion ¶
func (x *MeshDirectionalTLSConfig) GetTLSMinVersion() string
func (*MeshDirectionalTLSConfig) MarshalBinary ¶
func (msg *MeshDirectionalTLSConfig) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*MeshDirectionalTLSConfig) ProtoMessage ¶
func (*MeshDirectionalTLSConfig) ProtoMessage()
func (*MeshDirectionalTLSConfig) ProtoReflect ¶
func (x *MeshDirectionalTLSConfig) ProtoReflect() protoreflect.Message
func (*MeshDirectionalTLSConfig) Reset ¶
func (x *MeshDirectionalTLSConfig) Reset()
func (*MeshDirectionalTLSConfig) String ¶
func (x *MeshDirectionalTLSConfig) String() string
func (*MeshDirectionalTLSConfig) UnmarshalBinary ¶
func (msg *MeshDirectionalTLSConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type MeshGatewayConfig ¶ added in v1.14.0
type MeshGatewayConfig struct { // mog: func-to=meshGatewayModeToStructs func-from=meshGatewayModeFromStructs Mode MeshGatewayMode `protobuf:"varint,1,opt,name=Mode,proto3,enum=hashicorp.consul.internal.configentry.MeshGatewayMode" json:"Mode,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.MeshGatewayConfig output=config_entry.gen.go name=Structs
func (*MeshGatewayConfig) Descriptor
deprecated
added in
v1.14.0
func (*MeshGatewayConfig) Descriptor() ([]byte, []int)
Deprecated: Use MeshGatewayConfig.ProtoReflect.Descriptor instead.
func (*MeshGatewayConfig) GetMode ¶ added in v1.14.0
func (x *MeshGatewayConfig) GetMode() MeshGatewayMode
func (*MeshGatewayConfig) MarshalBinary ¶ added in v1.14.0
func (msg *MeshGatewayConfig) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*MeshGatewayConfig) ProtoMessage ¶ added in v1.14.0
func (*MeshGatewayConfig) ProtoMessage()
func (*MeshGatewayConfig) ProtoReflect ¶ added in v1.14.0
func (x *MeshGatewayConfig) ProtoReflect() protoreflect.Message
func (*MeshGatewayConfig) Reset ¶ added in v1.14.0
func (x *MeshGatewayConfig) Reset()
func (*MeshGatewayConfig) String ¶ added in v1.14.0
func (x *MeshGatewayConfig) String() string
func (*MeshGatewayConfig) UnmarshalBinary ¶ added in v1.14.0
func (msg *MeshGatewayConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type MeshGatewayMode ¶ added in v1.14.0
type MeshGatewayMode int32
const ( MeshGatewayMode_MeshGatewayModeDefault MeshGatewayMode = 0 MeshGatewayMode_MeshGatewayModeNone MeshGatewayMode = 1 MeshGatewayMode_MeshGatewayModeLocal MeshGatewayMode = 2 MeshGatewayMode_MeshGatewayModeRemote MeshGatewayMode = 3 )
func (MeshGatewayMode) Descriptor ¶ added in v1.14.0
func (MeshGatewayMode) Descriptor() protoreflect.EnumDescriptor
func (MeshGatewayMode) Enum ¶ added in v1.14.0
func (x MeshGatewayMode) Enum() *MeshGatewayMode
func (MeshGatewayMode) EnumDescriptor
deprecated
added in
v1.14.0
func (MeshGatewayMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use MeshGatewayMode.Descriptor instead.
func (MeshGatewayMode) Number ¶ added in v1.14.0
func (x MeshGatewayMode) Number() protoreflect.EnumNumber
func (MeshGatewayMode) String ¶ added in v1.14.0
func (x MeshGatewayMode) String() string
func (MeshGatewayMode) Type ¶ added in v1.14.0
func (MeshGatewayMode) Type() protoreflect.EnumType
type MeshHTTPConfig ¶
type MeshHTTPConfig struct { SanitizeXForwardedClientCert bool `protobuf:"varint,1,opt,name=SanitizeXForwardedClientCert,proto3" json:"SanitizeXForwardedClientCert,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.MeshHTTPConfig output=config_entry.gen.go name=Structs
func (*MeshHTTPConfig) Descriptor
deprecated
func (*MeshHTTPConfig) Descriptor() ([]byte, []int)
Deprecated: Use MeshHTTPConfig.ProtoReflect.Descriptor instead.
func (*MeshHTTPConfig) GetSanitizeXForwardedClientCert ¶
func (x *MeshHTTPConfig) GetSanitizeXForwardedClientCert() bool
func (*MeshHTTPConfig) MarshalBinary ¶
func (msg *MeshHTTPConfig) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*MeshHTTPConfig) ProtoMessage ¶
func (*MeshHTTPConfig) ProtoMessage()
func (*MeshHTTPConfig) ProtoReflect ¶
func (x *MeshHTTPConfig) ProtoReflect() protoreflect.Message
func (*MeshHTTPConfig) Reset ¶
func (x *MeshHTTPConfig) Reset()
func (*MeshHTTPConfig) String ¶
func (x *MeshHTTPConfig) String() string
func (*MeshHTTPConfig) UnmarshalBinary ¶
func (msg *MeshHTTPConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type MeshTLSConfig ¶
type MeshTLSConfig struct { Incoming *MeshDirectionalTLSConfig `protobuf:"bytes,1,opt,name=Incoming,proto3" json:"Incoming,omitempty"` Outgoing *MeshDirectionalTLSConfig `protobuf:"bytes,2,opt,name=Outgoing,proto3" json:"Outgoing,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.MeshTLSConfig output=config_entry.gen.go name=Structs
func (*MeshTLSConfig) Descriptor
deprecated
func (*MeshTLSConfig) Descriptor() ([]byte, []int)
Deprecated: Use MeshTLSConfig.ProtoReflect.Descriptor instead.
func (*MeshTLSConfig) GetIncoming ¶
func (x *MeshTLSConfig) GetIncoming() *MeshDirectionalTLSConfig
func (*MeshTLSConfig) GetOutgoing ¶
func (x *MeshTLSConfig) GetOutgoing() *MeshDirectionalTLSConfig
func (*MeshTLSConfig) MarshalBinary ¶
func (msg *MeshTLSConfig) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*MeshTLSConfig) ProtoMessage ¶
func (*MeshTLSConfig) ProtoMessage()
func (*MeshTLSConfig) ProtoReflect ¶
func (x *MeshTLSConfig) ProtoReflect() protoreflect.Message
func (*MeshTLSConfig) Reset ¶
func (x *MeshTLSConfig) Reset()
func (*MeshTLSConfig) String ¶
func (x *MeshTLSConfig) String() string
func (*MeshTLSConfig) UnmarshalBinary ¶
func (msg *MeshTLSConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type PassiveHealthCheck ¶ added in v1.14.0
type PassiveHealthCheck struct { // mog: func-to=structs.DurationFromProto func-from=structs.DurationToProto Interval *durationpb.Duration `protobuf:"bytes,1,opt,name=Interval,proto3" json:"Interval,omitempty"` MaxFailures uint32 `protobuf:"varint,2,opt,name=MaxFailures,proto3" json:"MaxFailures,omitempty"` // mog: target=EnforcingConsecutive5xx func-to=pointerToUint32FromUint32 func-from=uint32FromPointerToUint32 EnforcingConsecutive5Xx uint32 `protobuf:"varint,3,opt,name=EnforcingConsecutive5xx,proto3" json:"EnforcingConsecutive5xx,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.PassiveHealthCheck output=config_entry.gen.go name=Structs
func (*PassiveHealthCheck) Descriptor
deprecated
added in
v1.14.0
func (*PassiveHealthCheck) Descriptor() ([]byte, []int)
Deprecated: Use PassiveHealthCheck.ProtoReflect.Descriptor instead.
func (*PassiveHealthCheck) GetEnforcingConsecutive5Xx ¶ added in v1.14.0
func (x *PassiveHealthCheck) GetEnforcingConsecutive5Xx() uint32
func (*PassiveHealthCheck) GetInterval ¶ added in v1.14.0
func (x *PassiveHealthCheck) GetInterval() *durationpb.Duration
func (*PassiveHealthCheck) GetMaxFailures ¶ added in v1.14.0
func (x *PassiveHealthCheck) GetMaxFailures() uint32
func (*PassiveHealthCheck) MarshalBinary ¶ added in v1.14.0
func (msg *PassiveHealthCheck) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*PassiveHealthCheck) ProtoMessage ¶ added in v1.14.0
func (*PassiveHealthCheck) ProtoMessage()
func (*PassiveHealthCheck) ProtoReflect ¶ added in v1.14.0
func (x *PassiveHealthCheck) ProtoReflect() protoreflect.Message
func (*PassiveHealthCheck) Reset ¶ added in v1.14.0
func (x *PassiveHealthCheck) Reset()
func (*PassiveHealthCheck) String ¶ added in v1.14.0
func (x *PassiveHealthCheck) String() string
func (*PassiveHealthCheck) UnmarshalBinary ¶ added in v1.14.0
func (msg *PassiveHealthCheck) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type PeeringMeshConfig ¶ added in v1.14.0
type PeeringMeshConfig struct { PeerThroughMeshGateways bool `protobuf:"varint,1,opt,name=PeerThroughMeshGateways,proto3" json:"PeerThroughMeshGateways,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.PeeringMeshConfig output=config_entry.gen.go name=Structs
func (*PeeringMeshConfig) Descriptor
deprecated
added in
v1.14.0
func (*PeeringMeshConfig) Descriptor() ([]byte, []int)
Deprecated: Use PeeringMeshConfig.ProtoReflect.Descriptor instead.
func (*PeeringMeshConfig) GetPeerThroughMeshGateways ¶ added in v1.14.0
func (x *PeeringMeshConfig) GetPeerThroughMeshGateways() bool
func (*PeeringMeshConfig) MarshalBinary ¶ added in v1.14.0
func (msg *PeeringMeshConfig) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*PeeringMeshConfig) ProtoMessage ¶ added in v1.14.0
func (*PeeringMeshConfig) ProtoMessage()
func (*PeeringMeshConfig) ProtoReflect ¶ added in v1.14.0
func (x *PeeringMeshConfig) ProtoReflect() protoreflect.Message
func (*PeeringMeshConfig) Reset ¶ added in v1.14.0
func (x *PeeringMeshConfig) Reset()
func (*PeeringMeshConfig) String ¶ added in v1.14.0
func (x *PeeringMeshConfig) String() string
func (*PeeringMeshConfig) UnmarshalBinary ¶ added in v1.14.0
func (msg *PeeringMeshConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type ProxyMode ¶ added in v1.14.0
type ProxyMode int32
func (ProxyMode) Descriptor ¶ added in v1.14.0
func (ProxyMode) Descriptor() protoreflect.EnumDescriptor
func (ProxyMode) EnumDescriptor
deprecated
added in
v1.14.0
func (ProxyMode) Number ¶ added in v1.14.0
func (x ProxyMode) Number() protoreflect.EnumNumber
func (ProxyMode) Type ¶ added in v1.14.0
func (ProxyMode) Type() protoreflect.EnumType
type RingHashConfig ¶
type RingHashConfig struct { MinimumRingSize uint64 `protobuf:"varint,1,opt,name=MinimumRingSize,proto3" json:"MinimumRingSize,omitempty"` MaximumRingSize uint64 `protobuf:"varint,2,opt,name=MaximumRingSize,proto3" json:"MaximumRingSize,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.RingHashConfig output=config_entry.gen.go name=Structs
func (*RingHashConfig) Descriptor
deprecated
func (*RingHashConfig) Descriptor() ([]byte, []int)
Deprecated: Use RingHashConfig.ProtoReflect.Descriptor instead.
func (*RingHashConfig) GetMaximumRingSize ¶
func (x *RingHashConfig) GetMaximumRingSize() uint64
func (*RingHashConfig) GetMinimumRingSize ¶
func (x *RingHashConfig) GetMinimumRingSize() uint64
func (*RingHashConfig) MarshalBinary ¶
func (msg *RingHashConfig) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*RingHashConfig) ProtoMessage ¶
func (*RingHashConfig) ProtoMessage()
func (*RingHashConfig) ProtoReflect ¶
func (x *RingHashConfig) ProtoReflect() protoreflect.Message
func (*RingHashConfig) Reset ¶
func (x *RingHashConfig) Reset()
func (*RingHashConfig) String ¶
func (x *RingHashConfig) String() string
func (*RingHashConfig) UnmarshalBinary ¶
func (msg *RingHashConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type ServiceDefaults ¶ added in v1.14.0
type ServiceDefaults struct { Protocol string `protobuf:"bytes,1,opt,name=Protocol,proto3" json:"Protocol,omitempty"` // mog: func-to=proxyModeToStructs func-from=proxyModeFromStructs Mode ProxyMode `protobuf:"varint,2,opt,name=Mode,proto3,enum=hashicorp.consul.internal.configentry.ProxyMode" json:"Mode,omitempty"` TransparentProxy *TransparentProxyConfig `protobuf:"bytes,3,opt,name=TransparentProxy,proto3" json:"TransparentProxy,omitempty"` MeshGateway *MeshGatewayConfig `protobuf:"bytes,4,opt,name=MeshGateway,proto3" json:"MeshGateway,omitempty"` Expose *ExposeConfig `protobuf:"bytes,5,opt,name=Expose,proto3" json:"Expose,omitempty"` ExternalSNI string `protobuf:"bytes,6,opt,name=ExternalSNI,proto3" json:"ExternalSNI,omitempty"` UpstreamConfig *UpstreamConfiguration `protobuf:"bytes,7,opt,name=UpstreamConfig,proto3" json:"UpstreamConfig,omitempty"` Destination *DestinationConfig `protobuf:"bytes,8,opt,name=Destination,proto3" json:"Destination,omitempty"` // mog: func-to=int func-from=int32 MaxInboundConnections int32 `protobuf:"varint,9,opt,name=MaxInboundConnections,proto3" json:"MaxInboundConnections,omitempty"` // mog: func-to=int func-from=int32 LocalConnectTimeoutMs int32 `protobuf:"varint,10,opt,name=LocalConnectTimeoutMs,proto3" json:"LocalConnectTimeoutMs,omitempty"` // mog: func-to=int func-from=int32 LocalRequestTimeoutMs int32 `protobuf:"varint,11,opt,name=LocalRequestTimeoutMs,proto3" json:"LocalRequestTimeoutMs,omitempty"` BalanceInboundConnections string `protobuf:"bytes,12,opt,name=BalanceInboundConnections,proto3" json:"BalanceInboundConnections,omitempty"` Meta map[string]string `` /* 150-byte string literal not displayed */ // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.ServiceConfigEntry output=config_entry.gen.go name=Structs ignore-fields=Kind,Name,RaftIndex,EnterpriseMeta
func (*ServiceDefaults) Descriptor
deprecated
added in
v1.14.0
func (*ServiceDefaults) Descriptor() ([]byte, []int)
Deprecated: Use ServiceDefaults.ProtoReflect.Descriptor instead.
func (*ServiceDefaults) GetBalanceInboundConnections ¶ added in v1.14.0
func (x *ServiceDefaults) GetBalanceInboundConnections() string
func (*ServiceDefaults) GetDestination ¶ added in v1.14.0
func (x *ServiceDefaults) GetDestination() *DestinationConfig
func (*ServiceDefaults) GetExpose ¶ added in v1.14.0
func (x *ServiceDefaults) GetExpose() *ExposeConfig
func (*ServiceDefaults) GetExternalSNI ¶ added in v1.14.0
func (x *ServiceDefaults) GetExternalSNI() string
func (*ServiceDefaults) GetLocalConnectTimeoutMs ¶ added in v1.14.0
func (x *ServiceDefaults) GetLocalConnectTimeoutMs() int32
func (*ServiceDefaults) GetLocalRequestTimeoutMs ¶ added in v1.14.0
func (x *ServiceDefaults) GetLocalRequestTimeoutMs() int32
func (*ServiceDefaults) GetMaxInboundConnections ¶ added in v1.14.0
func (x *ServiceDefaults) GetMaxInboundConnections() int32
func (*ServiceDefaults) GetMeshGateway ¶ added in v1.14.0
func (x *ServiceDefaults) GetMeshGateway() *MeshGatewayConfig
func (*ServiceDefaults) GetMeta ¶ added in v1.14.0
func (x *ServiceDefaults) GetMeta() map[string]string
func (*ServiceDefaults) GetMode ¶ added in v1.14.0
func (x *ServiceDefaults) GetMode() ProxyMode
func (*ServiceDefaults) GetProtocol ¶ added in v1.14.0
func (x *ServiceDefaults) GetProtocol() string
func (*ServiceDefaults) GetTransparentProxy ¶ added in v1.14.0
func (x *ServiceDefaults) GetTransparentProxy() *TransparentProxyConfig
func (*ServiceDefaults) GetUpstreamConfig ¶ added in v1.14.0
func (x *ServiceDefaults) GetUpstreamConfig() *UpstreamConfiguration
func (*ServiceDefaults) MarshalBinary ¶ added in v1.14.0
func (msg *ServiceDefaults) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*ServiceDefaults) ProtoMessage ¶ added in v1.14.0
func (*ServiceDefaults) ProtoMessage()
func (*ServiceDefaults) ProtoReflect ¶ added in v1.14.0
func (x *ServiceDefaults) ProtoReflect() protoreflect.Message
func (*ServiceDefaults) Reset ¶ added in v1.14.0
func (x *ServiceDefaults) Reset()
func (*ServiceDefaults) String ¶ added in v1.14.0
func (x *ServiceDefaults) String() string
func (*ServiceDefaults) UnmarshalBinary ¶ added in v1.14.0
func (msg *ServiceDefaults) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type ServiceIntentions ¶
type ServiceIntentions struct { Sources []*SourceIntention `protobuf:"bytes,1,rep,name=Sources,proto3" json:"Sources,omitempty"` Meta map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.ServiceIntentionsConfigEntry output=config_entry.gen.go name=Structs ignore-fields=Kind,Name,RaftIndex,EnterpriseMeta
func (*ServiceIntentions) Descriptor
deprecated
func (*ServiceIntentions) Descriptor() ([]byte, []int)
Deprecated: Use ServiceIntentions.ProtoReflect.Descriptor instead.
func (*ServiceIntentions) GetMeta ¶
func (x *ServiceIntentions) GetMeta() map[string]string
func (*ServiceIntentions) GetSources ¶
func (x *ServiceIntentions) GetSources() []*SourceIntention
func (*ServiceIntentions) MarshalBinary ¶
func (msg *ServiceIntentions) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*ServiceIntentions) ProtoMessage ¶
func (*ServiceIntentions) ProtoMessage()
func (*ServiceIntentions) ProtoReflect ¶
func (x *ServiceIntentions) ProtoReflect() protoreflect.Message
func (*ServiceIntentions) Reset ¶
func (x *ServiceIntentions) Reset()
func (*ServiceIntentions) String ¶
func (x *ServiceIntentions) String() string
func (*ServiceIntentions) UnmarshalBinary ¶
func (msg *ServiceIntentions) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type ServiceResolver ¶
type ServiceResolver struct { DefaultSubset string `protobuf:"bytes,1,opt,name=DefaultSubset,proto3" json:"DefaultSubset,omitempty"` Subsets map[string]*ServiceResolverSubset `` /* 155-byte string literal not displayed */ Redirect *ServiceResolverRedirect `protobuf:"bytes,3,opt,name=Redirect,proto3" json:"Redirect,omitempty"` Failover map[string]*ServiceResolverFailover `` /* 157-byte string literal not displayed */ // mog: func-to=structs.DurationFromProto func-from=structs.DurationToProto ConnectTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=ConnectTimeout,proto3" json:"ConnectTimeout,omitempty"` LoadBalancer *LoadBalancer `protobuf:"bytes,6,opt,name=LoadBalancer,proto3" json:"LoadBalancer,omitempty"` Meta map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.ServiceResolverConfigEntry output=config_entry.gen.go name=Structs ignore-fields=Kind,Name,RaftIndex,EnterpriseMeta
func (*ServiceResolver) Descriptor
deprecated
func (*ServiceResolver) Descriptor() ([]byte, []int)
Deprecated: Use ServiceResolver.ProtoReflect.Descriptor instead.
func (*ServiceResolver) GetConnectTimeout ¶
func (x *ServiceResolver) GetConnectTimeout() *durationpb.Duration
func (*ServiceResolver) GetDefaultSubset ¶
func (x *ServiceResolver) GetDefaultSubset() string
func (*ServiceResolver) GetFailover ¶
func (x *ServiceResolver) GetFailover() map[string]*ServiceResolverFailover
func (*ServiceResolver) GetLoadBalancer ¶
func (x *ServiceResolver) GetLoadBalancer() *LoadBalancer
func (*ServiceResolver) GetMeta ¶
func (x *ServiceResolver) GetMeta() map[string]string
func (*ServiceResolver) GetRedirect ¶
func (x *ServiceResolver) GetRedirect() *ServiceResolverRedirect
func (*ServiceResolver) GetSubsets ¶
func (x *ServiceResolver) GetSubsets() map[string]*ServiceResolverSubset
func (*ServiceResolver) MarshalBinary ¶
func (msg *ServiceResolver) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*ServiceResolver) ProtoMessage ¶
func (*ServiceResolver) ProtoMessage()
func (*ServiceResolver) ProtoReflect ¶
func (x *ServiceResolver) ProtoReflect() protoreflect.Message
func (*ServiceResolver) Reset ¶
func (x *ServiceResolver) Reset()
func (*ServiceResolver) String ¶
func (x *ServiceResolver) String() string
func (*ServiceResolver) UnmarshalBinary ¶
func (msg *ServiceResolver) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type ServiceResolverFailover ¶
type ServiceResolverFailover struct { Service string `protobuf:"bytes,1,opt,name=Service,proto3" json:"Service,omitempty"` ServiceSubset string `protobuf:"bytes,2,opt,name=ServiceSubset,proto3" json:"ServiceSubset,omitempty"` Namespace string `protobuf:"bytes,3,opt,name=Namespace,proto3" json:"Namespace,omitempty"` Datacenters []string `protobuf:"bytes,4,rep,name=Datacenters,proto3" json:"Datacenters,omitempty"` Targets []*ServiceResolverFailoverTarget `protobuf:"bytes,5,rep,name=Targets,proto3" json:"Targets,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.ServiceResolverFailover output=config_entry.gen.go name=Structs
func (*ServiceResolverFailover) Descriptor
deprecated
func (*ServiceResolverFailover) Descriptor() ([]byte, []int)
Deprecated: Use ServiceResolverFailover.ProtoReflect.Descriptor instead.
func (*ServiceResolverFailover) GetDatacenters ¶
func (x *ServiceResolverFailover) GetDatacenters() []string
func (*ServiceResolverFailover) GetNamespace ¶
func (x *ServiceResolverFailover) GetNamespace() string
func (*ServiceResolverFailover) GetService ¶
func (x *ServiceResolverFailover) GetService() string
func (*ServiceResolverFailover) GetServiceSubset ¶
func (x *ServiceResolverFailover) GetServiceSubset() string
func (*ServiceResolverFailover) GetTargets ¶ added in v1.14.0
func (x *ServiceResolverFailover) GetTargets() []*ServiceResolverFailoverTarget
func (*ServiceResolverFailover) MarshalBinary ¶
func (msg *ServiceResolverFailover) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*ServiceResolverFailover) ProtoMessage ¶
func (*ServiceResolverFailover) ProtoMessage()
func (*ServiceResolverFailover) ProtoReflect ¶
func (x *ServiceResolverFailover) ProtoReflect() protoreflect.Message
func (*ServiceResolverFailover) Reset ¶
func (x *ServiceResolverFailover) Reset()
func (*ServiceResolverFailover) String ¶
func (x *ServiceResolverFailover) String() string
func (*ServiceResolverFailover) UnmarshalBinary ¶
func (msg *ServiceResolverFailover) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type ServiceResolverFailoverTarget ¶ added in v1.14.0
type ServiceResolverFailoverTarget struct { Service string `protobuf:"bytes,1,opt,name=Service,proto3" json:"Service,omitempty"` ServiceSubset string `protobuf:"bytes,2,opt,name=ServiceSubset,proto3" json:"ServiceSubset,omitempty"` Partition string `protobuf:"bytes,3,opt,name=Partition,proto3" json:"Partition,omitempty"` Namespace string `protobuf:"bytes,4,opt,name=Namespace,proto3" json:"Namespace,omitempty"` Datacenter string `protobuf:"bytes,5,opt,name=Datacenter,proto3" json:"Datacenter,omitempty"` Peer string `protobuf:"bytes,6,opt,name=Peer,proto3" json:"Peer,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.ServiceResolverFailoverTarget output=config_entry.gen.go name=Structs
func (*ServiceResolverFailoverTarget) Descriptor
deprecated
added in
v1.14.0
func (*ServiceResolverFailoverTarget) Descriptor() ([]byte, []int)
Deprecated: Use ServiceResolverFailoverTarget.ProtoReflect.Descriptor instead.
func (*ServiceResolverFailoverTarget) GetDatacenter ¶ added in v1.14.0
func (x *ServiceResolverFailoverTarget) GetDatacenter() string
func (*ServiceResolverFailoverTarget) GetNamespace ¶ added in v1.14.0
func (x *ServiceResolverFailoverTarget) GetNamespace() string
func (*ServiceResolverFailoverTarget) GetPartition ¶ added in v1.14.0
func (x *ServiceResolverFailoverTarget) GetPartition() string
func (*ServiceResolverFailoverTarget) GetPeer ¶ added in v1.14.0
func (x *ServiceResolverFailoverTarget) GetPeer() string
func (*ServiceResolverFailoverTarget) GetService ¶ added in v1.14.0
func (x *ServiceResolverFailoverTarget) GetService() string
func (*ServiceResolverFailoverTarget) GetServiceSubset ¶ added in v1.14.0
func (x *ServiceResolverFailoverTarget) GetServiceSubset() string
func (*ServiceResolverFailoverTarget) MarshalBinary ¶ added in v1.14.0
func (msg *ServiceResolverFailoverTarget) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*ServiceResolverFailoverTarget) ProtoMessage ¶ added in v1.14.0
func (*ServiceResolverFailoverTarget) ProtoMessage()
func (*ServiceResolverFailoverTarget) ProtoReflect ¶ added in v1.14.0
func (x *ServiceResolverFailoverTarget) ProtoReflect() protoreflect.Message
func (*ServiceResolverFailoverTarget) Reset ¶ added in v1.14.0
func (x *ServiceResolverFailoverTarget) Reset()
func (*ServiceResolverFailoverTarget) String ¶ added in v1.14.0
func (x *ServiceResolverFailoverTarget) String() string
func (*ServiceResolverFailoverTarget) UnmarshalBinary ¶ added in v1.14.0
func (msg *ServiceResolverFailoverTarget) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type ServiceResolverRedirect ¶
type ServiceResolverRedirect struct { Service string `protobuf:"bytes,1,opt,name=Service,proto3" json:"Service,omitempty"` ServiceSubset string `protobuf:"bytes,2,opt,name=ServiceSubset,proto3" json:"ServiceSubset,omitempty"` Namespace string `protobuf:"bytes,3,opt,name=Namespace,proto3" json:"Namespace,omitempty"` Partition string `protobuf:"bytes,4,opt,name=Partition,proto3" json:"Partition,omitempty"` Datacenter string `protobuf:"bytes,5,opt,name=Datacenter,proto3" json:"Datacenter,omitempty"` Peer string `protobuf:"bytes,6,opt,name=Peer,proto3" json:"Peer,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.ServiceResolverRedirect output=config_entry.gen.go name=Structs
func (*ServiceResolverRedirect) Descriptor
deprecated
func (*ServiceResolverRedirect) Descriptor() ([]byte, []int)
Deprecated: Use ServiceResolverRedirect.ProtoReflect.Descriptor instead.
func (*ServiceResolverRedirect) GetDatacenter ¶
func (x *ServiceResolverRedirect) GetDatacenter() string
func (*ServiceResolverRedirect) GetNamespace ¶
func (x *ServiceResolverRedirect) GetNamespace() string
func (*ServiceResolverRedirect) GetPartition ¶
func (x *ServiceResolverRedirect) GetPartition() string
func (*ServiceResolverRedirect) GetPeer ¶ added in v1.14.0
func (x *ServiceResolverRedirect) GetPeer() string
func (*ServiceResolverRedirect) GetService ¶
func (x *ServiceResolverRedirect) GetService() string
func (*ServiceResolverRedirect) GetServiceSubset ¶
func (x *ServiceResolverRedirect) GetServiceSubset() string
func (*ServiceResolverRedirect) MarshalBinary ¶
func (msg *ServiceResolverRedirect) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*ServiceResolverRedirect) ProtoMessage ¶
func (*ServiceResolverRedirect) ProtoMessage()
func (*ServiceResolverRedirect) ProtoReflect ¶
func (x *ServiceResolverRedirect) ProtoReflect() protoreflect.Message
func (*ServiceResolverRedirect) Reset ¶
func (x *ServiceResolverRedirect) Reset()
func (*ServiceResolverRedirect) String ¶
func (x *ServiceResolverRedirect) String() string
func (*ServiceResolverRedirect) UnmarshalBinary ¶
func (msg *ServiceResolverRedirect) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type ServiceResolverSubset ¶
type ServiceResolverSubset struct { Filter string `protobuf:"bytes,1,opt,name=Filter,proto3" json:"Filter,omitempty"` OnlyPassing bool `protobuf:"varint,2,opt,name=OnlyPassing,proto3" json:"OnlyPassing,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.ServiceResolverSubset output=config_entry.gen.go name=Structs
func (*ServiceResolverSubset) Descriptor
deprecated
func (*ServiceResolverSubset) Descriptor() ([]byte, []int)
Deprecated: Use ServiceResolverSubset.ProtoReflect.Descriptor instead.
func (*ServiceResolverSubset) GetFilter ¶
func (x *ServiceResolverSubset) GetFilter() string
func (*ServiceResolverSubset) GetOnlyPassing ¶
func (x *ServiceResolverSubset) GetOnlyPassing() bool
func (*ServiceResolverSubset) MarshalBinary ¶
func (msg *ServiceResolverSubset) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*ServiceResolverSubset) ProtoMessage ¶
func (*ServiceResolverSubset) ProtoMessage()
func (*ServiceResolverSubset) ProtoReflect ¶
func (x *ServiceResolverSubset) ProtoReflect() protoreflect.Message
func (*ServiceResolverSubset) Reset ¶
func (x *ServiceResolverSubset) Reset()
func (*ServiceResolverSubset) String ¶
func (x *ServiceResolverSubset) String() string
func (*ServiceResolverSubset) UnmarshalBinary ¶
func (msg *ServiceResolverSubset) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type SourceIntention ¶
type SourceIntention struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` // mog: func-to=intentionActionToStructs func-from=intentionActionFromStructs Action IntentionAction `protobuf:"varint,2,opt,name=Action,proto3,enum=hashicorp.consul.internal.configentry.IntentionAction" json:"Action,omitempty"` Permissions []*IntentionPermission `protobuf:"bytes,3,rep,name=Permissions,proto3" json:"Permissions,omitempty"` // mog: func-to=int func-from=int32 Precedence int32 `protobuf:"varint,4,opt,name=Precedence,proto3" json:"Precedence,omitempty"` LegacyID string `protobuf:"bytes,5,opt,name=LegacyID,proto3" json:"LegacyID,omitempty"` // mog: func-to=intentionSourceTypeToStructs func-from=intentionSourceTypeFromStructs Type IntentionSourceType `protobuf:"varint,6,opt,name=Type,proto3,enum=hashicorp.consul.internal.configentry.IntentionSourceType" json:"Type,omitempty"` Description string `protobuf:"bytes,7,opt,name=Description,proto3" json:"Description,omitempty"` LegacyMeta map[string]string `` /* 161-byte string literal not displayed */ // mog: func-to=timeToStructs func-from=timeFromStructs LegacyCreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=LegacyCreateTime,proto3" json:"LegacyCreateTime,omitempty"` // mog: func-to=timeToStructs func-from=timeFromStructs LegacyUpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=LegacyUpdateTime,proto3" json:"LegacyUpdateTime,omitempty"` // mog: func-to=enterpriseMetaToStructs func-from=enterpriseMetaFromStructs EnterpriseMeta *pbcommon.EnterpriseMeta `protobuf:"bytes,11,opt,name=EnterpriseMeta,proto3" json:"EnterpriseMeta,omitempty"` Peer string `protobuf:"bytes,12,opt,name=Peer,proto3" json:"Peer,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.SourceIntention output=config_entry.gen.go name=Structs
func (*SourceIntention) Descriptor
deprecated
func (*SourceIntention) Descriptor() ([]byte, []int)
Deprecated: Use SourceIntention.ProtoReflect.Descriptor instead.
func (*SourceIntention) GetAction ¶
func (x *SourceIntention) GetAction() IntentionAction
func (*SourceIntention) GetDescription ¶
func (x *SourceIntention) GetDescription() string
func (*SourceIntention) GetEnterpriseMeta ¶
func (x *SourceIntention) GetEnterpriseMeta() *pbcommon.EnterpriseMeta
func (*SourceIntention) GetLegacyCreateTime ¶
func (x *SourceIntention) GetLegacyCreateTime() *timestamppb.Timestamp
func (*SourceIntention) GetLegacyID ¶
func (x *SourceIntention) GetLegacyID() string
func (*SourceIntention) GetLegacyMeta ¶
func (x *SourceIntention) GetLegacyMeta() map[string]string
func (*SourceIntention) GetLegacyUpdateTime ¶
func (x *SourceIntention) GetLegacyUpdateTime() *timestamppb.Timestamp
func (*SourceIntention) GetName ¶
func (x *SourceIntention) GetName() string
func (*SourceIntention) GetPeer ¶
func (x *SourceIntention) GetPeer() string
func (*SourceIntention) GetPermissions ¶
func (x *SourceIntention) GetPermissions() []*IntentionPermission
func (*SourceIntention) GetPrecedence ¶
func (x *SourceIntention) GetPrecedence() int32
func (*SourceIntention) GetType ¶
func (x *SourceIntention) GetType() IntentionSourceType
func (*SourceIntention) MarshalBinary ¶
func (msg *SourceIntention) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*SourceIntention) ProtoMessage ¶
func (*SourceIntention) ProtoMessage()
func (*SourceIntention) ProtoReflect ¶
func (x *SourceIntention) ProtoReflect() protoreflect.Message
func (*SourceIntention) Reset ¶
func (x *SourceIntention) Reset()
func (*SourceIntention) String ¶
func (x *SourceIntention) String() string
func (*SourceIntention) UnmarshalBinary ¶
func (msg *SourceIntention) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type TransparentProxyConfig ¶ added in v1.14.0
type TransparentProxyConfig struct { // mog: func-to=int func-from=int32 OutboundListenerPort int32 `protobuf:"varint,1,opt,name=OutboundListenerPort,proto3" json:"OutboundListenerPort,omitempty"` DialedDirectly bool `protobuf:"varint,2,opt,name=DialedDirectly,proto3" json:"DialedDirectly,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.TransparentProxyConfig output=config_entry.gen.go name=Structs
func (*TransparentProxyConfig) Descriptor
deprecated
added in
v1.14.0
func (*TransparentProxyConfig) Descriptor() ([]byte, []int)
Deprecated: Use TransparentProxyConfig.ProtoReflect.Descriptor instead.
func (*TransparentProxyConfig) GetDialedDirectly ¶ added in v1.14.0
func (x *TransparentProxyConfig) GetDialedDirectly() bool
func (*TransparentProxyConfig) GetOutboundListenerPort ¶ added in v1.14.0
func (x *TransparentProxyConfig) GetOutboundListenerPort() int32
func (*TransparentProxyConfig) MarshalBinary ¶ added in v1.14.0
func (msg *TransparentProxyConfig) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*TransparentProxyConfig) ProtoMessage ¶ added in v1.14.0
func (*TransparentProxyConfig) ProtoMessage()
func (*TransparentProxyConfig) ProtoReflect ¶ added in v1.14.0
func (x *TransparentProxyConfig) ProtoReflect() protoreflect.Message
func (*TransparentProxyConfig) Reset ¶ added in v1.14.0
func (x *TransparentProxyConfig) Reset()
func (*TransparentProxyConfig) String ¶ added in v1.14.0
func (x *TransparentProxyConfig) String() string
func (*TransparentProxyConfig) UnmarshalBinary ¶ added in v1.14.0
func (msg *TransparentProxyConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type TransparentProxyMeshConfig ¶
type TransparentProxyMeshConfig struct { MeshDestinationsOnly bool `protobuf:"varint,1,opt,name=MeshDestinationsOnly,proto3" json:"MeshDestinationsOnly,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.TransparentProxyMeshConfig output=config_entry.gen.go name=Structs
func (*TransparentProxyMeshConfig) Descriptor
deprecated
func (*TransparentProxyMeshConfig) Descriptor() ([]byte, []int)
Deprecated: Use TransparentProxyMeshConfig.ProtoReflect.Descriptor instead.
func (*TransparentProxyMeshConfig) GetMeshDestinationsOnly ¶
func (x *TransparentProxyMeshConfig) GetMeshDestinationsOnly() bool
func (*TransparentProxyMeshConfig) MarshalBinary ¶
func (msg *TransparentProxyMeshConfig) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*TransparentProxyMeshConfig) ProtoMessage ¶
func (*TransparentProxyMeshConfig) ProtoMessage()
func (*TransparentProxyMeshConfig) ProtoReflect ¶
func (x *TransparentProxyMeshConfig) ProtoReflect() protoreflect.Message
func (*TransparentProxyMeshConfig) Reset ¶
func (x *TransparentProxyMeshConfig) Reset()
func (*TransparentProxyMeshConfig) String ¶
func (x *TransparentProxyMeshConfig) String() string
func (*TransparentProxyMeshConfig) UnmarshalBinary ¶
func (msg *TransparentProxyMeshConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type UpstreamConfig ¶ added in v1.14.0
type UpstreamConfig struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` // mog: func-to=enterpriseMetaToStructs func-from=enterpriseMetaFromStructs EnterpriseMeta *pbcommon.EnterpriseMeta `protobuf:"bytes,2,opt,name=EnterpriseMeta,proto3" json:"EnterpriseMeta,omitempty"` EnvoyListenerJSON string `protobuf:"bytes,3,opt,name=EnvoyListenerJSON,proto3" json:"EnvoyListenerJSON,omitempty"` EnvoyClusterJSON string `protobuf:"bytes,4,opt,name=EnvoyClusterJSON,proto3" json:"EnvoyClusterJSON,omitempty"` Protocol string `protobuf:"bytes,5,opt,name=Protocol,proto3" json:"Protocol,omitempty"` // mog: func-to=int func-from=int32 ConnectTimeoutMs int32 `protobuf:"varint,6,opt,name=ConnectTimeoutMs,proto3" json:"ConnectTimeoutMs,omitempty"` Limits *UpstreamLimits `protobuf:"bytes,7,opt,name=Limits,proto3" json:"Limits,omitempty"` PassiveHealthCheck *PassiveHealthCheck `protobuf:"bytes,8,opt,name=PassiveHealthCheck,proto3" json:"PassiveHealthCheck,omitempty"` MeshGateway *MeshGatewayConfig `protobuf:"bytes,9,opt,name=MeshGateway,proto3" json:"MeshGateway,omitempty"` BalanceOutboundConnections string `protobuf:"bytes,10,opt,name=BalanceOutboundConnections,proto3" json:"BalanceOutboundConnections,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.UpstreamConfig output=config_entry.gen.go name=Structs
func (*UpstreamConfig) Descriptor
deprecated
added in
v1.14.0
func (*UpstreamConfig) Descriptor() ([]byte, []int)
Deprecated: Use UpstreamConfig.ProtoReflect.Descriptor instead.
func (*UpstreamConfig) GetBalanceOutboundConnections ¶ added in v1.14.0
func (x *UpstreamConfig) GetBalanceOutboundConnections() string
func (*UpstreamConfig) GetConnectTimeoutMs ¶ added in v1.14.0
func (x *UpstreamConfig) GetConnectTimeoutMs() int32
func (*UpstreamConfig) GetEnterpriseMeta ¶ added in v1.14.0
func (x *UpstreamConfig) GetEnterpriseMeta() *pbcommon.EnterpriseMeta
func (*UpstreamConfig) GetEnvoyClusterJSON ¶ added in v1.14.0
func (x *UpstreamConfig) GetEnvoyClusterJSON() string
func (*UpstreamConfig) GetEnvoyListenerJSON ¶ added in v1.14.0
func (x *UpstreamConfig) GetEnvoyListenerJSON() string
func (*UpstreamConfig) GetLimits ¶ added in v1.14.0
func (x *UpstreamConfig) GetLimits() *UpstreamLimits
func (*UpstreamConfig) GetMeshGateway ¶ added in v1.14.0
func (x *UpstreamConfig) GetMeshGateway() *MeshGatewayConfig
func (*UpstreamConfig) GetName ¶ added in v1.14.0
func (x *UpstreamConfig) GetName() string
func (*UpstreamConfig) GetPassiveHealthCheck ¶ added in v1.14.0
func (x *UpstreamConfig) GetPassiveHealthCheck() *PassiveHealthCheck
func (*UpstreamConfig) GetProtocol ¶ added in v1.14.0
func (x *UpstreamConfig) GetProtocol() string
func (*UpstreamConfig) MarshalBinary ¶ added in v1.14.0
func (msg *UpstreamConfig) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*UpstreamConfig) ProtoMessage ¶ added in v1.14.0
func (*UpstreamConfig) ProtoMessage()
func (*UpstreamConfig) ProtoReflect ¶ added in v1.14.0
func (x *UpstreamConfig) ProtoReflect() protoreflect.Message
func (*UpstreamConfig) Reset ¶ added in v1.14.0
func (x *UpstreamConfig) Reset()
func (*UpstreamConfig) String ¶ added in v1.14.0
func (x *UpstreamConfig) String() string
func (*UpstreamConfig) UnmarshalBinary ¶ added in v1.14.0
func (msg *UpstreamConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type UpstreamConfiguration ¶ added in v1.14.0
type UpstreamConfiguration struct { Overrides []*UpstreamConfig `protobuf:"bytes,1,rep,name=Overrides,proto3" json:"Overrides,omitempty"` Defaults *UpstreamConfig `protobuf:"bytes,2,opt,name=Defaults,proto3" json:"Defaults,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.UpstreamConfiguration output=config_entry.gen.go name=Structs
func (*UpstreamConfiguration) Descriptor
deprecated
added in
v1.14.0
func (*UpstreamConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use UpstreamConfiguration.ProtoReflect.Descriptor instead.
func (*UpstreamConfiguration) GetDefaults ¶ added in v1.14.0
func (x *UpstreamConfiguration) GetDefaults() *UpstreamConfig
func (*UpstreamConfiguration) GetOverrides ¶ added in v1.14.0
func (x *UpstreamConfiguration) GetOverrides() []*UpstreamConfig
func (*UpstreamConfiguration) MarshalBinary ¶ added in v1.14.0
func (msg *UpstreamConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*UpstreamConfiguration) ProtoMessage ¶ added in v1.14.0
func (*UpstreamConfiguration) ProtoMessage()
func (*UpstreamConfiguration) ProtoReflect ¶ added in v1.14.0
func (x *UpstreamConfiguration) ProtoReflect() protoreflect.Message
func (*UpstreamConfiguration) Reset ¶ added in v1.14.0
func (x *UpstreamConfiguration) Reset()
func (*UpstreamConfiguration) String ¶ added in v1.14.0
func (x *UpstreamConfiguration) String() string
func (*UpstreamConfiguration) UnmarshalBinary ¶ added in v1.14.0
func (msg *UpstreamConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type UpstreamLimits ¶ added in v1.14.0
type UpstreamLimits struct { // mog: func-to=pointerToIntFromInt32 func-from=int32FromPointerToInt MaxConnections int32 `protobuf:"varint,1,opt,name=MaxConnections,proto3" json:"MaxConnections,omitempty"` // mog: func-to=pointerToIntFromInt32 func-from=int32FromPointerToInt MaxPendingRequests int32 `protobuf:"varint,2,opt,name=MaxPendingRequests,proto3" json:"MaxPendingRequests,omitempty"` // mog: func-to=pointerToIntFromInt32 func-from=int32FromPointerToInt MaxConcurrentRequests int32 `protobuf:"varint,3,opt,name=MaxConcurrentRequests,proto3" json:"MaxConcurrentRequests,omitempty"` // contains filtered or unexported fields }
mog annotation:
target=github.com/hashicorp/consul/agent/structs.UpstreamLimits output=config_entry.gen.go name=Structs
func (*UpstreamLimits) Descriptor
deprecated
added in
v1.14.0
func (*UpstreamLimits) Descriptor() ([]byte, []int)
Deprecated: Use UpstreamLimits.ProtoReflect.Descriptor instead.
func (*UpstreamLimits) GetMaxConcurrentRequests ¶ added in v1.14.0
func (x *UpstreamLimits) GetMaxConcurrentRequests() int32
func (*UpstreamLimits) GetMaxConnections ¶ added in v1.14.0
func (x *UpstreamLimits) GetMaxConnections() int32
func (*UpstreamLimits) GetMaxPendingRequests ¶ added in v1.14.0
func (x *UpstreamLimits) GetMaxPendingRequests() int32
func (*UpstreamLimits) MarshalBinary ¶ added in v1.14.0
func (msg *UpstreamLimits) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*UpstreamLimits) ProtoMessage ¶ added in v1.14.0
func (*UpstreamLimits) ProtoMessage()
func (*UpstreamLimits) ProtoReflect ¶ added in v1.14.0
func (x *UpstreamLimits) ProtoReflect() protoreflect.Message
func (*UpstreamLimits) Reset ¶ added in v1.14.0
func (x *UpstreamLimits) Reset()
func (*UpstreamLimits) String ¶ added in v1.14.0
func (x *UpstreamLimits) String() string
func (*UpstreamLimits) UnmarshalBinary ¶ added in v1.14.0
func (msg *UpstreamLimits) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler