Documentation ¶
Index ¶
Constants ¶
View Source
const ( Source = "git-tar" GitLab = "gitlab" GitHub = "github" )
Source of this event for auditing
View Source
const ConfigFileName = "com.openfaas.docker.config"
ConfigFileName for Docker bundle
Variables ¶
This section is empty.
Functions ¶
func GitHubCloneURL ¶
GitHubCloneURL builds a URL from an sdk.PushEvent on how to clone a GitHub repository
func GitLabCloneURL ¶
GitLabCloneURL builds a URL from an sdk.PushEvent on how to clone a GitLab repository
Types ¶
type GarbageRequest ¶
type GitRepoFetcher ¶
type GitRepoFetcher struct { }
func (GitRepoFetcher) Checkout ¶
func (c GitRepoFetcher) Checkout(commitID, path string) error
func (GitRepoFetcher) Clone ¶
func (c GitRepoFetcher) Clone(url, path string) error
Click to show internal directories.
Click to hide internal directories.