Documentation ¶
Index ¶
- type Adapter
- func (c *Adapter) Deregister(service *consulapi.AgentServiceRegistration) error
- func (c *Adapter) New(cfg *config.Config, podNodeName string, podIP string) *Adapter
- func (c *Adapter) Register(service *consulapi.AgentServiceRegistration) error
- func (c *Adapter) Services() (map[string]*consulapi.AgentService, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
Adapter builds configuration and returns Consul Client
func (*Adapter) Deregister ¶
func (c *Adapter) Deregister(service *consulapi.AgentServiceRegistration) error
Deregister deregisters a service in Consul
Click to show internal directories.
Click to hide internal directories.