staticentitlement

package
v1.0.0-beta.120 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connector

type Connector interface {
	entitlement.SubTypeConnector
}

func NewStaticEntitlementConnector

func NewStaticEntitlementConnector() Connector

type Entitlement

type Entitlement struct {
	entitlement.GenericProperties

	Config []byte `json:"config,omitempty"`
}

func ParseFromGenericEntitlement

func ParseFromGenericEntitlement(model *entitlement.Entitlement) (*Entitlement, error)

type StaticEntitlementValue

type StaticEntitlementValue struct {
	Config []byte `json:"config,omitempty"`
}

func (*StaticEntitlementValue) HasAccess

func (s *StaticEntitlementValue) HasAccess() bool

Jump to

Keyboard shortcuts

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