agent

package
v0.7.0-debug-1465-1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package agent provides the agent controller. (fleetagent)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMappers added in v0.3.0

func NewMappers(ctx context.Context, fleetRESTConfig *rest.Config, clientconfig clientcmd.ClientConfig, opts *Options) (meta.RESTMapper, meta.RESTMapper, discovery.CachedDiscoveryInterface, error)

Share mappers across simulators

func Start

func Start(ctx context.Context, kubeConfig, namespace, agentScope string, opts *Options) error

Start the fleet agent

Types

type Options added in v0.2.0

type Options struct {
	DefaultNamespace string
	ClusterID        string
	CheckinInterval  time.Duration
}

Jump to

Keyboard shortcuts

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