Versions in this module Expand all Collapse all v0 v0.5.0 Jul 21, 2026 Changes in this version + func Capture(opts Options) (*model.Invocation, error) + func ResolveComposeFiles(cwd string, files []string) []string + type EnvProvider interface + Environ func() []string + Getenv func(key string) string + Getwd func() (string, error) + type ExecGit struct + func (ExecGit) Commit(cwd string) (string, error) + func (ExecGit) Dirty(cwd string) (bool, error) + func (ExecGit) Root(cwd string) (string, error) + type ExecVersions struct + func (ExecVersions) ComposeVersion() (string, error) + func (ExecVersions) DockerContext() (string, error) + func (ExecVersions) DockerVersion() (string, error) + type GitProvider interface + Commit func(cwd string) (string, error) + Dirty func(cwd string) (bool, error) + Root func(cwd string) (string, error) + type OSEnv struct + func (OSEnv) Environ() []string + func (OSEnv) Getenv(key string) string + func (OSEnv) Getwd() (string, error) + type Options struct + Command []string + Env EnvProvider + Git GitProvider + IncludeEnvVals bool + Now time.Time + Versions VersionProvider + type VersionProvider interface + ComposeVersion func() (string, error) + DockerContext func() (string, error) + DockerVersion func() (string, error)