models

package
v0.0.48 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2017 License: Apache-2.0 Imports: 1 Imported by: 206

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job struct {
	Name    string
	Version string
	Source  Source

	// Packages that this job depends on; however,
	// currently it will contain packages from all jobs
	Packages []Package
}

func (Job) BundleName

func (s Job) BundleName() string

func (Job) BundleVersion

func (s Job) BundleVersion() string

type LocalPackage

type LocalPackage struct {
	Name    string
	Version string
}

func (LocalPackage) BundleName

func (s LocalPackage) BundleName() string

func (LocalPackage) BundleVersion

func (s LocalPackage) BundleVersion() string

type Package

type Package struct {
	Name    string
	Version string
	Source  Source
}

func (Package) BundleName

func (s Package) BundleName() string

func (Package) BundleVersion

func (s Package) BundleVersion() string

type Source

type Source struct {
	Sha1          crypto.Digest
	BlobstoreID   string
	PathInArchive string
}

Jump to

Keyboard shortcuts

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