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: 14 Imported by: 2

Documentation

Overview

+groupName=sag.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: sag.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 Acl

type Acl struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AclSpec   `json:"spec,omitempty"`
	Status            AclStatus `json:"status,omitempty"`
}

func (*Acl) DeepCopy

func (in *Acl) DeepCopy() *Acl

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

func (*Acl) DeepCopyInto

func (in *Acl) DeepCopyInto(out *Acl)

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

func (*Acl) DeepCopyObject

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

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

func (*Acl) SetupWebhookWithManager

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

func (*Acl) ValidateCreate

func (r *Acl) ValidateCreate() error

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

func (*Acl) ValidateDelete

func (r *Acl) ValidateDelete() error

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

func (*Acl) ValidateUpdate

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

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

type AclList

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

AclList is a list of Acls

func (*AclList) DeepCopy

func (in *AclList) DeepCopy() *AclList

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

func (*AclList) DeepCopyInto

func (in *AclList) DeepCopyInto(out *AclList)

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

func (*AclList) DeepCopyObject

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

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

type AclRule

type AclRule struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AclRuleSpec   `json:"spec,omitempty"`
	Status            AclRuleStatus `json:"status,omitempty"`
}

func (*AclRule) DeepCopy

func (in *AclRule) DeepCopy() *AclRule

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

func (*AclRule) DeepCopyInto

func (in *AclRule) DeepCopyInto(out *AclRule)

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

func (*AclRule) DeepCopyObject

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

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

func (*AclRule) SetupWebhookWithManager

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

func (*AclRule) ValidateCreate

func (r *AclRule) ValidateCreate() error

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

func (*AclRule) ValidateDelete

func (r *AclRule) ValidateDelete() error

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

func (*AclRule) ValidateUpdate

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

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

type AclRuleList

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

AclRuleList is a list of AclRules

func (*AclRuleList) DeepCopy

func (in *AclRuleList) DeepCopy() *AclRuleList

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

func (*AclRuleList) DeepCopyInto

func (in *AclRuleList) DeepCopyInto(out *AclRuleList)

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

func (*AclRuleList) DeepCopyObject

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

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

type AclRuleSpec

type AclRuleSpec struct {
	State *AclRuleSpecResource `json:"state,omitempty" tf:"-"`

	Resource AclRuleSpecResource `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 (*AclRuleSpec) DeepCopy

func (in *AclRuleSpec) DeepCopy() *AclRuleSpec

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

func (*AclRuleSpec) DeepCopyInto

func (in *AclRuleSpec) DeepCopyInto(out *AclRuleSpec)

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

type AclRuleSpecResource

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

	AclID *string `json:"aclID" tf:"acl_id"`
	// +optional
	Description   *string `json:"description,omitempty" tf:"description"`
	DestCIDR      *string `json:"destCIDR" tf:"dest_cidr"`
	DestPortRange *string `json:"destPortRange" tf:"dest_port_range"`
	Direction     *string `json:"direction" tf:"direction"`
	IpProtocol    *string `json:"ipProtocol" tf:"ip_protocol"`
	Policy        *string `json:"policy" tf:"policy"`
	// +optional
	Priority        *int64  `json:"priority,omitempty" tf:"priority"`
	SourceCIDR      *string `json:"sourceCIDR" tf:"source_cidr"`
	SourcePortRange *string `json:"sourcePortRange" tf:"source_port_range"`
}

func (*AclRuleSpecResource) DeepCopy

func (in *AclRuleSpecResource) DeepCopy() *AclRuleSpecResource

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

func (*AclRuleSpecResource) DeepCopyInto

func (in *AclRuleSpecResource) DeepCopyInto(out *AclRuleSpecResource)

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

type AclRuleStatus

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

func (in *AclRuleStatus) DeepCopy() *AclRuleStatus

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

func (*AclRuleStatus) DeepCopyInto

func (in *AclRuleStatus) DeepCopyInto(out *AclRuleStatus)

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

type AclSpec

type AclSpec struct {
	State *AclSpecResource `json:"state,omitempty" tf:"-"`

	Resource AclSpecResource `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 (*AclSpec) DeepCopy

func (in *AclSpec) DeepCopy() *AclSpec

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

func (*AclSpec) DeepCopyInto

func (in *AclSpec) DeepCopyInto(out *AclSpec)

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

type AclSpecResource

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

	Name *string `json:"name" tf:"name"`
}

func (*AclSpecResource) DeepCopy

func (in *AclSpecResource) DeepCopy() *AclSpecResource

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

func (*AclSpecResource) DeepCopyInto

func (in *AclSpecResource) DeepCopyInto(out *AclSpecResource)

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

type AclStatus

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

func (in *AclStatus) DeepCopy() *AclStatus

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

func (*AclStatus) DeepCopyInto

func (in *AclStatus) DeepCopyInto(out *AclStatus)

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

type ClientUser

type ClientUser struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ClientUserSpec   `json:"spec,omitempty"`
	Status            ClientUserStatus `json:"status,omitempty"`
}

func (*ClientUser) DeepCopy

func (in *ClientUser) DeepCopy() *ClientUser

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

func (*ClientUser) DeepCopyInto

func (in *ClientUser) DeepCopyInto(out *ClientUser)

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

func (*ClientUser) DeepCopyObject

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

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

func (*ClientUser) SetupWebhookWithManager

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

func (*ClientUser) ValidateCreate

func (r *ClientUser) ValidateCreate() error

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

func (*ClientUser) ValidateDelete

func (r *ClientUser) ValidateDelete() error

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

func (*ClientUser) ValidateUpdate

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

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

type ClientUserList

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

ClientUserList is a list of ClientUsers

func (*ClientUserList) DeepCopy

func (in *ClientUserList) DeepCopy() *ClientUserList

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

func (*ClientUserList) DeepCopyInto

func (in *ClientUserList) DeepCopyInto(out *ClientUserList)

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

func (*ClientUserList) DeepCopyObject

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

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

type ClientUserSpec

type ClientUserSpec struct {
	State *ClientUserSpecResource `json:"state,omitempty" tf:"-"`

	Resource ClientUserSpecResource `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 (*ClientUserSpec) DeepCopy

func (in *ClientUserSpec) DeepCopy() *ClientUserSpec

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

func (*ClientUserSpec) DeepCopyInto

func (in *ClientUserSpec) DeepCopyInto(out *ClientUserSpec)

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

type ClientUserSpecResource

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

	Bandwidth *int64 `json:"bandwidth" tf:"bandwidth"`
	// +optional
	ClientIP *string `json:"clientIP,omitempty" tf:"client_ip"`
	// +optional
	KmsEncryptedPassword *string `json:"kmsEncryptedPassword,omitempty" tf:"kms_encrypted_password"`
	// +optional
	KmsEncryptionContext map[string]string `json:"kmsEncryptionContext,omitempty" tf:"kms_encryption_context"`
	// +optional
	Password *string `json:"password,omitempty" tf:"password"`
	SagID    *string `json:"sagID" tf:"sag_id"`
	UserMail *string `json:"userMail" tf:"user_mail"`
	// +optional
	UserName *string `json:"userName,omitempty" tf:"user_name"`
}

func (*ClientUserSpecResource) DeepCopy

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

func (*ClientUserSpecResource) DeepCopyInto

func (in *ClientUserSpecResource) DeepCopyInto(out *ClientUserSpecResource)

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

type ClientUserStatus

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

func (in *ClientUserStatus) DeepCopy() *ClientUserStatus

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

func (*ClientUserStatus) DeepCopyInto

func (in *ClientUserStatus) DeepCopyInto(out *ClientUserStatus)

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

type DnatEntry

type DnatEntry struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DnatEntrySpec   `json:"spec,omitempty"`
	Status            DnatEntryStatus `json:"status,omitempty"`
}

func (*DnatEntry) DeepCopy

func (in *DnatEntry) DeepCopy() *DnatEntry

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

func (*DnatEntry) DeepCopyInto

func (in *DnatEntry) DeepCopyInto(out *DnatEntry)

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

func (*DnatEntry) DeepCopyObject

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

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

func (*DnatEntry) SetupWebhookWithManager

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

func (*DnatEntry) ValidateCreate

func (r *DnatEntry) ValidateCreate() error

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

func (*DnatEntry) ValidateDelete

func (r *DnatEntry) ValidateDelete() error

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

func (*DnatEntry) ValidateUpdate

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

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

type DnatEntryList

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

DnatEntryList is a list of DnatEntrys

func (*DnatEntryList) DeepCopy

func (in *DnatEntryList) DeepCopy() *DnatEntryList

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

func (*DnatEntryList) DeepCopyInto

func (in *DnatEntryList) DeepCopyInto(out *DnatEntryList)

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

func (*DnatEntryList) DeepCopyObject

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

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

type DnatEntrySpec

type DnatEntrySpec struct {
	State *DnatEntrySpecResource `json:"state,omitempty" tf:"-"`

	Resource DnatEntrySpecResource `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 (*DnatEntrySpec) DeepCopy

func (in *DnatEntrySpec) DeepCopy() *DnatEntrySpec

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

func (*DnatEntrySpec) DeepCopyInto

func (in *DnatEntrySpec) DeepCopyInto(out *DnatEntrySpec)

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

type DnatEntrySpecResource

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

	// +optional
	ExternalIP   *string `json:"externalIP,omitempty" tf:"external_ip"`
	ExternalPort *string `json:"externalPort" tf:"external_port"`
	InternalIP   *string `json:"internalIP" tf:"internal_ip"`
	InternalPort *string `json:"internalPort" tf:"internal_port"`
	IpProtocol   *string `json:"ipProtocol" tf:"ip_protocol"`
	SagID        *string `json:"sagID" tf:"sag_id"`
	Type         *string `json:"type" tf:"type"`
}

func (*DnatEntrySpecResource) DeepCopy

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

func (*DnatEntrySpecResource) DeepCopyInto

func (in *DnatEntrySpecResource) DeepCopyInto(out *DnatEntrySpecResource)

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

type DnatEntryStatus

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

func (in *DnatEntryStatus) DeepCopy() *DnatEntryStatus

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

func (*DnatEntryStatus) DeepCopyInto

func (in *DnatEntryStatus) DeepCopyInto(out *DnatEntryStatus)

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

type Qos

type Qos struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              QosSpec   `json:"spec,omitempty"`
	Status            QosStatus `json:"status,omitempty"`
}

func (*Qos) DeepCopy

func (in *Qos) DeepCopy() *Qos

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

func (*Qos) DeepCopyInto

func (in *Qos) DeepCopyInto(out *Qos)

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

func (*Qos) DeepCopyObject

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

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

func (*Qos) SetupWebhookWithManager

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

func (*Qos) ValidateCreate

func (r *Qos) ValidateCreate() error

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

func (*Qos) ValidateDelete

func (r *Qos) ValidateDelete() error

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

func (*Qos) ValidateUpdate

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

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

type QosCar

type QosCar struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              QosCarSpec   `json:"spec,omitempty"`
	Status            QosCarStatus `json:"status,omitempty"`
}

func (*QosCar) DeepCopy

func (in *QosCar) DeepCopy() *QosCar

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

func (*QosCar) DeepCopyInto

func (in *QosCar) DeepCopyInto(out *QosCar)

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

func (*QosCar) DeepCopyObject

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

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

func (*QosCar) SetupWebhookWithManager

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

func (*QosCar) ValidateCreate

func (r *QosCar) ValidateCreate() error

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

func (*QosCar) ValidateDelete

func (r *QosCar) ValidateDelete() error

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

func (*QosCar) ValidateUpdate

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

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

type QosCarList

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

QosCarList is a list of QosCars

func (*QosCarList) DeepCopy

func (in *QosCarList) DeepCopy() *QosCarList

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

func (*QosCarList) DeepCopyInto

func (in *QosCarList) DeepCopyInto(out *QosCarList)

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

func (*QosCarList) DeepCopyObject

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

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

type QosCarSpec

type QosCarSpec struct {
	State *QosCarSpecResource `json:"state,omitempty" tf:"-"`

	Resource QosCarSpecResource `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 (*QosCarSpec) DeepCopy

func (in *QosCarSpec) DeepCopy() *QosCarSpec

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

func (*QosCarSpec) DeepCopyInto

func (in *QosCarSpec) DeepCopyInto(out *QosCarSpec)

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

type QosCarSpecResource

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

	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	LimitType   *string `json:"limitType" tf:"limit_type"`
	// +optional
	MaxBandwidthAbs *int64 `json:"maxBandwidthAbs,omitempty" tf:"max_bandwidth_abs"`
	// +optional
	MaxBandwidthPercent *int64 `json:"maxBandwidthPercent,omitempty" tf:"max_bandwidth_percent"`
	// +optional
	MinBandwidthAbs *int64 `json:"minBandwidthAbs,omitempty" tf:"min_bandwidth_abs"`
	// +optional
	MinBandwidthPercent *int64 `json:"minBandwidthPercent,omitempty" tf:"min_bandwidth_percent"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	PercentSourceType *string `json:"percentSourceType,omitempty" tf:"percent_source_type"`
	Priority          *int64  `json:"priority" tf:"priority"`
	QosID             *string `json:"qosID" tf:"qos_id"`
}

func (*QosCarSpecResource) DeepCopy

func (in *QosCarSpecResource) DeepCopy() *QosCarSpecResource

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

func (*QosCarSpecResource) DeepCopyInto

func (in *QosCarSpecResource) DeepCopyInto(out *QosCarSpecResource)

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

type QosCarStatus

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

func (in *QosCarStatus) DeepCopy() *QosCarStatus

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

func (*QosCarStatus) DeepCopyInto

func (in *QosCarStatus) DeepCopyInto(out *QosCarStatus)

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

type QosList

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

QosList is a list of Qoss

func (*QosList) DeepCopy

func (in *QosList) DeepCopy() *QosList

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

func (*QosList) DeepCopyInto

func (in *QosList) DeepCopyInto(out *QosList)

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

func (*QosList) DeepCopyObject

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

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

type QosPolicy

type QosPolicy struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              QosPolicySpec   `json:"spec,omitempty"`
	Status            QosPolicyStatus `json:"status,omitempty"`
}

func (*QosPolicy) DeepCopy

func (in *QosPolicy) DeepCopy() *QosPolicy

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

func (*QosPolicy) DeepCopyInto

func (in *QosPolicy) DeepCopyInto(out *QosPolicy)

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

func (*QosPolicy) DeepCopyObject

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

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

func (*QosPolicy) SetupWebhookWithManager

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

func (*QosPolicy) ValidateCreate

func (r *QosPolicy) ValidateCreate() error

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

func (*QosPolicy) ValidateDelete

func (r *QosPolicy) ValidateDelete() error

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

func (*QosPolicy) ValidateUpdate

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

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

type QosPolicyList

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

QosPolicyList is a list of QosPolicys

func (*QosPolicyList) DeepCopy

func (in *QosPolicyList) DeepCopy() *QosPolicyList

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

func (*QosPolicyList) DeepCopyInto

func (in *QosPolicyList) DeepCopyInto(out *QosPolicyList)

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

func (*QosPolicyList) DeepCopyObject

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

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

type QosPolicySpec

type QosPolicySpec struct {
	State *QosPolicySpecResource `json:"state,omitempty" tf:"-"`

	Resource QosPolicySpecResource `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 (*QosPolicySpec) DeepCopy

func (in *QosPolicySpec) DeepCopy() *QosPolicySpec

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

func (*QosPolicySpec) DeepCopyInto

func (in *QosPolicySpec) DeepCopyInto(out *QosPolicySpec)

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

type QosPolicySpecResource

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

	// +optional
	Description   *string `json:"description,omitempty" tf:"description"`
	DestCIDR      *string `json:"destCIDR" tf:"dest_cidr"`
	DestPortRange *string `json:"destPortRange" tf:"dest_port_range"`
	// +optional
	EndTime    *string `json:"endTime,omitempty" tf:"end_time"`
	IpProtocol *string `json:"ipProtocol" tf:"ip_protocol"`
	// +optional
	Name            *string `json:"name,omitempty" tf:"name"`
	Priority        *int64  `json:"priority" tf:"priority"`
	QosID           *string `json:"qosID" tf:"qos_id"`
	SourceCIDR      *string `json:"sourceCIDR" tf:"source_cidr"`
	SourcePortRange *string `json:"sourcePortRange" tf:"source_port_range"`
	// +optional
	StartTime *string `json:"startTime,omitempty" tf:"start_time"`
}

func (*QosPolicySpecResource) DeepCopy

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

func (*QosPolicySpecResource) DeepCopyInto

func (in *QosPolicySpecResource) DeepCopyInto(out *QosPolicySpecResource)

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

type QosPolicyStatus

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

func (in *QosPolicyStatus) DeepCopy() *QosPolicyStatus

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

func (*QosPolicyStatus) DeepCopyInto

func (in *QosPolicyStatus) DeepCopyInto(out *QosPolicyStatus)

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

type QosSpec

type QosSpec struct {
	State *QosSpecResource `json:"state,omitempty" tf:"-"`

	Resource QosSpecResource `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 (*QosSpec) DeepCopy

func (in *QosSpec) DeepCopy() *QosSpec

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

func (*QosSpec) DeepCopyInto

func (in *QosSpec) DeepCopyInto(out *QosSpec)

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

type QosSpecResource

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

	Name *string `json:"name" tf:"name"`
}

func (*QosSpecResource) DeepCopy

func (in *QosSpecResource) DeepCopy() *QosSpecResource

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

func (*QosSpecResource) DeepCopyInto

func (in *QosSpecResource) DeepCopyInto(out *QosSpecResource)

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

type QosStatus

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

func (in *QosStatus) DeepCopy() *QosStatus

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

func (*QosStatus) DeepCopyInto

func (in *QosStatus) DeepCopyInto(out *QosStatus)

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

type SnatEntry

type SnatEntry struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SnatEntrySpec   `json:"spec,omitempty"`
	Status            SnatEntryStatus `json:"status,omitempty"`
}

func (*SnatEntry) DeepCopy

func (in *SnatEntry) DeepCopy() *SnatEntry

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

func (*SnatEntry) DeepCopyInto

func (in *SnatEntry) DeepCopyInto(out *SnatEntry)

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

func (*SnatEntry) DeepCopyObject

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

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

func (*SnatEntry) SetupWebhookWithManager

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

func (*SnatEntry) ValidateCreate

func (r *SnatEntry) ValidateCreate() error

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

func (*SnatEntry) ValidateDelete

func (r *SnatEntry) ValidateDelete() error

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

func (*SnatEntry) ValidateUpdate

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

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

type SnatEntryList

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

SnatEntryList is a list of SnatEntrys

func (*SnatEntryList) DeepCopy

func (in *SnatEntryList) DeepCopy() *SnatEntryList

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

func (*SnatEntryList) DeepCopyInto

func (in *SnatEntryList) DeepCopyInto(out *SnatEntryList)

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

func (*SnatEntryList) DeepCopyObject

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

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

type SnatEntrySpec

type SnatEntrySpec struct {
	State *SnatEntrySpecResource `json:"state,omitempty" tf:"-"`

	Resource SnatEntrySpecResource `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 (*SnatEntrySpec) DeepCopy

func (in *SnatEntrySpec) DeepCopy() *SnatEntrySpec

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

func (*SnatEntrySpec) DeepCopyInto

func (in *SnatEntrySpec) DeepCopyInto(out *SnatEntrySpec)

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

type SnatEntrySpecResource

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

	CidrBlock *string `json:"cidrBlock" tf:"cidr_block"`
	SagID     *string `json:"sagID" tf:"sag_id"`
	SnatIP    *string `json:"snatIP" tf:"snat_ip"`
}

func (*SnatEntrySpecResource) DeepCopy

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

func (*SnatEntrySpecResource) DeepCopyInto

func (in *SnatEntrySpecResource) DeepCopyInto(out *SnatEntrySpecResource)

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

type SnatEntryStatus

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

func (in *SnatEntryStatus) DeepCopy() *SnatEntryStatus

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

func (*SnatEntryStatus) DeepCopyInto

func (in *SnatEntryStatus) DeepCopyInto(out *SnatEntryStatus)

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