bridge

package
v5.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TransformerLabel        = "com.docker.compose.bridge"
	DefaultTransformerImage = "docker/compose-bridge-kubernetes"
)

Variables

This section is empty.

Functions

func Convert

func Convert(ctx context.Context, dockerCli command.Cli, project *types.Project, opts ConvertOptions) error

func CreateTransformer

func CreateTransformer(ctx context.Context, dockerCli command.Cli, options CreateTransformerOptions) error

func ListTransformers

func ListTransformers(ctx context.Context, dockerCli command.Cli) ([]image.Summary, error)

func LoadAdditionalResources

func LoadAdditionalResources(ctx context.Context, dockerCLI command.Cli, project *types.Project) (*types.Project, error)

LoadAdditionalResources loads additional resources from the project, such as image references, secrets, configs and exposed ports

Types

type Confirm added in v5.5.1

type Confirm func(message string, defaultValue bool) (bool, error)

Confirm asks the user to confirm a destructive action described by message, returning defaultValue when no explicit answer can be read.

type ConvertOptions

type ConvertOptions struct {
	Output          string
	Templates       string
	Transformations []string
	// Confirm is asked before deleting a non-empty output directory. If nil,
	// deletion is refused whenever the directory is not empty.
	Confirm Confirm
}

type CreateTransformerOptions

type CreateTransformerOptions struct {
	Dest string
	From string
}

Jump to

Keyboard shortcuts

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