metal

package
v0.3.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2019 License: MPL-2.0 Imports: 9 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 (b *Metal) Configuration() ([]byte, error)

Configuration implements the platform.Platform interface.

func (*Metal) ExternalIPs

func (b *Metal) ExternalIPs() (addrs []net.IP, err error)

ExternalIPs provides any external addresses assigned to the instance

func (*Metal) Hostname

func (b *Metal) Hostname() (hostname []byte, err error)

Hostname implements the platform.Platform interface.

func (*Metal) Mode

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

Mode implements the platform.Platform interface.

func (*Metal) Name

func (b *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