Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DependancyType ¶
type DependancyType int
const ( GIT DependancyType = 0 URL DependancyType = 1 )
type Dependencies ¶
type Dependencies struct { GitDependencies []GitDependancy `mapstructure:"git"` UrlDependencies []UrlDependancy `mapstructure:"url"` }
type Dependency ¶
type GitDependancy ¶
type GitDependancy struct { Name string `yaml:"name"` Path string `yaml:"path"` VersionType GitVersion `yaml:"version_type"` Version string `yaml:"version"` }
func (*GitDependancy) Download ¶
func (g *GitDependancy) Download(folderPath string) (err error)
func (GitDependancy) ToReferenceName ¶
func (g GitDependancy) ToReferenceName() plumbing.ReferenceName
type GitVersion ¶
type GitVersion string
func (GitVersion) Set ¶
func (g GitVersion) Set(s string) error
func (GitVersion) String ¶
func (g GitVersion) String() string
func (GitVersion) Type ¶
func (g GitVersion) Type() string
type Manifest ¶
type Manifest struct { Name string `yaml:"name"` Version string `yaml:"version"` Dependencies Dependencies `mapstructure:"dependencies"` }
type UrlDependancy ¶
type UrlDependancy struct { Name string `yaml:"name"` Path string `yaml:"path"` Version string `yaml:"version"` }
func (*UrlDependancy) Download ¶
func (u *UrlDependancy) Download(folderPath string) (err error)
Click to show internal directories.
Click to hide internal directories.