register

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CredName            = "fleet-agent" // same as AgentConfigName
	Kubeconfig          = "kubeconfig"
	Token               = "token"
	Values              = "values"
	APIServerURL        = "apiServerURL"
	APIServerCA         = "apiServerCA"
	DeploymentNamespace = "deploymentNamespace"
	ClusterNamespace    = "clusterNamespace"
	ClusterName         = "clusterName"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentInfo added in v0.3.0

type AgentInfo struct {
	ClusterNamespace string
	ClusterName      string
	ClientConfig     clientcmd.ClientConfig
}

func Register

func Register(ctx context.Context, namespace, clusterID string, config *rest.Config) (*AgentInfo, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL