Documentation ¶
Index ¶
Constants ¶
View Source
const ErrComponentGenerateCode = "11095"
View Source
const ErrGetGHPackageCode = "11096"
Variables ¶
This section is empty.
Functions ¶
func ErrComponentGenerate ¶
func ErrGetGHPackage ¶
Types ¶
type GithubReleasePackage ¶
type GithubReleasePackage struct { Owner string Repository string URL string Version string FileName string //If this is not passed, the default filename is assumed to be <Version>.tgz (which is usually the case) }
func (*GithubReleasePackage) GenerateComponents ¶
func (pkg *GithubReleasePackage) GenerateComponents() ([]v1alpha1.Component, error)
Implementing Package Interface which generates component
func (*GithubReleasePackage) GetPackage ¶
func (pkg *GithubReleasePackage) GetPackage() (models.Package, error)
Implementing Package manager interface which creates the package
Click to show internal directories.
Click to hide internal directories.