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 Agent ¶
type Agent struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AgentSpec `json:"spec,omitempty"` Status AgentStatus `json:"status,omitempty"` }
Agent is the Schema for the agents API.
func (*Agent) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Agent.
func (*Agent) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Agent) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AgentConfigSpec ¶
type AgentConfigSpec struct { // CommonConfigSpec //+kubebuilder:validation:Optional common.CommonConfigSpec `json:",inline"` // AgentInfo configuration. //+kubebuilder:validation:Optional AgentInfo agentinfo.AgentInfoConfig `json:"agent_info"` // DistCache configuration. //+kubebuilder:validation:Optional DistCache distcache.DistCacheConfig `json:"dist_cache"` // Kubernetes client configuration. //+kubebuilder:validation:Optional KubernetesClient http.HTTPClientConfig `json:"kubernetes_client"` // Peer discovery configuration. //+kubebuilder:validation:Optional PeerDiscovery peers.PeerDiscoveryConfig `json:"peer_discovery"` // FlowControl configuration. //+kubebuilder:validation:Optional FlowControl FlowControlConfigSpec `json:"flow_control"` // AutoScale configuration. //+kubebuilder:validation:Optional AutoScale AutoScaleConfigSpec `json:"auto_scale"` // Service Discovery configuration. //+kubebuilder:validation:Optional ServiceDiscoverySpec common.ServiceDiscoverySpec `json:"service_discovery"` // OTel configuration. //+kubebuilder:validation:Optional OTel agent.AgentOTelConfig `json:"otel"` // Agent functions configuration. //+kubebuilder:validation:Optional AgentFunctions agentfunctions.AgentFunctionsConfig `json:"agent_functions"` }
AgentConfigSpec holds agent configuration.
func (*AgentConfigSpec) DeepCopy ¶
func (in *AgentConfigSpec) DeepCopy() *AgentConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentConfigSpec.
func (*AgentConfigSpec) DeepCopyInto ¶
func (in *AgentConfigSpec) DeepCopyInto(out *AgentConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentList ¶
type AgentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Agent `json:"items"` }
AgentList contains a list of Agent.
func (*AgentList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentList.
func (*AgentList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AgentList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AgentSpec ¶
type AgentSpec struct { // CommonSpec defines the common state between Agent and Controller common.CommonSpec `json:",inline"` // Image configuration //+kubebuilder:validation:Optional Image common.AgentImage `json:"image"` // Sidecar defines the desired state of Sidecar setup for Agent //+kubebuilder:validation:Optional Sidecar SidecarSpec `json:"sidecar"` // Agent Configuration //+kubebuilder:validation:Optional ConfigSpec AgentConfigSpec `json:"config"` // ControllerClientCertConfig configuration. //+kubebuilder:validation:Optional ControllerClientCertConfig common.ControllerClientCertConfig `json:"controller_client_cert"` }
AgentSpec defines the desired state for the Agent.
func (*AgentSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentSpec.
func (*AgentSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentStatus ¶
type AgentStatus struct {
Resources string `json:"resources,omitempty"`
}
AgentStatus defines the observed state of Agent.
func (*AgentStatus) DeepCopy ¶
func (in *AgentStatus) DeepCopy() *AgentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentStatus.
func (*AgentStatus) DeepCopyInto ¶
func (in *AgentStatus) DeepCopyInto(out *AgentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AutoScaleConfigSpec ¶ added in v0.26.0
type AutoScaleConfigSpec struct { // AutoScaleKubernetesConfig holds auto-scale kubernetes configuration. //+kubebuilder:validation:Optional AutoScaleKubernetesConfig autoscalek8sconfig.AutoScaleKubernetesConfig `json:"kubernetes"` }
AutoScaleConfigSpec holds auto-scale configuration.
func (*AutoScaleConfigSpec) DeepCopy ¶ added in v0.26.0
func (in *AutoScaleConfigSpec) DeepCopy() *AutoScaleConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoScaleConfigSpec.
func (*AutoScaleConfigSpec) DeepCopyInto ¶ added in v0.26.0
func (in *AutoScaleConfigSpec) DeepCopyInto(out *AutoScaleConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FlowControlConfigSpec ¶ added in v0.17.0
type FlowControlConfigSpec struct { // FlowPreviewConfig holds flow preview configuration. //+kubebuilder:validation:Optional FlowPreviewConfig preview.FlowPreviewConfig `json:"preview_service"` }
FlowControlConfigSpec holds flow control configuration.
func (*FlowControlConfigSpec) DeepCopy ¶ added in v0.17.0
func (in *FlowControlConfigSpec) DeepCopy() *FlowControlConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowControlConfigSpec.
func (*FlowControlConfigSpec) DeepCopyInto ¶ added in v0.17.0
func (in *FlowControlConfigSpec) DeepCopyInto(out *FlowControlConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SidecarSpec ¶
type SidecarSpec struct { // Enabled Sidecar injection or use per Node setup of Agent //+kubebuilder:validation:Optional Enabled bool `json:"enabled"` // Enabled per namespace injection by default //+kubebuilder:validation:Optional EnableNamespaceByDefault []string `json:"enableNamespacesByDefault,omitempty" validate:"omitempty"` }
SidecarSpec defines the desired state for the Sidecar injection.
func (*SidecarSpec) DeepCopy ¶
func (in *SidecarSpec) DeepCopy() *SidecarSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SidecarSpec.
func (*SidecarSpec) DeepCopyInto ¶
func (in *SidecarSpec) DeepCopyInto(out *SidecarSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.