deleteloadbalancer

package
v0.0.0-...-c891ed9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

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
}

func New

func New() *LbDeleteInput

func (*LbDeleteInput) DeleteLoadBalancer

func (d *LbDeleteInput) DeleteLoadBalancer() (LoadBalancerDeleteResponse, error)

Being GetLoadbalancers, job of him is to create 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 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"`
}

The struct that will return the filtered/unfiltered responses of variuos clouds.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL