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"` }
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"` }
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 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.