license

package
v1.18.0-beta14 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func License

func License(opts *options.Options) *cobra.Command

func RootCmd

func RootCmd(opts *options.Options) *cobra.Command

Types

type AddOn

type AddOn struct {
	Addon       int    `json:"Addon"`
	ExpiresAt   int64  `json:"ExpiresAt"`
	LicenseType string `json:"LicenseType"`
}

type LicenseClaims

type LicenseClaims struct {
	AddOns         []AddOn `json:"addOns"`
	ExpirationDate int64   `json:"exp"`
	CreationDate   int64   `json:"iat"`
	LicenseType    string  `json:"lt"`
	Product        string  `json:"product"`
	jwt.RegisteredClaims
}

type LicenseLegacyClaims

type LicenseLegacyClaims struct {
	AddOns  string `json:"addOns"`
	Exp     int64  `json:"exp"`
	Iat     int64  `json:"iat"`
	Key     string `json:"k"`
	LicType string `json:"lt"`
	Product string `json:"product"`
	jwt.RegisteredClaims
}

Jump to

Keyboard shortcuts

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