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
- Variables
- type LocalPvSpec
- type LocalPvStatus
- type PublisherDeptStatus
- type StoreSet
- func (in *StoreSet) DeepCopy() *StoreSet
- func (in *StoreSet) DeepCopyInto(out *StoreSet)
- func (in *StoreSet) DeepCopyObject() runtime.Object
- func (r *StoreSet) Default()
- func (r *StoreSet) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *StoreSet) ValidateCreate() error
- func (r *StoreSet) ValidateDelete() error
- func (r *StoreSet) ValidateUpdate(old runtime.Object) error
- type StoreSetList
- type StoreSetSpec
- type StoreSetStatus
- type StoreStatefulSetSpec
- type StoreStatefulSetStatus
Constants ¶
const StoreSetStatusPVCreating = `PVCreating`
const StoreSetStatusReady = `ready`
const StoreSetStatusStoreSetStsCreating = `StoreSetStsCreating`
const StoreSetStatusStoreSetSvcCreating = `StoreSetSvcCreating`
Variables ¶
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 )
var StoreSetDefaulters = make([]base.ResourceDefaulter, 0)
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoreSet.
func (*StoreSet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StoreSet) DeepCopyObject ¶
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 (*StoreSet) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*StoreSet) ValidateDelete ¶
ValidateDelete 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 ¶
func (in *StoreStatefulSetSpec) DeepCopy() *StoreStatefulSetSpec
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 ¶
func (in *StoreStatefulSetStatus) DeepCopy() *StoreStatefulSetStatus
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.