templates

package
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2020 License: EPL-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL