v1

package
v4.118.3 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "appcat.vshn.io", Version: "v1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type BucketDeletionPolicy added in v4.32.0

type BucketDeletionPolicy string

BucketDeletionPolicy determines how buckets should be deleted when a Bucket is deleted.

const (
	// DeleteIfEmpty only deletes the bucket if the bucket is empty.
	DeleteIfEmpty BucketDeletionPolicy = "DeleteIfEmpty"
	// DeleteAll recursively deletes all objects in the bucket and then removes it.
	DeleteAll BucketDeletionPolicy = "DeleteAll"
)

type NamespacedName

type NamespacedName struct {
	Namespace string `json:"namespace,omitempty"`
	Name      string `json:"name,omitempty"`
}

NamespacedName describes an object reference by its name and namespace

func (*NamespacedName) DeepCopy

func (in *NamespacedName) DeepCopy() *NamespacedName

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

func (*NamespacedName) DeepCopyInto

func (in *NamespacedName) DeepCopyInto(out *NamespacedName)

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

type ObjectBucket

type ObjectBucket struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ObjectBucketSpec   `json:"spec"`
	Status ObjectBucketStatus `json:"status,omitempty"`
}

ObjectBucket is the API for creating S3 buckets.

func (*ObjectBucket) DeepCopy

func (in *ObjectBucket) DeepCopy() *ObjectBucket

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

func (*ObjectBucket) DeepCopyInto

func (in *ObjectBucket) DeepCopyInto(out *ObjectBucket)

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

func (*ObjectBucket) DeepCopyObject

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

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

func (*ObjectBucket) GetSecurity added in v4.87.3

func (v *ObjectBucket) GetSecurity() *vshnv1.Security

type ObjectBucketParameters

type ObjectBucketParameters struct {

	// BucketName is the name of the bucket to create.
	// Cannot be changed after bucket is created.
	// Name must be acceptable by the S3 protocol, which follows RFC 1123.
	// Be aware that S3 providers may require a unique name across the platform or region.
	BucketName string `json:"bucketName"`

	// Region is the name of the region where the bucket shall be created.
	// The region must be available in the S3 endpoint.
	Region string `json:"region"`

	// BucketDeletionPolicy determines how buckets should be deleted when Bucket is deleted.
	//  `DeleteIfEmpty` only deletes the bucket if the bucket is empty.
	//  `DeleteAll` recursively deletes all objects in the bucket and then removes it.
	BucketDeletionPolicy BucketDeletionPolicy `json:"bucketDeletionPolicy,omitempty"`

	// Security defines the security of a service
	Security vshnv1.Security `json:"security,omitempty"`
}

ObjectBucketParameters are the configurable fields of a ObjectBucket.

func (*ObjectBucketParameters) DeepCopy

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

func (*ObjectBucketParameters) DeepCopyInto

func (in *ObjectBucketParameters) DeepCopyInto(out *ObjectBucketParameters)

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

type ObjectBucketSpec

type ObjectBucketSpec struct {
	Parameters ObjectBucketParameters `json:"parameters,omitempty"`

	// WriteConnectionSecretToRef references a secret to which the connection details will be written.
	WriteConnectionSecretToRef vshnv1.LocalObjectReference     `json:"writeConnectionSecretToRef,omitempty"`
	CompositionReference       crossplane.CompositionReference `json:"compositionRef,omitempty"`
}

ObjectBucketSpec defines the desired state of a ObjectBucket.

func (*ObjectBucketSpec) DeepCopy

func (in *ObjectBucketSpec) DeepCopy() *ObjectBucketSpec

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

func (*ObjectBucketSpec) DeepCopyInto

func (in *ObjectBucketSpec) DeepCopyInto(out *ObjectBucketSpec)

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

type ObjectBucketStatus

type ObjectBucketStatus struct {
	// AccessUserConditions contains a copy of the claim's underlying user account conditions.
	AccessUserConditions []vshnv1.Condition `json:"accessUserConditions,omitempty"`
	// BucketConditions contains a copy of the claim's underlying bucket conditions.
	BucketConditions []vshnv1.Condition `json:"bucketConditions,omitempty"`

	xpv1.ResourceStatus `json:",inline"`
}

ObjectBucketStatus reflects the observed state of a ObjectBucket.

func (*ObjectBucketStatus) DeepCopy

func (in *ObjectBucketStatus) DeepCopy() *ObjectBucketStatus

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

func (*ObjectBucketStatus) DeepCopyInto

func (in *ObjectBucketStatus) DeepCopyInto(out *ObjectBucketStatus)

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

type XObjectBucket

type XObjectBucket struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   XObjectBucketSpec  `json:"spec"`
	Status ObjectBucketStatus `json:"status,omitempty"`
}

XObjectBucket represents the internal composite of this claim

func (*XObjectBucket) DeepCopy

func (in *XObjectBucket) DeepCopy() *XObjectBucket

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

func (*XObjectBucket) DeepCopyInto

func (in *XObjectBucket) DeepCopyInto(out *XObjectBucket)

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

func (*XObjectBucket) DeepCopyObject

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

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

func (*XObjectBucket) GetCondition added in v4.43.0

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

GetCondition of this XObjectBucket.

func (*XObjectBucket) GetDeletionPolicy added in v4.43.0

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

GetDeletionPolicy of this XObjectBucket.

func (*XObjectBucket) GetManagementPolicies added in v4.43.0

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

GetManagementPolicies of this XObjectBucket.

func (*XObjectBucket) GetProviderConfigReference added in v4.43.0

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

GetProviderConfigReference of this XObjectBucket.

func (*XObjectBucket) GetPublishConnectionDetailsTo added in v4.43.0

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

GetPublishConnectionDetailsTo of this XObjectBucket.

func (*XObjectBucket) GetWriteConnectionSecretToReference added in v4.43.0

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

GetWriteConnectionSecretToReference of this XObjectBucket.

func (*XObjectBucket) SetConditions added in v4.43.0

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

SetConditions of this XObjectBucket.

func (*XObjectBucket) SetDeletionPolicy added in v4.43.0

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

SetDeletionPolicy of this XObjectBucket.

func (*XObjectBucket) SetManagementPolicies added in v4.43.0

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

SetManagementPolicies of this XObjectBucket.

func (*XObjectBucket) SetProviderConfigReference added in v4.43.0

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

SetProviderConfigReference of this XObjectBucket.

func (*XObjectBucket) SetPublishConnectionDetailsTo added in v4.43.0

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

SetPublishConnectionDetailsTo of this XObjectBucket.

func (*XObjectBucket) SetWriteConnectionSecretToReference added in v4.43.0

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

SetWriteConnectionSecretToReference of this XObjectBucket.

type XObjectBucketSpec

type XObjectBucketSpec struct {
	Parameters ObjectBucketParameters `json:"parameters,omitempty"`

	xpv1.ResourceSpec `json:",inline"`
}

XObjectBucketSpec defines the desired state of a ObjectBucket.

func (*XObjectBucketSpec) DeepCopy

func (in *XObjectBucketSpec) DeepCopy() *XObjectBucketSpec

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

func (*XObjectBucketSpec) DeepCopyInto

func (in *XObjectBucketSpec) DeepCopyInto(out *XObjectBucketSpec)

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