Documentation ¶
Overview ¶
+groupName=auto.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 ProvisioningGroup
- func (in *ProvisioningGroup) DeepCopy() *ProvisioningGroup
- func (in *ProvisioningGroup) DeepCopyInto(out *ProvisioningGroup)
- func (in *ProvisioningGroup) DeepCopyObject() runtime.Object
- func (r *ProvisioningGroup) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *ProvisioningGroup) ValidateCreate() error
- func (r *ProvisioningGroup) ValidateDelete() error
- func (r *ProvisioningGroup) ValidateUpdate(old runtime.Object) error
- type ProvisioningGroupList
- type ProvisioningGroupSpec
- type ProvisioningGroupSpecLaunchTemplateConfig
- type ProvisioningGroupSpecResource
- type ProvisioningGroupStatus
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: auto.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 ProvisioningGroup ¶
type ProvisioningGroup struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProvisioningGroupSpec `json:"spec,omitempty"` Status ProvisioningGroupStatus `json:"status,omitempty"` }
func (*ProvisioningGroup) DeepCopy ¶
func (in *ProvisioningGroup) DeepCopy() *ProvisioningGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProvisioningGroup.
func (*ProvisioningGroup) DeepCopyInto ¶
func (in *ProvisioningGroup) DeepCopyInto(out *ProvisioningGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProvisioningGroup) DeepCopyObject ¶
func (in *ProvisioningGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ProvisioningGroup) SetupWebhookWithManager ¶
func (r *ProvisioningGroup) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*ProvisioningGroup) ValidateCreate ¶
func (r *ProvisioningGroup) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*ProvisioningGroup) ValidateDelete ¶
func (r *ProvisioningGroup) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*ProvisioningGroup) ValidateUpdate ¶
func (r *ProvisioningGroup) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type ProvisioningGroupList ¶
type ProvisioningGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of ProvisioningGroup CRD objects Items []ProvisioningGroup `json:"items,omitempty"` }
ProvisioningGroupList is a list of ProvisioningGroups
func (*ProvisioningGroupList) DeepCopy ¶
func (in *ProvisioningGroupList) DeepCopy() *ProvisioningGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProvisioningGroupList.
func (*ProvisioningGroupList) DeepCopyInto ¶
func (in *ProvisioningGroupList) DeepCopyInto(out *ProvisioningGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProvisioningGroupList) DeepCopyObject ¶
func (in *ProvisioningGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProvisioningGroupSpec ¶
type ProvisioningGroupSpec struct { State *ProvisioningGroupSpecResource `json:"state,omitempty" tf:"-"` Resource ProvisioningGroupSpecResource `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 (*ProvisioningGroupSpec) DeepCopy ¶
func (in *ProvisioningGroupSpec) DeepCopy() *ProvisioningGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProvisioningGroupSpec.
func (*ProvisioningGroupSpec) DeepCopyInto ¶
func (in *ProvisioningGroupSpec) DeepCopyInto(out *ProvisioningGroupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProvisioningGroupSpecLaunchTemplateConfig ¶
type ProvisioningGroupSpecLaunchTemplateConfig struct { // +optional InstanceType *string `json:"instanceType,omitempty" tf:"instance_type"` MaxPrice *string `json:"maxPrice" tf:"max_price"` // +optional Priority *string `json:"priority,omitempty" tf:"priority"` VswitchID *string `json:"vswitchID" tf:"vswitch_id"` WeightedCapacity *string `json:"weightedCapacity" tf:"weighted_capacity"` }
func (*ProvisioningGroupSpecLaunchTemplateConfig) DeepCopy ¶
func (in *ProvisioningGroupSpecLaunchTemplateConfig) DeepCopy() *ProvisioningGroupSpecLaunchTemplateConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProvisioningGroupSpecLaunchTemplateConfig.
func (*ProvisioningGroupSpecLaunchTemplateConfig) DeepCopyInto ¶
func (in *ProvisioningGroupSpecLaunchTemplateConfig) DeepCopyInto(out *ProvisioningGroupSpecLaunchTemplateConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProvisioningGroupSpecResource ¶
type ProvisioningGroupSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional AutoProvisioningGroupName *string `json:"autoProvisioningGroupName,omitempty" tf:"auto_provisioning_group_name"` // +optional AutoProvisioningGroupType *string `json:"autoProvisioningGroupType,omitempty" tf:"auto_provisioning_group_type"` // +optional DefaultTargetCapacityType *string `json:"defaultTargetCapacityType,omitempty" tf:"default_target_capacity_type"` // +optional Description *string `json:"description,omitempty" tf:"description"` // +optional ExcessCapacityTerminationPolicy *string `json:"excessCapacityTerminationPolicy,omitempty" tf:"excess_capacity_termination_policy"` LaunchTemplateConfig []ProvisioningGroupSpecLaunchTemplateConfig `json:"launchTemplateConfig" tf:"launch_template_config"` LaunchTemplateID *string `json:"launchTemplateID" tf:"launch_template_id"` // +optional LaunchTemplateVersion *string `json:"launchTemplateVersion,omitempty" tf:"launch_template_version"` // +optional MaxSpotPrice *float64 `json:"maxSpotPrice,omitempty" tf:"max_spot_price"` // +optional PayAsYouGoAllocationStrategy *string `json:"payAsYouGoAllocationStrategy,omitempty" tf:"pay_as_you_go_allocation_strategy"` // +optional PayAsYouGoTargetCapacity *string `json:"payAsYouGoTargetCapacity,omitempty" tf:"pay_as_you_go_target_capacity"` // +optional SpotAllocationStrategy *string `json:"spotAllocationStrategy,omitempty" tf:"spot_allocation_strategy"` // +optional SpotInstanceInterruptionBehavior *string `json:"spotInstanceInterruptionBehavior,omitempty" tf:"spot_instance_interruption_behavior"` // +optional SpotInstancePoolsToUseCount *int64 `json:"spotInstancePoolsToUseCount,omitempty" tf:"spot_instance_pools_to_use_count"` // +optional SpotTargetCapacity *string `json:"spotTargetCapacity,omitempty" tf:"spot_target_capacity"` // +optional TerminateInstances *bool `json:"terminateInstances,omitempty" tf:"terminate_instances"` // +optional TerminateInstancesWithExpiration *bool `json:"terminateInstancesWithExpiration,omitempty" tf:"terminate_instances_with_expiration"` TotalTargetCapacity *string `json:"totalTargetCapacity" tf:"total_target_capacity"` // +optional ValidFrom *string `json:"validFrom,omitempty" tf:"valid_from"` // +optional ValidUntil *string `json:"validUntil,omitempty" tf:"valid_until"` }
func (*ProvisioningGroupSpecResource) DeepCopy ¶
func (in *ProvisioningGroupSpecResource) DeepCopy() *ProvisioningGroupSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProvisioningGroupSpecResource.
func (*ProvisioningGroupSpecResource) DeepCopyInto ¶
func (in *ProvisioningGroupSpecResource) DeepCopyInto(out *ProvisioningGroupSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProvisioningGroupStatus ¶
type ProvisioningGroupStatus 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 (*ProvisioningGroupStatus) DeepCopy ¶
func (in *ProvisioningGroupStatus) DeepCopy() *ProvisioningGroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProvisioningGroupStatus.
func (*ProvisioningGroupStatus) DeepCopyInto ¶
func (in *ProvisioningGroupStatus) DeepCopyInto(out *ProvisioningGroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.