Documentation ¶
Overview ¶
Package ignitionutil is a generated GoMock package.
Index ¶
- type Ignition
- type IgnitionConfig
- type MockIgnition
- func (m *MockIgnition) EXPECT() *MockIgnitionMockRecorder
- func (m *MockIgnition) MergeIgnitionConfig(base, overrides *types.Config) (*types.Config, error)
- func (m *MockIgnition) ParseIgnitionFile(path string) (*types.Config, error)
- func (m *MockIgnition) WriteIgnitionFile(path string, config *types.Config) error
- type MockIgnitionMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ignition ¶
type Ignition interface { ParseIgnitionFile(path string) (*types.Config, error) WriteIgnitionFile(path string, config *types.Config) error MergeIgnitionConfig(base *types.Config, overrides *types.Config) (*types.Config, error) }
func NewIgnition ¶
func NewIgnition(config IgnitionConfig) Ignition
type IgnitionConfig ¶
type IgnitionConfig struct {
OSInterface fileutil.OSInterface
}
type MockIgnition ¶
type MockIgnition struct {
// contains filtered or unexported fields
}
MockIgnition is a mock of Ignition interface.
func NewMockIgnition ¶
func NewMockIgnition(ctrl *gomock.Controller) *MockIgnition
NewMockIgnition creates a new mock instance.
func (*MockIgnition) EXPECT ¶
func (m *MockIgnition) EXPECT() *MockIgnitionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIgnition) MergeIgnitionConfig ¶
MergeIgnitionConfig mocks base method.
func (*MockIgnition) ParseIgnitionFile ¶
func (m *MockIgnition) ParseIgnitionFile(path string) (*types.Config, error)
ParseIgnitionFile mocks base method.
func (*MockIgnition) WriteIgnitionFile ¶
func (m *MockIgnition) WriteIgnitionFile(path string, config *types.Config) error
WriteIgnitionFile mocks base method.
type MockIgnitionMockRecorder ¶
type MockIgnitionMockRecorder struct {
// contains filtered or unexported fields
}
MockIgnitionMockRecorder is the mock recorder for MockIgnition.
func (*MockIgnitionMockRecorder) MergeIgnitionConfig ¶
func (mr *MockIgnitionMockRecorder) MergeIgnitionConfig(base, overrides interface{}) *gomock.Call
MergeIgnitionConfig indicates an expected call of MergeIgnitionConfig.
func (*MockIgnitionMockRecorder) ParseIgnitionFile ¶
func (mr *MockIgnitionMockRecorder) ParseIgnitionFile(path interface{}) *gomock.Call
ParseIgnitionFile indicates an expected call of ParseIgnitionFile.
func (*MockIgnitionMockRecorder) WriteIgnitionFile ¶
func (mr *MockIgnitionMockRecorder) WriteIgnitionFile(path, config interface{}) *gomock.Call
WriteIgnitionFile indicates an expected call of WriteIgnitionFile.
Click to show internal directories.
Click to hide internal directories.