mocks

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2019 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 GetAllValidTargetsFunc

type GetAllValidTargetsFunc func() []executioncluster.ExecutionTarget

type MockCluster

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

func (*MockCluster) GetAllValidTargets

func (m *MockCluster) GetAllValidTargets() []executioncluster.ExecutionTarget

func (*MockCluster) GetTarget

func (*MockCluster) SetGetAllValidTargetsCallback

func (m *MockCluster) SetGetAllValidTargetsCallback(getAllValidTargetsFunc GetAllValidTargetsFunc)

func (*MockCluster) SetGetTargetCallback

func (m *MockCluster) SetGetTargetCallback(getTargetFunc GetTargetFunc)

type MockExecutionTargetProvider

type MockExecutionTargetProvider struct{}

func (*MockExecutionTargetProvider) GetExecutionTarget

Creates a new Execution target for a cluster based on config passed in.

Jump to

Keyboard shortcuts

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