v1alpha1

package
v0.0.0-...-a75951b Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=mx.infoblox.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "mx.infoblox.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
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
)
View Source
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 Record

type Record struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.fqdn) || (has(self.initProvider) && has(self.initProvider.fqdn))",message="spec.forProvider.fqdn is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.mailExchanger) || (has(self.initProvider) && has(self.initProvider.mailExchanger))",message="spec.forProvider.mailExchanger is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.preference) || (has(self.initProvider) && has(self.initProvider.preference))",message="spec.forProvider.preference is a required parameter"
	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,infoblox}

func (*Record) DeepCopy

func (in *Record) DeepCopy() *Record

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Record.

func (*Record) DeepCopyInto

func (in *Record) DeepCopyInto(out *Record)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Record) DeepCopyObject

func (in *Record) DeepCopyObject() runtime.Object

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

func (tr *Record) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Record

func (*Record) GetDeletionPolicy

func (mg *Record) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Record.

func (*Record) GetID

func (tr *Record) GetID() string

GetID returns ID of underlying Terraform resource of this Record

func (*Record) GetInitParameters

func (tr *Record) GetInitParameters() (map[string]any, error)

GetInitParameters of this Record

func (*Record) GetManagementPolicies

func (mg *Record) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Record.

func (*Record) GetObservation

func (tr *Record) GetObservation() (map[string]any, error)

GetObservation of this Record

func (*Record) GetParameters

func (tr *Record) GetParameters() (map[string]any, error)

GetParameters of this Record

func (*Record) GetProviderConfigReference

func (mg *Record) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Record.

func (*Record) GetPublishConnectionDetailsTo

func (mg *Record) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Record.

func (*Record) GetTerraformResourceType

func (mg *Record) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Record

func (*Record) GetTerraformSchemaVersion

func (tr *Record) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Record) GetWriteConnectionSecretToReference

func (mg *Record) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Record.

func (*Record) LateInitialize

func (tr *Record) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Record using its observed tfState. returns True if there are any spec changes for the resource.

func (*Record) SetConditions

func (mg *Record) SetConditions(c ...xpv1.Condition)

SetConditions of this Record.

func (*Record) SetDeletionPolicy

func (mg *Record) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Record.

func (*Record) SetManagementPolicies

func (mg *Record) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Record.

func (*Record) SetObservation

func (tr *Record) SetObservation(obs map[string]any) error

SetObservation for this Record

func (*Record) SetParameters

func (tr *Record) SetParameters(params map[string]any) error

SetParameters for this Record

func (*Record) SetProviderConfigReference

func (mg *Record) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Record.

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 RecordInitParameters

type RecordInitParameters struct {

	// Description of the MX-Record.
	Comment *string `json:"comment,omitempty" tf:"comment,omitempty"`

	// DNS view which the zone does exist within
	DNSView *string `json:"dnsView,omitempty" tf:"dns_view,omitempty"`

	// Extensible attributes of the MX-record to be added/updated, as a map in JSON format.
	ExtAttrs *string `json:"extAttrs,omitempty" tf:"ext_attrs,omitempty"`

	// FQDN for the MX-record.
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`

	// A record used to specify mail server.
	MailExchanger *string `json:"mailExchanger,omitempty" tf:"mail_exchanger,omitempty"`

	// Configures the preference (0-65535) for this MX-record.
	Preference *float64 `json:"preference,omitempty" tf:"preference,omitempty"`

	// TTL value for the MX-record.
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*RecordInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordInitParameters.

func (*RecordInitParameters) DeepCopyInto

func (in *RecordInitParameters) DeepCopyInto(out *RecordInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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 {

	// Description of the MX-Record.
	Comment *string `json:"comment,omitempty" tf:"comment,omitempty"`

	// DNS view which the zone does exist within
	DNSView *string `json:"dnsView,omitempty" tf:"dns_view,omitempty"`

	// Extensible attributes of the MX-record to be added/updated, as a map in JSON format.
	ExtAttrs *string `json:"extAttrs,omitempty" tf:"ext_attrs,omitempty"`

	// FQDN for the MX-record.
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A record used to specify mail server.
	MailExchanger *string `json:"mailExchanger,omitempty" tf:"mail_exchanger,omitempty"`

	// Configures the preference (0-65535) for this MX-record.
	Preference *float64 `json:"preference,omitempty" tf:"preference,omitempty"`

	// TTL value for the MX-record.
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,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 {

	// Description of the MX-Record.
	// +kubebuilder:validation:Optional
	Comment *string `json:"comment,omitempty" tf:"comment,omitempty"`

	// DNS view which the zone does exist within
	// +kubebuilder:validation:Optional
	DNSView *string `json:"dnsView,omitempty" tf:"dns_view,omitempty"`

	// Extensible attributes of the MX-record to be added/updated, as a map in JSON format.
	// +kubebuilder:validation:Optional
	ExtAttrs *string `json:"extAttrs,omitempty" tf:"ext_attrs,omitempty"`

	// FQDN for the MX-record.
	// +kubebuilder:validation:Optional
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`

	// A record used to specify mail server.
	// +kubebuilder:validation:Optional
	MailExchanger *string `json:"mailExchanger,omitempty" tf:"mail_exchanger,omitempty"`

	// Configures the preference (0-65535) for this MX-record.
	// +kubebuilder:validation:Optional
	Preference *float64 `json:"preference,omitempty" tf:"preference,omitempty"`

	// TTL value for the MX-record.
	// +kubebuilder:validation:Optional
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider RecordInitParameters `json:"initProvider,omitempty"`
}

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.

Jump to

Keyboard shortcuts

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