registry

package module
v0.0.0-...-176584a Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultProperties is a map of all valid registry properties with corresponding default property values
	DefaultProperties = map[string]string{
		"image-repo":      "",
		"push-on-release": "false",
		"server":          "",
		"push-extra-tags": "",
	}

	// GlobalProperties is a map of all valid global registry properties
	GlobalProperties = map[string]bool{
		"image-repo-template": true,
		"push-on-release":     true,
		"server":              true,
		"push-extra-tags":     true,
	}
)

Functions

func CommandLogin

func CommandLogin(server string, username string, password string, passwordStdin bool) error

CommandLogin logs a user into the specified server

func CommandReport

func CommandReport(appName string, format string, infoFlag string) error

CommandReport displays a registry report for one or more apps

func CommandSet

func CommandSet(appName string, property string, value string) error

CommandSet set or clear a registry property for an app

func ReportSingleApp

func ReportSingleApp(appName string, format string, infoFlag string) error

ReportSingleApp is an internal function that displays the registry report for one or more apps

func TriggerDeployedAppImageRepo

func TriggerDeployedAppImageRepo(appName string) error

TriggerDeployedAppImageRepo outputs the associated image repo to stdout

func TriggerDeployedAppImageTag

func TriggerDeployedAppImageTag(appName string) error

TriggerDeployedAppImageTag outputs the associated image tag to stdout

func TriggerDeployedAppRepository

func TriggerDeployedAppRepository(appName string) error

TriggerDeployedAppRepository outputs the associated registry repository to stdout

func TriggerInstall

func TriggerInstall() error

TriggerInstall runs the install step for the registry plugin

func TriggerPostAppCloneSetup

func TriggerPostAppCloneSetup(oldAppName string, newAppName string) error

TriggerPostAppCloneSetup creates new registry files

func TriggerPostAppRenameSetup

func TriggerPostAppRenameSetup(oldAppName string, newAppName string) error

TriggerPostAppRenameSetup renames registry files

func TriggerPostDelete

func TriggerPostDelete(appName string) error

TriggerPostDelete destroys the registry property for a given app container

func TriggerPostReleaseBuilder

func TriggerPostReleaseBuilder(appName string, image string) error

TriggerPostReleaseBuilder pushes the image to the remote registry

Types

This section is empty.

Directories

Path Synopsis
src

Jump to

Keyboard shortcuts

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