license

package
v1.96.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Change

func Change(a *apptypes.App, newLicenseString string) (*kotsv1beta1.License, error)

func CheckIfLicenseExists

func CheckIfLicenseExists(license []byte) (*kotsv1beta1.License, error)

func GetFromPlatformLicense

func GetFromPlatformLicense(apiEndpoint, platformLicense string) (string, error)

func Sync

func Sync(a *apptypes.App, licenseString string, failOnVersionCreate bool) (*kotsv1beta1.License, bool, error)

Types

type GetFromPlatformLicenseRequest

type GetFromPlatformLicenseRequest struct {
	License string `json:"license"`
}

Jump to

Keyboard shortcuts

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