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.
Directories ¶
Path | Synopsis |
---|---|
Package oauth2 implements OAuth2 Device Flow to authenticate machine config download.
|
Package oauth2 implements OAuth2 Device Flow to authenticate machine config download. |
Package url handles expansion of the download URL for the config.
|
Package url handles expansion of the download URL for the config. |
Click to show internal directories.
Click to hide internal directories.