Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetImagesInput ¶
GetImagesInput fetches the information about the images selected and is achieved by implementing the methoda for the same.
func New ¶
func New() *GetImagesInput
New returns the new instance of GetImagesInput with empty values.
func (*GetImagesInput) GetAllImage ¶
func (img *GetImagesInput) GetAllImage() (GetImagesResponse, error)
GetAllImage will fetch the details of all the images in the specified acoount ot region.
func (*GetImagesInput) GetImage ¶
func (img *GetImagesInput) GetImage() (GetImagesResponse, error)
GetImage will collect all the required information of the images specified to it and send back the response.
type GetImagesResponse ¶
type GetImagesResponse 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"` }
GetImagesResponse contains the details of the images collected by GetImage. 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.