Documentation ¶
Overview ¶
Package process contains port management functionality on security
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetOpts ¶
GetOpts represents result of order API response.
func (GetOpts) ToProcessQuery ¶
ToProcessQuery formats a GetOpts into a query string.
type GetOptsBuilder ¶
GetOptsBuilder allows extensions to add additional parameters to the order API request
type GetResult ¶
type GetResult struct {
// contains filtered or unexported fields
}
GetResult represents the result of a get operation. Call its Extract method to interpret it as a Process.
func Get ¶
func Get(client *eclcloud.ServiceClient, processID string, opts GetOptsBuilder) (r GetResult)
Get retrieves details on a single order, by ID.
func (GetResult) Extract ¶
func (r GetResult) Extract() (*ProcessInstance, error)
Extract is a function that accepts a result and extracts a Process.
func (GetResult) ExtractInto ¶
func (r GetResult) ExtractInto(v interface{}) error
Extract interprets any commonResult as a Process, if possible.
type ProcessInstance ¶
type ProcessInstance struct {
Status ProcessStatus `json:"status"`
}
type ProcessStatus ¶
type ProcessStatus struct {
Status string `json:"status"`
}
Click to show internal directories.
Click to hide internal directories.