mage

package
v0.0.0-...-36f19eb Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AWSRegion                       = "us-west-2"
	OpenEdgePlatformRegistryRepoURL = func() string {
		if r := os.Getenv("DOCKER_REGISTRY"); r != "" {
			return r
		}
		return "080137407410.dkr.ecr.us-west-2.amazonaws.com"
	}()
	OpenEdgePlatformRepository = func() string {
		if r := os.Getenv("DOCKER_REPOSITORY"); r != "" {
			return r
		}
		return "edge-orch"
	}()
	RegistryRepoSubProj               = "common"
	OpenEdgePlatformContainerRegistry = OpenEdgePlatformRegistryRepoURL + "/" +
		OpenEdgePlatformRepository + "/" +
		RegistryRepoSubProj
	OpenEdgePlatformChartRegistry = OpenEdgePlatformRegistryRepoURL + "/" +
		OpenEdgePlatformRepository + "/" +
		RegistryRepoSubProj + "/charts"
	ECRPublicChartRegistry = OpenEdgePlatformChartRegistry
)
View Source
var PublicCharts = []string{"aws-sm-get-rs-token", "aws-sm-proxy", "oci-secret", "secret-wait", "token-refresh"}
View Source
var PublicContainers = []string{"aws-sm-proxy"}

Functions

func AsdfPlugins

func AsdfPlugins() error

Install ASDF plugins.

func ChartsBuild

func ChartsBuild() error

ChartsBuild package all helm charts in the charts directory.

func ListContainers

func ListContainers() error

Builds the OpenAPI-Generator container image.

func ListTaggedContainers

func ListTaggedContainers() error

Types

type Build

type Build mg.Namespace

func (Build) AuthService

func (Build) AuthService() error

Builds the authService container image.

func (Build) AwsSmProxy

func (Build) AwsSmProxy() error

Builds the aws-sm-proxy container image.

func (Build) CertSynchronizer

func (Build) CertSynchronizer() error

Builds the CertSynchronizer container image.

func (Build) ComponentStatus

func (Build) ComponentStatus() error

Builds the ComponentStatus container image.

func (Build) KeycloakTenantController

func (Build) KeycloakTenantController() error

Builds the Keycloak Tenant Controller container image.

func (Build) NexusAPIGateway

func (Build) NexusAPIGateway() error

Builds the Nexus API Gateway container image.

func (Build) NexusCompiler

func (Build) NexusCompiler() error

Builds the Nexus compiler builder container image.

func (Build) OpenAPIGenerator

func (Build) OpenAPIGenerator() error

Builds the OpenAPI-Generator container image.

func (Build) SecretsConfig

func (Build) SecretsConfig() error

Builds the secrets-config container image.

func (Build) SquidProxy

func (Build) SquidProxy() error

Builds the SquidProxy container image.

func (Build) TenancyAPIMapping

func (Build) TenancyAPIMapping() error

Builds the Tenancy API Mapping container image.

func (Build) TenancyDatamodel

func (Build) TenancyDatamodel() error

Builds the Tenancy Datamodel container image.

func (Build) TenancyInit

func (Build) TenancyInit() error

Builds the Tenancy API Mapping container image.

func (Build) TenancyManager

func (Build) TenancyManager() error

Builds the Tenancy Manager container image.

func (Build) TokenFS

func (Build) TokenFS() error

Builds the token-fs container image.

type Clean

type Clean mg.Namespace

Namespace contains clean targets.

type Gen

type Gen mg.Namespace

func (Gen) TraefikPlugins

func (g Gen) TraefikPlugins() error

Re-generate traefik plugin config maps with source code of the middleware.

type Lint

type Lint mg.Namespace

func (Lint) All

func (l Lint) All() error

Lint everything.

func (Lint) Dockerfiles

func (l Lint) Dockerfiles() error

Lint golang files.

func (Lint) Golang

func (l Lint) Golang() error

Lint golang files.

func (Lint) Helm

func (l Lint) Helm() error

Lint helm templates.

func (Lint) Yaml

func (l Lint) Yaml() error

Lint helm templates.

type Push

type Push mg.Namespace

func (Push) AuthService

func (Push) AuthService() error

Push the auth-service container image to the registry.

func (Push) AwsSmProxy

func (Push) AwsSmProxy() error

Push the aws-sm-proxy container image to the registry.

func (Push) CertSynchronizer

func (Push) CertSynchronizer() error

Push the cert-synchronizer container image to the registry.

func (Push) Charts

func (Push) Charts() error

Push helm charts to the AMR registry.

func (Push) ComponentStatus

func (Push) ComponentStatus() error

Push the component-status container image to the registry.

func (Push) KeycloakTenantController

func (Push) KeycloakTenantController() error

Push the Keycloak Tenant Controller container image to the registry.

func (Push) NexusAPIGateway

func (Push) NexusAPIGateway() error

Push the Nexus API Gateway container image to the registry.

func (Push) NexusCompiler

func (Push) NexusCompiler() error

Push the Nexus compiler container image to the registry.

func (Push) OpenAPIGenerator

func (Push) OpenAPIGenerator() error

Push the openapi-generator container image to the registry.

func (Push) PublicAwsSmProxy

func (Push) PublicAwsSmProxy() error

Push the aws-sm-proxy container image to the ECR public registry.

func (Push) PublicCharts

func (Push) PublicCharts() error

Push helm charts to the AMR registry.

func (Push) SecretsConfig

func (Push) SecretsConfig() error

Push the secrets-config container image to the registry.

func (Push) SquidProxy

func (Push) SquidProxy() error

Push the squid-proxy container image to the registry.

func (Push) TenancyAPIMapping

func (Push) TenancyAPIMapping() error

Push the Tenancy API Mapping container image to the registry.

func (Push) TenancyDatamodel

func (Push) TenancyDatamodel() error

Push the Tenancy Datamodel container image to the registry.

func (Push) TenancyInit

func (Push) TenancyInit() error

Push the Tenancy API Mapping container image to the registry.

func (Push) TenancyManager

func (Push) TenancyManager() error

Push the Tenancy Manager container image to the registry.

func (Push) TokenFs

func (Push) TokenFs() error

Push the aws-sm-proxy container image to the registry.

Jump to

Keyboard shortcuts

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