Documentation ¶
Index ¶
- func CheckIfLicenseExists(license []byte) (*kotsv1beta1.License, error)
- func GetCurrentLicenseString(a *apptypes.App) (string, error)
- func GetFromPlatformLicense(apiEndpoint, platformLicense string) (string, 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 GetCurrentLicenseString ¶ added in v1.31.0
Gets the license as it was at a given app sequence
func GetFromPlatformLicense ¶
Types ¶
type GetFromPlatformLicenseRequest ¶
type GetFromPlatformLicenseRequest struct {
License string `json:"license"`
}
Click to show internal directories.
Click to hide internal directories.