license

package
v2.12.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KICLicenseAPIPathPattern = "%s/kic/api/runtime_groups/%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 added in v2.10.1

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