Documentation ¶
Index ¶
- Constants
- func Register() bool
- type AuthType
- type Backend
- func (p *Backend) ConfigToFormat(format string, metadata types.Metadata) (string, error)
- func (p *Backend) CreateFeatureConfig() []backend.ConfigFeature
- func (p *Backend) Metadata() interface{}
- func (p *Backend) ParseConfig(format string, config string) (configReturn types.Metadata, err error)
- func (p *Backend) ValidateConfiguration(config types.Metadata) error
Constants ¶
View Source
const ( RemoteHostURLConfigFeature = "remote_host" ApiTokenConfigFeature = "api_token" CustomHeadersConfigFeature = "headers" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backend ¶
type Backend struct {
RemoteHost string `json:"remote_host"`
}
func (*Backend) ConfigToFormat ¶
func (*Backend) CreateFeatureConfig ¶
func (p *Backend) CreateFeatureConfig() []backend.ConfigFeature
func (*Backend) ParseConfig ¶
Click to show internal directories.
Click to hide internal directories.