Documentation
¶
Index ¶
- Variables
- type 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 (*CheckTLSConfig) ProtoMessage()
- func (x *CheckTLSConfig) ProtoReflect() protoreflect.Message
- func (x *CheckTLSConfig) Reset()
- func (x *CheckTLSConfig) String() string
- func (msg *CheckTLSConfig) UnmarshalBinary(b []byte) error
- type DNSPolicy
- func (*DNSPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *DNSPolicy) GetWeights() *Weights
- func (x *DNSPolicy) GetWorkloads() *WorkloadSelector
- func (msg *DNSPolicy) MarshalBinary() ([]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
- type Endpoint
- func (*Endpoint) Descriptor() ([]byte, []int)deprecated
- func (x *Endpoint) GetAddresses() []*WorkloadAddress
- func (x *Endpoint) GetHealthStatus() Health
- func (x *Endpoint) GetPorts() map[string]*WorkloadPort
- func (x *Endpoint) GetTargetRef() *pbresource.ID
- func (msg *Endpoint) MarshalBinary() ([]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
- type GRPCCheck
- func (*GRPCCheck) Descriptor() ([]byte, []int)deprecated
- func (x *GRPCCheck) GetAddress() string
- func (x *GRPCCheck) GetTls() *CheckTLSConfig
- func (msg *GRPCCheck) MarshalBinary() ([]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
- type 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 (*HTTPCheck) ProtoMessage()
- func (x *HTTPCheck) ProtoReflect() protoreflect.Message
- func (x *HTTPCheck) Reset()
- func (x *HTTPCheck) String() string
- func (msg *HTTPCheck) UnmarshalBinary(b []byte) error
- type Health
- type 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 (*HealthCheck) ProtoMessage()
- func (x *HealthCheck) ProtoReflect() protoreflect.Message
- func (x *HealthCheck) Reset()
- func (x *HealthCheck) String() string
- func (msg *HealthCheck) UnmarshalBinary(b []byte) error
- type HealthCheck_Grpc
- type HealthCheck_Http
- type HealthCheck_OsService
- type HealthCheck_Tcp
- type HealthCheck_Udp
- type HealthChecks
- func (*HealthChecks) Descriptor() ([]byte, []int)deprecated
- func (x *HealthChecks) GetHealthChecks() []*HealthCheck
- func (x *HealthChecks) GetWorkloads() *WorkloadSelector
- func (msg *HealthChecks) MarshalBinary() ([]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
- type 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 (*HealthStatus) ProtoMessage()
- func (x *HealthStatus) ProtoReflect() protoreflect.Message
- func (x *HealthStatus) Reset()
- func (x *HealthStatus) String() string
- func (msg *HealthStatus) UnmarshalBinary(b []byte) error
- type IP
- func (*IP) Descriptor() ([]byte, []int)deprecated
- func (x *IP) GetAddress() string
- func (x *IP) GetGenerated() bool
- func (msg *IP) MarshalBinary() ([]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
- type Locality
- func (*Locality) Descriptor() ([]byte, []int)deprecated
- func (x *Locality) GetRegion() string
- func (x *Locality) GetZone() string
- func (msg *Locality) MarshalBinary() ([]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
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetAddresses() []*NodeAddress
- func (msg *Node) MarshalBinary() ([]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
- type NodeAddress
- func (*NodeAddress) Descriptor() ([]byte, []int)deprecated
- func (x *NodeAddress) GetExternal() bool
- func (x *NodeAddress) GetHost() string
- func (msg *NodeAddress) MarshalBinary() ([]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
- type OSServiceCheck
- func (*OSServiceCheck) Descriptor() ([]byte, []int)deprecated
- func (x *OSServiceCheck) GetAddress() string
- func (msg *OSServiceCheck) MarshalBinary() ([]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
- type Protocol
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetPorts() []*ServicePort
- func (x *Service) GetVirtualIps() []string
- func (x *Service) GetWorkloads() *WorkloadSelector
- func (msg *Service) MarshalBinary() ([]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
- type ServiceEndpoints
- func (*ServiceEndpoints) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceEndpoints) GetEndpoints() []*Endpoint
- func (msg *ServiceEndpoints) MarshalBinary() ([]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
- type 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 (*ServicePort) ProtoMessage()
- func (x *ServicePort) ProtoReflect() protoreflect.Message
- func (x *ServicePort) Reset()
- func (x *ServicePort) String() string
- func (msg *ServicePort) UnmarshalBinary(b []byte) error
- type TCPCheck
- func (*TCPCheck) Descriptor() ([]byte, []int)deprecated
- func (x *TCPCheck) GetAddress() string
- func (msg *TCPCheck) MarshalBinary() ([]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
- type UDPCheck
- func (*UDPCheck) Descriptor() ([]byte, []int)deprecated
- func (x *UDPCheck) GetAddress() string
- func (msg *UDPCheck) MarshalBinary() ([]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
- type VirtualIPs
- func (*VirtualIPs) Descriptor() ([]byte, []int)deprecated
- func (x *VirtualIPs) GetIps() []*IP
- func (msg *VirtualIPs) MarshalBinary() ([]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
- type Weights
- func (*Weights) Descriptor() ([]byte, []int)deprecated
- func (x *Weights) GetPassing() uint32
- func (x *Weights) GetWarning() uint32
- func (msg *Weights) MarshalBinary() ([]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
- type Workload
- func (*Workload) Descriptor() ([]byte, []int)deprecated
- func (x *Workload) GetAddresses() []*WorkloadAddress
- func (x *Workload) GetConnectNative() booldeprecated
- func (x *Workload) GetEnableTagOverride() booldeprecated
- func (x *Workload) GetIdentity() string
- func (x *Workload) GetLocality() *Locality
- func (x *Workload) GetNodeName() string
- func (x *Workload) GetPorts() map[string]*WorkloadPort
- func (x *Workload) GetTags() []stringdeprecated
- func (msg *Workload) MarshalBinary() ([]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
- type 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 (*WorkloadAddress) ProtoMessage()
- func (x *WorkloadAddress) ProtoReflect() protoreflect.Message
- func (x *WorkloadAddress) Reset()
- func (x *WorkloadAddress) String() string
- func (msg *WorkloadAddress) UnmarshalBinary(b []byte) error
- type WorkloadPort
- func (*WorkloadPort) Descriptor() ([]byte, []int)deprecated
- func (x *WorkloadPort) GetPort() uint32
- func (x *WorkloadPort) GetProtocol() Protocol
- func (msg *WorkloadPort) MarshalBinary() ([]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
- type WorkloadSelector
- func (*WorkloadSelector) Descriptor() ([]byte, []int)deprecated
- func (x *WorkloadSelector) GetNames() []string
- func (x *WorkloadSelector) GetPrefixes() []string
- func (msg *WorkloadSelector) MarshalBinary() ([]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
Constants ¶
This section is empty.
Variables ¶
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 ( Protocol_name = map[int32]string{ 0: "PROTOCOL_TCP", 1: "PROTOCOL_HTTP", 2: "PROTOCOL_HTTP2", 3: "PROTOCOL_GRPC", 4: "PROTOCOL_MESH", } Protocol_value = map[string]int32{ "PROTOCOL_TCP": 0, "PROTOCOL_HTTP": 1, "PROTOCOL_HTTP2": 2, "PROTOCOL_GRPC": 3, "PROTOCOL_MESH": 4, } )
Enum value maps for Protocol.
var File_pbcatalog_v1alpha1_dns_proto protoreflect.FileDescriptor
var File_pbcatalog_v1alpha1_health_proto protoreflect.FileDescriptor
var File_pbcatalog_v1alpha1_node_proto protoreflect.FileDescriptor
var File_pbcatalog_v1alpha1_protocol_proto protoreflect.FileDescriptor
var File_pbcatalog_v1alpha1_selector_proto protoreflect.FileDescriptor
var File_pbcatalog_v1alpha1_service_endpoints_proto protoreflect.FileDescriptor
var File_pbcatalog_v1alpha1_service_proto protoreflect.FileDescriptor
var File_pbcatalog_v1alpha1_vip_proto protoreflect.FileDescriptor
var File_pbcatalog_v1alpha1_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) 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) 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
type DNSPolicy ¶
type DNSPolicy struct { Workloads *WorkloadSelector `protobuf:"bytes,1,opt,name=workloads,proto3" json:"workloads,omitempty"` Weights *Weights `protobuf:"bytes,2,opt,name=weights,proto3" json:"weights,omitempty"` // contains filtered or unexported fields }
func (*DNSPolicy) Descriptor
deprecated
func (*DNSPolicy) GetWeights ¶
func (*DNSPolicy) GetWorkloads ¶
func (x *DNSPolicy) GetWorkloads() *WorkloadSelector
func (*DNSPolicy) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler
func (*DNSPolicy) ProtoMessage ¶
func (*DNSPolicy) ProtoMessage()
func (*DNSPolicy) ProtoReflect ¶
func (x *DNSPolicy) ProtoReflect() protoreflect.Message
func (*DNSPolicy) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
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 `` /* 144-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Endpoint) Descriptor
deprecated
func (*Endpoint) GetAddresses ¶
func (x *Endpoint) GetAddresses() []*WorkloadAddress
func (*Endpoint) GetHealthStatus ¶
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) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) ProtoReflect ¶
func (x *Endpoint) ProtoReflect() protoreflect.Message
func (*Endpoint) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
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) Descriptor
deprecated
func (*GRPCCheck) GetAddress ¶
func (*GRPCCheck) GetTls ¶
func (x *GRPCCheck) GetTls() *CheckTLSConfig
func (*GRPCCheck) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler
func (*GRPCCheck) ProtoMessage ¶
func (*GRPCCheck) ProtoMessage()
func (*GRPCCheck) ProtoReflect ¶
func (x *GRPCCheck) ProtoReflect() protoreflect.Message
func (*GRPCCheck) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
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) Descriptor
deprecated
func (*HTTPCheck) GetDisableRedirects ¶
func (*HTTPCheck) GetTls ¶
func (x *HTTPCheck) GetTls() *CheckTLSConfig
func (*HTTPCheck) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler
func (*HTTPCheck) ProtoMessage ¶
func (*HTTPCheck) ProtoMessage()
func (*HTTPCheck) ProtoReflect ¶
func (x *HTTPCheck) ProtoReflect() protoreflect.Message
func (*HTTPCheck) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
type Health ¶
type Health int32
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"` Interval *durationpb.Duration `protobuf:"bytes,7,opt,name=interval,proto3" json:"interval,omitempty"` Timeout *durationpb.Duration `protobuf:"bytes,8,opt,name=timeout,proto3" json:"timeout,omitempty"` DeregisterCriticalAfter *durationpb.Duration `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
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) 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
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) 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) 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
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.v1alpha1.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 or a node and will have an ownership relationship.
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) 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
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) Descriptor
deprecated
func (*IP) GetAddress ¶
func (*IP) GetGenerated ¶
func (*IP) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler
func (*IP) ProtoMessage ¶
func (*IP) ProtoMessage()
func (*IP) ProtoReflect ¶
func (x *IP) ProtoReflect() protoreflect.Message
func (*IP) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
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) Descriptor
deprecated
func (*Locality) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler
func (*Locality) ProtoMessage ¶
func (*Locality) ProtoMessage()
func (*Locality) ProtoReflect ¶
func (x *Locality) ProtoReflect() protoreflect.Message
func (*Locality) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
type Node ¶
type Node struct { Addresses []*NodeAddress `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` // contains filtered or unexported fields }
func (*Node) Descriptor
deprecated
func (*Node) GetAddresses ¶
func (x *Node) GetAddresses() []*NodeAddress
func (*Node) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
func (*Node) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
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) 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) 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
type OSServiceCheck ¶
type OSServiceCheck struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
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) 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
type Protocol ¶
type Protocol int32
const ( // buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX Protocol_PROTOCOL_TCP Protocol = 0 Protocol_PROTOCOL_HTTP Protocol = 1 Protocol_PROTOCOL_HTTP2 Protocol = 2 Protocol_PROTOCOL_GRPC Protocol = 3 // Protocol Mesh indicates that this port can speak Consul's mTLS based mesh protocol. Protocol_PROTOCOL_MESH Protocol = 4 )
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) Descriptor
deprecated
func (*Service) GetPorts ¶
func (x *Service) GetPorts() []*ServicePort
func (*Service) GetVirtualIps ¶
func (*Service) GetWorkloads ¶
func (x *Service) GetWorkloads() *WorkloadSelector
func (*Service) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
func (*Service) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
type ServiceEndpoints ¶
type ServiceEndpoints struct { Endpoints []*Endpoint `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"` // contains filtered or unexported fields }
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) MarshalBinary ¶
func (msg *ServiceEndpoints) MarshalBinary() ([]byte, error)
MarshalBinary implements encoding.BinaryMarshaler
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
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.v1alpha1.Protocol" json:"protocol,omitempty"` // contains filtered or unexported fields }
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) 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) UnmarshalBinary ¶
func (msg *ServicePort) UnmarshalBinary(b []byte) error
UnmarshalBinary implements encoding.BinaryUnmarshaler
type TCPCheck ¶
type TCPCheck struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*TCPCheck) Descriptor
deprecated
func (*TCPCheck) GetAddress ¶
func (*TCPCheck) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler
func (*TCPCheck) ProtoMessage ¶
func (*TCPCheck) ProtoMessage()
func (*TCPCheck) ProtoReflect ¶
func (x *TCPCheck) ProtoReflect() protoreflect.Message
func (*TCPCheck) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
type UDPCheck ¶
type UDPCheck struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*UDPCheck) Descriptor
deprecated
func (*UDPCheck) GetAddress ¶
func (*UDPCheck) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler
func (*UDPCheck) ProtoMessage ¶
func (*UDPCheck) ProtoMessage()
func (*UDPCheck) ProtoReflect ¶
func (x *UDPCheck) ProtoReflect() protoreflect.Message
func (*UDPCheck) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
type VirtualIPs ¶
type VirtualIPs struct { Ips []*IP `protobuf:"bytes,1,rep,name=ips,proto3" json:"ips,omitempty"` // contains filtered or unexported fields }
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) 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
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) Descriptor
deprecated
func (*Weights) GetPassing ¶
func (*Weights) GetWarning ¶
func (*Weights) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler
func (*Weights) ProtoMessage ¶
func (*Weights) ProtoMessage()
func (*Weights) ProtoReflect ¶
func (x *Weights) ProtoReflect() protoreflect.Message
func (*Weights) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
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/v1alpha1/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/v1alpha1/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/v1alpha1/workload.proto. ConnectNative bool `protobuf:"varint,8,opt,name=connect_native,json=connectNative,proto3" json:"connect_native,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) Descriptor
deprecated
func (*Workload) GetAddresses ¶
func (x *Workload) GetAddresses() []*WorkloadAddress
func (*Workload) GetConnectNative
deprecated
func (*Workload) GetEnableTagOverride
deprecated
func (*Workload) GetIdentity ¶
func (*Workload) GetLocality ¶
func (*Workload) GetNodeName ¶
func (*Workload) GetPorts ¶
func (x *Workload) GetPorts() map[string]*WorkloadPort
func (*Workload) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler
func (*Workload) ProtoMessage ¶
func (*Workload) ProtoMessage()
func (*Workload) ProtoReflect ¶
func (x *Workload) ProtoReflect() protoreflect.Message
func (*Workload) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
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) 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) 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
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.v1alpha1.Protocol" json:"protocol,omitempty"` // contains filtered or unexported fields }
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) 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
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"` // contains filtered or unexported fields }
WorkloadSelector represents criteria for selecting a subset of workloads.
func (*WorkloadSelector) Descriptor
deprecated
func (*WorkloadSelector) Descriptor() ([]byte, []int)
Deprecated: Use WorkloadSelector.ProtoReflect.Descriptor instead.
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) 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