Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BaseClient ¶
func (*BaseClient) ReadKV ¶
func (c *BaseClient) ReadKV(path string, opts *api.QueryOptions) (*api.KVPair, error)
func (*BaseClient) ReadKVAsVal ¶
func (c *BaseClient) ReadKVAsVal(path string, opts *api.QueryOptions) (*ConsulPayload, error)
type Client ¶
type Client interface { ReadKV(path string, opts *api.QueryOptions) (*api.KVPair, error) ReadKVAsVal(path string, opts *api.QueryOptions) (*ConsulPayload, error) }
type SourceInput ¶
type SourceInput struct { ConsulAuthType AuthType `yaml:"authType"` HttpAuth *HTTPAuth `yaml:"-"` KV KVInfo `yaml:"value"` }
func (*SourceInput) UnmarshalYAML ¶
func (s *SourceInput) UnmarshalYAML(n *yaml.Node) error
Click to show internal directories.
Click to hide internal directories.