Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
func NewCluster ¶
func NewCluster(serviceDiscovery ServiceDiscovery, namespace, ServiceName, httpAddr string) *Cluster
func (*Cluster) InitKubeClient ¶
func (*Cluster) LeaderChanged ¶
func (*Cluster) UpdateServiceEndpointSlice ¶
type ServiceDiscovery ¶
type ServiceDiscoverySRV ¶
type ServiceDiscoverySRV struct {
// contains filtered or unexported fields
}
func NewServiceDiscoverySRV ¶
func NewServiceDiscoverySRV(namespace, serviceName string) *ServiceDiscoverySRV
func (*ServiceDiscoverySRV) Hostname ¶
func (s *ServiceDiscoverySRV) Hostname() (string, error)
func (*ServiceDiscoverySRV) IP ¶
func (s *ServiceDiscoverySRV) IP() (string, error)
func (*ServiceDiscoverySRV) Lookup ¶
func (s *ServiceDiscoverySRV) Lookup() ([]string, error)
Click to show internal directories.
Click to hide internal directories.