Help us shape the future of Go! Take the 2026 Go Developer Survey

remote

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

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

func NewEditor added in v1.0.5

func NewEditor(endpoint, component string) Editor

NewEditor returns a Editor interface

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

Jump to

Keyboard shortcuts

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