Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerCommand ¶
type ContainerCommand struct {
// CMD is the command to run in the container.
CMD DaggerCMD
// EnableFocus is a boolean to enable focus.
EnableFocus bool
// ContainerCMDOptions is a wrapper on top of the Dagger ContainerWithExecOpts
ContainerCMDOptions dagger.ContainerWithExecOpts
}
ContainerCommand is a type for a container command. It contains a DaggerCMD and a boolean to enable focus. If the focus is enabled, the command will add the WithFocus() method to the container's command.
type DaggerCMD ¶
type DaggerCMD []string
DaggerCMD is a type for an expected Dagger command. The expected command format in Dagger is a slice of strings.
type DaggerEnvVars ¶
type DaggerEnvVars struct {
// Name is the name of the environment variable
Name string
// Value is the value of the environment variable
Value string
// Expand is a boolean that determines whether to expand the value of the environment variable
Expand bool
}
DaggerEnvVars represents the environment variables for a Dagger task
Click to show internal directories.
Click to hide internal directories.