Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTemplateRepo ¶
func AddTemplateRepo(conID, URL, description, name string, gitCredentials *utils.GitCredentials) ([]utils.TemplateRepo, error)
AddTemplateRepo adds the provided template repo to PFE and stores provided gitCredentials to the keyring
func DeleteTemplateRepo ¶
func DeleteTemplateRepo(conID, URL string) ([]utils.TemplateRepo, error)
DeleteTemplateRepo deletes a template repo from PFE and deletes any matching credentials from the keyring and returns the new list of existing repos
func GetGitCredentialsFromKeychain ¶
func GetGitCredentialsFromKeychain(conID, templateURL string) (*utils.GitCredentials, error)
GetGitCredentialsFromKeychain gets GitHub credentials for a template from the keychain
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.