Documentation ¶
Index ¶
- func CreateDockerConnector(org, id string, args ...interface{}) *harness.Connector
- func CreateGithubConnector(org, id, username, token string) *harness.Connector
- func CreateGitlabConnector(org, id, username, token string) *harness.Connector
- func CreateSecret(org, project, identifier, desc, data string) *harness.Secret
- func CreateSecretOrg(org, identifier, data string) *harness.Secret
- func IsErrConflict(err error) bool
- type DockerConnectorOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDockerConnector ¶
CreateDockerConnector helper function to create a docker connector
func CreateGithubConnector ¶
CreateGithubConnector helper function to create a github connector
func CreateGitlabConnector ¶
CreateGitlabConnector helper function to create a GitHub connector
func CreateSecret ¶
func CreateSecretOrg ¶
CreateSecretOrg helper function to create an org secret.
func IsErrConflict ¶
IsErrConflict helper function return true if the error message indicate the resource already exists.
Types ¶
type DockerConnectorOptions ¶
Click to show internal directories.
Click to hide internal directories.