Documentation ¶
Index ¶
- func BaseImage(img string) daggers.Option[config]
- func CustomizeContainer(customizers ...containers.ContainerCustomizerFn) daggers.Option[config]
- func Precommit(ctx context.Context) error
- func PrecommitWithOptions(ctx context.Context, opts ...daggers.Option[config]) error
- func Run(ctx context.Context, runtime *daggers.Runtime, opts ...daggers.Option[config]) (string, error)
- func WithEnv(envMap map[string]string) daggers.Option[config]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomizeContainer ¶
func CustomizeContainer(customizers ...containers.ContainerCustomizerFn) daggers.Option[config]
CustomizeContainer adds a customizer function to the precommit container.
func Precommit ¶
Precommit runs all the precommit checks. Run `mage help:precommit` for information on available options.
func PrecommitWithOptions ¶
PrecommitWithOptions runs all the precommit checks with Dagger options.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.