Documentation
¶
Index ¶
Constants ¶
View Source
const ( // GITLABDOMAIN defines the default gitlab url GITLABDOMAIN string = "gitlab.com" )
Variables ¶
This section is empty.
Functions ¶
func EnsureValidURL ¶ added in v0.47.2
Types ¶
type Spec ¶
type Spec struct {
/*
"url" defines the Gitlab url to interact with
default:
url defaults to "gitlab.com"
*/
URL string `yaml:",omitempty" jsonschema:"required"`
/*
"username" defines the username used to authenticate with Gitlab
*/
Username string `yaml:",omitempty"`
/*
"token" defines the credential used to authenticate with Gitlab
*/
Token string `yaml:",omitempty"`
}
Spec defines a specification for a "Gitlab" resource parsed from an updatecli manifest file
Click to show internal directories.
Click to hide internal directories.