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(logger *logrus.Logger, serviceDiscovery ServiceDiscovery, namespace, ServiceName, httpAddr string) *Cluster
func (*Cluster) InitKubeClient ¶ added in v0.2.11
func (*Cluster) LeaderChanged ¶
func (*Cluster) UpdateServiceEndpointSlice ¶
type ServiceDiscovery ¶ added in v0.2.5
type ServiceDiscoverySRV ¶ added in v0.2.5
type ServiceDiscoverySRV struct {
// contains filtered or unexported fields
}
func NewServiceDiscoverySRV ¶ added in v0.2.5
func NewServiceDiscoverySRV(namespace, serviceName string) *ServiceDiscoverySRV
func (*ServiceDiscoverySRV) Hostname ¶ added in v0.2.5
func (s *ServiceDiscoverySRV) Hostname() (string, error)
func (*ServiceDiscoverySRV) IP ¶ added in v0.2.5
func (s *ServiceDiscoverySRV) IP() (string, error)
func (*ServiceDiscoverySRV) Lookup ¶ added in v0.2.5
func (s *ServiceDiscoverySRV) Lookup() ([]string, error)
Click to show internal directories.
Click to hide internal directories.