Cleanup godocs of build types
Fix typo, add final stop, same godocs across API versions.
@@ -107,20 +107,20 @@ const (
BuildPhaseCancelled BuildPhase = "Cancelled"
)
-// BuildSourceType is the type of SCM used
+// BuildSourceType is the type of SCM used.
type BuildSourceType string
// Valid values for BuildSourceType.
const (
- //BuildSourceGit is a Git SCM
+ // BuildSourceGit is a Git SCM.
BuildSourceGit BuildSourceType = "Git"
- // bulidSourceDockerfile is an embedded dockerfile
+ // BuildSourceDockerfile is an embedded Dockerfile.
BuildSourceDockerfile BuildSourceType = "Dockerfile"
)
-// BuildSource is the SCM used for the build
+// BuildSource is the SCM used for the build.
type BuildSource struct {
- // Type of source control management system
+ // Type of build input system.
Type BuildSourceType `json:"type" description:"type of source control management system"`
// Dockerfile is the raw contents of a Dockerfile which should be built. When this option is
