fake

package
v2.2.0-beta.2+incompat... Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager(err error) *Manager

func (*Manager) CreateWorker

func (m *Manager) CreateWorker(ctx context.Context, mtype string) (*api.Worker, error)

func (*Manager) DeleteWorker

func (m *Manager) DeleteWorker(ctx context.Context, nodeName, id string) (*api.Worker, error)

func (*Manager) GetWorker

func (m *Manager) GetWorker(ctx context.Context, id string) (*api.Worker, error)

func (*Manager) ListWorkers

func (m *Manager) ListWorkers(ctx context.Context) (*api.WorkerList, error)

func (*Manager) MachineTypes

func (m *Manager) MachineTypes() []*provider.MachineType

func (*Manager) ReserveWorker

func (m *Manager) ReserveWorker(ctx context.Context, w *api.Worker) (*api.Worker, error)

Jump to

Keyboard shortcuts

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