Documentation ¶
Overview ¶
Package metal contains the metal implementation of the [platform.Platform].
Index ¶
- type Metal
- func (m *Metal) Configuration(ctx context.Context, r state.State) ([]byte, error)
- func (m *Metal) KernelArgs() procfs.Parameters
- func (m *Metal) Mode() runtime.Mode
- func (m *Metal) Name() string
- func (m *Metal) NetworkConfiguration(ctx context.Context, st state.State, ch chan<- *runtime.PlatformNetworkConfig) error
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.
func (*Metal) KernelArgs ¶
func (m *Metal) KernelArgs() procfs.Parameters
KernelArgs implements the runtime.Platform interface.
func (*Metal) NetworkConfiguration ¶
func (m *Metal) NetworkConfiguration(ctx context.Context, st state.State, ch chan<- *runtime.PlatformNetworkConfig) error
NetworkConfiguration implements the runtime.Platform interface.
Click to show internal directories.
Click to hide internal directories.