cmd

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GitCommitHash string

Injected at build time for things built in CI, but not for installs using 'go get'

View Source
var GitCommitShortHash string
View Source
var GitProject string
View Source
var GitTag string
View Source
var ReleasesUrl string

Gitlab releases API inserted here at buildtime Will be a value like: "https://gitlab.com/api/v4/projects/[project]/releases" Only works if the gitlab project is public, however

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type AccessRole

type AccessRole = api.AccessRole

type Account

type Account = api.Account

type ApiClient

type ApiClient = api.Client

type Credential

type Credential = api.Credential

type GitlabRelease

type GitlabRelease struct {
	Tag string `json:"tag_name"`
}

type Project

type Project = api.Project

Jump to

Keyboard shortcuts

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