Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LbDeleteInput ¶
type LbDeleteInput struct { LbNames []string `json:"lbnames"` LbArns []string `json:"lbarns"` Type string `json:"type"` Cloud cmn.Cloud }
LbDeleteInput takes the inputs required for deletion of appropriate loadbalancer. This supports various types of loadbalancer. These parameters vary based on cloud choosed.
func New ¶
func New() *LbDeleteInput
New returns the new instance of LbDeleteInput with the empty default values.
func (*LbDeleteInput) DeleteLoadBalancer ¶
func (d *LbDeleteInput) DeleteLoadBalancer() (LoadBalancerDeleteResponse, error)
DeleteLoadBalancer will help in deleting the loadbalancer created by CreateLoadBalancer Appropriate user and his cloud profile details has to be passed while calling it.
type LoadBalancerDeleteResponse ¶
type LoadBalancerDeleteResponse struct { // Contains filtered/unfiltered response of AWS. AwsResponse []loadbalance.LoadBalanceDeleteResponse `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"` }
LoadBalancerDeleteResponse will return the filtered/unfiltered responses of variuos clouds.
Click to show internal directories.
Click to hide internal directories.