Merge pull request #6385 from dokku/docblock-fix

Fix docblock entries for properties in plugins
This commit is contained in:
Jose Diaz-Gonzalez
2023-12-19 00:34:54 -05:00
committed by GitHub
6 changed files with 12 additions and 12 deletions

View File

@@ -5,12 +5,12 @@ import (
) )
var ( var (
// DefaultProperties is a map of all valid network properties with corresponding default property values // DefaultProperties is a map of all valid app-json properties with corresponding default property values
DefaultProperties = map[string]string{ DefaultProperties = map[string]string{
"appjson-path": "", "appjson-path": "",
} }
// GlobalProperties is a map of all valid global network properties // GlobalProperties is a map of all valid global app-json properties
GlobalProperties = map[string]bool{ GlobalProperties = map[string]bool{
"appjson-path": true, "appjson-path": true,
} }

View File

@@ -1,13 +1,13 @@
package apps package apps
var ( var (
// DefaultProperties is a map of all valid network properties with corresponding default property values // DefaultProperties is a map of all valid apps properties with corresponding default property values
DefaultProperties = map[string]string{ DefaultProperties = map[string]string{
"deploy-source": "", "deploy-source": "",
"deploy-source-metadata": "", "deploy-source-metadata": "",
} }
// GlobalProperties is a map of all valid global network properties // GlobalProperties is a map of all valid global apps properties
GlobalProperties = map[string]bool{ GlobalProperties = map[string]bool{
"deploy-source": true, "deploy-source": true,
"deploy-source-metadata": true, "deploy-source-metadata": true,

View File

@@ -1,13 +1,13 @@
package builder package builder
var ( var (
// DefaultProperties is a map of all valid network properties with corresponding default property values // DefaultProperties is a map of all valid builder properties with corresponding default property values
DefaultProperties = map[string]string{ DefaultProperties = map[string]string{
"selected": "", "selected": "",
"build-dir": "", "build-dir": "",
} }
// GlobalProperties is a map of all valid global network properties // GlobalProperties is a map of all valid global builder properties
GlobalProperties = map[string]bool{ GlobalProperties = map[string]bool{
"selected": true, "selected": true,
"build-dir": true, "build-dir": true,

View File

@@ -14,12 +14,12 @@ import (
) )
var ( var (
// DefaultProperties is a map of all valid network properties with corresponding default property values // DefaultProperties is a map of all valid cron properties with corresponding default property values
DefaultProperties = map[string]string{ DefaultProperties = map[string]string{
"mailto": "", "mailto": "",
} }
// GlobalProperties is a map of all valid global network properties // GlobalProperties is a map of all valid global cron properties
GlobalProperties = map[string]bool{ GlobalProperties = map[string]bool{
"mailto": true, "mailto": true,
} }

View File

@@ -1,14 +1,14 @@
package registry package registry
var ( var (
// DefaultProperties is a map of all valid network properties with corresponding default property values // DefaultProperties is a map of all valid registry properties with corresponding default property values
DefaultProperties = map[string]string{ DefaultProperties = map[string]string{
"image-repo": "", "image-repo": "",
"push-on-release": "false", "push-on-release": "false",
"server": "", "server": "",
} }
// GlobalProperties is a map of all valid global network properties // GlobalProperties is a map of all valid global registry properties
GlobalProperties = map[string]bool{ GlobalProperties = map[string]bool{
"push-on-release": true, "push-on-release": true,
"server": true, "server": true,

View File

@@ -1,12 +1,12 @@
package scheduler package scheduler
var ( var (
// DefaultProperties is a map of all valid network properties with corresponding default property values // DefaultProperties is a map of all valid scheduler properties with corresponding default property values
DefaultProperties = map[string]string{ DefaultProperties = map[string]string{
"selected": "docker-local", "selected": "docker-local",
} }
// GlobalProperties is a map of all valid global network properties // GlobalProperties is a map of all valid global scheduler properties
GlobalProperties = map[string]bool{ GlobalProperties = map[string]bool{
"selected": true, "selected": true,
} }