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=sae.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: sae.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 Application

type Application struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ApplicationSpec   `json:"spec,omitempty"`
	Status            ApplicationStatus `json:"status,omitempty"`
}

func (*Application) DeepCopy

func (in *Application) DeepCopy() *Application

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

func (*Application) DeepCopyInto

func (in *Application) DeepCopyInto(out *Application)

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

func (*Application) DeepCopyObject

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

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

func (*Application) SetupWebhookWithManager

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

func (*Application) ValidateCreate

func (r *Application) ValidateCreate() error

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

func (*Application) ValidateDelete

func (r *Application) ValidateDelete() error

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

func (*Application) ValidateUpdate

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

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

type ApplicationList

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

ApplicationList is a list of Applications

func (*ApplicationList) DeepCopy

func (in *ApplicationList) DeepCopy() *ApplicationList

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

func (*ApplicationList) DeepCopyInto

func (in *ApplicationList) DeepCopyInto(out *ApplicationList)

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

func (*ApplicationList) DeepCopyObject

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

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

type ApplicationScalingRule added in v0.5.0

type ApplicationScalingRule struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ApplicationScalingRuleSpec   `json:"spec,omitempty"`
	Status            ApplicationScalingRuleStatus `json:"status,omitempty"`
}

func (*ApplicationScalingRule) DeepCopy added in v0.5.0

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

func (*ApplicationScalingRule) DeepCopyInto added in v0.5.0

func (in *ApplicationScalingRule) DeepCopyInto(out *ApplicationScalingRule)

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

func (*ApplicationScalingRule) DeepCopyObject added in v0.5.0

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

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

func (*ApplicationScalingRule) SetupWebhookWithManager added in v0.5.0

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

func (*ApplicationScalingRule) ValidateCreate added in v0.5.0

func (r *ApplicationScalingRule) ValidateCreate() error

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

func (*ApplicationScalingRule) ValidateDelete added in v0.5.0

func (r *ApplicationScalingRule) ValidateDelete() error

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

func (*ApplicationScalingRule) ValidateUpdate added in v0.5.0

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

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

type ApplicationScalingRuleList added in v0.5.0

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

ApplicationScalingRuleList is a list of ApplicationScalingRules

func (*ApplicationScalingRuleList) DeepCopy added in v0.5.0

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

func (*ApplicationScalingRuleList) DeepCopyInto added in v0.5.0

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

func (*ApplicationScalingRuleList) DeepCopyObject added in v0.5.0

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

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

type ApplicationScalingRuleSpec added in v0.5.0

type ApplicationScalingRuleSpec struct {
	State *ApplicationScalingRuleSpecResource `json:"state,omitempty" tf:"-"`

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

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

func (*ApplicationScalingRuleSpec) DeepCopyInto added in v0.5.0

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

type ApplicationScalingRuleSpecResource added in v0.5.0

type ApplicationScalingRuleSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	AppID *string `json:"appID" tf:"app_id"`
	// +optional
	MinReadyInstanceRatio *int64 `json:"minReadyInstanceRatio,omitempty" tf:"min_ready_instance_ratio"`
	// +optional
	MinReadyInstances *int64 `json:"minReadyInstances,omitempty" tf:"min_ready_instances"`
	// +optional
	ScalingRuleEnable *bool `json:"scalingRuleEnable,omitempty" tf:"scaling_rule_enable"`
	// +optional
	ScalingRuleMetric []ApplicationScalingRuleSpecScalingRuleMetric `json:"scalingRuleMetric,omitempty" tf:"scaling_rule_metric"`
	ScalingRuleName   *string                                       `json:"scalingRuleName" tf:"scaling_rule_name"`
	// +optional
	ScalingRuleTimer []ApplicationScalingRuleSpecScalingRuleTimer `json:"scalingRuleTimer,omitempty" tf:"scaling_rule_timer"`
	ScalingRuleType  *string                                      `json:"scalingRuleType" tf:"scaling_rule_type"`
}

func (*ApplicationScalingRuleSpecResource) DeepCopy added in v0.5.0

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

func (*ApplicationScalingRuleSpecResource) DeepCopyInto added in v0.5.0

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

type ApplicationScalingRuleSpecScalingRuleMetric added in v0.5.0

type ApplicationScalingRuleSpecScalingRuleMetric struct {
	// +optional
	MaxReplicas *int64 `json:"maxReplicas,omitempty" tf:"max_replicas"`
	// +optional
	Metrics []ApplicationScalingRuleSpecScalingRuleMetricMetrics `json:"metrics,omitempty" tf:"metrics"`
	// +optional
	MinReplicas *int64 `json:"minReplicas,omitempty" tf:"min_replicas"`
	// +optional
	ScaleDownRules *ApplicationScalingRuleSpecScalingRuleMetricScaleDownRules `json:"scaleDownRules,omitempty" tf:"scale_down_rules"`
	// +optional
	ScaleUpRules *ApplicationScalingRuleSpecScalingRuleMetricScaleUpRules `json:"scaleUpRules,omitempty" tf:"scale_up_rules"`
}

func (*ApplicationScalingRuleSpecScalingRuleMetric) DeepCopy added in v0.5.0

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

func (*ApplicationScalingRuleSpecScalingRuleMetric) DeepCopyInto added in v0.5.0

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

type ApplicationScalingRuleSpecScalingRuleMetricMetrics added in v0.5.0

type ApplicationScalingRuleSpecScalingRuleMetricMetrics struct {
	// +optional
	MetricTargetAverageUtilization *int64 `json:"metricTargetAverageUtilization,omitempty" tf:"metric_target_average_utilization"`
	// +optional
	MetricType *string `json:"metricType,omitempty" tf:"metric_type"`
}

func (*ApplicationScalingRuleSpecScalingRuleMetricMetrics) DeepCopy added in v0.5.0

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

func (*ApplicationScalingRuleSpecScalingRuleMetricMetrics) DeepCopyInto added in v0.5.0

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

type ApplicationScalingRuleSpecScalingRuleMetricScaleDownRules added in v0.5.0

type ApplicationScalingRuleSpecScalingRuleMetricScaleDownRules struct {
	// +optional
	Disabled *bool `json:"disabled,omitempty" tf:"disabled"`
	// +optional
	StabilizationWindowSeconds *int64 `json:"stabilizationWindowSeconds,omitempty" tf:"stabilization_window_seconds"`
	// +optional
	Step *int64 `json:"step,omitempty" tf:"step"`
}

func (*ApplicationScalingRuleSpecScalingRuleMetricScaleDownRules) DeepCopy added in v0.5.0

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

func (*ApplicationScalingRuleSpecScalingRuleMetricScaleDownRules) DeepCopyInto added in v0.5.0

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

type ApplicationScalingRuleSpecScalingRuleMetricScaleDownRulesCodec added in v0.5.0

type ApplicationScalingRuleSpecScalingRuleMetricScaleDownRulesCodec struct {
}

+k8s:deepcopy-gen=false

func (ApplicationScalingRuleSpecScalingRuleMetricScaleDownRulesCodec) Decode added in v0.5.0

func (ApplicationScalingRuleSpecScalingRuleMetricScaleDownRulesCodec) Encode added in v0.5.0

func (ApplicationScalingRuleSpecScalingRuleMetricScaleDownRulesCodec) IsEmpty added in v0.5.0

type ApplicationScalingRuleSpecScalingRuleMetricScaleUpRules added in v0.5.0

type ApplicationScalingRuleSpecScalingRuleMetricScaleUpRules struct {
	// +optional
	Disabled *bool `json:"disabled,omitempty" tf:"disabled"`
	// +optional
	StabilizationWindowSeconds *int64 `json:"stabilizationWindowSeconds,omitempty" tf:"stabilization_window_seconds"`
	// +optional
	Step *int64 `json:"step,omitempty" tf:"step"`
}

func (*ApplicationScalingRuleSpecScalingRuleMetricScaleUpRules) DeepCopy added in v0.5.0

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

func (*ApplicationScalingRuleSpecScalingRuleMetricScaleUpRules) DeepCopyInto added in v0.5.0

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

type ApplicationScalingRuleSpecScalingRuleMetricScaleUpRulesCodec added in v0.5.0

type ApplicationScalingRuleSpecScalingRuleMetricScaleUpRulesCodec struct {
}

+k8s:deepcopy-gen=false

func (ApplicationScalingRuleSpecScalingRuleMetricScaleUpRulesCodec) Decode added in v0.5.0

func (ApplicationScalingRuleSpecScalingRuleMetricScaleUpRulesCodec) Encode added in v0.5.0

func (ApplicationScalingRuleSpecScalingRuleMetricScaleUpRulesCodec) IsEmpty added in v0.5.0

type ApplicationScalingRuleSpecScalingRuleTimer added in v0.5.0

type ApplicationScalingRuleSpecScalingRuleTimer struct {
	// +optional
	BeginDate *string `json:"beginDate,omitempty" tf:"begin_date"`
	// +optional
	EndDate *string `json:"endDate,omitempty" tf:"end_date"`
	// +optional
	Period *string `json:"period,omitempty" tf:"period"`
	// +optional
	Schedules []ApplicationScalingRuleSpecScalingRuleTimerSchedules `json:"schedules,omitempty" tf:"schedules"`
}

func (*ApplicationScalingRuleSpecScalingRuleTimer) DeepCopy added in v0.5.0

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

func (*ApplicationScalingRuleSpecScalingRuleTimer) DeepCopyInto added in v0.5.0

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

type ApplicationScalingRuleSpecScalingRuleTimerSchedules added in v0.5.0

type ApplicationScalingRuleSpecScalingRuleTimerSchedules struct {
	// +optional
	AtTime *string `json:"atTime,omitempty" tf:"at_time"`
	// +optional
	MaxReplicas *int64 `json:"maxReplicas,omitempty" tf:"max_replicas"`
	// +optional
	MinReplicas *int64 `json:"minReplicas,omitempty" tf:"min_replicas"`
	// +optional
	TargetReplicas *int64 `json:"targetReplicas,omitempty" tf:"target_replicas"`
}

func (*ApplicationScalingRuleSpecScalingRuleTimerSchedules) DeepCopy added in v0.5.0

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

func (*ApplicationScalingRuleSpecScalingRuleTimerSchedules) DeepCopyInto added in v0.5.0

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

type ApplicationScalingRuleStatus added in v0.5.0

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

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

func (*ApplicationScalingRuleStatus) DeepCopyInto added in v0.5.0

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

type ApplicationSpec

type ApplicationSpec struct {
	State *ApplicationSpecResource `json:"state,omitempty" tf:"-"`

	Resource ApplicationSpecResource `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 (*ApplicationSpec) DeepCopy

func (in *ApplicationSpec) DeepCopy() *ApplicationSpec

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

func (*ApplicationSpec) DeepCopyInto

func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec)

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

type ApplicationSpecInternet

type ApplicationSpecInternet struct {
	// +optional
	HttpsCertID *string `json:"httpsCertID,omitempty" tf:"https_cert_id"`
	// +optional
	Port *int64 `json:"port,omitempty" tf:"port"`
	// +optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol"`
	// +optional
	TargetPort *int64 `json:"targetPort,omitempty" tf:"target_port"`
}

func (*ApplicationSpecInternet) DeepCopy

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

func (*ApplicationSpecInternet) DeepCopyInto

func (in *ApplicationSpecInternet) DeepCopyInto(out *ApplicationSpecInternet)

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

type ApplicationSpecIntranet

type ApplicationSpecIntranet struct {
	// +optional
	HttpsCertID *string `json:"httpsCertID,omitempty" tf:"https_cert_id"`
	// +optional
	Port *int64 `json:"port,omitempty" tf:"port"`
	// +optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol"`
	// +optional
	TargetPort *int64 `json:"targetPort,omitempty" tf:"target_port"`
}

func (*ApplicationSpecIntranet) DeepCopy

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

func (*ApplicationSpecIntranet) DeepCopyInto

func (in *ApplicationSpecIntranet) DeepCopyInto(out *ApplicationSpecIntranet)

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

type ApplicationSpecResource

type ApplicationSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	AppDescription *string `json:"appDescription,omitempty" tf:"app_description"`
	AppName        *string `json:"appName" tf:"app_name"`
	// +optional
	AutoConfig *bool `json:"autoConfig,omitempty" tf:"auto_config"`
	// +optional
	AutoEnableApplicationScalingRule *bool `json:"autoEnableApplicationScalingRule,omitempty" tf:"auto_enable_application_scaling_rule"`
	// +optional
	BatchWaitTime *int64 `json:"batchWaitTime,omitempty" tf:"batch_wait_time"`
	// +optional
	ChangeOrderDesc *string `json:"changeOrderDesc,omitempty" tf:"change_order_desc"`
	// +optional
	Command *string `json:"command,omitempty" tf:"command"`
	// +optional
	CommandArgs *string `json:"commandArgs,omitempty" tf:"command_args"`
	// +optional
	ConfigMapMountDesc *string `json:"configMapMountDesc,omitempty" tf:"config_map_mount_desc"`
	// +optional
	Cpu *int64 `json:"cpu,omitempty" tf:"cpu"`
	// +optional
	CustomHostAlias *string `json:"customHostAlias,omitempty" tf:"custom_host_alias"`
	// +optional
	Deploy *bool `json:"deploy,omitempty" tf:"deploy"`
	// +optional
	EdasContainerVersion *string `json:"edasContainerVersion,omitempty" tf:"edas_container_version"`
	// +optional
	EnableAhas *string `json:"enableAhas,omitempty" tf:"enable_ahas"`
	// +optional
	EnableGreyTagRoute *bool `json:"enableGreyTagRoute,omitempty" tf:"enable_grey_tag_route"`
	// +optional
	Envs *string `json:"envs,omitempty" tf:"envs"`
	// +optional
	ImageURL *string `json:"imageURL,omitempty" tf:"image_url"`
	// +optional
	Internet []ApplicationSpecInternet `json:"internet,omitempty" tf:"internet"`
	// +optional
	InternetIP *string `json:"internetIP,omitempty" tf:"internet_ip"`
	// +optional
	InternetSlbID *string `json:"internetSlbID,omitempty" tf:"internet_slb_id"`
	// +optional
	Intranet []ApplicationSpecIntranet `json:"intranet,omitempty" tf:"intranet"`
	// +optional
	IntranetIP *string `json:"intranetIP,omitempty" tf:"intranet_ip"`
	// +optional
	IntranetSlbID *string `json:"intranetSlbID,omitempty" tf:"intranet_slb_id"`
	// +optional
	JarStartArgs *string `json:"jarStartArgs,omitempty" tf:"jar_start_args"`
	// +optional
	JarStartOptions *string `json:"jarStartOptions,omitempty" tf:"jar_start_options"`
	// +optional
	Jdk *string `json:"jdk,omitempty" tf:"jdk"`
	// +optional
	Liveness *string `json:"liveness,omitempty" tf:"liveness"`
	// +optional
	Memory *int64 `json:"memory,omitempty" tf:"memory"`
	// +optional
	MinReadyInstances *int64 `json:"minReadyInstances,omitempty" tf:"min_ready_instances"`
	// +optional
	MountDesc *string `json:"mountDesc,omitempty" tf:"mount_desc"`
	// +optional
	MountHost *string `json:"mountHost,omitempty" tf:"mount_host"`
	// +optional
	NamespaceID *string `json:"namespaceID,omitempty" tf:"namespace_id"`
	// +optional
	NasID *string `json:"nasID,omitempty" tf:"nas_id"`
	// +optional
	OssAkID *string `json:"-" sensitive:"true" tf:"oss_ak_id"`
	// +optional
	OssAkSecret *string `json:"-" sensitive:"true" tf:"oss_ak_secret"`
	// +optional
	OssMountDescs *string `json:"ossMountDescs,omitempty" tf:"oss_mount_descs"`
	PackageType   *string `json:"packageType" tf:"package_type"`
	// +optional
	PackageURL *string `json:"packageURL,omitempty" tf:"package_url"`
	// +optional
	PackageVersion *string `json:"packageVersion,omitempty" tf:"package_version"`
	// +optional
	PhpArmsConfigLocation *string `json:"phpArmsConfigLocation,omitempty" tf:"php_arms_config_location"`
	// +optional
	PhpConfig *string `json:"phpConfig,omitempty" tf:"php_config"`
	// +optional
	PhpConfigLocation *string `json:"phpConfigLocation,omitempty" tf:"php_config_location"`
	// +optional
	PostStart *string `json:"postStart,omitempty" tf:"post_start"`
	// +optional
	PreStop *string `json:"preStop,omitempty" tf:"pre_stop"`
	// +optional
	Readiness *string `json:"readiness,omitempty" tf:"readiness"`
	Replicas  *int64  `json:"replicas" tf:"replicas"`
	// +optional
	SecurityGroupID *string `json:"securityGroupID,omitempty" tf:"security_group_id"`
	// +optional
	SlsConfigs *string `json:"slsConfigs,omitempty" tf:"sls_configs"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty" tf:"termination_grace_period_seconds"`
	// +optional
	Timezone *string `json:"timezone,omitempty" tf:"timezone"`
	// +optional
	TomcatConfig *string `json:"tomcatConfig,omitempty" tf:"tomcat_config"`
	// +optional
	UpdateStrategy *string `json:"updateStrategy,omitempty" tf:"update_strategy"`
	// +optional
	VersionID *string `json:"versionID,omitempty" tf:"version_id"`
	// +optional
	VpcID *string `json:"vpcID,omitempty" tf:"vpc_id"`
	// +optional
	VswitchID *string `json:"vswitchID,omitempty" tf:"vswitch_id"`
	// +optional
	WarStartOptions *string `json:"warStartOptions,omitempty" tf:"war_start_options"`
	// +optional
	WebContainer *string `json:"webContainer,omitempty" tf:"web_container"`
}

func (*ApplicationSpecResource) DeepCopy

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

func (*ApplicationSpecResource) DeepCopyInto

func (in *ApplicationSpecResource) DeepCopyInto(out *ApplicationSpecResource)

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

type ApplicationStatus

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

func (in *ApplicationStatus) DeepCopy() *ApplicationStatus

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

func (*ApplicationStatus) DeepCopyInto

func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus)

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

type ConfigMap

type ConfigMap struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ConfigMapSpec   `json:"spec,omitempty"`
	Status            ConfigMapStatus `json:"status,omitempty"`
}

func (*ConfigMap) DeepCopy

func (in *ConfigMap) DeepCopy() *ConfigMap

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

func (*ConfigMap) DeepCopyInto

func (in *ConfigMap) DeepCopyInto(out *ConfigMap)

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

func (*ConfigMap) DeepCopyObject

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

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

func (*ConfigMap) SetupWebhookWithManager

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

func (*ConfigMap) ValidateCreate

func (r *ConfigMap) ValidateCreate() error

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

func (*ConfigMap) ValidateDelete

func (r *ConfigMap) ValidateDelete() error

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

func (*ConfigMap) ValidateUpdate

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

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

type ConfigMapList

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

ConfigMapList is a list of ConfigMaps

func (*ConfigMapList) DeepCopy

func (in *ConfigMapList) DeepCopy() *ConfigMapList

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

func (*ConfigMapList) DeepCopyInto

func (in *ConfigMapList) DeepCopyInto(out *ConfigMapList)

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

func (*ConfigMapList) DeepCopyObject

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

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

type ConfigMapSpec

type ConfigMapSpec struct {
	State *ConfigMapSpecResource `json:"state,omitempty" tf:"-"`

	Resource ConfigMapSpecResource `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 (*ConfigMapSpec) DeepCopy

func (in *ConfigMapSpec) DeepCopy() *ConfigMapSpec

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

func (*ConfigMapSpec) DeepCopyInto

func (in *ConfigMapSpec) DeepCopyInto(out *ConfigMapSpec)

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

type ConfigMapSpecResource

type ConfigMapSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	Data *string `json:"data" tf:"data"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	Name        *string `json:"name" tf:"name"`
	NamespaceID *string `json:"namespaceID" tf:"namespace_id"`
}

func (*ConfigMapSpecResource) DeepCopy

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

func (*ConfigMapSpecResource) DeepCopyInto

func (in *ConfigMapSpecResource) DeepCopyInto(out *ConfigMapSpecResource)

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

type ConfigMapStatus

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

func (in *ConfigMapStatus) DeepCopy() *ConfigMapStatus

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

func (*ConfigMapStatus) DeepCopyInto

func (in *ConfigMapStatus) DeepCopyInto(out *ConfigMapStatus)

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

type Ingress

type Ingress struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              IngressSpec   `json:"spec,omitempty"`
	Status            IngressStatus `json:"status,omitempty"`
}

func (*Ingress) DeepCopy

func (in *Ingress) DeepCopy() *Ingress

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

func (*Ingress) DeepCopyInto

func (in *Ingress) DeepCopyInto(out *Ingress)

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

func (*Ingress) DeepCopyObject

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

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

func (*Ingress) SetupWebhookWithManager

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

func (*Ingress) ValidateCreate

func (r *Ingress) ValidateCreate() error

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

func (*Ingress) ValidateDelete

func (r *Ingress) ValidateDelete() error

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

func (*Ingress) ValidateUpdate

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

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

type IngressList

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

IngressList is a list of Ingresss

func (*IngressList) DeepCopy

func (in *IngressList) DeepCopy() *IngressList

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

func (*IngressList) DeepCopyInto

func (in *IngressList) DeepCopyInto(out *IngressList)

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

func (*IngressList) DeepCopyObject

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

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

type IngressSpec

type IngressSpec struct {
	State *IngressSpecResource `json:"state,omitempty" tf:"-"`

	Resource IngressSpecResource `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 (*IngressSpec) DeepCopy

func (in *IngressSpec) DeepCopy() *IngressSpec

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

func (*IngressSpec) DeepCopyInto

func (in *IngressSpec) DeepCopyInto(out *IngressSpec)

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

type IngressSpecDefaultRule

type IngressSpecDefaultRule struct {
	// +optional
	AppID *string `json:"appID,omitempty" tf:"app_id"`
	// +optional
	AppName *string `json:"appName,omitempty" tf:"app_name"`
	// +optional
	ContainerPort *int64 `json:"containerPort,omitempty" tf:"container_port"`
}

func (*IngressSpecDefaultRule) DeepCopy

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

func (*IngressSpecDefaultRule) DeepCopyInto

func (in *IngressSpecDefaultRule) DeepCopyInto(out *IngressSpecDefaultRule)

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

type IngressSpecDefaultRuleCodec

type IngressSpecDefaultRuleCodec struct {
}

+k8s:deepcopy-gen=false

func (IngressSpecDefaultRuleCodec) Decode

func (IngressSpecDefaultRuleCodec) Encode

func (IngressSpecDefaultRuleCodec) IsEmpty

type IngressSpecResource

type IngressSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	CertID *string `json:"certID,omitempty" tf:"cert_id"`
	// +optional
	DefaultRule *IngressSpecDefaultRule `json:"defaultRule,omitempty" tf:"default_rule"`
	// +optional
	Description  *string            `json:"description,omitempty" tf:"description"`
	ListenerPort *int64             `json:"listenerPort" tf:"listener_port"`
	NamespaceID  *string            `json:"namespaceID" tf:"namespace_id"`
	Rules        []IngressSpecRules `json:"rules" tf:"rules"`
	SlbID        *string            `json:"slbID" tf:"slb_id"`
}

func (*IngressSpecResource) DeepCopy

func (in *IngressSpecResource) DeepCopy() *IngressSpecResource

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

func (*IngressSpecResource) DeepCopyInto

func (in *IngressSpecResource) DeepCopyInto(out *IngressSpecResource)

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

type IngressSpecRules

type IngressSpecRules struct {
	AppID         *string `json:"appID" tf:"app_id"`
	AppName       *string `json:"appName" tf:"app_name"`
	ContainerPort *int64  `json:"containerPort" tf:"container_port"`
	Domain        *string `json:"domain" tf:"domain"`
	Path          *string `json:"path" tf:"path"`
}

func (*IngressSpecRules) DeepCopy

func (in *IngressSpecRules) DeepCopy() *IngressSpecRules

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

func (*IngressSpecRules) DeepCopyInto

func (in *IngressSpecRules) DeepCopyInto(out *IngressSpecRules)

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

type IngressStatus

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

func (in *IngressStatus) DeepCopy() *IngressStatus

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

func (*IngressStatus) DeepCopyInto

func (in *IngressStatus) DeepCopyInto(out *IngressStatus)

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

type Namespace

type Namespace struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              NamespaceSpec   `json:"spec,omitempty"`
	Status            NamespaceStatus `json:"status,omitempty"`
}

func (*Namespace) DeepCopy

func (in *Namespace) DeepCopy() *Namespace

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

func (*Namespace) DeepCopyInto

func (in *Namespace) DeepCopyInto(out *Namespace)

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

func (*Namespace) DeepCopyObject

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

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

func (*Namespace) SetupWebhookWithManager

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

func (*Namespace) ValidateCreate

func (r *Namespace) ValidateCreate() error

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

func (*Namespace) ValidateDelete

func (r *Namespace) ValidateDelete() error

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

func (*Namespace) ValidateUpdate

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

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

type NamespaceList

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

NamespaceList is a list of Namespaces

func (*NamespaceList) DeepCopy

func (in *NamespaceList) DeepCopy() *NamespaceList

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

func (*NamespaceList) DeepCopyInto

func (in *NamespaceList) DeepCopyInto(out *NamespaceList)

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

func (*NamespaceList) DeepCopyObject

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

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

type NamespaceSpec

type NamespaceSpec struct {
	State *NamespaceSpecResource `json:"state,omitempty" tf:"-"`

	Resource NamespaceSpecResource `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 (*NamespaceSpec) DeepCopy

func (in *NamespaceSpec) DeepCopy() *NamespaceSpec

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

func (*NamespaceSpec) DeepCopyInto

func (in *NamespaceSpec) DeepCopyInto(out *NamespaceSpec)

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

type NamespaceSpecResource

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

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

	// +optional
	NamespaceDescription *string `json:"namespaceDescription,omitempty" tf:"namespace_description"`
	NamespaceID          *string `json:"namespaceID" tf:"namespace_id"`
	NamespaceName        *string `json:"namespaceName" tf:"namespace_name"`
}

func (*NamespaceSpecResource) DeepCopy

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

func (*NamespaceSpecResource) DeepCopyInto

func (in *NamespaceSpecResource) DeepCopyInto(out *NamespaceSpecResource)

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

type NamespaceStatus

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

func (in *NamespaceStatus) DeepCopy() *NamespaceStatus

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

func (*NamespaceStatus) DeepCopyInto

func (in *NamespaceStatus) DeepCopyInto(out *NamespaceStatus)

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