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=service.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: service.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 MeshServiceMesh

type MeshServiceMesh struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MeshServiceMeshSpec   `json:"spec,omitempty"`
	Status            MeshServiceMeshStatus `json:"status,omitempty"`
}

func (*MeshServiceMesh) DeepCopy

func (in *MeshServiceMesh) DeepCopy() *MeshServiceMesh

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

func (*MeshServiceMesh) DeepCopyInto

func (in *MeshServiceMesh) DeepCopyInto(out *MeshServiceMesh)

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

func (*MeshServiceMesh) DeepCopyObject

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

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

func (*MeshServiceMesh) SetupWebhookWithManager

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

func (*MeshServiceMesh) ValidateCreate

func (r *MeshServiceMesh) ValidateCreate() error

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

func (*MeshServiceMesh) ValidateDelete

func (r *MeshServiceMesh) ValidateDelete() error

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

func (*MeshServiceMesh) ValidateUpdate

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

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

type MeshServiceMeshList

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

MeshServiceMeshList is a list of MeshServiceMeshs

func (*MeshServiceMeshList) DeepCopy

func (in *MeshServiceMeshList) DeepCopy() *MeshServiceMeshList

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

func (*MeshServiceMeshList) DeepCopyInto

func (in *MeshServiceMeshList) DeepCopyInto(out *MeshServiceMeshList)

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

func (*MeshServiceMeshList) DeepCopyObject

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

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

type MeshServiceMeshSpec

type MeshServiceMeshSpec struct {
	State *MeshServiceMeshSpecResource `json:"state,omitempty" tf:"-"`

	Resource MeshServiceMeshSpecResource `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 (*MeshServiceMeshSpec) DeepCopy

func (in *MeshServiceMeshSpec) DeepCopy() *MeshServiceMeshSpec

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

func (*MeshServiceMeshSpec) DeepCopyInto

func (in *MeshServiceMeshSpec) DeepCopyInto(out *MeshServiceMeshSpec)

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

type MeshServiceMeshSpecLoadBalancer

type MeshServiceMeshSpecLoadBalancer struct {
	// +optional
	ApiServerLoadbalancerID *string `json:"apiServerLoadbalancerID,omitempty" tf:"api_server_loadbalancer_id"`
	// +optional
	ApiServerPublicEip *bool `json:"apiServerPublicEip,omitempty" tf:"api_server_public_eip"`
	// +optional
	PilotPublicEip *bool `json:"pilotPublicEip,omitempty" tf:"pilot_public_eip"`
	// +optional
	PilotPublicLoadbalancerID *string `json:"pilotPublicLoadbalancerID,omitempty" tf:"pilot_public_loadbalancer_id"`
}

func (*MeshServiceMeshSpecLoadBalancer) DeepCopy

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

func (*MeshServiceMeshSpecLoadBalancer) DeepCopyInto

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

type MeshServiceMeshSpecLoadBalancerCodec

type MeshServiceMeshSpecLoadBalancerCodec struct {
}

+k8s:deepcopy-gen=false

func (MeshServiceMeshSpecLoadBalancerCodec) Decode

func (MeshServiceMeshSpecLoadBalancerCodec) Encode

func (MeshServiceMeshSpecLoadBalancerCodec) IsEmpty

type MeshServiceMeshSpecMeshConfig

type MeshServiceMeshSpecMeshConfig struct {
	// +optional
	AccessLog *MeshServiceMeshSpecMeshConfigAccessLog `json:"accessLog,omitempty" tf:"access_log"`
	// +optional
	Audit *MeshServiceMeshSpecMeshConfigAudit `json:"audit,omitempty" tf:"audit"`
	// +optional
	CustomizedZipkin *bool `json:"customizedZipkin,omitempty" tf:"customized_zipkin"`
	// +optional
	EnableLocalityLb *bool `json:"enableLocalityLb,omitempty" tf:"enable_locality_lb"`
	// +optional
	Kiali *MeshServiceMeshSpecMeshConfigKiali `json:"kiali,omitempty" tf:"kiali"`
	// +optional
	Opa *MeshServiceMeshSpecMeshConfigOpa `json:"opa,omitempty" tf:"opa"`
	// +optional
	OutboundTrafficPolicy *string `json:"outboundTrafficPolicy,omitempty" tf:"outbound_traffic_policy"`
	// +optional
	Pilot *MeshServiceMeshSpecMeshConfigPilot `json:"pilot,omitempty" tf:"pilot"`
	// +optional
	Proxy *MeshServiceMeshSpecMeshConfigProxy `json:"proxy,omitempty" tf:"proxy"`
	// +optional
	SidecarInjector *MeshServiceMeshSpecMeshConfigSidecarInjector `json:"sidecarInjector,omitempty" tf:"sidecar_injector"`
	// +optional
	Telemetry *bool `json:"telemetry,omitempty" tf:"telemetry"`
	// +optional
	Tracing *bool `json:"tracing,omitempty" tf:"tracing"`
}

func (*MeshServiceMeshSpecMeshConfig) DeepCopy

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

func (*MeshServiceMeshSpecMeshConfig) DeepCopyInto

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

type MeshServiceMeshSpecMeshConfigAccessLog

type MeshServiceMeshSpecMeshConfigAccessLog struct {
	// +optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled"`
}

func (*MeshServiceMeshSpecMeshConfigAccessLog) DeepCopy

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

func (*MeshServiceMeshSpecMeshConfigAccessLog) DeepCopyInto

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

type MeshServiceMeshSpecMeshConfigAccessLogCodec

type MeshServiceMeshSpecMeshConfigAccessLogCodec struct {
}

+k8s:deepcopy-gen=false

func (MeshServiceMeshSpecMeshConfigAccessLogCodec) Decode

func (MeshServiceMeshSpecMeshConfigAccessLogCodec) Encode

func (MeshServiceMeshSpecMeshConfigAccessLogCodec) IsEmpty

type MeshServiceMeshSpecMeshConfigAudit

type MeshServiceMeshSpecMeshConfigAudit struct {
	// +optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled"`
	// +optional
	Project *string `json:"project,omitempty" tf:"project"`
}

func (*MeshServiceMeshSpecMeshConfigAudit) DeepCopy

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

func (*MeshServiceMeshSpecMeshConfigAudit) DeepCopyInto

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

type MeshServiceMeshSpecMeshConfigAuditCodec

type MeshServiceMeshSpecMeshConfigAuditCodec struct {
}

+k8s:deepcopy-gen=false

func (MeshServiceMeshSpecMeshConfigAuditCodec) Decode

func (MeshServiceMeshSpecMeshConfigAuditCodec) Encode

func (MeshServiceMeshSpecMeshConfigAuditCodec) IsEmpty

type MeshServiceMeshSpecMeshConfigCodec

type MeshServiceMeshSpecMeshConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (MeshServiceMeshSpecMeshConfigCodec) Decode

func (MeshServiceMeshSpecMeshConfigCodec) Encode

func (MeshServiceMeshSpecMeshConfigCodec) IsEmpty

type MeshServiceMeshSpecMeshConfigKiali

type MeshServiceMeshSpecMeshConfigKiali struct {
	// +optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled"`
}

func (*MeshServiceMeshSpecMeshConfigKiali) DeepCopy

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

func (*MeshServiceMeshSpecMeshConfigKiali) DeepCopyInto

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

type MeshServiceMeshSpecMeshConfigKialiCodec

type MeshServiceMeshSpecMeshConfigKialiCodec struct {
}

+k8s:deepcopy-gen=false

func (MeshServiceMeshSpecMeshConfigKialiCodec) Decode

func (MeshServiceMeshSpecMeshConfigKialiCodec) Encode

func (MeshServiceMeshSpecMeshConfigKialiCodec) IsEmpty

type MeshServiceMeshSpecMeshConfigOpa

type MeshServiceMeshSpecMeshConfigOpa struct {
	// +optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled"`
	// +optional
	LimitCPU *string `json:"limitCPU,omitempty" tf:"limit_cpu"`
	// +optional
	LimitMemory *string `json:"limitMemory,omitempty" tf:"limit_memory"`
	// +optional
	LogLevel *string `json:"logLevel,omitempty" tf:"log_level"`
	// +optional
	RequestCPU *string `json:"requestCPU,omitempty" tf:"request_cpu"`
	// +optional
	RequestMemory *string `json:"requestMemory,omitempty" tf:"request_memory"`
}

func (*MeshServiceMeshSpecMeshConfigOpa) DeepCopy

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

func (*MeshServiceMeshSpecMeshConfigOpa) DeepCopyInto

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

type MeshServiceMeshSpecMeshConfigOpaCodec

type MeshServiceMeshSpecMeshConfigOpaCodec struct {
}

+k8s:deepcopy-gen=false

func (MeshServiceMeshSpecMeshConfigOpaCodec) Decode

func (MeshServiceMeshSpecMeshConfigOpaCodec) Encode

func (MeshServiceMeshSpecMeshConfigOpaCodec) IsEmpty

type MeshServiceMeshSpecMeshConfigPilot

type MeshServiceMeshSpecMeshConfigPilot struct {
	// +optional
	Http10Enabled *bool `json:"http10Enabled,omitempty" tf:"http10_enabled"`
	// +optional
	TraceSampling *float64 `json:"traceSampling,omitempty" tf:"trace_sampling"`
}

func (*MeshServiceMeshSpecMeshConfigPilot) DeepCopy

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

func (*MeshServiceMeshSpecMeshConfigPilot) DeepCopyInto

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

type MeshServiceMeshSpecMeshConfigPilotCodec

type MeshServiceMeshSpecMeshConfigPilotCodec struct {
}

+k8s:deepcopy-gen=false

func (MeshServiceMeshSpecMeshConfigPilotCodec) Decode

func (MeshServiceMeshSpecMeshConfigPilotCodec) Encode

func (MeshServiceMeshSpecMeshConfigPilotCodec) IsEmpty

type MeshServiceMeshSpecMeshConfigProxy

type MeshServiceMeshSpecMeshConfigProxy struct {
	// +optional
	LimitCPU *string `json:"limitCPU,omitempty" tf:"limit_cpu"`
	// +optional
	LimitMemory *string `json:"limitMemory,omitempty" tf:"limit_memory"`
	// +optional
	RequestCPU *string `json:"requestCPU,omitempty" tf:"request_cpu"`
	// +optional
	RequestMemory *string `json:"requestMemory,omitempty" tf:"request_memory"`
}

func (*MeshServiceMeshSpecMeshConfigProxy) DeepCopy

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

func (*MeshServiceMeshSpecMeshConfigProxy) DeepCopyInto

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

type MeshServiceMeshSpecMeshConfigProxyCodec

type MeshServiceMeshSpecMeshConfigProxyCodec struct {
}

+k8s:deepcopy-gen=false

func (MeshServiceMeshSpecMeshConfigProxyCodec) Decode

func (MeshServiceMeshSpecMeshConfigProxyCodec) Encode

func (MeshServiceMeshSpecMeshConfigProxyCodec) IsEmpty

type MeshServiceMeshSpecMeshConfigSidecarInjector

type MeshServiceMeshSpecMeshConfigSidecarInjector struct {
	// +optional
	AutoInjectionPolicyEnabled *bool `json:"autoInjectionPolicyEnabled,omitempty" tf:"auto_injection_policy_enabled"`
	// +optional
	EnableNamespacesByDefault *bool `json:"enableNamespacesByDefault,omitempty" tf:"enable_namespaces_by_default"`
	// +optional
	LimitCPU *string `json:"limitCPU,omitempty" tf:"limit_cpu"`
	// +optional
	LimitMemory *string `json:"limitMemory,omitempty" tf:"limit_memory"`
	// +optional
	RequestCPU *string `json:"requestCPU,omitempty" tf:"request_cpu"`
	// +optional
	RequestMemory *string `json:"requestMemory,omitempty" tf:"request_memory"`
}

func (*MeshServiceMeshSpecMeshConfigSidecarInjector) DeepCopy

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

func (*MeshServiceMeshSpecMeshConfigSidecarInjector) DeepCopyInto

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

type MeshServiceMeshSpecMeshConfigSidecarInjectorCodec

type MeshServiceMeshSpecMeshConfigSidecarInjectorCodec struct {
}

+k8s:deepcopy-gen=false

func (MeshServiceMeshSpecMeshConfigSidecarInjectorCodec) Decode

func (MeshServiceMeshSpecMeshConfigSidecarInjectorCodec) Encode

func (MeshServiceMeshSpecMeshConfigSidecarInjectorCodec) IsEmpty

type MeshServiceMeshSpecNetwork

type MeshServiceMeshSpecNetwork struct {
	VpcID        *string  `json:"vpcID" tf:"vpc_id"`
	VswitcheList []string `json:"vswitcheList" tf:"vswitche_list"`
}

func (*MeshServiceMeshSpecNetwork) DeepCopy

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

func (*MeshServiceMeshSpecNetwork) DeepCopyInto

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

type MeshServiceMeshSpecNetworkCodec

type MeshServiceMeshSpecNetworkCodec struct {
}

+k8s:deepcopy-gen=false

func (MeshServiceMeshSpecNetworkCodec) Decode

func (MeshServiceMeshSpecNetworkCodec) Encode

func (MeshServiceMeshSpecNetworkCodec) IsEmpty

type MeshServiceMeshSpecResource

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

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

	// +optional
	Edition *string `json:"edition,omitempty" tf:"edition"`
	// +optional
	Force *bool `json:"force,omitempty" tf:"force"`
	// +optional
	LoadBalancer *MeshServiceMeshSpecLoadBalancer `json:"loadBalancer,omitempty" tf:"load_balancer"`
	// +optional
	MeshConfig *MeshServiceMeshSpecMeshConfig `json:"meshConfig,omitempty" tf:"mesh_config"`
	Network    *MeshServiceMeshSpecNetwork    `json:"network" tf:"network"`
	// +optional
	ServiceMeshName *string `json:"serviceMeshName,omitempty" tf:"service_mesh_name"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	Version *string `json:"version,omitempty" tf:"version"`
}

func (*MeshServiceMeshSpecResource) DeepCopy

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

func (*MeshServiceMeshSpecResource) DeepCopyInto

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

type MeshServiceMeshStatus

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

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

func (*MeshServiceMeshStatus) DeepCopyInto

func (in *MeshServiceMeshStatus) DeepCopyInto(out *MeshServiceMeshStatus)

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