stages

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BuildImage = "golang:1.19.3-alpine3.16"
	AppDir     = "/go/src"
)

Functions

func ApplyGofmt

func ApplyGofmt(ctx context.Context, c *dagger.Client) error

func ApplyGofumpt

func ApplyGofumpt(ctx context.Context, c *dagger.Client) error

func Base

func Base(c *dagger.Client) *dagger.Container

func CrossBuild

func CrossBuild(ctx context.Context, c *dagger.Client, buildOpts types.CrossBuildOpts) error

func ExportGoMod

func ExportGoMod(ctx context.Context, c *dagger.Client) error

func GoDeps

func GoDeps(c *dagger.Client) *dagger.Container

func GoMod

func GoMod(c *dagger.Client) *dagger.Container

func GoVulnCheck

func GoVulnCheck(ctx context.Context, c *dagger.Client) error

func LocalBuild

func LocalBuild(ctx context.Context, c *dagger.Client, buildOpts types.LocalBuildOpts) error

func PrintGofmt

func PrintGofmt(ctx context.Context, c *dagger.Client) error

func PrintGofumpt

func PrintGofumpt(ctx context.Context, c *dagger.Client) error

func RunGoTests

func RunGoTests(ctx context.Context, c *dagger.Client) error

func Sources

func Sources(c *dagger.Client) *dagger.Container

Types

This section is empty.

Jump to

Keyboard shortcuts

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