dns

package
v0.23.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateDNSPolicy

func GenerateDNSPolicy(name string, spec v1alpha1.PolicyParameters, policy *dns.Policy)

GenerateDNSPolicy generates *dns.Policy instance from PolicyParameters

func GenerateResourceRecordSet

func GenerateResourceRecordSet(name string, spec v1alpha1.ResourceRecordSetParameters, rrs *dns.ResourceRecordSet)

GenerateResourceRecordSet generates *dns.ResourceRecordSet instance from ResourceRecordSetParameters.

func IsUpToDate

func IsUpToDate(name string, spec *v1alpha1.ResourceRecordSetParameters, observed *dns.ResourceRecordSet) (bool, error)

IsUpToDate checks whether current state is up-to-date compared to the given set of parameters.

func IsUptoDate

func IsUptoDate(name string, spec *v1alpha1.PolicyParameters, observed *dns.Policy) (bool, error)

IsUptoDate checks whether current state is up-to-date compared to the given set of parameters.

func LateInitializeSpec

func LateInitializeSpec(spec *v1alpha1.ResourceRecordSetParameters, external dns.ResourceRecordSet)

LateInitializeSpec fills unassigned fields with the values in dns.ResourceRecordSet object.

Types

type CustomNameAsExternalName

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

CustomNameAsExternalName writes the name of the managed resource to the external name annotation field in order to be used as name of the external resource in provider. This external name will have a . appended at the end of the name

func NewCustomNameAsExternalName

func NewCustomNameAsExternalName(c client.Client) *CustomNameAsExternalName

NewCustomNameAsExternalName returns a new CustomNameAsExternalName.

func (*CustomNameAsExternalName) Initialize

Initialize the given managed resource.

Jump to

Keyboard shortcuts

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