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

Index

Constants

View Source
const (
	CRDGroup   = "meinstallationtemplatepartitionschemepartition.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 (
	InstallationTemplatePartitionSchemePartition_Kind             = "InstallationTemplatePartitionSchemePartition"
	InstallationTemplatePartitionSchemePartition_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: InstallationTemplatePartitionSchemePartition_Kind}.String()
	InstallationTemplatePartitionSchemePartition_KindAPIVersion   = InstallationTemplatePartitionSchemePartition_Kind + "." + CRDGroupVersion.String()
	InstallationTemplatePartitionSchemePartition_GroupVersionKind = CRDGroupVersion.WithKind(InstallationTemplatePartitionSchemePartition_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type InstallationTemplatePartitionSchemePartition

type InstallationTemplatePartitionSchemePartition 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.filesystem) || (has(self.initProvider) && has(self.initProvider.filesystem))",message="spec.forProvider.filesystem is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.mountpoint) || (has(self.initProvider) && has(self.initProvider.mountpoint))",message="spec.forProvider.mountpoint is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.order) || (has(self.initProvider) && has(self.initProvider.order))",message="spec.forProvider.order 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.size) || (has(self.initProvider) && has(self.initProvider.size))",message="spec.forProvider.size 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"
	// +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"
	Spec   InstallationTemplatePartitionSchemePartitionSpec   `json:"spec"`
	Status InstallationTemplatePartitionSchemePartitionStatus `json:"status,omitempty"`
}

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

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

func (*InstallationTemplatePartitionSchemePartition) DeepCopyInto

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

func (*InstallationTemplatePartitionSchemePartition) DeepCopyObject

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

func (*InstallationTemplatePartitionSchemePartition) GetCondition

GetCondition of this InstallationTemplatePartitionSchemePartition.

func (*InstallationTemplatePartitionSchemePartition) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this InstallationTemplatePartitionSchemePartition

func (*InstallationTemplatePartitionSchemePartition) GetDeletionPolicy

GetDeletionPolicy of this InstallationTemplatePartitionSchemePartition.

func (*InstallationTemplatePartitionSchemePartition) GetID

GetID returns ID of underlying Terraform resource of this InstallationTemplatePartitionSchemePartition

func (*InstallationTemplatePartitionSchemePartition) GetInitParameters

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

GetInitParameters of this InstallationTemplatePartitionSchemePartition

func (*InstallationTemplatePartitionSchemePartition) GetManagementPolicies

GetManagementPolicies of this InstallationTemplatePartitionSchemePartition.

func (*InstallationTemplatePartitionSchemePartition) GetObservation

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

GetObservation of this InstallationTemplatePartitionSchemePartition

func (*InstallationTemplatePartitionSchemePartition) GetParameters

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

GetParameters of this InstallationTemplatePartitionSchemePartition

func (*InstallationTemplatePartitionSchemePartition) GetProviderConfigReference

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

GetProviderConfigReference of this InstallationTemplatePartitionSchemePartition.

func (*InstallationTemplatePartitionSchemePartition) GetPublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this InstallationTemplatePartitionSchemePartition.

func (*InstallationTemplatePartitionSchemePartition) GetTerraformResourceType

func (mg *InstallationTemplatePartitionSchemePartition) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this InstallationTemplatePartitionSchemePartition

func (*InstallationTemplatePartitionSchemePartition) GetTerraformSchemaVersion

func (tr *InstallationTemplatePartitionSchemePartition) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*InstallationTemplatePartitionSchemePartition) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this InstallationTemplatePartitionSchemePartition.

func (*InstallationTemplatePartitionSchemePartition) LateInitialize

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

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

func (*InstallationTemplatePartitionSchemePartition) SetConditions

SetConditions of this InstallationTemplatePartitionSchemePartition.

func (*InstallationTemplatePartitionSchemePartition) SetDeletionPolicy

SetDeletionPolicy of this InstallationTemplatePartitionSchemePartition.

func (*InstallationTemplatePartitionSchemePartition) SetManagementPolicies

SetManagementPolicies of this InstallationTemplatePartitionSchemePartition.

func (*InstallationTemplatePartitionSchemePartition) SetObservation

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

SetObservation for this InstallationTemplatePartitionSchemePartition

func (*InstallationTemplatePartitionSchemePartition) SetParameters

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

SetParameters for this InstallationTemplatePartitionSchemePartition

func (*InstallationTemplatePartitionSchemePartition) SetProviderConfigReference

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

SetProviderConfigReference of this InstallationTemplatePartitionSchemePartition.

func (*InstallationTemplatePartitionSchemePartition) SetPublishConnectionDetailsTo

SetPublishConnectionDetailsTo of this InstallationTemplatePartitionSchemePartition.

func (*InstallationTemplatePartitionSchemePartition) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this InstallationTemplatePartitionSchemePartition.

type InstallationTemplatePartitionSchemePartitionInitParameters

type InstallationTemplatePartitionSchemePartitionInitParameters struct {

	// Partition filesystem
	Filesystem *string `json:"filesystem,omitempty" tf:"filesystem,omitempty"`

	// partition mount point
	Mountpoint *string `json:"mountpoint,omitempty" tf:"mountpoint,omitempty"`

	// step or order. specifies the creation order of the partition on the disk
	Order *float64 `json:"order,omitempty" tf:"order,omitempty"`

	// raid partition type
	Raid *string `json:"raid,omitempty" tf:"raid,omitempty"`

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

	// size of partition in MB, 0 => rest of the space
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

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

	// partition type
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// The volume name needed for proxmox distribution
	VolumeName *string `json:"volumeName,omitempty" tf:"volume_name,omitempty"`
}

func (*InstallationTemplatePartitionSchemePartitionInitParameters) DeepCopy

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

func (*InstallationTemplatePartitionSchemePartitionInitParameters) DeepCopyInto

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

type InstallationTemplatePartitionSchemePartitionList

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

InstallationTemplatePartitionSchemePartitionList contains a list of InstallationTemplatePartitionSchemePartitions

func (*InstallationTemplatePartitionSchemePartitionList) DeepCopy

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

func (*InstallationTemplatePartitionSchemePartitionList) DeepCopyInto

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

func (*InstallationTemplatePartitionSchemePartitionList) DeepCopyObject

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

func (*InstallationTemplatePartitionSchemePartitionList) GetItems

GetItems of this InstallationTemplatePartitionSchemePartitionList.

type InstallationTemplatePartitionSchemePartitionObservation

type InstallationTemplatePartitionSchemePartitionObservation struct {

	// Partition filesystem
	Filesystem *string `json:"filesystem,omitempty" tf:"filesystem,omitempty"`

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

	// partition mount point
	Mountpoint *string `json:"mountpoint,omitempty" tf:"mountpoint,omitempty"`

	// step or order. specifies the creation order of the partition on the disk
	Order *float64 `json:"order,omitempty" tf:"order,omitempty"`

	// raid partition type
	Raid *string `json:"raid,omitempty" tf:"raid,omitempty"`

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

	// size of partition in MB, 0 => rest of the space
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

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

	// partition type
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// The volume name needed for proxmox distribution
	VolumeName *string `json:"volumeName,omitempty" tf:"volume_name,omitempty"`
}

func (*InstallationTemplatePartitionSchemePartitionObservation) DeepCopy

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

func (*InstallationTemplatePartitionSchemePartitionObservation) DeepCopyInto

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

type InstallationTemplatePartitionSchemePartitionParameters

type InstallationTemplatePartitionSchemePartitionParameters struct {

	// Partition filesystem
	// +kubebuilder:validation:Optional
	Filesystem *string `json:"filesystem,omitempty" tf:"filesystem,omitempty"`

	// partition mount point
	// +kubebuilder:validation:Optional
	Mountpoint *string `json:"mountpoint,omitempty" tf:"mountpoint,omitempty"`

	// step or order. specifies the creation order of the partition on the disk
	// +kubebuilder:validation:Optional
	Order *float64 `json:"order,omitempty" tf:"order,omitempty"`

	// raid partition type
	// +kubebuilder:validation:Optional
	Raid *string `json:"raid,omitempty" tf:"raid,omitempty"`

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

	// size of partition in MB, 0 => rest of the space
	// +kubebuilder:validation:Optional
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

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

	// partition type
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// The volume name needed for proxmox distribution
	// +kubebuilder:validation:Optional
	VolumeName *string `json:"volumeName,omitempty" tf:"volume_name,omitempty"`
}

func (*InstallationTemplatePartitionSchemePartitionParameters) DeepCopy

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

func (*InstallationTemplatePartitionSchemePartitionParameters) DeepCopyInto

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

type InstallationTemplatePartitionSchemePartitionSpec

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

InstallationTemplatePartitionSchemePartitionSpec defines the desired state of InstallationTemplatePartitionSchemePartition

func (*InstallationTemplatePartitionSchemePartitionSpec) DeepCopy

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

func (*InstallationTemplatePartitionSchemePartitionSpec) DeepCopyInto

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

type InstallationTemplatePartitionSchemePartitionStatus

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

InstallationTemplatePartitionSchemePartitionStatus defines the observed state of InstallationTemplatePartitionSchemePartition.

func (*InstallationTemplatePartitionSchemePartitionStatus) DeepCopy

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

func (*InstallationTemplatePartitionSchemePartitionStatus) 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