Documentation ¶
Overview ¶
Package daggers provides a set of utilities to make it easier to work with dagger.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitConfig ¶
InitConfig initialize new config using env variables and given options.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger is a simple interface wrapper around the standard io.Writer interface.
type Option ¶
type Option[T any] func(T) T
Option represents an option that can be applied to a config.
func WithVerbose ¶
WithVerbose sets the verbose option for the runtime config.
func WithWorkdirFn ¶
WithWorkdirFn sets the workdir function for getting workdir information.
func WithWorkdirFromHostPath ¶
func WithWorkdirFromHostPath(workdir string, opts ...dagger.HostDirectoryOpts) Option[runtimeConfig]
WithWorkdirFromHostPath sets the workdir option from host path for the runtime config.
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
Runtime defines the runtime for a dagger.
func NewRuntime ¶
NewRuntime returns a new runtime with given options.
Directories ¶
Path | Synopsis |
---|---|
Package containers provides a set of utilities to create and run containers.
|
Package containers provides a set of utilities to create and run containers. |
Click to show internal directories.
Click to hide internal directories.