v1

package
v0.0.0-...-af60a15 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the barmancloud v1 API group +kubebuilder:object:generate=true +groupName=barmancloud.cnpg.io

Package v1 contains API Schema definitions for the barmancloud v1 API group +kubebuilder:object:generate=true +groupName=barmancloud.cnpg.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "barmancloud.cnpg.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 InstanceSidecarConfiguration

type InstanceSidecarConfiguration struct {
	// The expiration time of the cache entries not managed by the informers. Expressed in seconds.
	// +optional
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=3600
	// +kubebuilder:default=180
	CacheTTL *int `json:"cacheTTL,omitempty"`
}

InstanceSidecarConfiguration defines the configuration for the sidecar that runs in the instance pods.

func (*InstanceSidecarConfiguration) DeepCopy

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

func (*InstanceSidecarConfiguration) DeepCopyInto

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

func (InstanceSidecarConfiguration) GetCacheTTL

func (i InstanceSidecarConfiguration) GetCacheTTL() int

GetCacheTTL returns the cache TTL value, defaulting to 180 seconds if not set.

type ObjectStore

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

	Spec ObjectStoreSpec `json:"spec"`
	// +optional
	Status ObjectStoreStatus `json:"status,omitempty"`
}

ObjectStore is the Schema for the objectstores API.

func (*ObjectStore) DeepCopy

func (in *ObjectStore) DeepCopy() *ObjectStore

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

func (*ObjectStore) DeepCopyInto

func (in *ObjectStore) DeepCopyInto(out *ObjectStore)

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

func (*ObjectStore) DeepCopyObject

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

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

type ObjectStoreList

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

ObjectStoreList contains a list of ObjectStore.

func (*ObjectStoreList) DeepCopy

func (in *ObjectStoreList) DeepCopy() *ObjectStoreList

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

func (*ObjectStoreList) DeepCopyInto

func (in *ObjectStoreList) DeepCopyInto(out *ObjectStoreList)

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

func (*ObjectStoreList) DeepCopyObject

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

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

type ObjectStoreSpec

type ObjectStoreSpec struct {
	Configuration barmanapi.BarmanObjectStoreConfiguration `json:"configuration"`

	// +optional
	InstanceSidecarConfiguration InstanceSidecarConfiguration `json:"instanceSidecarConfiguration,omitempty"`
}

ObjectStoreSpec defines the desired state of ObjectStore.

func (*ObjectStoreSpec) DeepCopy

func (in *ObjectStoreSpec) DeepCopy() *ObjectStoreSpec

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

func (*ObjectStoreSpec) DeepCopyInto

func (in *ObjectStoreSpec) DeepCopyInto(out *ObjectStoreSpec)

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

type ObjectStoreStatus

type ObjectStoreStatus struct {
}

ObjectStoreStatus defines the observed state of ObjectStore.

func (*ObjectStoreStatus) DeepCopy

func (in *ObjectStoreStatus) DeepCopy() *ObjectStoreStatus

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

func (*ObjectStoreStatus) DeepCopyInto

func (in *ObjectStoreStatus) DeepCopyInto(out *ObjectStoreStatus)

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