v1

package
v4.93.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: BSD-3-Clause Imports: 6 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 Condition

type Condition struct {

	// Type of condition.
	Type string `json:"type,omitempty"`

	// Status of the condition, one of True, False, Unknown.
	Status metav1.ConditionStatus `json:"status,omitempty"`

	// ObservedGeneration represents the .metadata.generation that the condition was set based upon.
	// For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`

	// LastTransitionTime is the last time the condition transitioned from one status to another.
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`

	// Reason contains a programmatic identifier indicating the reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`

	// Message is a human-readable message indicating details about the transition.
	Message string `json:"message,omitempty"`
}

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

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

type LocalObjectReference

type LocalObjectReference struct {
	// Name of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	Name      string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,2,opt,name=namespace"`
}

LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. +structType=atomic

func (*LocalObjectReference) DeepCopy

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

func (*LocalObjectReference) DeepCopyInto

func (in *LocalObjectReference) DeepCopyInto(out *LocalObjectReference)

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

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() *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 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 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 []Condition `json:"accessUserConditions,omitempty"`
	// BucketConditions contains a copy of the claim's underlying bucket conditions.
	BucketConditions []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 Security added in v4.87.3

type Security struct {
	// DeletionProtection blocks the deletion of the instance if it is enabled (enabled by default)
	// +kubebuilder:default=true
	DeletionProtection bool `json:"deletionProtection,omitempty"`
}

Security defines the security of a service

func (*Security) DeepCopy added in v4.87.3

func (in *Security) DeepCopy() *Security

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

func (*Security) DeepCopyInto added in v4.87.3

func (in *Security) DeepCopyInto(out *Security)

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