lifecycle

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultLifecycleVersion = "0.2.0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Downloader

type Downloader interface {
	Download(uri string) (string, error)
}

type Fetcher

type Fetcher struct {
	// contains filtered or unexported fields
}

func NewFetcher

func NewFetcher(downloader Downloader) *Fetcher

func (*Fetcher) Fetch

func (f *Fetcher) Fetch(version *semver.Version, uri string) (Metadata, error)

type Metadata

type Metadata struct {
	Version *semver.Version `json:"version"`
	Dir     string          `json:"-"`
}

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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