Documentation
¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: github.com/rancher-sandbox/cluster-api-provider-elemental/internal/agent/elementalcli (interfaces: Runner)
Generated by this command:
mockgen -copyright_file=hack/boilerplate.go.txt -destination=internal/agent/elementalcli/runner_mocks.go -package=elementalcli github.com/rancher-sandbox/cluster-api-provider-elemental/internal/agent/elementalcli Runner
Package elementalcli is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Install ¶ added in v0.1.0
type Install struct {
Firmware string `json:"firmware,omitempty" mapstructure:"firmware"`
Device string `json:"device,omitempty" mapstructure:"device"`
NoFormat bool `json:"noFormat,omitempty" mapstructure:"noFormat"`
ConfigURLs []string `json:"configUrls,omitempty" mapstructure:"configUrls"`
ISO string `json:"iso,omitempty" mapstructure:"iso"`
SystemURI string `json:"systemUri,omitempty" mapstructure:"systemUri"`
Debug bool `json:"debug,omitempty" mapstructure:"debug"`
TTY string `json:"tty,omitempty" mapstructure:"tty"`
EjectCD bool `json:"ejectCd,omitempty" mapstructure:"ejectCd"`
DisableBootEntry bool `json:"disableBootEntry,omitempty" mapstructure:"disableBootEntry"`
ConfigDir string `json:"configDir,omitempty" mapstructure:"configDir"`
Snapshotter Snapshotter `json:"snapshotter,omitempty" mapstructure:"snapshotter"`
}
type MockRunner ¶ added in v0.1.0
type MockRunner struct {
// contains filtered or unexported fields
}
MockRunner is a mock of Runner interface.
func NewMockRunner ¶ added in v0.1.0
func NewMockRunner(ctrl *gomock.Controller) *MockRunner
NewMockRunner creates a new mock instance.
func (*MockRunner) EXPECT ¶ added in v0.1.0
func (m *MockRunner) EXPECT() *MockRunnerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRunner) Install ¶ added in v0.1.0
func (m *MockRunner) Install(arg0 Install) error
Install mocks base method.
func (*MockRunner) Reset ¶ added in v0.1.0
func (m *MockRunner) Reset(arg0 Reset) error
Reset mocks base method.
type MockRunnerMockRecorder ¶ added in v0.1.0
type MockRunnerMockRecorder struct {
// contains filtered or unexported fields
}
MockRunnerMockRecorder is the mock recorder for MockRunner.
type Reset ¶ added in v0.1.0
type Reset struct {
Enabled bool `json:"enabled,omitempty" mapstructure:"enabled"`
ResetPersistent bool `json:"resetPersistent,omitempty" mapstructure:"resetPersistent"`
ResetOEM bool `json:"resetOem,omitempty" mapstructure:"resetOem"`
ConfigURLs []string `json:"configUrls,omitempty" mapstructure:"configUrls"`
SystemURI string `json:"systemUri,omitempty" mapstructure:"systemUri"`
Debug bool `json:"debug,omitempty" mapstructure:"debug"`
}
type Snapshotter ¶ added in v0.6.0
type Snapshotter struct {
Type string `json:"type,omitempty" mapstructure:"type"`
}
Click to show internal directories.
Click to hide internal directories.