hostname

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package hostname provides mock implementations for HostnameProvider testing.

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 MockHostnameProvider

type MockHostnameProvider struct {
	// contains filtered or unexported fields
}

MockHostnameProvider is a mock of HostnameProvider interface.

func NewMockHostnameProvider

func NewMockHostnameProvider(ctrl *gomock.Controller) *MockHostnameProvider

NewMockHostnameProvider creates a new mock instance.

func (*MockHostnameProvider) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockHostnameProvider) Hostname

func (m *MockHostnameProvider) Hostname() (string, error)

Hostname mocks base method.

type MockHostnameProviderMockRecorder

type MockHostnameProviderMockRecorder struct {
	// contains filtered or unexported fields
}

MockHostnameProviderMockRecorder is the mock recorder for MockHostnameProvider.

func (*MockHostnameProviderMockRecorder) Hostname

Hostname indicates an expected call of Hostname.

Jump to

Keyboard shortcuts

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