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: 0

Documentation

Overview

+groupName=loadbalancer.aws.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: loadbalancer.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 BackendServerPolicy

type BackendServerPolicy struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BackendServerPolicySpec   `json:"spec,omitempty"`
	Status            BackendServerPolicyStatus `json:"status,omitempty"`
}

func (*BackendServerPolicy) DeepCopy

func (in *BackendServerPolicy) DeepCopy() *BackendServerPolicy

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

func (*BackendServerPolicy) DeepCopyInto

func (in *BackendServerPolicy) DeepCopyInto(out *BackendServerPolicy)

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

func (*BackendServerPolicy) DeepCopyObject

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

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

func (*BackendServerPolicy) SetupWebhookWithManager

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

func (*BackendServerPolicy) ValidateCreate

func (r *BackendServerPolicy) ValidateCreate() error

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

func (*BackendServerPolicy) ValidateDelete

func (r *BackendServerPolicy) ValidateDelete() error

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

func (*BackendServerPolicy) ValidateUpdate

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

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

type BackendServerPolicyList

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

BackendServerPolicyList is a list of BackendServerPolicys

func (*BackendServerPolicyList) DeepCopy

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

func (*BackendServerPolicyList) DeepCopyInto

func (in *BackendServerPolicyList) DeepCopyInto(out *BackendServerPolicyList)

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

func (*BackendServerPolicyList) DeepCopyObject

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

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

type BackendServerPolicySpec

type BackendServerPolicySpec struct {
	State *BackendServerPolicySpecResource `json:"state,omitempty" tf:"-"`

	Resource BackendServerPolicySpecResource `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 (*BackendServerPolicySpec) DeepCopy

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

func (*BackendServerPolicySpec) DeepCopyInto

func (in *BackendServerPolicySpec) DeepCopyInto(out *BackendServerPolicySpec)

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

type BackendServerPolicySpecResource

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

	InstancePort     *int64  `json:"instancePort" tf:"instance_port"`
	LoadBalancerName *string `json:"loadBalancerName" tf:"load_balancer_name"`
	// +optional
	PolicyNames []string `json:"policyNames,omitempty" tf:"policy_names"`
}

func (*BackendServerPolicySpecResource) DeepCopy

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

func (*BackendServerPolicySpecResource) DeepCopyInto

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

type BackendServerPolicyStatus

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

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

func (*BackendServerPolicyStatus) DeepCopyInto

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

type ListenerPolicy

type ListenerPolicy struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ListenerPolicySpec   `json:"spec,omitempty"`
	Status            ListenerPolicyStatus `json:"status,omitempty"`
}

func (*ListenerPolicy) DeepCopy

func (in *ListenerPolicy) DeepCopy() *ListenerPolicy

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

func (*ListenerPolicy) DeepCopyInto

func (in *ListenerPolicy) DeepCopyInto(out *ListenerPolicy)

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

func (*ListenerPolicy) DeepCopyObject

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

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

func (*ListenerPolicy) SetupWebhookWithManager

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

func (*ListenerPolicy) ValidateCreate

func (r *ListenerPolicy) ValidateCreate() error

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

func (*ListenerPolicy) ValidateDelete

func (r *ListenerPolicy) ValidateDelete() error

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

func (*ListenerPolicy) ValidateUpdate

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

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

type ListenerPolicyList

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

ListenerPolicyList is a list of ListenerPolicys

func (*ListenerPolicyList) DeepCopy

func (in *ListenerPolicyList) DeepCopy() *ListenerPolicyList

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

func (*ListenerPolicyList) DeepCopyInto

func (in *ListenerPolicyList) DeepCopyInto(out *ListenerPolicyList)

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

func (*ListenerPolicyList) DeepCopyObject

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

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

type ListenerPolicySpec

type ListenerPolicySpec struct {
	State *ListenerPolicySpecResource `json:"state,omitempty" tf:"-"`

	Resource ListenerPolicySpecResource `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 (*ListenerPolicySpec) DeepCopy

func (in *ListenerPolicySpec) DeepCopy() *ListenerPolicySpec

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

func (*ListenerPolicySpec) DeepCopyInto

func (in *ListenerPolicySpec) DeepCopyInto(out *ListenerPolicySpec)

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

type ListenerPolicySpecResource

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

	LoadBalancerName *string `json:"loadBalancerName" tf:"load_balancer_name"`
	LoadBalancerPort *int64  `json:"loadBalancerPort" tf:"load_balancer_port"`
	// +optional
	PolicyNames []string `json:"policyNames,omitempty" tf:"policy_names"`
}

func (*ListenerPolicySpecResource) DeepCopy

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

func (*ListenerPolicySpecResource) DeepCopyInto

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

type ListenerPolicyStatus

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

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

func (*ListenerPolicyStatus) DeepCopyInto

func (in *ListenerPolicyStatus) DeepCopyInto(out *ListenerPolicyStatus)

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

type Policy

type Policy struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PolicySpec   `json:"spec,omitempty"`
	Status            PolicyStatus `json:"status,omitempty"`
}

func (*Policy) DeepCopy

func (in *Policy) DeepCopy() *Policy

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

func (*Policy) DeepCopyInto

func (in *Policy) DeepCopyInto(out *Policy)

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

func (*Policy) DeepCopyObject

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

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

func (*Policy) SetupWebhookWithManager

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

func (*Policy) ValidateCreate

func (r *Policy) ValidateCreate() error

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

func (*Policy) ValidateDelete

func (r *Policy) ValidateDelete() error

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

func (*Policy) ValidateUpdate

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

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

type PolicyList

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

PolicyList is a list of Policys

func (*PolicyList) DeepCopy

func (in *PolicyList) DeepCopy() *PolicyList

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

func (*PolicyList) DeepCopyInto

func (in *PolicyList) DeepCopyInto(out *PolicyList)

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

func (*PolicyList) DeepCopyObject

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

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

type PolicySpec

type PolicySpec struct {
	State *PolicySpecResource `json:"state,omitempty" tf:"-"`

	Resource PolicySpecResource `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 (*PolicySpec) DeepCopy

func (in *PolicySpec) DeepCopy() *PolicySpec

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

func (*PolicySpec) DeepCopyInto

func (in *PolicySpec) DeepCopyInto(out *PolicySpec)

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

type PolicySpecPolicyAttribute

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

func (*PolicySpecPolicyAttribute) DeepCopy

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

func (*PolicySpecPolicyAttribute) DeepCopyInto

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

type PolicySpecResource

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

	LoadBalancerName *string `json:"loadBalancerName" tf:"load_balancer_name"`
	// +optional
	PolicyAttribute []PolicySpecPolicyAttribute `json:"policyAttribute,omitempty" tf:"policy_attribute"`
	PolicyName      *string                     `json:"policyName" tf:"policy_name"`
	PolicyTypeName  *string                     `json:"policyTypeName" tf:"policy_type_name"`
}

func (*PolicySpecResource) DeepCopy

func (in *PolicySpecResource) DeepCopy() *PolicySpecResource

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

func (*PolicySpecResource) DeepCopyInto

func (in *PolicySpecResource) DeepCopyInto(out *PolicySpecResource)

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

type PolicyStatus

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

func (in *PolicyStatus) DeepCopy() *PolicyStatus

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

func (*PolicyStatus) DeepCopyInto

func (in *PolicyStatus) DeepCopyInto(out *PolicyStatus)

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