Documentation ¶
Overview ¶
+groupName=mhub.alicloud.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type App
- func (in *App) DeepCopy() *App
- func (in *App) DeepCopyInto(out *App)
- func (in *App) DeepCopyObject() runtime.Object
- func (r *App) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *App) ValidateCreate() error
- func (r *App) ValidateDelete() error
- func (r *App) ValidateUpdate(old runtime.Object) error
- type AppList
- type AppSpec
- type AppSpecResource
- type AppStatus
- type Product
- func (in *Product) DeepCopy() *Product
- func (in *Product) DeepCopyInto(out *Product)
- func (in *Product) DeepCopyObject() runtime.Object
- func (r *Product) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Product) ValidateCreate() error
- func (r *Product) ValidateDelete() error
- func (r *Product) ValidateUpdate(old runtime.Object) error
- type ProductList
- type ProductSpec
- type ProductSpecResource
- type ProductStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: mhub.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type App ¶
type App struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AppSpec `json:"spec,omitempty"` Status AppStatus `json:"status,omitempty"` }
func (*App) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new App.
func (*App) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*App) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*App) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*App) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type AppList ¶
type AppList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of App CRD objects Items []App `json:"items,omitempty"` }
AppList is a list of Apps
func (*AppList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppList.
func (*AppList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppSpec ¶
type AppSpec struct { State *AppSpecResource `json:"state,omitempty" tf:"-"` Resource AppSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*AppSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSpec.
type AppSpecResource ¶
type AppSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` AppName *string `json:"appName" tf:"app_name"` // +optional BundleID *string `json:"bundleID,omitempty" tf:"bundle_id"` // +optional EncodedIcon *string `json:"encodedIcon,omitempty" tf:"encoded_icon"` // +optional IndustryID *string `json:"industryID,omitempty" tf:"industry_id"` // +optional PackageName *string `json:"packageName,omitempty" tf:"package_name"` ProductID *string `json:"productID" tf:"product_id"` Type *string `json:"type" tf:"type"` }
func (*AppSpecResource) DeepCopy ¶
func (in *AppSpecResource) DeepCopy() *AppSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSpecResource.
func (*AppSpecResource) DeepCopyInto ¶
func (in *AppSpecResource) DeepCopyInto(out *AppSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppStatus ¶
type AppStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*AppStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppStatus.
type Product ¶
type Product struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProductSpec `json:"spec,omitempty"` Status ProductStatus `json:"status,omitempty"` }
func (*Product) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Product.
func (*Product) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Product) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Product) SetupWebhookWithManager ¶
func (*Product) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Product) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type ProductList ¶
type ProductList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Product CRD objects Items []Product `json:"items,omitempty"` }
ProductList is a list of Products
func (*ProductList) DeepCopy ¶
func (in *ProductList) DeepCopy() *ProductList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProductList.
func (*ProductList) DeepCopyInto ¶
func (in *ProductList) DeepCopyInto(out *ProductList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProductList) DeepCopyObject ¶
func (in *ProductList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProductSpec ¶
type ProductSpec struct { State *ProductSpecResource `json:"state,omitempty" tf:"-"` Resource ProductSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*ProductSpec) DeepCopy ¶
func (in *ProductSpec) DeepCopy() *ProductSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProductSpec.
func (*ProductSpec) DeepCopyInto ¶
func (in *ProductSpec) DeepCopyInto(out *ProductSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProductSpecResource ¶
type ProductSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` ProductName *string `json:"productName" tf:"product_name"` }
func (*ProductSpecResource) DeepCopy ¶
func (in *ProductSpecResource) DeepCopy() *ProductSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProductSpecResource.
func (*ProductSpecResource) DeepCopyInto ¶
func (in *ProductSpecResource) DeepCopyInto(out *ProductSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProductStatus ¶
type ProductStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*ProductStatus) DeepCopy ¶
func (in *ProductStatus) DeepCopy() *ProductStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProductStatus.
func (*ProductStatus) DeepCopyInto ¶
func (in *ProductStatus) DeepCopyInto(out *ProductStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.