Documentation ¶
Overview ¶
Package aws provides a high-level aws client for CSP functionality, including license check-in, checkout, and extension
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // AccountNumber gets the account number for the AWS account this client will issue calls to AccountNumber() string // GetRancherLicense returns the license which is for the rancher product sku GetRancherLicense(ctx context.Context) (*types.GrantedLicense, error) // CheckoutRancherLicense checks out the license for entitlementAmt entitlements to RKE_NODE_SUPP CheckoutRancherLicense(ctx context.Context, l types.GrantedLicense, entitlementAmt int) (*lm.CheckoutLicenseOutput, error) // CheckInRancherLicense checks in a license using the provided consumptionToken CheckInRancherLicense(ctx context.Context, consumptionToken string) (*lm.CheckInLicenseOutput, error) // ExtendRancherLicenseConsumptionToken extends the Expiry time of the provided consumptionToken ExtendRancherLicenseConsumptionToken(ctx context.Context, consumptionToken string) (*lm.ExtendLicenseConsumptionOutput, error) // GetNumberOfAvailableEntitlements gets the number of RKE_NODE_SUPP entitlements available on license GetNumberOfAvailableEntitlements(ctx context.Context, license types.GrantedLicense) (int, error) }
Click to show internal directories.
Click to hide internal directories.