workspacefakes

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeWorkspace

type FakeWorkspace struct {
	ExecuteStub func(context.Context, executor.TerraformExecutor, ...command.TerraformCommand) (executor.ExecutionOutput, error)

	HasStateStub func() bool

	ModuleDefinitionsStub func() []workspace.ModuleDefinition

	ModuleInstancesStub func() []workspace.ModuleInstance

	OutputsStub func(string) (map[string]interface{}, error)

	SerializeStub func() (string, error)

	StateVersionStub func() (*version.Version, error)

	UpdateInstanceConfigurationStub func(map[string]interface{}) error
	// contains filtered or unexported fields
}

func (*FakeWorkspace) Execute

func (*FakeWorkspace) ExecuteArgsForCall

func (*FakeWorkspace) ExecuteCallCount

func (fake *FakeWorkspace) ExecuteCallCount() int

func (*FakeWorkspace) ExecuteCalls

func (*FakeWorkspace) ExecuteReturns

func (fake *FakeWorkspace) ExecuteReturns(result1 executor.ExecutionOutput, result2 error)

func (*FakeWorkspace) ExecuteReturnsOnCall

func (fake *FakeWorkspace) ExecuteReturnsOnCall(i int, result1 executor.ExecutionOutput, result2 error)

func (*FakeWorkspace) HasState

func (fake *FakeWorkspace) HasState() bool

func (*FakeWorkspace) HasStateCallCount

func (fake *FakeWorkspace) HasStateCallCount() int

func (*FakeWorkspace) HasStateCalls

func (fake *FakeWorkspace) HasStateCalls(stub func() bool)

func (*FakeWorkspace) HasStateReturns

func (fake *FakeWorkspace) HasStateReturns(result1 bool)

func (*FakeWorkspace) HasStateReturnsOnCall

func (fake *FakeWorkspace) HasStateReturnsOnCall(i int, result1 bool)

func (*FakeWorkspace) Invocations

func (fake *FakeWorkspace) Invocations() map[string][][]interface{}

func (*FakeWorkspace) ModuleDefinitions

func (fake *FakeWorkspace) ModuleDefinitions() []workspace.ModuleDefinition

func (*FakeWorkspace) ModuleDefinitionsCallCount

func (fake *FakeWorkspace) ModuleDefinitionsCallCount() int

func (*FakeWorkspace) ModuleDefinitionsCalls

func (fake *FakeWorkspace) ModuleDefinitionsCalls(stub func() []workspace.ModuleDefinition)

func (*FakeWorkspace) ModuleDefinitionsReturns

func (fake *FakeWorkspace) ModuleDefinitionsReturns(result1 []workspace.ModuleDefinition)

func (*FakeWorkspace) ModuleDefinitionsReturnsOnCall

func (fake *FakeWorkspace) ModuleDefinitionsReturnsOnCall(i int, result1 []workspace.ModuleDefinition)

func (*FakeWorkspace) ModuleInstances

func (fake *FakeWorkspace) ModuleInstances() []workspace.ModuleInstance

func (*FakeWorkspace) ModuleInstancesCallCount

func (fake *FakeWorkspace) ModuleInstancesCallCount() int

func (*FakeWorkspace) ModuleInstancesCalls

func (fake *FakeWorkspace) ModuleInstancesCalls(stub func() []workspace.ModuleInstance)

func (*FakeWorkspace) ModuleInstancesReturns

func (fake *FakeWorkspace) ModuleInstancesReturns(result1 []workspace.ModuleInstance)

func (*FakeWorkspace) ModuleInstancesReturnsOnCall

func (fake *FakeWorkspace) ModuleInstancesReturnsOnCall(i int, result1 []workspace.ModuleInstance)

func (*FakeWorkspace) Outputs

func (fake *FakeWorkspace) Outputs(arg1 string) (map[string]interface{}, error)

func (*FakeWorkspace) OutputsArgsForCall

func (fake *FakeWorkspace) OutputsArgsForCall(i int) string

func (*FakeWorkspace) OutputsCallCount

func (fake *FakeWorkspace) OutputsCallCount() int

func (*FakeWorkspace) OutputsCalls

func (fake *FakeWorkspace) OutputsCalls(stub func(string) (map[string]interface{}, error))

func (*FakeWorkspace) OutputsReturns

func (fake *FakeWorkspace) OutputsReturns(result1 map[string]interface{}, result2 error)

func (*FakeWorkspace) OutputsReturnsOnCall

func (fake *FakeWorkspace) OutputsReturnsOnCall(i int, result1 map[string]interface{}, result2 error)

func (*FakeWorkspace) Serialize

func (fake *FakeWorkspace) Serialize() (string, error)

func (*FakeWorkspace) SerializeCallCount

func (fake *FakeWorkspace) SerializeCallCount() int

func (*FakeWorkspace) SerializeCalls

func (fake *FakeWorkspace) SerializeCalls(stub func() (string, error))

func (*FakeWorkspace) SerializeReturns

func (fake *FakeWorkspace) SerializeReturns(result1 string, result2 error)

func (*FakeWorkspace) SerializeReturnsOnCall

func (fake *FakeWorkspace) SerializeReturnsOnCall(i int, result1 string, result2 error)

func (*FakeWorkspace) StateVersion

func (fake *FakeWorkspace) StateVersion() (*version.Version, error)

func (*FakeWorkspace) StateVersionCallCount

func (fake *FakeWorkspace) StateVersionCallCount() int

func (*FakeWorkspace) StateVersionCalls

func (fake *FakeWorkspace) StateVersionCalls(stub func() (*version.Version, error))

func (*FakeWorkspace) StateVersionReturns

func (fake *FakeWorkspace) StateVersionReturns(result1 *version.Version, result2 error)

func (*FakeWorkspace) StateVersionReturnsOnCall

func (fake *FakeWorkspace) StateVersionReturnsOnCall(i int, result1 *version.Version, result2 error)

func (*FakeWorkspace) UpdateInstanceConfiguration

func (fake *FakeWorkspace) UpdateInstanceConfiguration(arg1 map[string]interface{}) error

func (*FakeWorkspace) UpdateInstanceConfigurationArgsForCall

func (fake *FakeWorkspace) UpdateInstanceConfigurationArgsForCall(i int) map[string]interface{}

func (*FakeWorkspace) UpdateInstanceConfigurationCallCount

func (fake *FakeWorkspace) UpdateInstanceConfigurationCallCount() int

func (*FakeWorkspace) UpdateInstanceConfigurationCalls

func (fake *FakeWorkspace) UpdateInstanceConfigurationCalls(stub func(map[string]interface{}) error)

func (*FakeWorkspace) UpdateInstanceConfigurationReturns

func (fake *FakeWorkspace) UpdateInstanceConfigurationReturns(result1 error)

func (*FakeWorkspace) UpdateInstanceConfigurationReturnsOnCall

func (fake *FakeWorkspace) UpdateInstanceConfigurationReturnsOnCall(i int, result1 error)

type FakeWorkspaceBuilder

type FakeWorkspaceBuilder struct {
	CreateWorkspaceStub func(storage.TerraformDeployment) (workspace.Workspace, error)
	// contains filtered or unexported fields
}

func (*FakeWorkspaceBuilder) CreateWorkspace

func (*FakeWorkspaceBuilder) CreateWorkspaceArgsForCall

func (fake *FakeWorkspaceBuilder) CreateWorkspaceArgsForCall(i int) storage.TerraformDeployment

func (*FakeWorkspaceBuilder) CreateWorkspaceCallCount

func (fake *FakeWorkspaceBuilder) CreateWorkspaceCallCount() int

func (*FakeWorkspaceBuilder) CreateWorkspaceCalls

func (fake *FakeWorkspaceBuilder) CreateWorkspaceCalls(stub func(storage.TerraformDeployment) (workspace.Workspace, error))

func (*FakeWorkspaceBuilder) CreateWorkspaceReturns

func (fake *FakeWorkspaceBuilder) CreateWorkspaceReturns(result1 workspace.Workspace, result2 error)

func (*FakeWorkspaceBuilder) CreateWorkspaceReturnsOnCall

func (fake *FakeWorkspaceBuilder) CreateWorkspaceReturnsOnCall(i int, result1 workspace.Workspace, result2 error)

func (*FakeWorkspaceBuilder) Invocations

func (fake *FakeWorkspaceBuilder) Invocations() map[string][][]interface{}

Jump to

Keyboard shortcuts

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