mage

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

README

Magefile Helpers

This directory contains supporting files that extend our magefile. This helps us separate the code and not have a mega-magefile.

Documentation

Index

Constants

View Source
const (
	ProductionRegistry = "ghcr.io/getporter"
	TestRegistry       = "localhost:5000"
)

Variables

View Source
var (
	Env = getAmbientEnvironment()
)

Functions

func UseProductionEnvironment

func UseProductionEnvironment()

func UseTestEnvironment

func UseTestEnvironment()

Types

type Environment

type Environment struct {
	Name               string
	Registry           string
	ManagerImagePrefix string
	BundlePrefix       string
}

func GetProductionEnvironment

func GetProductionEnvironment() Environment

func GetTestEnvironment

func GetTestEnvironment() Environment

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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