v1alpha1

package
v0.40.0 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=clouddiskarray.ovh.edixos.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "clouddiskarray.ovh.edixos.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	CephACL_Kind             = "CephACL"
	CephACL_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CephACL_Kind}.String()
	CephACL_KindAPIVersion   = CephACL_Kind + "." + CRDGroupVersion.String()
	CephACL_GroupVersionKind = CRDGroupVersion.WithKind(CephACL_Kind)
)

Repository type metadata.

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
)

Functions

This section is empty.

Types

type CephACL

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

CephACL is the Schema for the CephACLs 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:resource:scope=Cluster,categories={crossplane,managed,ovh}

func (*CephACL) DeepCopy

func (in *CephACL) DeepCopy() *CephACL

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

func (*CephACL) DeepCopyInto

func (in *CephACL) DeepCopyInto(out *CephACL)

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

func (*CephACL) DeepCopyObject

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

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

func (*CephACL) GetCondition

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

GetCondition of this CephACL.

func (*CephACL) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this CephACL

func (*CephACL) GetDeletionPolicy

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

GetDeletionPolicy of this CephACL.

func (*CephACL) GetID

func (tr *CephACL) GetID() string

GetID returns ID of underlying Terraform resource of this CephACL

func (*CephACL) GetInitParameters

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

GetInitParameters of this CephACL

func (*CephACL) GetManagementPolicies

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

GetManagementPolicies of this CephACL.

func (*CephACL) GetMergedParameters added in v0.39.0

func (tr *CephACL) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this CephACL

func (*CephACL) GetObservation

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

GetObservation of this CephACL

func (*CephACL) GetParameters

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

GetParameters of this CephACL

func (*CephACL) GetProviderConfigReference

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

GetProviderConfigReference of this CephACL.

func (*CephACL) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CephACL.

func (*CephACL) GetTerraformResourceType

func (mg *CephACL) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CephACL

func (*CephACL) GetTerraformSchemaVersion

func (tr *CephACL) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CephACL) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CephACL.

func (*CephACL) Hub added in v0.39.0

func (tr *CephACL) Hub()

Hub marks this type as a conversion hub.

func (*CephACL) LateInitialize

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

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

func (*CephACL) SetConditions

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

SetConditions of this CephACL.

func (*CephACL) SetDeletionPolicy

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

SetDeletionPolicy of this CephACL.

func (*CephACL) SetManagementPolicies

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

SetManagementPolicies of this CephACL.

func (*CephACL) SetObservation

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

SetObservation for this CephACL

func (*CephACL) SetParameters

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

SetParameters for this CephACL

func (*CephACL) SetProviderConfigReference

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

SetProviderConfigReference of this CephACL.

func (*CephACL) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this CephACL.

func (*CephACL) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this CephACL.

type CephACLInitParameters

type CephACLInitParameters struct {
	Netmask *string `json:"netmask,omitempty" tf:"netmask,omitempty"`

	Network *string `json:"network,omitempty" tf:"network,omitempty"`

	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`
}

func (*CephACLInitParameters) DeepCopy

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

func (*CephACLInitParameters) DeepCopyInto

func (in *CephACLInitParameters) DeepCopyInto(out *CephACLInitParameters)

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

type CephACLList

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

CephACLList contains a list of CephACLs

func (*CephACLList) DeepCopy

func (in *CephACLList) DeepCopy() *CephACLList

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

func (*CephACLList) DeepCopyInto

func (in *CephACLList) DeepCopyInto(out *CephACLList)

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

func (*CephACLList) DeepCopyObject

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

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

func (*CephACLList) GetItems

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

GetItems of this CephACLList.

type CephACLObservation

type CephACLObservation struct {
	Family *string `json:"family,omitempty" tf:"family,omitempty"`

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

	Netmask *string `json:"netmask,omitempty" tf:"netmask,omitempty"`

	Network *string `json:"network,omitempty" tf:"network,omitempty"`

	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`
}

func (*CephACLObservation) DeepCopy

func (in *CephACLObservation) DeepCopy() *CephACLObservation

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

func (*CephACLObservation) DeepCopyInto

func (in *CephACLObservation) DeepCopyInto(out *CephACLObservation)

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

type CephACLParameters

type CephACLParameters struct {

	// +kubebuilder:validation:Optional
	Netmask *string `json:"netmask,omitempty" tf:"netmask,omitempty"`

	// +kubebuilder:validation:Optional
	Network *string `json:"network,omitempty" tf:"network,omitempty"`

	// +kubebuilder:validation:Optional
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`
}

func (*CephACLParameters) DeepCopy

func (in *CephACLParameters) DeepCopy() *CephACLParameters

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

func (*CephACLParameters) DeepCopyInto

func (in *CephACLParameters) DeepCopyInto(out *CephACLParameters)

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

type CephACLSpec

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

CephACLSpec defines the desired state of CephACL

func (*CephACLSpec) DeepCopy

func (in *CephACLSpec) DeepCopy() *CephACLSpec

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

func (*CephACLSpec) DeepCopyInto

func (in *CephACLSpec) DeepCopyInto(out *CephACLSpec)

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

type CephACLStatus

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

CephACLStatus defines the observed state of CephACL.

func (*CephACLStatus) DeepCopy

func (in *CephACLStatus) DeepCopy() *CephACLStatus

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

func (*CephACLStatus) DeepCopyInto

func (in *CephACLStatus) DeepCopyInto(out *CephACLStatus)

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