compose

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

package compose contains docker-compose related actions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActionContainers

func ActionContainers(opts ContainerOpts) carapace.Action

ActionContainers completes containers

carapace-bin-bash-1 (exited)
carapace-bin-elvish-1 (running)

func ActionFiles

func ActionFiles(opts ServicePathOpts) carapace.Action

ActionFiles completes files within a service container

/home
/etc

func ActionServices

func ActionServices(files ...string) carapace.Action

ActionServices completes services

elvish (ghcr.io/carapace-sh/carapace:v0.12.4)
fish (ghcr.io/carapace-sh/carapace:v0.12.4)

func ActionUsers

func ActionUsers(opts ContainerUserOpts) carapace.Action

ActionUsers completes users within a service container

root (0)
daemon (1)

func ActionVolumes

func ActionVolumes(files ...string) carapace.Action

ActionVolumes completes volumes

go (carapace-bin_go)
example (carapace-bin_example)

Types

type ContainerOpts

type ContainerOpts struct {
	Files      []string
	Paused     bool
	Restarting bool
	Removing   bool
	Running    bool
	Dead       bool
	Created    bool
	Exited     bool
}

func (*ContainerOpts) Default

func (o *ContainerOpts) Default()

type ContainerUserOpts

type ContainerUserOpts struct {
	Files   []string
	Service string
	Index   int
}

type ServicePathOpts

type ServicePathOpts struct {
	Files   []string
	Service string
	Index   int
}

Jump to

Keyboard shortcuts

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