Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=fluxninja.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ControllerSpec `json:"spec,omitempty"` Status ControllerStatus `json:"status,omitempty"` }
Controller is the Schema for the controllers API.
func (*Controller) DeepCopy ¶
func (in *Controller) DeepCopy() *Controller
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Controller.
func (*Controller) DeepCopyInto ¶
func (in *Controller) DeepCopyInto(out *Controller)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Controller) DeepCopyObject ¶
func (in *Controller) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ControllerConfigSpec ¶
type ControllerConfigSpec struct { // CommonSpec //+kubebuilder:validation:Optional common.CommonConfigSpec `json:",inline"` // Policies configuration. //+kubebuilder:validation:Optional Policies PoliciesConfig `json:"policies"` // OTel configuration. //+kubebuilder:validation:Optional OTel controller.ControllerOTelConfig `json:"otel"` }
ControllerConfigSpec holds controller configuration.
func (*ControllerConfigSpec) DeepCopy ¶
func (in *ControllerConfigSpec) DeepCopy() *ControllerConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerConfigSpec.
func (*ControllerConfigSpec) DeepCopyInto ¶
func (in *ControllerConfigSpec) DeepCopyInto(out *ControllerConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControllerList ¶
type ControllerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Controller `json:"items"` }
ControllerList contains a list of Controller.
func (*ControllerList) DeepCopy ¶
func (in *ControllerList) DeepCopy() *ControllerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerList.
func (*ControllerList) DeepCopyInto ¶
func (in *ControllerList) DeepCopyInto(out *ControllerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControllerList) DeepCopyObject ¶
func (in *ControllerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ControllerSpec ¶
type ControllerSpec struct { // CommonSpec defines the common state between Agent and Controller common.CommonSpec `json:",inline"` // Image configuration //+kubebuilder:validation:Optional Image common.ControllerImage `json:"image"` // Pod's host aliases //+kubebuilder:validation:Optional HostAliases []corev1.HostAlias `json:"hostAliases,omitempty"` // Controller Configuration //+kubebuilder:validation:Optional ConfigSpec ControllerConfigSpec `json:"config"` }
ControllerSpec defines the desired state for the Controller.
func (*ControllerSpec) DeepCopy ¶
func (in *ControllerSpec) DeepCopy() *ControllerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerSpec.
func (*ControllerSpec) DeepCopyInto ¶
func (in *ControllerSpec) DeepCopyInto(out *ControllerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControllerStatus ¶
type ControllerStatus struct {
Resources string `json:"resources,omitempty"`
}
ControllerStatus defines the observed state of Controller.
func (*ControllerStatus) DeepCopy ¶
func (in *ControllerStatus) DeepCopy() *ControllerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerStatus.
func (*ControllerStatus) DeepCopyInto ¶
func (in *ControllerStatus) DeepCopyInto(out *ControllerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PoliciesConfig ¶
type PoliciesConfig struct { // Scheduler for PromQL jobs. PromQLJobsScheduler jobs.JobGroupConfig `json:"promql_jobs_scheduler"` // CRWatcher configuration. //+kubebuilder:validation:Optional CRWatcher crwatcher.CRWatcherConfig `json:"cr_watcher"` }
PoliciesConfig for policy engine.
func (*PoliciesConfig) DeepCopy ¶
func (in *PoliciesConfig) DeepCopy() *PoliciesConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoliciesConfig.
func (*PoliciesConfig) DeepCopyInto ¶
func (in *PoliciesConfig) DeepCopyInto(out *PoliciesConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.