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 (
// 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{
"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{
"appjson-path": true,
}

View File

@@ -1,13 +1,13 @@
package apps
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{
"deploy-source": "",
"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{
"deploy-source": true,
"deploy-source-metadata": true,

View File

@@ -1,13 +1,13 @@
package builder
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{
"selected": "",
"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{
"selected": true,
"build-dir": true,

View File

@@ -14,12 +14,12 @@ import (
)
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{
"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{
"mailto": true,
}

View File

@@ -1,14 +1,14 @@
package registry
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{
"image-repo": "",
"push-on-release": "false",
"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{
"push-on-release": true,
"server": true,

View File

@@ -1,12 +1,12 @@
package scheduler
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{
"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{
"selected": true,
}