v1alpha1

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=backup.jet-palette.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "backup.jet-palette.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 (
	StorageLocation_Kind             = "StorageLocation"
	StorageLocation_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: StorageLocation_Kind}.String()
	StorageLocation_KindAPIVersion   = StorageLocation_Kind + "." + CRDGroupVersion.String()
	StorageLocation_GroupVersionKind = CRDGroupVersion.WithKind(StorageLocation_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type S3Observation

type S3Observation struct {
}

func (*S3Observation) DeepCopy

func (in *S3Observation) DeepCopy() *S3Observation

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

func (*S3Observation) DeepCopyInto

func (in *S3Observation) DeepCopyInto(out *S3Observation)

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

type S3Parameters

type S3Parameters struct {

	// +kubebuilder:validation:Optional
	AccessKey *string `json:"accessKey,omitempty" tf:"access_key,omitempty"`

	// +kubebuilder:validation:Optional
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// +kubebuilder:validation:Required
	CredentialType *string `json:"credentialType" tf:"credential_type,omitempty"`

	// +kubebuilder:validation:Optional
	ExternalID *string `json:"externalId,omitempty" tf:"external_id,omitempty"`

	// +kubebuilder:validation:Optional
	S3ForcePathStyle *bool `json:"s3ForcePathStyle,omitempty" tf:"s3_force_path_style,omitempty"`

	// +kubebuilder:validation:Optional
	S3URL *string `json:"s3Url,omitempty" tf:"s3_url,omitempty"`

	// +kubebuilder:validation:Optional
	SecretKey *string `json:"secretKey,omitempty" tf:"secret_key,omitempty"`
}

func (*S3Parameters) DeepCopy

func (in *S3Parameters) DeepCopy() *S3Parameters

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

func (*S3Parameters) DeepCopyInto

func (in *S3Parameters) DeepCopyInto(out *S3Parameters)

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

type StorageLocation

type StorageLocation struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              StorageLocationSpec   `json:"spec"`
	Status            StorageLocationStatus `json:"status,omitempty"`
}

StorageLocation is the Schema for the StorageLocations API. <no value> +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,jet-palette}

func (*StorageLocation) DeepCopy

func (in *StorageLocation) DeepCopy() *StorageLocation

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

func (*StorageLocation) DeepCopyInto

func (in *StorageLocation) DeepCopyInto(out *StorageLocation)

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

func (*StorageLocation) DeepCopyObject

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

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

func (*StorageLocation) GetCondition

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

GetCondition of this StorageLocation.

func (*StorageLocation) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this StorageLocation

func (*StorageLocation) GetDeletionPolicy

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

GetDeletionPolicy of this StorageLocation.

func (*StorageLocation) GetID

func (tr *StorageLocation) GetID() string

GetID returns ID of underlying Terraform resource of this StorageLocation

func (*StorageLocation) GetObservation

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

GetObservation of this StorageLocation

func (*StorageLocation) GetParameters

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

GetParameters of this StorageLocation

func (*StorageLocation) GetProviderConfigReference

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

GetProviderConfigReference of this StorageLocation.

func (*StorageLocation) GetProviderReference

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

GetProviderReference of this StorageLocation. Deprecated: Use GetProviderConfigReference.

func (*StorageLocation) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this StorageLocation.

func (*StorageLocation) GetTerraformResourceType

func (mg *StorageLocation) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this StorageLocation

func (*StorageLocation) GetTerraformSchemaVersion

func (tr *StorageLocation) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*StorageLocation) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this StorageLocation.

func (*StorageLocation) LateInitialize

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

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

func (*StorageLocation) SetConditions

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

SetConditions of this StorageLocation.

func (*StorageLocation) SetDeletionPolicy

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

SetDeletionPolicy of this StorageLocation.

func (*StorageLocation) SetObservation

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

SetObservation for this StorageLocation

func (*StorageLocation) SetParameters

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

SetParameters for this StorageLocation

func (*StorageLocation) SetProviderConfigReference

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

SetProviderConfigReference of this StorageLocation.

func (*StorageLocation) SetProviderReference

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

SetProviderReference of this StorageLocation. Deprecated: Use SetProviderConfigReference.

func (*StorageLocation) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this StorageLocation.

func (*StorageLocation) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this StorageLocation.

type StorageLocationList

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

StorageLocationList contains a list of StorageLocations

func (*StorageLocationList) DeepCopy

func (in *StorageLocationList) DeepCopy() *StorageLocationList

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

func (*StorageLocationList) DeepCopyInto

func (in *StorageLocationList) DeepCopyInto(out *StorageLocationList)

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

func (*StorageLocationList) DeepCopyObject

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

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

func (*StorageLocationList) GetItems

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

GetItems of this StorageLocationList.

type StorageLocationObservation

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

func (*StorageLocationObservation) DeepCopy

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

func (*StorageLocationObservation) DeepCopyInto

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

type StorageLocationParameters

type StorageLocationParameters struct {

	// +kubebuilder:validation:Required
	BucketName *string `json:"bucketName" tf:"bucket_name,omitempty"`

	// +kubebuilder:validation:Optional
	CACert *string `json:"caCert,omitempty" tf:"ca_cert,omitempty"`

	// +kubebuilder:validation:Required
	IsDefault *bool `json:"isDefault" tf:"is_default,omitempty"`

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

	// +kubebuilder:validation:Required
	S3 []S3Parameters `json:"s3" tf:"s3,omitempty"`
}

func (*StorageLocationParameters) DeepCopy

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

func (*StorageLocationParameters) DeepCopyInto

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

type StorageLocationSpec

type StorageLocationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     StorageLocationParameters `json:"forProvider"`
}

StorageLocationSpec defines the desired state of StorageLocation

func (*StorageLocationSpec) DeepCopy

func (in *StorageLocationSpec) DeepCopy() *StorageLocationSpec

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

func (*StorageLocationSpec) DeepCopyInto

func (in *StorageLocationSpec) DeepCopyInto(out *StorageLocationSpec)

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

type StorageLocationStatus

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

StorageLocationStatus defines the observed state of StorageLocation.

func (*StorageLocationStatus) DeepCopy

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

func (*StorageLocationStatus) DeepCopyInto

func (in *StorageLocationStatus) DeepCopyInto(out *StorageLocationStatus)

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