register

package
v0.3.5-rc5 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CredName            = "fleet-agent"
	BootstrapCredName   = "fleet-agent-bootstrap"
	Kubeconfig          = "kubeconfig"
	Token               = "token"
	Values              = "values"
	APIServerURL        = "apiServerURL"
	APIServerCA         = "apiServerCA"
	SystemNamespace     = "systemNamespace"
	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