license

package
v3.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KICLicenseAPIPathPattern = "%s/kic/api/control-planes/%s/v1/licenses"

KICLicenseAPIPathPattern is the path pattern for KIC license operations.

Functions

This section is empty.

Types

type Client

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

Client interacts with the Konnect license API.

func NewClient

func NewClient(cfg adminapi.KonnectConfig) (*Client, error)

NewClient creates a License API Konnect client.

func (*Client) Get

type Item

type Item struct {
	License   string `json:"payload,omitempty"`
	UpdatedAt uint64 `json:"updated_at,omitempty"`
	ID        string `json:"id,omitempty"`
}

Item is a single license from the upstream license API.

type ListLicenseResponse

type ListLicenseResponse struct {
	Items []*Item `json:"items"`
}

Jump to

Keyboard shortcuts

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