v1alpha1

package
v0.0.0-...-00dc90f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the alibabacloud v1alpha1 API group +kubebuilder:object:generate=true +groupName=alibabacloud.zhouzhengxi.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "alibabacloud.zhouzhengxi.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type ECSInstance

type ECSInstance struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ECSInstanceSpec   `json:"spec,omitempty"`
	Status ECSInstanceStatus `json:"status,omitempty"`
}

ECSInstance is the Schema for the ecsinstances API

func (*ECSInstance) DeepCopy

func (in *ECSInstance) DeepCopy() *ECSInstance

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ECSInstance.

func (*ECSInstance) DeepCopyInto

func (in *ECSInstance) DeepCopyInto(out *ECSInstance)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ECSInstance) DeepCopyObject

func (in *ECSInstance) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ECSInstanceList

type ECSInstanceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ECSInstance `json:"items"`
}

ECSInstanceList contains a list of ECSInstance

func (*ECSInstanceList) DeepCopy

func (in *ECSInstanceList) DeepCopy() *ECSInstanceList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ECSInstanceList.

func (*ECSInstanceList) DeepCopyInto

func (in *ECSInstanceList) DeepCopyInto(out *ECSInstanceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ECSInstanceList) DeepCopyObject

func (in *ECSInstanceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ECSInstanceSpec

type ECSInstanceSpec struct {

	// Region ID to create an ECS Instance
	RegionID string `json:"regionID"`

	// Instance type for an ECS instance
	InstanceType string `json:"instanceType"`

	// Image ID for an ECS instance
	ImageID string `json:"imageID"`

	// Charge type for an ECS isntance
	InstanceChargeType string `json:"instanceChargeType,omitempty"`

	// Instance name
	InstanceName string `json:"instanceName,omitempty"`
}

ECSInstanceSpec defines the desired state of ECSInstance

func (*ECSInstanceSpec) DeepCopy

func (in *ECSInstanceSpec) DeepCopy() *ECSInstanceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ECSInstanceSpec.

func (*ECSInstanceSpec) DeepCopyInto

func (in *ECSInstanceSpec) DeepCopyInto(out *ECSInstanceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ECSInstanceStatus

type ECSInstanceStatus struct {

	// Region ID to create an ECS Instance
	InstanceID string `json:"instanceID"`
}

ECSInstanceStatus defines the observed state of ECSInstance

func (*ECSInstanceStatus) DeepCopy

func (in *ECSInstanceStatus) DeepCopy() *ECSInstanceStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ECSInstanceStatus.

func (*ECSInstanceStatus) DeepCopyInto

func (in *ECSInstanceStatus) DeepCopyInto(out *ECSInstanceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL