Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cleanup ¶
func Cleanup(tmpDir string, ps ParsedSource)
func FetchSkills ¶
func FetchSkills(ps ParsedSource) (string, []*skill.Skill, error)
func GetOwnerRepo ¶
func GetOwnerRepo(ps ParsedSource) string
Types ¶
type ParsedSource ¶
type ParsedSource struct {
Type SourceType
URL string
Ref string
Subpath string
SkillFilter string
LocalPath string
}
func Parse ¶
func Parse(input string) ParsedSource
type SourceType ¶
type SourceType string
const ( SourceGitHub SourceType = "github" SourceGitLab SourceType = "gitlab" SourceLocal SourceType = "local" SourceGit SourceType = "git" SourceWellKnown SourceType = "well-known" )
Click to show internal directories.
Click to hide internal directories.