Documentation
¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: github.com/rancher-sandbox/cluster-api-provider-elemental/internal/agent/hostname (interfaces: Formatter)
Generated by this command:
mockgen -copyright_file=hack/boilerplate.go.txt -destination=internal/agent/hostname/hostname_mocks.go -package=hostname github.com/rancher-sandbox/cluster-api-provider-elemental/internal/agent/hostname Formatter
Package hostname is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Formatter ¶ added in v0.1.0
func NewFormatter ¶ added in v0.1.0
type MockFormatter ¶ added in v0.1.0
type MockFormatter struct {
// contains filtered or unexported fields
}
MockFormatter is a mock of Formatter interface.
func NewMockFormatter ¶ added in v0.1.0
func NewMockFormatter(ctrl *gomock.Controller) *MockFormatter
NewMockFormatter creates a new mock instance.
func (*MockFormatter) EXPECT ¶ added in v0.1.0
func (m *MockFormatter) EXPECT() *MockFormatterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFormatter) FormatHostname ¶ added in v0.1.0
func (m *MockFormatter) FormatHostname(arg0 v1beta1.Hostname) (string, error)
FormatHostname mocks base method.
type MockFormatterMockRecorder ¶ added in v0.1.0
type MockFormatterMockRecorder struct {
// contains filtered or unexported fields
}
MockFormatterMockRecorder is the mock recorder for MockFormatter.
func (*MockFormatterMockRecorder) FormatHostname ¶ added in v0.1.0
func (mr *MockFormatterMockRecorder) FormatHostname(arg0 any) *gomock.Call
FormatHostname indicates an expected call of FormatHostname.
Click to show internal directories.
Click to hide internal directories.