Documentation ¶
Index ¶
- type Metal
- func (m *Metal) Configuration(ctx context.Context) ([]byte, error)
- func (m *Metal) ExternalIPs(context.Context) (addrs []net.IP, err error)
- func (m *Metal) Hostname(context.Context) (hostname []byte, err error)
- func (m *Metal) KernelArgs() procfs.Parameters
- func (m *Metal) Mode() runtime.Mode
- func (m *Metal) Name() string
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 ¶
Configuration implements the platform.Platform interface.
nolint: gocyclo
func (*Metal) ExternalIPs ¶
ExternalIPs implements the platform.Platform interface.
func (*Metal) KernelArgs ¶
func (m *Metal) KernelArgs() procfs.Parameters
KernelArgs implements the runtime.Platform interface.
Click to show internal directories.
Click to hide internal directories.