metal

package
v0.8.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metal

type Metal struct{}

Metal is a discoverer for non-cloud environments.

func (*Metal) Configuration

func (m *Metal) Configuration(ctx context.Context) ([]byte, error)

Configuration implements the platform.Platform interface.

nolint: gocyclo

func (*Metal) ExternalIPs

func (m *Metal) ExternalIPs(context.Context) (addrs []net.IP, err error)

ExternalIPs implements the platform.Platform interface.

func (*Metal) Hostname

func (m *Metal) Hostname(context.Context) (hostname []byte, err error)

Hostname implements the platform.Platform interface.

func (*Metal) KernelArgs

func (m *Metal) KernelArgs() procfs.Parameters

KernelArgs implements the runtime.Platform interface.

func (*Metal) Mode

func (m *Metal) Mode() runtime.Mode

Mode implements the platform.Platform interface.

func (*Metal) Name

func (m *Metal) Name() string

Name implements the platform.Platform interface.

Jump to

Keyboard shortcuts

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