Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the multitenancy v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=multitenancy.dev
Package v1alpha1 contains API Schema definitions for the multitenancy v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=multitenancy.dev
Index ¶
- Variables
- type Chart
- type ChartMessage
- type Controller
- type ControllerList
- type ControllerSpec
- type ControllerStatus
- func (cs *ControllerStatus) AppendNamespacedChart(chartName, namespace string)
- func (cs *ControllerStatus) AppendNamespacedChartReplicationControllerStatusList(namespace, rCName, apiVersion, kind string)
- func (cs *ControllerStatus) ApplyNamespacedChartPodStatus(namespace, podName, phase string) bool
- func (in *ControllerStatus) DeepCopy() *ControllerStatus
- func (in *ControllerStatus) DeepCopyInto(out *ControllerStatus)
- func (cs *ControllerStatus) RemoveNamespacedChart(chartName, namespace string)
- func (cs *ControllerStatus) RemoveNamespacedChartPodStatus(namespace, podName string) bool
- func (cs *ControllerStatus) RemoveNamespacedChartReplicationControllerStatusListIfExist(namespace, rCName, apiVersion, kind string)
- func (cs *ControllerStatus) UpdateNamespacedChartErrorMessage(chartName, namespace string, err error)
- func (cs *ControllerStatus) UpdateNamespacedChartReplicationControllerStatusReady(namespace, rCName, apiVersion, kind, ready string) bool
- func (cs *ControllerStatus) UpdateNamespacedChartSettings(chartName, namespace string, sets map[string]string)
- type PodStatus
- type ReplicationControllerStatus
- type Setting
- type StatusTenancy
- type Tenancy
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "multitenancy.dev", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type Chart ¶
type Chart struct { ChartName string `json:"chartName"` ReleaseName *string `json:"releaseName,omitempty"` Settings []Setting `json:"settings"` }
func (*Chart) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Chart.
func (*Chart) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChartMessage ¶
type ChartMessage struct { ChartName string `json:"chartName"` SettingMap map[string]string `json:"settingMap"` ErrorMessage *string `json:"errorMessage,omitempty"` }
func (*ChartMessage) DeepCopy ¶
func (in *ChartMessage) DeepCopy() *ChartMessage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartMessage.
func (*ChartMessage) DeepCopyInto ¶
func (in *ChartMessage) DeepCopyInto(out *ChartMessage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Controller ¶
type Controller struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ControllerSpec `json:"spec,omitempty"` Status ControllerStatus `json:"status,omitempty"` }
Controller is the Schema for the controllers API +kubebuilder:subresource:status +kubebuilder:resource:path=controllers,scope=Namespaced
func (*Controller) DeepCopy ¶
func (in *Controller) DeepCopy() *Controller
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Controller.
func (*Controller) DeepCopyInto ¶
func (in *Controller) DeepCopyInto(out *Controller)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Controller) DeepCopyObject ¶
func (in *Controller) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Controller) InitCheck ¶
func (c *Controller) InitCheck() bool
type ControllerList ¶
type ControllerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Controller `json:"items"` }
ControllerList contains a list of Controller
func (*ControllerList) DeepCopy ¶
func (in *ControllerList) DeepCopy() *ControllerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerList.
func (*ControllerList) DeepCopyInto ¶
func (in *ControllerList) DeepCopyInto(out *ControllerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControllerList) DeepCopyObject ¶
func (in *ControllerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ControllerSpec ¶
type ControllerSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html Tenancies []Tenancy `json:"tenancies"` }
ControllerSpec defines the desired state of Controller
func (*ControllerSpec) DeepCopy ¶
func (in *ControllerSpec) DeepCopy() *ControllerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerSpec.
func (*ControllerSpec) DeepCopyInto ¶
func (in *ControllerSpec) DeepCopyInto(out *ControllerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControllerStatus ¶
type ControllerStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html UpdatedTenancies []StatusTenancy `json:"updatedTenancies"` }
ControllerStatus defines the observed state of Controller
func (*ControllerStatus) AppendNamespacedChart ¶
func (cs *ControllerStatus) AppendNamespacedChart(chartName, namespace string)
func (*ControllerStatus) AppendNamespacedChartReplicationControllerStatusList ¶
func (cs *ControllerStatus) AppendNamespacedChartReplicationControllerStatusList(namespace, rCName, apiVersion, kind string)
func (*ControllerStatus) ApplyNamespacedChartPodStatus ¶
func (cs *ControllerStatus) ApplyNamespacedChartPodStatus(namespace, podName, phase string) bool
func (*ControllerStatus) DeepCopy ¶
func (in *ControllerStatus) DeepCopy() *ControllerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerStatus.
func (*ControllerStatus) DeepCopyInto ¶
func (in *ControllerStatus) DeepCopyInto(out *ControllerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControllerStatus) RemoveNamespacedChart ¶
func (cs *ControllerStatus) RemoveNamespacedChart(chartName, namespace string)
func (*ControllerStatus) RemoveNamespacedChartPodStatus ¶
func (cs *ControllerStatus) RemoveNamespacedChartPodStatus(namespace, podName string) bool
func (*ControllerStatus) RemoveNamespacedChartReplicationControllerStatusListIfExist ¶
func (cs *ControllerStatus) RemoveNamespacedChartReplicationControllerStatusListIfExist(namespace, rCName, apiVersion, kind string)
func (*ControllerStatus) UpdateNamespacedChartErrorMessage ¶
func (cs *ControllerStatus) UpdateNamespacedChartErrorMessage(chartName, namespace string, err error)
func (*ControllerStatus) UpdateNamespacedChartReplicationControllerStatusReady ¶
func (cs *ControllerStatus) UpdateNamespacedChartReplicationControllerStatusReady(namespace, rCName, apiVersion, kind, ready string) bool
func (*ControllerStatus) UpdateNamespacedChartSettings ¶
func (cs *ControllerStatus) UpdateNamespacedChartSettings(chartName, namespace string, sets map[string]string)
type PodStatus ¶
func (*PodStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStatus.
func (*PodStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicationControllerStatus ¶
type ReplicationControllerStatus struct { ReplicationControllerName string `json:"replicationControllerName"` ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Ready string `json:"ready"` }
func (*ReplicationControllerStatus) DeepCopy ¶
func (in *ReplicationControllerStatus) DeepCopy() *ReplicationControllerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerStatus.
func (*ReplicationControllerStatus) DeepCopyInto ¶
func (in *ReplicationControllerStatus) DeepCopyInto(out *ReplicationControllerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Setting ¶
func (*Setting) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Setting.
func (*Setting) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StatusTenancy ¶
type StatusTenancy struct { Namespace string `json:"namespace"` ChartMessages []ChartMessage `json:"chartMessages"` ReplicationControllerStatusList []ReplicationControllerStatus `json:"replicationControllerStatus"` PodStatusList []PodStatus `json:"podStatus"` }
func (*StatusTenancy) DeepCopy ¶
func (in *StatusTenancy) DeepCopy() *StatusTenancy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusTenancy.
func (*StatusTenancy) DeepCopyInto ¶
func (in *StatusTenancy) DeepCopyInto(out *StatusTenancy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.