v1alpha1

package
v0.0.0-...-fe0687e Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "object.vultr.upbound.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 (
	Storage_Kind             = "Storage"
	Storage_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Storage_Kind}.String()
	Storage_KindAPIVersion   = Storage_Kind + "." + CRDGroupVersion.String()
	Storage_GroupVersionKind = CRDGroupVersion.WithKind(Storage_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Storage

type Storage struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              StorageSpec   `json:"spec"`
	Status            StorageStatus `json:"status,omitempty"`
}

Storage is the Schema for the Storages API. Provides a Vultr private object storage resource. This can be used to create, read, update and delete object storage resources on your Vultr account. +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,vultr}

func (*Storage) DeepCopy

func (in *Storage) DeepCopy() *Storage

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

func (*Storage) DeepCopyInto

func (in *Storage) DeepCopyInto(out *Storage)

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

func (*Storage) DeepCopyObject

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

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

func (*Storage) GetCondition

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

GetCondition of this Storage.

func (*Storage) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Storage

func (*Storage) GetDeletionPolicy

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

GetDeletionPolicy of this Storage.

func (*Storage) GetID

func (tr *Storage) GetID() string

GetID returns ID of underlying Terraform resource of this Storage

func (*Storage) GetObservation

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

GetObservation of this Storage

func (*Storage) GetParameters

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

GetParameters of this Storage

func (*Storage) GetProviderConfigReference

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

GetProviderConfigReference of this Storage.

func (*Storage) GetProviderReference

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

GetProviderReference of this Storage. Deprecated: Use GetProviderConfigReference.

func (*Storage) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Storage.

func (*Storage) GetTerraformResourceType

func (mg *Storage) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Storage

func (*Storage) GetTerraformSchemaVersion

func (tr *Storage) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Storage) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Storage.

func (*Storage) LateInitialize

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

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

func (*Storage) SetConditions

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

SetConditions of this Storage.

func (*Storage) SetDeletionPolicy

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

SetDeletionPolicy of this Storage.

func (*Storage) SetObservation

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

SetObservation for this Storage

func (*Storage) SetParameters

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

SetParameters for this Storage

func (*Storage) SetProviderConfigReference

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

SetProviderConfigReference of this Storage.

func (*Storage) SetProviderReference

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

SetProviderReference of this Storage. Deprecated: Use SetProviderConfigReference.

func (*Storage) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Storage.

func (*Storage) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Storage.

type StorageList

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

StorageList contains a list of Storages

func (*StorageList) DeepCopy

func (in *StorageList) DeepCopy() *StorageList

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

func (*StorageList) DeepCopyInto

func (in *StorageList) DeepCopyInto(out *StorageList)

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

func (*StorageList) DeepCopyObject

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

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

func (*StorageList) GetItems

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

GetItems of this StorageList.

type StorageObservation

type StorageObservation struct {

	// Date of creation for the object storage subscription.
	DateCreated *string `json:"dateCreated,omitempty" tf:"date_created,omitempty"`

	// The id of the object storage subscription.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The location which this subscription resides in.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The region ID of the object storage subscription.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The hostname for this subscription.
	S3Hostname *string `json:"s3Hostname,omitempty" tf:"s3_hostname,omitempty"`

	// Current status of this object storage subscription.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*StorageObservation) DeepCopy

func (in *StorageObservation) DeepCopy() *StorageObservation

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

func (*StorageObservation) DeepCopyInto

func (in *StorageObservation) DeepCopyInto(out *StorageObservation)

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

type StorageParameters

type StorageParameters struct {

	// The region ID that you want the network to be created in.
	// +kubebuilder:validation:Required
	ClusterID *float64 `json:"clusterId" tf:"cluster_id,omitempty"`

	// The description you want to give your network.
	// +kubebuilder:validation:Optional
	Label *string `json:"label,omitempty" tf:"label,omitempty"`
}

func (*StorageParameters) DeepCopy

func (in *StorageParameters) DeepCopy() *StorageParameters

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

func (*StorageParameters) DeepCopyInto

func (in *StorageParameters) DeepCopyInto(out *StorageParameters)

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

type StorageSpec

type StorageSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     StorageParameters `json:"forProvider"`
}

StorageSpec defines the desired state of Storage

func (*StorageSpec) DeepCopy

func (in *StorageSpec) DeepCopy() *StorageSpec

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

func (*StorageSpec) DeepCopyInto

func (in *StorageSpec) DeepCopyInto(out *StorageSpec)

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

type StorageStatus

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

StorageStatus defines the observed state of Storage.

func (*StorageStatus) DeepCopy

func (in *StorageStatus) DeepCopy() *StorageStatus

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

func (*StorageStatus) DeepCopyInto

func (in *StorageStatus) DeepCopyInto(out *StorageStatus)

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