v2

package
v0.0.0-...-17071f4 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

README

This folder contains kubebuilder definitions for the Couchbase V2 CRDs. This is done because the Go files for these APIs are not currently public. Only a subset of the API is present since we access it read-only and only need a few fields.

Documentation

Overview

+kubebuilder:object:generate=true +groupName=couchbase.com

Index

Constants

View Source
const (
	BucketTypeCouchbase = "couchbase"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "couchbase.com", Version: "v2"}

	// 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 Bucket

type Bucket struct {
	Name string `json:"name,omitempty"`
	Type string `json:"type,omitempty"`
}

func (*Bucket) DeepCopy

func (in *Bucket) DeepCopy() *Bucket

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

func (*Bucket) DeepCopyInto

func (in *Bucket) DeepCopyInto(out *Bucket)

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

type Buckets

type Buckets struct {
	Managed bool `json:"managed"`
}

func (*Buckets) DeepCopy

func (in *Buckets) DeepCopy() *Buckets

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

func (*Buckets) DeepCopyInto

func (in *Buckets) DeepCopyInto(out *Buckets)

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

type CouchbaseCluster

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

	Spec   CouchbaseClusterSpec   `json:"spec,omitempty"`
	Status CouchbaseClusterStatus `json:"status,omitempty"`
}

func (*CouchbaseCluster) DeepCopy

func (in *CouchbaseCluster) DeepCopy() *CouchbaseCluster

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

func (*CouchbaseCluster) DeepCopyInto

func (in *CouchbaseCluster) DeepCopyInto(out *CouchbaseCluster)

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

func (*CouchbaseCluster) DeepCopyObject

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

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

type CouchbaseClusterList

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

CouchbaseIndexSetList contains a list of CouchbaseIndexSet

func (*CouchbaseClusterList) DeepCopy

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

func (*CouchbaseClusterList) DeepCopyInto

func (in *CouchbaseClusterList) DeepCopyInto(out *CouchbaseClusterList)

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

func (*CouchbaseClusterList) DeepCopyObject

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

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

type CouchbaseClusterSpec

type CouchbaseClusterSpec struct {
	Security Security `json:"security"`
	Buckets  Buckets  `json:"buckets"`
}

func (*CouchbaseClusterSpec) DeepCopy

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

func (*CouchbaseClusterSpec) DeepCopyInto

func (in *CouchbaseClusterSpec) DeepCopyInto(out *CouchbaseClusterSpec)

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

type CouchbaseClusterStatus

type CouchbaseClusterStatus struct {
	Conditions []metav1.Condition `json:"conditions"`
	Buckets    []Bucket           `json:"buckets,omitempty"`
}

func (*CouchbaseClusterStatus) DeepCopy

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

func (*CouchbaseClusterStatus) DeepCopyInto

func (in *CouchbaseClusterStatus) DeepCopyInto(out *CouchbaseClusterStatus)

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

type Security

type Security struct {
	AdminSecret string `json:"adminSecret,omitempty"`
}

func (*Security) DeepCopy

func (in *Security) DeepCopy() *Security

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

func (*Security) DeepCopyInto

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

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