Documentation
¶
Index ¶
Constants ¶
View Source
const MANAGE_ON_PROVIDER = "MANAGE ON PROVIDER"
View Source
const SUBSCRIBE = "SUBSCRIBE"
Variables ¶
View Source
var (
ErrUnsupportedGCPMarketplaceState = fmt.Errorf("unsupported GCP Marketplace state")
)
View Source
var (
ErrUnsupportedPlatform = fmt.Errorf("unsupported platform")
)
Functions ¶
func CheckGcloudExists ¶
func CheckGcloudExists() bool
checkGcloudExists checks if gcloud command is installed and accessible.
func GetGCPProjects ¶
func InstallGcloud ¶
func InstallGcloud() error
Types ¶
type Credentials ¶
func PurchaseOGI ¶
func PurchaseOGI(product, gcpProject string) (*Credentials, error)
func (*Credentials) ToMap ¶
func (c *Credentials) ToMap() map[string]string
func (*Credentials) ToString ¶
func (c *Credentials) ToString() string
type PlaywrightInfo ¶
type PlaywrightInfo struct {
Playwright *playwright.Playwright
Context playwright.BrowserContext
Browser playwright.Browser
Page playwright.Page
}
func (*PlaywrightInfo) Close ¶
func (p *PlaywrightInfo) Close()
func (*PlaywrightInfo) InjectScript ¶
func (p *PlaywrightInfo) InjectScript() error
Click to show internal directories.
Click to hide internal directories.