Versions in this module Expand all Collapse all v0 v0.6.0 Oct 15, 2019 Changes in this version + var AllowedDeploymentModes = map[string]struct + var AllowedMigrationModes = map[string]struct type Deployment + DatabaseUpdateMode string + Strategy string v0.5.0 Jun 4, 2019 Changes in this version + const CLOUD_APPLICATION + var PORTAL = url.Parse("https://portal.commerce.ondemand.com/") + type Build struct + ApplicationCode string + Branch string + Name string + SubscriptionCode string + func NewBuild(subscription, name, branch string) Build + type BuildMeta struct + ApplicationCode string + ApplicationDefinitionVersion string + ApplicationName string + Branch string + BuildEndTime string + BuildStartTime string + BuildVersion string + Code string + CreatedBy string + CreatedOn string + Name string + ProgressData interface{} + Properties []Properties + Status string + type BuildPage struct + Content []BuildMeta + Params PageParams + type Client struct + func NewClient(subscription string, certPEMBlock, keyPEMBlock []byte, jarfile string) Client + func (pc *Client) CreateBuild(name, branch string) (newBuild BuildMeta) + func (pc *Client) CreateDeployment(environment, mode, release string) (r RunningDeployment) + func (pc *Client) GetAllBuilds() (meta []BuildMeta) + func (pc *Client) GetBuild(code string) (meta BuildMeta) + func (pc *Client) GetBuildLogReader(code string) io.ReadCloser + func (pc *Client) GetCustomerProperties(environment, aspect string) (p Properties) + func (pc *Client) GetDeployments(environment string) (r []RunningDeployment) + func (pc *Client) GetInitialPasswords(environment string) (p InitialPasswords) + func (pc *Client) GetRunningDeployments(environment string) (r []RunningDeployment) + func (pc *Client) SaveCookieJar() error + func (pc *Client) SetCustomerProperties(environment, aspect, filename string) (p Properties) + type Deployment struct + ApplicationCode string + CustomerReleaseCode string + EnvironmentCode string + Mode string + func NewDeployment(environment, mode, releaseCode string) Deployment + type InitialPasswordEntry struct + Password string + Uid string + type InitialPasswords struct + Key string + Value []InitialPasswordEntry + type PageParams struct + First bool + Last bool + Number int + NumberOfElements int + Size int + Sort string + TotalElements int + TotalPages int + type Properties struct + Key string + Value string + func NewProperties(key, value string) Properties + type RunningDeployment struct + ApplicationCode string + ApplicationDefinitionVersion string + CustomerReleaseCode string + EnvironmentCode string + Mode string + RollingDeployment bool + ScheduledDate string + Status string