Documentation ¶
Index ¶
- Constants
- type GPGAsset
- type ISource
- type Options
- type Provider
- func (p *Provider) Cleanup() error
- func (p *Provider) CommonRun(ctx context.Context) error
- func (p *Provider) Discover(names []string, version string) error
- func (p *Provider) Download(ctx context.Context) error
- func (p *Provider) Extract() error
- func (p *Provider) GetArch() string
- func (p *Provider) GetOS() string
- func (p *Provider) GetVersion() string
- func (p *Provider) Install() error
- func (p *Provider) Verify() error
Constants ¶
View Source
const ( VersionLatest = "latest" ChecksumType = "checksum" SignatureTypeNone = "none" SignatureTypeFile = "file" SignatureTypeChecksum = "checksum" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct { Options *Options OSConfig *osconfig.OS Assets []asset.IAsset Binary asset.IAsset Signature asset.IAsset Checksum asset.IAsset Key asset.IAsset ChecksumType string SignatureType string }
func (*Provider) CommonRun ¶
CommonRun - common run logic for all sources that includes download, extract, install and cleanup
func (*Provider) GetVersion ¶
Click to show internal directories.
Click to hide internal directories.