test

package
v0.0.0-...-632707f Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient() (*client.Client, *mocks.Executor)

Types

type API

type API struct {
	ClusterService        *mocks.Cluster
	NodeService           *mocks.Node
	PoolService           *mocks.Pool
	StorageService        *mocks.Storage
	VirtualMachineService *mocks.VirtualMachine
	TaskService           *mocks.Task
}

func NewAPI

func NewAPI() *API

func (API) Cluster

func (api API) Cluster() service.Cluster

func (API) Node

func (api API) Node() service.Node

func (API) Pool

func (api API) Pool() service.Pool

func (API) Storage

func (api API) Storage() service.Storage

func (API) Task

func (api API) Task() service.Task

func (API) VirtualMachine

func (api API) VirtualMachine() service.VirtualMachine

Jump to

Keyboard shortcuts

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