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=ipreverse.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "ipreverse.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 (
	Reverse_Kind             = "Reverse"
	Reverse_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Reverse_Kind}.String()
	Reverse_KindAPIVersion   = Reverse_Kind + "." + CRDGroupVersion.String()
	Reverse_GroupVersionKind = CRDGroupVersion.WithKind(Reverse_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Reverse

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

Reverse is the Schema for the Reverses 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,ovh}

func (*Reverse) DeepCopy

func (in *Reverse) DeepCopy() *Reverse

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

func (*Reverse) DeepCopyInto

func (in *Reverse) DeepCopyInto(out *Reverse)

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

func (*Reverse) DeepCopyObject

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

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

func (*Reverse) GetCondition

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

GetCondition of this Reverse.

func (*Reverse) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Reverse

func (*Reverse) GetDeletionPolicy

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

GetDeletionPolicy of this Reverse.

func (*Reverse) GetID

func (tr *Reverse) GetID() string

GetID returns ID of underlying Terraform resource of this Reverse

func (*Reverse) GetInitParameters

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

GetInitParameters of this Reverse

func (*Reverse) GetManagementPolicies

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

GetManagementPolicies of this Reverse.

func (*Reverse) GetObservation

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

GetObservation of this Reverse

func (*Reverse) GetParameters

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

GetParameters of this Reverse

func (*Reverse) GetProviderConfigReference

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

GetProviderConfigReference of this Reverse.

func (*Reverse) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Reverse.

func (*Reverse) GetTerraformResourceType

func (mg *Reverse) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Reverse

func (*Reverse) GetTerraformSchemaVersion

func (tr *Reverse) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Reverse) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Reverse.

func (*Reverse) LateInitialize

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

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

func (*Reverse) SetConditions

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

SetConditions of this Reverse.

func (*Reverse) SetDeletionPolicy

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

SetDeletionPolicy of this Reverse.

func (*Reverse) SetManagementPolicies

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

SetManagementPolicies of this Reverse.

func (*Reverse) SetObservation

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

SetObservation for this Reverse

func (*Reverse) SetParameters

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

SetParameters for this Reverse

func (*Reverse) SetProviderConfigReference

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

SetProviderConfigReference of this Reverse.

func (*Reverse) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Reverse.

func (*Reverse) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Reverse.

type ReverseInitParameters

type ReverseInitParameters struct {
	IP *string `json:"ip,omitempty" tf:"ip,omitempty"`

	IPReverse *string `json:"ipReverse,omitempty" tf:"ip_reverse,omitempty"`

	Reverse *string `json:"reverse,omitempty" tf:"reverse,omitempty"`
}

func (*ReverseInitParameters) DeepCopy

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

func (*ReverseInitParameters) DeepCopyInto

func (in *ReverseInitParameters) DeepCopyInto(out *ReverseInitParameters)

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

type ReverseList

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

ReverseList contains a list of Reverses

func (*ReverseList) DeepCopy

func (in *ReverseList) DeepCopy() *ReverseList

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

func (*ReverseList) DeepCopyInto

func (in *ReverseList) DeepCopyInto(out *ReverseList)

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

func (*ReverseList) DeepCopyObject

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

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

func (*ReverseList) GetItems

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

GetItems of this ReverseList.

type ReverseObservation

type ReverseObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	IP *string `json:"ip,omitempty" tf:"ip,omitempty"`

	IPReverse *string `json:"ipReverse,omitempty" tf:"ip_reverse,omitempty"`

	Reverse *string `json:"reverse,omitempty" tf:"reverse,omitempty"`
}

func (*ReverseObservation) DeepCopy

func (in *ReverseObservation) DeepCopy() *ReverseObservation

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

func (*ReverseObservation) DeepCopyInto

func (in *ReverseObservation) DeepCopyInto(out *ReverseObservation)

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

type ReverseParameters

type ReverseParameters struct {

	// +kubebuilder:validation:Optional
	IP *string `json:"ip,omitempty" tf:"ip,omitempty"`

	// +kubebuilder:validation:Optional
	IPReverse *string `json:"ipReverse,omitempty" tf:"ip_reverse,omitempty"`

	// +kubebuilder:validation:Optional
	Reverse *string `json:"reverse,omitempty" tf:"reverse,omitempty"`
}

func (*ReverseParameters) DeepCopy

func (in *ReverseParameters) DeepCopy() *ReverseParameters

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

func (*ReverseParameters) DeepCopyInto

func (in *ReverseParameters) DeepCopyInto(out *ReverseParameters)

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

type ReverseSpec

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

ReverseSpec defines the desired state of Reverse

func (*ReverseSpec) DeepCopy

func (in *ReverseSpec) DeepCopy() *ReverseSpec

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

func (*ReverseSpec) DeepCopyInto

func (in *ReverseSpec) DeepCopyInto(out *ReverseSpec)

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

type ReverseStatus

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

ReverseStatus defines the observed state of Reverse.

func (*ReverseStatus) DeepCopy

func (in *ReverseStatus) DeepCopy() *ReverseStatus

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

func (*ReverseStatus) DeepCopyInto

func (in *ReverseStatus) DeepCopyInto(out *ReverseStatus)

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