Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockDirProcessor
- type MockDirProcessorMockRecorder
- type MockStackIface
- func (m *MockStackIface) Apply(arg0 options.WaitOptions) error
- func (m *MockStackIface) Destroy() error
- func (m *MockStackIface) EXPECT() *MockStackIfaceMockRecorder
- func (m *MockStackIface) GetName() string
- func (m *MockStackIface) GetOutputs() (map[string]string, error)
- func (m *MockStackIface) GetStatus() string
- func (m *MockStackIface) Meta() (*stack_mgr.StackMeta, error)
- func (m *MockStackIface) PrintOutputs()
- func (m *MockStackIface) SetMeta(arg0 *stack_mgr.StackMeta)
- func (m *MockStackIface) Wait(arg0 options.WaitOptions)
- type MockStackIfaceMockRecorder
- func (mr *MockStackIfaceMockRecorder) Apply(arg0 interface{}) *gomock.Call
- func (mr *MockStackIfaceMockRecorder) Destroy() *gomock.Call
- func (mr *MockStackIfaceMockRecorder) GetName() *gomock.Call
- func (mr *MockStackIfaceMockRecorder) GetOutputs() *gomock.Call
- func (mr *MockStackIfaceMockRecorder) GetStatus() *gomock.Call
- func (mr *MockStackIfaceMockRecorder) Meta() *gomock.Call
- func (mr *MockStackIfaceMockRecorder) PrintOutputs() *gomock.Call
- func (mr *MockStackIfaceMockRecorder) SetMeta(arg0 interface{}) *gomock.Call
- func (mr *MockStackIfaceMockRecorder) Wait(arg0 interface{}) *gomock.Call
- type MockStackServiceIface
- func (m *MockStackServiceIface) Add(arg0 context.Context, arg1 string) (*stack_mgr.Stack, error)
- func (m *MockStackServiceIface) EXPECT() *MockStackServiceIfaceMockRecorder
- func (m *MockStackServiceIface) GetConfig() *config.HappyConfig
- func (m *MockStackServiceIface) GetStackWorkspace(arg0 string) (workspace_repo.Workspace, error)
- func (m *MockStackServiceIface) GetStacks(arg0 context.Context) (map[string]*stack_mgr.Stack, error)
- func (m *MockStackServiceIface) NewStackMeta(arg0 string) *stack_mgr.StackMeta
- func (m *MockStackServiceIface) Remove(arg0 context.Context, arg1 string) error
- type MockStackServiceIfaceMockRecorder
- func (mr *MockStackServiceIfaceMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStackServiceIfaceMockRecorder) GetConfig() *gomock.Call
- func (mr *MockStackServiceIfaceMockRecorder) GetStackWorkspace(arg0 interface{}) *gomock.Call
- func (mr *MockStackServiceIfaceMockRecorder) GetStacks(arg0 interface{}) *gomock.Call
- func (mr *MockStackServiceIfaceMockRecorder) NewStackMeta(arg0 interface{}) *gomock.Call
- func (mr *MockStackServiceIfaceMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
- type MockWorkspace
- func (m *MockWorkspace) EXPECT() *MockWorkspaceMockRecorder
- func (m *MockWorkspace) GetCurrentRunID() string
- func (m *MockWorkspace) GetCurrentRunStatus() string
- func (m *MockWorkspace) GetLatestConfigVersionID() (string, error)
- func (m *MockWorkspace) GetOutputs() (map[string]string, error)
- func (m *MockWorkspace) GetTags() (map[string]string, error)
- func (m *MockWorkspace) GetWorkspaceID() string
- func (m *MockWorkspace) GetWorkspaceId() string
- func (m *MockWorkspace) ResetCache()
- func (m *MockWorkspace) Run(arg0 bool) error
- func (m *MockWorkspace) RunConfigVersion(arg0 string, arg1 bool) error
- func (m *MockWorkspace) SetVars(arg0, arg1, arg2 string, arg3 bool) error
- func (m *MockWorkspace) UploadVersion(arg0 string) (string, error)
- func (m *MockWorkspace) Wait() error
- func (m *MockWorkspace) WaitWithOptions(arg0 options.WaitOptions) error
- func (m *MockWorkspace) WorkspaceName() string
- type MockWorkspaceMockRecorder
- func (mr *MockWorkspaceMockRecorder) GetCurrentRunID() *gomock.Call
- func (mr *MockWorkspaceMockRecorder) GetCurrentRunStatus() *gomock.Call
- func (mr *MockWorkspaceMockRecorder) GetLatestConfigVersionID() *gomock.Call
- func (mr *MockWorkspaceMockRecorder) GetOutputs() *gomock.Call
- func (mr *MockWorkspaceMockRecorder) GetTags() *gomock.Call
- func (mr *MockWorkspaceMockRecorder) GetWorkspaceID() *gomock.Call
- func (mr *MockWorkspaceMockRecorder) GetWorkspaceId() *gomock.Call
- func (mr *MockWorkspaceMockRecorder) ResetCache() *gomock.Call
- func (mr *MockWorkspaceMockRecorder) Run(arg0 interface{}) *gomock.Call
- func (mr *MockWorkspaceMockRecorder) RunConfigVersion(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockWorkspaceMockRecorder) SetVars(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockWorkspaceMockRecorder) UploadVersion(arg0 interface{}) *gomock.Call
- func (mr *MockWorkspaceMockRecorder) Wait() *gomock.Call
- func (mr *MockWorkspaceMockRecorder) WaitWithOptions(arg0 interface{}) *gomock.Call
- func (mr *MockWorkspaceMockRecorder) WorkspaceName() *gomock.Call
- type MockWorkspaceRepoIface
- type MockWorkspaceRepoIfaceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDirProcessor ¶
type MockDirProcessor struct {
// contains filtered or unexported fields
}
MockDirProcessor is a mock of DirProcessor interface.
func NewMockDirProcessor ¶
func NewMockDirProcessor(ctrl *gomock.Controller) *MockDirProcessor
NewMockDirProcessor creates a new mock instance.
func (*MockDirProcessor) EXPECT ¶
func (m *MockDirProcessor) EXPECT() *MockDirProcessorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDirProcessorMockRecorder ¶
type MockDirProcessorMockRecorder struct {
// contains filtered or unexported fields
}
MockDirProcessorMockRecorder is the mock recorder for MockDirProcessor.
func (*MockDirProcessorMockRecorder) Tarzip ¶
func (mr *MockDirProcessorMockRecorder) Tarzip(arg0, arg1 interface{}) *gomock.Call
Tarzip indicates an expected call of Tarzip.
type MockStackIface ¶ added in v0.4.0
type MockStackIface struct {
// contains filtered or unexported fields
}
MockStackIface is a mock of StackIface interface.
func NewMockStackIface ¶ added in v0.4.0
func NewMockStackIface(ctrl *gomock.Controller) *MockStackIface
NewMockStackIface creates a new mock instance.
func (*MockStackIface) Apply ¶ added in v0.4.0
func (m *MockStackIface) Apply(arg0 options.WaitOptions) error
Apply mocks base method.
func (*MockStackIface) Destroy ¶ added in v0.4.0
func (m *MockStackIface) Destroy() error
Destroy mocks base method.
func (*MockStackIface) EXPECT ¶ added in v0.4.0
func (m *MockStackIface) EXPECT() *MockStackIfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStackIface) GetName ¶ added in v0.4.0
func (m *MockStackIface) GetName() string
GetName mocks base method.
func (*MockStackIface) GetOutputs ¶ added in v0.4.0
func (m *MockStackIface) GetOutputs() (map[string]string, error)
GetOutputs mocks base method.
func (*MockStackIface) GetStatus ¶ added in v0.4.0
func (m *MockStackIface) GetStatus() string
GetStatus mocks base method.
func (*MockStackIface) Meta ¶ added in v0.4.0
func (m *MockStackIface) Meta() (*stack_mgr.StackMeta, error)
Meta mocks base method.
func (*MockStackIface) PrintOutputs ¶ added in v0.4.0
func (m *MockStackIface) PrintOutputs()
PrintOutputs mocks base method.
func (*MockStackIface) SetMeta ¶ added in v0.4.0
func (m *MockStackIface) SetMeta(arg0 *stack_mgr.StackMeta)
SetMeta mocks base method.
func (*MockStackIface) Wait ¶ added in v0.4.0
func (m *MockStackIface) Wait(arg0 options.WaitOptions)
Wait mocks base method.
type MockStackIfaceMockRecorder ¶ added in v0.4.0
type MockStackIfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockStackIfaceMockRecorder is the mock recorder for MockStackIface.
func (*MockStackIfaceMockRecorder) Apply ¶ added in v0.4.0
func (mr *MockStackIfaceMockRecorder) Apply(arg0 interface{}) *gomock.Call
Apply indicates an expected call of Apply.
func (*MockStackIfaceMockRecorder) Destroy ¶ added in v0.4.0
func (mr *MockStackIfaceMockRecorder) Destroy() *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockStackIfaceMockRecorder) GetName ¶ added in v0.4.0
func (mr *MockStackIfaceMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName.
func (*MockStackIfaceMockRecorder) GetOutputs ¶ added in v0.4.0
func (mr *MockStackIfaceMockRecorder) GetOutputs() *gomock.Call
GetOutputs indicates an expected call of GetOutputs.
func (*MockStackIfaceMockRecorder) GetStatus ¶ added in v0.4.0
func (mr *MockStackIfaceMockRecorder) GetStatus() *gomock.Call
GetStatus indicates an expected call of GetStatus.
func (*MockStackIfaceMockRecorder) Meta ¶ added in v0.4.0
func (mr *MockStackIfaceMockRecorder) Meta() *gomock.Call
Meta indicates an expected call of Meta.
func (*MockStackIfaceMockRecorder) PrintOutputs ¶ added in v0.4.0
func (mr *MockStackIfaceMockRecorder) PrintOutputs() *gomock.Call
PrintOutputs indicates an expected call of PrintOutputs.
func (*MockStackIfaceMockRecorder) SetMeta ¶ added in v0.4.0
func (mr *MockStackIfaceMockRecorder) SetMeta(arg0 interface{}) *gomock.Call
SetMeta indicates an expected call of SetMeta.
func (*MockStackIfaceMockRecorder) Wait ¶ added in v0.4.0
func (mr *MockStackIfaceMockRecorder) Wait(arg0 interface{}) *gomock.Call
Wait indicates an expected call of Wait.
type MockStackServiceIface ¶ added in v0.4.0
type MockStackServiceIface struct {
// contains filtered or unexported fields
}
MockStackServiceIface is a mock of StackServiceIface interface.
func NewMockStackServiceIface ¶ added in v0.4.0
func NewMockStackServiceIface(ctrl *gomock.Controller) *MockStackServiceIface
NewMockStackServiceIface creates a new mock instance.
func (*MockStackServiceIface) EXPECT ¶ added in v0.4.0
func (m *MockStackServiceIface) EXPECT() *MockStackServiceIfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStackServiceIface) GetConfig ¶ added in v0.4.0
func (m *MockStackServiceIface) GetConfig() *config.HappyConfig
GetConfig mocks base method.
func (*MockStackServiceIface) GetStackWorkspace ¶ added in v0.4.0
func (m *MockStackServiceIface) GetStackWorkspace(arg0 string) (workspace_repo.Workspace, error)
GetStackWorkspace mocks base method.
func (*MockStackServiceIface) GetStacks ¶ added in v0.4.0
func (m *MockStackServiceIface) GetStacks(arg0 context.Context) (map[string]*stack_mgr.Stack, error)
GetStacks mocks base method.
func (*MockStackServiceIface) NewStackMeta ¶ added in v0.4.0
func (m *MockStackServiceIface) NewStackMeta(arg0 string) *stack_mgr.StackMeta
NewStackMeta mocks base method.
type MockStackServiceIfaceMockRecorder ¶ added in v0.4.0
type MockStackServiceIfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockStackServiceIfaceMockRecorder is the mock recorder for MockStackServiceIface.
func (*MockStackServiceIfaceMockRecorder) Add ¶ added in v0.4.0
func (mr *MockStackServiceIfaceMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockStackServiceIfaceMockRecorder) GetConfig ¶ added in v0.4.0
func (mr *MockStackServiceIfaceMockRecorder) GetConfig() *gomock.Call
GetConfig indicates an expected call of GetConfig.
func (*MockStackServiceIfaceMockRecorder) GetStackWorkspace ¶ added in v0.4.0
func (mr *MockStackServiceIfaceMockRecorder) GetStackWorkspace(arg0 interface{}) *gomock.Call
GetStackWorkspace indicates an expected call of GetStackWorkspace.
func (*MockStackServiceIfaceMockRecorder) GetStacks ¶ added in v0.4.0
func (mr *MockStackServiceIfaceMockRecorder) GetStacks(arg0 interface{}) *gomock.Call
GetStacks indicates an expected call of GetStacks.
func (*MockStackServiceIfaceMockRecorder) NewStackMeta ¶ added in v0.4.0
func (mr *MockStackServiceIfaceMockRecorder) NewStackMeta(arg0 interface{}) *gomock.Call
NewStackMeta indicates an expected call of NewStackMeta.
func (*MockStackServiceIfaceMockRecorder) Remove ¶ added in v0.4.0
func (mr *MockStackServiceIfaceMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
Remove indicates an expected call of Remove.
type MockWorkspace ¶
type MockWorkspace struct {
// contains filtered or unexported fields
}
MockWorkspace is a mock of Workspace interface.
func NewMockWorkspace ¶
func NewMockWorkspace(ctrl *gomock.Controller) *MockWorkspace
NewMockWorkspace creates a new mock instance.
func (*MockWorkspace) EXPECT ¶
func (m *MockWorkspace) EXPECT() *MockWorkspaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWorkspace) GetCurrentRunID ¶
func (m *MockWorkspace) GetCurrentRunID() string
GetCurrentRunID mocks base method.
func (*MockWorkspace) GetCurrentRunStatus ¶
func (m *MockWorkspace) GetCurrentRunStatus() string
GetCurrentRunStatus mocks base method.
func (*MockWorkspace) GetLatestConfigVersionID ¶
func (m *MockWorkspace) GetLatestConfigVersionID() (string, error)
GetLatestConfigVersionID mocks base method.
func (*MockWorkspace) GetOutputs ¶
func (m *MockWorkspace) GetOutputs() (map[string]string, error)
GetOutputs mocks base method.
func (*MockWorkspace) GetTags ¶
func (m *MockWorkspace) GetTags() (map[string]string, error)
GetTags mocks base method.
func (*MockWorkspace) GetWorkspaceID ¶
func (m *MockWorkspace) GetWorkspaceID() string
GetWorkspaceID mocks base method.
func (*MockWorkspace) GetWorkspaceId ¶
func (m *MockWorkspace) GetWorkspaceId() string
GetWorkspaceId mocks base method.
func (*MockWorkspace) ResetCache ¶
func (m *MockWorkspace) ResetCache()
ResetCache mocks base method.
func (*MockWorkspace) RunConfigVersion ¶
func (m *MockWorkspace) RunConfigVersion(arg0 string, arg1 bool) error
RunConfigVersion mocks base method.
func (*MockWorkspace) SetVars ¶
func (m *MockWorkspace) SetVars(arg0, arg1, arg2 string, arg3 bool) error
SetVars mocks base method.
func (*MockWorkspace) UploadVersion ¶
func (m *MockWorkspace) UploadVersion(arg0 string) (string, error)
UploadVersion mocks base method.
func (*MockWorkspace) WaitWithOptions ¶ added in v0.3.0
func (m *MockWorkspace) WaitWithOptions(arg0 options.WaitOptions) error
WaitWithOptions mocks base method.
func (*MockWorkspace) WorkspaceName ¶
func (m *MockWorkspace) WorkspaceName() string
WorkspaceName mocks base method.
type MockWorkspaceMockRecorder ¶
type MockWorkspaceMockRecorder struct {
// contains filtered or unexported fields
}
MockWorkspaceMockRecorder is the mock recorder for MockWorkspace.
func (*MockWorkspaceMockRecorder) GetCurrentRunID ¶
func (mr *MockWorkspaceMockRecorder) GetCurrentRunID() *gomock.Call
GetCurrentRunID indicates an expected call of GetCurrentRunID.
func (*MockWorkspaceMockRecorder) GetCurrentRunStatus ¶
func (mr *MockWorkspaceMockRecorder) GetCurrentRunStatus() *gomock.Call
GetCurrentRunStatus indicates an expected call of GetCurrentRunStatus.
func (*MockWorkspaceMockRecorder) GetLatestConfigVersionID ¶
func (mr *MockWorkspaceMockRecorder) GetLatestConfigVersionID() *gomock.Call
GetLatestConfigVersionID indicates an expected call of GetLatestConfigVersionID.
func (*MockWorkspaceMockRecorder) GetOutputs ¶
func (mr *MockWorkspaceMockRecorder) GetOutputs() *gomock.Call
GetOutputs indicates an expected call of GetOutputs.
func (*MockWorkspaceMockRecorder) GetTags ¶
func (mr *MockWorkspaceMockRecorder) GetTags() *gomock.Call
GetTags indicates an expected call of GetTags.
func (*MockWorkspaceMockRecorder) GetWorkspaceID ¶
func (mr *MockWorkspaceMockRecorder) GetWorkspaceID() *gomock.Call
GetWorkspaceID indicates an expected call of GetWorkspaceID.
func (*MockWorkspaceMockRecorder) GetWorkspaceId ¶
func (mr *MockWorkspaceMockRecorder) GetWorkspaceId() *gomock.Call
GetWorkspaceId indicates an expected call of GetWorkspaceId.
func (*MockWorkspaceMockRecorder) ResetCache ¶
func (mr *MockWorkspaceMockRecorder) ResetCache() *gomock.Call
ResetCache indicates an expected call of ResetCache.
func (*MockWorkspaceMockRecorder) Run ¶
func (mr *MockWorkspaceMockRecorder) Run(arg0 interface{}) *gomock.Call
Run indicates an expected call of Run.
func (*MockWorkspaceMockRecorder) RunConfigVersion ¶
func (mr *MockWorkspaceMockRecorder) RunConfigVersion(arg0, arg1 interface{}) *gomock.Call
RunConfigVersion indicates an expected call of RunConfigVersion.
func (*MockWorkspaceMockRecorder) SetVars ¶
func (mr *MockWorkspaceMockRecorder) SetVars(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SetVars indicates an expected call of SetVars.
func (*MockWorkspaceMockRecorder) UploadVersion ¶
func (mr *MockWorkspaceMockRecorder) UploadVersion(arg0 interface{}) *gomock.Call
UploadVersion indicates an expected call of UploadVersion.
func (*MockWorkspaceMockRecorder) Wait ¶
func (mr *MockWorkspaceMockRecorder) Wait() *gomock.Call
Wait indicates an expected call of Wait.
func (*MockWorkspaceMockRecorder) WaitWithOptions ¶ added in v0.3.0
func (mr *MockWorkspaceMockRecorder) WaitWithOptions(arg0 interface{}) *gomock.Call
WaitWithOptions indicates an expected call of WaitWithOptions.
func (*MockWorkspaceMockRecorder) WorkspaceName ¶
func (mr *MockWorkspaceMockRecorder) WorkspaceName() *gomock.Call
WorkspaceName indicates an expected call of WorkspaceName.
type MockWorkspaceRepoIface ¶
type MockWorkspaceRepoIface struct {
// contains filtered or unexported fields
}
MockWorkspaceRepoIface is a mock of WorkspaceRepoIface interface.
func NewMockWorkspaceRepoIface ¶
func NewMockWorkspaceRepoIface(ctrl *gomock.Controller) *MockWorkspaceRepoIface
NewMockWorkspaceRepoIface creates a new mock instance.
func (*MockWorkspaceRepoIface) EXPECT ¶
func (m *MockWorkspaceRepoIface) EXPECT() *MockWorkspaceRepoIfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWorkspaceRepoIface) GetWorkspace ¶
func (m *MockWorkspaceRepoIface) GetWorkspace(arg0 string) (workspace_repo.Workspace, error)
GetWorkspace mocks base method.
type MockWorkspaceRepoIfaceMockRecorder ¶
type MockWorkspaceRepoIfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockWorkspaceRepoIfaceMockRecorder is the mock recorder for MockWorkspaceRepoIface.
func (*MockWorkspaceRepoIfaceMockRecorder) GetWorkspace ¶
func (mr *MockWorkspaceRepoIfaceMockRecorder) GetWorkspace(arg0 interface{}) *gomock.Call
GetWorkspace indicates an expected call of GetWorkspace.