claims

package
v0.0.0-...-18be6fe Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountClaimData

type AccountClaimData struct {
	Amount int64 `json:"amount"`
}

type ClaimData

type ClaimData map[string]interface{}

func (*ClaimData) SwitchToAccountData

func (c *ClaimData) SwitchToAccountData(data *AccountClaimData) error

func (*ClaimData) SwitchToClusterData

func (c *ClaimData) SwitchToClusterData(data *ClusterClaimData) error

type Claims

type Claims struct {
	Type      v1.LicenseType `json:"type"`
	ClusterID string         `json:"clusterID"`
	Data      ClaimData      `json:"data"`

	jwt.RegisteredClaims
}

type ClusterClaimData

type ClusterClaimData struct {
}

Jump to

Keyboard shortcuts

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