cluster

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster interface {
	Namespace() string
	Config() *rest.Config
	Client() client.Client
	Scheme() *runtime.Scheme
	IDGen() idgen.IDGen
	MachinePoolName() string
	MachinePoolSelector() map[string]string
}

func New

func New(cfg *rest.Config, namespace string, opts Options) (Cluster, error)

type Options

type Options struct {
	IDGen               idgen.IDGen
	MachinePoolName     string
	MachinePoolSelector map[string]string
}

Jump to

Keyboard shortcuts

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