plugin

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginRegistrar

type PluginRegistrar struct {
	registrar.BaseRegistrarProvider
	// contains filtered or unexported fields
}

Plugin Registrar

func NewPluginRegistrar

func NewPluginRegistrar(ctx context.Context, pluginConfig registrar.PluginConfig) (*PluginRegistrar, error)

NewPluginRegistrar initializes a new plugin registrar

func (*PluginRegistrar) GetDomain

func (r *PluginRegistrar) GetDomain(ctx context.Context, domain string) (*registrar.Domain, error)

func (*PluginRegistrar) GetDomains

func (r *PluginRegistrar) GetDomains(ctx context.Context) ([]string, error)

func (*PluginRegistrar) GetMasterIPs

func (r *PluginRegistrar) GetMasterIPs(ctx context.Context) ([]string, error)

func (*PluginRegistrar) GetServeAlgorithm

func (r *PluginRegistrar) GetServeAlgorithm(ctx context.Context, domain string) (algo string, err error)

func (*PluginRegistrar) GetTsigKey

func (r *PluginRegistrar) GetTsigKey(ctx context.Context, domain string) (tsigKey *dns.TSIGKey, err error)

Directories

Path Synopsis
test-plugin module

Jump to

Keyboard shortcuts

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