Documentation ¶
Index ¶
- func HasFeature(license types.LicenseManagerLicenseInfo, key string) bool
- type AssignmentManager
- func (m AssignmentManager) QueryAssigned(ctx context.Context, id string) ([]types.LicenseAssignmentManagerLicenseAssignment, error)
- func (m AssignmentManager) Remove(ctx context.Context, id string) error
- func (m AssignmentManager) Update(ctx context.Context, id string, key string, name string) (*types.LicenseManagerLicenseInfo, error)
- type InfoList
- type Manager
- func (m Manager) Add(ctx context.Context, key string, labels map[string]string) (types.LicenseManagerLicenseInfo, error)
- func (m Manager) AssignmentManager(ctx context.Context) (*AssignmentManager, error)
- func (m Manager) Decode(ctx context.Context, key string) (types.LicenseManagerLicenseInfo, error)
- func (m Manager) List(ctx context.Context) (InfoList, error)
- func (m Manager) Remove(ctx context.Context, key string) error
- func (m Manager) Update(ctx context.Context, key string, labels map[string]string) (types.LicenseManagerLicenseInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasFeature ¶ added in v0.3.0
func HasFeature(license types.LicenseManagerLicenseInfo, key string) bool
Types ¶
type AssignmentManager ¶ added in v0.3.0
func (AssignmentManager) QueryAssigned ¶ added in v0.3.0
func (m AssignmentManager) QueryAssigned(ctx context.Context, id string) ([]types.LicenseAssignmentManagerLicenseAssignment, error)
type InfoList ¶ added in v0.3.0
type InfoList []types.LicenseManagerLicenseInfo
InfoList provides helper methods for []types.LicenseManagerLicenseInfo
func (InfoList) WithFeature ¶ added in v0.3.0
type Manager ¶
func NewManager ¶
func (Manager) AssignmentManager ¶ added in v0.3.0
func (m Manager) AssignmentManager(ctx context.Context) (*AssignmentManager, error)
Click to show internal directories.
Click to hide internal directories.