testhelpers

package
v2.1.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAccount

type MockAccount struct {
	client.Account
	mock.Mock
}

func (MockAccount) GetClusterPrefix

func (mock MockAccount) GetClusterPrefix() (string, error)

func (*MockAccount) GetID

func (mock *MockAccount) GetID() string

func (MockAccount) NewClusterService

func (mock MockAccount) NewClusterService() common.ClusterService

type MockClusterService

type MockClusterService struct {
	common.ClusterService
	mock.Mock
}

func (*MockClusterService) ListClusterTemplates

func (mock *MockClusterService) ListClusterTemplates() ([]common.ClusterTemplate, error)

type StubClusterTemplate

type StubClusterTemplate struct {
	Name     string
	COE      string
	HostType string
}

func (*StubClusterTemplate) GetCOE

func (stub *StubClusterTemplate) GetCOE() string

func (*StubClusterTemplate) GetHostType

func (stub *StubClusterTemplate) GetHostType() string

func (*StubClusterTemplate) GetName

func (stub *StubClusterTemplate) GetName() string

Jump to

Keyboard shortcuts

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