Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Port ¶
type Port uint32
Port is a numerical type representing a port on which a service is exposed
type Provider ¶
type Provider interface {
// Retrieve the IP addresses comprising the given service.
ListEndpointsForService(service.MeshService) []Endpoint
// Retrieve the namespaced services for a given service account
GetServicesForServiceAccount(service.K8sServiceAccount) ([]service.MeshService, error)
// Returns the expected endpoints that are to be reached when the service FQDN is resolved under
// the scope of the provider
GetResolvableEndpointsForService(service.MeshService) ([]Endpoint, error)
// GetID returns the unique identifier of the EndpointsProvider.
GetID() string
// GetAnnouncementsChannel obtains the channel on which providers will announce changes to the infrastructure.
GetAnnouncementsChannel() <-chan interface{}
}
Provider is an interface to be implemented by components abstracting Kubernetes, and other compute/cluster providers
Click to show internal directories.
Click to hide internal directories.