license

package module
v0.0.0-...-af915e8 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var VTAP_LICENSE_TYPE_DEFAULT = common.VTAP_LICENSE_TYPE_A

Functions

func GetChecker

func GetChecker() monitor.LicenseChecker

func GetSupportedLicenseFunctions

func GetSupportedLicenseFunctions(vtapType int) []int

Types

type Checker

type Checker struct{}

func BuildChecker

func BuildChecker() *Checker

func (*Checker) Check

func (c *Checker) Check(function int) error

func (*Checker) CheckAgent

func (c *Checker) CheckAgent(agent *metadbmodel.VTap, function int) error

func (*Checker) Init

func (c *Checker) Init(cfg config.ControllerConfig)

type VTapLicenseAllocation

type VTapLicenseAllocation struct {
	// contains filtered or unexported fields
}

func NewVTapLicenseAllocation

func NewVTapLicenseAllocation(cfg config.MonitorConfig, ctx context.Context) *VTapLicenseAllocation

func (*VTapLicenseAllocation) Start

func (v *VTapLicenseAllocation) Start(sCtx context.Context)

func (*VTapLicenseAllocation) Stop

func (v *VTapLicenseAllocation) Stop()

Jump to

Keyboard shortcuts

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