Versions in this module Expand all Collapse all v0 v0.0.2 May 14, 2024 Changes in this version type Build + Platforms string v0.0.1 May 11, 2024 Changes in this version + type Build struct + Args string + File string + ForceRecreate bool + Platform string + Push bool type Config + Build *Build + Image string type Context + Build *Build v0.0.0 May 4, 2024 Changes in this version + func ActivateContext(val string) error + func BoolFlag(args *[]string, flags ...string) bool + func CopyDockerCompose(cfg *Config) error + func Execute(config *Config, cmd string, args []string) (io.Reader, io.Reader, func(), func() error, error) + func StringFlag(args *[]string, flags ...string) string + type Command struct + Command []string + Description string + Handler func(*Config, []string) error + MaxArgs int + Subcommands []Command + func (c *Command) Help(v []string) string + func (c *Command) Is(v string) bool + type Config struct + Context string + Docker *Docker + Name string + SSH *SSH + func DockerCompose(cfg *Config) *Config + func LoadConfig() *Config + func (c *Config) Print() string + func (c *Config) Save() error + type Context struct + Active bool + ID string + Name string + SSH *SSH + func ActiveContext() *Context + func AllContexts() ([]*Context, error) + func FindContext(val string) (*Context, error) + func (c *Context) Delete() error + func (c *Context) Save() error + type Docker struct + Args []string + File string + ForceRecreate bool + Image string + Platforms []string + Push bool + type SSH struct + Host string + Passphrase string + Password string + Port int + PrivateKey string + SwarmMode bool + Username string + func (s *SSH) GetHost() string