Documentation ¶
Overview ¶
+groupName=instance.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 Instance
- func (in *Instance) DeepCopy() *Instance
- func (in *Instance) DeepCopyInto(out *Instance)
- func (in *Instance) DeepCopyObject() runtime.Object
- func (r *Instance) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Instance) ValidateCreate() error
- func (r *Instance) ValidateDelete() error
- func (r *Instance) ValidateUpdate(old runtime.Object) error
- type InstanceList
- type InstanceSpec
- type InstanceSpecDataDisks
- type InstanceSpecResource
- type InstanceStatus
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: instance.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 Instance ¶
type Instance struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InstanceSpec `json:"spec,omitempty"` Status InstanceStatus `json:"status,omitempty"` }
func (*Instance) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance.
func (*Instance) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Instance) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Instance) SetupWebhookWithManager ¶
func (*Instance) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Instance) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type InstanceList ¶
type InstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Instance CRD objects Items []Instance `json:"items,omitempty"` }
InstanceList is a list of Instances
func (*InstanceList) DeepCopy ¶
func (in *InstanceList) DeepCopy() *InstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceList.
func (*InstanceList) DeepCopyInto ¶
func (in *InstanceList) DeepCopyInto(out *InstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InstanceList) DeepCopyObject ¶
func (in *InstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InstanceSpec ¶
type InstanceSpec struct { State *InstanceSpecResource `json:"state,omitempty" tf:"-"` Resource InstanceSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*InstanceSpec) DeepCopy ¶
func (in *InstanceSpec) DeepCopy() *InstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpec.
func (*InstanceSpec) DeepCopyInto ¶
func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceSpecDataDisks ¶
type InstanceSpecDataDisks struct { // +optional AutoSnapshotPolicyID *string `json:"autoSnapshotPolicyID,omitempty" tf:"auto_snapshot_policy_id"` // +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 KmsKeyID *string `json:"kmsKeyID,omitempty" tf:"kms_key_id"` // +optional Name *string `json:"name,omitempty" tf:"name"` // +optional PerformanceLevel *string `json:"performanceLevel,omitempty" tf:"performance_level"` Size *int64 `json:"size" tf:"size"` // +optional SnapshotID *string `json:"snapshotID,omitempty" tf:"snapshot_id"` }
func (*InstanceSpecDataDisks) DeepCopy ¶
func (in *InstanceSpecDataDisks) DeepCopy() *InstanceSpecDataDisks
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpecDataDisks.
func (*InstanceSpecDataDisks) DeepCopyInto ¶
func (in *InstanceSpecDataDisks) DeepCopyInto(out *InstanceSpecDataDisks)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceSpecResource ¶
type InstanceSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional // Deprecated AllocatePublicIP *bool `json:"allocatePublicIP,omitempty" tf:"allocate_public_ip"` // +optional AutoReleaseTime *string `json:"autoReleaseTime,omitempty" tf:"auto_release_time"` // +optional AutoRenewPeriod *int64 `json:"autoRenewPeriod,omitempty" tf:"auto_renew_period"` // +optional AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone"` // +optional CreditSpecification *string `json:"creditSpecification,omitempty" tf:"credit_specification"` // +optional // +kubebuilder:validation:MaxItems=16 // +kubebuilder:validation:MinItems=1 DataDisks []InstanceSpecDataDisks `json:"dataDisks,omitempty" tf:"data_disks"` // +optional DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection"` // +optional DeploymentSetGroupNo *string `json:"deploymentSetGroupNo,omitempty" tf:"deployment_set_group_no"` // +optional DeploymentSetID *string `json:"deploymentSetID,omitempty" tf:"deployment_set_id"` // +optional Description *string `json:"description,omitempty" tf:"description"` // +optional DryRun *bool `json:"dryRun,omitempty" tf:"dry_run"` // +optional ForceDelete *bool `json:"forceDelete,omitempty" tf:"force_delete"` // +optional HostName *string `json:"hostName,omitempty" tf:"host_name"` // +optional HpcClusterID *string `json:"hpcClusterID,omitempty" tf:"hpc_cluster_id"` ImageID *string `json:"imageID" tf:"image_id"` // +optional IncludeDataDisks *bool `json:"includeDataDisks,omitempty" tf:"include_data_disks"` // +optional InstanceChargeType *string `json:"instanceChargeType,omitempty" tf:"instance_charge_type"` // +optional InstanceName *string `json:"instanceName,omitempty" tf:"instance_name"` InstanceType *string `json:"instanceType" tf:"instance_type"` // +optional InternetChargeType *string `json:"internetChargeType,omitempty" tf:"internet_charge_type"` // +optional // Deprecated InternetMaxBandwidthIn *int64 `json:"internetMaxBandwidthIn,omitempty" tf:"internet_max_bandwidth_in"` // +optional InternetMaxBandwidthOut *int64 `json:"internetMaxBandwidthOut,omitempty" tf:"internet_max_bandwidth_out"` // +optional // Deprecated IoOptimized *string `json:"ioOptimized,omitempty" tf:"io_optimized"` // +optional IsOutdated *bool `json:"isOutdated,omitempty" tf:"is_outdated"` // +optional KeyName *string `json:"keyName,omitempty" tf:"key_name"` // +optional KmsEncryptedPassword *string `json:"kmsEncryptedPassword,omitempty" tf:"kms_encrypted_password"` // +optional KmsEncryptionContext map[string]string `json:"kmsEncryptionContext,omitempty" tf:"kms_encryption_context"` // +optional Password *string `json:"-" sensitive:"true" tf:"password"` // +optional Period *int64 `json:"period,omitempty" tf:"period"` // +optional PeriodUnit *string `json:"periodUnit,omitempty" tf:"period_unit"` // +optional PrivateIP *string `json:"privateIP,omitempty" tf:"private_ip"` // +optional PublicIP *string `json:"publicIP,omitempty" tf:"public_ip"` // +optional RenewalStatus *string `json:"renewalStatus,omitempty" tf:"renewal_status"` // +optional ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"` // +optional RoleName *string `json:"roleName,omitempty" tf:"role_name"` // +optional SecondaryPrivateIPAddressCount *int64 `json:"secondaryPrivateIPAddressCount,omitempty" tf:"secondary_private_ip_address_count"` // +optional SecondaryPrivateIPS []string `json:"secondaryPrivateIPS,omitempty" tf:"secondary_private_ips"` // +optional SecurityEnhancementStrategy *string `json:"securityEnhancementStrategy,omitempty" tf:"security_enhancement_strategy"` SecurityGroups []string `json:"securityGroups" tf:"security_groups"` // +optional SpotPriceLimit *float64 `json:"spotPriceLimit,omitempty" tf:"spot_price_limit"` // +optional SpotStrategy *string `json:"spotStrategy,omitempty" tf:"spot_strategy"` // +optional Status *string `json:"status,omitempty" tf:"status"` // +optional SubnetID *string `json:"subnetID,omitempty" tf:"subnet_id"` // +optional SystemDiskAutoSnapshotPolicyID *string `json:"systemDiskAutoSnapshotPolicyID,omitempty" tf:"system_disk_auto_snapshot_policy_id"` // +optional SystemDiskCategory *string `json:"systemDiskCategory,omitempty" tf:"system_disk_category"` // +optional SystemDiskDescription *string `json:"systemDiskDescription,omitempty" tf:"system_disk_description"` // +optional SystemDiskName *string `json:"systemDiskName,omitempty" tf:"system_disk_name"` // +optional SystemDiskPerformanceLevel *string `json:"systemDiskPerformanceLevel,omitempty" tf:"system_disk_performance_level"` // +optional SystemDiskSize *int64 `json:"systemDiskSize,omitempty" tf:"system_disk_size"` // +optional Tags *map[string]string `json:"tags,omitempty" tf:"tags"` // +optional UserData *string `json:"userData,omitempty" tf:"user_data"` // +optional VolumeTags map[string]string `json:"volumeTags,omitempty" tf:"volume_tags"` // +optional VswitchID *string `json:"vswitchID,omitempty" tf:"vswitch_id"` }
func (*InstanceSpecResource) DeepCopy ¶
func (in *InstanceSpecResource) DeepCopy() *InstanceSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpecResource.
func (*InstanceSpecResource) DeepCopyInto ¶
func (in *InstanceSpecResource) DeepCopyInto(out *InstanceSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceStatus ¶
type InstanceStatus 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 (*InstanceStatus) DeepCopy ¶
func (in *InstanceStatus) DeepCopy() *InstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStatus.
func (*InstanceStatus) DeepCopyInto ¶
func (in *InstanceStatus) DeepCopyInto(out *InstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.