hostid

package
v1.67.3 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	Provide() (string, error)
}

type ProviderEnv

type ProviderEnv struct{}

func NewProviderEnv

func NewProviderEnv() *ProviderEnv

func (*ProviderEnv) Provide

func (p *ProviderEnv) Provide() (string, error)

type ProviderMock

type ProviderMock struct {
	mock.Mock
}

func (*ProviderMock) Provide

func (m *ProviderMock) Provide() (string, error)

func (*ProviderMock) ShouldProvide

func (m *ProviderMock) ShouldProvide(hostID string)

func (*ProviderMock) ShouldReturnErr

func (m *ProviderMock) ShouldReturnErr(err error)

Jump to

Keyboard shortcuts

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