Documentation
¶
Overview ¶
Package packager creates a binary image. Due to package being a reserved keyword we use packager.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Binary ¶
type Binary struct {
// Name of the binary
Name string
// Location of the binary
Path string
// Type of binary
Type string
// Source of the binary
Source *Source
}
Binary is the representation of a binary
type Packager ¶
type Packager interface {
// Compile builds a binary
Compile(*Source) (*Binary, error)
// Deletes the binary
Delete(*Binary) error
}
Package builds binaries
type Source ¶
type Source struct {
// Language is the language of code
Language string
// Location of the source
Repository *source.Repository
}
Source is the source of a build
Click to show internal directories.
Click to hide internal directories.