Documentation ¶
Index ¶
- type Command
- type Config
- func (o *Config) GetCacheBusterEnvVar() EnvVar
- func (o *Config) GetDir(dirPathAbs string, client *dagger.Client) *dagger.Directory
- func (o *Config) GetEnvVars() map[string]string
- func (o *Config) GetGitSSHEnvVar() EnvVar
- func (o *Config) GetImageConfig() Image
- func (o *Config) GetMountDir(client *dagger.Client) *dagger.Directory
- func (o *Config) GetMountDirPath() string
- func (o *Config) GetMountPathPrefix() string
- func (o *Config) GetSSHAuthSockEnvVar() EnvVar
- func (o *Config) GetWorkdir() string
- func (o *Config) IsCacheInvalidated() bool
- func (o *Config) IsKeepEntryPoint() bool
- func (o *Config) IsPrivateGitSupportEnabled() bool
- type Container
- type EnvVar
- type Image
- type ImageConfig
- func (o *ImageConfig) GetImageDefaultTerraform() string
- func (o *ImageConfig) GetImageDefaultTerragrunt() string
- func (o *ImageConfig) GetImageTerraform() string
- func (o *ImageConfig) GetImageTerragrunt() string
- func (o *ImageConfig) GetTerraformContainerImage() string
- func (o *ImageConfig) GetTerragruntContainerImage() string
- func (o *ImageConfig) GetVersion() string
- func (o *ImageConfig) GetVersionDefault() string
- type Runtime
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Workdir string MountPathAbs string EnvVars map[string]string AddPrivateGitSupport bool ContainerImage Image MountPathPrefix string KeepEntryPoint bool InvalidateCache bool }
func (*Config) GetCacheBusterEnvVar ¶
func (*Config) GetEnvVars ¶
func (*Config) GetGitSSHEnvVar ¶
func (*Config) GetImageConfig ¶
func (*Config) GetMountDirPath ¶
func (*Config) GetMountPathPrefix ¶
func (*Config) GetSSHAuthSockEnvVar ¶
func (*Config) GetWorkdir ¶
func (*Config) IsCacheInvalidated ¶
func (*Config) IsKeepEntryPoint ¶
func (*Config) IsPrivateGitSupportEnabled ¶
type Container ¶
type Container interface { GetMountDirPath() string GetMountDir(client *dagger.Client) *dagger.Directory GetDir(dirPathAbs string, client *dagger.Client) *dagger.Directory GetMountPathPrefix() string GetImageConfig() Image GetWorkdir() string IsKeepEntryPoint() bool GetEnvVars() map[string]string IsCacheInvalidated() bool IsPrivateGitSupportEnabled() bool GetCacheBusterEnvVar() EnvVar GetGitSSHEnvVar() EnvVar GetSSHAuthSockEnvVar() EnvVar }
type Image ¶
type Image interface { GetImageTerraform() string GetImageTerragrunt() string GetImageDefaultTerraform() string GetImageDefaultTerragrunt() string GetVersion() string GetVersionDefault() string GetTerraformContainerImage() string GetTerragruntContainerImage() string }
func NewImageConfig ¶
type ImageConfig ¶
type ImageConfig struct {
// contains filtered or unexported fields
}
func (*ImageConfig) GetImageDefaultTerraform ¶
func (o *ImageConfig) GetImageDefaultTerraform() string
func (*ImageConfig) GetImageDefaultTerragrunt ¶
func (o *ImageConfig) GetImageDefaultTerragrunt() string
func (*ImageConfig) GetImageTerraform ¶
func (o *ImageConfig) GetImageTerraform() string
func (*ImageConfig) GetImageTerragrunt ¶
func (o *ImageConfig) GetImageTerragrunt() string
func (*ImageConfig) GetTerraformContainerImage ¶
func (o *ImageConfig) GetTerraformContainerImage() string
func (*ImageConfig) GetTerragruntContainerImage ¶
func (o *ImageConfig) GetTerragruntContainerImage() string
func (*ImageConfig) GetVersion ¶
func (o *ImageConfig) GetVersion() string
func (*ImageConfig) GetVersionDefault ¶
func (o *ImageConfig) GetVersionDefault() string
type Runtime ¶
type Runtime interface { CreateContainer() *dagger.Container OverrideWorkdir(workdir string, container *dagger.Container) *dagger.Container AddCommands(commands []Command, container *dagger.Container) *dagger.Container RunAndGetStdout(container *dagger.Container) (string, error) ForwardUnixSockets(container *dagger.Container) *dagger.Container AddEnvVars(envVars map[string]string, container *dagger.Container) *dagger.Container }
Click to show internal directories.
Click to hide internal directories.