v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 2

Documentation

Overview

+groupName=eci.alicloud.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
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
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: eci.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

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 ContainerGroup

type ContainerGroup struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ContainerGroupSpec   `json:"spec,omitempty"`
	Status            ContainerGroupStatus `json:"status,omitempty"`
}

func (*ContainerGroup) DeepCopy

func (in *ContainerGroup) DeepCopy() *ContainerGroup

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

func (*ContainerGroup) DeepCopyInto

func (in *ContainerGroup) DeepCopyInto(out *ContainerGroup)

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

func (*ContainerGroup) DeepCopyObject

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

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

func (*ContainerGroup) SetupWebhookWithManager

func (r *ContainerGroup) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ContainerGroup) ValidateCreate

func (r *ContainerGroup) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ContainerGroup) ValidateDelete

func (r *ContainerGroup) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ContainerGroup) ValidateUpdate

func (r *ContainerGroup) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ContainerGroupList

type ContainerGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ContainerGroup CRD objects
	Items []ContainerGroup `json:"items,omitempty"`
}

ContainerGroupList is a list of ContainerGroups

func (*ContainerGroupList) DeepCopy

func (in *ContainerGroupList) DeepCopy() *ContainerGroupList

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

func (*ContainerGroupList) DeepCopyInto

func (in *ContainerGroupList) DeepCopyInto(out *ContainerGroupList)

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

func (*ContainerGroupList) DeepCopyObject

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

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

type ContainerGroupSpec

type ContainerGroupSpec struct {
	State *ContainerGroupSpecResource `json:"state,omitempty" tf:"-"`

	Resource ContainerGroupSpecResource `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 (*ContainerGroupSpec) DeepCopy

func (in *ContainerGroupSpec) DeepCopy() *ContainerGroupSpec

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

func (*ContainerGroupSpec) DeepCopyInto

func (in *ContainerGroupSpec) DeepCopyInto(out *ContainerGroupSpec)

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

type ContainerGroupSpecContainers

type ContainerGroupSpecContainers struct {
	// +optional
	Args []string `json:"args,omitempty" tf:"args"`
	// +optional
	Commands []string `json:"commands,omitempty" tf:"commands"`
	// +optional
	Cpu *float64 `json:"cpu,omitempty" tf:"cpu"`
	// +optional
	EnvironmentVars []ContainerGroupSpecContainersEnvironmentVars `json:"environmentVars,omitempty" tf:"environment_vars"`
	// +optional
	Gpu   *int64  `json:"gpu,omitempty" tf:"gpu"`
	Image *string `json:"image" tf:"image"`
	// +optional
	ImagePullPolicy *string `json:"imagePullPolicy,omitempty" tf:"image_pull_policy"`
	// +optional
	Memory *float64 `json:"memory,omitempty" tf:"memory"`
	Name   *string  `json:"name" tf:"name"`
	// +optional
	Ports []ContainerGroupSpecContainersPorts `json:"ports,omitempty" tf:"ports"`
	// +optional
	Ready *bool `json:"ready,omitempty" tf:"ready"`
	// +optional
	RestartCount *int64 `json:"restartCount,omitempty" tf:"restart_count"`
	// +optional
	VolumeMounts []ContainerGroupSpecContainersVolumeMounts `json:"volumeMounts,omitempty" tf:"volume_mounts"`
	// +optional
	WorkingDir *string `json:"workingDir,omitempty" tf:"working_dir"`
}

func (*ContainerGroupSpecContainers) DeepCopy

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

func (*ContainerGroupSpecContainers) DeepCopyInto

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

type ContainerGroupSpecContainersEnvironmentVars

type ContainerGroupSpecContainersEnvironmentVars struct {
	// +optional
	Key *string `json:"key,omitempty" tf:"key"`
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*ContainerGroupSpecContainersEnvironmentVars) DeepCopy

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

func (*ContainerGroupSpecContainersEnvironmentVars) DeepCopyInto

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

type ContainerGroupSpecContainersPorts

type ContainerGroupSpecContainersPorts struct {
	// +optional
	Port *int64 `json:"port,omitempty" tf:"port"`
	// +optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol"`
}

func (*ContainerGroupSpecContainersPorts) DeepCopy

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

func (*ContainerGroupSpecContainersPorts) DeepCopyInto

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

type ContainerGroupSpecContainersVolumeMounts

type ContainerGroupSpecContainersVolumeMounts struct {
	// +optional
	MountPath *string `json:"mountPath,omitempty" tf:"mount_path"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	ReadOnly *bool `json:"readOnly,omitempty" tf:"read_only"`
}

func (*ContainerGroupSpecContainersVolumeMounts) DeepCopy

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

func (*ContainerGroupSpecContainersVolumeMounts) DeepCopyInto

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

type ContainerGroupSpecDnsConfig

type ContainerGroupSpecDnsConfig struct {
	// +optional
	NameServers []string `json:"nameServers,omitempty" tf:"name_servers"`
	// +optional
	Options []ContainerGroupSpecDnsConfigOptions `json:"options,omitempty" tf:"options"`
	// +optional
	Searches []string `json:"searches,omitempty" tf:"searches"`
}

func (*ContainerGroupSpecDnsConfig) DeepCopy

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

func (*ContainerGroupSpecDnsConfig) DeepCopyInto

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

type ContainerGroupSpecDnsConfigCodec

type ContainerGroupSpecDnsConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (ContainerGroupSpecDnsConfigCodec) Decode

func (ContainerGroupSpecDnsConfigCodec) Encode

func (ContainerGroupSpecDnsConfigCodec) IsEmpty

type ContainerGroupSpecDnsConfigOptions

type ContainerGroupSpecDnsConfigOptions struct {
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*ContainerGroupSpecDnsConfigOptions) DeepCopy

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

func (*ContainerGroupSpecDnsConfigOptions) DeepCopyInto

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

type ContainerGroupSpecEciSecurityContext

type ContainerGroupSpecEciSecurityContext struct {
	// +optional
	Sysctls []ContainerGroupSpecEciSecurityContextSysctls `json:"sysctls,omitempty" tf:"sysctls"`
}

func (*ContainerGroupSpecEciSecurityContext) DeepCopy

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

func (*ContainerGroupSpecEciSecurityContext) DeepCopyInto

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

type ContainerGroupSpecEciSecurityContextCodec

type ContainerGroupSpecEciSecurityContextCodec struct {
}

+k8s:deepcopy-gen=false

func (ContainerGroupSpecEciSecurityContextCodec) Decode

func (ContainerGroupSpecEciSecurityContextCodec) Encode

func (ContainerGroupSpecEciSecurityContextCodec) IsEmpty

type ContainerGroupSpecEciSecurityContextSysctls

type ContainerGroupSpecEciSecurityContextSysctls struct {
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*ContainerGroupSpecEciSecurityContextSysctls) DeepCopy

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

func (*ContainerGroupSpecEciSecurityContextSysctls) DeepCopyInto

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

type ContainerGroupSpecHostAliases

type ContainerGroupSpecHostAliases struct {
	// +optional
	Hostnames []string `json:"hostnames,omitempty" tf:"hostnames"`
	// +optional
	Ip *string `json:"ip,omitempty" tf:"ip"`
}

func (*ContainerGroupSpecHostAliases) DeepCopy

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

func (*ContainerGroupSpecHostAliases) DeepCopyInto

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

type ContainerGroupSpecImageRegistryCredential added in v0.5.0

type ContainerGroupSpecImageRegistryCredential struct {
	Password *string `json:"password" tf:"password"`
	Server   *string `json:"server" tf:"server"`
	UserName *string `json:"userName" tf:"user_name"`
}

func (*ContainerGroupSpecImageRegistryCredential) DeepCopy added in v0.5.0

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

func (*ContainerGroupSpecImageRegistryCredential) DeepCopyInto added in v0.5.0

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

type ContainerGroupSpecInitContainers

type ContainerGroupSpecInitContainers struct {
	// +optional
	Args []string `json:"args,omitempty" tf:"args"`
	// +optional
	Commands []string `json:"commands,omitempty" tf:"commands"`
	// +optional
	Cpu *float64 `json:"cpu,omitempty" tf:"cpu"`
	// +optional
	EnvironmentVars []ContainerGroupSpecInitContainersEnvironmentVars `json:"environmentVars,omitempty" tf:"environment_vars"`
	// +optional
	Gpu *int64 `json:"gpu,omitempty" tf:"gpu"`
	// +optional
	Image *string `json:"image,omitempty" tf:"image"`
	// +optional
	ImagePullPolicy *string `json:"imagePullPolicy,omitempty" tf:"image_pull_policy"`
	// +optional
	Memory *float64 `json:"memory,omitempty" tf:"memory"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Ports []ContainerGroupSpecInitContainersPorts `json:"ports,omitempty" tf:"ports"`
	// +optional
	Ready *bool `json:"ready,omitempty" tf:"ready"`
	// +optional
	RestartCount *int64 `json:"restartCount,omitempty" tf:"restart_count"`
	// +optional
	VolumeMounts []ContainerGroupSpecInitContainersVolumeMounts `json:"volumeMounts,omitempty" tf:"volume_mounts"`
	// +optional
	WorkingDir *string `json:"workingDir,omitempty" tf:"working_dir"`
}

func (*ContainerGroupSpecInitContainers) DeepCopy

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

func (*ContainerGroupSpecInitContainers) DeepCopyInto

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

type ContainerGroupSpecInitContainersEnvironmentVars

type ContainerGroupSpecInitContainersEnvironmentVars struct {
	// +optional
	Key *string `json:"key,omitempty" tf:"key"`
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*ContainerGroupSpecInitContainersEnvironmentVars) DeepCopy

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

func (*ContainerGroupSpecInitContainersEnvironmentVars) DeepCopyInto

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

type ContainerGroupSpecInitContainersPorts

type ContainerGroupSpecInitContainersPorts struct {
	// +optional
	Port *int64 `json:"port,omitempty" tf:"port"`
	// +optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol"`
}

func (*ContainerGroupSpecInitContainersPorts) DeepCopy

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

func (*ContainerGroupSpecInitContainersPorts) DeepCopyInto

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

type ContainerGroupSpecInitContainersVolumeMounts

type ContainerGroupSpecInitContainersVolumeMounts struct {
	// +optional
	MountPath *string `json:"mountPath,omitempty" tf:"mount_path"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	ReadOnly *bool `json:"readOnly,omitempty" tf:"read_only"`
}

func (*ContainerGroupSpecInitContainersVolumeMounts) DeepCopy

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

func (*ContainerGroupSpecInitContainersVolumeMounts) DeepCopyInto

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

type ContainerGroupSpecResource

type ContainerGroupSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	ContainerGroupName *string                        `json:"containerGroupName" tf:"container_group_name"`
	Containers         []ContainerGroupSpecContainers `json:"containers" tf:"containers"`
	// +optional
	Cpu *float64 `json:"cpu,omitempty" tf:"cpu"`
	// +optional
	DnsConfig *ContainerGroupSpecDnsConfig `json:"dnsConfig,omitempty" tf:"dns_config"`
	// +optional
	EciSecurityContext *ContainerGroupSpecEciSecurityContext `json:"eciSecurityContext,omitempty" tf:"eci_security_context"`
	// +optional
	HostAliases []ContainerGroupSpecHostAliases `json:"hostAliases,omitempty" tf:"host_aliases"`
	// +optional
	ImageRegistryCredential []ContainerGroupSpecImageRegistryCredential `json:"imageRegistryCredential,omitempty" tf:"image_registry_credential"`
	// +optional
	InitContainers []ContainerGroupSpecInitContainers `json:"initContainers,omitempty" tf:"init_containers"`
	// +optional
	InstanceType *string `json:"instanceType,omitempty" tf:"instance_type"`
	// +optional
	Memory *float64 `json:"memory,omitempty" tf:"memory"`
	// +optional
	RamRoleName *string `json:"ramRoleName,omitempty" tf:"ram_role_name"`
	// +optional
	ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	// +optional
	RestartPolicy   *string `json:"restartPolicy,omitempty" tf:"restart_policy"`
	SecurityGroupID *string `json:"securityGroupID" tf:"security_group_id"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	Tags map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	Volumes   []ContainerGroupSpecVolumes `json:"volumes,omitempty" tf:"volumes"`
	VswitchID *string                     `json:"vswitchID" tf:"vswitch_id"`
	// +optional
	ZoneID *string `json:"zoneID,omitempty" tf:"zone_id"`
}

func (*ContainerGroupSpecResource) DeepCopy

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

func (*ContainerGroupSpecResource) DeepCopyInto

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

type ContainerGroupSpecVolumes

type ContainerGroupSpecVolumes struct {
	// +optional
	ConfigFileVolumeConfigFileToPaths []ContainerGroupSpecVolumesConfigFileVolumeConfigFileToPaths `json:"configFileVolumeConfigFileToPaths,omitempty" tf:"config_file_volume_config_file_to_paths"`
	// +optional
	DiskVolumeDiskID *string `json:"diskVolumeDiskID,omitempty" tf:"disk_volume_disk_id"`
	// +optional
	DiskVolumeFsType *string `json:"diskVolumeFsType,omitempty" tf:"disk_volume_fs_type"`
	// +optional
	FlexVolumeDriver *string `json:"flexVolumeDriver,omitempty" tf:"flex_volume_driver"`
	// +optional
	FlexVolumeFsType *string `json:"flexVolumeFsType,omitempty" tf:"flex_volume_fs_type"`
	// +optional
	FlexVolumeOptions *string `json:"flexVolumeOptions,omitempty" tf:"flex_volume_options"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	NfsVolumePath *string `json:"nfsVolumePath,omitempty" tf:"nfs_volume_path"`
	// +optional
	NfsVolumeReadOnly *bool `json:"nfsVolumeReadOnly,omitempty" tf:"nfs_volume_read_only"`
	// +optional
	NfsVolumeServer *string `json:"nfsVolumeServer,omitempty" tf:"nfs_volume_server"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*ContainerGroupSpecVolumes) DeepCopy

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

func (*ContainerGroupSpecVolumes) DeepCopyInto

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

type ContainerGroupSpecVolumesConfigFileVolumeConfigFileToPaths

type ContainerGroupSpecVolumesConfigFileVolumeConfigFileToPaths struct {
	// +optional
	Content *string `json:"content,omitempty" tf:"content"`
	// +optional
	Path *string `json:"path,omitempty" tf:"path"`
}

func (*ContainerGroupSpecVolumesConfigFileVolumeConfigFileToPaths) DeepCopy

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

func (*ContainerGroupSpecVolumesConfigFileVolumeConfigFileToPaths) DeepCopyInto

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

type ContainerGroupStatus

type ContainerGroupStatus 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 (*ContainerGroupStatus) DeepCopy

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

func (*ContainerGroupStatus) DeepCopyInto

func (in *ContainerGroupStatus) DeepCopyInto(out *ContainerGroupStatus)

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

type ImageCache

type ImageCache struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ImageCacheSpec   `json:"spec,omitempty"`
	Status            ImageCacheStatus `json:"status,omitempty"`
}

func (*ImageCache) DeepCopy

func (in *ImageCache) DeepCopy() *ImageCache

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

func (*ImageCache) DeepCopyInto

func (in *ImageCache) DeepCopyInto(out *ImageCache)

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

func (*ImageCache) DeepCopyObject

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

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

func (*ImageCache) SetupWebhookWithManager

func (r *ImageCache) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ImageCache) ValidateCreate

func (r *ImageCache) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ImageCache) ValidateDelete

func (r *ImageCache) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ImageCache) ValidateUpdate

func (r *ImageCache) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ImageCacheList

type ImageCacheList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ImageCache CRD objects
	Items []ImageCache `json:"items,omitempty"`
}

ImageCacheList is a list of ImageCaches

func (*ImageCacheList) DeepCopy

func (in *ImageCacheList) DeepCopy() *ImageCacheList

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

func (*ImageCacheList) DeepCopyInto

func (in *ImageCacheList) DeepCopyInto(out *ImageCacheList)

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

func (*ImageCacheList) DeepCopyObject

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

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

type ImageCacheSpec

type ImageCacheSpec struct {
	State *ImageCacheSpecResource `json:"state,omitempty" tf:"-"`

	Resource ImageCacheSpecResource `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 (*ImageCacheSpec) DeepCopy

func (in *ImageCacheSpec) DeepCopy() *ImageCacheSpec

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

func (*ImageCacheSpec) DeepCopyInto

func (in *ImageCacheSpec) DeepCopyInto(out *ImageCacheSpec)

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

type ImageCacheSpecImageRegistryCredential

type ImageCacheSpecImageRegistryCredential struct {
	// +optional
	Password *string `json:"password,omitempty" tf:"password"`
	// +optional
	Server *string `json:"server,omitempty" tf:"server"`
	// +optional
	UserName *string `json:"userName,omitempty" tf:"user_name"`
}

func (*ImageCacheSpecImageRegistryCredential) DeepCopy

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

func (*ImageCacheSpecImageRegistryCredential) DeepCopyInto

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

type ImageCacheSpecResource

type ImageCacheSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	ContainerGroupID *string `json:"containerGroupID,omitempty" tf:"container_group_id"`
	// +optional
	EipInstanceID  *string `json:"eipInstanceID,omitempty" tf:"eip_instance_id"`
	ImageCacheName *string `json:"imageCacheName" tf:"image_cache_name"`
	// +optional
	ImageCacheSize *int64 `json:"imageCacheSize,omitempty" tf:"image_cache_size"`
	// +optional
	ImageRegistryCredential []ImageCacheSpecImageRegistryCredential `json:"imageRegistryCredential,omitempty" tf:"image_registry_credential"`
	Images                  []string                                `json:"images" tf:"images"`
	// +optional
	ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	// +optional
	RetentionDays   *int64  `json:"retentionDays,omitempty" tf:"retention_days"`
	SecurityGroupID *string `json:"securityGroupID" tf:"security_group_id"`
	// +optional
	Status    *string `json:"status,omitempty" tf:"status"`
	VswitchID *string `json:"vswitchID" tf:"vswitch_id"`
	// +optional
	ZoneID *string `json:"zoneID,omitempty" tf:"zone_id"`
}

func (*ImageCacheSpecResource) DeepCopy

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

func (*ImageCacheSpecResource) DeepCopyInto

func (in *ImageCacheSpecResource) DeepCopyInto(out *ImageCacheSpecResource)

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

type ImageCacheStatus

type ImageCacheStatus 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 (*ImageCacheStatus) DeepCopy

func (in *ImageCacheStatus) DeepCopy() *ImageCacheStatus

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

func (*ImageCacheStatus) DeepCopyInto

func (in *ImageCacheStatus) DeepCopyInto(out *ImageCacheStatus)

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

type OpenapiImageCache

type OpenapiImageCache struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              OpenapiImageCacheSpec   `json:"spec,omitempty"`
	Status            OpenapiImageCacheStatus `json:"status,omitempty"`
}

func (*OpenapiImageCache) DeepCopy

func (in *OpenapiImageCache) DeepCopy() *OpenapiImageCache

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

func (*OpenapiImageCache) DeepCopyInto

func (in *OpenapiImageCache) DeepCopyInto(out *OpenapiImageCache)

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

func (*OpenapiImageCache) DeepCopyObject

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

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

func (*OpenapiImageCache) SetupWebhookWithManager

func (r *OpenapiImageCache) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*OpenapiImageCache) ValidateCreate

func (r *OpenapiImageCache) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*OpenapiImageCache) ValidateDelete

func (r *OpenapiImageCache) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*OpenapiImageCache) ValidateUpdate

func (r *OpenapiImageCache) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type OpenapiImageCacheList

type OpenapiImageCacheList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of OpenapiImageCache CRD objects
	Items []OpenapiImageCache `json:"items,omitempty"`
}

OpenapiImageCacheList is a list of OpenapiImageCaches

func (*OpenapiImageCacheList) DeepCopy

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

func (*OpenapiImageCacheList) DeepCopyInto

func (in *OpenapiImageCacheList) DeepCopyInto(out *OpenapiImageCacheList)

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

func (*OpenapiImageCacheList) DeepCopyObject

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

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

type OpenapiImageCacheSpec

type OpenapiImageCacheSpec struct {
	State *OpenapiImageCacheSpecResource `json:"state,omitempty" tf:"-"`

	Resource OpenapiImageCacheSpecResource `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 (*OpenapiImageCacheSpec) DeepCopy

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

func (*OpenapiImageCacheSpec) DeepCopyInto

func (in *OpenapiImageCacheSpec) DeepCopyInto(out *OpenapiImageCacheSpec)

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

type OpenapiImageCacheSpecImageRegistryCredential

type OpenapiImageCacheSpecImageRegistryCredential struct {
	// +optional
	Password *string `json:"password,omitempty" tf:"password"`
	// +optional
	Server *string `json:"server,omitempty" tf:"server"`
	// +optional
	UserName *string `json:"userName,omitempty" tf:"user_name"`
}

func (*OpenapiImageCacheSpecImageRegistryCredential) DeepCopy

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

func (*OpenapiImageCacheSpecImageRegistryCredential) DeepCopyInto

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

type OpenapiImageCacheSpecResource

type OpenapiImageCacheSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	ContainerGroupID *string `json:"containerGroupID,omitempty" tf:"container_group_id"`
	// +optional
	EipInstanceID  *string `json:"eipInstanceID,omitempty" tf:"eip_instance_id"`
	ImageCacheName *string `json:"imageCacheName" tf:"image_cache_name"`
	// +optional
	ImageCacheSize *int64 `json:"imageCacheSize,omitempty" tf:"image_cache_size"`
	// +optional
	ImageRegistryCredential []OpenapiImageCacheSpecImageRegistryCredential `json:"imageRegistryCredential,omitempty" tf:"image_registry_credential"`
	Images                  []string                                       `json:"images" tf:"images"`
	// +optional
	ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	// +optional
	RetentionDays   *int64  `json:"retentionDays,omitempty" tf:"retention_days"`
	SecurityGroupID *string `json:"securityGroupID" tf:"security_group_id"`
	// +optional
	Status    *string `json:"status,omitempty" tf:"status"`
	VswitchID *string `json:"vswitchID" tf:"vswitch_id"`
	// +optional
	ZoneID *string `json:"zoneID,omitempty" tf:"zone_id"`
}

func (*OpenapiImageCacheSpecResource) DeepCopy

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

func (*OpenapiImageCacheSpecResource) DeepCopyInto

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

type OpenapiImageCacheStatus

type OpenapiImageCacheStatus 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 (*OpenapiImageCacheStatus) DeepCopy

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

func (*OpenapiImageCacheStatus) DeepCopyInto

func (in *OpenapiImageCacheStatus) DeepCopyInto(out *OpenapiImageCacheStatus)

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

type VirtualNode added in v0.5.0

type VirtualNode struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VirtualNodeSpec   `json:"spec,omitempty"`
	Status            VirtualNodeStatus `json:"status,omitempty"`
}

func (*VirtualNode) DeepCopy added in v0.5.0

func (in *VirtualNode) DeepCopy() *VirtualNode

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

func (*VirtualNode) DeepCopyInto added in v0.5.0

func (in *VirtualNode) DeepCopyInto(out *VirtualNode)

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

func (*VirtualNode) DeepCopyObject added in v0.5.0

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

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

func (*VirtualNode) SetupWebhookWithManager added in v0.5.0

func (r *VirtualNode) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*VirtualNode) ValidateCreate added in v0.5.0

func (r *VirtualNode) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*VirtualNode) ValidateDelete added in v0.5.0

func (r *VirtualNode) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*VirtualNode) ValidateUpdate added in v0.5.0

func (r *VirtualNode) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type VirtualNodeList added in v0.5.0

type VirtualNodeList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of VirtualNode CRD objects
	Items []VirtualNode `json:"items,omitempty"`
}

VirtualNodeList is a list of VirtualNodes

func (*VirtualNodeList) DeepCopy added in v0.5.0

func (in *VirtualNodeList) DeepCopy() *VirtualNodeList

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

func (*VirtualNodeList) DeepCopyInto added in v0.5.0

func (in *VirtualNodeList) DeepCopyInto(out *VirtualNodeList)

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

func (*VirtualNodeList) DeepCopyObject added in v0.5.0

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

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

type VirtualNodeSpec added in v0.5.0

type VirtualNodeSpec struct {
	State *VirtualNodeSpecResource `json:"state,omitempty" tf:"-"`

	Resource VirtualNodeSpecResource `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 (*VirtualNodeSpec) DeepCopy added in v0.5.0

func (in *VirtualNodeSpec) DeepCopy() *VirtualNodeSpec

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

func (*VirtualNodeSpec) DeepCopyInto added in v0.5.0

func (in *VirtualNodeSpec) DeepCopyInto(out *VirtualNodeSpec)

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

type VirtualNodeSpecResource added in v0.5.0

type VirtualNodeSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	EipInstanceID *string `json:"eipInstanceID,omitempty" tf:"eip_instance_id"`
	// +optional
	EnablePublicNetwork *bool   `json:"enablePublicNetwork,omitempty" tf:"enable_public_network"`
	KubeConfig          *string `json:"kubeConfig" tf:"kube_config"`
	// +optional
	ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	SecurityGroupID *string `json:"securityGroupID" tf:"security_group_id"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	Tags map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	Taints []VirtualNodeSpecTaints `json:"taints,omitempty" tf:"taints"`
	// +optional
	VirtualNodeName *string `json:"virtualNodeName,omitempty" tf:"virtual_node_name"`
	VswitchID       *string `json:"vswitchID" tf:"vswitch_id"`
	// +optional
	ZoneID *string `json:"zoneID,omitempty" tf:"zone_id"`
}

func (*VirtualNodeSpecResource) DeepCopy added in v0.5.0

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

func (*VirtualNodeSpecResource) DeepCopyInto added in v0.5.0

func (in *VirtualNodeSpecResource) DeepCopyInto(out *VirtualNodeSpecResource)

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

type VirtualNodeSpecTaints added in v0.5.0

type VirtualNodeSpecTaints struct {
	// +optional
	Effect *string `json:"effect,omitempty" tf:"effect"`
	// +optional
	Key *string `json:"key,omitempty" tf:"key"`
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*VirtualNodeSpecTaints) DeepCopy added in v0.5.0

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

func (*VirtualNodeSpecTaints) DeepCopyInto added in v0.5.0

func (in *VirtualNodeSpecTaints) DeepCopyInto(out *VirtualNodeSpecTaints)

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

type VirtualNodeStatus added in v0.5.0

type VirtualNodeStatus 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 (*VirtualNodeStatus) DeepCopy added in v0.5.0

func (in *VirtualNodeStatus) DeepCopy() *VirtualNodeStatus

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

func (*VirtualNodeStatus) DeepCopyInto added in v0.5.0

func (in *VirtualNodeStatus) DeepCopyInto(out *VirtualNodeStatus)

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