Documentation
¶
Overview ¶
+groupName=gate.v3.haproxy.org +k8s:deepcopy-gen=package
Index ¶
Constants ¶
const ( GroupName = "gate.v3.haproxy.org" GroupVersion = "v3" )
GroupName is the group name use in this package.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backend.
func (*Backend) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Backend) DeepCopyObject ¶
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 ¶
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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GateSpec.
func (*GateSpec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HugConf.
func (*HugConf) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HugConf) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HugGate.
func (*HugGate) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HugGate) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Logging.
func (*Logging) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.