buildingblocks

package
v0.15.5 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTags added in v0.15.3

func GetTags(pID int) (s []string)

returns the list of tags for the given gitlab project.

func SortTags added in v0.15.3

func SortTags(versions []string) v.Collection

sorts a list of semantic versions, ascending.

func UpdateScript added in v0.15.0

func UpdateScript(versionFrom, versionTo string, p *RepoRef) ([]byte, error)

UpdateScript will generate a script containing a series of update scripts if there are any for the update of one version (versionFrom) to another (versionTo) of the given building block project ref.

Types

type RepoRef added in v0.15.0

type RepoRef struct {
	ID  int
	Ref string
}

Jump to

Keyboard shortcuts

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