github

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ErrComponentGenerateCode = "11095"
View Source
const ErrGetGHPackageCode = "11096"

Variables

This section is empty.

Functions

func ErrComponentGenerate

func ErrComponentGenerate(err error) error

func ErrGetGHPackage

func ErrGetGHPackage(err error) error

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

Jump to

Keyboard shortcuts

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