Documentation
¶
Index ¶
Constants ¶
View Source
const ( MarketplaceProductCode = "1fszvu527waovqeuhpkyx2b5d" MarketplacePublicKey = "" /* 636-byte string literal not displayed */ MarketplacePublicKeyVersion = 1 )
These constants are given by AWS Marketplace. TODO(muvaf): Consider fetching them from an Upbound API but keep the latest ones hard-coded as fallback for air-gapped environments.
View Source
const (
SecretKeyAWSMeteringSignature = "awsMeteringSignature"
)
SecretKeyAWSMeteringSignature is the key whose value contains JWT signature returned from AWS Metering Service.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Marketplace ¶
type Marketplace struct {
// contains filtered or unexported fields
}
Marketplace implements Registerer for AWS Marketplace API.
func NewMarketplace ¶
func NewMarketplace(cl client.Client, mcl marketplaceClient, publicKey string) *Marketplace
NewMarketplace returns a new Marketplace object that can register usage.
Click to show internal directories.
Click to hide internal directories.