v1alpha1

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API. +kubebuilder:object:generate=true +groupName=operator.h3poteto.dev

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: "operator.h3poteto.dev", Version: "v1alpha1"}

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type EndpointGroupBinding

type EndpointGroupBinding struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   EndpointGroupBindingSpec   `json:"spec,omitempty"`
	Status EndpointGroupBindingStatus `json:"status,omitempty"`
}

EndpointGroupBinding +kubebuilder:subresource:status +kubebuilder:printcolumn:name="EndpointGroupArn",type=string,JSONPath=`.spec.endpointGroupArn` +kubebuilder:printcolumn:name="EndpointIds",type=string,JSONPath=`.status.endpointIds` +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (*EndpointGroupBinding) DeepCopy

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

func (*EndpointGroupBinding) DeepCopyInto

func (in *EndpointGroupBinding) DeepCopyInto(out *EndpointGroupBinding)

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

func (*EndpointGroupBinding) DeepCopyObject

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

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

type EndpointGroupBindingList

type EndpointGroupBindingList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []EndpointGroupBinding `json:"items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true EndpointGroupBindingList is a list of EndpointGroupBinding

func (*EndpointGroupBindingList) DeepCopy

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

func (*EndpointGroupBindingList) DeepCopyInto

func (in *EndpointGroupBindingList) DeepCopyInto(out *EndpointGroupBindingList)

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

func (*EndpointGroupBindingList) DeepCopyObject

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

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

type EndpointGroupBindingSpec

type EndpointGroupBindingSpec struct {
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type:=string
	EndpointGroupArn string `json:"endpointGroupArn"`
	// +optional
	// +kubebuilder:validation:Type:=boolean
	// +kubebuilder:default=false
	ClientIPPreservation bool `json:"clientIPPreservation"`
	// +optional
	// +nullable
	// +kubebuilder:validation:Type:=integer
	Weight *int32 `json:"weight"`

	// +optional
	ServiceRef *ServiceReference `json:"serviceRef"`
	// +optional
	IngressRef *IngressReference `json:"ingressRef"`
}

func (*EndpointGroupBindingSpec) DeepCopy

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

func (*EndpointGroupBindingSpec) DeepCopyInto

func (in *EndpointGroupBindingSpec) DeepCopyInto(out *EndpointGroupBindingSpec)

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

type EndpointGroupBindingStatus

type EndpointGroupBindingStatus struct {
	// +optional
	// +kubebuilder:validation:Type:=array
	EndpointIds []string `json:"endpointIds"`
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type:=integer
	// +kubebuilder:default=0
	ObservedGeneration int64 `json:"observedGeneration"`
}

func (*EndpointGroupBindingStatus) DeepCopy

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

func (*EndpointGroupBindingStatus) DeepCopyInto

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

type IngressReference

type IngressReference struct {
	Name string `json:"name"`
}

func (*IngressReference) DeepCopy

func (in *IngressReference) DeepCopy() *IngressReference

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

func (*IngressReference) DeepCopyInto

func (in *IngressReference) DeepCopyInto(out *IngressReference)

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

type ServiceReference

type ServiceReference struct {
	Name string `json:"name"`
}

func (*ServiceReference) DeepCopy

func (in *ServiceReference) DeepCopy() *ServiceReference

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

func (*ServiceReference) DeepCopyInto

func (in *ServiceReference) DeepCopyInto(out *ServiceReference)

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