version

package
v0.0.0-...-540bb61 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfoV1

type InfoV1 struct {
	Version   driver.Version `json:"version"`
	Build     string         `json:"build"`
	Edition   License        `json:"edition"`
	GoVersion string         `json:"go_version"`
	BuildDate string         `json:"build_date,omitempty"`
}

func GetVersionV1

func GetVersionV1() InfoV1

func (InfoV1) IsEnterprise

func (i InfoV1) IsEnterprise() bool

type License

type License string
const (
	CommunityEdition  License = "community"
	EnterpriseEdition License = "enterprise"
)

func (License) Title

func (s License) Title() string

Jump to

Keyboard shortcuts

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