builder

package
v0.0.0-...-9fbf68d Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDockerContainer

func NewDockerContainer(c *dagger.Container) *dagger.Container

func NewMain

func NewMain()

func NewUbuntuBuilder

func NewUbuntuBuilder(client *dagger.Client, source *dagger.Directory) *dagger.Container

func WithDinD

func WithDinD(client *dagger.Client) *dagger.Service

Types

type BaseBuilder

type BaseBuilder struct {
	*dagger.Client
	*dagger.Directory
}

func (*BaseBuilder) New

func (b *BaseBuilder) New(opts BuilderOptions) error

type BuilderOptions

type BuilderOptions struct {
	// contains filtered or unexported fields
}

func (*BuilderOptions) FromUbuntuJammy

func (opts *BuilderOptions) FromUbuntuJammy() *BuilderOptions

FromUbuntuJammy defines FROM directive as the Base OS source to use Ubuntu Jammy (22.04)

func (*BuilderOptions) WithGolang

func (opts *BuilderOptions) WithGolang() *BuilderOptions

func (*BuilderOptions) WithTarget

func (opts *BuilderOptions) WithTarget(targetName string) *BuilderOptions

Jump to

Keyboard shortcuts

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