Documentation
¶
Index ¶
Constants ¶
View Source
const ( GIT_WORKING_DIR = "/tmp/gitops/" GetRepoUrlStage = "Get Repo RedirectionUrl" CreateRepoStage = "Create Repo" CloneHttpStage = "Clone Http" CreateReadmeStage = "Create Readme" CloneSshStage = "Clone Ssh" GITLAB_PROVIDER = "GITLAB" GITHUB_PROVIDER = "GITHUB" AZURE_DEVOPS_PROVIDER = "AZURE_DEVOPS" BITBUCKET_PROVIDER = "BITBUCKET_CLOUD" GITHUB_API_V3 = "api/v3" GITHUB_HOST = "github.com" GIT_TLS_DIR = "/tmp/gitops/tls" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitConfig ¶
type GitConfig struct { GitlabGroupId string //local GitlabGroupPath string //local GitToken string //not null // public GitUserName string //not null // public GithubOrganization string GitProvider string // SUPPORTED VALUES GITHUB, GITLAB GitHost string AzureToken string AzureProject string BitbucketWorkspaceId string BitbucketProjectKey string IsActiveConfig bool //flag to check if the gitOps config is active EnableTLSVerification bool CaCert string TLSCert string TLSKey string }
func (GitConfig) GetTLSConfig ¶ added in v0.7.2
Click to show internal directories.
Click to hide internal directories.