v1alpha1

package
v0.0.0-...-5e84970 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=objectstorage.openstack.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "objectstorage.openstack.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	ContainerV1_Kind             = "ContainerV1"
	ContainerV1_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ContainerV1_Kind}.String()
	ContainerV1_KindAPIVersion   = ContainerV1_Kind + "." + CRDGroupVersion.String()
	ContainerV1_GroupVersionKind = CRDGroupVersion.WithKind(ContainerV1_Kind)
)

Repository type metadata.

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
)

Functions

This section is empty.

Types

type ContainerV1

type ContainerV1 struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ContainerV1Spec   `json:"spec"`
	Status            ContainerV1Status `json:"status,omitempty"`
}

ContainerV1 is the Schema for the ContainerV1s API. Manages a V1 container resource within OpenStack. +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 (*ContainerV1) DeepCopy

func (in *ContainerV1) DeepCopy() *ContainerV1

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

func (*ContainerV1) DeepCopyInto

func (in *ContainerV1) DeepCopyInto(out *ContainerV1)

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

func (*ContainerV1) DeepCopyObject

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

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

func (*ContainerV1) GetCondition

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

GetCondition of this ContainerV1.

func (*ContainerV1) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ContainerV1

func (*ContainerV1) GetDeletionPolicy

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

GetDeletionPolicy of this ContainerV1.

func (*ContainerV1) GetID

func (tr *ContainerV1) GetID() string

GetID returns ID of underlying Terraform resource of this ContainerV1

func (*ContainerV1) GetManagementPolicies

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

GetManagementPolicies of this ContainerV1.

func (*ContainerV1) GetObservation

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

GetObservation of this ContainerV1

func (*ContainerV1) GetParameters

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

GetParameters of this ContainerV1

func (*ContainerV1) GetProviderConfigReference

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

GetProviderConfigReference of this ContainerV1.

func (*ContainerV1) GetProviderReference

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

GetProviderReference of this ContainerV1. Deprecated: Use GetProviderConfigReference.

func (*ContainerV1) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ContainerV1.

func (*ContainerV1) GetTerraformResourceType

func (mg *ContainerV1) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ContainerV1

func (*ContainerV1) GetTerraformSchemaVersion

func (tr *ContainerV1) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ContainerV1) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ContainerV1.

func (*ContainerV1) LateInitialize

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

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

func (*ContainerV1) SetConditions

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

SetConditions of this ContainerV1.

func (*ContainerV1) SetDeletionPolicy

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

SetDeletionPolicy of this ContainerV1.

func (*ContainerV1) SetManagementPolicies

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

SetManagementPolicies of this ContainerV1.

func (*ContainerV1) SetObservation

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

SetObservation for this ContainerV1

func (*ContainerV1) SetParameters

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

SetParameters for this ContainerV1

func (*ContainerV1) SetProviderConfigReference

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

SetProviderConfigReference of this ContainerV1.

func (*ContainerV1) SetProviderReference

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

SetProviderReference of this ContainerV1. Deprecated: Use SetProviderConfigReference.

func (*ContainerV1) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ContainerV1.

func (*ContainerV1) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ContainerV1.

type ContainerV1List

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

ContainerV1List contains a list of ContainerV1s

func (*ContainerV1List) DeepCopy

func (in *ContainerV1List) DeepCopy() *ContainerV1List

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

func (*ContainerV1List) DeepCopyInto

func (in *ContainerV1List) DeepCopyInto(out *ContainerV1List)

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

func (*ContainerV1List) DeepCopyObject

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

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

func (*ContainerV1List) GetItems

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

GetItems of this ContainerV1List.

type ContainerV1Observation

type ContainerV1Observation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*ContainerV1Observation) DeepCopy

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

func (*ContainerV1Observation) DeepCopyInto

func (in *ContainerV1Observation) DeepCopyInto(out *ContainerV1Observation)

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

type ContainerV1Parameters

type ContainerV1Parameters struct {

	// Sets an access control list (ACL) that grants
	// read access. This header can contain a comma-delimited list of users that
	// can read the container (allows the GET method for all objects in the
	// container). Changing this updates the access control list read access.
	// +kubebuilder:validation:Optional
	ContainerRead *string `json:"containerRead,omitempty" tf:"container_read,omitempty"`

	// The secret key for container synchronization.
	// Changing this updates container synchronization.
	// +kubebuilder:validation:Optional
	ContainerSyncKey *string `json:"containerSyncKey,omitempty" tf:"container_sync_key,omitempty"`

	// The destination for container synchronization.
	// Changing this updates container synchronization.
	// +kubebuilder:validation:Optional
	ContainerSyncTo *string `json:"containerSyncTo,omitempty" tf:"container_sync_to,omitempty"`

	// Sets an ACL that grants write access.
	// Changing this updates the access control list write access.
	// +kubebuilder:validation:Optional
	ContainerWrite *string `json:"containerWrite,omitempty" tf:"container_write,omitempty"`

	// The MIME type for the container. Changing this
	// updates the MIME type.
	// +kubebuilder:validation:Optional
	ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`

	// A boolean that indicates all objects should be deleted from the container so that the container can be destroyed without error. These objects are not recoverable.
	// +kubebuilder:validation:Optional
	ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,omitempty"`

	// Custom key/value pairs to associate with the container.
	// Changing this updates the existing container metadata.
	// +kubebuilder:validation:Optional
	Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// A unique name for the container. Changing this creates a
	// new container.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The region in which to create the container. If
	// omitted, the region argument of the provider is used. Changing this
	// creates a new container.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The storage policy to be used for the container.
	// Changing this creates a new container.
	// +kubebuilder:validation:Optional
	StoragePolicy *string `json:"storagePolicy,omitempty" tf:"storage_policy,omitempty"`

	// A boolean that can enable or disable object
	// versioning. The default value is false. To use this feature, your Swift
	// version must be 2.24 or higher (as described in the OpenStack Swift Ussuri release notes),
	// and a cloud administrator must have set the allow_object_versioning = true
	// configuration option in Swift. If you cannot set this versioning type, you may
	// want to consider using versioning_legacy instead.
	// +kubebuilder:validation:Optional
	Versioning *bool `json:"versioning,omitempty" tf:"versioning,omitempty"`

	// (Deprecated) Enable legacy object versioning. The structure is described below.
	// +kubebuilder:validation:Optional
	VersioningLegacy []VersioningLegacyParameters `json:"versioningLegacy,omitempty" tf:"versioning_legacy,omitempty"`
}

func (*ContainerV1Parameters) DeepCopy

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

func (*ContainerV1Parameters) DeepCopyInto

func (in *ContainerV1Parameters) DeepCopyInto(out *ContainerV1Parameters)

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

type ContainerV1Spec

type ContainerV1Spec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ContainerV1Parameters `json:"forProvider"`
}

ContainerV1Spec defines the desired state of ContainerV1

func (*ContainerV1Spec) DeepCopy

func (in *ContainerV1Spec) DeepCopy() *ContainerV1Spec

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

func (*ContainerV1Spec) DeepCopyInto

func (in *ContainerV1Spec) DeepCopyInto(out *ContainerV1Spec)

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

type ContainerV1Status

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

ContainerV1Status defines the observed state of ContainerV1.

func (*ContainerV1Status) DeepCopy

func (in *ContainerV1Status) DeepCopy() *ContainerV1Status

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

func (*ContainerV1Status) DeepCopyInto

func (in *ContainerV1Status) DeepCopyInto(out *ContainerV1Status)

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

type VersioningLegacyObservation

type VersioningLegacyObservation struct {
}

func (*VersioningLegacyObservation) DeepCopy

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

func (*VersioningLegacyObservation) DeepCopyInto

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

type VersioningLegacyParameters

type VersioningLegacyParameters struct {

	// Container in which versions will be stored.
	// +kubebuilder:validation:Required
	Location *string `json:"location" tf:"location,omitempty"`

	// Versioning type which can be versions or history according to Openstack documentation.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*VersioningLegacyParameters) DeepCopy

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

func (*VersioningLegacyParameters) DeepCopyInto

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL