helpers

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TestTimeoutMedium = 10 * time.Second
	TestTimeoutLong   = 60 * time.Second
)

Variables

This section is empty.

Functions

func EndpointsForHost added in v0.4.1

func EndpointsForHost(ctx context.Context, provider provider.Provider, host string) ([]*externaldnsendpoint.Endpoint, error)

func FindDefaultTarget added in v0.6.0

func FindDefaultTarget(eps []*externaldnsendpoint.Endpoint) string

func GenerateName added in v0.4.1

func GenerateName() string

func GetTestEnv

func GetTestEnv(key string) string

func ProviderForDNSRecord added in v0.5.0

func ProviderForDNSRecord(ctx context.Context, record *v1alpha1.DNSRecord, c client.Client) (provider.Provider, error)

func ResolverForDomainName added in v0.4.1

func ResolverForDomainName(domainName string) *net.Resolver

func ResourceFromFile

func ResourceFromFile(file string, destObject runtime.Object, expandFunc func(string) string) error

func SetTestEnv

func SetTestEnv(key, value string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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