Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeWorkspace
- func (fake *FakeWorkspace) Execute(arg1 context.Context, arg2 executor.TerraformExecutor, ...) (executor.ExecutionOutput, error)
- func (fake *FakeWorkspace) ExecuteArgsForCall(i int) (context.Context, executor.TerraformExecutor, []command.TerraformCommand)
- func (fake *FakeWorkspace) ExecuteCallCount() int
- func (fake *FakeWorkspace) ExecuteCalls(...)
- func (fake *FakeWorkspace) ExecuteReturns(result1 executor.ExecutionOutput, result2 error)
- func (fake *FakeWorkspace) ExecuteReturnsOnCall(i int, result1 executor.ExecutionOutput, result2 error)
- func (fake *FakeWorkspace) HasState() bool
- func (fake *FakeWorkspace) HasStateCallCount() int
- func (fake *FakeWorkspace) HasStateCalls(stub func() bool)
- func (fake *FakeWorkspace) HasStateReturns(result1 bool)
- func (fake *FakeWorkspace) HasStateReturnsOnCall(i int, result1 bool)
- func (fake *FakeWorkspace) Invocations() map[string][][]interface{}
- func (fake *FakeWorkspace) ModuleDefinitions() []workspace.ModuleDefinition
- func (fake *FakeWorkspace) ModuleDefinitionsCallCount() int
- func (fake *FakeWorkspace) ModuleDefinitionsCalls(stub func() []workspace.ModuleDefinition)
- func (fake *FakeWorkspace) ModuleDefinitionsReturns(result1 []workspace.ModuleDefinition)
- func (fake *FakeWorkspace) ModuleDefinitionsReturnsOnCall(i int, result1 []workspace.ModuleDefinition)
- func (fake *FakeWorkspace) ModuleInstances() []workspace.ModuleInstance
- func (fake *FakeWorkspace) ModuleInstancesCallCount() int
- func (fake *FakeWorkspace) ModuleInstancesCalls(stub func() []workspace.ModuleInstance)
- func (fake *FakeWorkspace) ModuleInstancesReturns(result1 []workspace.ModuleInstance)
- func (fake *FakeWorkspace) ModuleInstancesReturnsOnCall(i int, result1 []workspace.ModuleInstance)
- func (fake *FakeWorkspace) Outputs(arg1 string) (map[string]any, error)
- func (fake *FakeWorkspace) OutputsArgsForCall(i int) string
- func (fake *FakeWorkspace) OutputsCallCount() int
- func (fake *FakeWorkspace) OutputsCalls(stub func(string) (map[string]any, error))
- func (fake *FakeWorkspace) OutputsReturns(result1 map[string]any, result2 error)
- func (fake *FakeWorkspace) OutputsReturnsOnCall(i int, result1 map[string]any, result2 error)
- func (fake *FakeWorkspace) Serialize() (string, error)
- func (fake *FakeWorkspace) SerializeCallCount() int
- func (fake *FakeWorkspace) SerializeCalls(stub func() (string, error))
- func (fake *FakeWorkspace) SerializeReturns(result1 string, result2 error)
- func (fake *FakeWorkspace) SerializeReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeWorkspace) StateTFVersion() (*version.Version, error)
- func (fake *FakeWorkspace) StateTFVersionCallCount() int
- func (fake *FakeWorkspace) StateTFVersionCalls(stub func() (*version.Version, error))
- func (fake *FakeWorkspace) StateTFVersionReturns(result1 *version.Version, result2 error)
- func (fake *FakeWorkspace) StateTFVersionReturnsOnCall(i int, result1 *version.Version, result2 error)
- func (fake *FakeWorkspace) UpdateInstanceConfiguration(arg1 map[string]any) error
- func (fake *FakeWorkspace) UpdateInstanceConfigurationArgsForCall(i int) map[string]any
- func (fake *FakeWorkspace) UpdateInstanceConfigurationCallCount() int
- func (fake *FakeWorkspace) UpdateInstanceConfigurationCalls(stub func(map[string]any) error)
- func (fake *FakeWorkspace) UpdateInstanceConfigurationReturns(result1 error)
- func (fake *FakeWorkspace) UpdateInstanceConfigurationReturnsOnCall(i int, result1 error)
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]any, error) SerializeStub func() (string, error) StateTFVersionStub func() (*version.Version, error) UpdateInstanceConfigurationStub func(map[string]any) error // contains filtered or unexported fields }
func (*FakeWorkspace) Execute ¶
func (fake *FakeWorkspace) Execute(arg1 context.Context, arg2 executor.TerraformExecutor, arg3 ...command.TerraformCommand) (executor.ExecutionOutput, error)
func (*FakeWorkspace) ExecuteArgsForCall ¶
func (fake *FakeWorkspace) ExecuteArgsForCall(i int) (context.Context, executor.TerraformExecutor, []command.TerraformCommand)
func (*FakeWorkspace) ExecuteCallCount ¶
func (fake *FakeWorkspace) ExecuteCallCount() int
func (*FakeWorkspace) ExecuteCalls ¶
func (fake *FakeWorkspace) ExecuteCalls(stub func(context.Context, executor.TerraformExecutor, ...command.TerraformCommand) (executor.ExecutionOutput, error))
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]any, 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]any, error))
func (*FakeWorkspace) OutputsReturns ¶
func (fake *FakeWorkspace) OutputsReturns(result1 map[string]any, result2 error)
func (*FakeWorkspace) OutputsReturnsOnCall ¶
func (fake *FakeWorkspace) OutputsReturnsOnCall(i int, result1 map[string]any, 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) StateTFVersion ¶
func (fake *FakeWorkspace) StateTFVersion() (*version.Version, error)
func (*FakeWorkspace) StateTFVersionCallCount ¶
func (fake *FakeWorkspace) StateTFVersionCallCount() int
func (*FakeWorkspace) StateTFVersionCalls ¶
func (fake *FakeWorkspace) StateTFVersionCalls(stub func() (*version.Version, error))
func (*FakeWorkspace) StateTFVersionReturns ¶
func (fake *FakeWorkspace) StateTFVersionReturns(result1 *version.Version, result2 error)
func (*FakeWorkspace) StateTFVersionReturnsOnCall ¶
func (fake *FakeWorkspace) StateTFVersionReturnsOnCall(i int, result1 *version.Version, result2 error)
func (*FakeWorkspace) UpdateInstanceConfiguration ¶
func (fake *FakeWorkspace) UpdateInstanceConfiguration(arg1 map[string]any) error
func (*FakeWorkspace) UpdateInstanceConfigurationArgsForCall ¶
func (fake *FakeWorkspace) UpdateInstanceConfigurationArgsForCall(i int) map[string]any
func (*FakeWorkspace) UpdateInstanceConfigurationCallCount ¶
func (fake *FakeWorkspace) UpdateInstanceConfigurationCallCount() int
func (*FakeWorkspace) UpdateInstanceConfigurationCalls ¶
func (fake *FakeWorkspace) UpdateInstanceConfigurationCalls(stub func(map[string]any) error)
func (*FakeWorkspace) UpdateInstanceConfigurationReturns ¶
func (fake *FakeWorkspace) UpdateInstanceConfigurationReturns(result1 error)
func (*FakeWorkspace) UpdateInstanceConfigurationReturnsOnCall ¶
func (fake *FakeWorkspace) UpdateInstanceConfigurationReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.