container

package
v1.6.6 Latest Latest
Warning

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

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

Documentation

Overview

Package container contains the Container implementation of the [platform.Platform].

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct{}

Container is a platform for installing Talos via an Container image.

func (*Container) Configuration

func (c *Container) Configuration(context.Context, state.State) ([]byte, error)

Configuration implements the platform.Platform interface.

func (*Container) KernelArgs

func (c *Container) KernelArgs() procfs.Parameters

KernelArgs implements the runtime.Platform interface.

func (*Container) Mode

func (c *Container) Mode() runtime.Mode

Mode implements the platform.Platform interface.

func (*Container) Name

func (c *Container) Name() string

Name implements the platform.Platform interface.

func (*Container) NetworkConfiguration

func (c *Container) NetworkConfiguration(ctx context.Context, _ state.State, 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