Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrGenerateGitHubPackageCode = "meshkit-11139" ErrInvalidGitHubSourceURLCode = "meshkit-11140" )
View Source
const (
GitHub = "github"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DownloaderScheme ¶
func NewDownloaderForScheme ¶
func NewDownloaderForScheme(scheme string, url *url.URL, packageName string) DownloaderScheme
type GitHubPackage ¶
type GitHubPackage struct { Name string `yaml:"name" json:"name"` SourceURL string `yaml:"source_url" json:"source_url"` // contains filtered or unexported fields }
func (GitHubPackage) GenerateComponents ¶
func (gp GitHubPackage) GenerateComponents() ([]_component.ComponentDefinition, error)
func (GitHubPackage) GetName ¶ added in v0.7.79
func (gp GitHubPackage) GetName() string
func (GitHubPackage) GetSourceURL ¶ added in v0.7.79
func (gp GitHubPackage) GetSourceURL() string
func (GitHubPackage) GetVersion ¶
func (gp GitHubPackage) GetVersion() string
type GitHubPackageManager ¶
func (GitHubPackageManager) GetPackage ¶
func (ghpm GitHubPackageManager) GetPackage() (models.Package, error)
Click to show internal directories.
Click to hide internal directories.