Documentation
¶
Index ¶
- func GitClone(url string, target string) error
- func IsRoot(filepath string) bool
- func Max(a, b int) int
- func Min(a, b int) int
- func ReadJson(filepath string, v interface{}) error
- func RenderString(templateString string, funcMap template.FuncMap) (string, error)
- func ResolvePath(filepath string) (string, error)
- type GitClient
- type RestClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderString ¶
func ResolvePath ¶
Types ¶
type GitClient ¶
type GitClient struct {
// contains filtered or unexported fields
}
func NewGitClient ¶
func (*GitClient) GetCurrentVersion ¶
getCurrentVersion determines the current version for non-local git extensions.
func (*GitClient) GetLatestVersion ¶
type RestClient ¶
type RestClient struct {
// contains filtered or unexported fields
}
func NewGHClient ¶
func NewGHClient(host string) RestClient
func (RestClient) DoWithContext ¶
func (RestClient) Get ¶
func (c RestClient) Get(path string, resp interface{}) error
Click to show internal directories.
Click to hide internal directories.