gitsource

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloneFile

func CloneFile(url, filepath, branch string, modauth auth.Auth) (billy.File, string, error)

CloneFile retrives a specific file from a Git repository

func GetModuleMeta

func GetModuleMeta(url string, modauth auth.Auth) (string, *forgeapi.ModuleMetadata)

GetModuleMeta parses a module's git repo for the metadata.json file, unmarshalls it into a forgeapi.ModuleMetadata struct, and returns the struct

func ResolveDeps

func ResolveDeps(meta *forgeapi.ModuleMetadata, puppetfile *ast.Puppetfile) bool

ResolveDeps resolves Git module dependencies

Types

This section is empty.

Jump to

Keyboard shortcuts

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