Documentation
¶
Index ¶
- Constants
- Variables
- type Build
- type BuildMeta
- type BuildPage
- type 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
- type InitialPasswordEntry
- type InitialPasswords
- type PageParams
- type Properties
- type RunningDeployment
Constants ¶
View Source
const CLOUD_APPLICATION = "commerce-cloud"
Variables ¶
View Source
var PORTAL, _ = url.Parse("https://portal.commerce.ondemand.com/")
Functions ¶
This section is empty.
Types ¶
type Build ¶
type BuildMeta ¶
type BuildMeta struct { Code string Name string CreatedBy string Status string Branch string BuildVersion string BuildStartTime string BuildEndTime string ApplicationName string ApplicationCode string ApplicationDefinitionVersion string CreatedOn string ProgressData interface{} Properties []Properties }
type BuildPage ¶
type BuildPage struct { Params PageParams Content []BuildMeta }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateBuild ¶
func (*Client) CreateDeployment ¶
func (pc *Client) CreateDeployment(environment, mode, release string) (r RunningDeployment)
func (*Client) GetAllBuilds ¶
func (*Client) GetBuildLogReader ¶
func (pc *Client) GetBuildLogReader(code string) io.ReadCloser
func (*Client) GetCustomerProperties ¶
func (pc *Client) GetCustomerProperties(environment, aspect string) (p Properties)
func (*Client) GetDeployments ¶
func (pc *Client) GetDeployments(environment string) (r []RunningDeployment)
func (*Client) GetInitialPasswords ¶
func (pc *Client) GetInitialPasswords(environment string) (p InitialPasswords)
func (*Client) GetRunningDeployments ¶
func (pc *Client) GetRunningDeployments(environment string) (r []RunningDeployment)
func (*Client) SaveCookieJar ¶
func (*Client) SetCustomerProperties ¶
func (pc *Client) SetCustomerProperties(environment, aspect, filename string) (p Properties)
type Deployment ¶
type Deployment struct { EnvironmentCode string `json:"environmentCode"` Mode string `json:"mode"` CustomerReleaseCode string `json:"customerReleaseCode"` ApplicationCode string `json:"applicationCode"` }
func NewDeployment ¶
func NewDeployment(environment, mode, releaseCode string) Deployment
type InitialPasswordEntry ¶
type InitialPasswords ¶
type InitialPasswords struct { Key string Value []InitialPasswordEntry }
type PageParams ¶
type Properties ¶
func NewProperties ¶
func NewProperties(key, value string) Properties
Click to show internal directories.
Click to hide internal directories.