Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the k8splugin v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=k8splugin.io
Package v1alpha1 contains API Schema definitions for the k8splugin v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=k8splugin.io
Index ¶
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type PodStatus
- type ResourceBundleState
- type ResourceBundleStateList
- type ResourceBundleStateSpec
- type ResourceBundleStatus
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "k8splugin.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is a global function variable that registers this API AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type PodStatus ¶
type PodStatus struct { metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Ready bool `json:"ready" protobuf:"varint,2,opt,name=ready"` Status corev1.PodStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
PodStatus defines the observed state of ResourceBundleState +k8s:openapi-gen=true
type ResourceBundleState ¶
type ResourceBundleState struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata" yaml:"metadata"` Spec ResourceBundleStateSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status ResourceBundleStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
ResourceBundleState is the Schema for the ResourceBundleStatees API +k8s:openapi-gen=true +kubebuilder:subresource:status +genclient
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 {
Selector *metav1.LabelSelector `json:"selector" protobuf:"bytes,1,opt,name=selector"`
}
ResourceBundleStateSpec defines the desired state of ResourceBundleState +k8s:openapi-gen=true
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 ResourceBundleStatus ¶
type ResourceBundleStatus struct { Ready bool `json:"ready" protobuf:"varint,1,opt,name=ready"` ResourceCount int32 `json:"resourceCount" protobuf:"varint,2,opt,name=resourceCount"` PodStatuses []corev1.Pod `json:"podStatuses" protobuf:"varint,3,opt,name=podStatuses"` ServiceStatuses []corev1.Service `json:"serviceStatuses" protobuf:"varint,4,opt,name=serviceStatuses"` ConfigMapStatuses []corev1.ConfigMap `json:"configMapStatuses" protobuf:"varint,5,opt,name=configMapStatuses"` DeploymentStatuses []appsv1.Deployment `json:"deploymentStatuses" protobuf:"varint,6,opt,name=deploymentStatuses"` SecretStatuses []corev1.Secret `json:"secretStatuses" protobuf:"varint,7,opt,name=secretStatuses"` DaemonSetStatuses []appsv1.DaemonSet `json:"daemonSetStatuses" protobuf:"varint,8,opt,name=daemonSetStatuses"` IngressStatuses []v1beta1.Ingress `json:"ingressStatuses" protobuf:"varint,11,opt,name=ingressStatuses"` JobStatuses []v1.Job `json:"jobStatuses" protobuf:"varint,12,opt,name=jobStatuses"` StatefulSetStatuses []appsv1.StatefulSet `json:"statefulSetStatuses" protobuf:"varint,13,opt,name=statefulSetStatuses"` CsrStatuses []certsapi.CertificateSigningRequest `json:"csrStatuses" protobuf:"varint,3,opt,name=csrStatuses"` }
ResourceBundleStatus defines the observed state of ResourceBundleState +k8s:openapi-gen=true
func (*ResourceBundleStatus) DeepCopy ¶
func (in *ResourceBundleStatus) DeepCopy() *ResourceBundleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceBundleStatus.
func (*ResourceBundleStatus) DeepCopyInto ¶
func (in *ResourceBundleStatus) DeepCopyInto(out *ResourceBundleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.