Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the shim v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/kudobuilder/shim/shim-controller/pkg/apis/kudoshim +k8s:defaulter-gen=TypeMeta +groupName=kudoshim.dev
Package v1alpha1 contains API Schema definitions for the kudoshim v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/kudobuilder/shim/shim-controller/pkg/apis/kudoshim +k8s:defaulter-gen=TypeMeta +groupName=kudoshim.dev
Index ¶
Constants ¶
const ( // GroupName is the group name use in this package GroupName string = "kudoshim.dev" // CsiDriverResourcePlural is the plural name of the CSIDriver resource KUDOShimResourcePlural string = "shims" )
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = runtime.NewSchemeBuilder(AddKnownTypes) // AddToScheme is required by pkg/client/... AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func AddKnownTypes ¶
Adds the list of known types to the given scheme.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource is required by pkg/client/listers/...
Types ¶
type KUDOOperator ¶
type KUDOOperator struct { //Package specifies the KUDO package name Package string `json:"package,omitempty"` //KUDORepository specifies the KUDO Repository URL KUDORepository string `json:"repository,omitempty"` //InClusterOperator is used to resolve incluster operator InClusterOperator bool `json:"inClusterOperator,omitempty"` //Version specifies the KUDO Operator Version Version string `json:"version,omitempty"` //AppVersion specifies the KUDO Operator Application Version AppVersion string `json:"appVersion,omitempty"` }
KUDOOperator defines the KUDO Operator reference definition
func (*KUDOOperator) DeepCopy ¶
func (in *KUDOOperator) DeepCopy() *KUDOOperator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KUDOOperator.
func (*KUDOOperator) DeepCopyInto ¶
func (in *KUDOOperator) DeepCopyInto(out *KUDOOperator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ShimInstance ¶
type ShimInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ShimInstanceSpec `json:"spec,omitempty"` Status ShimInstanceStatus `json:"status,omitempty"` }
+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object Instance is the Schema for the instances API. +k8s:openapi-gen=true
func (*ShimInstance) DeepCopy ¶
func (in *ShimInstance) DeepCopy() *ShimInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShimInstance.
func (*ShimInstance) DeepCopyInto ¶
func (in *ShimInstance) DeepCopyInto(out *ShimInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ShimInstance) DeepCopyObject ¶
func (in *ShimInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ShimInstanceList ¶
type ShimInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ShimInstance `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object ShimInstanceList contains a list of ShimInstance.
func (*ShimInstanceList) DeepCopy ¶
func (in *ShimInstanceList) DeepCopy() *ShimInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShimInstanceList.
func (*ShimInstanceList) DeepCopyInto ¶
func (in *ShimInstanceList) DeepCopyInto(out *ShimInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ShimInstanceList) DeepCopyObject ¶
func (in *ShimInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ShimInstanceSpec ¶
type ShimInstanceSpec struct { // KUDOOperator specifies the KUDO Operator KUDOOperator KUDOOperator `json:"kudoOperator,omitempty"` //CRDSpec specifies the CRD to watch CRDSpec unstructured.Unstructured `json:"crdSpec,omitempty"` }
ShimInstanceSpec defines the desired state of Instance.
func (*ShimInstanceSpec) DeepCopy ¶
func (in *ShimInstanceSpec) DeepCopy() *ShimInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShimInstanceSpec.
func (*ShimInstanceSpec) DeepCopyInto ¶
func (in *ShimInstanceSpec) DeepCopyInto(out *ShimInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ShimInstanceStatus ¶
type ShimInstanceStatus struct {
Status string `json:"shimInstanceStatus,omitempty"`
}
ShimInstanceStatus defines the observed state of Instance
func (*ShimInstanceStatus) DeepCopy ¶
func (in *ShimInstanceStatus) DeepCopy() *ShimInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShimInstanceStatus.
func (*ShimInstanceStatus) DeepCopyInto ¶
func (in *ShimInstanceStatus) DeepCopyInto(out *ShimInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.