Documentation ¶
Overview ¶
+groupName=launch.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 Template
- func (in *Template) DeepCopy() *Template
- func (in *Template) DeepCopyInto(out *Template)
- func (in *Template) DeepCopyObject() runtime.Object
- func (r *Template) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Template) ValidateCreate() error
- func (r *Template) ValidateDelete() error
- func (r *Template) ValidateUpdate(old runtime.Object) error
- type TemplateList
- type TemplateSpec
- type TemplateSpecDataDisks
- type TemplateSpecNetworkInterfaces
- type TemplateSpecNetworkInterfacesCodec
- type TemplateSpecResource
- type TemplateSpecSystemDisk
- type TemplateSpecSystemDiskCodec
- type TemplateStatus
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: launch.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Template ¶
type Template struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TemplateSpec `json:"spec,omitempty"` Status TemplateStatus `json:"status,omitempty"` }
func (*Template) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template.
func (*Template) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Template) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Template) SetupWebhookWithManager ¶
func (*Template) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Template) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type TemplateList ¶
type TemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Template CRD objects Items []Template `json:"items,omitempty"` }
TemplateList is a list of Templates
func (*TemplateList) DeepCopy ¶
func (in *TemplateList) DeepCopy() *TemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateList.
func (*TemplateList) DeepCopyInto ¶
func (in *TemplateList) DeepCopyInto(out *TemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TemplateList) DeepCopyObject ¶
func (in *TemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TemplateSpec ¶
type TemplateSpec struct { State *TemplateSpecResource `json:"state,omitempty" tf:"-"` Resource TemplateSpecResource `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 (*TemplateSpec) DeepCopy ¶
func (in *TemplateSpec) DeepCopy() *TemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateSpec.
func (*TemplateSpec) DeepCopyInto ¶
func (in *TemplateSpec) DeepCopyInto(out *TemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateSpecDataDisks ¶
type TemplateSpecDataDisks struct { // +optional Category *string `json:"category,omitempty" tf:"category"` // +optional DeleteWithInstance *bool `json:"deleteWithInstance,omitempty" tf:"delete_with_instance"` // +optional Description *string `json:"description,omitempty" tf:"description"` // +optional Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted"` // +optional Name *string `json:"name,omitempty" tf:"name"` // +optional PerformanceLevel *string `json:"performanceLevel,omitempty" tf:"performance_level"` // +optional Size *int64 `json:"size,omitempty" tf:"size"` // +optional SnapshotID *string `json:"snapshotID,omitempty" tf:"snapshot_id"` }
func (*TemplateSpecDataDisks) DeepCopy ¶
func (in *TemplateSpecDataDisks) DeepCopy() *TemplateSpecDataDisks
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateSpecDataDisks.
func (*TemplateSpecDataDisks) DeepCopyInto ¶
func (in *TemplateSpecDataDisks) DeepCopyInto(out *TemplateSpecDataDisks)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateSpecNetworkInterfaces ¶
type TemplateSpecNetworkInterfaces struct { // +optional Description *string `json:"description,omitempty" tf:"description"` // +optional Name *string `json:"name,omitempty" tf:"name"` // +optional PrimaryIP *string `json:"primaryIP,omitempty" tf:"primary_ip"` // +optional SecurityGroupID *string `json:"securityGroupID,omitempty" tf:"security_group_id"` // +optional VswitchID *string `json:"vswitchID,omitempty" tf:"vswitch_id"` }
func (*TemplateSpecNetworkInterfaces) DeepCopy ¶
func (in *TemplateSpecNetworkInterfaces) DeepCopy() *TemplateSpecNetworkInterfaces
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateSpecNetworkInterfaces.
func (*TemplateSpecNetworkInterfaces) DeepCopyInto ¶
func (in *TemplateSpecNetworkInterfaces) DeepCopyInto(out *TemplateSpecNetworkInterfaces)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateSpecNetworkInterfacesCodec ¶
type TemplateSpecNetworkInterfacesCodec struct { }
+k8s:deepcopy-gen=false
func (TemplateSpecNetworkInterfacesCodec) Decode ¶
func (TemplateSpecNetworkInterfacesCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type TemplateSpecResource ¶
type TemplateSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional AutoReleaseTime *string `json:"autoReleaseTime,omitempty" tf:"auto_release_time"` // +optional DataDisks []TemplateSpecDataDisks `json:"dataDisks,omitempty" tf:"data_disks"` // +optional DeploymentSetID *string `json:"deploymentSetID,omitempty" tf:"deployment_set_id"` // +optional Description *string `json:"description,omitempty" tf:"description"` // +optional EnableVmOsConfig *bool `json:"enableVmOsConfig,omitempty" tf:"enable_vm_os_config"` // +optional HostName *string `json:"hostName,omitempty" tf:"host_name"` // +optional ImageID *string `json:"imageID,omitempty" tf:"image_id"` // +optional ImageOwnerAlias *string `json:"imageOwnerAlias,omitempty" tf:"image_owner_alias"` // +optional InstanceChargeType *string `json:"instanceChargeType,omitempty" tf:"instance_charge_type"` // +optional InstanceName *string `json:"instanceName,omitempty" tf:"instance_name"` // +optional InstanceType *string `json:"instanceType,omitempty" tf:"instance_type"` // +optional InternetChargeType *string `json:"internetChargeType,omitempty" tf:"internet_charge_type"` // +optional InternetMaxBandwidthIn *int64 `json:"internetMaxBandwidthIn,omitempty" tf:"internet_max_bandwidth_in"` // +optional InternetMaxBandwidthOut *int64 `json:"internetMaxBandwidthOut,omitempty" tf:"internet_max_bandwidth_out"` // +optional IoOptimized *string `json:"ioOptimized,omitempty" tf:"io_optimized"` // +optional KeyPairName *string `json:"keyPairName,omitempty" tf:"key_pair_name"` // +optional LaunchTemplateName *string `json:"launchTemplateName,omitempty" tf:"launch_template_name"` // +optional // Deprecated Name *string `json:"name,omitempty" tf:"name"` // +optional NetworkInterfaces *TemplateSpecNetworkInterfaces `json:"networkInterfaces,omitempty" tf:"network_interfaces"` // +optional NetworkType *string `json:"networkType,omitempty" tf:"network_type"` // +optional PasswordInherit *bool `json:"passwordInherit,omitempty" tf:"password_inherit"` // +optional Period *int64 `json:"period,omitempty" tf:"period"` // +optional PrivateIPAddress *string `json:"privateIPAddress,omitempty" tf:"private_ip_address"` // +optional RamRoleName *string `json:"ramRoleName,omitempty" tf:"ram_role_name"` // +optional ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"` // +optional SecurityEnhancementStrategy *string `json:"securityEnhancementStrategy,omitempty" tf:"security_enhancement_strategy"` // +optional SecurityGroupID *string `json:"securityGroupID,omitempty" tf:"security_group_id"` // +optional SecurityGroupIDS []string `json:"securityGroupIDS,omitempty" tf:"security_group_ids"` // +optional SpotDuration *string `json:"spotDuration,omitempty" tf:"spot_duration"` // +optional SpotPriceLimit *float64 `json:"spotPriceLimit,omitempty" tf:"spot_price_limit"` // +optional SpotStrategy *string `json:"spotStrategy,omitempty" tf:"spot_strategy"` // +optional SystemDisk *TemplateSpecSystemDisk `json:"systemDisk,omitempty" tf:"system_disk"` // +optional // Deprecated SystemDiskCategory *string `json:"systemDiskCategory,omitempty" tf:"system_disk_category"` // +optional // Deprecated SystemDiskDescription *string `json:"systemDiskDescription,omitempty" tf:"system_disk_description"` // +optional // Deprecated SystemDiskName *string `json:"systemDiskName,omitempty" tf:"system_disk_name"` // +optional // Deprecated SystemDiskSize *int64 `json:"systemDiskSize,omitempty" tf:"system_disk_size"` // +optional Tags map[string]string `json:"tags,omitempty" tf:"tags"` // +optional TemplateResourceGroupID *string `json:"templateResourceGroupID,omitempty" tf:"template_resource_group_id"` // +optional TemplateTags map[string]string `json:"templateTags,omitempty" tf:"template_tags"` // +optional UserData *string `json:"userData,omitempty" tf:"user_data"` // +optional // Deprecated Userdata *string `json:"userdata,omitempty" tf:"userdata"` // +optional VersionDescription *string `json:"versionDescription,omitempty" tf:"version_description"` // +optional VpcID *string `json:"vpcID,omitempty" tf:"vpc_id"` // +optional VswitchID *string `json:"vswitchID,omitempty" tf:"vswitch_id"` // +optional ZoneID *string `json:"zoneID,omitempty" tf:"zone_id"` }
func (*TemplateSpecResource) DeepCopy ¶
func (in *TemplateSpecResource) DeepCopy() *TemplateSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateSpecResource.
func (*TemplateSpecResource) DeepCopyInto ¶
func (in *TemplateSpecResource) DeepCopyInto(out *TemplateSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateSpecSystemDisk ¶
type TemplateSpecSystemDisk struct { // +optional Category *string `json:"category,omitempty" tf:"category"` // +optional DeleteWithInstance *bool `json:"deleteWithInstance,omitempty" tf:"delete_with_instance"` // +optional Description *string `json:"description,omitempty" tf:"description"` // +optional Iops *string `json:"iops,omitempty" tf:"iops"` // +optional Name *string `json:"name,omitempty" tf:"name"` // +optional PerformanceLevel *string `json:"performanceLevel,omitempty" tf:"performance_level"` // +optional Size *int64 `json:"size,omitempty" tf:"size"` }
func (*TemplateSpecSystemDisk) DeepCopy ¶
func (in *TemplateSpecSystemDisk) DeepCopy() *TemplateSpecSystemDisk
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateSpecSystemDisk.
func (*TemplateSpecSystemDisk) DeepCopyInto ¶
func (in *TemplateSpecSystemDisk) DeepCopyInto(out *TemplateSpecSystemDisk)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateSpecSystemDiskCodec ¶
type TemplateSpecSystemDiskCodec struct { }
+k8s:deepcopy-gen=false
func (TemplateSpecSystemDiskCodec) Decode ¶
func (TemplateSpecSystemDiskCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type TemplateStatus ¶
type TemplateStatus 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 (*TemplateStatus) DeepCopy ¶
func (in *TemplateStatus) DeepCopy() *TemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateStatus.
func (*TemplateStatus) DeepCopyInto ¶
func (in *TemplateStatus) DeepCopyInto(out *TemplateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.