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