Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=dns.cloudflare.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type DataObservation
- type DataParameters
- type Record
- func (in *Record) DeepCopy() *Record
- func (in *Record) DeepCopyInto(out *Record)
- func (in *Record) DeepCopyObject() runtime.Object
- func (mg *Record) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Record) GetConnectionDetailsMapping() map[string]string
- func (mg *Record) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Record) GetID() string
- func (tr *Record) GetObservation() (map[string]any, error)
- func (tr *Record) GetParameters() (map[string]any, error)
- func (mg *Record) GetProviderConfigReference() *xpv1.Reference
- func (mg *Record) GetProviderReference() *xpv1.Reference
- func (mg *Record) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Record) GetTerraformResourceType() string
- func (tr *Record) GetTerraformSchemaVersion() int
- func (mg *Record) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Record) LateInitialize(attrs []byte) (bool, error)
- func (mg *Record) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Record) SetConditions(c ...xpv1.Condition)
- func (mg *Record) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Record) SetObservation(obs map[string]any) error
- func (tr *Record) SetParameters(params map[string]any) error
- func (mg *Record) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Record) SetProviderReference(r *xpv1.Reference)
- func (mg *Record) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Record) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RecordList
- type RecordObservation
- type RecordParameters
- type RecordSpec
- type RecordStatus
Constants ¶
const ( CRDGroup = "dns.cloudflare.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( Record_Kind = "Record" Record_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Record_Kind}.String() Record_KindAPIVersion = Record_Kind + "." + CRDGroupVersion.String() Record_GroupVersionKind = CRDGroupVersion.WithKind(Record_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type DataObservation ¶
type DataObservation struct {
}
func (*DataObservation) DeepCopy ¶
func (in *DataObservation) DeepCopy() *DataObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataObservation.
func (*DataObservation) DeepCopyInto ¶
func (in *DataObservation) DeepCopyInto(out *DataObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataParameters ¶
type DataParameters struct {
// +kubebuilder:validation:Optional
Algorithm *float64 `json:"algorithm,omitempty" tf:"algorithm,omitempty"`
// +kubebuilder:validation:Optional
Altitude *float64 `json:"altitude,omitempty" tf:"altitude,omitempty"`
// +kubebuilder:validation:Optional
Certificate *string `json:"certificate,omitempty" tf:"certificate,omitempty"`
// +kubebuilder:validation:Optional
Content *string `json:"content,omitempty" tf:"content,omitempty"`
// +kubebuilder:validation:Optional
Digest *string `json:"digest,omitempty" tf:"digest,omitempty"`
// +kubebuilder:validation:Optional
DigestType *float64 `json:"digestType,omitempty" tf:"digest_type,omitempty"`
// +kubebuilder:validation:Optional
Fingerprint *string `json:"fingerprint,omitempty" tf:"fingerprint,omitempty"`
// +kubebuilder:validation:Optional
Flags *string `json:"flags,omitempty" tf:"flags,omitempty"`
// +kubebuilder:validation:Optional
KeyTag *float64 `json:"keyTag,omitempty" tf:"key_tag,omitempty"`
// +kubebuilder:validation:Optional
LatDegrees *float64 `json:"latDegrees,omitempty" tf:"lat_degrees,omitempty"`
// +kubebuilder:validation:Optional
LatDirection *string `json:"latDirection,omitempty" tf:"lat_direction,omitempty"`
// +kubebuilder:validation:Optional
LatMinutes *float64 `json:"latMinutes,omitempty" tf:"lat_minutes,omitempty"`
// +kubebuilder:validation:Optional
LatSeconds *float64 `json:"latSeconds,omitempty" tf:"lat_seconds,omitempty"`
// +kubebuilder:validation:Optional
LongDegrees *float64 `json:"longDegrees,omitempty" tf:"long_degrees,omitempty"`
// +kubebuilder:validation:Optional
LongDirection *string `json:"longDirection,omitempty" tf:"long_direction,omitempty"`
// +kubebuilder:validation:Optional
LongMinutes *float64 `json:"longMinutes,omitempty" tf:"long_minutes,omitempty"`
// +kubebuilder:validation:Optional
LongSeconds *float64 `json:"longSeconds,omitempty" tf:"long_seconds,omitempty"`
// +kubebuilder:validation:Optional
MatchingType *float64 `json:"matchingType,omitempty" tf:"matching_type,omitempty"`
// +kubebuilder:validation:Optional
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// +kubebuilder:validation:Optional
Order *float64 `json:"order,omitempty" tf:"order,omitempty"`
// +kubebuilder:validation:Optional
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// +kubebuilder:validation:Optional
PrecisionHorz *float64 `json:"precisionHorz,omitempty" tf:"precision_horz,omitempty"`
// +kubebuilder:validation:Optional
PrecisionVert *float64 `json:"precisionVert,omitempty" tf:"precision_vert,omitempty"`
// +kubebuilder:validation:Optional
Preference *float64 `json:"preference,omitempty" tf:"preference,omitempty"`
// +kubebuilder:validation:Optional
Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`
// +kubebuilder:validation:Optional
Proto *string `json:"proto,omitempty" tf:"proto,omitempty"`
// +kubebuilder:validation:Optional
Protocol *float64 `json:"protocol,omitempty" tf:"protocol,omitempty"`
// +kubebuilder:validation:Optional
PublicKey *string `json:"publicKey,omitempty" tf:"public_key,omitempty"`
// +kubebuilder:validation:Optional
Regex *string `json:"regex,omitempty" tf:"regex,omitempty"`
// +kubebuilder:validation:Optional
Replacement *string `json:"replacement,omitempty" tf:"replacement,omitempty"`
// +kubebuilder:validation:Optional
Selector *float64 `json:"selector,omitempty" tf:"selector,omitempty"`
// +kubebuilder:validation:Optional
Service *string `json:"service,omitempty" tf:"service,omitempty"`
// +kubebuilder:validation:Optional
Size *float64 `json:"size,omitempty" tf:"size,omitempty"`
// +kubebuilder:validation:Optional
Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
// +kubebuilder:validation:Optional
Target *string `json:"target,omitempty" tf:"target,omitempty"`
// +kubebuilder:validation:Optional
Type *float64 `json:"type,omitempty" tf:"type,omitempty"`
// +kubebuilder:validation:Optional
Usage *float64 `json:"usage,omitempty" tf:"usage,omitempty"`
// +kubebuilder:validation:Optional
Value *string `json:"value,omitempty" tf:"value,omitempty"`
// +kubebuilder:validation:Optional
Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"`
}
func (*DataParameters) DeepCopy ¶
func (in *DataParameters) DeepCopy() *DataParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataParameters.
func (*DataParameters) DeepCopyInto ¶
func (in *DataParameters) DeepCopyInto(out *DataParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Record ¶
type Record struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec RecordSpec `json:"spec"`
Status RecordStatus `json:"status,omitempty"`
}
Record is the Schema for the Records API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,cloudflare}
func (*Record) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Record.
func (*Record) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Record) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Record) GetCondition ¶
func (mg *Record) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Record.
func (*Record) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Record
func (*Record) GetDeletionPolicy ¶
func (mg *Record) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Record.
func (*Record) GetObservation ¶
GetObservation of this Record
func (*Record) GetParameters ¶
GetParameters of this Record
func (*Record) GetProviderConfigReference ¶
GetProviderConfigReference of this Record.
func (*Record) GetProviderReference ¶
GetProviderReference of this Record. Deprecated: Use GetProviderConfigReference.
func (*Record) GetPublishConnectionDetailsTo ¶
func (mg *Record) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Record.
func (*Record) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Record
func (*Record) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Record) GetWriteConnectionSecretToReference ¶
func (mg *Record) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Record.
func (*Record) LateInitialize ¶
LateInitialize this Record using its observed tfState. returns True if there are any spec changes for the resource.
func (*Record) ResolveReferences ¶
ResolveReferences of this Record.
func (*Record) SetConditions ¶
SetConditions of this Record.
func (*Record) SetDeletionPolicy ¶
func (mg *Record) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Record.
func (*Record) SetObservation ¶
SetObservation for this Record
func (*Record) SetParameters ¶
SetParameters for this Record
func (*Record) SetProviderConfigReference ¶
SetProviderConfigReference of this Record.
func (*Record) SetProviderReference ¶
SetProviderReference of this Record. Deprecated: Use SetProviderConfigReference.
func (*Record) SetPublishConnectionDetailsTo ¶
func (mg *Record) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Record.
func (*Record) SetWriteConnectionSecretToReference ¶
func (mg *Record) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Record.
type RecordList ¶
type RecordList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Record `json:"items"`
}
RecordList contains a list of Records
func (*RecordList) DeepCopy ¶
func (in *RecordList) DeepCopy() *RecordList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordList.
func (*RecordList) DeepCopyInto ¶
func (in *RecordList) DeepCopyInto(out *RecordList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RecordList) DeepCopyObject ¶
func (in *RecordList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RecordList) GetItems ¶
func (l *RecordList) GetItems() []resource.Managed
GetItems of this RecordList.
type RecordObservation ¶
type RecordObservation struct {
CreatedOn *string `json:"createdOn,omitempty" tf:"created_on,omitempty"`
Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`
ID *string `json:"id,omitempty" tf:"id,omitempty"`
Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`
ModifiedOn *string `json:"modifiedOn,omitempty" tf:"modified_on,omitempty"`
Proxiable *bool `json:"proxiable,omitempty" tf:"proxiable,omitempty"`
}
func (*RecordObservation) DeepCopy ¶
func (in *RecordObservation) DeepCopy() *RecordObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordObservation.
func (*RecordObservation) DeepCopyInto ¶
func (in *RecordObservation) DeepCopyInto(out *RecordObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RecordParameters ¶
type RecordParameters struct {
// Defaults to `false`.
// +kubebuilder:validation:Optional
AllowOverwrite *bool `json:"allowOverwrite,omitempty" tf:"allow_overwrite,omitempty"`
// Conflicts with `value`.
// +kubebuilder:validation:Optional
Data []DataParameters `json:"data,omitempty" tf:"data,omitempty"`
// **Modifying this attribute will force creation of a new resource.**
// +kubebuilder:validation:Required
Name *string `json:"name" tf:"name,omitempty"`
// +kubebuilder:validation:Optional
Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`
// +kubebuilder:validation:Optional
Proxied *bool `json:"proxied,omitempty" tf:"proxied,omitempty"`
// +kubebuilder:validation:Optional
TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
// **Modifying this attribute will force creation of a new resource.**
// +kubebuilder:validation:Required
Type *string `json:"type" tf:"type,omitempty"`
// Conflicts with `data`.
// +kubebuilder:validation:Optional
Value *string `json:"value,omitempty" tf:"value,omitempty"`
// The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
// +crossplane:generate:reference:type=github.com/cdloh/provider-cloudflare/apis/zone/v1alpha1.Zone
// +kubebuilder:validation:Optional
ZoneID *string `json:"zoneId,omitempty" tf:"zone_id,omitempty"`
// Reference to a Zone in zone to populate zoneId.
// +kubebuilder:validation:Optional
ZoneIDRef *v1.Reference `json:"zoneIdRef,omitempty" tf:"-"`
// Selector for a Zone in zone to populate zoneId.
// +kubebuilder:validation:Optional
ZoneIDSelector *v1.Selector `json:"zoneIdSelector,omitempty" tf:"-"`
}
func (*RecordParameters) DeepCopy ¶
func (in *RecordParameters) DeepCopy() *RecordParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordParameters.
func (*RecordParameters) DeepCopyInto ¶
func (in *RecordParameters) DeepCopyInto(out *RecordParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RecordSpec ¶
type RecordSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider RecordParameters `json:"forProvider"`
}
RecordSpec defines the desired state of Record
func (*RecordSpec) DeepCopy ¶
func (in *RecordSpec) DeepCopy() *RecordSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordSpec.
func (*RecordSpec) DeepCopyInto ¶
func (in *RecordSpec) DeepCopyInto(out *RecordSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RecordStatus ¶
type RecordStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider RecordObservation `json:"atProvider,omitempty"`
}
RecordStatus defines the observed state of Record.
func (*RecordStatus) DeepCopy ¶
func (in *RecordStatus) DeepCopy() *RecordStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordStatus.
func (*RecordStatus) DeepCopyInto ¶
func (in *RecordStatus) DeepCopyInto(out *RecordStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.