Documentation ¶
Index ¶
- Variables
- type FederatedService
- func (*FederatedService) Descriptor() ([]byte, []int)deprecated
- func (x *FederatedService) GetDescription() string
- func (x *FederatedService) GetEndpoints() []*FederatedService_Endpoint
- func (x *FederatedService) GetFqdn() string
- func (x *FederatedService) GetId() string
- func (x *FederatedService) GetLabels() map[string]string
- func (x *FederatedService) GetName() string
- func (x *FederatedService) GetProtocols() []string
- func (x *FederatedService) GetSan() string
- func (x *FederatedService) GetTags() []string
- func (*FederatedService) ProtoMessage()
- func (x *FederatedService) ProtoReflect() protoreflect.Message
- func (x *FederatedService) Reset()
- func (x *FederatedService) String() string
- type FederatedService_Endpoint
- func (*FederatedService_Endpoint) Descriptor() ([]byte, []int)deprecated
- func (x *FederatedService_Endpoint) GetAddress() string
- func (x *FederatedService_Endpoint) GetPort() uint32
- func (*FederatedService_Endpoint) ProtoMessage()
- func (x *FederatedService_Endpoint) ProtoReflect() protoreflect.Message
- func (x *FederatedService_Endpoint) Reset()
- func (x *FederatedService_Endpoint) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_federated_service_v1alpha1_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FederatedService ¶
type FederatedService struct { // A human readable name for the federated service. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The description of the federated service. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Informative values for filtering purposes. Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` // Informative KV pairs for filtering purposes. Labels map[string]string `` /* 153-byte string literal not displayed */ // REQUIRED. The FQDN (Fully Qualified Domain Name) to uniquely identify the // federated service. Fqdn string `protobuf:"bytes,5,opt,name=fqdn,proto3" json:"fqdn,omitempty"` // REQUIRED. The unique name that identifies the service within a federated // service mesh owner. The value of this field will be set as the SNI header // by the federated service mesh consumer. Each vendor may possibly have its // own SNI format, so this specification doesn't define a particular format // to use for this field. // // Following are some sample values for this field. // Example: foo.acme.com // Example: outbound_.8080_.v1_.foo.acme.com // Example: foo.acme.64a95d14-92f8-11e9-bc42-526af7764f64.com Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"` // REQUIRED. The SAN (Subject Alternative Name) to enable end-to-end security // for the federated service. San string `protobuf:"bytes,7,opt,name=san,proto3" json:"san,omitempty"` // REQUIRED. The protocols supported by the federated service. Protocols []string `protobuf:"bytes,8,rep,name=protocols,proto3" json:"protocols,omitempty"` // REQUIRED. The service mesh ingress endpoints that provide access to the // federated service. Endpoints []*FederatedService_Endpoint `protobuf:"bytes,9,rep,name=endpoints,proto3" json:"endpoints,omitempty"` // contains filtered or unexported fields }
FederatedService represents a federated service which can be discovered by a federated service mesh consumer.
func (*FederatedService) Descriptor
deprecated
func (*FederatedService) Descriptor() ([]byte, []int)
Deprecated: Use FederatedService.ProtoReflect.Descriptor instead.
func (*FederatedService) GetDescription ¶
func (x *FederatedService) GetDescription() string
func (*FederatedService) GetEndpoints ¶
func (x *FederatedService) GetEndpoints() []*FederatedService_Endpoint
func (*FederatedService) GetFqdn ¶
func (x *FederatedService) GetFqdn() string
func (*FederatedService) GetId ¶
func (x *FederatedService) GetId() string
func (*FederatedService) GetLabels ¶
func (x *FederatedService) GetLabels() map[string]string
func (*FederatedService) GetName ¶
func (x *FederatedService) GetName() string
func (*FederatedService) GetProtocols ¶
func (x *FederatedService) GetProtocols() []string
func (*FederatedService) GetSan ¶
func (x *FederatedService) GetSan() string
func (*FederatedService) GetTags ¶
func (x *FederatedService) GetTags() []string
func (*FederatedService) ProtoMessage ¶
func (*FederatedService) ProtoMessage()
func (*FederatedService) ProtoReflect ¶
func (x *FederatedService) ProtoReflect() protoreflect.Message
func (*FederatedService) Reset ¶
func (x *FederatedService) Reset()
func (*FederatedService) String ¶
func (x *FederatedService) String() string
type FederatedService_Endpoint ¶
type FederatedService_Endpoint struct { // REQUIRED. The service mesh ingress endpoint address (i.e. IP, CIDR, or a // domain name). Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // REQUIRED. The port exposed by the service mesh ingress endpoint. Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
Endpoint represents a service mesh ingress endpoint that provides access to a federated service over mTLS (mutual TLS).
func (*FederatedService_Endpoint) Descriptor
deprecated
func (*FederatedService_Endpoint) Descriptor() ([]byte, []int)
Deprecated: Use FederatedService_Endpoint.ProtoReflect.Descriptor instead.
func (*FederatedService_Endpoint) GetAddress ¶
func (x *FederatedService_Endpoint) GetAddress() string
func (*FederatedService_Endpoint) GetPort ¶
func (x *FederatedService_Endpoint) GetPort() uint32
func (*FederatedService_Endpoint) ProtoMessage ¶
func (*FederatedService_Endpoint) ProtoMessage()
func (*FederatedService_Endpoint) ProtoReflect ¶
func (x *FederatedService_Endpoint) ProtoReflect() protoreflect.Message
func (*FederatedService_Endpoint) Reset ¶
func (x *FederatedService_Endpoint) Reset()
func (*FederatedService_Endpoint) String ¶
func (x *FederatedService_Endpoint) String() string
Click to show internal directories.
Click to hide internal directories.