Documentation
¶
Index ¶
- Variables
- type Client
- func (c *Client) Add(uuid string, s *msg.Service) error
- func (c *Client) AddCallback(uuid string, cb *msg.Callback) error
- func (c *Client) Delete(uuid string) error
- func (c *Client) Get(uuid string) (*msg.Service, error)
- func (c *Client) GetAllServices() ([]*msg.Service, error)
- func (c *Client) GetAllServicesDNS() ([]*msg.Service, error)
- func (c *Client) GetEnvironments() (NameCount, error)
- func (c *Client) GetRegions() (NameCount, error)
- func (c *Client) Update(uuid string, ttl uint32) error
- type NameCount
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { DNS bool // if true use the DNS when listing servies // contains filtered or unexported fields }
func NewClient ¶
NewClient creates a new skydns client with the specificed host address and DNS port.
func (*Client) GetEnvironments ¶
func (*Client) GetRegions ¶
Click to show internal directories.
Click to hide internal directories.