bintray

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bintray

type Bintray struct {
	Username string    `yaml:"username"`
	ApiKey   string    `yaml:"api_key"`
	Packages []Package `yaml:"packages"`

	Condition *condition.Condition `yaml:"when,omitempty"`
}

func (*Bintray) GetCondition

func (b *Bintray) GetCondition() *condition.Condition

func (*Bintray) Write

func (b *Bintray) Write(f *buildfile.Buildfile)

type Package

type Package struct {
	File       string   `yaml:"file"`
	Type       string   `yaml:"type"`
	Owner      string   `yaml:"owner"`
	Repository string   `yaml:"repository"`
	Package    string   `yaml:"package"`
	Version    string   `yaml:"version"`
	Target     string   `yaml:"target"`
	Distr      string   `yaml:"distr,omitempty"`
	Component  string   `yaml:"component,omitempty"`
	Arch       []string `yaml:"arch,omitempty"`
	Publish    bool     `yaml:"publish,omitempty"`
	Override   bool     `yaml:"override,omitempty"`
}

func (*Package) Write

func (p *Package) Write(username, api_key string, f *buildfile.Buildfile)

Jump to

Keyboard shortcuts

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