Documentation ¶
Index ¶
Constants ¶
View Source
const GitHubPrefix = "https://github.com/"
View Source
const LocalPathPrefix = "file://"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHub ¶
type GitHub struct {
// contains filtered or unexported fields
}
func (*GitHub) DownloadContent ¶
func (*GitHub) WorkingDir ¶
type LocalPath ¶
type LocalPath struct {
// contains filtered or unexported fields
}
func NewLocalPath ¶
func (*LocalPath) DownloadContent ¶
func (*LocalPath) WorkingDir ¶
type RemoteContentProvider ¶
type RemoteContentProvider interface { // DownloadContent Download the remote content to a local working directory DownloadContent() error // Cleanup Perform the cleanup task for the provider Cleanup() error // WorkingDir Get the local working directory WorkingDir() string // RemoteURI Get the remote URI RemoteURI() string }
func ByURI ¶
func ByURI(uri string) (RemoteContentProvider, error)
Click to show internal directories.
Click to hide internal directories.