Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetLoadbalancerInput ¶
type GetLoadbalancerInput struct { LbNames []string `json:"lbnames"` LbArns []string `json:"lbarns"` Type string `json:"type"` Cloud cmn.Cloud }
func New ¶
func New() *GetLoadbalancerInput
func (*GetLoadbalancerInput) GetAllLoadbalancer ¶
func (lb *GetLoadbalancerInput) GetAllLoadbalancer() (GetLoadbalancerResponse, error)
Being GetLoadbalancers, job of him is to gather info on all the loadbalancers and give back the response who called him.
func (*GetLoadbalancerInput) GetLoadbalancers ¶
func (lb *GetLoadbalancerInput) GetLoadbalancers() (GetLoadbalancerResponse, error)
Being GetLoadbalancers, job of him is to gather info on the loadbalancer asked for and give back the response who called him. Below method will take care of fetching details of appropriate user and his cloud profile details which was passed while calling it.
type GetLoadbalancerResponse ¶
type GetLoadbalancerResponse struct { // Contains filtered/unfiltered response of AWS. AwsResponse []loadbalance.LoadBalanceResponse `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:"Response,omitempty"` }
The struct that will return the filtered/unfiltered responses of variuos clouds.
Click to show internal directories.
Click to hide internal directories.