boshrelease

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoshVersion

func BoshVersion() string

Types

type Commit added in v0.2.0

type Commit struct {
	Commit     string
	CommitDate time.Time
}

type Release

type Release struct {
	// contains filtered or unexported fields
}

func NewRelease

func NewRelease(repository *Repository, privateConfig map[string]interface{}) *Release

func (Release) CreateDevTarball added in v0.2.0

func (r Release) CreateDevTarball(name, version, tarball string) error

func (Release) CreateTarball

func (r Release) CreateTarball(name, version, tarball string) error

func (Release) DevVersions added in v0.2.0

func (r Release) DevVersions(name, latestVersionCommit string) ([]*semver.Version, error)

func (Release) FinalizeRelease

func (r Release) FinalizeRelease(name, version, tarball string) (string, error)

func (Release) Name

func (r Release) Name() (string, error)

func (Release) Versions

func (r Release) Versions(name string, constraints []*semver.Constraints, latestVersion string) ([]*semver.Version, error)

type Repository

type Repository struct {
	// contains filtered or unexported fields
}

func NewRepository

func NewRepository(repository, branch, privateKey string) *Repository

func (Repository) Checkout added in v0.2.0

func (r Repository) Checkout(commitish string) error

func (Repository) Commit

func (r Repository) Commit(message string, rebase bool) (string, error)

func (Repository) Configure

func (r Repository) Configure(authorName, authorEmail string) error

func (Repository) GetCommitList added in v0.2.0

func (r Repository) GetCommitList(since string) ([]Commit, error)

func (Repository) Path

func (r Repository) Path() string

func (Repository) Pull

func (r Repository) Pull() error

func (Repository) Push

func (r Repository) Push() error

func (Repository) Show added in v0.2.0

func (r Repository) Show(commitish, path string) ([]byte, error)

func (Repository) Tag

func (r Repository) Tag(commit, tag, message string) error

Jump to

Keyboard shortcuts

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