Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateImageInput ¶
CreateImageInput takes the required parameters for creating image. These parameters vary based on cloud choosed.
func New ¶
func New() *CreateImageInput
New returns the new instance of CreateImageInput with empty values.
func (*CreateImageInput) CreateImage ¶
func (img *CreateImageInput) CreateImage() (CreateImageResponse, error)
CreateImage will capture image of the server specified, this gives back the response who called.
type CreateImageResponse ¶
type CreateImageResponse struct { // Contains filtered/unfiltered response of AWS. AwsResponse []image.ImageResponse `json:"AwsResponse,omitempty"` // Contains filtered/unfiltered response of Azure. AzureResponse string `json:"AzureResponse,omitempty"` // Default response if no inputs or matching the values required. DefaultResponse string `json:"DefaultResponse,omitempty"` }
CreateImageResponse contains the details of the images captured by CreateImage. This also can contain the response from various cloud, but will deliver what was passed to it.
Click to show internal directories.
Click to hide internal directories.