redist

package
v0.0.0-...-385a385 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: BlueOak-1.0.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Asset

type Asset struct {
	*sensuasset.BuildSpec
	Desc  string
	Local string
	New   *url.URL
	Orig  *url.URL
}

type Redist

type Redist struct {
	*sensuasset.AssetSpec
	Asset  *Asset
	Builds []*Asset
	Dir    string
}

func New

func New(dir string) (*Redist, error)

func (*Redist) Download

func (r *Redist) Download(source *url.URL) error

Download copies asset items locally, preparing for relocation

func (*Redist) RelocateTo

func (r *Redist) RelocateTo(target *url.URL) error

func (*Redist) Sanity

func (r *Redist) Sanity() error

func (*Redist) Upload

func (r *Redist) Upload(target string) error

Jump to

Keyboard shortcuts

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