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

Index

Constants

View Source
const (
	CRDGroup   = "meinstallationtemplatepartitionschemehardwareraid.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 (
	InstallationTemplatePartitionSchemeHardwareRaid_Kind             = "InstallationTemplatePartitionSchemeHardwareRaid"
	InstallationTemplatePartitionSchemeHardwareRaid_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: InstallationTemplatePartitionSchemeHardwareRaid_Kind}.String()
	InstallationTemplatePartitionSchemeHardwareRaid_KindAPIVersion   = InstallationTemplatePartitionSchemeHardwareRaid_Kind + "." + CRDGroupVersion.String()
	InstallationTemplatePartitionSchemeHardwareRaid_GroupVersionKind = CRDGroupVersion.WithKind(InstallationTemplatePartitionSchemeHardwareRaid_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type InstallationTemplatePartitionSchemeHardwareRaid

type InstallationTemplatePartitionSchemeHardwareRaid 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.disks) || (has(self.initProvider) && has(self.initProvider.disks))",message="spec.forProvider.disks is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.mode) || (has(self.initProvider) && has(self.initProvider.mode))",message="spec.forProvider.mode is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.schemeName) || (has(self.initProvider) && has(self.initProvider.schemeName))",message="spec.forProvider.schemeName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.step) || (has(self.initProvider) && has(self.initProvider.step))",message="spec.forProvider.step is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.templateName) || (has(self.initProvider) && has(self.initProvider.templateName))",message="spec.forProvider.templateName is a required parameter"
	Spec   InstallationTemplatePartitionSchemeHardwareRaidSpec   `json:"spec"`
	Status InstallationTemplatePartitionSchemeHardwareRaidStatus `json:"status,omitempty"`
}

InstallationTemplatePartitionSchemeHardwareRaid is the Schema for the InstallationTemplatePartitionSchemeHardwareRaids 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 (*InstallationTemplatePartitionSchemeHardwareRaid) DeepCopy

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

func (*InstallationTemplatePartitionSchemeHardwareRaid) DeepCopyInto

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

func (*InstallationTemplatePartitionSchemeHardwareRaid) DeepCopyObject

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

func (*InstallationTemplatePartitionSchemeHardwareRaid) GetCondition

GetCondition of this InstallationTemplatePartitionSchemeHardwareRaid.

func (*InstallationTemplatePartitionSchemeHardwareRaid) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this InstallationTemplatePartitionSchemeHardwareRaid

func (*InstallationTemplatePartitionSchemeHardwareRaid) GetDeletionPolicy

GetDeletionPolicy of this InstallationTemplatePartitionSchemeHardwareRaid.

func (*InstallationTemplatePartitionSchemeHardwareRaid) GetID

GetID returns ID of underlying Terraform resource of this InstallationTemplatePartitionSchemeHardwareRaid

func (*InstallationTemplatePartitionSchemeHardwareRaid) GetInitParameters

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

GetInitParameters of this InstallationTemplatePartitionSchemeHardwareRaid

func (*InstallationTemplatePartitionSchemeHardwareRaid) GetManagementPolicies

GetManagementPolicies of this InstallationTemplatePartitionSchemeHardwareRaid.

func (*InstallationTemplatePartitionSchemeHardwareRaid) GetObservation

GetObservation of this InstallationTemplatePartitionSchemeHardwareRaid

func (*InstallationTemplatePartitionSchemeHardwareRaid) GetParameters

GetParameters of this InstallationTemplatePartitionSchemeHardwareRaid

func (*InstallationTemplatePartitionSchemeHardwareRaid) GetProviderConfigReference

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

GetProviderConfigReference of this InstallationTemplatePartitionSchemeHardwareRaid.

func (*InstallationTemplatePartitionSchemeHardwareRaid) GetPublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this InstallationTemplatePartitionSchemeHardwareRaid.

func (*InstallationTemplatePartitionSchemeHardwareRaid) GetTerraformResourceType

func (mg *InstallationTemplatePartitionSchemeHardwareRaid) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this InstallationTemplatePartitionSchemeHardwareRaid

func (*InstallationTemplatePartitionSchemeHardwareRaid) GetTerraformSchemaVersion

func (tr *InstallationTemplatePartitionSchemeHardwareRaid) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*InstallationTemplatePartitionSchemeHardwareRaid) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this InstallationTemplatePartitionSchemeHardwareRaid.

func (*InstallationTemplatePartitionSchemeHardwareRaid) LateInitialize

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

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

func (*InstallationTemplatePartitionSchemeHardwareRaid) SetConditions

SetConditions of this InstallationTemplatePartitionSchemeHardwareRaid.

func (*InstallationTemplatePartitionSchemeHardwareRaid) SetDeletionPolicy

SetDeletionPolicy of this InstallationTemplatePartitionSchemeHardwareRaid.

func (*InstallationTemplatePartitionSchemeHardwareRaid) SetManagementPolicies

SetManagementPolicies of this InstallationTemplatePartitionSchemeHardwareRaid.

func (*InstallationTemplatePartitionSchemeHardwareRaid) SetObservation

SetObservation for this InstallationTemplatePartitionSchemeHardwareRaid

func (*InstallationTemplatePartitionSchemeHardwareRaid) SetParameters

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

SetParameters for this InstallationTemplatePartitionSchemeHardwareRaid

func (*InstallationTemplatePartitionSchemeHardwareRaid) SetProviderConfigReference

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

SetProviderConfigReference of this InstallationTemplatePartitionSchemeHardwareRaid.

func (*InstallationTemplatePartitionSchemeHardwareRaid) SetPublishConnectionDetailsTo

SetPublishConnectionDetailsTo of this InstallationTemplatePartitionSchemeHardwareRaid.

func (*InstallationTemplatePartitionSchemeHardwareRaid) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this InstallationTemplatePartitionSchemeHardwareRaid.

type InstallationTemplatePartitionSchemeHardwareRaidInitParameters

type InstallationTemplatePartitionSchemeHardwareRaidInitParameters struct {

	// Disk List. Syntax is cX:dY for disks and [cX:dY,cX:dY] for groups. With X and Y resp. the controller id and the disk id
	Disks []*string `json:"disks,omitempty" tf:"disks,omitempty"`

	// RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60)
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// Hardware RAID name
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// name of this partitioning scheme
	SchemeName *string `json:"schemeName,omitempty" tf:"scheme_name,omitempty"`

	// Specifies the creation order of the hardware RAID
	Step *float64 `json:"step,omitempty" tf:"step,omitempty"`

	// Template name
	TemplateName *string `json:"templateName,omitempty" tf:"template_name,omitempty"`
}

func (*InstallationTemplatePartitionSchemeHardwareRaidInitParameters) DeepCopy

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

func (*InstallationTemplatePartitionSchemeHardwareRaidInitParameters) DeepCopyInto

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

type InstallationTemplatePartitionSchemeHardwareRaidList

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

InstallationTemplatePartitionSchemeHardwareRaidList contains a list of InstallationTemplatePartitionSchemeHardwareRaids

func (*InstallationTemplatePartitionSchemeHardwareRaidList) DeepCopy

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

func (*InstallationTemplatePartitionSchemeHardwareRaidList) DeepCopyInto

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

func (*InstallationTemplatePartitionSchemeHardwareRaidList) DeepCopyObject

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

func (*InstallationTemplatePartitionSchemeHardwareRaidList) GetItems

GetItems of this InstallationTemplatePartitionSchemeHardwareRaidList.

type InstallationTemplatePartitionSchemeHardwareRaidObservation

type InstallationTemplatePartitionSchemeHardwareRaidObservation struct {

	// Disk List. Syntax is cX:dY for disks and [cX:dY,cX:dY] for groups. With X and Y resp. the controller id and the disk id
	Disks []*string `json:"disks,omitempty" tf:"disks,omitempty"`

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

	// RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60)
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// Hardware RAID name
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// name of this partitioning scheme
	SchemeName *string `json:"schemeName,omitempty" tf:"scheme_name,omitempty"`

	// Specifies the creation order of the hardware RAID
	Step *float64 `json:"step,omitempty" tf:"step,omitempty"`

	// Template name
	TemplateName *string `json:"templateName,omitempty" tf:"template_name,omitempty"`
}

func (*InstallationTemplatePartitionSchemeHardwareRaidObservation) DeepCopy

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

func (*InstallationTemplatePartitionSchemeHardwareRaidObservation) DeepCopyInto

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

type InstallationTemplatePartitionSchemeHardwareRaidParameters

type InstallationTemplatePartitionSchemeHardwareRaidParameters struct {

	// Disk List. Syntax is cX:dY for disks and [cX:dY,cX:dY] for groups. With X and Y resp. the controller id and the disk id
	// +kubebuilder:validation:Optional
	Disks []*string `json:"disks,omitempty" tf:"disks,omitempty"`

	// RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60)
	// +kubebuilder:validation:Optional
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// Hardware RAID name
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// name of this partitioning scheme
	// +kubebuilder:validation:Optional
	SchemeName *string `json:"schemeName,omitempty" tf:"scheme_name,omitempty"`

	// Specifies the creation order of the hardware RAID
	// +kubebuilder:validation:Optional
	Step *float64 `json:"step,omitempty" tf:"step,omitempty"`

	// Template name
	// +kubebuilder:validation:Optional
	TemplateName *string `json:"templateName,omitempty" tf:"template_name,omitempty"`
}

func (*InstallationTemplatePartitionSchemeHardwareRaidParameters) DeepCopy

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

func (*InstallationTemplatePartitionSchemeHardwareRaidParameters) DeepCopyInto

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

type InstallationTemplatePartitionSchemeHardwareRaidSpec

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

InstallationTemplatePartitionSchemeHardwareRaidSpec defines the desired state of InstallationTemplatePartitionSchemeHardwareRaid

func (*InstallationTemplatePartitionSchemeHardwareRaidSpec) DeepCopy

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

func (*InstallationTemplatePartitionSchemeHardwareRaidSpec) DeepCopyInto

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

type InstallationTemplatePartitionSchemeHardwareRaidStatus

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

InstallationTemplatePartitionSchemeHardwareRaidStatus defines the observed state of InstallationTemplatePartitionSchemeHardwareRaid.

func (*InstallationTemplatePartitionSchemeHardwareRaidStatus) DeepCopy

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

func (*InstallationTemplatePartitionSchemeHardwareRaidStatus) DeepCopyInto

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