v1alpha1

package
v0.0.0-...-10a304b Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=blockstorage.otc.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "blockstorage.otc.jet.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 (
	VolumeV2_Kind             = "VolumeV2"
	VolumeV2_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: VolumeV2_Kind}.String()
	VolumeV2_KindAPIVersion   = VolumeV2_Kind + "." + CRDGroupVersion.String()
	VolumeV2_GroupVersionKind = CRDGroupVersion.WithKind(VolumeV2_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AttachmentObservation

type AttachmentObservation struct {
	Device *string `json:"device,omitempty" tf:"device,omitempty"`

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

	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`
}

func (*AttachmentObservation) DeepCopy

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

func (*AttachmentObservation) DeepCopyInto

func (in *AttachmentObservation) DeepCopyInto(out *AttachmentObservation)

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

type AttachmentParameters

type AttachmentParameters struct {
}

func (*AttachmentParameters) DeepCopy

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

func (*AttachmentParameters) DeepCopyInto

func (in *AttachmentParameters) DeepCopyInto(out *AttachmentParameters)

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

type VolumeV2

type VolumeV2 struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VolumeV2Spec   `json:"spec"`
	Status            VolumeV2Status `json:"status,omitempty"`
}

VolumeV2 is the Schema for the VolumeV2s 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,otcjet}

func (*VolumeV2) DeepCopy

func (in *VolumeV2) DeepCopy() *VolumeV2

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

func (*VolumeV2) DeepCopyInto

func (in *VolumeV2) DeepCopyInto(out *VolumeV2)

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

func (*VolumeV2) DeepCopyObject

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

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

func (*VolumeV2) GetCondition

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

GetCondition of this VolumeV2.

func (*VolumeV2) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this VolumeV2

func (*VolumeV2) GetDeletionPolicy

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

GetDeletionPolicy of this VolumeV2.

func (*VolumeV2) GetID

func (tr *VolumeV2) GetID() string

GetID returns ID of underlying Terraform resource of this VolumeV2

func (*VolumeV2) GetObservation

func (tr *VolumeV2) GetObservation() (map[string]interface{}, error)

GetObservation of this VolumeV2

func (*VolumeV2) GetParameters

func (tr *VolumeV2) GetParameters() (map[string]interface{}, error)

GetParameters of this VolumeV2

func (*VolumeV2) GetProviderConfigReference

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

GetProviderConfigReference of this VolumeV2.

func (*VolumeV2) GetProviderReference

func (mg *VolumeV2) GetProviderReference() *xpv1.Reference

GetProviderReference of this VolumeV2. Deprecated: Use GetProviderConfigReference.

func (*VolumeV2) GetTerraformResourceType

func (mg *VolumeV2) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this VolumeV2

func (*VolumeV2) GetTerraformSchemaVersion

func (tr *VolumeV2) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*VolumeV2) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this VolumeV2.

func (*VolumeV2) LateInitialize

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

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

func (*VolumeV2) SetConditions

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

SetConditions of this VolumeV2.

func (*VolumeV2) SetDeletionPolicy

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

SetDeletionPolicy of this VolumeV2.

func (*VolumeV2) SetObservation

func (tr *VolumeV2) SetObservation(obs map[string]interface{}) error

SetObservation for this VolumeV2

func (*VolumeV2) SetParameters

func (tr *VolumeV2) SetParameters(params map[string]interface{}) error

SetParameters for this VolumeV2

func (*VolumeV2) SetProviderConfigReference

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

SetProviderConfigReference of this VolumeV2.

func (*VolumeV2) SetProviderReference

func (mg *VolumeV2) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this VolumeV2. Deprecated: Use SetProviderConfigReference.

func (*VolumeV2) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this VolumeV2.

type VolumeV2List

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

VolumeV2List contains a list of VolumeV2s

func (*VolumeV2List) DeepCopy

func (in *VolumeV2List) DeepCopy() *VolumeV2List

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

func (*VolumeV2List) DeepCopyInto

func (in *VolumeV2List) DeepCopyInto(out *VolumeV2List)

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

func (*VolumeV2List) DeepCopyObject

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

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

func (*VolumeV2List) GetItems

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

GetItems of this VolumeV2List.

type VolumeV2Observation

type VolumeV2Observation struct {
	Attachment []AttachmentObservation `json:"attachment,omitempty" tf:"attachment,omitempty"`

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

	Wwn *string `json:"wwn,omitempty" tf:"wwn,omitempty"`
}

func (*VolumeV2Observation) DeepCopy

func (in *VolumeV2Observation) DeepCopy() *VolumeV2Observation

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

func (*VolumeV2Observation) DeepCopyInto

func (in *VolumeV2Observation) DeepCopyInto(out *VolumeV2Observation)

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

type VolumeV2Parameters

type VolumeV2Parameters struct {

	// +kubebuilder:validation:Optional
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// +kubebuilder:validation:Optional
	Cascade *bool `json:"cascade,omitempty" tf:"cascade,omitempty"`

	// +kubebuilder:validation:Optional
	ConsistencyGroupID *string `json:"consistencyGroupId,omitempty" tf:"consistency_group_id,omitempty"`

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

	// +kubebuilder:validation:Optional
	DeviceType *string `json:"deviceType,omitempty" tf:"device_type,omitempty"`

	// +kubebuilder:validation:Optional
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

	// +kubebuilder:validation:Optional
	Metadata map[string]string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// +kubebuilder:validation:Required
	Size *int64 `json:"size" tf:"size,omitempty"`

	// +kubebuilder:validation:Optional
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`

	// +kubebuilder:validation:Optional
	SourceReplica *string `json:"sourceReplica,omitempty" tf:"source_replica,omitempty"`

	// +kubebuilder:validation:Optional
	SourceVolID *string `json:"sourceVolId,omitempty" tf:"source_vol_id,omitempty"`

	// +kubebuilder:validation:Optional
	Tags map[string]string `json:"tags,omitempty" tf:"tags,omitempty"`

	// +kubebuilder:validation:Optional
	VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}

func (*VolumeV2Parameters) DeepCopy

func (in *VolumeV2Parameters) DeepCopy() *VolumeV2Parameters

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

func (*VolumeV2Parameters) DeepCopyInto

func (in *VolumeV2Parameters) DeepCopyInto(out *VolumeV2Parameters)

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

type VolumeV2Spec

type VolumeV2Spec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     VolumeV2Parameters `json:"forProvider"`
}

VolumeV2Spec defines the desired state of VolumeV2

func (*VolumeV2Spec) DeepCopy

func (in *VolumeV2Spec) DeepCopy() *VolumeV2Spec

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

func (*VolumeV2Spec) DeepCopyInto

func (in *VolumeV2Spec) DeepCopyInto(out *VolumeV2Spec)

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

type VolumeV2Status

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

VolumeV2Status defines the observed state of VolumeV2.

func (*VolumeV2Status) DeepCopy

func (in *VolumeV2Status) DeepCopy() *VolumeV2Status

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

func (*VolumeV2Status) DeepCopyInto

func (in *VolumeV2Status) DeepCopyInto(out *VolumeV2Status)

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