v1

package
v0.0.0-...-3f6117e Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the core v1 API group +kubebuilder:object:generate=true +groupName=core.stream-stack.tanx

Index

Constants

View Source
const StoreSetStatusPVCreating = `PVCreating`
View Source
const StoreSetStatusReady = `ready`
View Source
const StoreSetStatusStoreSetStsCreating = `StoreSetStsCreating`
View Source
const StoreSetStatusStoreSetSvcCreating = `StoreSetSvcCreating`

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "core.stream-stack.tanx", 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
)
View Source
var StoreSetDefaulters = make([]base.ResourceDefaulter, 0)
View Source
var StoreSetValidators = make([]base.ResourceValidator, 0)

Functions

This section is empty.

Types

type LocalPvSpec

type LocalPvSpec struct {
	NodeAffinity      *v1.VolumeNodeAffinity `json:"nodeAffinity,omitempty"`
	Capacity          resource.Quantity      `json:"capacity"`
	LocalVolumeSource *v1.LocalVolumeSource  `json:"source,omitempty"`
}

func (*LocalPvSpec) DeepCopy

func (in *LocalPvSpec) DeepCopy() *LocalPvSpec

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

func (*LocalPvSpec) DeepCopyInto

func (in *LocalPvSpec) DeepCopyInto(out *LocalPvSpec)

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

type LocalPvStatus

type LocalPvStatus struct {
	Name   string                    `json:"name"`
	Status v1.PersistentVolumeStatus `json:",inline"`
}

func (*LocalPvStatus) DeepCopy

func (in *LocalPvStatus) DeepCopy() *LocalPvStatus

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

func (*LocalPvStatus) DeepCopyInto

func (in *LocalPvStatus) DeepCopyInto(out *LocalPvStatus)

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

type PublisherDeptStatus

type PublisherDeptStatus struct {
	Name   string               `json:"name"`
	Status v12.DeploymentStatus `json:",inline"`
}

func (*PublisherDeptStatus) DeepCopy

func (in *PublisherDeptStatus) DeepCopy() *PublisherDeptStatus

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

func (*PublisherDeptStatus) DeepCopyInto

func (in *PublisherDeptStatus) DeepCopyInto(out *PublisherDeptStatus)

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

type StoreSet

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

	Spec   StoreSetSpec   `json:"spec,omitempty"`
	Status StoreSetStatus `json:"status,omitempty"`
}

StoreSet is the Schema for the storesets API

func (*StoreSet) DeepCopy

func (in *StoreSet) DeepCopy() *StoreSet

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

func (*StoreSet) DeepCopyInto

func (in *StoreSet) DeepCopyInto(out *StoreSet)

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

func (*StoreSet) DeepCopyObject

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

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

func (*StoreSet) Default

func (r *StoreSet) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*StoreSet) SetupWebhookWithManager

func (r *StoreSet) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*StoreSet) ValidateCreate

func (r *StoreSet) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*StoreSet) ValidateDelete

func (r *StoreSet) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*StoreSet) ValidateUpdate

func (r *StoreSet) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type StoreSetList

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

StoreSetList contains a list of StoreSet

func (*StoreSetList) DeepCopy

func (in *StoreSetList) DeepCopy() *StoreSetList

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

func (*StoreSetList) DeepCopyInto

func (in *StoreSetList) DeepCopyInto(out *StoreSetList)

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

func (*StoreSetList) DeepCopyObject

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

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

type StoreSetSpec

type StoreSetSpec struct {
	Volume LocalPvSpec          `json:"volume,omitempty"`
	Store  StoreStatefulSetSpec `json:"store,omitempty"`
}

StoreSetSpec defines the desired state of StoreSet

func (*StoreSetSpec) DeepCopy

func (in *StoreSetSpec) DeepCopy() *StoreSetSpec

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

func (*StoreSetSpec) DeepCopyInto

func (in *StoreSetSpec) DeepCopyInto(out *StoreSetSpec)

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

type StoreSetStatus

type StoreSetStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	VolumeStatus LocalPvStatus          `json:"volume"`
	StoreStatus  StoreStatefulSetStatus `json:"store"`
	Status       string                 `json:"status"`
}

StoreSetStatus defines the observed state of StoreSet

func (*StoreSetStatus) DeepCopy

func (in *StoreSetStatus) DeepCopy() *StoreSetStatus

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

func (*StoreSetStatus) DeepCopyInto

func (in *StoreSetStatus) DeepCopyInto(out *StoreSetStatus)

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

type StoreStatefulSetSpec

type StoreStatefulSetSpec struct {
	Replicas *int32 `json:"replicas,omitempty"`
	Image    string `json:"image,omitempty"`
	Port     string `json:"port,omitempty"`
}

func (*StoreStatefulSetSpec) DeepCopy

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

func (*StoreStatefulSetSpec) DeepCopyInto

func (in *StoreStatefulSetSpec) DeepCopyInto(out *StoreStatefulSetSpec)

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

type StoreStatefulSetStatus

type StoreStatefulSetStatus struct {
	WorkloadName string                `json:"workloadName"`
	ServiceName  string                `json:"serviceName"`
	Workload     v12.StatefulSetStatus `json:"workload"`
	Service      v1.ServiceStatus      `json:"service"`
}

func (*StoreStatefulSetStatus) DeepCopy

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

func (*StoreStatefulSetStatus) DeepCopyInto

func (in *StoreStatefulSetStatus) DeepCopyInto(out *StoreStatefulSetStatus)

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