agent

package
v0.10.0-rc.7 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 53 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) 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) 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
copied from argoproj/gitops-engine/pkg/diff/diff.go
copied from argoproj/gitops-engine/pkg/diff/diff.go
internal/diffnormalize
extracted from argoproj/argo-cd/util/argo/diff/normalize.go
extracted from argoproj/argo-cd/util/argo/diff/normalize.go
internal/glob
copied from argoproj/argo-cd/util/glob/glob.go
copied from argoproj/argo-cd/util/glob/glob.go
internal/json
copied from argoproj/gitops-engine/pkg/utils/json/json.go
copied from argoproj/gitops-engine/pkg/utils/json/json.go
internal/normalizers
extracted from argoproj/argo-cd/util/argo/normalizers/diff_normalizer.go
extracted from argoproj/argo-cd/util/argo/normalizers/diff_normalizer.go
internal/resource
extracted from argoproj/argo-cd/pkg/apis/application/v1alpha1/types.go
extracted from argoproj/argo-cd/pkg/apis/application/v1alpha1/types.go
internal/scheme
copied from https://github.com/argoproj/gitops-engine/blob/master/pkg/utils/kube/scheme/scheme.go
copied from https://github.com/argoproj/gitops-engine/blob/master/pkg/utils/kube/scheme/scheme.go
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