Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Editor ¶ added in v1.0.5
type Editor interface { WithVersion(version string) Editor WithDesc(desc string) Editor Standalone(bool) Editor Hide(bool) Editor Yank(bool) Editor Sign(key *v1manifest.KeyInfo, m *v1manifest.Component) error }
Editor defines the methods to modify a component attrs
type Transporter ¶
type Transporter interface { WithOS(os string) Transporter WithArch(arch string) Transporter WithDesc(desc string) Transporter Standalone() Transporter Hide() Transporter Open(tarball string) error Close() error Upload() error Sign(key *v1manifest.KeyInfo, m *v1manifest.Component) error }
Transporter defines methods to upload components
func NewTransporter ¶ added in v1.0.5
func NewTransporter(endpoint, component, version, entry string) Transporter
NewTransporter returns a Transporter
Click to show internal directories.
Click to hide internal directories.