v1alpha1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=images.openstack.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "images.openstack.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 (
	ImageAccessAcceptV2_Kind             = "ImageAccessAcceptV2"
	ImageAccessAcceptV2_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ImageAccessAcceptV2_Kind}.String()
	ImageAccessAcceptV2_KindAPIVersion   = ImageAccessAcceptV2_Kind + "." + CRDGroupVersion.String()
	ImageAccessAcceptV2_GroupVersionKind = CRDGroupVersion.WithKind(ImageAccessAcceptV2_Kind)
)

Repository type metadata.

View Source
var (
	ImageAccessV2_Kind             = "ImageAccessV2"
	ImageAccessV2_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ImageAccessV2_Kind}.String()
	ImageAccessV2_KindAPIVersion   = ImageAccessV2_Kind + "." + CRDGroupVersion.String()
	ImageAccessV2_GroupVersionKind = CRDGroupVersion.WithKind(ImageAccessV2_Kind)
)

Repository type metadata.

View Source
var (
	ImageV2_Kind             = "ImageV2"
	ImageV2_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ImageV2_Kind}.String()
	ImageV2_KindAPIVersion   = ImageV2_Kind + "." + CRDGroupVersion.String()
	ImageV2_GroupVersionKind = CRDGroupVersion.WithKind(ImageV2_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ImageAccessAcceptV2

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

ImageAccessAcceptV2 is the Schema for the ImageAccessAcceptV2s API. Manages a V2 Image membership proposal resource within OpenStack Glance. +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,openstack}

func (*ImageAccessAcceptV2) DeepCopy

func (in *ImageAccessAcceptV2) DeepCopy() *ImageAccessAcceptV2

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

func (*ImageAccessAcceptV2) DeepCopyInto

func (in *ImageAccessAcceptV2) DeepCopyInto(out *ImageAccessAcceptV2)

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

func (*ImageAccessAcceptV2) DeepCopyObject

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

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

func (*ImageAccessAcceptV2) GetCondition

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

GetCondition of this ImageAccessAcceptV2.

func (*ImageAccessAcceptV2) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ImageAccessAcceptV2

func (*ImageAccessAcceptV2) GetDeletionPolicy

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

GetDeletionPolicy of this ImageAccessAcceptV2.

func (*ImageAccessAcceptV2) GetID

func (tr *ImageAccessAcceptV2) GetID() string

GetID returns ID of underlying Terraform resource of this ImageAccessAcceptV2

func (*ImageAccessAcceptV2) GetInitParameters

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

GetInitParameters of this ImageAccessAcceptV2

func (*ImageAccessAcceptV2) GetManagementPolicies

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

GetManagementPolicies of this ImageAccessAcceptV2.

func (*ImageAccessAcceptV2) GetMergedParameters

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

GetInitParameters of this ImageAccessAcceptV2

func (*ImageAccessAcceptV2) GetObservation

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

GetObservation of this ImageAccessAcceptV2

func (*ImageAccessAcceptV2) GetParameters

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

GetParameters of this ImageAccessAcceptV2

func (*ImageAccessAcceptV2) GetProviderConfigReference

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

GetProviderConfigReference of this ImageAccessAcceptV2.

func (*ImageAccessAcceptV2) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ImageAccessAcceptV2.

func (*ImageAccessAcceptV2) GetTerraformResourceType

func (mg *ImageAccessAcceptV2) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ImageAccessAcceptV2

func (*ImageAccessAcceptV2) GetTerraformSchemaVersion

func (tr *ImageAccessAcceptV2) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ImageAccessAcceptV2) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ImageAccessAcceptV2.

func (*ImageAccessAcceptV2) LateInitialize

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

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

func (*ImageAccessAcceptV2) SetConditions

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

SetConditions of this ImageAccessAcceptV2.

func (*ImageAccessAcceptV2) SetDeletionPolicy

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

SetDeletionPolicy of this ImageAccessAcceptV2.

func (*ImageAccessAcceptV2) SetManagementPolicies

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

SetManagementPolicies of this ImageAccessAcceptV2.

func (*ImageAccessAcceptV2) SetObservation

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

SetObservation for this ImageAccessAcceptV2

func (*ImageAccessAcceptV2) SetParameters

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

SetParameters for this ImageAccessAcceptV2

func (*ImageAccessAcceptV2) SetProviderConfigReference

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

SetProviderConfigReference of this ImageAccessAcceptV2.

func (*ImageAccessAcceptV2) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ImageAccessAcceptV2.

func (*ImageAccessAcceptV2) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ImageAccessAcceptV2.

type ImageAccessAcceptV2InitParameters

type ImageAccessAcceptV2InitParameters struct {

	// The proposed image ID.
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

	// The member ID, e.g. the target project ID. Optional
	// for admin accounts. Defaults to the current scope project ID.
	MemberID *string `json:"memberId,omitempty" tf:"member_id,omitempty"`

	// The region in which to obtain the V2 Glance client.
	// A Glance client is needed to manage Image memberships. If omitted, the
	// region argument of the provider is used. Changing this creates a new
	// membership.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The membership proposal status. Can either be
	// accepted, rejected or pending.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*ImageAccessAcceptV2InitParameters) DeepCopy

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

func (*ImageAccessAcceptV2InitParameters) DeepCopyInto

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

type ImageAccessAcceptV2List

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

ImageAccessAcceptV2List contains a list of ImageAccessAcceptV2s

func (*ImageAccessAcceptV2List) DeepCopy

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

func (*ImageAccessAcceptV2List) DeepCopyInto

func (in *ImageAccessAcceptV2List) DeepCopyInto(out *ImageAccessAcceptV2List)

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

func (*ImageAccessAcceptV2List) DeepCopyObject

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

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

func (*ImageAccessAcceptV2List) GetItems

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

GetItems of this ImageAccessAcceptV2List.

type ImageAccessAcceptV2Observation

type ImageAccessAcceptV2Observation struct {

	// The date the image membership was created.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

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

	// The proposed image ID.
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

	// The member ID, e.g. the target project ID. Optional
	// for admin accounts. Defaults to the current scope project ID.
	MemberID *string `json:"memberId,omitempty" tf:"member_id,omitempty"`

	// The region in which to obtain the V2 Glance client.
	// A Glance client is needed to manage Image memberships. If omitted, the
	// region argument of the provider is used. Changing this creates a new
	// membership.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The membership schema.
	Schema *string `json:"schema,omitempty" tf:"schema,omitempty"`

	// The membership proposal status. Can either be
	// accepted, rejected or pending.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// The date the image membership was last updated.
	UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at,omitempty"`
}

func (*ImageAccessAcceptV2Observation) DeepCopy

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

func (*ImageAccessAcceptV2Observation) DeepCopyInto

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

type ImageAccessAcceptV2Parameters

type ImageAccessAcceptV2Parameters struct {

	// The proposed image ID.
	// +kubebuilder:validation:Optional
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

	// The member ID, e.g. the target project ID. Optional
	// for admin accounts. Defaults to the current scope project ID.
	// +kubebuilder:validation:Optional
	MemberID *string `json:"memberId,omitempty" tf:"member_id,omitempty"`

	// The region in which to obtain the V2 Glance client.
	// A Glance client is needed to manage Image memberships. If omitted, the
	// region argument of the provider is used. Changing this creates a new
	// membership.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The membership proposal status. Can either be
	// accepted, rejected or pending.
	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*ImageAccessAcceptV2Parameters) DeepCopy

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

func (*ImageAccessAcceptV2Parameters) DeepCopyInto

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

type ImageAccessAcceptV2Spec

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

ImageAccessAcceptV2Spec defines the desired state of ImageAccessAcceptV2

func (*ImageAccessAcceptV2Spec) DeepCopy

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

func (*ImageAccessAcceptV2Spec) DeepCopyInto

func (in *ImageAccessAcceptV2Spec) DeepCopyInto(out *ImageAccessAcceptV2Spec)

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

type ImageAccessAcceptV2Status

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

ImageAccessAcceptV2Status defines the observed state of ImageAccessAcceptV2.

func (*ImageAccessAcceptV2Status) DeepCopy

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

func (*ImageAccessAcceptV2Status) DeepCopyInto

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

type ImageAccessV2

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

ImageAccessV2 is the Schema for the ImageAccessV2s API. Manages a V2 Image member resource within OpenStack Glance. +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,openstack}

func (*ImageAccessV2) DeepCopy

func (in *ImageAccessV2) DeepCopy() *ImageAccessV2

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

func (*ImageAccessV2) DeepCopyInto

func (in *ImageAccessV2) DeepCopyInto(out *ImageAccessV2)

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

func (*ImageAccessV2) DeepCopyObject

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

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

func (*ImageAccessV2) GetCondition

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

GetCondition of this ImageAccessV2.

func (*ImageAccessV2) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ImageAccessV2

func (*ImageAccessV2) GetDeletionPolicy

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

GetDeletionPolicy of this ImageAccessV2.

func (*ImageAccessV2) GetID

func (tr *ImageAccessV2) GetID() string

GetID returns ID of underlying Terraform resource of this ImageAccessV2

func (*ImageAccessV2) GetInitParameters

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

GetInitParameters of this ImageAccessV2

func (*ImageAccessV2) GetManagementPolicies

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

GetManagementPolicies of this ImageAccessV2.

func (*ImageAccessV2) GetMergedParameters

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

GetInitParameters of this ImageAccessV2

func (*ImageAccessV2) GetObservation

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

GetObservation of this ImageAccessV2

func (*ImageAccessV2) GetParameters

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

GetParameters of this ImageAccessV2

func (*ImageAccessV2) GetProviderConfigReference

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

GetProviderConfigReference of this ImageAccessV2.

func (*ImageAccessV2) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ImageAccessV2.

func (*ImageAccessV2) GetTerraformResourceType

func (mg *ImageAccessV2) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ImageAccessV2

func (*ImageAccessV2) GetTerraformSchemaVersion

func (tr *ImageAccessV2) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ImageAccessV2) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ImageAccessV2.

func (*ImageAccessV2) LateInitialize

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

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

func (*ImageAccessV2) SetConditions

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

SetConditions of this ImageAccessV2.

func (*ImageAccessV2) SetDeletionPolicy

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

SetDeletionPolicy of this ImageAccessV2.

func (*ImageAccessV2) SetManagementPolicies

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

SetManagementPolicies of this ImageAccessV2.

func (*ImageAccessV2) SetObservation

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

SetObservation for this ImageAccessV2

func (*ImageAccessV2) SetParameters

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

SetParameters for this ImageAccessV2

func (*ImageAccessV2) SetProviderConfigReference

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

SetProviderConfigReference of this ImageAccessV2.

func (*ImageAccessV2) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ImageAccessV2.

func (*ImageAccessV2) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ImageAccessV2.

type ImageAccessV2InitParameters

type ImageAccessV2InitParameters struct {

	// The image ID.
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

	// The member ID, e.g. the target project ID.
	MemberID *string `json:"memberId,omitempty" tf:"member_id,omitempty"`

	// The region in which to obtain the V2 Glance client.
	// A Glance client is needed to manage Image members. If omitted, the region
	// argument of the provider is used. Changing this creates a new resource.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The member proposal status. Optional if admin wants to
	// force the member proposal acceptance. Can either be accepted, rejected or
	// pending. Defaults to pending. Foridden for non-admin users.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*ImageAccessV2InitParameters) DeepCopy

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

func (*ImageAccessV2InitParameters) DeepCopyInto

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

type ImageAccessV2List

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

ImageAccessV2List contains a list of ImageAccessV2s

func (*ImageAccessV2List) DeepCopy

func (in *ImageAccessV2List) DeepCopy() *ImageAccessV2List

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

func (*ImageAccessV2List) DeepCopyInto

func (in *ImageAccessV2List) DeepCopyInto(out *ImageAccessV2List)

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

func (*ImageAccessV2List) DeepCopyObject

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

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

func (*ImageAccessV2List) GetItems

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

GetItems of this ImageAccessV2List.

type ImageAccessV2Observation

type ImageAccessV2Observation struct {

	// The date the image access was created.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

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

	// The image ID.
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

	// The member ID, e.g. the target project ID.
	MemberID *string `json:"memberId,omitempty" tf:"member_id,omitempty"`

	// The region in which to obtain the V2 Glance client.
	// A Glance client is needed to manage Image members. If omitted, the region
	// argument of the provider is used. Changing this creates a new resource.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The member schema.
	Schema *string `json:"schema,omitempty" tf:"schema,omitempty"`

	// The member proposal status. Optional if admin wants to
	// force the member proposal acceptance. Can either be accepted, rejected or
	// pending. Defaults to pending. Foridden for non-admin users.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// The date the image access was last updated.
	UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at,omitempty"`
}

func (*ImageAccessV2Observation) DeepCopy

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

func (*ImageAccessV2Observation) DeepCopyInto

func (in *ImageAccessV2Observation) DeepCopyInto(out *ImageAccessV2Observation)

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

type ImageAccessV2Parameters

type ImageAccessV2Parameters struct {

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

	// The member ID, e.g. the target project ID.
	// +kubebuilder:validation:Optional
	MemberID *string `json:"memberId,omitempty" tf:"member_id,omitempty"`

	// The region in which to obtain the V2 Glance client.
	// A Glance client is needed to manage Image members. If omitted, the region
	// argument of the provider is used. Changing this creates a new resource.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The member proposal status. Optional if admin wants to
	// force the member proposal acceptance. Can either be accepted, rejected or
	// pending. Defaults to pending. Foridden for non-admin users.
	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*ImageAccessV2Parameters) DeepCopy

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

func (*ImageAccessV2Parameters) DeepCopyInto

func (in *ImageAccessV2Parameters) DeepCopyInto(out *ImageAccessV2Parameters)

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

type ImageAccessV2Spec

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

ImageAccessV2Spec defines the desired state of ImageAccessV2

func (*ImageAccessV2Spec) DeepCopy

func (in *ImageAccessV2Spec) DeepCopy() *ImageAccessV2Spec

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

func (*ImageAccessV2Spec) DeepCopyInto

func (in *ImageAccessV2Spec) DeepCopyInto(out *ImageAccessV2Spec)

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

type ImageAccessV2Status

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

ImageAccessV2Status defines the observed state of ImageAccessV2.

func (*ImageAccessV2Status) DeepCopy

func (in *ImageAccessV2Status) DeepCopy() *ImageAccessV2Status

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

func (*ImageAccessV2Status) DeepCopyInto

func (in *ImageAccessV2Status) DeepCopyInto(out *ImageAccessV2Status)

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

type ImageV2

type ImageV2 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   ImageV2Spec   `json:"spec"`
	Status ImageV2Status `json:"status,omitempty"`
}

ImageV2 is the Schema for the ImageV2s API. Manages a V2 Image resource within OpenStack Glance. +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,openstack}

func (*ImageV2) DeepCopy

func (in *ImageV2) DeepCopy() *ImageV2

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

func (*ImageV2) DeepCopyInto

func (in *ImageV2) DeepCopyInto(out *ImageV2)

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

func (*ImageV2) DeepCopyObject

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

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

func (*ImageV2) GetCondition

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

GetCondition of this ImageV2.

func (*ImageV2) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ImageV2

func (*ImageV2) GetDeletionPolicy

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

GetDeletionPolicy of this ImageV2.

func (*ImageV2) GetID

func (tr *ImageV2) GetID() string

GetID returns ID of underlying Terraform resource of this ImageV2

func (*ImageV2) GetInitParameters

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

GetInitParameters of this ImageV2

func (*ImageV2) GetManagementPolicies

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

GetManagementPolicies of this ImageV2.

func (*ImageV2) GetMergedParameters

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

GetInitParameters of this ImageV2

func (*ImageV2) GetObservation

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

GetObservation of this ImageV2

func (*ImageV2) GetParameters

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

GetParameters of this ImageV2

func (*ImageV2) GetProviderConfigReference

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

GetProviderConfigReference of this ImageV2.

func (*ImageV2) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ImageV2.

func (*ImageV2) GetTerraformResourceType

func (mg *ImageV2) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ImageV2

func (*ImageV2) GetTerraformSchemaVersion

func (tr *ImageV2) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ImageV2) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ImageV2.

func (*ImageV2) LateInitialize

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

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

func (*ImageV2) SetConditions

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

SetConditions of this ImageV2.

func (*ImageV2) SetDeletionPolicy

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

SetDeletionPolicy of this ImageV2.

func (*ImageV2) SetManagementPolicies

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

SetManagementPolicies of this ImageV2.

func (*ImageV2) SetObservation

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

SetObservation for this ImageV2

func (*ImageV2) SetParameters

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

SetParameters for this ImageV2

func (*ImageV2) SetProviderConfigReference

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

SetProviderConfigReference of this ImageV2.

func (*ImageV2) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ImageV2.

func (*ImageV2) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ImageV2.

type ImageV2InitParameters

type ImageV2InitParameters struct {

	// The container format. Must be one of
	// "ami", "ari", "aki", "bare", "ovf".
	ContainerFormat *string `json:"containerFormat,omitempty" tf:"container_format,omitempty"`

	// If true, this provider will decompress downloaded
	// image before uploading it to OpenStack. Decompression algorithm is chosen by
	// checking "Content-Type" header, supported algorithm are: gzip, bzip2 and xz.
	// Defaults to false. Changing this creates a new Image.
	Decompress *bool `json:"decompress,omitempty" tf:"decompress,omitempty"`

	// The disk format. Must be one of
	// "ami", "ari", "aki", "vhd", "vmdk", "raw", "qcow2", "vdi", "iso".
	DiskFormat *string `json:"diskFormat,omitempty" tf:"disk_format,omitempty"`

	// If true, image will be hidden from public list.
	// Defaults to false.
	Hidden *bool `json:"hidden,omitempty" tf:"hidden,omitempty"`

	// 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/
	ImageCachePath *string `json:"imageCachePath,omitempty" tf:"image_cache_path,omitempty"`

	// Unique ID (valid UUID) of image to create. Changing
	// this creates a new image.
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

	// This is the url of the raw image. If web_download
	// is not used, then the image will be downloaded in the image_cache_path before
	// being uploaded to Glance.
	// Conflicts with local_file_path.
	ImageSourceURL *string `json:"imageSourceUrl,omitempty" tf:"image_source_url,omitempty"`

	// The username of basic auth to download image_source_url.
	ImageSourceUsername *string `json:"imageSourceUsername,omitempty" tf:"image_source_username,omitempty"`

	// This is the filepath of the raw image file
	// that will be uploaded to Glance. Conflicts with image_source_url and
	// web_download.
	LocalFilePath *string `json:"localFilePath,omitempty" tf:"local_file_path,omitempty"`

	// Amount of disk space (in GB) required to boot image.
	// Defaults to 0.
	MinDiskGb *float64 `json:"minDiskGb,omitempty" tf:"min_disk_gb,omitempty"`

	// Amount of ram (in MB) required to boot image.
	// Defauts to 0.
	MinRAMMb *float64 `json:"minRamMb,omitempty" tf:"min_ram_mb,omitempty"`

	// The name of the image.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// 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"`

	// If true, image will not be deletable.
	// Defaults to false.
	Protected *bool `json:"protected,omitempty" tf:"protected,omitempty"`

	// The region in which to obtain the V2 Glance client.
	// A Glance 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"`

	// 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"`

	// If false, the checksum will not be verified
	// once the image is finished uploading. Conflicts with web_download.
	// Defaults to true when not using web_download.
	VerifyChecksum *bool `json:"verifyChecksum,omitempty" tf:"verify_checksum,omitempty"`

	// The visibility of the image. Must be one of
	// "public", "private", "community", or "shared". The ability to set the
	// visibility depends upon the configuration of the OpenStack cloud.
	Visibility *string `json:"visibility,omitempty" tf:"visibility,omitempty"`

	// If true, the "web-download" import method will
	// be used to let Openstack download the image directly from the remote source.
	// Conflicts with local_file_path. Defaults to false.
	WebDownload *bool `json:"webDownload,omitempty" tf:"web_download,omitempty"`
}

func (*ImageV2InitParameters) DeepCopy

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

func (*ImageV2InitParameters) DeepCopyInto

func (in *ImageV2InitParameters) DeepCopyInto(out *ImageV2InitParameters)

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

type ImageV2List

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

ImageV2List contains a list of ImageV2s

func (*ImageV2List) DeepCopy

func (in *ImageV2List) DeepCopy() *ImageV2List

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

func (*ImageV2List) DeepCopyInto

func (in *ImageV2List) DeepCopyInto(out *ImageV2List)

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

func (*ImageV2List) DeepCopyObject

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

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

func (*ImageV2List) GetItems

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

GetItems of this ImageV2List.

type ImageV2Observation

type ImageV2Observation struct {

	// The checksum of the data associated with the image.
	Checksum *string `json:"checksum,omitempty" tf:"checksum,omitempty"`

	// The container format. Must be one of
	// "ami", "ari", "aki", "bare", "ovf".
	ContainerFormat *string `json:"containerFormat,omitempty" tf:"container_format,omitempty"`

	// The date the image was created.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// If true, this provider will decompress downloaded
	// image before uploading it to OpenStack. Decompression algorithm is chosen by
	// checking "Content-Type" header, supported algorithm are: gzip, bzip2 and xz.
	// Defaults to false. Changing this creates a new Image.
	Decompress *bool `json:"decompress,omitempty" tf:"decompress,omitempty"`

	// The disk format. Must be one of
	// "ami", "ari", "aki", "vhd", "vmdk", "raw", "qcow2", "vdi", "iso".
	DiskFormat *string `json:"diskFormat,omitempty" tf:"disk_format,omitempty"`

	// the trailing path after the glance
	// endpoint that represent the location of the image
	// or the path to retrieve it.
	File *string `json:"file,omitempty" tf:"file,omitempty"`

	// If true, image will be hidden from public list.
	// Defaults to false.
	Hidden *bool `json:"hidden,omitempty" tf:"hidden,omitempty"`

	// A unique ID assigned by Glance.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// 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/
	ImageCachePath *string `json:"imageCachePath,omitempty" tf:"image_cache_path,omitempty"`

	// Unique ID (valid UUID) of image to create. Changing
	// this creates a new image.
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

	// This is the url of the raw image. If web_download
	// is not used, then the image will be downloaded in the image_cache_path before
	// being uploaded to Glance.
	// Conflicts with local_file_path.
	ImageSourceURL *string `json:"imageSourceUrl,omitempty" tf:"image_source_url,omitempty"`

	// The username of basic auth to download image_source_url.
	ImageSourceUsername *string `json:"imageSourceUsername,omitempty" tf:"image_source_username,omitempty"`

	// This is the filepath of the raw image file
	// that will be uploaded to Glance. Conflicts with image_source_url and
	// web_download.
	LocalFilePath *string `json:"localFilePath,omitempty" tf:"local_file_path,omitempty"`

	// 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"`

	// Amount of disk space (in GB) required to boot image.
	// Defaults to 0.
	MinDiskGb *float64 `json:"minDiskGb,omitempty" tf:"min_disk_gb,omitempty"`

	// Amount of ram (in MB) required to boot image.
	// Defauts to 0.
	MinRAMMb *float64 `json:"minRamMb,omitempty" tf:"min_ram_mb,omitempty"`

	// The name of the image.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The id of the openstack user who owns the image.
	Owner *string `json:"owner,omitempty" tf:"owner,omitempty"`

	// 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"`

	// If true, image will not be deletable.
	// Defaults to false.
	Protected *bool `json:"protected,omitempty" tf:"protected,omitempty"`

	// The region in which to obtain the V2 Glance client.
	// A Glance 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"`

	// The path to the JSON-schema that represent
	// the image or image
	Schema *string `json:"schema,omitempty" tf:"schema,omitempty"`

	// The size in bytes of the data associated with the image.
	SizeBytes *float64 `json:"sizeBytes,omitempty" tf:"size_bytes,omitempty"`

	// The status of the image. It can be "queued", "active"
	// or "saving".
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// 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"`

	// (Deprecated - use updated_at instead)
	UpdateAt *string `json:"updateAt,omitempty" tf:"update_at,omitempty"`

	// The date the image was last updated.
	UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at,omitempty"`

	// If false, the checksum will not be verified
	// once the image is finished uploading. Conflicts with web_download.
	// Defaults to true when not using web_download.
	VerifyChecksum *bool `json:"verifyChecksum,omitempty" tf:"verify_checksum,omitempty"`

	// The visibility of the image. Must be one of
	// "public", "private", "community", or "shared". The ability to set the
	// visibility depends upon the configuration of the OpenStack cloud.
	Visibility *string `json:"visibility,omitempty" tf:"visibility,omitempty"`

	// If true, the "web-download" import method will
	// be used to let Openstack download the image directly from the remote source.
	// Conflicts with local_file_path. Defaults to false.
	WebDownload *bool `json:"webDownload,omitempty" tf:"web_download,omitempty"`
}

func (*ImageV2Observation) DeepCopy

func (in *ImageV2Observation) DeepCopy() *ImageV2Observation

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

func (*ImageV2Observation) DeepCopyInto

func (in *ImageV2Observation) DeepCopyInto(out *ImageV2Observation)

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

type ImageV2Parameters

type ImageV2Parameters struct {

	// The container format. Must be one of
	// "ami", "ari", "aki", "bare", "ovf".
	// +kubebuilder:validation:Optional
	ContainerFormat *string `json:"containerFormat,omitempty" tf:"container_format,omitempty"`

	// If true, this provider will decompress downloaded
	// image before uploading it to OpenStack. Decompression algorithm is chosen by
	// checking "Content-Type" header, supported algorithm are: gzip, bzip2 and xz.
	// Defaults to false. Changing this creates a new Image.
	// +kubebuilder:validation:Optional
	Decompress *bool `json:"decompress,omitempty" tf:"decompress,omitempty"`

	// The disk format. Must be one of
	// "ami", "ari", "aki", "vhd", "vmdk", "raw", "qcow2", "vdi", "iso".
	// +kubebuilder:validation:Optional
	DiskFormat *string `json:"diskFormat,omitempty" tf:"disk_format,omitempty"`

	// If true, image will be hidden from public list.
	// Defaults to false.
	// +kubebuilder:validation:Optional
	Hidden *bool `json:"hidden,omitempty" tf:"hidden,omitempty"`

	// 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/
	// +kubebuilder:validation:Optional
	ImageCachePath *string `json:"imageCachePath,omitempty" tf:"image_cache_path,omitempty"`

	// Unique ID (valid UUID) of image to create. Changing
	// this creates a new image.
	// +kubebuilder:validation:Optional
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

	// The password of basic auth to download image_source_url.
	// +kubebuilder:validation:Optional
	ImageSourcePasswordSecretRef *v1.SecretKeySelector `json:"imageSourcePasswordSecretRef,omitempty" tf:"-"`

	// This is the url of the raw image. If web_download
	// is not used, then the image will be downloaded in the image_cache_path before
	// being uploaded to Glance.
	// Conflicts with local_file_path.
	// +kubebuilder:validation:Optional
	ImageSourceURL *string `json:"imageSourceUrl,omitempty" tf:"image_source_url,omitempty"`

	// The username of basic auth to download image_source_url.
	// +kubebuilder:validation:Optional
	ImageSourceUsername *string `json:"imageSourceUsername,omitempty" tf:"image_source_username,omitempty"`

	// This is the filepath of the raw image file
	// that will be uploaded to Glance. Conflicts with image_source_url and
	// web_download.
	// +kubebuilder:validation:Optional
	LocalFilePath *string `json:"localFilePath,omitempty" tf:"local_file_path,omitempty"`

	// Amount of disk space (in GB) required to boot image.
	// Defaults to 0.
	// +kubebuilder:validation:Optional
	MinDiskGb *float64 `json:"minDiskGb,omitempty" tf:"min_disk_gb,omitempty"`

	// Amount of ram (in MB) required to boot image.
	// Defauts to 0.
	// +kubebuilder:validation:Optional
	MinRAMMb *float64 `json:"minRamMb,omitempty" tf:"min_ram_mb,omitempty"`

	// The name of the image.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// 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"`

	// If true, image will not be deletable.
	// Defaults to false.
	// +kubebuilder:validation:Optional
	Protected *bool `json:"protected,omitempty" tf:"protected,omitempty"`

	// The region in which to obtain the V2 Glance client.
	// A Glance 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"`

	// 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"`

	// If false, the checksum will not be verified
	// once the image is finished uploading. Conflicts with web_download.
	// Defaults to true when not using web_download.
	// +kubebuilder:validation:Optional
	VerifyChecksum *bool `json:"verifyChecksum,omitempty" tf:"verify_checksum,omitempty"`

	// The visibility of the image. Must be one of
	// "public", "private", "community", or "shared". The ability to set the
	// visibility depends upon the configuration of the OpenStack cloud.
	// +kubebuilder:validation:Optional
	Visibility *string `json:"visibility,omitempty" tf:"visibility,omitempty"`

	// If true, the "web-download" import method will
	// be used to let Openstack download the image directly from the remote source.
	// Conflicts with local_file_path. Defaults to false.
	// +kubebuilder:validation:Optional
	WebDownload *bool `json:"webDownload,omitempty" tf:"web_download,omitempty"`
}

func (*ImageV2Parameters) DeepCopy

func (in *ImageV2Parameters) DeepCopy() *ImageV2Parameters

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

func (*ImageV2Parameters) DeepCopyInto

func (in *ImageV2Parameters) DeepCopyInto(out *ImageV2Parameters)

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

type ImageV2Spec

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

ImageV2Spec defines the desired state of ImageV2

func (*ImageV2Spec) DeepCopy

func (in *ImageV2Spec) DeepCopy() *ImageV2Spec

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

func (*ImageV2Spec) DeepCopyInto

func (in *ImageV2Spec) DeepCopyInto(out *ImageV2Spec)

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

type ImageV2Status

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

ImageV2Status defines the observed state of ImageV2.

func (*ImageV2Status) DeepCopy

func (in *ImageV2Status) DeepCopy() *ImageV2Status

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

func (*ImageV2Status) DeepCopyInto

func (in *ImageV2Status) DeepCopyInto(out *ImageV2Status)

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