v3

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

+groupName=gate.v3.haproxy.org +k8s:deepcopy-gen=package

Index

Constants

View Source
const (
	GroupName    = "gate.v3.haproxy.org"
	GroupVersion = "v3"
)

GroupName is the group name use in this package.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: GroupVersion}

SchemeGroupVersion is group version used to register these objects.

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource.

Types

type Backend

type Backend struct {
	Spec              BackendSpec `json:"spec"`
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
}

Backend is a specification for a Backend resource

func (*Backend) DeepCopy

func (in *Backend) DeepCopy() *Backend

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

func (*Backend) DeepCopyInto

func (in *Backend) DeepCopyInto(out *Backend)

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

func (*Backend) DeepCopyObject

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

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

type BackendList

type BackendList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

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

BackendList is a list of Backend resources

func (*BackendList) DeepCopy

func (in *BackendList) DeepCopy() *BackendList

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

func (*BackendList) DeepCopyInto

func (in *BackendList) DeepCopyInto(out *BackendList)

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

func (*BackendList) DeepCopyObject

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

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

type BackendSpec

type BackendSpec struct {
	models.Backend `json:",inline"`
}

BackendSpec defines the desired state of Backend

func (*BackendSpec) DeepCopy

func (in *BackendSpec) DeepCopy() *BackendSpec

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

func (*BackendSpec) DeepCopyInto

func (in *BackendSpec) DeepCopyInto(out *BackendSpec)

DeepCopyInto deepcopying the receiver into out. in must be non-nil.

type Category

type Category string

+kubebuilder:validation:Enum=k8s;gate;status;haproxycfg;app;batch;reloadmgr;certs-storage;maps-storage

type CategoryLevel

type CategoryLevel struct {
	Category Category `json:"category"`
	Level    Level    `json:"level"`
}

func (*CategoryLevel) DeepCopy

func (in *CategoryLevel) DeepCopy() *CategoryLevel

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

func (*CategoryLevel) DeepCopyInto

func (in *CategoryLevel) DeepCopyInto(out *CategoryLevel)

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

type ControllerConfSpec

type ControllerConfSpec struct {
	Logging Logging `json:"logging"`
}

func (*ControllerConfSpec) DeepCopy

func (in *ControllerConfSpec) DeepCopy() *ControllerConfSpec

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

func (*ControllerConfSpec) DeepCopyInto

func (in *ControllerConfSpec) DeepCopyInto(out *ControllerConfSpec)

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

type GateSpec

type GateSpec struct {
	MWorkerMaxReload int `json:"mworkerMaxReload"`
}

func (*GateSpec) DeepCopy

func (in *GateSpec) DeepCopy() *GateSpec

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

func (*GateSpec) DeepCopyInto

func (in *GateSpec) DeepCopyInto(out *GateSpec)

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

type HugConf

type HugConf struct {
	metav1.TypeMeta   `json:",inline"`
	Spec              ControllerConfSpec `json:"spec"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
}

HugConf is a specification for a the controller related configuration

func (*HugConf) DeepCopy

func (in *HugConf) DeepCopy() *HugConf

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

func (*HugConf) DeepCopyInto

func (in *HugConf) DeepCopyInto(out *HugConf)

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

func (*HugConf) DeepCopyObject

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

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

type HugConfList

type HugConfList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

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

HugConfList is a list of HugConf resources

func (*HugConfList) DeepCopy

func (in *HugConfList) DeepCopy() *HugConfList

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

func (*HugConfList) DeepCopyInto

func (in *HugConfList) DeepCopyInto(out *HugConfList)

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

func (*HugConfList) DeepCopyObject

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

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

type HugGate

type HugGate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GateSpec `json:"spec"`
}

HugGate is a specification for a HugGate resource

func (*HugGate) DeepCopy

func (in *HugGate) DeepCopy() *HugGate

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

func (*HugGate) DeepCopyInto

func (in *HugGate) DeepCopyInto(out *HugGate)

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

func (*HugGate) DeepCopyObject

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

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

type HugGateList

type HugGateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

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

HugGateList is a list of HugGate resources

func (*HugGateList) DeepCopy

func (in *HugGateList) DeepCopy() *HugGateList

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

func (*HugGateList) DeepCopyInto

func (in *HugGateList) DeepCopyInto(out *HugGateList)

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

func (*HugGateList) DeepCopyObject

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

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

type Level

type Level string

+kubebuilder:validation:Enum=Debug;Info;Warn;Error;None +kubebuilder:validation:Required

type Logging

type Logging struct {
	DefaultLevel Level `json:"defaultLevel,omitempty"`
	// CategoryLevelList is a list of categories and their levels
	// if a category is not present, the default level is used
	CategoryLevelList []CategoryLevel `json:"categoryLevelList,omitempty"`
}

func (*Logging) DeepCopy

func (in *Logging) DeepCopy() *Logging

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

func (*Logging) DeepCopyInto

func (in *Logging) DeepCopyInto(out *Logging)

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