Documentation ¶
Index ¶
- type FileSystemMock
- func (_m *FileSystemMock) CreateDirectory(_a0 string, _a1 fs.FileMode) error
- func (_m *FileSystemMock) FileExists(_a0 string) bool
- func (_m *FileSystemMock) ReadFile(_a0 string) ([]byte, error)
- func (_m *FileSystemMock) RemoveDirectory(_a0 string) error
- func (_m *FileSystemMock) WriteFile(_a0 string, _a1 []byte, _a2 fs.FileMode) error
- type StateManager
- func (_m *StateManager) CleanupTechnique() error
- func (_m *StateManager) ExtractTechnique() error
- func (_m *StateManager) GetRootDirectory() string
- func (_m *StateManager) GetTechniqueState() stratus.AttackTechniqueState
- func (_m *StateManager) GetTerraformOutputs() (map[string]string, error)
- func (_m *StateManager) Initialize()
- func (_m *StateManager) SetTechniqueState(_a0 stratus.AttackTechniqueState) error
- func (_m *StateManager) WriteTerraformOutputs(outputs map[string]string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystemMock ¶
FileSystemMock is an autogenerated mock type for the FileSystem type
func (*FileSystemMock) CreateDirectory ¶
func (_m *FileSystemMock) CreateDirectory(_a0 string, _a1 fs.FileMode) error
CreateDirectory provides a mock function with given fields: _a0, _a1
func (*FileSystemMock) FileExists ¶
func (_m *FileSystemMock) FileExists(_a0 string) bool
FileExists provides a mock function with given fields: _a0
func (*FileSystemMock) ReadFile ¶
func (_m *FileSystemMock) ReadFile(_a0 string) ([]byte, error)
ReadFile provides a mock function with given fields: _a0
func (*FileSystemMock) RemoveDirectory ¶
func (_m *FileSystemMock) RemoveDirectory(_a0 string) error
RemoveDirectory provides a mock function with given fields: _a0
type StateManager ¶
StateManager is an autogenerated mock type for the StateManager type
func (*StateManager) CleanupTechnique ¶
func (_m *StateManager) CleanupTechnique() error
CleanupTechnique provides a mock function with given fields:
func (*StateManager) ExtractTechnique ¶
func (_m *StateManager) ExtractTechnique() error
ExtractTechnique provides a mock function with given fields:
func (*StateManager) GetRootDirectory ¶
func (_m *StateManager) GetRootDirectory() string
GetRootDirectory provides a mock function with given fields:
func (*StateManager) GetTechniqueState ¶
func (_m *StateManager) GetTechniqueState() stratus.AttackTechniqueState
GetTechniqueState provides a mock function with given fields:
func (*StateManager) GetTerraformOutputs ¶
func (_m *StateManager) GetTerraformOutputs() (map[string]string, error)
GetTerraformOutputs provides a mock function with given fields:
func (*StateManager) Initialize ¶
func (_m *StateManager) Initialize()
Initialize provides a mock function with given fields:
func (*StateManager) SetTechniqueState ¶
func (_m *StateManager) SetTechniqueState(_a0 stratus.AttackTechniqueState) error
SetTechniqueState provides a mock function with given fields: _a0
func (*StateManager) WriteTerraformOutputs ¶
func (_m *StateManager) WriteTerraformOutputs(outputs map[string]string) error
WriteTerraformOutputs provides a mock function with given fields: outputs