Documentation ¶
Overview ¶
Code generated by protoc-gen-deepcopy. DO NOT EDIT.
Code generated by protoc-json-shim. DO NOT EDIT.
Code generated by protoc-gen-deepcopy. DO NOT EDIT.
Code generated by protoc-json-shim. DO NOT EDIT.
Code generated by protoc-gen-deepcopy. DO NOT EDIT.
Code generated by protoc-json-shim. DO NOT EDIT.
Code generated by protoc-gen-deepcopy. DO NOT EDIT.
Code generated by protoc-json-shim. DO NOT EDIT.
Code generated by protoc-gen-deepcopy. DO NOT EDIT.
Code generated by protoc-json-shim. DO NOT EDIT.
Code generated by protoc-gen-deepcopy. DO NOT EDIT.
Code generated by protoc-gen-deepcopy. DO NOT EDIT.
Code generated by protoc-json-shim. DO NOT EDIT.
Code generated by protoc-json-shim. DO NOT EDIT.
Code generated by protoc-gen-deepcopy. DO NOT EDIT.
Code generated by protoc-json-shim. DO NOT EDIT.
Code generated by protoc-gen-deepcopy. DO NOT EDIT.
Code generated by protoc-json-shim. DO NOT EDIT.
Index ¶
- Constants
- Variables
- type CheckTLSConfig
- func (in *CheckTLSConfig) DeepCopy() *CheckTLSConfig
- func (in *CheckTLSConfig) DeepCopyInterface() interface{}
- func (in *CheckTLSConfig) DeepCopyInto(out *CheckTLSConfig)
- func (*CheckTLSConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CheckTLSConfig) GetTlsServerName() string
- func (x *CheckTLSConfig) GetTlsSkipVerify() bool
- func (x *CheckTLSConfig) GetUseTls() bool
- func (msg *CheckTLSConfig) MarshalBinary() ([]byte, error)
- func (this *CheckTLSConfig) MarshalJSON() ([]byte, error)
- func (*CheckTLSConfig) ProtoMessage()
- func (x *CheckTLSConfig) ProtoReflect() protoreflect.Message
- func (x *CheckTLSConfig) Reset()
- func (x *CheckTLSConfig) String() string
- func (msg *CheckTLSConfig) UnmarshalBinary(b []byte) error
- func (this *CheckTLSConfig) UnmarshalJSON(b []byte) error
- type ComputedFailoverPolicy
- func (in *ComputedFailoverPolicy) DeepCopy() *ComputedFailoverPolicy
- func (in *ComputedFailoverPolicy) DeepCopyInterface() interface{}
- func (in *ComputedFailoverPolicy) DeepCopyInto(out *ComputedFailoverPolicy)
- func (*ComputedFailoverPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *ComputedFailoverPolicy) GetBoundReferences() []*pbresource.Reference
- func (x *ComputedFailoverPolicy) GetConfig() *FailoverConfig
- func (x *ComputedFailoverPolicy) GetPortConfigs() map[string]*FailoverConfig
- func (x *ComputedFailoverPolicy) GetUnderlyingDestinationRefs() []*pbresource.Reference
- func (x *ComputedFailoverPolicy) GetUnderlyingDestinations() []*FailoverDestination
- func (msg *ComputedFailoverPolicy) MarshalBinary() ([]byte, error)
- func (this *ComputedFailoverPolicy) MarshalJSON() ([]byte, error)
- func (*ComputedFailoverPolicy) ProtoMessage()
- func (x *ComputedFailoverPolicy) ProtoReflect() protoreflect.Message
- func (x *ComputedFailoverPolicy) Reset()
- func (x *ComputedFailoverPolicy) String() string
- func (msg *ComputedFailoverPolicy) UnmarshalBinary(b []byte) error
- func (this *ComputedFailoverPolicy) UnmarshalJSON(b []byte) error
- type DNSPolicy
- func (in *DNSPolicy) DeepCopy() *DNSPolicy
- func (in *DNSPolicy) DeepCopyInterface() interface{}
- func (in *DNSPolicy) DeepCopyInto(out *DNSPolicy)
- func (*DNSPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *DNSPolicy) GetWeights() *Weights
- func (msg *DNSPolicy) MarshalBinary() ([]byte, error)
- func (this *DNSPolicy) MarshalJSON() ([]byte, error)
- func (*DNSPolicy) ProtoMessage()
- func (x *DNSPolicy) ProtoReflect() protoreflect.Message
- func (x *DNSPolicy) Reset()
- func (x *DNSPolicy) String() string
- func (msg *DNSPolicy) UnmarshalBinary(b []byte) error
- func (this *DNSPolicy) UnmarshalJSON(b []byte) error
- type Endpoint
- func (in *Endpoint) DeepCopy() *Endpoint
- func (in *Endpoint) DeepCopyInterface() interface{}
- func (in *Endpoint) DeepCopyInto(out *Endpoint)
- func (*Endpoint) Descriptor() ([]byte, []int)deprecated
- func (x *Endpoint) GetAddresses() []*WorkloadAddress
- func (x *Endpoint) GetDns() *DNSPolicy
- func (x *Endpoint) GetHealthStatus() Health
- func (x *Endpoint) GetIdentity() string
- func (x *Endpoint) GetPorts() map[string]*WorkloadPort
- func (x *Endpoint) GetTargetRef() *pbresource.ID
- func (msg *Endpoint) MarshalBinary() ([]byte, error)
- func (this *Endpoint) MarshalJSON() ([]byte, error)
- func (*Endpoint) ProtoMessage()
- func (x *Endpoint) ProtoReflect() protoreflect.Message
- func (x *Endpoint) Reset()
- func (x *Endpoint) String() string
- func (msg *Endpoint) UnmarshalBinary(b []byte) error
- func (this *Endpoint) UnmarshalJSON(b []byte) error
- type FailoverConfig
- func (in *FailoverConfig) DeepCopy() *FailoverConfig
- func (in *FailoverConfig) DeepCopyInterface() interface{}
- func (in *FailoverConfig) DeepCopyInto(out *FailoverConfig)
- func (*FailoverConfig) Descriptor() ([]byte, []int)deprecated
- func (x *FailoverConfig) GetDestinations() []*FailoverDestination
- func (x *FailoverConfig) GetMode() FailoverMode
- func (x *FailoverConfig) GetRegions() []string
- func (x *FailoverConfig) GetSamenessGroup() string
- func (x *FailoverConfig) IsEmpty() bool
- func (msg *FailoverConfig) MarshalBinary() ([]byte, error)
- func (this *FailoverConfig) MarshalJSON() ([]byte, error)
- func (*FailoverConfig) ProtoMessage()
- func (x *FailoverConfig) ProtoReflect() protoreflect.Message
- func (x *FailoverConfig) Reset()
- func (x *FailoverConfig) String() string
- func (msg *FailoverConfig) UnmarshalBinary(b []byte) error
- func (this *FailoverConfig) UnmarshalJSON(b []byte) error
- type FailoverDestination
- func (in *FailoverDestination) DeepCopy() *FailoverDestination
- func (in *FailoverDestination) DeepCopyInterface() interface{}
- func (in *FailoverDestination) DeepCopyInto(out *FailoverDestination)
- func (*FailoverDestination) Descriptor() ([]byte, []int)deprecated
- func (x *FailoverDestination) GetDatacenter() string
- func (x *FailoverDestination) GetPort() string
- func (x *FailoverDestination) GetRef() *pbresource.Reference
- func (msg *FailoverDestination) MarshalBinary() ([]byte, error)
- func (this *FailoverDestination) MarshalJSON() ([]byte, error)
- func (*FailoverDestination) ProtoMessage()
- func (x *FailoverDestination) ProtoReflect() protoreflect.Message
- func (x *FailoverDestination) Reset()
- func (x *FailoverDestination) String() string
- func (msg *FailoverDestination) UnmarshalBinary(b []byte) error
- func (this *FailoverDestination) UnmarshalJSON(b []byte) error
- type FailoverMode
- func (FailoverMode) Descriptor() protoreflect.EnumDescriptor
- func (x FailoverMode) Enum() *FailoverMode
- func (FailoverMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x FailoverMode) Number() protoreflect.EnumNumber
- func (x FailoverMode) String() string
- func (FailoverMode) Type() protoreflect.EnumType
- type FailoverPolicy
- func (in *FailoverPolicy) DeepCopy() *FailoverPolicy
- func (in *FailoverPolicy) DeepCopyInterface() interface{}
- func (in *FailoverPolicy) DeepCopyInto(out *FailoverPolicy)
- func (*FailoverPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *FailoverPolicy) GetConfig() *FailoverConfig
- func (x *FailoverPolicy) GetPortConfigs() map[string]*FailoverConfig
- func (msg *FailoverPolicy) MarshalBinary() ([]byte, error)
- func (this *FailoverPolicy) MarshalJSON() ([]byte, error)
- func (*FailoverPolicy) ProtoMessage()
- func (x *FailoverPolicy) ProtoReflect() protoreflect.Message
- func (x *FailoverPolicy) Reset()
- func (x *FailoverPolicy) String() string
- func (msg *FailoverPolicy) UnmarshalBinary(b []byte) error
- func (this *FailoverPolicy) UnmarshalJSON(b []byte) error
- type GRPCCheck
- func (in *GRPCCheck) DeepCopy() *GRPCCheck
- func (in *GRPCCheck) DeepCopyInterface() interface{}
- func (in *GRPCCheck) DeepCopyInto(out *GRPCCheck)
- func (*GRPCCheck) Descriptor() ([]byte, []int)deprecated
- func (x *GRPCCheck) GetAddress() string
- func (x *GRPCCheck) GetTls() *CheckTLSConfig
- func (msg *GRPCCheck) MarshalBinary() ([]byte, error)
- func (this *GRPCCheck) MarshalJSON() ([]byte, error)
- func (*GRPCCheck) ProtoMessage()
- func (x *GRPCCheck) ProtoReflect() protoreflect.Message
- func (x *GRPCCheck) Reset()
- func (x *GRPCCheck) String() string
- func (msg *GRPCCheck) UnmarshalBinary(b []byte) error
- func (this *GRPCCheck) UnmarshalJSON(b []byte) error
- type HTTPCheck
- func (in *HTTPCheck) DeepCopy() *HTTPCheck
- func (in *HTTPCheck) DeepCopyInterface() interface{}
- func (in *HTTPCheck) DeepCopyInto(out *HTTPCheck)
- func (*HTTPCheck) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPCheck) GetBody() string
- func (x *HTTPCheck) GetDisableRedirects() bool
- func (x *HTTPCheck) GetHeader() map[string]string
- func (x *HTTPCheck) GetMethod() string
- func (x *HTTPCheck) GetTls() *CheckTLSConfig
- func (x *HTTPCheck) GetUrl() string
- func (msg *HTTPCheck) MarshalBinary() ([]byte, error)
- func (this *HTTPCheck) MarshalJSON() ([]byte, error)
- func (*HTTPCheck) ProtoMessage()
- func (x *HTTPCheck) ProtoReflect() protoreflect.Message
- func (x *HTTPCheck) Reset()
- func (x *HTTPCheck) String() string
- func (msg *HTTPCheck) UnmarshalBinary(b []byte) error
- func (this *HTTPCheck) UnmarshalJSON(b []byte) error
- type Health
- type HealthCheck
- func (in *HealthCheck) DeepCopy() *HealthCheck
- func (in *HealthCheck) DeepCopyInterface() interface{}
- func (in *HealthCheck) DeepCopyInto(out *HealthCheck)
- func (*HealthCheck) Descriptor() ([]byte, []int)deprecated
- func (m *HealthCheck) GetDefinition() isHealthCheck_Definition
- func (x *HealthCheck) GetDeregisterCriticalAfter() *durationpb.Duration
- func (x *HealthCheck) GetGrpc() *GRPCCheck
- func (x *HealthCheck) GetHttp() *HTTPCheck
- func (x *HealthCheck) GetInterval() *durationpb.Duration
- func (x *HealthCheck) GetName() string
- func (x *HealthCheck) GetOsService() *OSServiceCheck
- func (x *HealthCheck) GetTcp() *TCPCheck
- func (x *HealthCheck) GetTimeout() *durationpb.Duration
- func (x *HealthCheck) GetUdp() *UDPCheck
- func (msg *HealthCheck) MarshalBinary() ([]byte, error)
- func (this *HealthCheck) MarshalJSON() ([]byte, error)
- func (*HealthCheck) ProtoMessage()
- func (x *HealthCheck) ProtoReflect() protoreflect.Message
- func (x *HealthCheck) Reset()
- func (x *HealthCheck) String() string
- func (msg *HealthCheck) UnmarshalBinary(b []byte) error
- func (this *HealthCheck) UnmarshalJSON(b []byte) error
- type HealthCheck_Grpc
- type HealthCheck_Http
- type HealthCheck_OsService
- type HealthCheck_Tcp
- type HealthCheck_Udp
- type HealthChecks
- func (in *HealthChecks) DeepCopy() *HealthChecks
- func (in *HealthChecks) DeepCopyInterface() interface{}
- func (in *HealthChecks) DeepCopyInto(out *HealthChecks)
- func (*HealthChecks) Descriptor() ([]byte, []int)deprecated
- func (x *HealthChecks) GetHealthChecks() []*HealthCheck
- func (x *HealthChecks) GetWorkloads() *WorkloadSelector
- func (msg *HealthChecks) MarshalBinary() ([]byte, error)
- func (this *HealthChecks) MarshalJSON() ([]byte, error)
- func (*HealthChecks) ProtoMessage()
- func (x *HealthChecks) ProtoReflect() protoreflect.Message
- func (x *HealthChecks) Reset()
- func (x *HealthChecks) String() string
- func (msg *HealthChecks) UnmarshalBinary(b []byte) error
- func (this *HealthChecks) UnmarshalJSON(b []byte) error
- type HealthStatus
- func (in *HealthStatus) DeepCopy() *HealthStatus
- func (in *HealthStatus) DeepCopyInterface() interface{}
- func (in *HealthStatus) DeepCopyInto(out *HealthStatus)
- func (*HealthStatus) Descriptor() ([]byte, []int)deprecated
- func (x *HealthStatus) GetDescription() string
- func (x *HealthStatus) GetOutput() string
- func (x *HealthStatus) GetStatus() Health
- func (x *HealthStatus) GetType() string
- func (msg *HealthStatus) MarshalBinary() ([]byte, error)
- func (this *HealthStatus) MarshalJSON() ([]byte, error)
- func (*HealthStatus) ProtoMessage()
- func (x *HealthStatus) ProtoReflect() protoreflect.Message
- func (x *HealthStatus) Reset()
- func (x *HealthStatus) String() string
- func (msg *HealthStatus) UnmarshalBinary(b []byte) error
- func (this *HealthStatus) UnmarshalJSON(b []byte) error
- type IP
- func (in *IP) DeepCopy() *IP
- func (in *IP) DeepCopyInterface() interface{}
- func (in *IP) DeepCopyInto(out *IP)
- func (*IP) Descriptor() ([]byte, []int)deprecated
- func (x *IP) GetAddress() string
- func (x *IP) GetGenerated() bool
- func (msg *IP) MarshalBinary() ([]byte, error)
- func (this *IP) MarshalJSON() ([]byte, error)
- func (*IP) ProtoMessage()
- func (x *IP) ProtoReflect() protoreflect.Message
- func (x *IP) Reset()
- func (x *IP) String() string
- func (msg *IP) UnmarshalBinary(b []byte) error
- func (this *IP) UnmarshalJSON(b []byte) error
- type Locality
- func (in *Locality) DeepCopy() *Locality
- func (in *Locality) DeepCopyInterface() interface{}
- func (in *Locality) DeepCopyInto(out *Locality)
- func (*Locality) Descriptor() ([]byte, []int)deprecated
- func (x *Locality) GetRegion() string
- func (x *Locality) GetZone() string
- func (msg *Locality) MarshalBinary() ([]byte, error)
- func (this *Locality) MarshalJSON() ([]byte, error)
- func (*Locality) ProtoMessage()
- func (x *Locality) ProtoReflect() protoreflect.Message
- func (x *Locality) Reset()
- func (x *Locality) String() string
- func (msg *Locality) UnmarshalBinary(b []byte) error
- func (this *Locality) UnmarshalJSON(b []byte) error
- type Node
- func (in *Node) DeepCopy() *Node
- func (in *Node) DeepCopyInterface() interface{}
- func (in *Node) DeepCopyInto(out *Node)
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetAddresses() []*NodeAddress
- func (msg *Node) MarshalBinary() ([]byte, error)
- func (this *Node) MarshalJSON() ([]byte, error)
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- func (msg *Node) UnmarshalBinary(b []byte) error
- func (this *Node) UnmarshalJSON(b []byte) error
- type NodeAddress
- func (in *NodeAddress) DeepCopy() *NodeAddress
- func (in *NodeAddress) DeepCopyInterface() interface{}
- func (in *NodeAddress) DeepCopyInto(out *NodeAddress)
- func (*NodeAddress) Descriptor() ([]byte, []int)deprecated
- func (x *NodeAddress) GetExternal() bool
- func (x *NodeAddress) GetHost() string
- func (msg *NodeAddress) MarshalBinary() ([]byte, error)
- func (this *NodeAddress) MarshalJSON() ([]byte, error)
- func (*NodeAddress) ProtoMessage()
- func (x *NodeAddress) ProtoReflect() protoreflect.Message
- func (x *NodeAddress) Reset()
- func (x *NodeAddress) String() string
- func (msg *NodeAddress) UnmarshalBinary(b []byte) error
- func (this *NodeAddress) UnmarshalJSON(b []byte) error
- type NodeHealthStatus
- func (in *NodeHealthStatus) DeepCopy() *NodeHealthStatus
- func (in *NodeHealthStatus) DeepCopyInterface() interface{}
- func (in *NodeHealthStatus) DeepCopyInto(out *NodeHealthStatus)
- func (*NodeHealthStatus) Descriptor() ([]byte, []int)deprecated
- func (x *NodeHealthStatus) GetDescription() string
- func (x *NodeHealthStatus) GetOutput() string
- func (x *NodeHealthStatus) GetStatus() Health
- func (x *NodeHealthStatus) GetType() string
- func (msg *NodeHealthStatus) MarshalBinary() ([]byte, error)
- func (this *NodeHealthStatus) MarshalJSON() ([]byte, error)
- func (*NodeHealthStatus) ProtoMessage()
- func (x *NodeHealthStatus) ProtoReflect() protoreflect.Message
- func (x *NodeHealthStatus) Reset()
- func (x *NodeHealthStatus) String() string
- func (msg *NodeHealthStatus) UnmarshalBinary(b []byte) error
- func (this *NodeHealthStatus) UnmarshalJSON(b []byte) error
- type OSServiceCheck
- func (in *OSServiceCheck) DeepCopy() *OSServiceCheck
- func (in *OSServiceCheck) DeepCopyInterface() interface{}
- func (in *OSServiceCheck) DeepCopyInto(out *OSServiceCheck)
- func (*OSServiceCheck) Descriptor() ([]byte, []int)deprecated
- func (x *OSServiceCheck) GetAddress() string
- func (msg *OSServiceCheck) MarshalBinary() ([]byte, error)
- func (this *OSServiceCheck) MarshalJSON() ([]byte, error)
- func (*OSServiceCheck) ProtoMessage()
- func (x *OSServiceCheck) ProtoReflect() protoreflect.Message
- func (x *OSServiceCheck) Reset()
- func (x *OSServiceCheck) String() string
- func (msg *OSServiceCheck) UnmarshalBinary(b []byte) error
- func (this *OSServiceCheck) UnmarshalJSON(b []byte) error
- type Protocol
- type Service
- func (in *Service) DeepCopy() *Service
- func (in *Service) DeepCopyInterface() interface{}
- func (in *Service) DeepCopyInto(out *Service)
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (s *Service) FindPortByID(id string) *ServicePort
- func (s *Service) FindTargetPort(targetPort string) *ServicePort
- func (x *Service) GetPorts() []*ServicePort
- func (x *Service) GetVirtualIps() []string
- func (x *Service) GetWorkloads() *WorkloadSelector
- func (s *Service) IsMeshEnabled() bool
- func (msg *Service) MarshalBinary() ([]byte, error)
- func (this *Service) MarshalJSON() ([]byte, error)
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- func (msg *Service) UnmarshalBinary(b []byte) error
- func (this *Service) UnmarshalJSON(b []byte) error
- type ServiceEndpoints
- func (in *ServiceEndpoints) DeepCopy() *ServiceEndpoints
- func (in *ServiceEndpoints) DeepCopyInterface() interface{}
- func (in *ServiceEndpoints) DeepCopyInto(out *ServiceEndpoints)
- func (*ServiceEndpoints) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceEndpoints) GetEndpoints() []*Endpoint
- func (s *ServiceEndpoints) GetIdentities() []string
- func (msg *ServiceEndpoints) MarshalBinary() ([]byte, error)
- func (this *ServiceEndpoints) MarshalJSON() ([]byte, error)
- func (*ServiceEndpoints) ProtoMessage()
- func (x *ServiceEndpoints) ProtoReflect() protoreflect.Message
- func (x *ServiceEndpoints) Reset()
- func (x *ServiceEndpoints) String() string
- func (msg *ServiceEndpoints) UnmarshalBinary(b []byte) error
- func (this *ServiceEndpoints) UnmarshalJSON(b []byte) error
- type ServicePort
- func (in *ServicePort) DeepCopy() *ServicePort
- func (in *ServicePort) DeepCopyInterface() interface{}
- func (in *ServicePort) DeepCopyInto(out *ServicePort)
- func (*ServicePort) Descriptor() ([]byte, []int)deprecated
- func (x *ServicePort) GetProtocol() Protocol
- func (x *ServicePort) GetTargetPort() string
- func (x *ServicePort) GetVirtualPort() uint32
- func (msg *ServicePort) MarshalBinary() ([]byte, error)
- func (this *ServicePort) MarshalJSON() ([]byte, error)
- func (sp *ServicePort) MatchesPortId(id string) bool
- func (*ServicePort) ProtoMessage()
- func (x *ServicePort) ProtoReflect() protoreflect.Message
- func (x *ServicePort) Reset()
- func (x *ServicePort) String() string
- func (sp *ServicePort) ToPrintableString() string
- func (msg *ServicePort) UnmarshalBinary(b []byte) error
- func (this *ServicePort) UnmarshalJSON(b []byte) error
- func (sp *ServicePort) VirtualPortStr() string
- type TCPCheck
- func (in *TCPCheck) DeepCopy() *TCPCheck
- func (in *TCPCheck) DeepCopyInterface() interface{}
- func (in *TCPCheck) DeepCopyInto(out *TCPCheck)
- func (*TCPCheck) Descriptor() ([]byte, []int)deprecated
- func (x *TCPCheck) GetAddress() string
- func (msg *TCPCheck) MarshalBinary() ([]byte, error)
- func (this *TCPCheck) MarshalJSON() ([]byte, error)
- func (*TCPCheck) ProtoMessage()
- func (x *TCPCheck) ProtoReflect() protoreflect.Message
- func (x *TCPCheck) Reset()
- func (x *TCPCheck) String() string
- func (msg *TCPCheck) UnmarshalBinary(b []byte) error
- func (this *TCPCheck) UnmarshalJSON(b []byte) error
- type UDPCheck
- func (in *UDPCheck) DeepCopy() *UDPCheck
- func (in *UDPCheck) DeepCopyInterface() interface{}
- func (in *UDPCheck) DeepCopyInto(out *UDPCheck)
- func (*UDPCheck) Descriptor() ([]byte, []int)deprecated
- func (x *UDPCheck) GetAddress() string
- func (msg *UDPCheck) MarshalBinary() ([]byte, error)
- func (this *UDPCheck) MarshalJSON() ([]byte, error)
- func (*UDPCheck) ProtoMessage()
- func (x *UDPCheck) ProtoReflect() protoreflect.Message
- func (x *UDPCheck) Reset()
- func (x *UDPCheck) String() string
- func (msg *UDPCheck) UnmarshalBinary(b []byte) error
- func (this *UDPCheck) UnmarshalJSON(b []byte) error
- type VirtualIPs
- func (in *VirtualIPs) DeepCopy() *VirtualIPs
- func (in *VirtualIPs) DeepCopyInterface() interface{}
- func (in *VirtualIPs) DeepCopyInto(out *VirtualIPs)
- func (*VirtualIPs) Descriptor() ([]byte, []int)deprecated
- func (x *VirtualIPs) GetIps() []*IP
- func (msg *VirtualIPs) MarshalBinary() ([]byte, error)
- func (this *VirtualIPs) MarshalJSON() ([]byte, error)
- func (*VirtualIPs) ProtoMessage()
- func (x *VirtualIPs) ProtoReflect() protoreflect.Message
- func (x *VirtualIPs) Reset()
- func (x *VirtualIPs) String() string
- func (msg *VirtualIPs) UnmarshalBinary(b []byte) error
- func (this *VirtualIPs) UnmarshalJSON(b []byte) error
- type Weights
- func (in *Weights) DeepCopy() *Weights
- func (in *Weights) DeepCopyInterface() interface{}
- func (in *Weights) DeepCopyInto(out *Weights)
- func (*Weights) Descriptor() ([]byte, []int)deprecated
- func (x *Weights) GetPassing() uint32
- func (x *Weights) GetWarning() uint32
- func (msg *Weights) MarshalBinary() ([]byte, error)
- func (this *Weights) MarshalJSON() ([]byte, error)
- func (*Weights) ProtoMessage()
- func (x *Weights) ProtoReflect() protoreflect.Message
- func (x *Weights) Reset()
- func (x *Weights) String() string
- func (msg *Weights) UnmarshalBinary(b []byte) error
- func (this *Weights) UnmarshalJSON(b []byte) error
- type Workload
- func (in *Workload) DeepCopy() *Workload
- func (in *Workload) DeepCopyInterface() interface{}
- func (in *Workload) DeepCopyInto(out *Workload)
- func (*Workload) Descriptor() ([]byte, []int)deprecated
- func (x *Workload) GetAddresses() []*WorkloadAddress
- func (x *Workload) GetConnectNative() booldeprecated
- func (x *Workload) GetDns() *DNSPolicy
- func (x *Workload) GetEnableTagOverride() booldeprecated
- func (w *Workload) GetFirstNonExternalMeshAddress() *WorkloadAddress
- func (x *Workload) GetIdentity() string
- func (x *Workload) GetLocality() *Locality
- func (w *Workload) GetMeshPortName() (string, bool)
- func (x *Workload) GetNodeName() string
- func (w *Workload) GetNonExternalAddressesForPort(portName string) []*WorkloadAddress
- func (x *Workload) GetPorts() map[string]*WorkloadPort
- func (w *Workload) GetPortsByProtocol() map[Protocol][]string
- func (x *Workload) GetTags() []stringdeprecated
- func (w *Workload) IsMeshEnabled() bool
- func (msg *Workload) MarshalBinary() ([]byte, error)
- func (this *Workload) MarshalJSON() ([]byte, error)
- func (*Workload) ProtoMessage()
- func (x *Workload) ProtoReflect() protoreflect.Message
- func (x *Workload) Reset()
- func (x *Workload) String() string
- func (msg *Workload) UnmarshalBinary(b []byte) error
- func (this *Workload) UnmarshalJSON(b []byte) error
- type WorkloadAddress
- func (in *WorkloadAddress) DeepCopy() *WorkloadAddress
- func (in *WorkloadAddress) DeepCopyInterface() interface{}
- func (in *WorkloadAddress) DeepCopyInto(out *WorkloadAddress)
- func (*WorkloadAddress) Descriptor() ([]byte, []int)deprecated
- func (x *WorkloadAddress) GetExternal() bool
- func (x *WorkloadAddress) GetHost() string
- func (x *WorkloadAddress) GetPorts() []string
- func (msg *WorkloadAddress) MarshalBinary() ([]byte, error)
- func (this *WorkloadAddress) MarshalJSON() ([]byte, error)
- func (*WorkloadAddress) ProtoMessage()
- func (x *WorkloadAddress) ProtoReflect() protoreflect.Message
- func (x *WorkloadAddress) Reset()
- func (x *WorkloadAddress) String() string
- func (msg *WorkloadAddress) UnmarshalBinary(b []byte) error
- func (this *WorkloadAddress) UnmarshalJSON(b []byte) error
- type WorkloadPort
- func (in *WorkloadPort) DeepCopy() *WorkloadPort
- func (in *WorkloadPort) DeepCopyInterface() interface{}
- func (in *WorkloadPort) DeepCopyInto(out *WorkloadPort)
- func (*WorkloadPort) Descriptor() ([]byte, []int)deprecated
- func (x *WorkloadPort) GetPort() uint32
- func (x *WorkloadPort) GetProtocol() Protocol
- func (msg *WorkloadPort) MarshalBinary() ([]byte, error)
- func (this *WorkloadPort) MarshalJSON() ([]byte, error)
- func (*WorkloadPort) ProtoMessage()
- func (x *WorkloadPort) ProtoReflect() protoreflect.Message
- func (x *WorkloadPort) Reset()
- func (x *WorkloadPort) String() string
- func (msg *WorkloadPort) UnmarshalBinary(b []byte) error
- func (this *WorkloadPort) UnmarshalJSON(b []byte) error
- type WorkloadSelector
- func (in *WorkloadSelector) DeepCopy() *WorkloadSelector
- func (in *WorkloadSelector) DeepCopyInterface() interface{}
- func (in *WorkloadSelector) DeepCopyInto(out *WorkloadSelector)
- func (*WorkloadSelector) Descriptor() ([]byte, []int)deprecated
- func (x *WorkloadSelector) GetFilter() string
- func (x *WorkloadSelector) GetNames() []string
- func (x *WorkloadSelector) GetPrefixes() []string
- func (msg *WorkloadSelector) MarshalBinary() ([]byte, error)
- func (this *WorkloadSelector) MarshalJSON() ([]byte, error)
- func (*WorkloadSelector) ProtoMessage()
- func (x *WorkloadSelector) ProtoReflect() protoreflect.Message
- func (x *WorkloadSelector) Reset()
- func (x *WorkloadSelector) String() string
- func (msg *WorkloadSelector) UnmarshalBinary(b []byte) error
- func (this *WorkloadSelector) UnmarshalJSON(b []byte) error
Constants ¶
const ( GroupName = "catalog" Version = "v2beta1" ComputedFailoverPolicyKind = "ComputedFailoverPolicy" FailoverPolicyKind = "FailoverPolicy" HealthChecksKind = "HealthChecks" HealthStatusKind = "HealthStatus" NodeKind = "Node" NodeHealthStatusKind = "NodeHealthStatus" ServiceKind = "Service" ServiceEndpointsKind = "ServiceEndpoints" VirtualIPsKind = "VirtualIPs" WorkloadKind = "Workload" )
Variables ¶
var ( ComputedFailoverPolicyMarshaler = &protojson.MarshalOptions{} ComputedFailoverPolicyUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false} )
var ( FailoverMode_name = map[int32]string{ 0: "FAILOVER_MODE_UNSPECIFIED", 1: "FAILOVER_MODE_SEQUENTIAL", 2: "FAILOVER_MODE_ORDER_BY_LOCALITY", } FailoverMode_value = map[string]int32{ "FAILOVER_MODE_UNSPECIFIED": 0, "FAILOVER_MODE_SEQUENTIAL": 1, "FAILOVER_MODE_ORDER_BY_LOCALITY": 2, } )
Enum value maps for FailoverMode.
var ( FailoverPolicyMarshaler = &protojson.MarshalOptions{} FailoverPolicyUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false} )
var ( Health_name = map[int32]string{ 0: "HEALTH_ANY", 1: "HEALTH_PASSING", 2: "HEALTH_WARNING", 3: "HEALTH_CRITICAL", 4: "HEALTH_MAINTENANCE", } Health_value = map[string]int32{ "HEALTH_ANY": 0, "HEALTH_PASSING": 1, "HEALTH_WARNING": 2, "HEALTH_CRITICAL": 3, "HEALTH_MAINTENANCE": 4, } )
Enum value maps for Health.
var ( HealthMarshaler = &protojson.MarshalOptions{} HealthUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false} )
var ( NodeMarshaler = &protojson.MarshalOptions{} NodeUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false} )
var ( Protocol_name = map[int32]string{ 0: "PROTOCOL_UNSPECIFIED", 1: "PROTOCOL_TCP", 2: "PROTOCOL_HTTP", 3: "PROTOCOL_HTTP2", 4: "PROTOCOL_GRPC", 5: "PROTOCOL_MESH", } Protocol_value = map[string]int32{ "PROTOCOL_UNSPECIFIED": 0, "PROTOCOL_TCP": 1, "PROTOCOL_HTTP": 2, "PROTOCOL_HTTP2": 3, "PROTOCOL_GRPC": 4, "PROTOCOL_MESH": 5, } )
Enum value maps for Protocol.
var ( ComputedFailoverPolicyType = &pbresource.Type{ Group: GroupName, GroupVersion: Version, Kind: ComputedFailoverPolicyKind, } FailoverPolicyType = &pbresource.Type{ Group: GroupName, GroupVersion: Version, Kind: FailoverPolicyKind, } HealthChecksType = &pbresource.Type{ Group: GroupName, GroupVersion: Version, Kind: HealthChecksKind, } HealthStatusType = &pbresource.Type{ Group: GroupName, GroupVersion: Version, Kind: HealthStatusKind, } NodeType = &pbresource.Type{ Group: GroupName, GroupVersion: Version, Kind: NodeKind, } NodeHealthStatusType = &pbresource.Type{ Group: GroupName, GroupVersion: Version, Kind: NodeHealthStatusKind, } ServiceType = &pbresource.Type{ Group: GroupName, GroupVersion: Version, Kind: ServiceKind, } ServiceEndpointsType = &pbresource.Type{ Group: GroupName, GroupVersion: Version, Kind: ServiceEndpointsKind, } VirtualIPsType = &pbresource.Type{ Group: GroupName, GroupVersion: Version, Kind: VirtualIPsKind, } WorkloadType = &pbresource.Type{ Group: GroupName, GroupVersion: Version, Kind: WorkloadKind, } )
var ( SelectorMarshaler = &protojson.MarshalOptions{} SelectorUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false} )
var ( ServiceEndpointsMarshaler = &protojson.MarshalOptions{} ServiceEndpointsUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false} )
var ( ServiceMarshaler = &protojson.MarshalOptions{} ServiceUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false} )
var ( VipMarshaler = &protojson.MarshalOptions{} VipUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false} )
var ( WorkloadMarshaler = &protojson.MarshalOptions{} WorkloadUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false} )
var File_pbcatalog_v2beta1_computed_failover_policy_proto protoreflect.FileDescriptor
var File_pbcatalog_v2beta1_failover_policy_proto protoreflect.FileDescriptor
var File_pbcatalog_v2beta1_health_proto protoreflect.FileDescriptor
var File_pbcatalog_v2beta1_node_proto protoreflect.FileDescriptor
var File_pbcatalog_v2beta1_protocol_proto protoreflect.FileDescriptor
var File_pbcatalog_v2beta1_selector_proto protoreflect.FileDescriptor
var File_pbcatalog_v2beta1_service_endpoints_proto protoreflect.FileDescriptor
var File_pbcatalog_v2beta1_service_proto protoreflect.FileDescriptor
var File_pbcatalog_v2beta1_vip_proto protoreflect.FileDescriptor
var File_pbcatalog_v2beta1_workload_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CheckTLSConfig ¶
type CheckTLSConfig struct { TlsServerName string `protobuf:"bytes,1,opt,name=tls_server_name,json=tlsServerName,proto3" json:"tls_server_name,omitempty"` TlsSkipVerify bool `protobuf:"varint,2,opt,name=tls_skip_verify,json=tlsSkipVerify,proto3" json:"tls_skip_verify,omitempty"` UseTls bool `protobuf:"varint,3,opt,name=use_tls,json=useTls,proto3" json:"use_tls,omitempty"` // contains filtered or unexported fields }
func (*CheckTLSConfig) DeepCopy ¶
func (in *CheckTLSConfig) DeepCopy() *CheckTLSConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CheckTLSConfig. Required by controller-gen.
func (*CheckTLSConfig) DeepCopyInterface ¶
func (in *CheckTLSConfig) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new CheckTLSConfig. Required by controller-gen.
func (*CheckTLSConfig) DeepCopyInto ¶
func (in *CheckTLSConfig) DeepCopyInto(out *CheckTLSConfig)
DeepCopyInto supports using CheckTLSConfig within kubernetes types, where deepcopy-gen is used.
func (*CheckTLSConfig) Descriptor
deprecated
func (*CheckTLSConfig) Descriptor() ([]byte, []int)
Deprecated: Use CheckTLSConfig.ProtoReflect.Descriptor instead.
func (*CheckTLSConfig) GetTlsServerName ¶
func (x *CheckTLSConfig) GetTlsServerName() string
func (*CheckTLSConfig) GetTlsSkipVerify ¶
func (x *CheckTLSConfig) GetTlsSkipVerify() bool
func (*CheckTLSConfig) GetUseTls ¶
func (x *CheckTLSConfig) GetUseTls() bool
func (*CheckTLSConfig) MarshalBinary ¶
func (msg *CheckTLSConfig) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*CheckTLSConfig) MarshalJSON ¶
func (this *CheckTLSConfig) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for CheckTLSConfig
func (*CheckTLSConfig) ProtoMessage ¶
func (*CheckTLSConfig) ProtoMessage()
func (*CheckTLSConfig) ProtoReflect ¶
func (x *CheckTLSConfig) ProtoReflect() protoreflect.Message
func (*CheckTLSConfig) Reset ¶
func (x *CheckTLSConfig) Reset()
func (*CheckTLSConfig) String ¶
func (x *CheckTLSConfig) String() string
func (*CheckTLSConfig) UnmarshalBinary ¶
func (msg *CheckTLSConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*CheckTLSConfig) UnmarshalJSON ¶
func (this *CheckTLSConfig) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for CheckTLSConfig
type ComputedFailoverPolicy ¶ added in v0.6.0
type ComputedFailoverPolicy struct { // Config defines failover for any named port not present in PortConfigs. Config *FailoverConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // PortConfigs defines failover for a specific port on this service and takes // precedence over Config. PortConfigs map[string]*FailoverConfig `` /* 182-byte string literal not displayed */ // BoundReferences is a slice of mixed type references of resources that were // involved in the formulation of this resource. BoundReferences []*pbresource.Reference `protobuf:"bytes,3,rep,name=bound_references,json=boundReferences,proto3" json:"bound_references,omitempty"` // contains filtered or unexported fields }
This is a Resource type.
func (*ComputedFailoverPolicy) DeepCopy ¶ added in v0.6.0
func (in *ComputedFailoverPolicy) DeepCopy() *ComputedFailoverPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputedFailoverPolicy. Required by controller-gen.
func (*ComputedFailoverPolicy) DeepCopyInterface ¶ added in v0.6.0
func (in *ComputedFailoverPolicy) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ComputedFailoverPolicy. Required by controller-gen.
func (*ComputedFailoverPolicy) DeepCopyInto ¶ added in v0.6.0
func (in *ComputedFailoverPolicy) DeepCopyInto(out *ComputedFailoverPolicy)
DeepCopyInto supports using ComputedFailoverPolicy within kubernetes types, where deepcopy-gen is used.
func (*ComputedFailoverPolicy) Descriptor
deprecated
added in
v0.6.0
func (*ComputedFailoverPolicy) Descriptor() ([]byte, []int)
Deprecated: Use ComputedFailoverPolicy.ProtoReflect.Descriptor instead.
func (*ComputedFailoverPolicy) GetBoundReferences ¶ added in v0.6.0
func (x *ComputedFailoverPolicy) GetBoundReferences() []*pbresource.Reference
func (*ComputedFailoverPolicy) GetConfig ¶ added in v0.6.0
func (x *ComputedFailoverPolicy) GetConfig() *FailoverConfig
func (*ComputedFailoverPolicy) GetPortConfigs ¶ added in v0.6.0
func (x *ComputedFailoverPolicy) GetPortConfigs() map[string]*FailoverConfig
func (*ComputedFailoverPolicy) GetUnderlyingDestinationRefs ¶ added in v0.6.2
func (x *ComputedFailoverPolicy) GetUnderlyingDestinationRefs() []*pbresource.Reference
GetUnderlyingDestinationRefs is like GetUnderlyingDestinations except it returns a slice of References.
NOTE: no deduplication occurs.
func (*ComputedFailoverPolicy) GetUnderlyingDestinations ¶ added in v0.6.2
func (x *ComputedFailoverPolicy) GetUnderlyingDestinations() []*FailoverDestination
GetUnderlyingDestinations will collect FailoverDestinations from all internal fields and bundle them up in one slice.
NOTE: no deduplication occurs.
func (*ComputedFailoverPolicy) MarshalBinary ¶ added in v0.6.0
func (msg *ComputedFailoverPolicy) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*ComputedFailoverPolicy) MarshalJSON ¶ added in v0.6.0
func (this *ComputedFailoverPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for ComputedFailoverPolicy
func (*ComputedFailoverPolicy) ProtoMessage ¶ added in v0.6.0
func (*ComputedFailoverPolicy) ProtoMessage()
func (*ComputedFailoverPolicy) ProtoReflect ¶ added in v0.6.0
func (x *ComputedFailoverPolicy) ProtoReflect() protoreflect.Message
func (*ComputedFailoverPolicy) Reset ¶ added in v0.6.0
func (x *ComputedFailoverPolicy) Reset()
func (*ComputedFailoverPolicy) String ¶ added in v0.6.0
func (x *ComputedFailoverPolicy) String() string
func (*ComputedFailoverPolicy) UnmarshalBinary ¶ added in v0.6.0
func (msg *ComputedFailoverPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*ComputedFailoverPolicy) UnmarshalJSON ¶ added in v0.6.0
func (this *ComputedFailoverPolicy) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for ComputedFailoverPolicy
type DNSPolicy ¶
type DNSPolicy struct { Weights *Weights `protobuf:"bytes,1,opt,name=weights,proto3" json:"weights,omitempty"` // contains filtered or unexported fields }
func (*DNSPolicy) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSPolicy. Required by controller-gen.
func (*DNSPolicy) DeepCopyInterface ¶
func (in *DNSPolicy) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DNSPolicy. Required by controller-gen.
func (*DNSPolicy) DeepCopyInto ¶
DeepCopyInto supports using DNSPolicy within kubernetes types, where deepcopy-gen is used.
func (*DNSPolicy) Descriptor
deprecated
func (*DNSPolicy) GetWeights ¶
func (*DNSPolicy) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler
func (*DNSPolicy) MarshalJSON ¶
MarshalJSON is a custom marshaler for DNSPolicy
func (*DNSPolicy) ProtoMessage ¶
func (*DNSPolicy) ProtoMessage()
func (*DNSPolicy) ProtoReflect ¶
func (x *DNSPolicy) ProtoReflect() protoreflect.Message
func (*DNSPolicy) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*DNSPolicy) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaler for DNSPolicy
type Endpoint ¶
type Endpoint struct { // target_ref is the reference to the resource // for this endpoint endpoint. This currently must be a workload. TargetRef *pbresource.ID `protobuf:"bytes,1,opt,name=target_ref,json=targetRef,proto3" json:"target_ref,omitempty"` // addresses is the list of addresses for this endpoint. // This has the same structure as the workload addresses. Addresses []*WorkloadAddress `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"` // ports is the map of ports for this endpoint. // This has the same structure as the workload ports but // will be filtered to just the ports selected by the service. Ports map[string]*WorkloadPort `` /* 151-byte string literal not displayed */ // health_status is the aggregated health status of this endpoint. HealthStatus Health `` /* 143-byte string literal not displayed */ // identity is the name of the workload identity for this endpoint. Identity string `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` // dns contains customizations like Weight that will be returned in DNS discovery requests. Dns *DNSPolicy `protobuf:"bytes,6,opt,name=dns,proto3" json:"dns,omitempty"` // contains filtered or unexported fields }
func (*Endpoint) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoint. Required by controller-gen.
func (*Endpoint) DeepCopyInterface ¶
func (in *Endpoint) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Endpoint. Required by controller-gen.
func (*Endpoint) DeepCopyInto ¶
DeepCopyInto supports using Endpoint within kubernetes types, where deepcopy-gen is used.
func (*Endpoint) Descriptor
deprecated
func (*Endpoint) GetAddresses ¶
func (x *Endpoint) GetAddresses() []*WorkloadAddress
func (*Endpoint) GetHealthStatus ¶
func (*Endpoint) GetIdentity ¶
func (*Endpoint) GetPorts ¶
func (x *Endpoint) GetPorts() map[string]*WorkloadPort
func (*Endpoint) GetTargetRef ¶
func (x *Endpoint) GetTargetRef() *pbresource.ID
func (*Endpoint) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler
func (*Endpoint) MarshalJSON ¶
MarshalJSON is a custom marshaler for Endpoint
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) ProtoReflect ¶
func (x *Endpoint) ProtoReflect() protoreflect.Message
func (*Endpoint) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*Endpoint) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaler for Endpoint
type FailoverConfig ¶
type FailoverConfig struct { // Destinations specifies a fixed list of failover destinations to try. We // never try a destination multiple times, so those are subtracted from this // list before proceeding. Destinations []*FailoverDestination `protobuf:"bytes,1,rep,name=destinations,proto3" json:"destinations,omitempty"` // Mode specifies the type of failover that will be performed. Valid values are // "sequential", "" (equivalent to "sequential") and "order-by-locality". Mode FailoverMode `protobuf:"varint,2,opt,name=mode,proto3,enum=hashicorp.consul.catalog.v2beta1.FailoverMode" json:"mode,omitempty"` Regions []string `protobuf:"bytes,3,rep,name=regions,proto3" json:"regions,omitempty"` // SamenessGroup specifies the sameness group to failover to. SamenessGroup string `protobuf:"bytes,4,opt,name=sameness_group,json=samenessGroup,proto3" json:"sameness_group,omitempty"` // contains filtered or unexported fields }
func (*FailoverConfig) DeepCopy ¶
func (in *FailoverConfig) DeepCopy() *FailoverConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailoverConfig. Required by controller-gen.
func (*FailoverConfig) DeepCopyInterface ¶
func (in *FailoverConfig) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FailoverConfig. Required by controller-gen.
func (*FailoverConfig) DeepCopyInto ¶
func (in *FailoverConfig) DeepCopyInto(out *FailoverConfig)
DeepCopyInto supports using FailoverConfig within kubernetes types, where deepcopy-gen is used.
func (*FailoverConfig) Descriptor
deprecated
func (*FailoverConfig) Descriptor() ([]byte, []int)
Deprecated: Use FailoverConfig.ProtoReflect.Descriptor instead.
func (*FailoverConfig) GetDestinations ¶
func (x *FailoverConfig) GetDestinations() []*FailoverDestination
func (*FailoverConfig) GetMode ¶
func (x *FailoverConfig) GetMode() FailoverMode
func (*FailoverConfig) GetRegions ¶
func (x *FailoverConfig) GetRegions() []string
func (*FailoverConfig) GetSamenessGroup ¶
func (x *FailoverConfig) GetSamenessGroup() string
func (*FailoverConfig) IsEmpty ¶
func (x *FailoverConfig) IsEmpty() bool
IsEmpty returns true if a config has no definition.
func (*FailoverConfig) MarshalBinary ¶
func (msg *FailoverConfig) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*FailoverConfig) MarshalJSON ¶
func (this *FailoverConfig) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for FailoverConfig
func (*FailoverConfig) ProtoMessage ¶
func (*FailoverConfig) ProtoMessage()
func (*FailoverConfig) ProtoReflect ¶
func (x *FailoverConfig) ProtoReflect() protoreflect.Message
func (*FailoverConfig) Reset ¶
func (x *FailoverConfig) Reset()
func (*FailoverConfig) String ¶
func (x *FailoverConfig) String() string
func (*FailoverConfig) UnmarshalBinary ¶
func (msg *FailoverConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*FailoverConfig) UnmarshalJSON ¶
func (this *FailoverConfig) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for FailoverConfig
type FailoverDestination ¶
type FailoverDestination struct { // This must be a Service. Ref *pbresource.Reference `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` // Port is the port of the destination service. // // For more details on potential values of the service port identifier key, // see documentation for Service.ServicePort. // TODO: what should an empty port mean? Port string `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"` Datacenter string `protobuf:"bytes,3,opt,name=datacenter,proto3" json:"datacenter,omitempty"` // contains filtered or unexported fields }
func (*FailoverDestination) DeepCopy ¶
func (in *FailoverDestination) DeepCopy() *FailoverDestination
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailoverDestination. Required by controller-gen.
func (*FailoverDestination) DeepCopyInterface ¶
func (in *FailoverDestination) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FailoverDestination. Required by controller-gen.
func (*FailoverDestination) DeepCopyInto ¶
func (in *FailoverDestination) DeepCopyInto(out *FailoverDestination)
DeepCopyInto supports using FailoverDestination within kubernetes types, where deepcopy-gen is used.
func (*FailoverDestination) Descriptor
deprecated
func (*FailoverDestination) Descriptor() ([]byte, []int)
Deprecated: Use FailoverDestination.ProtoReflect.Descriptor instead.
func (*FailoverDestination) GetDatacenter ¶
func (x *FailoverDestination) GetDatacenter() string
func (*FailoverDestination) GetPort ¶
func (x *FailoverDestination) GetPort() string
func (*FailoverDestination) GetRef ¶
func (x *FailoverDestination) GetRef() *pbresource.Reference
func (*FailoverDestination) MarshalBinary ¶
func (msg *FailoverDestination) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*FailoverDestination) MarshalJSON ¶
func (this *FailoverDestination) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for FailoverDestination
func (*FailoverDestination) ProtoMessage ¶
func (*FailoverDestination) ProtoMessage()
func (*FailoverDestination) ProtoReflect ¶
func (x *FailoverDestination) ProtoReflect() protoreflect.Message
func (*FailoverDestination) Reset ¶
func (x *FailoverDestination) Reset()
func (*FailoverDestination) String ¶
func (x *FailoverDestination) String() string
func (*FailoverDestination) UnmarshalBinary ¶
func (msg *FailoverDestination) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*FailoverDestination) UnmarshalJSON ¶
func (this *FailoverDestination) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for FailoverDestination
type FailoverMode ¶
type FailoverMode int32
+kubebuilder:validation:Enum=FAILOVER_MODE_UNSPECIFIED;FAILOVER_MODE_SEQUENTIAL;FAILOVER_MODE_ORDER_BY_LOCALITY +kubebuilder:validation:Type=string
const ( FailoverMode_FAILOVER_MODE_UNSPECIFIED FailoverMode = 0 FailoverMode_FAILOVER_MODE_SEQUENTIAL FailoverMode = 1 FailoverMode_FAILOVER_MODE_ORDER_BY_LOCALITY FailoverMode = 2 )
func (FailoverMode) Descriptor ¶
func (FailoverMode) Descriptor() protoreflect.EnumDescriptor
func (FailoverMode) Enum ¶
func (x FailoverMode) Enum() *FailoverMode
func (FailoverMode) EnumDescriptor
deprecated
func (FailoverMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use FailoverMode.Descriptor instead.
func (FailoverMode) Number ¶
func (x FailoverMode) Number() protoreflect.EnumNumber
func (FailoverMode) String ¶
func (x FailoverMode) String() string
func (FailoverMode) Type ¶
func (FailoverMode) Type() protoreflect.EnumType
type FailoverPolicy ¶
type FailoverPolicy struct { // Config defines failover for any named port not present in PortConfigs. Config *FailoverConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // PortConfigs defines failover for a specific port on a service and takes // precedence over Config. // // For more details on potential values of the service port identifier key, // see documentation for Service.ServicePort. PortConfigs map[string]*FailoverConfig `` /* 182-byte string literal not displayed */ // contains filtered or unexported fields }
This is a Resource type.
func (*FailoverPolicy) DeepCopy ¶
func (in *FailoverPolicy) DeepCopy() *FailoverPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailoverPolicy. Required by controller-gen.
func (*FailoverPolicy) DeepCopyInterface ¶
func (in *FailoverPolicy) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FailoverPolicy. Required by controller-gen.
func (*FailoverPolicy) DeepCopyInto ¶
func (in *FailoverPolicy) DeepCopyInto(out *FailoverPolicy)
DeepCopyInto supports using FailoverPolicy within kubernetes types, where deepcopy-gen is used.
func (*FailoverPolicy) Descriptor
deprecated
func (*FailoverPolicy) Descriptor() ([]byte, []int)
Deprecated: Use FailoverPolicy.ProtoReflect.Descriptor instead.
func (*FailoverPolicy) GetConfig ¶
func (x *FailoverPolicy) GetConfig() *FailoverConfig
func (*FailoverPolicy) GetPortConfigs ¶
func (x *FailoverPolicy) GetPortConfigs() map[string]*FailoverConfig
func (*FailoverPolicy) MarshalBinary ¶
func (msg *FailoverPolicy) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*FailoverPolicy) MarshalJSON ¶
func (this *FailoverPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for FailoverPolicy
func (*FailoverPolicy) ProtoMessage ¶
func (*FailoverPolicy) ProtoMessage()
func (*FailoverPolicy) ProtoReflect ¶
func (x *FailoverPolicy) ProtoReflect() protoreflect.Message
func (*FailoverPolicy) Reset ¶
func (x *FailoverPolicy) Reset()
func (*FailoverPolicy) String ¶
func (x *FailoverPolicy) String() string
func (*FailoverPolicy) UnmarshalBinary ¶
func (msg *FailoverPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*FailoverPolicy) UnmarshalJSON ¶
func (this *FailoverPolicy) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for FailoverPolicy
type GRPCCheck ¶
type GRPCCheck struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Tls *CheckTLSConfig `protobuf:"bytes,2,opt,name=tls,proto3" json:"tls,omitempty"` // contains filtered or unexported fields }
func (*GRPCCheck) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GRPCCheck. Required by controller-gen.
func (*GRPCCheck) DeepCopyInterface ¶
func (in *GRPCCheck) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GRPCCheck. Required by controller-gen.
func (*GRPCCheck) DeepCopyInto ¶
DeepCopyInto supports using GRPCCheck within kubernetes types, where deepcopy-gen is used.
func (*GRPCCheck) Descriptor
deprecated
func (*GRPCCheck) GetAddress ¶
func (*GRPCCheck) GetTls ¶
func (x *GRPCCheck) GetTls() *CheckTLSConfig
func (*GRPCCheck) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler
func (*GRPCCheck) MarshalJSON ¶
MarshalJSON is a custom marshaler for GRPCCheck
func (*GRPCCheck) ProtoMessage ¶
func (*GRPCCheck) ProtoMessage()
func (*GRPCCheck) ProtoReflect ¶
func (x *GRPCCheck) ProtoReflect() protoreflect.Message
func (*GRPCCheck) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*GRPCCheck) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaler for GRPCCheck
type HTTPCheck ¶
type HTTPCheck struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Header map[string]string `` /* 153-byte string literal not displayed */ Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"` Body string `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"` DisableRedirects bool `protobuf:"varint,5,opt,name=disable_redirects,json=disableRedirects,proto3" json:"disable_redirects,omitempty"` Tls *CheckTLSConfig `protobuf:"bytes,6,opt,name=tls,proto3" json:"tls,omitempty"` // contains filtered or unexported fields }
func (*HTTPCheck) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPCheck. Required by controller-gen.
func (*HTTPCheck) DeepCopyInterface ¶
func (in *HTTPCheck) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new HTTPCheck. Required by controller-gen.
func (*HTTPCheck) DeepCopyInto ¶
DeepCopyInto supports using HTTPCheck within kubernetes types, where deepcopy-gen is used.
func (*HTTPCheck) Descriptor
deprecated
func (*HTTPCheck) GetDisableRedirects ¶
func (*HTTPCheck) GetTls ¶
func (x *HTTPCheck) GetTls() *CheckTLSConfig
func (*HTTPCheck) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler
func (*HTTPCheck) MarshalJSON ¶
MarshalJSON is a custom marshaler for HTTPCheck
func (*HTTPCheck) ProtoMessage ¶
func (*HTTPCheck) ProtoMessage()
func (*HTTPCheck) ProtoReflect ¶
func (x *HTTPCheck) ProtoReflect() protoreflect.Message
func (*HTTPCheck) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*HTTPCheck) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaler for HTTPCheck
type Health ¶
type Health int32
+kubebuilder:validation:Enum=HEALTH_ANY;HEALTH_PASSING;HEALTH_WARNING;HEALTH_CRITICAL;HEALTH_MAINTENANCE +kubebuilder:validation:Type=string
func (Health) Descriptor ¶
func (Health) Descriptor() protoreflect.EnumDescriptor
func (Health) EnumDescriptor
deprecated
func (Health) Number ¶
func (x Health) Number() protoreflect.EnumNumber
func (Health) Type ¶
func (Health) Type() protoreflect.EnumType
type HealthCheck ¶
type HealthCheck struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Types that are assignable to Definition: // // *HealthCheck_Http // *HealthCheck_Tcp // *HealthCheck_Udp // *HealthCheck_Grpc // *HealthCheck_OsService Definition isHealthCheck_Definition `protobuf_oneof:"definition"` // +kubebuilder:validation:Format=duration Interval *durationpb.Duration `protobuf:"bytes,7,opt,name=interval,proto3" json:"interval,omitempty"` // +kubebuilder:validation:Format=duration Timeout *durationpb.Duration `protobuf:"bytes,8,opt,name=timeout,proto3" json:"timeout,omitempty"` // +kubebuilder:validation:Format=duration DeregisterCriticalAfter *durationpb.Duration `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
func (*HealthCheck) DeepCopy ¶
func (in *HealthCheck) DeepCopy() *HealthCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthCheck. Required by controller-gen.
func (*HealthCheck) DeepCopyInterface ¶
func (in *HealthCheck) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new HealthCheck. Required by controller-gen.
func (*HealthCheck) DeepCopyInto ¶
func (in *HealthCheck) DeepCopyInto(out *HealthCheck)
DeepCopyInto supports using HealthCheck within kubernetes types, where deepcopy-gen is used.
func (*HealthCheck) Descriptor
deprecated
func (*HealthCheck) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheck.ProtoReflect.Descriptor instead.
func (*HealthCheck) GetDefinition ¶
func (m *HealthCheck) GetDefinition() isHealthCheck_Definition
func (*HealthCheck) GetDeregisterCriticalAfter ¶
func (x *HealthCheck) GetDeregisterCriticalAfter() *durationpb.Duration
func (*HealthCheck) GetGrpc ¶
func (x *HealthCheck) GetGrpc() *GRPCCheck
func (*HealthCheck) GetHttp ¶
func (x *HealthCheck) GetHttp() *HTTPCheck
func (*HealthCheck) GetInterval ¶
func (x *HealthCheck) GetInterval() *durationpb.Duration
func (*HealthCheck) GetName ¶
func (x *HealthCheck) GetName() string
func (*HealthCheck) GetOsService ¶
func (x *HealthCheck) GetOsService() *OSServiceCheck
func (*HealthCheck) GetTcp ¶
func (x *HealthCheck) GetTcp() *TCPCheck
func (*HealthCheck) GetTimeout ¶
func (x *HealthCheck) GetTimeout() *durationpb.Duration
func (*HealthCheck) GetUdp ¶
func (x *HealthCheck) GetUdp() *UDPCheck
func (*HealthCheck) MarshalBinary ¶
func (msg *HealthCheck) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*HealthCheck) MarshalJSON ¶
func (this *HealthCheck) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for HealthCheck
func (*HealthCheck) ProtoMessage ¶
func (*HealthCheck) ProtoMessage()
func (*HealthCheck) ProtoReflect ¶
func (x *HealthCheck) ProtoReflect() protoreflect.Message
func (*HealthCheck) Reset ¶
func (x *HealthCheck) Reset()
func (*HealthCheck) String ¶
func (x *HealthCheck) String() string
func (*HealthCheck) UnmarshalBinary ¶
func (msg *HealthCheck) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*HealthCheck) UnmarshalJSON ¶
func (this *HealthCheck) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for HealthCheck
type HealthCheck_Grpc ¶
type HealthCheck_Grpc struct {
Grpc *GRPCCheck `protobuf:"bytes,5,opt,name=grpc,proto3,oneof"`
}
type HealthCheck_Http ¶
type HealthCheck_Http struct {
Http *HTTPCheck `protobuf:"bytes,2,opt,name=http,proto3,oneof"`
}
type HealthCheck_OsService ¶
type HealthCheck_OsService struct {
OsService *OSServiceCheck `protobuf:"bytes,6,opt,name=os_service,json=osService,proto3,oneof"`
}
type HealthCheck_Tcp ¶
type HealthCheck_Tcp struct {
Tcp *TCPCheck `protobuf:"bytes,3,opt,name=tcp,proto3,oneof"`
}
type HealthCheck_Udp ¶
type HealthCheck_Udp struct {
Udp *UDPCheck `protobuf:"bytes,4,opt,name=udp,proto3,oneof"`
}
type HealthChecks ¶
type HealthChecks struct { Workloads *WorkloadSelector `protobuf:"bytes,1,opt,name=workloads,proto3" json:"workloads,omitempty"` HealthChecks []*HealthCheck `protobuf:"bytes,2,rep,name=health_checks,json=healthChecks,proto3" json:"health_checks,omitempty"` // contains filtered or unexported fields }
func (*HealthChecks) DeepCopy ¶
func (in *HealthChecks) DeepCopy() *HealthChecks
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthChecks. Required by controller-gen.
func (*HealthChecks) DeepCopyInterface ¶
func (in *HealthChecks) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new HealthChecks. Required by controller-gen.
func (*HealthChecks) DeepCopyInto ¶
func (in *HealthChecks) DeepCopyInto(out *HealthChecks)
DeepCopyInto supports using HealthChecks within kubernetes types, where deepcopy-gen is used.
func (*HealthChecks) Descriptor
deprecated
func (*HealthChecks) Descriptor() ([]byte, []int)
Deprecated: Use HealthChecks.ProtoReflect.Descriptor instead.
func (*HealthChecks) GetHealthChecks ¶
func (x *HealthChecks) GetHealthChecks() []*HealthCheck
func (*HealthChecks) GetWorkloads ¶
func (x *HealthChecks) GetWorkloads() *WorkloadSelector
func (*HealthChecks) MarshalBinary ¶
func (msg *HealthChecks) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*HealthChecks) MarshalJSON ¶
func (this *HealthChecks) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for HealthChecks
func (*HealthChecks) ProtoMessage ¶
func (*HealthChecks) ProtoMessage()
func (*HealthChecks) ProtoReflect ¶
func (x *HealthChecks) ProtoReflect() protoreflect.Message
func (*HealthChecks) Reset ¶
func (x *HealthChecks) Reset()
func (*HealthChecks) String ¶
func (x *HealthChecks) String() string
func (*HealthChecks) UnmarshalBinary ¶
func (msg *HealthChecks) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*HealthChecks) UnmarshalJSON ¶
func (this *HealthChecks) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for HealthChecks
type HealthStatus ¶
type HealthStatus struct { // Type is the type of this health check, such as http, tcp, or kubernetes-readiness Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Health is the status. This maps to existing health check statuses. Status Health `protobuf:"varint,2,opt,name=status,proto3,enum=hashicorp.consul.catalog.v2beta1.Health" json:"status,omitempty"` // Description is the description for this status. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Output is the output from running the check that resulted in this status Output string `protobuf:"bytes,4,opt,name=output,proto3" json:"output,omitempty"` // contains filtered or unexported fields }
This resource will belong to a workload and will have an ownership relationship.
func (*HealthStatus) DeepCopy ¶
func (in *HealthStatus) DeepCopy() *HealthStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthStatus. Required by controller-gen.
func (*HealthStatus) DeepCopyInterface ¶
func (in *HealthStatus) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new HealthStatus. Required by controller-gen.
func (*HealthStatus) DeepCopyInto ¶
func (in *HealthStatus) DeepCopyInto(out *HealthStatus)
DeepCopyInto supports using HealthStatus within kubernetes types, where deepcopy-gen is used.
func (*HealthStatus) Descriptor
deprecated
func (*HealthStatus) Descriptor() ([]byte, []int)
Deprecated: Use HealthStatus.ProtoReflect.Descriptor instead.
func (*HealthStatus) GetDescription ¶
func (x *HealthStatus) GetDescription() string
func (*HealthStatus) GetOutput ¶
func (x *HealthStatus) GetOutput() string
func (*HealthStatus) GetStatus ¶
func (x *HealthStatus) GetStatus() Health
func (*HealthStatus) GetType ¶
func (x *HealthStatus) GetType() string
func (*HealthStatus) MarshalBinary ¶
func (msg *HealthStatus) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*HealthStatus) MarshalJSON ¶
func (this *HealthStatus) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for HealthStatus
func (*HealthStatus) ProtoMessage ¶
func (*HealthStatus) ProtoMessage()
func (*HealthStatus) ProtoReflect ¶
func (x *HealthStatus) ProtoReflect() protoreflect.Message
func (*HealthStatus) Reset ¶
func (x *HealthStatus) Reset()
func (*HealthStatus) String ¶
func (x *HealthStatus) String() string
func (*HealthStatus) UnmarshalBinary ¶
func (msg *HealthStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*HealthStatus) UnmarshalJSON ¶
func (this *HealthStatus) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for HealthStatus
type IP ¶
type IP struct { // address is the string IPv4 address. // This could also store IPv6 in the future. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // generated indicates whether Consul generated or it is user-provided // (e.g. a ClusterIP of the Kubernetes service). Generated bool `protobuf:"varint,2,opt,name=generated,proto3" json:"generated,omitempty"` // contains filtered or unexported fields }
func (*IP) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IP. Required by controller-gen.
func (*IP) DeepCopyInterface ¶
func (in *IP) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new IP. Required by controller-gen.
func (*IP) DeepCopyInto ¶
DeepCopyInto supports using IP within kubernetes types, where deepcopy-gen is used.
func (*IP) Descriptor
deprecated
func (*IP) GetAddress ¶
func (*IP) GetGenerated ¶
func (*IP) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler
func (*IP) MarshalJSON ¶
MarshalJSON is a custom marshaler for IP
func (*IP) ProtoMessage ¶
func (*IP) ProtoMessage()
func (*IP) ProtoReflect ¶
func (x *IP) ProtoReflect() protoreflect.Message
func (*IP) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*IP) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaler for IP
type Locality ¶
type Locality struct { // Region is region the zone belongs to. Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` // Zone is the zone the entity is running in. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // contains filtered or unexported fields }
func (*Locality) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Locality. Required by controller-gen.
func (*Locality) DeepCopyInterface ¶
func (in *Locality) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Locality. Required by controller-gen.
func (*Locality) DeepCopyInto ¶
DeepCopyInto supports using Locality within kubernetes types, where deepcopy-gen is used.
func (*Locality) Descriptor
deprecated
func (*Locality) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler
func (*Locality) MarshalJSON ¶
MarshalJSON is a custom marshaler for Locality
func (*Locality) ProtoMessage ¶
func (*Locality) ProtoMessage()
func (*Locality) ProtoReflect ¶
func (x *Locality) ProtoReflect() protoreflect.Message
func (*Locality) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*Locality) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaler for Locality
type Node ¶
type Node struct { Addresses []*NodeAddress `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` // contains filtered or unexported fields }
func (*Node) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Node. Required by controller-gen.
func (*Node) DeepCopyInterface ¶
func (in *Node) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Node. Required by controller-gen.
func (*Node) DeepCopyInto ¶
DeepCopyInto supports using Node within kubernetes types, where deepcopy-gen is used.
func (*Node) Descriptor
deprecated
func (*Node) GetAddresses ¶
func (x *Node) GetAddresses() []*NodeAddress
func (*Node) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler
func (*Node) MarshalJSON ¶
MarshalJSON is a custom marshaler for Node
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
func (*Node) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*Node) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaler for Node
type NodeAddress ¶
type NodeAddress struct { // host can be an IP or DNS name.Í Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` // external indicates whether this address should be used for external communication // (aka a WAN address). External bool `protobuf:"varint,3,opt,name=external,proto3" json:"external,omitempty"` // contains filtered or unexported fields }
func (*NodeAddress) DeepCopy ¶
func (in *NodeAddress) DeepCopy() *NodeAddress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAddress. Required by controller-gen.
func (*NodeAddress) DeepCopyInterface ¶
func (in *NodeAddress) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new NodeAddress. Required by controller-gen.
func (*NodeAddress) DeepCopyInto ¶
func (in *NodeAddress) DeepCopyInto(out *NodeAddress)
DeepCopyInto supports using NodeAddress within kubernetes types, where deepcopy-gen is used.
func (*NodeAddress) Descriptor
deprecated
func (*NodeAddress) Descriptor() ([]byte, []int)
Deprecated: Use NodeAddress.ProtoReflect.Descriptor instead.
func (*NodeAddress) GetExternal ¶
func (x *NodeAddress) GetExternal() bool
func (*NodeAddress) GetHost ¶
func (x *NodeAddress) GetHost() string
func (*NodeAddress) MarshalBinary ¶
func (msg *NodeAddress) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*NodeAddress) MarshalJSON ¶
func (this *NodeAddress) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for NodeAddress
func (*NodeAddress) ProtoMessage ¶
func (*NodeAddress) ProtoMessage()
func (*NodeAddress) ProtoReflect ¶
func (x *NodeAddress) ProtoReflect() protoreflect.Message
func (*NodeAddress) Reset ¶
func (x *NodeAddress) Reset()
func (*NodeAddress) String ¶
func (x *NodeAddress) String() string
func (*NodeAddress) UnmarshalBinary ¶
func (msg *NodeAddress) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*NodeAddress) UnmarshalJSON ¶
func (this *NodeAddress) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for NodeAddress
type NodeHealthStatus ¶ added in v0.6.0
type NodeHealthStatus struct { // Type is the type of this health check, such as http, tcp, or kubernetes-readiness Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Health is the status. This maps to existing health check statuses. Status Health `protobuf:"varint,2,opt,name=status,proto3,enum=hashicorp.consul.catalog.v2beta1.Health" json:"status,omitempty"` // Description is the description for this status. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Output is the output from running the check that resulted in this status Output string `protobuf:"bytes,4,opt,name=output,proto3" json:"output,omitempty"` // contains filtered or unexported fields }
This resource will belong to a node and will have an ownership relationship.
func (*NodeHealthStatus) DeepCopy ¶ added in v0.6.0
func (in *NodeHealthStatus) DeepCopy() *NodeHealthStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeHealthStatus. Required by controller-gen.
func (*NodeHealthStatus) DeepCopyInterface ¶ added in v0.6.0
func (in *NodeHealthStatus) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new NodeHealthStatus. Required by controller-gen.
func (*NodeHealthStatus) DeepCopyInto ¶ added in v0.6.0
func (in *NodeHealthStatus) DeepCopyInto(out *NodeHealthStatus)
DeepCopyInto supports using NodeHealthStatus within kubernetes types, where deepcopy-gen is used.
func (*NodeHealthStatus) Descriptor
deprecated
added in
v0.6.0
func (*NodeHealthStatus) Descriptor() ([]byte, []int)
Deprecated: Use NodeHealthStatus.ProtoReflect.Descriptor instead.
func (*NodeHealthStatus) GetDescription ¶ added in v0.6.0
func (x *NodeHealthStatus) GetDescription() string
func (*NodeHealthStatus) GetOutput ¶ added in v0.6.0
func (x *NodeHealthStatus) GetOutput() string
func (*NodeHealthStatus) GetStatus ¶ added in v0.6.0
func (x *NodeHealthStatus) GetStatus() Health
func (*NodeHealthStatus) GetType ¶ added in v0.6.0
func (x *NodeHealthStatus) GetType() string
func (*NodeHealthStatus) MarshalBinary ¶ added in v0.6.0
func (msg *NodeHealthStatus) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*NodeHealthStatus) MarshalJSON ¶ added in v0.6.0
func (this *NodeHealthStatus) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for NodeHealthStatus
func (*NodeHealthStatus) ProtoMessage ¶ added in v0.6.0
func (*NodeHealthStatus) ProtoMessage()
func (*NodeHealthStatus) ProtoReflect ¶ added in v0.6.0
func (x *NodeHealthStatus) ProtoReflect() protoreflect.Message
func (*NodeHealthStatus) Reset ¶ added in v0.6.0
func (x *NodeHealthStatus) Reset()
func (*NodeHealthStatus) String ¶ added in v0.6.0
func (x *NodeHealthStatus) String() string
func (*NodeHealthStatus) UnmarshalBinary ¶ added in v0.6.0
func (msg *NodeHealthStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*NodeHealthStatus) UnmarshalJSON ¶ added in v0.6.0
func (this *NodeHealthStatus) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for NodeHealthStatus
type OSServiceCheck ¶
type OSServiceCheck struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*OSServiceCheck) DeepCopy ¶
func (in *OSServiceCheck) DeepCopy() *OSServiceCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OSServiceCheck. Required by controller-gen.
func (*OSServiceCheck) DeepCopyInterface ¶
func (in *OSServiceCheck) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new OSServiceCheck. Required by controller-gen.
func (*OSServiceCheck) DeepCopyInto ¶
func (in *OSServiceCheck) DeepCopyInto(out *OSServiceCheck)
DeepCopyInto supports using OSServiceCheck within kubernetes types, where deepcopy-gen is used.
func (*OSServiceCheck) Descriptor
deprecated
func (*OSServiceCheck) Descriptor() ([]byte, []int)
Deprecated: Use OSServiceCheck.ProtoReflect.Descriptor instead.
func (*OSServiceCheck) GetAddress ¶
func (x *OSServiceCheck) GetAddress() string
func (*OSServiceCheck) MarshalBinary ¶
func (msg *OSServiceCheck) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*OSServiceCheck) MarshalJSON ¶
func (this *OSServiceCheck) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for OSServiceCheck
func (*OSServiceCheck) ProtoMessage ¶
func (*OSServiceCheck) ProtoMessage()
func (*OSServiceCheck) ProtoReflect ¶
func (x *OSServiceCheck) ProtoReflect() protoreflect.Message
func (*OSServiceCheck) Reset ¶
func (x *OSServiceCheck) Reset()
func (*OSServiceCheck) String ¶
func (x *OSServiceCheck) String() string
func (*OSServiceCheck) UnmarshalBinary ¶
func (msg *OSServiceCheck) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*OSServiceCheck) UnmarshalJSON ¶
func (this *OSServiceCheck) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for OSServiceCheck
type Protocol ¶
type Protocol int32
+kubebuilder:validation:Enum=PROTOCOL_UNSPECIFIED;PROTOCOL_TCP;PROTOCOL_HTTP;PROTOCOL_HTTP2;PROTOCOL_GRPC +kubebuilder:validation:Type=string
const ( Protocol_PROTOCOL_UNSPECIFIED Protocol = 0 Protocol_PROTOCOL_TCP Protocol = 1 Protocol_PROTOCOL_HTTP Protocol = 2 Protocol_PROTOCOL_HTTP2 Protocol = 3 Protocol_PROTOCOL_GRPC Protocol = 4 // Protocol Mesh indicates that this port can speak Consul's mTLS based mesh protocol. Protocol_PROTOCOL_MESH Protocol = 5 )
func (Protocol) Descriptor ¶
func (Protocol) Descriptor() protoreflect.EnumDescriptor
func (Protocol) EnumDescriptor
deprecated
func (Protocol) Number ¶
func (x Protocol) Number() protoreflect.EnumNumber
func (Protocol) Type ¶
func (Protocol) Type() protoreflect.EnumType
type Service ¶
type Service struct { // workloads is a selector for the workloads this service should represent. Workloads *WorkloadSelector `protobuf:"bytes,1,opt,name=workloads,proto3" json:"workloads,omitempty"` // ports is the list of mappings of workload ports that this service // represents. Ports []*ServicePort `protobuf:"bytes,2,rep,name=ports,proto3" json:"ports,omitempty"` // virtual_ips is a list of virtual IPs for this service. This is useful when you need to set // an IP from an external system (like Kubernetes). This can be an IPv4 or IPv6 string. VirtualIps []string `protobuf:"bytes,3,rep,name=virtual_ips,json=virtualIps,proto3" json:"virtual_ips,omitempty"` // contains filtered or unexported fields }
func (*Service) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service. Required by controller-gen.
func (*Service) DeepCopyInterface ¶
func (in *Service) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Service. Required by controller-gen.
func (*Service) DeepCopyInto ¶
DeepCopyInto supports using Service within kubernetes types, where deepcopy-gen is used.
func (*Service) Descriptor
deprecated
func (*Service) FindPortByID ¶ added in v0.6.0
func (s *Service) FindPortByID(id string) *ServicePort
FindPortByID finds a ServicePort by its VirtualPort or TargetPort value.
Note that this will not match a target port if the given value is numeric. See Service.ServicePort doc for more information on how port IDs are matched.
func (*Service) FindTargetPort ¶ added in v0.6.0
func (s *Service) FindTargetPort(targetPort string) *ServicePort
FindTargetPort finds a ServicePort by its TargetPort value.
Unlike FindPortByID, it will match a numeric TargetPort value. This is useful when looking up a service port by a workload port value, or when the data is known to be normalized to canonical target port values (e.g. computed routes).
func (*Service) GetPorts ¶
func (x *Service) GetPorts() []*ServicePort
func (*Service) GetVirtualIps ¶
func (*Service) GetWorkloads ¶
func (x *Service) GetWorkloads() *WorkloadSelector
func (*Service) IsMeshEnabled ¶
func (*Service) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler
func (*Service) MarshalJSON ¶
MarshalJSON is a custom marshaler for Service
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
func (*Service) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*Service) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaler for Service
type ServiceEndpoints ¶
type ServiceEndpoints struct { Endpoints []*Endpoint `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"` // contains filtered or unexported fields }
func (*ServiceEndpoints) DeepCopy ¶
func (in *ServiceEndpoints) DeepCopy() *ServiceEndpoints
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEndpoints. Required by controller-gen.
func (*ServiceEndpoints) DeepCopyInterface ¶
func (in *ServiceEndpoints) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEndpoints. Required by controller-gen.
func (*ServiceEndpoints) DeepCopyInto ¶
func (in *ServiceEndpoints) DeepCopyInto(out *ServiceEndpoints)
DeepCopyInto supports using ServiceEndpoints within kubernetes types, where deepcopy-gen is used.
func (*ServiceEndpoints) Descriptor
deprecated
func (*ServiceEndpoints) Descriptor() ([]byte, []int)
Deprecated: Use ServiceEndpoints.ProtoReflect.Descriptor instead.
func (*ServiceEndpoints) GetEndpoints ¶
func (x *ServiceEndpoints) GetEndpoints() []*Endpoint
func (*ServiceEndpoints) GetIdentities ¶
func (s *ServiceEndpoints) GetIdentities() []string
GetIdentities returns a list of unique identities that this service endpoints points to.
func (*ServiceEndpoints) MarshalBinary ¶
func (msg *ServiceEndpoints) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*ServiceEndpoints) MarshalJSON ¶
func (this *ServiceEndpoints) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for ServiceEndpoints
func (*ServiceEndpoints) ProtoMessage ¶
func (*ServiceEndpoints) ProtoMessage()
func (*ServiceEndpoints) ProtoReflect ¶
func (x *ServiceEndpoints) ProtoReflect() protoreflect.Message
func (*ServiceEndpoints) Reset ¶
func (x *ServiceEndpoints) Reset()
func (*ServiceEndpoints) String ¶
func (x *ServiceEndpoints) String() string
func (*ServiceEndpoints) UnmarshalBinary ¶
func (msg *ServiceEndpoints) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*ServiceEndpoints) UnmarshalJSON ¶
func (this *ServiceEndpoints) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for ServiceEndpoints
type ServicePort ¶
type ServicePort struct { // virtual_port is the port that could only be used when transparent // proxy is used alongside a virtual IP or a virtual DNS address. // This value is ignored in other cases. Whether or not using transparent // proxy, this value is optional. VirtualPort uint32 `protobuf:"varint,1,opt,name=virtual_port,json=virtualPort,proto3" json:"virtual_port,omitempty"` // target_port is the name of the workload port. TargetPort string `protobuf:"bytes,2,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"` // protocol is the port's protocol. This should be set to "mesh" // if the target port is the proxy's inbound port. Protocol Protocol `protobuf:"varint,3,opt,name=protocol,proto3,enum=hashicorp.consul.catalog.v2beta1.Protocol" json:"protocol,omitempty"` // contains filtered or unexported fields }
ServicePort declares a port exposed by the service that can be used in config and xRoute references.
For outside references to a service port by string identifier (e.g. in xRoutes and xPolicies), there are two forms supported: - A numeric value exclusively indicates a ServicePort.VirtualPort - A non-numeric value exclusively indicates a ServicePort.TargetPort
func (*ServicePort) DeepCopy ¶
func (in *ServicePort) DeepCopy() *ServicePort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePort. Required by controller-gen.
func (*ServicePort) DeepCopyInterface ¶
func (in *ServicePort) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ServicePort. Required by controller-gen.
func (*ServicePort) DeepCopyInto ¶
func (in *ServicePort) DeepCopyInto(out *ServicePort)
DeepCopyInto supports using ServicePort within kubernetes types, where deepcopy-gen is used.
func (*ServicePort) Descriptor
deprecated
func (*ServicePort) Descriptor() ([]byte, []int)
Deprecated: Use ServicePort.ProtoReflect.Descriptor instead.
func (*ServicePort) GetProtocol ¶
func (x *ServicePort) GetProtocol() Protocol
func (*ServicePort) GetTargetPort ¶
func (x *ServicePort) GetTargetPort() string
func (*ServicePort) GetVirtualPort ¶
func (x *ServicePort) GetVirtualPort() uint32
func (*ServicePort) MarshalBinary ¶
func (msg *ServicePort) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*ServicePort) MarshalJSON ¶
func (this *ServicePort) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for ServicePort
func (*ServicePort) MatchesPortId ¶ added in v0.6.0
func (sp *ServicePort) MatchesPortId(id string) bool
MatchesPortId returns true if the given port ID is non-empty and matches the virtual or target port of the given ServicePort. See ServicePort doc for more information on how port IDs are matched.
Note that this function does not validate the provided port ID. Configured service ports should be validated on write, prior to use of this function, which means any matching value is implicitly valid.
func (*ServicePort) ProtoMessage ¶
func (*ServicePort) ProtoMessage()
func (*ServicePort) ProtoReflect ¶
func (x *ServicePort) ProtoReflect() protoreflect.Message
func (*ServicePort) Reset ¶
func (x *ServicePort) Reset()
func (*ServicePort) String ¶
func (x *ServicePort) String() string
func (*ServicePort) ToPrintableString ¶ added in v0.6.0
func (sp *ServicePort) ToPrintableString() string
func (*ServicePort) UnmarshalBinary ¶
func (msg *ServicePort) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*ServicePort) UnmarshalJSON ¶
func (this *ServicePort) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for ServicePort
func (*ServicePort) VirtualPortStr ¶ added in v0.6.0
func (sp *ServicePort) VirtualPortStr() string
VirtualPortStr is a convenience helper for checking the virtual port against a port ID in config (e.g. keys in FailoverPolicy.PortConfigs). It returns the string representation of the virtual port.
type TCPCheck ¶
type TCPCheck struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*TCPCheck) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPCheck. Required by controller-gen.
func (*TCPCheck) DeepCopyInterface ¶
func (in *TCPCheck) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new TCPCheck. Required by controller-gen.
func (*TCPCheck) DeepCopyInto ¶
DeepCopyInto supports using TCPCheck within kubernetes types, where deepcopy-gen is used.
func (*TCPCheck) Descriptor
deprecated
func (*TCPCheck) GetAddress ¶
func (*TCPCheck) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler
func (*TCPCheck) MarshalJSON ¶
MarshalJSON is a custom marshaler for TCPCheck
func (*TCPCheck) ProtoMessage ¶
func (*TCPCheck) ProtoMessage()
func (*TCPCheck) ProtoReflect ¶
func (x *TCPCheck) ProtoReflect() protoreflect.Message
func (*TCPCheck) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*TCPCheck) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaler for TCPCheck
type UDPCheck ¶
type UDPCheck struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*UDPCheck) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UDPCheck. Required by controller-gen.
func (*UDPCheck) DeepCopyInterface ¶
func (in *UDPCheck) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new UDPCheck. Required by controller-gen.
func (*UDPCheck) DeepCopyInto ¶
DeepCopyInto supports using UDPCheck within kubernetes types, where deepcopy-gen is used.
func (*UDPCheck) Descriptor
deprecated
func (*UDPCheck) GetAddress ¶
func (*UDPCheck) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler
func (*UDPCheck) MarshalJSON ¶
MarshalJSON is a custom marshaler for UDPCheck
func (*UDPCheck) ProtoMessage ¶
func (*UDPCheck) ProtoMessage()
func (*UDPCheck) ProtoReflect ¶
func (x *UDPCheck) ProtoReflect() protoreflect.Message
func (*UDPCheck) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*UDPCheck) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaler for UDPCheck
type VirtualIPs ¶
type VirtualIPs struct { Ips []*IP `protobuf:"bytes,1,rep,name=ips,proto3" json:"ips,omitempty"` // contains filtered or unexported fields }
func (*VirtualIPs) DeepCopy ¶
func (in *VirtualIPs) DeepCopy() *VirtualIPs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualIPs. Required by controller-gen.
func (*VirtualIPs) DeepCopyInterface ¶
func (in *VirtualIPs) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new VirtualIPs. Required by controller-gen.
func (*VirtualIPs) DeepCopyInto ¶
func (in *VirtualIPs) DeepCopyInto(out *VirtualIPs)
DeepCopyInto supports using VirtualIPs within kubernetes types, where deepcopy-gen is used.
func (*VirtualIPs) Descriptor
deprecated
func (*VirtualIPs) Descriptor() ([]byte, []int)
Deprecated: Use VirtualIPs.ProtoReflect.Descriptor instead.
func (*VirtualIPs) GetIps ¶
func (x *VirtualIPs) GetIps() []*IP
func (*VirtualIPs) MarshalBinary ¶
func (msg *VirtualIPs) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*VirtualIPs) MarshalJSON ¶
func (this *VirtualIPs) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for VirtualIPs
func (*VirtualIPs) ProtoMessage ¶
func (*VirtualIPs) ProtoMessage()
func (*VirtualIPs) ProtoReflect ¶
func (x *VirtualIPs) ProtoReflect() protoreflect.Message
func (*VirtualIPs) Reset ¶
func (x *VirtualIPs) Reset()
func (*VirtualIPs) String ¶
func (x *VirtualIPs) String() string
func (*VirtualIPs) UnmarshalBinary ¶
func (msg *VirtualIPs) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*VirtualIPs) UnmarshalJSON ¶
func (this *VirtualIPs) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for VirtualIPs
type Weights ¶
type Weights struct { Passing uint32 `protobuf:"varint,1,opt,name=passing,proto3" json:"passing,omitempty"` Warning uint32 `protobuf:"varint,2,opt,name=warning,proto3" json:"warning,omitempty"` // contains filtered or unexported fields }
func (*Weights) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Weights. Required by controller-gen.
func (*Weights) DeepCopyInterface ¶
func (in *Weights) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Weights. Required by controller-gen.
func (*Weights) DeepCopyInto ¶
DeepCopyInto supports using Weights within kubernetes types, where deepcopy-gen is used.
func (*Weights) Descriptor
deprecated
func (*Weights) GetPassing ¶
func (*Weights) GetWarning ¶
func (*Weights) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler
func (*Weights) MarshalJSON ¶
MarshalJSON is a custom marshaler for Weights
func (*Weights) ProtoMessage ¶
func (*Weights) ProtoMessage()
func (*Weights) ProtoReflect ¶
func (x *Weights) ProtoReflect() protoreflect.Message
func (*Weights) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*Weights) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaler for Weights
type Workload ¶
type Workload struct { // addresses has a list of all workload addresses. This should include // LAN and WAN addresses as well as any addresses a proxy would need // to bind to (if different from the default address). Addresses []*WorkloadAddress `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` // ports is a map from port name to workload port’s number and protocol. Ports map[string]*WorkloadPort `` /* 151-byte string literal not displayed */ // node_name is the name of the node this workload belongs to. NodeName string `protobuf:"bytes,3,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` // identity is the name of the workload identity this workload is associated with. Identity string `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"` // Locality specifies workload locality. Locality *Locality `protobuf:"bytes,5,opt,name=locality,proto3" json:"locality,omitempty"` // deprecated: tags correspond to service tags that you can add to a service for DNS resolution. // // Deprecated: Marked as deprecated in pbcatalog/v2beta1/workload.proto. Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` // deprecated: enable_tag_override indicates whether agents should be overriding tags during anti-entropy syncs. // // Deprecated: Marked as deprecated in pbcatalog/v2beta1/workload.proto. EnableTagOverride bool `protobuf:"varint,7,opt,name=enable_tag_override,json=enableTagOverride,proto3" json:"enable_tag_override,omitempty"` // deprecated: connect_native indicates whether this workload is connect native which will allow it to be // part of MeshEndpoints without having the corresponding Proxy resource. // // Deprecated: Marked as deprecated in pbcatalog/v2beta1/workload.proto. ConnectNative bool `protobuf:"varint,8,opt,name=connect_native,json=connectNative,proto3" json:"connect_native,omitempty"` // dns contains any workload customization that will be returned in DNS discovery requests. Dns *DNSPolicy `protobuf:"bytes,9,opt,name=dns,proto3" json:"dns,omitempty"` // contains filtered or unexported fields }
Workload is the representation of a unit of addressable work. This could represent a process on a VM, a Kubernetes pod or something else entirely.
func (*Workload) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workload. Required by controller-gen.
func (*Workload) DeepCopyInterface ¶
func (in *Workload) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Workload. Required by controller-gen.
func (*Workload) DeepCopyInto ¶
DeepCopyInto supports using Workload within kubernetes types, where deepcopy-gen is used.
func (*Workload) Descriptor
deprecated
func (*Workload) GetAddresses ¶
func (x *Workload) GetAddresses() []*WorkloadAddress
func (*Workload) GetConnectNative
deprecated
func (*Workload) GetEnableTagOverride
deprecated
func (*Workload) GetFirstNonExternalMeshAddress ¶
func (w *Workload) GetFirstNonExternalMeshAddress() *WorkloadAddress
func (*Workload) GetIdentity ¶
func (*Workload) GetLocality ¶
func (*Workload) GetMeshPortName ¶
func (*Workload) GetNodeName ¶
func (*Workload) GetNonExternalAddressesForPort ¶
func (w *Workload) GetNonExternalAddressesForPort(portName string) []*WorkloadAddress
func (*Workload) GetPorts ¶
func (x *Workload) GetPorts() map[string]*WorkloadPort
func (*Workload) GetPortsByProtocol ¶
func (*Workload) IsMeshEnabled ¶
func (*Workload) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler
func (*Workload) MarshalJSON ¶
MarshalJSON is a custom marshaler for Workload
func (*Workload) ProtoMessage ¶
func (*Workload) ProtoMessage()
func (*Workload) ProtoReflect ¶
func (x *Workload) ProtoReflect() protoreflect.Message
func (*Workload) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*Workload) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaler for Workload
type WorkloadAddress ¶
type WorkloadAddress struct { // host can be an IP, DNS name or a unix socket. // If it's a unix socket, only one port can be provided. Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` // ports is a list of names of ports that this host binds to. // If no ports are provided, we will assume all ports from the ports map. Ports []string `protobuf:"bytes,2,rep,name=ports,proto3" json:"ports,omitempty"` // external indicates whether this address should be used for external communication // (aka a WAN address). External bool `protobuf:"varint,3,opt,name=external,proto3" json:"external,omitempty"` // contains filtered or unexported fields }
func (*WorkloadAddress) DeepCopy ¶
func (in *WorkloadAddress) DeepCopy() *WorkloadAddress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadAddress. Required by controller-gen.
func (*WorkloadAddress) DeepCopyInterface ¶
func (in *WorkloadAddress) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadAddress. Required by controller-gen.
func (*WorkloadAddress) DeepCopyInto ¶
func (in *WorkloadAddress) DeepCopyInto(out *WorkloadAddress)
DeepCopyInto supports using WorkloadAddress within kubernetes types, where deepcopy-gen is used.
func (*WorkloadAddress) Descriptor
deprecated
func (*WorkloadAddress) Descriptor() ([]byte, []int)
Deprecated: Use WorkloadAddress.ProtoReflect.Descriptor instead.
func (*WorkloadAddress) GetExternal ¶
func (x *WorkloadAddress) GetExternal() bool
func (*WorkloadAddress) GetHost ¶
func (x *WorkloadAddress) GetHost() string
func (*WorkloadAddress) GetPorts ¶
func (x *WorkloadAddress) GetPorts() []string
func (*WorkloadAddress) MarshalBinary ¶
func (msg *WorkloadAddress) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*WorkloadAddress) MarshalJSON ¶
func (this *WorkloadAddress) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for WorkloadAddress
func (*WorkloadAddress) ProtoMessage ¶
func (*WorkloadAddress) ProtoMessage()
func (*WorkloadAddress) ProtoReflect ¶
func (x *WorkloadAddress) ProtoReflect() protoreflect.Message
func (*WorkloadAddress) Reset ¶
func (x *WorkloadAddress) Reset()
func (*WorkloadAddress) String ¶
func (x *WorkloadAddress) String() string
func (*WorkloadAddress) UnmarshalBinary ¶
func (msg *WorkloadAddress) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*WorkloadAddress) UnmarshalJSON ¶
func (this *WorkloadAddress) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for WorkloadAddress
type WorkloadPort ¶
type WorkloadPort struct { Port uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"` Protocol Protocol `protobuf:"varint,2,opt,name=protocol,proto3,enum=hashicorp.consul.catalog.v2beta1.Protocol" json:"protocol,omitempty"` // contains filtered or unexported fields }
func (*WorkloadPort) DeepCopy ¶
func (in *WorkloadPort) DeepCopy() *WorkloadPort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadPort. Required by controller-gen.
func (*WorkloadPort) DeepCopyInterface ¶
func (in *WorkloadPort) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadPort. Required by controller-gen.
func (*WorkloadPort) DeepCopyInto ¶
func (in *WorkloadPort) DeepCopyInto(out *WorkloadPort)
DeepCopyInto supports using WorkloadPort within kubernetes types, where deepcopy-gen is used.
func (*WorkloadPort) Descriptor
deprecated
func (*WorkloadPort) Descriptor() ([]byte, []int)
Deprecated: Use WorkloadPort.ProtoReflect.Descriptor instead.
func (*WorkloadPort) GetPort ¶
func (x *WorkloadPort) GetPort() uint32
func (*WorkloadPort) GetProtocol ¶
func (x *WorkloadPort) GetProtocol() Protocol
func (*WorkloadPort) MarshalBinary ¶
func (msg *WorkloadPort) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*WorkloadPort) MarshalJSON ¶
func (this *WorkloadPort) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for WorkloadPort
func (*WorkloadPort) ProtoMessage ¶
func (*WorkloadPort) ProtoMessage()
func (*WorkloadPort) ProtoReflect ¶
func (x *WorkloadPort) ProtoReflect() protoreflect.Message
func (*WorkloadPort) Reset ¶
func (x *WorkloadPort) Reset()
func (*WorkloadPort) String ¶
func (x *WorkloadPort) String() string
func (*WorkloadPort) UnmarshalBinary ¶
func (msg *WorkloadPort) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*WorkloadPort) UnmarshalJSON ¶
func (this *WorkloadPort) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for WorkloadPort
type WorkloadSelector ¶
type WorkloadSelector struct { Prefixes []string `protobuf:"bytes,1,rep,name=prefixes,proto3" json:"prefixes,omitempty"` Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"` Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
WorkloadSelector represents criteria for selecting a subset of workloads.
func (*WorkloadSelector) DeepCopy ¶
func (in *WorkloadSelector) DeepCopy() *WorkloadSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadSelector. Required by controller-gen.
func (*WorkloadSelector) DeepCopyInterface ¶
func (in *WorkloadSelector) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadSelector. Required by controller-gen.
func (*WorkloadSelector) DeepCopyInto ¶
func (in *WorkloadSelector) DeepCopyInto(out *WorkloadSelector)
DeepCopyInto supports using WorkloadSelector within kubernetes types, where deepcopy-gen is used.
func (*WorkloadSelector) Descriptor
deprecated
func (*WorkloadSelector) Descriptor() ([]byte, []int)
Deprecated: Use WorkloadSelector.ProtoReflect.Descriptor instead.
func (*WorkloadSelector) GetFilter ¶
func (x *WorkloadSelector) GetFilter() string
func (*WorkloadSelector) GetNames ¶
func (x *WorkloadSelector) GetNames() []string
func (*WorkloadSelector) GetPrefixes ¶
func (x *WorkloadSelector) GetPrefixes() []string
func (*WorkloadSelector) MarshalBinary ¶
func (msg *WorkloadSelector) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
func (*WorkloadSelector) MarshalJSON ¶
func (this *WorkloadSelector) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for WorkloadSelector
func (*WorkloadSelector) ProtoMessage ¶
func (*WorkloadSelector) ProtoMessage()
func (*WorkloadSelector) ProtoReflect ¶
func (x *WorkloadSelector) ProtoReflect() protoreflect.Message
func (*WorkloadSelector) Reset ¶
func (x *WorkloadSelector) Reset()
func (*WorkloadSelector) String ¶
func (x *WorkloadSelector) String() string
func (*WorkloadSelector) UnmarshalBinary ¶
func (msg *WorkloadSelector) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*WorkloadSelector) UnmarshalJSON ¶
func (this *WorkloadSelector) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for WorkloadSelector
Source Files ¶
- computed_failover_policy.pb.binary.go
- computed_failover_policy.pb.go
- computed_failover_policy_deepcopy.gen.go
- computed_failover_policy_extras.go
- computed_failover_policy_json.gen.go
- failover_policy.pb.binary.go
- failover_policy.pb.go
- failover_policy_deepcopy.gen.go
- failover_policy_extras.go
- failover_policy_json.gen.go
- health.pb.binary.go
- health.pb.go
- health_deepcopy.gen.go
- health_json.gen.go
- node.pb.binary.go
- node.pb.go
- node_deepcopy.gen.go
- node_json.gen.go
- protocol.pb.go
- resources.rtypes.go
- selector.pb.binary.go
- selector.pb.go
- selector_deepcopy.gen.go
- selector_json.gen.go
- service.pb.binary.go
- service.pb.go
- service_addon.go
- service_deepcopy.gen.go
- service_endpoints.pb.binary.go
- service_endpoints.pb.go
- service_endpoints_addon.go
- service_endpoints_deepcopy.gen.go
- service_endpoints_json.gen.go
- service_json.gen.go
- vip.pb.binary.go
- vip.pb.go
- vip_deepcopy.gen.go
- vip_json.gen.go
- workload.pb.binary.go
- workload.pb.go
- workload_addon.go
- workload_deepcopy.gen.go
- workload_json.gen.go