containermanager

package
v0.0.0-...-0a271de Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: AGPL-3.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

View Source
const (
	NetworkingMethodProvider = NetworkingMethod("provider")
	NetworkingMethodLocal    = NetworkingMethod("local")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ImageMetadataURL         string
	ImageStream              string
	LXDSnapChannel           string
	MetadataDefaultsDisabled bool
	ModelID                  model.UUID
	NetworkingMethod         NetworkingMethod
}

Config stores the configuration for a container manager

type NetworkingMethod

type NetworkingMethod string

NetworkingMethod represents a networking method for a container. The options are:

  • provider: the container's networking is handled by the provider;
  • local: the container's networking is provided by the host machine.

func (NetworkingMethod) String

func (n NetworkingMethod) String() string

String returns the underlying string representation of a networking method.

Jump to

Keyboard shortcuts

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