Documentation ¶
Index ¶
- type Ports
- type Store
- func (s *Store) AddEndpoints(node api.Node) (modification *api.Modification, err error)
- func (s *Store) GetEndpoints(currentIndex int64) (nodes []api.Node, index int64, useCache bool, err error)
- func (s *Store) GetServices(currentIndex int64) (services []api.Service, index int64, useCache bool, err error)
- func (s *Store) RemoveEndpoints(nodeID string, serviceNames ...string) (modification *api.Modification, err error)
- func (s *Store) RemoveService(serviceName string) (index int64, err error)
- func (s *Store) SetService(service api.Service) (index int64, err error)
- type StringSlice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) AddEndpoints ¶
func (*Store) GetEndpoints ¶
func (*Store) GetServices ¶
func (*Store) RemoveEndpoints ¶
func (*Store) RemoveService ¶
func (*Store) SetService ¶
type StringSlice ¶
type StringSlice []string
func (*StringSlice) Scan ¶
func (s *StringSlice) Scan(src interface{}) error
Implements sql.Scanner for the String slice type Scanners take the database value (in this case as a byte slice) and sets the value of the type. Here we cast to a string and do a regexp based parse
Click to show internal directories.
Click to hide internal directories.