mocks

package
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: Apache-2.0 Imports: 4 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