mage

package module
v0.0.0-...-0e442fa Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BeskarBinary       = "beskar"
	BeskarctlBinary    = "beskarctl"
	BeskarYUMBinary    = "beskar-yum"
	BeskarStaticBinary = "beskar-static"
	BeskarOSTreeBinary = "beskar-ostree"
	BeskarMirrorBinary = "beskar-mirror"
)
View Source
const (
	GoImage           = "golang:1.21.5-alpine3.19"
	GolangCILintImage = "golangci/golangci-lint:v1.54.2-alpine"
	HelmImage         = "alpine/helm:3.12.2"
	ProtolintImage    = "yoheimuta/protolint:0.45.0"
	BaseImage         = "alpine:3.19"

	ProtocVersion    = "v23.4"
	ProtocFileFormat = "protoc-23.4-linux-%s.zip"

	ProtocGenGoVersion     = "v1.31.0"
	ProtocGenGoGrpcVersion = "v1.1.0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Build

type Build mg.Namespace

func (Build) All

func (b Build) All(ctx context.Context) error

All builds all targets locally.

func (Build) Beskar

func (b Build) Beskar(ctx context.Context) error

func (Build) Beskarctl

func (b Build) Beskarctl(ctx context.Context) error

func (Build) Plugin

func (b Build) Plugin(ctx context.Context, name string) error

func (Build) Plugins

func (b Build) Plugins(ctx context.Context)

func (Build) Proto

func (b Build) Proto(ctx context.Context) error

type CI

type CI mg.Namespace

func (CI) Chart

func (ci CI) Chart(ctx context.Context, repository, username, password string) error

func (CI) Image

func (ci CI) Image(ctx context.Context, repository, username, password string) error

type Gomod

type Gomod mg.Namespace

func (Gomod) Tidy

func (gm Gomod) Tidy(ctx context.Context)

type Lint

type Lint mg.Namespace

func (Lint) All

func (Lint) All(ctx context.Context)

func (Lint) Go

func (Lint) Go(ctx context.Context) error

func (Lint) Helm

func (Lint) Helm(ctx context.Context) error

func (Lint) Proto

func (Lint) Proto(ctx context.Context) error

type Test

type Test mg.Namespace

func (Test) Integration

func (Test) Integration(ctx context.Context) error

func (Test) Unit

func (Test) Unit(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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