Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the k8splugin v1alpha1 API group +kubebuilder:object:generate=true +groupName=k8splugin.io
Copyright 2022.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+k8s:deepcopy-gen=package,register +groupName=k8splugin.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "k8splugin.io", Version: "v1alpha1"} SchemeGroupVersion = schema.GroupVersion{Group: "k8splugin.io", Version: "v1alpha1"} // 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 ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ResourceBundleState ¶
type ResourceBundleState struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ResourceBundleStateSpec `json:"spec,omitempty"` Status ResourceBundleStateStatus `json:"status,omitempty"` }
func (*ResourceBundleState) DeepCopy ¶
func (in *ResourceBundleState) DeepCopy() *ResourceBundleState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceBundleState.
func (*ResourceBundleState) DeepCopyInto ¶
func (in *ResourceBundleState) DeepCopyInto(out *ResourceBundleState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceBundleState) DeepCopyObject ¶
func (in *ResourceBundleState) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ResourceBundleStateList ¶
type ResourceBundleStateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ResourceBundleState `json:"items"` }
ResourceBundleStateList contains a list of ResourceBundleState
func (*ResourceBundleStateList) DeepCopy ¶
func (in *ResourceBundleStateList) DeepCopy() *ResourceBundleStateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceBundleStateList.
func (*ResourceBundleStateList) DeepCopyInto ¶
func (in *ResourceBundleStateList) DeepCopyInto(out *ResourceBundleStateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceBundleStateList) DeepCopyObject ¶
func (in *ResourceBundleStateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ResourceBundleStateSpec ¶
type ResourceBundleStateSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file Selector *metav1.LabelSelector `json:"selector" protobuf:"bytes,1,opt,name=selector"` }
ResourceBundleStateSpec defines the desired state of ResourceBundleState
func (*ResourceBundleStateSpec) DeepCopy ¶
func (in *ResourceBundleStateSpec) DeepCopy() *ResourceBundleStateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceBundleStateSpec.
func (*ResourceBundleStateSpec) DeepCopyInto ¶
func (in *ResourceBundleStateSpec) DeepCopyInto(out *ResourceBundleStateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceBundleStateStatus ¶
type ResourceBundleStateStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Ready bool `json:"ready" protobuf:"varint,1,opt,name=ready"` ResourceCount int32 `json:"resourceCount" protobuf:"varint,2,opt,name=resourceCount"` // +kubebuilder:validation:Optional // +optional PodStatuses []corev1.Pod `json:"podStatuses,omitempty" protobuf:"varint,3,opt,name=podStatuses"` // +kubebuilder:validation:Optional // +optional ServiceStatuses []corev1.Service `json:"serviceStatuses,omitempty" protobuf:"varint,4,opt,name=serviceStatuses"` // +kubebuilder:validation:Optional // +optional ConfigMapStatuses []corev1.ConfigMap `json:"configMapStatuses,omitempty" protobuf:"varint,5,opt,name=configMapStatuses"` // +kubebuilder:validation:Optional // +optional DeploymentStatuses []appsv1.Deployment `json:"deploymentStatuses,omitempty" protobuf:"varint,6,opt,name=deploymentStatuses"` // +kubebuilder:validation:Optional // +optional DaemonSetStatuses []appsv1.DaemonSet `json:"daemonSetStatuses,omitempty" protobuf:"varint,8,opt,name=daemonSetStatuses"` // +kubebuilder:validation:Optional // +optional CsrStatuses []certsapi.CertificateSigningRequest `json:"csrStatuses,omitempty" protobuf:"varint,9,opt,name=csrStatuses"` // +kubebuilder:validation:Optional // +optional JobStatuses []v1.Job `json:"jobStatuses,omitempty" protobuf:"varint,12,opt,name=jobStatuses"` // +kubebuilder:validation:Optional // +optional StatefulSetStatuses []appsv1.StatefulSet `json:"statefulSetStatuses,omitempty" protobuf:"varint,13,opt,name=statefulSetStatuses"` // +kubebuilder:validation:Optional // +optional ResourceStatuses []ResourceStatus `json:"resourceStatuses,omitempty" protobuf:"varint,14,opt,name=resourceStatuses"` }
ResourceBundleStateStatus defines the observed state of ResourceBundleState
func (*ResourceBundleStateStatus) DeepCopy ¶
func (in *ResourceBundleStateStatus) DeepCopy() *ResourceBundleStateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceBundleStateStatus.
func (*ResourceBundleStateStatus) DeepCopyInto ¶
func (in *ResourceBundleStateStatus) DeepCopyInto(out *ResourceBundleStateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceStatus ¶
type ResourceStatus struct { Group string `json:"group"` Version string `json:"version"` Kind string `json:"kind"` Name string `json:"name"` Namespace string `json:"namespace,omitempty"` Res []byte `json:"res"` }
Resoureces
func (*ResourceStatus) DeepCopy ¶
func (in *ResourceStatus) DeepCopy() *ResourceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceStatus.
func (*ResourceStatus) DeepCopyInto ¶
func (in *ResourceStatus) DeepCopyInto(out *ResourceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.