Documentation ¶
Index ¶
- func NewProvider(name string) herd.HostProvider
- type HttpProvider
- func (p *HttpProvider) Equivalent(o herd.HostProvider) bool
- func (p *HttpProvider) Fetch(ctx context.Context) ([]byte, error)
- func (p *HttpProvider) Load(ctx context.Context, lm herd.LoadingMessage) (herd.Hosts, error)
- func (p *HttpProvider) Name() string
- func (p *HttpProvider) ParseViper(v *viper.Viper) error
- func (p *HttpProvider) Prefix() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
func NewProvider(name string) herd.HostProvider
Types ¶
type HttpProvider ¶
type HttpProvider struct {
// contains filtered or unexported fields
}
func (*HttpProvider) Equivalent ¶
func (p *HttpProvider) Equivalent(o herd.HostProvider) bool
func (*HttpProvider) Load ¶
func (p *HttpProvider) Load(ctx context.Context, lm herd.LoadingMessage) (herd.Hosts, error)
func (*HttpProvider) Name ¶
func (p *HttpProvider) Name() string
func (*HttpProvider) ParseViper ¶
func (p *HttpProvider) ParseViper(v *viper.Viper) error
func (*HttpProvider) Prefix ¶
func (p *HttpProvider) Prefix() string
Click to show internal directories.
Click to hide internal directories.