types

package
v0.0.36 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheFns added in v0.0.9

type CacheFns struct {
	CacheVolumeKey string
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL