Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LicenseManager ¶
type LicenseManager struct {
// contains filtered or unexported fields
}
LicenseManager handles license management and validation for the node
func NewLicenseManager ¶
func NewLicenseManager(config *types.License) (*LicenseManager, error)
NewLicenseManager creates and initializes a new LicenseManager
func (*LicenseManager) License ¶
func (l *LicenseManager) License() *license.LicenseClaims
License validates the current license token and returns the license claims and if it is expired
Click to show internal directories.
Click to hide internal directories.