multi

package
v0.1.23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Multi = providers.Type("multi")

Functions

func Load

func Load(unmarshal providers.YAMLUnmarshaler, config_dir string) (providers.DNSProvider, error)

Types

type Config added in v0.0.64

type Config []SubConfig

type MultiProvider

type MultiProvider struct {
	Providers map[string]providers.DNSProvider
}

func FromConfig added in v0.0.64

func FromConfig(config Config, config_dir string) (*MultiProvider, error)

func (*MultiProvider) Close added in v0.0.64

func (mp *MultiProvider) Close() error

func (*MultiProvider) CreateRecord added in v0.0.31

func (mp *MultiProvider) CreateRecord(fqdn, value string) error

func (*MultiProvider) RemoveRecord added in v0.0.31

func (mp *MultiProvider) RemoveRecord(fqdn, value string) error

type RawYAML added in v0.0.64

type RawYAML struct {
	// contains filtered or unexported fields
}

func (*RawYAML) UnmarshalYAML added in v0.0.64

func (r *RawYAML) UnmarshalYAML(unmarshal func(interface{}) error) error

type SubConfig added in v0.0.64

type SubConfig struct {
	Domain string
	Type   providers.Type
	Config RawYAML
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL