v1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=ack.cattle.io

+k8s:deepcopy-gen=package +groupName=ack.cattle.io

+k8s:deepcopy-gen=package +groupName=ack.cattle.io

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var (
	ACKClusterConfigResourceName = "ackclusterconfigs"
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: ack.GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back 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 ACKClusterConfig

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

	Spec   ACKClusterConfigSpec   `json:"spec"`
	Status ACKClusterConfigStatus `json:"status"`
}

func NewACKClusterConfig

func NewACKClusterConfig(namespace, name string, obj ACKClusterConfig) *ACKClusterConfig

func (*ACKClusterConfig) DeepCopy

func (in *ACKClusterConfig) DeepCopy() *ACKClusterConfig

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

func (*ACKClusterConfig) DeepCopyInto

func (in *ACKClusterConfig) DeepCopyInto(out *ACKClusterConfig)

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

func (*ACKClusterConfig) DeepCopyObject

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

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

type ACKClusterConfigList

type ACKClusterConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ACKClusterConfig `json:"items"`
}

ACKClusterConfigList is a list of ACKClusterConfig resources

func (*ACKClusterConfigList) DeepCopy

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

func (*ACKClusterConfigList) DeepCopyInto

func (in *ACKClusterConfigList) DeepCopyInto(out *ACKClusterConfigList)

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

func (*ACKClusterConfigList) DeepCopyObject

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

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

type ACKClusterConfigSpec

type ACKClusterConfigSpec struct {
	Name                     string     `json:"name,omitempty"`
	ClusterID                string     `json:"cluster_id,omitempty"`
	AccessKeyID              string     `json:"access_key_id,omitempty"`
	AccessKeySecret          string     `json:"access_key_secret,omitempty"`
	DisableRollback          bool       `json:"disable_rollback"`
	ClusterType              string     `json:"cluster_type,omitempty"`
	KubernetesVersion        string     `json:"kubernetes_version,omitempty"`
	TimeoutMins              int64      `json:"timeout_mins,omitempty"`
	RegionID                 string     `json:"region_id,omitempty"`
	VpcID                    string     `json:"vpcid,omitempty"`
	ZoneID                   string     `json:"zoneid,omitempty"`
	ContainerCidr            string     `json:"container_cidr,omitempty"`
	ServiceCidr              string     `json:"service_cidr,omitempty"`
	CloudMonitorFlags        bool       `json:"cloud_monitor_flags"`
	LoginPassword            string     `json:"login_password,omitempty"`
	KeyPair                  string     `json:"key_pair,omitempty"`
	WorkerInstanceChargeType string     `json:"worker_instance_charge_type,omitempty"`
	WorkerPeriod             int64      `json:"worker_period,omitempty"`
	WorkerPeriodUnit         string     `json:"worker_period_unit,omitempty"`
	WorkerAutoRenew          bool       `json:"worker_auto_renew"`
	WorkerAutoRenewPeriod    int64      `json:"worker_auto_renew_period,omitempty"`
	WorkerSystemDiskCategory string     `json:"worker_system_disk_category,omitempty"`
	WorkerSystemDiskSize     int64      `json:"worker_system_disk_size,omitempty"`
	NumOfNodes               int64      `json:"num_of_nodes,omitempty"`
	SnatEntry                bool       `json:"snat_entry"`
	NodeCidrMask             int64      `json:"node_cidr_mask,omitempty"`
	ProxyMode                string     `json:"proxy_mode,omitempty"`
	EndpointPublicAccess     bool       `json:"endpoint_public_access"`
	WorkerInstanceTypes      []string   `json:"worker_instance_types,omitempty"`
	WorkerVswitchIds         []string   `json:"worker_vswitch_ids,omitempty"`
	WorkerDataDisks          []diskInfo `json:"worker_data_disks,omitempty"`
	SecurityGroupID          string     `json:"security_group_id,omitempty"`
	SSHFlags                 bool       `json:"ssh_flags"`
	MasterVswitchIds         []string   `json:"master_vswitch_ids,omitempty"`
	MasterInstanceTypes      []string   `json:"master_instance_types,omitempty"`
	MasterInstanceChargeType string     `json:"master_instance_charge_type,omitempty"`
	MasterPeriod             int64      `json:"master_period,omitempty"`
	MasterPeriodUnit         string     `json:"master_period_unit,omitempty"`
	MasterAutoRenew          bool       `json:"master_auto_renew"`
	MasterAutoRenewPeriod    int64      `json:"master_auto_renew_period,omitempty"`
	MasterSystemDiskCategory string     `json:"master_system_disk_category,omitempty"`
	MasterSystemDiskSize     int64      `json:"master_system_disk_size,omitempty"`
	OsType                   string     `json:"os_type,omitempty"`
	Platform                 string     `json:"platform,omitempty"`
	ResourceGroupID          string     `json:"resource_group_id,omitempty"`
	Imported                 bool       `json:"imported"`
}

ACKClusterConfigSpec is the spec for a ACKClusterConfig resource

func (*ACKClusterConfigSpec) DeepCopy

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

func (*ACKClusterConfigSpec) DeepCopyInto

func (in *ACKClusterConfigSpec) DeepCopyInto(out *ACKClusterConfigSpec)

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

type ACKClusterConfigStatus

type ACKClusterConfigStatus struct {
	Phase          string `json:"phase"`
	NumOfNodes     int64  `json:"num_of_nodes,omitempty"`
	FailureMessage string `json:"failureMessage"`
}

func (*ACKClusterConfigStatus) DeepCopy

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

func (*ACKClusterConfigStatus) DeepCopyInto

func (in *ACKClusterConfigStatus) DeepCopyInto(out *ACKClusterConfigStatus)

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