Documentation
¶
Overview ¶
+groupName=imp.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 AppTemplate
- func (in *AppTemplate) DeepCopy() *AppTemplate
- func (in *AppTemplate) DeepCopyInto(out *AppTemplate)
- func (in *AppTemplate) DeepCopyObject() runtime.Object
- func (r *AppTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *AppTemplate) ValidateCreate() error
- func (r *AppTemplate) ValidateDelete() error
- func (r *AppTemplate) ValidateUpdate(old runtime.Object) error
- type AppTemplateList
- type AppTemplateSpec
- type AppTemplateSpecConfigList
- type AppTemplateSpecResource
- type AppTemplateStatus
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: imp.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 AppTemplate ¶
type AppTemplate struct {
metav1.TypeMeta `json:",inline,omitempty"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec AppTemplateSpec `json:"spec,omitempty"`
Status AppTemplateStatus `json:"status,omitempty"`
}
func (*AppTemplate) DeepCopy ¶
func (in *AppTemplate) DeepCopy() *AppTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTemplate.
func (*AppTemplate) DeepCopyInto ¶
func (in *AppTemplate) DeepCopyInto(out *AppTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppTemplate) DeepCopyObject ¶
func (in *AppTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AppTemplate) SetupWebhookWithManager ¶
func (r *AppTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*AppTemplate) ValidateCreate ¶
func (r *AppTemplate) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*AppTemplate) ValidateDelete ¶
func (r *AppTemplate) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*AppTemplate) ValidateUpdate ¶
func (r *AppTemplate) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type AppTemplateList ¶
type AppTemplateList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
// Items is a list of AppTemplate CRD objects
Items []AppTemplate `json:"items,omitempty"`
}
AppTemplateList is a list of AppTemplates
func (*AppTemplateList) DeepCopy ¶
func (in *AppTemplateList) DeepCopy() *AppTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTemplateList.
func (*AppTemplateList) DeepCopyInto ¶
func (in *AppTemplateList) DeepCopyInto(out *AppTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppTemplateList) DeepCopyObject ¶
func (in *AppTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AppTemplateSpec ¶
type AppTemplateSpec struct {
State *AppTemplateSpecResource `json:"state,omitempty" tf:"-"`
Resource AppTemplateSpecResource `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 (*AppTemplateSpec) DeepCopy ¶
func (in *AppTemplateSpec) DeepCopy() *AppTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTemplateSpec.
func (*AppTemplateSpec) DeepCopyInto ¶
func (in *AppTemplateSpec) DeepCopyInto(out *AppTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppTemplateSpecConfigList ¶
type AppTemplateSpecConfigList struct {
// +optional
Key *string `json:"key,omitempty" tf:"key"`
// +optional
Value *string `json:"value,omitempty" tf:"value"`
}
func (*AppTemplateSpecConfigList) DeepCopy ¶
func (in *AppTemplateSpecConfigList) DeepCopy() *AppTemplateSpecConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTemplateSpecConfigList.
func (*AppTemplateSpecConfigList) DeepCopyInto ¶
func (in *AppTemplateSpecConfigList) DeepCopyInto(out *AppTemplateSpecConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppTemplateSpecResource ¶
type AppTemplateSpecResource struct {
ID string `json:"id,omitempty" tf:"id,omitempty"`
AppTemplateName *string `json:"appTemplateName" tf:"app_template_name"`
ComponentList []string `json:"componentList" tf:"component_list"`
// +optional
ConfigList []AppTemplateSpecConfigList `json:"configList,omitempty" tf:"config_list"`
// +optional
IntegrationMode *string `json:"integrationMode,omitempty" tf:"integration_mode"`
// +optional
Scene *string `json:"scene,omitempty" tf:"scene"`
// +optional
Status *string `json:"status,omitempty" tf:"status"`
}
func (*AppTemplateSpecResource) DeepCopy ¶
func (in *AppTemplateSpecResource) DeepCopy() *AppTemplateSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTemplateSpecResource.
func (*AppTemplateSpecResource) DeepCopyInto ¶
func (in *AppTemplateSpecResource) DeepCopyInto(out *AppTemplateSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppTemplateStatus ¶
type AppTemplateStatus 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 (*AppTemplateStatus) DeepCopy ¶
func (in *AppTemplateStatus) DeepCopy() *AppTemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTemplateStatus.
func (*AppTemplateStatus) DeepCopyInto ¶
func (in *AppTemplateStatus) DeepCopyInto(out *AppTemplateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files
¶
- app_template_types.go
- app_template_webhook.go
- codec.go
- doc.go
- register.go
- zz_generated.deepcopy.go