agent

package
v0.10.7-rc.2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 54 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func App

func App() *cobra.Command

func NewClusterStatus added in v0.10.0

func NewClusterStatus() *cobra.Command

func NewRegister added in v0.10.0

func NewRegister() *cobra.Command

Types

type ClusterStatus added in v0.10.0

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

func (*ClusterStatus) HelpFunc added in v0.10.0

func (c *ClusterStatus) HelpFunc(cmd *cobra.Command, strings []string)

HelpFunc hides the global agent-scope flag from the help output

func (*ClusterStatus) PersistentPre added in v0.10.0

func (cs *ClusterStatus) PersistentPre(cmd *cobra.Command, _ []string) error

func (*ClusterStatus) Run added in v0.10.0

func (cs *ClusterStatus) Run(cmd *cobra.Command, args []string) error

type FleetAgent

type FleetAgent struct {
	command.DebugConfig
	Namespace  string `usage:"system namespace is the namespace, the agent runs in, e.g. cattle-fleet-system" env:"NAMESPACE"`
	AgentScope string `usage:"An identifier used to scope the agent bundleID names, typically the same as namespace" env:"AGENT_SCOPE"`
}

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 {
	command.DebugConfig
	UpstreamOptions
}

func (*Register) HelpFunc added in v0.10.0

func (c *Register) HelpFunc(cmd *cobra.Command, strings []string)

HelpFunc hides the global agent-scope flag from the help output

func (*Register) PersistentPre added in v0.10.0

func (r *Register) PersistentPre(cmd *cobra.Command, _ []string) error

func (*Register) Run added in v0.10.0

func (r *Register) Run(cmd *cobra.Command, args []string) 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.
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
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