Documentation
¶
Overview ¶
package compose contains docker-compose related actions
Index ¶
- func ActionContainers(opts ContainerOpts) carapace.Action
- func ActionFiles(opts ServicePathOpts) carapace.Action
- func ActionServices(files ...string) carapace.Action
- func ActionUsers(opts ContainerUserOpts) carapace.Action
- func ActionVolumes(files ...string) carapace.Action
- type ContainerOpts
- type ContainerUserOpts
- type ServicePathOpts
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 ¶
ActionServices completes services
elvish (ghcr.io/rsteube/carapace:v0.12.4) fish (ghcr.io/rsteube/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 ¶
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 ServicePathOpts ¶
Click to show internal directories.
Click to hide internal directories.