Documentation ¶
Index ¶
- Variables
- func CommandLogin(server string, username string, password string, passwordStdin bool) error
- func CommandReport(appName string, format string, infoFlag string) error
- func CommandSet(appName string, property string, value string) error
- func ReportSingleApp(appName string, format string, infoFlag string) error
- func TriggerDeployedAppImageRepo(appName string) error
- func TriggerDeployedAppImageTag(appName string) error
- func TriggerDeployedAppRepository(appName string) error
- func TriggerInstall() error
- func TriggerPostAppCloneSetup(oldAppName string, newAppName string) error
- func TriggerPostAppRenameSetup(oldAppName string, newAppName string) error
- func TriggerPostDelete(appName string) error
- func TriggerPostReleaseBuilder(appName string, image string) error
Constants ¶
This section is empty.
Variables ¶
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 ¶
CommandLogin logs a user into the specified server
func CommandReport ¶
CommandReport displays a registry report for one or more apps
func CommandSet ¶
CommandSet set or clear a registry property for an app
func ReportSingleApp ¶
ReportSingleApp is an internal function that displays the registry report for one or more apps
func TriggerDeployedAppImageRepo ¶
TriggerDeployedAppImageRepo outputs the associated image repo to stdout
func TriggerDeployedAppImageTag ¶
TriggerDeployedAppImageTag outputs the associated image tag to stdout
func TriggerDeployedAppRepository ¶
TriggerDeployedAppRepository outputs the associated registry repository to stdout
func TriggerInstall ¶
func TriggerInstall() error
TriggerInstall runs the install step for the registry plugin
func TriggerPostAppCloneSetup ¶
TriggerPostAppCloneSetup creates new registry files
func TriggerPostAppRenameSetup ¶
TriggerPostAppRenameSetup renames registry files
func TriggerPostDelete ¶
TriggerPostDelete destroys the registry property for a given app container
func TriggerPostReleaseBuilder ¶
TriggerPostReleaseBuilder pushes the image to the remote registry
Types ¶
This section is empty.