Documentation ¶
Index ¶
- func Change(a *apptypes.App, newLicenseString string) (*kotsv1beta1.License, error)
- func CheckIfLicenseExists(license []byte) (*kotsv1beta1.License, error)
- func GetFromPlatformLicense(apiEndpoint, platformLicense string) (string, error)
- func ResolveExistingLicense(newLicense *kotsv1beta1.License) (bool, error)
- func Sync(a *apptypes.App, licenseString string, failOnVersionCreate bool) (*kotsv1beta1.License, bool, error)
- type GetFromPlatformLicenseRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfLicenseExists ¶
func CheckIfLicenseExists(license []byte) (*kotsv1beta1.License, error)
func GetFromPlatformLicense ¶
func ResolveExistingLicense ¶ added in v1.112.0
func ResolveExistingLicense(newLicense *kotsv1beta1.License) (bool, error)
Types ¶
type GetFromPlatformLicenseRequest ¶
type GetFromPlatformLicenseRequest struct {
License string `json:"license"`
}
Click to show internal directories.
Click to hide internal directories.