Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=disk.vkcs.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Image
- func (in *Image) DeepCopy() *Image
- func (in *Image) DeepCopyInto(out *Image)
- func (in *Image) DeepCopyObject() runtime.Object
- func (mg *Image) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Image) GetConnectionDetailsMapping() map[string]string
- func (mg *Image) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Image) GetID() string
- func (tr *Image) GetInitParameters() (map[string]any, error)
- func (mg *Image) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Image) GetObservation() (map[string]any, error)
- func (tr *Image) GetParameters() (map[string]any, error)
- func (mg *Image) GetProviderConfigReference() *xpv1.Reference
- func (mg *Image) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Image) GetTerraformResourceType() string
- func (tr *Image) GetTerraformSchemaVersion() int
- func (mg *Image) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Image) LateInitialize(attrs []byte) (bool, error)
- func (mg *Image) SetConditions(c ...xpv1.Condition)
- func (mg *Image) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Image) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Image) SetObservation(obs map[string]any) error
- func (tr *Image) SetParameters(params map[string]any) error
- func (mg *Image) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Image) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Image) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ImageInitParameters
- type ImageList
- type ImageObservation
- type ImageParameters
- type ImageSpec
- type ImageStatus
- type Snapshot
- func (in *Snapshot) DeepCopy() *Snapshot
- func (in *Snapshot) DeepCopyInto(out *Snapshot)
- func (in *Snapshot) DeepCopyObject() runtime.Object
- func (mg *Snapshot) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Snapshot) GetConnectionDetailsMapping() map[string]string
- func (mg *Snapshot) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Snapshot) GetID() string
- func (tr *Snapshot) GetInitParameters() (map[string]any, error)
- func (mg *Snapshot) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Snapshot) GetObservation() (map[string]any, error)
- func (tr *Snapshot) GetParameters() (map[string]any, error)
- func (mg *Snapshot) GetProviderConfigReference() *xpv1.Reference
- func (mg *Snapshot) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Snapshot) GetTerraformResourceType() string
- func (tr *Snapshot) GetTerraformSchemaVersion() int
- func (mg *Snapshot) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Snapshot) LateInitialize(attrs []byte) (bool, error)
- func (mg *Snapshot) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Snapshot) SetConditions(c ...xpv1.Condition)
- func (mg *Snapshot) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Snapshot) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Snapshot) SetObservation(obs map[string]any) error
- func (tr *Snapshot) SetParameters(params map[string]any) error
- func (mg *Snapshot) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Snapshot) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Snapshot) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SnapshotInitParameters
- type SnapshotList
- type SnapshotObservation
- type SnapshotParameters
- type SnapshotSpec
- type SnapshotStatus
- type Volume
- func (in *Volume) DeepCopy() *Volume
- func (in *Volume) DeepCopyInto(out *Volume)
- func (in *Volume) DeepCopyObject() runtime.Object
- func (mg *Volume) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Volume) GetConnectionDetailsMapping() map[string]string
- func (mg *Volume) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Volume) GetID() string
- func (tr *Volume) GetInitParameters() (map[string]any, error)
- func (mg *Volume) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Volume) GetObservation() (map[string]any, error)
- func (tr *Volume) GetParameters() (map[string]any, error)
- func (mg *Volume) GetProviderConfigReference() *xpv1.Reference
- func (mg *Volume) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Volume) GetTerraformResourceType() string
- func (tr *Volume) GetTerraformSchemaVersion() int
- func (mg *Volume) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Volume) LateInitialize(attrs []byte) (bool, error)
- func (mg *Volume) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Volume) SetConditions(c ...xpv1.Condition)
- func (mg *Volume) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Volume) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Volume) SetObservation(obs map[string]any) error
- func (tr *Volume) SetParameters(params map[string]any) error
- func (mg *Volume) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Volume) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Volume) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type VolumeInitParameters
- type VolumeList
- type VolumeObservation
- type VolumeParameters
- type VolumeSpec
- type VolumeStatus
Constants ¶
const ( CRDGroup = "disk.vkcs.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
var ( Image_Kind = "Image" Image_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Image_Kind}.String() Image_KindAPIVersion = Image_Kind + "." + CRDGroupVersion.String() Image_GroupVersionKind = CRDGroupVersion.WithKind(Image_Kind) )
Repository type metadata.
var ( Snapshot_Kind = "Snapshot" Snapshot_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Snapshot_Kind}.String() Snapshot_KindAPIVersion = Snapshot_Kind + "." + CRDGroupVersion.String() Snapshot_GroupVersionKind = CRDGroupVersion.WithKind(Snapshot_Kind) )
Repository type metadata.
var ( Volume_Kind = "Volume" Volume_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Volume_Kind}.String() Volume_KindAPIVersion = Volume_Kind + "." + CRDGroupVersion.String() Volume_GroupVersionKind = CRDGroupVersion.WithKind(Volume_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Image 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.containerFormat) || (has(self.initProvider) && has(self.initProvider.containerFormat))",message="spec.forProvider.containerFormat is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.diskFormat) || (has(self.initProvider) && has(self.initProvider.diskFormat))",message="spec.forProvider.diskFormat 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"
Spec ImageSpec `json:"spec"`
Status ImageStatus `json:"status,omitempty"`
}
Image is the Schema for the Images API. Manages an Image resource within VKCS. +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,vkcs}
func (*Image) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Image) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Image) GetCondition ¶
func (mg *Image) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Image.
func (*Image) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Image
func (*Image) GetDeletionPolicy ¶
func (mg *Image) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Image.
func (*Image) GetInitParameters ¶
GetInitParameters of this Image
func (*Image) GetManagementPolicies ¶
func (mg *Image) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Image.
func (*Image) GetObservation ¶
GetObservation of this Image
func (*Image) GetParameters ¶
GetParameters of this Image
func (*Image) GetProviderConfigReference ¶
GetProviderConfigReference of this Image.
func (*Image) GetPublishConnectionDetailsTo ¶
func (mg *Image) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Image.
func (*Image) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Image
func (*Image) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Image) GetWriteConnectionSecretToReference ¶
func (mg *Image) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Image.
func (*Image) LateInitialize ¶
LateInitialize this Image using its observed tfState. returns True if there are any spec changes for the resource.
func (*Image) SetConditions ¶
SetConditions of this Image.
func (*Image) SetDeletionPolicy ¶
func (mg *Image) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Image.
func (*Image) SetManagementPolicies ¶
func (mg *Image) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Image.
func (*Image) SetObservation ¶
SetObservation for this Image
func (*Image) SetParameters ¶
SetParameters for this Image
func (*Image) SetProviderConfigReference ¶
SetProviderConfigReference of this Image.
func (*Image) SetPublishConnectionDetailsTo ¶
func (mg *Image) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Image.
func (*Image) SetWriteConnectionSecretToReference ¶
func (mg *Image) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Image.
type ImageInitParameters ¶
type ImageInitParameters struct {
// optional string → The format of archived image file. Use this to unzip image file when downloading an archive. Currently only "tar" format is supported.New since v0.4.2.
// The format of archived image file. Use this to unzip image file when downloading an archive. Currently only "tar" format is supported._new_since_v0.4.2_.
ArchivingFormat *string `json:"archivingFormat,omitempty" tf:"archiving_format,omitempty"`
// Type header will be used to detect compression format.New since v0.4.2.
// The format of compressed image. Use this attribute to decompress image when downloading it from source. Must be one of "auto", "bzip2", "gzip", "xz". If set to "auto", response Content-Type header will be used to detect compression format._new_since_v0.4.2_.
CompressionFormat *string `json:"compressionFormat,omitempty" tf:"compression_format,omitempty"`
// required string → The container format. Must be one of "bare".
// The container format. Must be one of "bare".
ContainerFormat *string `json:"containerFormat,omitempty" tf:"container_format,omitempty"`
// required string → The disk format. Must be one of "raw", "iso".
// The disk format. Must be one of "raw", "iso".
DiskFormat *string `json:"diskFormat,omitempty" tf:"disk_format,omitempty"`
// optional string → This is the directory where the images will be downloaded. Images will be stored with a filename corresponding to the url's md5 hash. Defaults to "$HOME/. Images will be stored with a filename corresponding to the url's md5 hash. Defaults to "$HOME/
ImageCachePath *string `json:"imageCachePath,omitempty" tf:"image_cache_path,omitempty"`
// optional string → This is the url of the raw image. The image will be downloaded in the image_cache_path before being uploaded to VKCS. Conflicts with local_file_path.
// This is the url of the raw image. The image will be downloaded in the `image_cache_path` before being uploaded to VKCS. Conflicts with `local_file_path`.
ImageSourceURL *string `json:"imageSourceUrl,omitempty" tf:"image_source_url,omitempty"`
// optional string → The username of basic auth to download image_source_url.
// The username of basic auth to download `image_source_url`.
ImageSourceUsername *string `json:"imageSourceUsername,omitempty" tf:"image_source_username,omitempty"`
// optional string → This is the filepath of the raw image file that will be uploaded to VKCS. Conflicts with image_source_url
// This is the filepath of the raw image file that will be uploaded to VKCS. Conflicts with `image_source_url`
LocalFilePath *string `json:"localFilePath,omitempty" tf:"local_file_path,omitempty"`
// optional number → Amount of disk space (in GB) required to boot VM. Defaults to 0.
// Amount of disk space (in GB) required to boot VM. Defaults to 0.
MinDiskGb *float64 `json:"minDiskGb,omitempty" tf:"min_disk_gb,omitempty"`
// optional number → Amount of ram (in MB) required to boot VM. Defauts to 0.
// Amount of ram (in MB) required to boot VM. Defauts to 0.
MinRAMMb *float64 `json:"minRamMb,omitempty" tf:"min_ram_mb,omitempty"`
// required string → The name of the image.
// The name of the image.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// optional map of string → A map of key/value pairs to set freeform information about an image. See the "Notes" section for further information about properties.
// A map of key/value pairs to set freeform information about an image. See the "Notes" section for further information about properties.
Properties map[string]*string `json:"properties,omitempty" tf:"properties,omitempty"`
// optional boolean → If true, image will not be deletable. Defaults to false.
// If true, image will not be deletable. Defaults to false.
Protected *bool `json:"protected,omitempty" tf:"protected,omitempty"`
// optional string → The region in which to obtain the Image client. An Image client is needed to create an Image that can be used with a compute instance. If omitted, the region argument of the provider is used. Changing this creates a new Image.
// The region in which to obtain the Image client. An Image client is needed to create an Image that can be used with a compute instance. If omitted, the `region` argument of the provider is used. Changing this creates a new Image.
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// optional set of string → The tags of the image. It must be a list of strings. At this time, it is not possible to delete all tags of an image.
// The tags of the image. It must be a list of strings. At this time, it is not possible to delete all tags of an image.
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// optional boolean → If false, the checksum will not be verified once the image is finished uploading.
// If false, the checksum will not be verified once the image is finished uploading.
VerifyChecksum *bool `json:"verifyChecksum,omitempty" tf:"verify_checksum,omitempty"`
// optional string → The visibility of the image. Must be one of "private", "community", or "shared". The ability to set the visibility depends upon the configuration of the VKCS cloud.
// The visibility of the image. Must be one of "private", "community", or "shared". The ability to set the visibility depends upon the configuration of the VKCS cloud.
Visibility *string `json:"visibility,omitempty" tf:"visibility,omitempty"`
}
func (*ImageInitParameters) DeepCopy ¶
func (in *ImageInitParameters) DeepCopy() *ImageInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageInitParameters.
func (*ImageInitParameters) DeepCopyInto ¶
func (in *ImageInitParameters) DeepCopyInto(out *ImageInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageList ¶
type ImageList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Image `json:"items"`
}
ImageList contains a list of Images
func (*ImageList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageList.
func (*ImageList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ImageObservation ¶
type ImageObservation struct {
// optional string → The format of archived image file. Use this to unzip image file when downloading an archive. Currently only "tar" format is supported.New since v0.4.2.
// The format of archived image file. Use this to unzip image file when downloading an archive. Currently only "tar" format is supported._new_since_v0.4.2_.
ArchivingFormat *string `json:"archivingFormat,omitempty" tf:"archiving_format,omitempty"`
// string → The checksum of the data associated with the image.
// The checksum of the data associated with the image.
Checksum *string `json:"checksum,omitempty" tf:"checksum,omitempty"`
// Type header will be used to detect compression format.New since v0.4.2.
// The format of compressed image. Use this attribute to decompress image when downloading it from source. Must be one of "auto", "bzip2", "gzip", "xz". If set to "auto", response Content-Type header will be used to detect compression format._new_since_v0.4.2_.
CompressionFormat *string `json:"compressionFormat,omitempty" tf:"compression_format,omitempty"`
// required string → The container format. Must be one of "bare".
// The container format. Must be one of "bare".
ContainerFormat *string `json:"containerFormat,omitempty" tf:"container_format,omitempty"`
// string → The date the image was created.
// The date the image was created.
CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`
// required string → The disk format. Must be one of "raw", "iso".
// The disk format. Must be one of "raw", "iso".
DiskFormat *string `json:"diskFormat,omitempty" tf:"disk_format,omitempty"`
// string → The trailing path after the image endpoint that represent the location of the image or the path to retrieve it.
// The trailing path after the image endpoint that represent the location of the image or the path to retrieve it.
File *string `json:"file,omitempty" tf:"file,omitempty"`
// string → ID of the resource.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// optional string → This is the directory where the images will be downloaded. Images will be stored with a filename corresponding to the url's md5 hash. Defaults to "$HOME/. Images will be stored with a filename corresponding to the url's md5 hash. Defaults to "$HOME/
ImageCachePath *string `json:"imageCachePath,omitempty" tf:"image_cache_path,omitempty"`
// optional string → This is the url of the raw image. The image will be downloaded in the image_cache_path before being uploaded to VKCS. Conflicts with local_file_path.
// This is the url of the raw image. The image will be downloaded in the `image_cache_path` before being uploaded to VKCS. Conflicts with `local_file_path`.
ImageSourceURL *string `json:"imageSourceUrl,omitempty" tf:"image_source_url,omitempty"`
// optional string → The username of basic auth to download image_source_url.
// The username of basic auth to download `image_source_url`.
ImageSourceUsername *string `json:"imageSourceUsername,omitempty" tf:"image_source_username,omitempty"`
// optional string → This is the filepath of the raw image file that will be uploaded to VKCS. Conflicts with image_source_url
// This is the filepath of the raw image file that will be uploaded to VKCS. Conflicts with `image_source_url`
LocalFilePath *string `json:"localFilePath,omitempty" tf:"local_file_path,omitempty"`
// concepts.html.
// The metadata associated with the image. Image metadata allow for meaningfully define the image properties and tags. See https://docs.openstack.org/glance/latest/user/metadefs-concepts.html.
Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`
// optional number → Amount of disk space (in GB) required to boot VM. Defaults to 0.
// Amount of disk space (in GB) required to boot VM. Defaults to 0.
MinDiskGb *float64 `json:"minDiskGb,omitempty" tf:"min_disk_gb,omitempty"`
// optional number → Amount of ram (in MB) required to boot VM. Defauts to 0.
// Amount of ram (in MB) required to boot VM. Defauts to 0.
MinRAMMb *float64 `json:"minRamMb,omitempty" tf:"min_ram_mb,omitempty"`
// required string → The name of the image.
// The name of the image.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// string → The id of the vkcs user who owns the image.
// The id of the vkcs user who owns the image.
Owner *string `json:"owner,omitempty" tf:"owner,omitempty"`
// optional map of string → A map of key/value pairs to set freeform information about an image. See the "Notes" section for further information about properties.
// A map of key/value pairs to set freeform information about an image. See the "Notes" section for further information about properties.
Properties map[string]*string `json:"properties,omitempty" tf:"properties,omitempty"`
// optional boolean → If true, image will not be deletable. Defaults to false.
// If true, image will not be deletable. Defaults to false.
Protected *bool `json:"protected,omitempty" tf:"protected,omitempty"`
// optional string → The region in which to obtain the Image client. An Image client is needed to create an Image that can be used with a compute instance. If omitted, the region argument of the provider is used. Changing this creates a new Image.
// The region in which to obtain the Image client. An Image client is needed to create an Image that can be used with a compute instance. If omitted, the `region` argument of the provider is used. Changing this creates a new Image.
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// schema that represent the image or image
// The path to the JSON-schema that represent the image or image
Schema *string `json:"schema,omitempty" tf:"schema,omitempty"`
// number → The size in bytes of the data associated with the image.
// The size in bytes of the data associated with the image.
SizeBytes *float64 `json:"sizeBytes,omitempty" tf:"size_bytes,omitempty"`
// string → The status of the image. It can be "queued", "active" or "saving".
// The status of the image. It can be "queued", "active" or "saving".
Status *string `json:"status,omitempty" tf:"status,omitempty"`
// optional set of string → The tags of the image. It must be a list of strings. At this time, it is not possible to delete all tags of an image.
// The tags of the image. It must be a list of strings. At this time, it is not possible to delete all tags of an image.
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// string → The date the image was last updated.
// The date the image was last updated.
UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at,omitempty"`
// optional boolean → If false, the checksum will not be verified once the image is finished uploading.
// If false, the checksum will not be verified once the image is finished uploading.
VerifyChecksum *bool `json:"verifyChecksum,omitempty" tf:"verify_checksum,omitempty"`
// optional string → The visibility of the image. Must be one of "private", "community", or "shared". The ability to set the visibility depends upon the configuration of the VKCS cloud.
// The visibility of the image. Must be one of "private", "community", or "shared". The ability to set the visibility depends upon the configuration of the VKCS cloud.
Visibility *string `json:"visibility,omitempty" tf:"visibility,omitempty"`
}
func (*ImageObservation) DeepCopy ¶
func (in *ImageObservation) DeepCopy() *ImageObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageObservation.
func (*ImageObservation) DeepCopyInto ¶
func (in *ImageObservation) DeepCopyInto(out *ImageObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageParameters ¶
type ImageParameters struct {
// optional string → The format of archived image file. Use this to unzip image file when downloading an archive. Currently only "tar" format is supported.New since v0.4.2.
// The format of archived image file. Use this to unzip image file when downloading an archive. Currently only "tar" format is supported._new_since_v0.4.2_.
// +kubebuilder:validation:Optional
ArchivingFormat *string `json:"archivingFormat,omitempty" tf:"archiving_format,omitempty"`
// Type header will be used to detect compression format.New since v0.4.2.
// The format of compressed image. Use this attribute to decompress image when downloading it from source. Must be one of "auto", "bzip2", "gzip", "xz". If set to "auto", response Content-Type header will be used to detect compression format._new_since_v0.4.2_.
// +kubebuilder:validation:Optional
CompressionFormat *string `json:"compressionFormat,omitempty" tf:"compression_format,omitempty"`
// required string → The container format. Must be one of "bare".
// The container format. Must be one of "bare".
// +kubebuilder:validation:Optional
ContainerFormat *string `json:"containerFormat,omitempty" tf:"container_format,omitempty"`
// required string → The disk format. Must be one of "raw", "iso".
// The disk format. Must be one of "raw", "iso".
// +kubebuilder:validation:Optional
DiskFormat *string `json:"diskFormat,omitempty" tf:"disk_format,omitempty"`
// optional string → This is the directory where the images will be downloaded. Images will be stored with a filename corresponding to the url's md5 hash. Defaults to "$HOME/. Images will be stored with a filename corresponding to the url's md5 hash. Defaults to "$HOME/
// +kubebuilder:validation:Optional
ImageCachePath *string `json:"imageCachePath,omitempty" tf:"image_cache_path,omitempty"`
// optional sensitive string → The password of basic auth to download image_source_url.
// The password of basic auth to download `image_source_url`.
// +kubebuilder:validation:Optional
ImageSourcePasswordSecretRef *v1.SecretKeySelector `json:"imageSourcePasswordSecretRef,omitempty" tf:"-"`
// optional string → This is the url of the raw image. The image will be downloaded in the image_cache_path before being uploaded to VKCS. Conflicts with local_file_path.
// This is the url of the raw image. The image will be downloaded in the `image_cache_path` before being uploaded to VKCS. Conflicts with `local_file_path`.
// +kubebuilder:validation:Optional
ImageSourceURL *string `json:"imageSourceUrl,omitempty" tf:"image_source_url,omitempty"`
// optional string → The username of basic auth to download image_source_url.
// The username of basic auth to download `image_source_url`.
// +kubebuilder:validation:Optional
ImageSourceUsername *string `json:"imageSourceUsername,omitempty" tf:"image_source_username,omitempty"`
// optional string → This is the filepath of the raw image file that will be uploaded to VKCS. Conflicts with image_source_url
// This is the filepath of the raw image file that will be uploaded to VKCS. Conflicts with `image_source_url`
// +kubebuilder:validation:Optional
LocalFilePath *string `json:"localFilePath,omitempty" tf:"local_file_path,omitempty"`
// optional number → Amount of disk space (in GB) required to boot VM. Defaults to 0.
// Amount of disk space (in GB) required to boot VM. Defaults to 0.
// +kubebuilder:validation:Optional
MinDiskGb *float64 `json:"minDiskGb,omitempty" tf:"min_disk_gb,omitempty"`
// optional number → Amount of ram (in MB) required to boot VM. Defauts to 0.
// Amount of ram (in MB) required to boot VM. Defauts to 0.
// +kubebuilder:validation:Optional
MinRAMMb *float64 `json:"minRamMb,omitempty" tf:"min_ram_mb,omitempty"`
// required string → The name of the image.
// The name of the image.
// +kubebuilder:validation:Optional
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// optional map of string → A map of key/value pairs to set freeform information about an image. See the "Notes" section for further information about properties.
// A map of key/value pairs to set freeform information about an image. See the "Notes" section for further information about properties.
// +kubebuilder:validation:Optional
Properties map[string]*string `json:"properties,omitempty" tf:"properties,omitempty"`
// optional boolean → If true, image will not be deletable. Defaults to false.
// If true, image will not be deletable. Defaults to false.
// +kubebuilder:validation:Optional
Protected *bool `json:"protected,omitempty" tf:"protected,omitempty"`
// optional string → The region in which to obtain the Image client. An Image client is needed to create an Image that can be used with a compute instance. If omitted, the region argument of the provider is used. Changing this creates a new Image.
// The region in which to obtain the Image client. An Image client is needed to create an Image that can be used with a compute instance. If omitted, the `region` argument of the provider is used. Changing this creates a new Image.
// +kubebuilder:validation:Optional
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// optional set of string → The tags of the image. It must be a list of strings. At this time, it is not possible to delete all tags of an image.
// The tags of the image. It must be a list of strings. At this time, it is not possible to delete all tags of an image.
// +kubebuilder:validation:Optional
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// optional boolean → If false, the checksum will not be verified once the image is finished uploading.
// If false, the checksum will not be verified once the image is finished uploading.
// +kubebuilder:validation:Optional
VerifyChecksum *bool `json:"verifyChecksum,omitempty" tf:"verify_checksum,omitempty"`
// optional string → The visibility of the image. Must be one of "private", "community", or "shared". The ability to set the visibility depends upon the configuration of the VKCS cloud.
// The visibility of the image. Must be one of "private", "community", or "shared". The ability to set the visibility depends upon the configuration of the VKCS cloud.
// +kubebuilder:validation:Optional
Visibility *string `json:"visibility,omitempty" tf:"visibility,omitempty"`
}
func (*ImageParameters) DeepCopy ¶
func (in *ImageParameters) DeepCopy() *ImageParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageParameters.
func (*ImageParameters) DeepCopyInto ¶
func (in *ImageParameters) DeepCopyInto(out *ImageParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageSpec ¶
type ImageSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider ImageParameters `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 ImageInitParameters `json:"initProvider,omitempty"`
}
ImageSpec defines the desired state of Image
func (*ImageSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec.
func (*ImageSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageStatus ¶
type ImageStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider ImageObservation `json:"atProvider,omitempty"`
}
ImageStatus defines the observed state of Image.
func (*ImageStatus) DeepCopy ¶
func (in *ImageStatus) DeepCopy() *ImageStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageStatus.
func (*ImageStatus) DeepCopyInto ¶
func (in *ImageStatus) DeepCopyInto(out *ImageStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Snapshot ¶
type Snapshot struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec SnapshotSpec `json:"spec"`
Status SnapshotStatus `json:"status,omitempty"`
}
Snapshot is the Schema for the Snapshots API. Manages a blockstorage snapshot. +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,vkcs}
func (*Snapshot) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Snapshot.
func (*Snapshot) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Snapshot) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Snapshot) GetCondition ¶
func (mg *Snapshot) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Snapshot.
func (*Snapshot) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Snapshot
func (*Snapshot) GetDeletionPolicy ¶
func (mg *Snapshot) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Snapshot.
func (*Snapshot) GetInitParameters ¶
GetInitParameters of this Snapshot
func (*Snapshot) GetManagementPolicies ¶
func (mg *Snapshot) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Snapshot.
func (*Snapshot) GetObservation ¶
GetObservation of this Snapshot
func (*Snapshot) GetParameters ¶
GetParameters of this Snapshot
func (*Snapshot) GetProviderConfigReference ¶
GetProviderConfigReference of this Snapshot.
func (*Snapshot) GetPublishConnectionDetailsTo ¶
func (mg *Snapshot) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Snapshot.
func (*Snapshot) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Snapshot
func (*Snapshot) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Snapshot) GetWriteConnectionSecretToReference ¶
func (mg *Snapshot) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Snapshot.
func (*Snapshot) LateInitialize ¶
LateInitialize this Snapshot using its observed tfState. returns True if there are any spec changes for the resource.
func (*Snapshot) ResolveReferences ¶
ResolveReferences of this Snapshot.
func (*Snapshot) SetConditions ¶
SetConditions of this Snapshot.
func (*Snapshot) SetDeletionPolicy ¶
func (mg *Snapshot) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Snapshot.
func (*Snapshot) SetManagementPolicies ¶
func (mg *Snapshot) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Snapshot.
func (*Snapshot) SetObservation ¶
SetObservation for this Snapshot
func (*Snapshot) SetParameters ¶
SetParameters for this Snapshot
func (*Snapshot) SetProviderConfigReference ¶
SetProviderConfigReference of this Snapshot.
func (*Snapshot) SetPublishConnectionDetailsTo ¶
func (mg *Snapshot) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Snapshot.
func (*Snapshot) SetWriteConnectionSecretToReference ¶
func (mg *Snapshot) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Snapshot.
type SnapshotInitParameters ¶
type SnapshotInitParameters struct {
// optional string → The description of the volume.
// The description of the volume.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// optional boolean → Allows or disallows snapshot of a volume when the volume is attached to an instance.
// Allows or disallows snapshot of a volume when the volume is attached to an instance.
Force *bool `json:"force,omitempty" tf:"force,omitempty"`
// value metadata of the volume.
// Map of key-value metadata of the volume.
Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`
// optional string → The name of the snapshot.
// The name of the snapshot.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// optional string
Region *string `json:"region,omitempty" tf:"region,omitempty"`
}
func (*SnapshotInitParameters) DeepCopy ¶
func (in *SnapshotInitParameters) DeepCopy() *SnapshotInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotInitParameters.
func (*SnapshotInitParameters) DeepCopyInto ¶
func (in *SnapshotInitParameters) DeepCopyInto(out *SnapshotInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotList ¶
type SnapshotList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Snapshot `json:"items"`
}
SnapshotList contains a list of Snapshots
func (*SnapshotList) DeepCopy ¶
func (in *SnapshotList) DeepCopy() *SnapshotList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotList.
func (*SnapshotList) DeepCopyInto ¶
func (in *SnapshotList) DeepCopyInto(out *SnapshotList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SnapshotList) DeepCopyObject ¶
func (in *SnapshotList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SnapshotList) GetItems ¶
func (l *SnapshotList) GetItems() []resource.Managed
GetItems of this SnapshotList.
type SnapshotObservation ¶
type SnapshotObservation struct {
// optional string → The description of the volume.
// The description of the volume.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// optional boolean → Allows or disallows snapshot of a volume when the volume is attached to an instance.
// Allows or disallows snapshot of a volume when the volume is attached to an instance.
Force *bool `json:"force,omitempty" tf:"force,omitempty"`
// string → ID of the resource.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// value metadata of the volume.
// Map of key-value metadata of the volume.
Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`
// optional string → The name of the snapshot.
// The name of the snapshot.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// optional string
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// required string → ID of the volume to create snapshot for. Changing this creates a new snapshot.
// ID of the volume to create snapshot for. Changing this creates a new snapshot.
VolumeID *string `json:"volumeId,omitempty" tf:"volume_id,omitempty"`
}
func (*SnapshotObservation) DeepCopy ¶
func (in *SnapshotObservation) DeepCopy() *SnapshotObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotObservation.
func (*SnapshotObservation) DeepCopyInto ¶
func (in *SnapshotObservation) DeepCopyInto(out *SnapshotObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotParameters ¶
type SnapshotParameters struct {
// optional string → The description of the volume.
// The description of the volume.
// +kubebuilder:validation:Optional
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// optional boolean → Allows or disallows snapshot of a volume when the volume is attached to an instance.
// Allows or disallows snapshot of a volume when the volume is attached to an instance.
// +kubebuilder:validation:Optional
Force *bool `json:"force,omitempty" tf:"force,omitempty"`
// value metadata of the volume.
// Map of key-value metadata of the volume.
// +kubebuilder:validation:Optional
Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`
// optional string → The name of the snapshot.
// The name of the snapshot.
// +kubebuilder:validation:Optional
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// optional string
// +kubebuilder:validation:Optional
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// required string → ID of the volume to create snapshot for. Changing this creates a new snapshot.
// ID of the volume to create snapshot for. Changing this creates a new snapshot.
// +crossplane:generate:reference:type=Volume
// +kubebuilder:validation:Optional
VolumeID *string `json:"volumeId,omitempty" tf:"volume_id,omitempty"`
// Reference to a Volume to populate volumeId.
// +kubebuilder:validation:Optional
VolumeIDRef *v1.Reference `json:"volumeIdRef,omitempty" tf:"-"`
// Selector for a Volume to populate volumeId.
// +kubebuilder:validation:Optional
VolumeIDSelector *v1.Selector `json:"volumeIdSelector,omitempty" tf:"-"`
}
func (*SnapshotParameters) DeepCopy ¶
func (in *SnapshotParameters) DeepCopy() *SnapshotParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotParameters.
func (*SnapshotParameters) DeepCopyInto ¶
func (in *SnapshotParameters) DeepCopyInto(out *SnapshotParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotSpec ¶
type SnapshotSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider SnapshotParameters `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 SnapshotInitParameters `json:"initProvider,omitempty"`
}
SnapshotSpec defines the desired state of Snapshot
func (*SnapshotSpec) DeepCopy ¶
func (in *SnapshotSpec) DeepCopy() *SnapshotSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotSpec.
func (*SnapshotSpec) DeepCopyInto ¶
func (in *SnapshotSpec) DeepCopyInto(out *SnapshotSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotStatus ¶
type SnapshotStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider SnapshotObservation `json:"atProvider,omitempty"`
}
SnapshotStatus defines the observed state of Snapshot.
func (*SnapshotStatus) DeepCopy ¶
func (in *SnapshotStatus) DeepCopy() *SnapshotStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotStatus.
func (*SnapshotStatus) DeepCopyInto ¶
func (in *SnapshotStatus) DeepCopyInto(out *SnapshotStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Volume ¶
type Volume 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.availabilityZone) || (has(self.initProvider) && has(self.initProvider.availabilityZone))",message="spec.forProvider.availabilityZone 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.volumeType) || (has(self.initProvider) && has(self.initProvider.volumeType))",message="spec.forProvider.volumeType is a required parameter"
Spec VolumeSpec `json:"spec"`
Status VolumeStatus `json:"status,omitempty"`
}
Volume is the Schema for the Volumes API. Manages a blockstorage volume. +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,vkcs}
func (*Volume) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Volume.
func (*Volume) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Volume) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Volume) GetCondition ¶
func (mg *Volume) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Volume.
func (*Volume) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Volume
func (*Volume) GetDeletionPolicy ¶
func (mg *Volume) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Volume.
func (*Volume) GetInitParameters ¶
GetInitParameters of this Volume
func (*Volume) GetManagementPolicies ¶
func (mg *Volume) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Volume.
func (*Volume) GetObservation ¶
GetObservation of this Volume
func (*Volume) GetParameters ¶
GetParameters of this Volume
func (*Volume) GetProviderConfigReference ¶
GetProviderConfigReference of this Volume.
func (*Volume) GetPublishConnectionDetailsTo ¶
func (mg *Volume) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Volume.
func (*Volume) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Volume
func (*Volume) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Volume) GetWriteConnectionSecretToReference ¶
func (mg *Volume) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Volume.
func (*Volume) LateInitialize ¶
LateInitialize this Volume using its observed tfState. returns True if there are any spec changes for the resource.
func (*Volume) ResolveReferences ¶
ResolveReferences of this Volume.
func (*Volume) SetConditions ¶
SetConditions of this Volume.
func (*Volume) SetDeletionPolicy ¶
func (mg *Volume) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Volume.
func (*Volume) SetManagementPolicies ¶
func (mg *Volume) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Volume.
func (*Volume) SetObservation ¶
SetObservation for this Volume
func (*Volume) SetParameters ¶
SetParameters for this Volume
func (*Volume) SetProviderConfigReference ¶
SetProviderConfigReference of this Volume.
func (*Volume) SetPublishConnectionDetailsTo ¶
func (mg *Volume) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Volume.
func (*Volume) SetWriteConnectionSecretToReference ¶
func (mg *Volume) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Volume.
type VolumeInitParameters ¶
type VolumeInitParameters struct {
// required string → The name of the availability zone of the volume.
// The name of the availability zone of the volume.
AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`
// optional string → The description of the volume.
// The description of the volume.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// value metadata of the volume.
// Map of key-value metadata of the volume.
Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`
// optional string → The name of the volume.
// The name of the volume.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// optional string → Region to create resource in.
// Region to create resource in.
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// required number → The size of the volume.
// The size of the volume.
Size *float64 `json:"size,omitempty" tf:"size,omitempty"`
// required string → The type of the volume.
// The type of the volume.
VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}
func (*VolumeInitParameters) DeepCopy ¶
func (in *VolumeInitParameters) DeepCopy() *VolumeInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeInitParameters.
func (*VolumeInitParameters) DeepCopyInto ¶
func (in *VolumeInitParameters) DeepCopyInto(out *VolumeInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeList ¶
type VolumeList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Volume `json:"items"`
}
VolumeList contains a list of Volumes
func (*VolumeList) DeepCopy ¶
func (in *VolumeList) DeepCopy() *VolumeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeList.
func (*VolumeList) DeepCopyInto ¶
func (in *VolumeList) DeepCopyInto(out *VolumeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumeList) DeepCopyObject ¶
func (in *VolumeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VolumeList) GetItems ¶
func (l *VolumeList) GetItems() []resource.Managed
GetItems of this VolumeList.
type VolumeObservation ¶
type VolumeObservation struct {
// required string → The name of the availability zone of the volume.
// The name of the availability zone of the volume.
AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`
// optional string → The description of the volume.
// The description of the volume.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// string → ID of the resource.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// optional string → ID of the image to create volume with. Changing this creates a new volume. Only one of snapshot_id, source_volume_id, image_id fields may be set.
// ID of the image to create volume with. Changing this creates a new volume. Only one of snapshot_id, source_volume_id, image_id fields may be set.
ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`
// value metadata of the volume.
// Map of key-value metadata of the volume.
Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`
// optional string → The name of the volume.
// The name of the volume.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// optional string → Region to create resource in.
// Region to create resource in.
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// required number → The size of the volume.
// The size of the volume.
Size *float64 `json:"size,omitempty" tf:"size,omitempty"`
// optional string → ID of the snapshot of volume. Changing this creates a new volume. Only one of snapshot_id, source_volume_id, image_id fields may be set.
// ID of the snapshot of volume. Changing this creates a new volume. Only one of snapshot_id, source_volume_id, image_id fields may be set.
SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`
// optional string → ID of the source volume. Changing this creates a new volume. Only one of snapshot_id, source_volume_id, image_id fields may be set.
// ID of the source volume. Changing this creates a new volume. Only one of snapshot_id, source_volume_id, image_id fields may be set.
SourceVolID *string `json:"sourceVolId,omitempty" tf:"source_vol_id,omitempty"`
// required string → The type of the volume.
// The type of the volume.
VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}
func (*VolumeObservation) DeepCopy ¶
func (in *VolumeObservation) DeepCopy() *VolumeObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeObservation.
func (*VolumeObservation) DeepCopyInto ¶
func (in *VolumeObservation) DeepCopyInto(out *VolumeObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeParameters ¶
type VolumeParameters struct {
// required string → The name of the availability zone of the volume.
// The name of the availability zone of the volume.
// +kubebuilder:validation:Optional
AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`
// optional string → The description of the volume.
// The description of the volume.
// +kubebuilder:validation:Optional
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// optional string → ID of the image to create volume with. Changing this creates a new volume. Only one of snapshot_id, source_volume_id, image_id fields may be set.
// ID of the image to create volume with. Changing this creates a new volume. Only one of snapshot_id, source_volume_id, image_id fields may be set.
// +crossplane:generate:reference:type=Image
// +kubebuilder:validation:Optional
ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`
// Reference to a Image to populate imageId.
// +kubebuilder:validation:Optional
ImageIDRef *v1.Reference `json:"imageIdRef,omitempty" tf:"-"`
// Selector for a Image to populate imageId.
// +kubebuilder:validation:Optional
ImageIDSelector *v1.Selector `json:"imageIdSelector,omitempty" tf:"-"`
// value metadata of the volume.
// Map of key-value metadata of the volume.
// +kubebuilder:validation:Optional
Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`
// optional string → The name of the volume.
// The name of the volume.
// +kubebuilder:validation:Optional
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// optional string → Region to create resource in.
// Region to create resource in.
// +kubebuilder:validation:Optional
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// required number → The size of the volume.
// The size of the volume.
// +kubebuilder:validation:Optional
Size *float64 `json:"size,omitempty" tf:"size,omitempty"`
// optional string → ID of the snapshot of volume. Changing this creates a new volume. Only one of snapshot_id, source_volume_id, image_id fields may be set.
// ID of the snapshot of volume. Changing this creates a new volume. Only one of snapshot_id, source_volume_id, image_id fields may be set.
// +crossplane:generate:reference:type=Snapshot
// +kubebuilder:validation:Optional
SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`
// Reference to a Snapshot to populate snapshotId.
// +kubebuilder:validation:Optional
SnapshotIDRef *v1.Reference `json:"snapshotIdRef,omitempty" tf:"-"`
// Selector for a Snapshot to populate snapshotId.
// +kubebuilder:validation:Optional
SnapshotIDSelector *v1.Selector `json:"snapshotIdSelector,omitempty" tf:"-"`
// optional string → ID of the source volume. Changing this creates a new volume. Only one of snapshot_id, source_volume_id, image_id fields may be set.
// ID of the source volume. Changing this creates a new volume. Only one of snapshot_id, source_volume_id, image_id fields may be set.
// +crossplane:generate:reference:type=Volume
// +kubebuilder:validation:Optional
SourceVolID *string `json:"sourceVolId,omitempty" tf:"source_vol_id,omitempty"`
// Reference to a Volume to populate sourceVolId.
// +kubebuilder:validation:Optional
SourceVolIDRef *v1.Reference `json:"sourceVolIdRef,omitempty" tf:"-"`
// Selector for a Volume to populate sourceVolId.
// +kubebuilder:validation:Optional
SourceVolIDSelector *v1.Selector `json:"sourceVolIdSelector,omitempty" tf:"-"`
// required string → The type of the volume.
// The type of the volume.
// +kubebuilder:validation:Optional
VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}
func (*VolumeParameters) DeepCopy ¶
func (in *VolumeParameters) DeepCopy() *VolumeParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeParameters.
func (*VolumeParameters) DeepCopyInto ¶
func (in *VolumeParameters) DeepCopyInto(out *VolumeParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeSpec ¶
type VolumeSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider VolumeParameters `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 VolumeInitParameters `json:"initProvider,omitempty"`
}
VolumeSpec defines the desired state of Volume
func (*VolumeSpec) DeepCopy ¶
func (in *VolumeSpec) DeepCopy() *VolumeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSpec.
func (*VolumeSpec) DeepCopyInto ¶
func (in *VolumeSpec) DeepCopyInto(out *VolumeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeStatus ¶
type VolumeStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider VolumeObservation `json:"atProvider,omitempty"`
}
VolumeStatus defines the observed state of Volume.
func (*VolumeStatus) DeepCopy ¶
func (in *VolumeStatus) DeepCopy() *VolumeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeStatus.
func (*VolumeStatus) DeepCopyInto ¶
func (in *VolumeStatus) DeepCopyInto(out *VolumeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.