metal

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: MPL-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PopulateURLParameters added in v0.11.0

func PopulateURLParameters(ctx context.Context, downloadURL string, r state.State) (string, error)

PopulateURLParameters fills in empty parameters in the download URL.

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 added in v1.0.0

func (m *Metal) NetworkConfiguration(ctx context.Context, ch chan<- *runtime.PlatformNetworkConfig) error

NetworkConfiguration implements the runtime.Platform interface.

Jump to

Keyboard shortcuts

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