info

package
v1.12.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVersionParts

func GetVersionParts() []string

GetVersionParts returns the different version components

func GetVersionString

func GetVersionString(more ...string) string

GetVersionString returns the string representation of the version

func ResolveAutoMode

func ResolveAutoMode(logger Logger, mode string) (rmode string)

ResolveAutoMode determines the correct mode for the platform if set to "auto"

Types

type Logger

type Logger interface {
	Infof(string, ...interface{})
	Debugf(string, ...interface{})
}

Logger is a basic interface for logging to allow these functions to be called from code where logrus is not used.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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