Documentation ¶
Index ¶
- func GenerateDNSPolicy(name string, spec v1alpha1.PolicyParameters, policy *dns.Policy)
- func GenerateResourceRecordSet(name string, spec v1alpha1.ResourceRecordSetParameters, ...)
- func IsUpToDate(name string, spec *v1alpha1.ResourceRecordSetParameters, ...) (bool, error)
- func IsUptoDate(name string, spec *v1alpha1.PolicyParameters, observed *dns.Policy) (bool, error)
- func LateInitializeSpec(spec *v1alpha1.ResourceRecordSetParameters, external dns.ResourceRecordSet)
- type CustomNameAsExternalName
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 ¶
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.