Documentation ¶
Index ¶
- type ConsulDiscoverer
- type GslocConsul
- func (c *GslocConsul) ConvertPairToSignedEntry(pair *consul.KVPair) (*entries.SignedEntry, error)
- func (c *GslocConsul) GetEntryStatus(fqdn string) (*gslbsvc.GetEntryStatusResponse, error)
- func (c *GslocConsul) ListEntries(prefix string, tags []string) ([]*entries.SignedEntry, error)
- func (c *GslocConsul) ListEntriesStatus(prefix string, tags []string) ([]*gslbsvc.GetEntryStatusResponse, error)
- func (c *GslocConsul) RetrieveSignedEntry(fqdn string) (*entries.SignedEntry, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsulDiscoverer ¶
type ConsulDiscoverer struct {
// contains filtered or unexported fields
}
func NewConsulDiscoverer ¶
func (*ConsulDiscoverer) RemoveKvEntry ¶
func (cd *ConsulDiscoverer) RemoveKvEntry(entry *entries.SignedEntry)
func (*ConsulDiscoverer) SetKVEntry ¶
func (cd *ConsulDiscoverer) SetKVEntry(entry *entries.SignedEntry)
type GslocConsul ¶ added in v0.9.0
type GslocConsul struct {
// contains filtered or unexported fields
}
func NewGslocConsul ¶ added in v0.9.0
func NewGslocConsul(consulClient *consul.Client) *GslocConsul
func (*GslocConsul) ConvertPairToSignedEntry ¶ added in v0.9.0
func (c *GslocConsul) ConvertPairToSignedEntry(pair *consul.KVPair) (*entries.SignedEntry, error)
func (*GslocConsul) GetEntryStatus ¶ added in v0.9.0
func (c *GslocConsul) GetEntryStatus(fqdn string) (*gslbsvc.GetEntryStatusResponse, error)
func (*GslocConsul) ListEntries ¶ added in v0.9.0
func (c *GslocConsul) ListEntries(prefix string, tags []string) ([]*entries.SignedEntry, error)
func (*GslocConsul) ListEntriesStatus ¶ added in v0.9.0
func (c *GslocConsul) ListEntriesStatus(prefix string, tags []string) ([]*gslbsvc.GetEntryStatusResponse, error)
func (*GslocConsul) RetrieveSignedEntry ¶ added in v0.9.0
func (c *GslocConsul) RetrieveSignedEntry(fqdn string) (*entries.SignedEntry, error)
Click to show internal directories.
Click to hide internal directories.