Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateGitClient func(gitClientConfig GitClientConfig) (gitprovider.GitProviderClient, error) = createGitClient
Functions ¶
This section is empty.
Types ¶
type GitClientConfig ¶
type GitClientConfig struct { // PacSecretData are the content of Pipelines as Code secret PacSecretData map[string][]byte // GitProvider is type of the git provider to construct client for. // Cannot be obtained from repo repository URL in case of self-hosted solution. GitProvider string // RepoUrl is the target git repository URL. // Used to check that the requirements to access the repository are met, // for example, check that the application is installed into given git repository. // Ignored for some client configurations, e.g. clients created directly via a token. RepoUrl string // IsAppInstallationExpected shows whether to expect application installation into the target repository URL. // Ignored for clients created directly via a token. IsAppInstallationExpected bool }
Click to show internal directories.
Click to hide internal directories.