Documentation
¶
Index ¶
- Variables
- func Build(args ...string) error
- func BuildAll(args ...string) error
- func BuildAllReleaser(args ...string) error
- func BuildReleaser(args ...string) error
- func Commit() (string, error)
- func CopyOpenAPI(repo, service, outfile string) error
- func CreateOpenAPI(repo, outfile string, subServices []string) error
- func DockerImage(repositoryAndTag string, args ...string) error
- func DockerPush(existingImage, imageToPush string) error
- func DockerTags(registry, image string) ([]string, error)
- func Generate(paths ...string) error
- func GitPushTag(tag, remote string) error
- func GitTag(tag string) error
- func IsDirty(version string) bool
- func Lint() error
- func MergeOpenAPI(repo, outfile string, subServices []string) error
- func NextVersion(part string) (string, error)
- func Test(args ...string) error
- func Version() (string, error)
- func WorkDir() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Architectures is a list of architectures to build binaries for. Architectures = []string{"amd64", "arm"} // OSList is a list of all OSes to build binaries for. OSList = []string{osLinux, osWindows, osDarwin} )
View Source
var (
UI = clui.NewUI()
)
Functions ¶
func BuildAllReleaser ¶ added in v0.4.1
BuildAllReleaser builds all binaries for all OSes and architectures, in preparation for a release.
func BuildReleaser ¶ added in v0.4.1
BuildReleaser builds the project.
func CopyOpenAPI ¶
func CreateOpenAPI ¶
func DockerImage ¶
DockerImage builds the docker image for the project.
func DockerPush ¶ added in v0.4.2
DockerPush pushes an image
func DockerTags ¶ added in v0.4.2
DockerTags uses sver to get a list of tags to be pushed. Expects env vars DOCKER_USERNAME and DOCKER_PASSWORD to be set.
func Generate ¶
Generate runs go generate for the specified paths. If no paths are used, it generates for './...'.
func GitPushTag ¶ added in v0.3.3
func MergeOpenAPI ¶
func NextVersion ¶ added in v0.3.3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.