metadata

package
v0.42.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PluginName hold a name of the plugin.
	PluginName = "kn-event"
	// PluginUse hold a the plugin short name, intended to use as "kn <use>".
	PluginUse = "event"
	// PluginDescription holds a short description of the plugin.
	PluginDescription = "Manage CloudEvents from command line"
	// PluginLongDescription holds a long description of the plugin.
	PluginLongDescription = `Manage CloudEvents from command line. Perform, easily, tasks like sending,
building, and parsing, all from command line.`
)

Variables

View Source
var (
	// Image holds information about companion image reference.
	Image = "" //nolint:gochecknoglobals
	// ImageBasename holds a basename of a image, so the development reference
	// could be built from it.
	ImageBasename = "" //nolint:gochecknoglobals
)
View Source
var Version = "0.0.0" //nolint:gochecknoglobals

Version holds application version information.

Functions

func ImageBasenamePath

func ImageBasenamePath() string

ImageBasenamePath return a path to the image basename variable.

func ImagePath

func ImagePath() string

ImagePath return a path to the image variable.

func ResolveImage

func ResolveImage() string

ResolveImage will try to resolve the image reference from set values. If Image is given it will be used, otherwise the ImageBasename and Version will be used.

func VersionPath

func VersionPath() string

VersionPath return a path to the version variable.

Types

This section is empty.

Jump to

Keyboard shortcuts

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