provider

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrProviderNotFound = errors.New("provider not found")
)

Functions

func Register

func Register(name string, factory Factory)

Types

type Factory

type Factory func() (Provider, error)

type Func

type Func func(ctx context.Context, rec *dnsv1alpha1.DNSRecord) (ctrl.Result, bool, error)

func (Func) Reconcile

func (f Func) Reconcile(ctx context.Context, rec *dnsv1alpha1.DNSRecord) (ctrl.Result, bool, error)

type Provider

type Provider interface {
	Reconcile(ctx context.Context, rec *dnsv1alpha1.DNSRecord) (ctrl.Result, bool, error)
}

func New

func New(name string) (Provider, error)

Directories

Path Synopsis
ovh

Jump to

Keyboard shortcuts

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