archives

package
v0.0.1-rc2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultProxyVersion = func() string {
	version := os.Getenv("PROXY_VERSION")
	if version == "" {
		version = "1.21.0"
	}
	return version
}()

Functions

This section is empty.

Types

type Archive

type Archive interface {
	Version() string
	BinaryName() string
	BinaryDir() string
	URLPattern() string
	Renamer() extract.Renamer
}

type Proxy

type Proxy struct {
	VersionUsed string
}

func (*Proxy) BinaryDir

func (p *Proxy) BinaryDir() string

func (*Proxy) BinaryName

func (p *Proxy) BinaryName() string

func (*Proxy) Renamer

func (p *Proxy) Renamer() extract.Renamer

func (*Proxy) URLPattern

func (p *Proxy) URLPattern() string

func (*Proxy) Version

func (p *Proxy) Version() string

Jump to

Keyboard shortcuts

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