agent

package
v0.3.6-rc10 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

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 Register added in v0.2.0

func Register(ctx context.Context, kubeConfig, namespace, clusterID string) error

func Start

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

Types

type Options added in v0.2.0

type Options struct {
	DefaultNamespace string
	ClusterID        string
	NoLeaderElect    bool
	CheckinInterval  time.Duration
	StartAfter       <-chan struct{}
}

Jump to

Keyboard shortcuts

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