Documentation
¶
Index ¶
- func Command() cli.Command
- func DistsNotBuilt(buildSpecWithDeps []params.ProductBuildSpecWithDeps) []params.ProductBuildSpecWithDeps
- func Run(buildSpecWithDeps params.ProductBuildSpecWithDeps, publisher Publisher, ...) error
- type AlmanacInfo
- func (a *AlmanacInfo) CheckConnectivity(client *http.Client) error
- func (a *AlmanacInfo) CheckProduct(client *http.Client, product string) error
- func (a *AlmanacInfo) CheckProductBranch(client *http.Client, product, branch string) error
- func (a *AlmanacInfo) CreateProduct(client *http.Client, product string) error
- func (a *AlmanacInfo) CreateProductBranch(client *http.Client, product, branch string) error
- func (a *AlmanacInfo) CreateUnit(client *http.Client, unit AlmanacUnit, version string) error
- func (a *AlmanacInfo) GetUnit(client *http.Client, product, branch, revision string) ([]byte, error)
- func (a *AlmanacInfo) ReleaseProduct(client *http.Client, product, branch, revision string) error
- type AlmanacUnit
- type ArtifactoryConnectionInfo
- type BasicConnectionInfo
- type BintrayConnectionInfo
- type GitHubConnectionInfo
- type LocalPublishInfo
- type ProductPaths
- type Publisher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DistsNotBuilt ¶
func DistsNotBuilt(buildSpecWithDeps []params.ProductBuildSpecWithDeps) []params.ProductBuildSpecWithDeps
func Run ¶
func Run(buildSpecWithDeps params.ProductBuildSpecWithDeps, publisher Publisher, almanacInfo *AlmanacInfo, stdout io.Writer) error
Types ¶
type AlmanacInfo ¶
func (*AlmanacInfo) CheckConnectivity ¶
func (a *AlmanacInfo) CheckConnectivity(client *http.Client) error
func (*AlmanacInfo) CheckProduct ¶
func (a *AlmanacInfo) CheckProduct(client *http.Client, product string) error
func (*AlmanacInfo) CheckProductBranch ¶
func (a *AlmanacInfo) CheckProductBranch(client *http.Client, product, branch string) error
func (*AlmanacInfo) CreateProduct ¶
func (a *AlmanacInfo) CreateProduct(client *http.Client, product string) error
func (*AlmanacInfo) CreateProductBranch ¶
func (a *AlmanacInfo) CreateProductBranch(client *http.Client, product, branch string) error
func (*AlmanacInfo) CreateUnit ¶
func (a *AlmanacInfo) CreateUnit(client *http.Client, unit AlmanacUnit, version string) error
func (*AlmanacInfo) ReleaseProduct ¶
func (a *AlmanacInfo) ReleaseProduct(client *http.Client, product, branch, revision string) error
type AlmanacUnit ¶
type ArtifactoryConnectionInfo ¶
type ArtifactoryConnectionInfo struct { BasicConnectionInfo Repository string }
func (*ArtifactoryConnectionInfo) Publish ¶
func (a *ArtifactoryConnectionInfo) Publish(buildSpec params.ProductBuildSpec, paths ProductPaths, stdout io.Writer) (rURLs []string, rErr error)
type BasicConnectionInfo ¶
type BintrayConnectionInfo ¶
type BintrayConnectionInfo struct { BasicConnectionInfo Subject string Repository string Release bool DownloadsList bool }
func (*BintrayConnectionInfo) Publish ¶
func (b *BintrayConnectionInfo) Publish(buildSpec params.ProductBuildSpec, paths ProductPaths, stdout io.Writer) ([]string, error)
type GitHubConnectionInfo ¶
type GitHubConnectionInfo struct { APIURL string User string Token string Owner string Repository string }
func (*GitHubConnectionInfo) Publish ¶
func (g *GitHubConnectionInfo) Publish(buildSpec params.ProductBuildSpec, paths ProductPaths, stdout io.Writer) ([]string, error)
type LocalPublishInfo ¶
type LocalPublishInfo struct {
Path string
}
func (*LocalPublishInfo) Publish ¶
func (l *LocalPublishInfo) Publish(buildSpec params.ProductBuildSpec, paths ProductPaths, stdout io.Writer) ([]string, error)
type ProductPaths ¶
type ProductPaths struct {
// contains filtered or unexported fields
}
type Publisher ¶
type Publisher interface {
Publish(buildSpec params.ProductBuildSpec, paths ProductPaths, stdout io.Writer) ([]string, error)
}
Click to show internal directories.
Click to hide internal directories.