hostname

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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

type Formatter interface {
	FormatHostname(v1beta1.Hostname) (string, error)
}

func NewFormatter added in v0.1.0

func NewFormatter(osPlugin osplugin.Plugin) Formatter

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL