package bridge

import "github.com/docker/compose/v2/pkg/bridge"

Index

Constants

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

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 ConvertOptions

type ConvertOptions struct {
	Output          string
	Templates       string
	Transformations []string
}

type CreateTransformerOptions

type CreateTransformerOptions struct {
	Dest string
	From string
}

Source Files

convert.go transformers.go

Version
v2.38.1 (latest)
Published
Jun 30, 2025
Platform
linux/amd64
Imports
21 packages
Last checked
6 days ago

Tools for package owners.