transport

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Curl

type Curl struct{}

func (Curl) Assets

func (c Curl) Assets(repo, tag string, out, progress io.Writer) error

func (Curl) Download

func (c Curl) Download(repo, tag, asset string, out, progress io.Writer) error

func (Curl) Tags

func (c Curl) Tags(repo string, out, progress io.Writer) error

type Gh added in v0.0.9

type Gh struct{}

func (Gh) Assets added in v0.0.9

func (c Gh) Assets(repo, tag string, out, progress io.Writer) error

func (Gh) Download added in v0.0.9

func (c Gh) Download(repo, tag, asset string, out, progress io.Writer) error

func (Gh) Tags added in v0.0.9

func (c Gh) Tags(repo string, out, progress io.Writer) error

type Transport

type Transport interface {
	Tags(repo string, out, progress io.Writer) error
	Assets(repo, tag string, out, progress io.Writer) error
	Download(repo, tag, asset string, out, progress io.Writer) error
}

Jump to

Keyboard shortcuts

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