agent

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: May 14, 2025 License: Apache-2.0 Imports: 60 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func App

func App() *cobra.Command

Types

type AgentReconcilerWorkers added in v0.11.3

type AgentReconcilerWorkers struct {
	BundleDeployment int
	Drift            int
}

type ClusterStatus added in v0.10.0

type ClusterStatus struct {
	UpstreamOptions
	CheckinInterval string `usage:"How often to post cluster status" env:"CHECKIN_INTERVAL"`
	AgentInfo       *register.AgentInfo
}

func (*ClusterStatus) Start added in v0.12.0

func (cs *ClusterStatus) Start(ctx context.Context) error

type FleetAgent

type FleetAgent struct {
	command.DebugConfig
	AgentScope string `usage:"An identifier used to scope the agent bundleID names, typically the same as namespace" env:"AGENT_SCOPE"`
	UpstreamOptions
	CheckinInterval string `usage:"How often to post cluster status" env:"CHECKIN_INTERVAL"`
}

func (*FleetAgent) PersistentPre added in v0.10.0

func (a *FleetAgent) PersistentPre(cmd *cobra.Command, _ []string) error

func (*FleetAgent) Run

func (a *FleetAgent) Run(cmd *cobra.Command, args []string) error

type Register added in v0.10.0

type Register struct {
	UpstreamOptions
}

func (*Register) RegisterAgent added in v0.12.0

func (r *Register) RegisterAgent(ctx context.Context) (*register.AgentInfo, error)

type UpstreamOptions added in v0.10.0

type UpstreamOptions struct {
	Kubeconfig string `usage:"kubeconfig file for agent's cluster"`
	Namespace  string `usage:"system namespace is the namespace, the agent runs in, e.g. cattle-fleet-system" env:"NAMESPACE"`
}

Directories

Path Synopsis
Package clusterstatus updates the cluster.fleet.cattle.io status in the upstream cluster with the current cluster status.
Package clusterstatus updates the cluster.fleet.cattle.io status in the upstream cluster with the current cluster status.
data
Package data contains functions for working with unstructured values like []interface or map[string]interface{}.
Package data contains functions for working with unstructured values like []interface or map[string]interface{}.
internal/diff
+vendored argoproj/gitops-engine/pkg/diff/diff.go
+vendored argoproj/gitops-engine/pkg/diff/diff.go
internal/diff/json
+vendored argoproj/gitops-engine/pkg/utils/json/json.go
+vendored argoproj/gitops-engine/pkg/utils/json/json.go
internal/diff/scheme
+vendored https://github.com/argoproj/gitops-engine/blob/master/pkg/utils/kube/scheme/scheme.go
+vendored https://github.com/argoproj/gitops-engine/blob/master/pkg/utils/kube/scheme/scheme.go
internal/normalizers
Package normalizers contains normalizers for resources.
Package normalizers contains normalizers for resources.
internal/normalizers/glob
+vendored argoproj/argo-cd/util/glob/glob.go
+vendored argoproj/argo-cd/util/glob/glob.go
internal/resource
+vendored argoproj/argo-cd/pkg/apis/application/v1alpha1/types.go
+vendored argoproj/argo-cd/pkg/apis/application/v1alpha1/types.go
kv
monitor
Package monitor provides functionality for monitoring and updating the status of a bundle deployment.
Package monitor provides functionality for monitoring and updating the status of a bundle deployment.
Package trigger watches a set of deployed resources and triggers a callback when one of them is deleted.
Package trigger watches a set of deployed resources and triggers a callback when one of them is deleted.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳