v1alpha1

package
v0.0.0-...-73c97c3 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=domainzoneredirection.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "domainzoneredirection.crossplane.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 (
	ZoneRedirection_Kind             = "ZoneRedirection"
	ZoneRedirection_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ZoneRedirection_Kind}.String()
	ZoneRedirection_KindAPIVersion   = ZoneRedirection_Kind + "." + CRDGroupVersion.String()
	ZoneRedirection_GroupVersionKind = CRDGroupVersion.WithKind(ZoneRedirection_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ZoneRedirection

type ZoneRedirection 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.target) || (has(self.initProvider) && has(self.initProvider.target))",message="spec.forProvider.target is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.zone) || (has(self.initProvider) && has(self.initProvider.zone))",message="spec.forProvider.zone is a required parameter"
	Spec   ZoneRedirectionSpec   `json:"spec"`
	Status ZoneRedirectionStatus `json:"status,omitempty"`
}

ZoneRedirection is the Schema for the ZoneRedirections API. +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,ovh}

func (*ZoneRedirection) DeepCopy

func (in *ZoneRedirection) DeepCopy() *ZoneRedirection

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

func (*ZoneRedirection) DeepCopyInto

func (in *ZoneRedirection) DeepCopyInto(out *ZoneRedirection)

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

func (*ZoneRedirection) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ZoneRedirection) GetCondition

func (mg *ZoneRedirection) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ZoneRedirection.

func (*ZoneRedirection) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ZoneRedirection

func (*ZoneRedirection) GetDeletionPolicy

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

GetDeletionPolicy of this ZoneRedirection.

func (*ZoneRedirection) GetID

func (tr *ZoneRedirection) GetID() string

GetID returns ID of underlying Terraform resource of this ZoneRedirection

func (*ZoneRedirection) GetInitParameters

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

GetInitParameters of this ZoneRedirection

func (*ZoneRedirection) GetManagementPolicies

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

GetManagementPolicies of this ZoneRedirection.

func (*ZoneRedirection) GetObservation

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

GetObservation of this ZoneRedirection

func (*ZoneRedirection) GetParameters

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

GetParameters of this ZoneRedirection

func (*ZoneRedirection) GetProviderConfigReference

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

GetProviderConfigReference of this ZoneRedirection.

func (*ZoneRedirection) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ZoneRedirection.

func (*ZoneRedirection) GetTerraformResourceType

func (mg *ZoneRedirection) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ZoneRedirection

func (*ZoneRedirection) GetTerraformSchemaVersion

func (tr *ZoneRedirection) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ZoneRedirection) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ZoneRedirection.

func (*ZoneRedirection) LateInitialize

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

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

func (*ZoneRedirection) SetConditions

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

SetConditions of this ZoneRedirection.

func (*ZoneRedirection) SetDeletionPolicy

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

SetDeletionPolicy of this ZoneRedirection.

func (*ZoneRedirection) SetManagementPolicies

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

SetManagementPolicies of this ZoneRedirection.

func (*ZoneRedirection) SetObservation

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

SetObservation for this ZoneRedirection

func (*ZoneRedirection) SetParameters

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

SetParameters for this ZoneRedirection

func (*ZoneRedirection) SetProviderConfigReference

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

SetProviderConfigReference of this ZoneRedirection.

func (*ZoneRedirection) SetPublishConnectionDetailsTo

func (mg *ZoneRedirection) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ZoneRedirection.

func (*ZoneRedirection) SetWriteConnectionSecretToReference

func (mg *ZoneRedirection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ZoneRedirection.

type ZoneRedirectionInitParameters

type ZoneRedirectionInitParameters struct {

	// A description of this redirection
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Keywords to describe this redirection
	Keywords *string `json:"keywords,omitempty" tf:"keywords,omitempty"`

	// The name of the redirection
	Subdomain *string `json:"subdomain,omitempty" tf:"subdomain,omitempty"`

	// The value of the redirection
	Target *string `json:"target,omitempty" tf:"target,omitempty"`

	// Title of this redirection
	Title *string `json:"title,omitempty" tf:"title,omitempty"`

	// The type of the redirection, with values:
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// The domain to add the redirection to
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*ZoneRedirectionInitParameters) DeepCopy

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

func (*ZoneRedirectionInitParameters) DeepCopyInto

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

type ZoneRedirectionList

type ZoneRedirectionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ZoneRedirection `json:"items"`
}

ZoneRedirectionList contains a list of ZoneRedirections

func (*ZoneRedirectionList) DeepCopy

func (in *ZoneRedirectionList) DeepCopy() *ZoneRedirectionList

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

func (*ZoneRedirectionList) DeepCopyInto

func (in *ZoneRedirectionList) DeepCopyInto(out *ZoneRedirectionList)

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

func (*ZoneRedirectionList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ZoneRedirectionList) GetItems

func (l *ZoneRedirectionList) GetItems() []resource.Managed

GetItems of this ZoneRedirectionList.

type ZoneRedirectionObservation

type ZoneRedirectionObservation struct {

	// A description of this redirection
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The redirection ID
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Keywords to describe this redirection
	Keywords *string `json:"keywords,omitempty" tf:"keywords,omitempty"`

	// The name of the redirection
	Subdomain *string `json:"subdomain,omitempty" tf:"subdomain,omitempty"`

	// The value of the redirection
	Target *string `json:"target,omitempty" tf:"target,omitempty"`

	// Title of this redirection
	Title *string `json:"title,omitempty" tf:"title,omitempty"`

	// The type of the redirection, with values:
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// The domain to add the redirection to
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*ZoneRedirectionObservation) DeepCopy

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

func (*ZoneRedirectionObservation) DeepCopyInto

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

type ZoneRedirectionParameters

type ZoneRedirectionParameters struct {

	// A description of this redirection
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Keywords to describe this redirection
	// +kubebuilder:validation:Optional
	Keywords *string `json:"keywords,omitempty" tf:"keywords,omitempty"`

	// The name of the redirection
	// +kubebuilder:validation:Optional
	Subdomain *string `json:"subdomain,omitempty" tf:"subdomain,omitempty"`

	// The value of the redirection
	// +kubebuilder:validation:Optional
	Target *string `json:"target,omitempty" tf:"target,omitempty"`

	// Title of this redirection
	// +kubebuilder:validation:Optional
	Title *string `json:"title,omitempty" tf:"title,omitempty"`

	// The type of the redirection, with values:
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// The domain to add the redirection to
	// +kubebuilder:validation:Optional
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*ZoneRedirectionParameters) DeepCopy

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

func (*ZoneRedirectionParameters) DeepCopyInto

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

type ZoneRedirectionSpec

type ZoneRedirectionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ZoneRedirectionParameters `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 ZoneRedirectionInitParameters `json:"initProvider,omitempty"`
}

ZoneRedirectionSpec defines the desired state of ZoneRedirection

func (*ZoneRedirectionSpec) DeepCopy

func (in *ZoneRedirectionSpec) DeepCopy() *ZoneRedirectionSpec

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

func (*ZoneRedirectionSpec) DeepCopyInto

func (in *ZoneRedirectionSpec) DeepCopyInto(out *ZoneRedirectionSpec)

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

type ZoneRedirectionStatus

type ZoneRedirectionStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ZoneRedirectionObservation `json:"atProvider,omitempty"`
}

ZoneRedirectionStatus defines the observed state of ZoneRedirection.

func (*ZoneRedirectionStatus) DeepCopy

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

func (*ZoneRedirectionStatus) DeepCopyInto

func (in *ZoneRedirectionStatus) DeepCopyInto(out *ZoneRedirectionStatus)

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