metal

package
v1.7.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MPL-2.0 Imports: 26 Imported by: 0

Documentation

Overview

Package metal contains the metal implementation of the [platform.Platform].

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, r state.State) ([]byte, error)

Configuration 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.

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.

Jump to

Keyboard shortcuts

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