getantibody

package module
v0.0.0-...-29625ae Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2016 License: MIT Imports: 4 Imported by: 0

README

getantibody

Build Status Deploy Status

Always get the latest antibody version

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadURL

func DownloadURL(version, os, arch string) (string, error)

DownloadURL gets the download url for the given version, os and arch. os and arch should be in the format of uname` commands.

func LatestRelease

func LatestRelease() (string, error)

LatestRelease return the last release tag name.

Types

type Arch

type Arch struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

Arch type defines an architecture

type Distribution

type Distribution struct {
	OS     string `json:"os"`
	Arches []Arch `json:"arches"`
	Name   string `json:"name"`
}

Distribution defines a distribution, combining OS and Arch

func Distributions

func Distributions() []Distribution

Distributions lists the available antibody flavors

type OS

type OS struct {
	ID   string
	Name string
}

OS type defines an Operating System

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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