common

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const CosignPublicKey string = `` /* 177-byte string literal not displayed */
View Source
const PGPPublicKey string = `` /* 2430-byte string literal not displayed */

Variables

View Source
var BRANCH = "dev"

BRANCH of the Version

View Source
var COMMIT = "dirty"
View Source
var NAME = "azure-nuke"

NAME of the App

View Source
var Never = "never"
View Source
var One32 int32 = 1
View Source
var SUMMARY = "1.0.0-dev"

SUMMARY of the Version

View Source
var TFFSUser int64 = 999
View Source
var TimeParseError = "time-parse-error"
View Source
var True = true
View Source
var Two32 int32 = 2
View Source
var Zero32 int32 = 0

Functions

func GetCommands

func GetCommands() []*cli.Command

GetCommands --

func RegisterCommand

func RegisterCommand(command *cli.Command)

RegisterCommand --

Types

type AppVersionInfo

type AppVersionInfo struct {
	Name    string
	Branch  string
	Summary string
	Commit  string
}

AppVersionInfo --

var AppVersion AppVersionInfo

AppVersion --

type Commander

type Commander interface {
	Execute(c *cli.Context)
}

Commander --

type ContextKey

type ContextKey string
const (
	ContextReqIDKey ContextKey = "reqid"
)

Common Constants, mostly for annotations

Jump to

Keyboard shortcuts

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