container

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: MPL-2.0 Imports: 10 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(string) 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.

Directories

Path Synopsis
internal
files
Package files provides internal methods to container platform to read files.
Package files provides internal methods to container platform to read files.

Jump to

Keyboard shortcuts

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