Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateLoadBalancer(params *CreateLoadBalancerParams, opts ...ClientOption) (*CreateLoadBalancerAccepted, error)
- func (a *Client) DeleteLoadBalancer(params *DeleteLoadBalancerParams, opts ...ClientOption) (*DeleteLoadBalancerAccepted, error)
- func (a *Client) DeleteLoadBalancerOperation(params *DeleteLoadBalancerOperationParams, opts ...ClientOption) (*DeleteLoadBalancerOperationAccepted, error)
- func (a *Client) GetLoadBalancer(params *GetLoadBalancerParams, opts ...ClientOption) (*GetLoadBalancerOK, error)
- func (a *Client) GetLoadBalancerNetworkInterface(params *GetLoadBalancerNetworkInterfaceParams, opts ...ClientOption) (*GetLoadBalancerNetworkInterfaceOK, error)
- func (a *Client) GetLoadBalancers(params *GetLoadBalancersParams, opts ...ClientOption) (*GetLoadBalancersOK, error)
- func (a *Client) ScaleLoadBalancer(params *ScaleLoadBalancerParams, opts ...ClientOption) (*ScaleLoadBalancerAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateLoadBalancerAccepted
- type CreateLoadBalancerBadRequest
- type CreateLoadBalancerForbidden
- type CreateLoadBalancerNotFound
- type CreateLoadBalancerParams
- func NewCreateLoadBalancerParams() *CreateLoadBalancerParams
- func NewCreateLoadBalancerParamsWithContext(ctx context.Context) *CreateLoadBalancerParams
- func NewCreateLoadBalancerParamsWithHTTPClient(client *http.Client) *CreateLoadBalancerParams
- func NewCreateLoadBalancerParamsWithTimeout(timeout time.Duration) *CreateLoadBalancerParams
- func (o *CreateLoadBalancerParams) SetAPIVersion(aPIVersion *string)
- func (o *CreateLoadBalancerParams) SetBody(body *models.LoadBalancerSpecification)
- func (o *CreateLoadBalancerParams) SetContext(ctx context.Context)
- func (o *CreateLoadBalancerParams) SetDefaults()
- func (o *CreateLoadBalancerParams) SetHTTPClient(client *http.Client)
- func (o *CreateLoadBalancerParams) SetTimeout(timeout time.Duration)
- func (o *CreateLoadBalancerParams) WithAPIVersion(aPIVersion *string) *CreateLoadBalancerParams
- func (o *CreateLoadBalancerParams) WithBody(body *models.LoadBalancerSpecification) *CreateLoadBalancerParams
- func (o *CreateLoadBalancerParams) WithContext(ctx context.Context) *CreateLoadBalancerParams
- func (o *CreateLoadBalancerParams) WithDefaults() *CreateLoadBalancerParams
- func (o *CreateLoadBalancerParams) WithHTTPClient(client *http.Client) *CreateLoadBalancerParams
- func (o *CreateLoadBalancerParams) WithTimeout(timeout time.Duration) *CreateLoadBalancerParams
- func (o *CreateLoadBalancerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateLoadBalancerReader
- type DeleteLoadBalancerAccepted
- type DeleteLoadBalancerForbidden
- type DeleteLoadBalancerOperationAccepted
- type DeleteLoadBalancerOperationForbidden
- type DeleteLoadBalancerOperationParams
- func NewDeleteLoadBalancerOperationParams() *DeleteLoadBalancerOperationParams
- func NewDeleteLoadBalancerOperationParamsWithContext(ctx context.Context) *DeleteLoadBalancerOperationParams
- func NewDeleteLoadBalancerOperationParamsWithHTTPClient(client *http.Client) *DeleteLoadBalancerOperationParams
- func NewDeleteLoadBalancerOperationParamsWithTimeout(timeout time.Duration) *DeleteLoadBalancerOperationParams
- func (o *DeleteLoadBalancerOperationParams) SetAPIVersion(aPIVersion *string)
- func (o *DeleteLoadBalancerOperationParams) SetContext(ctx context.Context)
- func (o *DeleteLoadBalancerOperationParams) SetDefaults()
- func (o *DeleteLoadBalancerOperationParams) SetForceDelete(forceDelete *bool)
- func (o *DeleteLoadBalancerOperationParams) SetHTTPClient(client *http.Client)
- func (o *DeleteLoadBalancerOperationParams) SetID(id string)
- func (o *DeleteLoadBalancerOperationParams) SetTimeout(timeout time.Duration)
- func (o *DeleteLoadBalancerOperationParams) WithAPIVersion(aPIVersion *string) *DeleteLoadBalancerOperationParams
- func (o *DeleteLoadBalancerOperationParams) WithContext(ctx context.Context) *DeleteLoadBalancerOperationParams
- func (o *DeleteLoadBalancerOperationParams) WithDefaults() *DeleteLoadBalancerOperationParams
- func (o *DeleteLoadBalancerOperationParams) WithForceDelete(forceDelete *bool) *DeleteLoadBalancerOperationParams
- func (o *DeleteLoadBalancerOperationParams) WithHTTPClient(client *http.Client) *DeleteLoadBalancerOperationParams
- func (o *DeleteLoadBalancerOperationParams) WithID(id string) *DeleteLoadBalancerOperationParams
- func (o *DeleteLoadBalancerOperationParams) WithTimeout(timeout time.Duration) *DeleteLoadBalancerOperationParams
- func (o *DeleteLoadBalancerOperationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteLoadBalancerOperationReader
- type DeleteLoadBalancerParams
- func NewDeleteLoadBalancerParams() *DeleteLoadBalancerParams
- func NewDeleteLoadBalancerParamsWithContext(ctx context.Context) *DeleteLoadBalancerParams
- func NewDeleteLoadBalancerParamsWithHTTPClient(client *http.Client) *DeleteLoadBalancerParams
- func NewDeleteLoadBalancerParamsWithTimeout(timeout time.Duration) *DeleteLoadBalancerParams
- func (o *DeleteLoadBalancerParams) SetAPIVersion(aPIVersion *string)
- func (o *DeleteLoadBalancerParams) SetContext(ctx context.Context)
- func (o *DeleteLoadBalancerParams) SetDefaults()
- func (o *DeleteLoadBalancerParams) SetForceDelete(forceDelete *bool)
- func (o *DeleteLoadBalancerParams) SetHTTPClient(client *http.Client)
- func (o *DeleteLoadBalancerParams) SetID(id string)
- func (o *DeleteLoadBalancerParams) SetTimeout(timeout time.Duration)
- func (o *DeleteLoadBalancerParams) WithAPIVersion(aPIVersion *string) *DeleteLoadBalancerParams
- func (o *DeleteLoadBalancerParams) WithContext(ctx context.Context) *DeleteLoadBalancerParams
- func (o *DeleteLoadBalancerParams) WithDefaults() *DeleteLoadBalancerParams
- func (o *DeleteLoadBalancerParams) WithForceDelete(forceDelete *bool) *DeleteLoadBalancerParams
- func (o *DeleteLoadBalancerParams) WithHTTPClient(client *http.Client) *DeleteLoadBalancerParams
- func (o *DeleteLoadBalancerParams) WithID(id string) *DeleteLoadBalancerParams
- func (o *DeleteLoadBalancerParams) WithTimeout(timeout time.Duration) *DeleteLoadBalancerParams
- func (o *DeleteLoadBalancerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteLoadBalancerReader
- type GetLoadBalancerForbidden
- type GetLoadBalancerNetworkInterfaceForbidden
- type GetLoadBalancerNetworkInterfaceNotFound
- type GetLoadBalancerNetworkInterfaceOK
- type GetLoadBalancerNetworkInterfaceParams
- func NewGetLoadBalancerNetworkInterfaceParams() *GetLoadBalancerNetworkInterfaceParams
- func NewGetLoadBalancerNetworkInterfaceParamsWithContext(ctx context.Context) *GetLoadBalancerNetworkInterfaceParams
- func NewGetLoadBalancerNetworkInterfaceParamsWithHTTPClient(client *http.Client) *GetLoadBalancerNetworkInterfaceParams
- func NewGetLoadBalancerNetworkInterfaceParamsWithTimeout(timeout time.Duration) *GetLoadBalancerNetworkInterfaceParams
- func (o *GetLoadBalancerNetworkInterfaceParams) SetAPIVersion(aPIVersion *string)
- func (o *GetLoadBalancerNetworkInterfaceParams) SetContext(ctx context.Context)
- func (o *GetLoadBalancerNetworkInterfaceParams) SetDefaults()
- func (o *GetLoadBalancerNetworkInterfaceParams) SetHTTPClient(client *http.Client)
- func (o *GetLoadBalancerNetworkInterfaceParams) SetID(id string)
- func (o *GetLoadBalancerNetworkInterfaceParams) SetId1(id1 string)
- func (o *GetLoadBalancerNetworkInterfaceParams) SetTimeout(timeout time.Duration)
- func (o *GetLoadBalancerNetworkInterfaceParams) WithAPIVersion(aPIVersion *string) *GetLoadBalancerNetworkInterfaceParams
- func (o *GetLoadBalancerNetworkInterfaceParams) WithContext(ctx context.Context) *GetLoadBalancerNetworkInterfaceParams
- func (o *GetLoadBalancerNetworkInterfaceParams) WithDefaults() *GetLoadBalancerNetworkInterfaceParams
- func (o *GetLoadBalancerNetworkInterfaceParams) WithHTTPClient(client *http.Client) *GetLoadBalancerNetworkInterfaceParams
- func (o *GetLoadBalancerNetworkInterfaceParams) WithID(id string) *GetLoadBalancerNetworkInterfaceParams
- func (o *GetLoadBalancerNetworkInterfaceParams) WithId1(id1 string) *GetLoadBalancerNetworkInterfaceParams
- func (o *GetLoadBalancerNetworkInterfaceParams) WithTimeout(timeout time.Duration) *GetLoadBalancerNetworkInterfaceParams
- func (o *GetLoadBalancerNetworkInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLoadBalancerNetworkInterfaceReader
- type GetLoadBalancerNotFound
- type GetLoadBalancerOK
- type GetLoadBalancerParams
- func NewGetLoadBalancerParams() *GetLoadBalancerParams
- func NewGetLoadBalancerParamsWithContext(ctx context.Context) *GetLoadBalancerParams
- func NewGetLoadBalancerParamsWithHTTPClient(client *http.Client) *GetLoadBalancerParams
- func NewGetLoadBalancerParamsWithTimeout(timeout time.Duration) *GetLoadBalancerParams
- func (o *GetLoadBalancerParams) SetAPIVersion(aPIVersion *string)
- func (o *GetLoadBalancerParams) SetContext(ctx context.Context)
- func (o *GetLoadBalancerParams) SetDefaults()
- func (o *GetLoadBalancerParams) SetHTTPClient(client *http.Client)
- func (o *GetLoadBalancerParams) SetID(id string)
- func (o *GetLoadBalancerParams) SetTimeout(timeout time.Duration)
- func (o *GetLoadBalancerParams) WithAPIVersion(aPIVersion *string) *GetLoadBalancerParams
- func (o *GetLoadBalancerParams) WithContext(ctx context.Context) *GetLoadBalancerParams
- func (o *GetLoadBalancerParams) WithDefaults() *GetLoadBalancerParams
- func (o *GetLoadBalancerParams) WithHTTPClient(client *http.Client) *GetLoadBalancerParams
- func (o *GetLoadBalancerParams) WithID(id string) *GetLoadBalancerParams
- func (o *GetLoadBalancerParams) WithTimeout(timeout time.Duration) *GetLoadBalancerParams
- func (o *GetLoadBalancerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLoadBalancerReader
- type GetLoadBalancersForbidden
- type GetLoadBalancersOK
- type GetLoadBalancersParams
- func NewGetLoadBalancersParams() *GetLoadBalancersParams
- func NewGetLoadBalancersParamsWithContext(ctx context.Context) *GetLoadBalancersParams
- func NewGetLoadBalancersParamsWithHTTPClient(client *http.Client) *GetLoadBalancersParams
- func NewGetLoadBalancersParamsWithTimeout(timeout time.Duration) *GetLoadBalancersParams
- func (o *GetLoadBalancersParams) SetAPIVersion(aPIVersion *string)
- func (o *GetLoadBalancersParams) SetContext(ctx context.Context)
- func (o *GetLoadBalancersParams) SetDefaults()
- func (o *GetLoadBalancersParams) SetHTTPClient(client *http.Client)
- func (o *GetLoadBalancersParams) SetTimeout(timeout time.Duration)
- func (o *GetLoadBalancersParams) WithAPIVersion(aPIVersion *string) *GetLoadBalancersParams
- func (o *GetLoadBalancersParams) WithContext(ctx context.Context) *GetLoadBalancersParams
- func (o *GetLoadBalancersParams) WithDefaults() *GetLoadBalancersParams
- func (o *GetLoadBalancersParams) WithHTTPClient(client *http.Client) *GetLoadBalancersParams
- func (o *GetLoadBalancersParams) WithTimeout(timeout time.Duration) *GetLoadBalancersParams
- func (o *GetLoadBalancersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLoadBalancersReader
- type ScaleLoadBalancerAccepted
- type ScaleLoadBalancerForbidden
- type ScaleLoadBalancerNotFound
- type ScaleLoadBalancerParams
- func NewScaleLoadBalancerParams() *ScaleLoadBalancerParams
- func NewScaleLoadBalancerParamsWithContext(ctx context.Context) *ScaleLoadBalancerParams
- func NewScaleLoadBalancerParamsWithHTTPClient(client *http.Client) *ScaleLoadBalancerParams
- func NewScaleLoadBalancerParamsWithTimeout(timeout time.Duration) *ScaleLoadBalancerParams
- func (o *ScaleLoadBalancerParams) SetAPIVersion(aPIVersion *string)
- func (o *ScaleLoadBalancerParams) SetBody(body *models.LoadBalancerSpecification)
- func (o *ScaleLoadBalancerParams) SetContext(ctx context.Context)
- func (o *ScaleLoadBalancerParams) SetDefaults()
- func (o *ScaleLoadBalancerParams) SetHTTPClient(client *http.Client)
- func (o *ScaleLoadBalancerParams) SetID(id string)
- func (o *ScaleLoadBalancerParams) SetTimeout(timeout time.Duration)
- func (o *ScaleLoadBalancerParams) WithAPIVersion(aPIVersion *string) *ScaleLoadBalancerParams
- func (o *ScaleLoadBalancerParams) WithBody(body *models.LoadBalancerSpecification) *ScaleLoadBalancerParams
- func (o *ScaleLoadBalancerParams) WithContext(ctx context.Context) *ScaleLoadBalancerParams
- func (o *ScaleLoadBalancerParams) WithDefaults() *ScaleLoadBalancerParams
- func (o *ScaleLoadBalancerParams) WithHTTPClient(client *http.Client) *ScaleLoadBalancerParams
- func (o *ScaleLoadBalancerParams) WithID(id string) *ScaleLoadBalancerParams
- func (o *ScaleLoadBalancerParams) WithTimeout(timeout time.Duration) *ScaleLoadBalancerParams
- func (o *ScaleLoadBalancerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ScaleLoadBalancerReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for load balancer API
func (*Client) CreateLoadBalancer ¶
func (a *Client) CreateLoadBalancer(params *CreateLoadBalancerParams, opts ...ClientOption) (*CreateLoadBalancerAccepted, error)
CreateLoadBalancer creates load balancer
Create load balancer
func (*Client) DeleteLoadBalancer ¶
func (a *Client) DeleteLoadBalancer(params *DeleteLoadBalancerParams, opts ...ClientOption) (*DeleteLoadBalancerAccepted, error)
DeleteLoadBalancer deletes load balancer
Delete load balancer with a given id
func (*Client) DeleteLoadBalancerOperation ¶
func (a *Client) DeleteLoadBalancerOperation(params *DeleteLoadBalancerOperationParams, opts ...ClientOption) (*DeleteLoadBalancerOperationAccepted, error)
DeleteLoadBalancerOperation deletes operation for load balancer
Second day delete operation for load balancer
func (*Client) GetLoadBalancer ¶
func (a *Client) GetLoadBalancer(params *GetLoadBalancerParams, opts ...ClientOption) (*GetLoadBalancerOK, error)
GetLoadBalancer gets load balancer
Get load balancer with a given id
func (*Client) GetLoadBalancerNetworkInterface ¶ added in v0.2.3
func (a *Client) GetLoadBalancerNetworkInterface(params *GetLoadBalancerNetworkInterfaceParams, opts ...ClientOption) (*GetLoadBalancerNetworkInterfaceOK, error)
GetLoadBalancerNetworkInterface gets load balancer network interface
Get network interface with a given id for specific load balancer
func (*Client) GetLoadBalancers ¶
func (a *Client) GetLoadBalancers(params *GetLoadBalancersParams, opts ...ClientOption) (*GetLoadBalancersOK, error)
GetLoadBalancers gets load balancers
Get all load balancers
func (*Client) ScaleLoadBalancer ¶
func (a *Client) ScaleLoadBalancer(params *ScaleLoadBalancerParams, opts ...ClientOption) (*ScaleLoadBalancerAccepted, error)
ScaleLoadBalancer scales operation for load balancer
Second day scale operation for load balancer
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v0.2.20
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v0.2.18
type ClientService interface { CreateLoadBalancer(params *CreateLoadBalancerParams, opts ...ClientOption) (*CreateLoadBalancerAccepted, error) DeleteLoadBalancer(params *DeleteLoadBalancerParams, opts ...ClientOption) (*DeleteLoadBalancerAccepted, error) DeleteLoadBalancerOperation(params *DeleteLoadBalancerOperationParams, opts ...ClientOption) (*DeleteLoadBalancerOperationAccepted, error) GetLoadBalancer(params *GetLoadBalancerParams, opts ...ClientOption) (*GetLoadBalancerOK, error) GetLoadBalancerNetworkInterface(params *GetLoadBalancerNetworkInterfaceParams, opts ...ClientOption) (*GetLoadBalancerNetworkInterfaceOK, error) GetLoadBalancers(params *GetLoadBalancersParams, opts ...ClientOption) (*GetLoadBalancersOK, error) ScaleLoadBalancer(params *ScaleLoadBalancerParams, opts ...ClientOption) (*ScaleLoadBalancerAccepted, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new load balancer API client.
type CreateLoadBalancerAccepted ¶
type CreateLoadBalancerAccepted struct {
Payload *models.RequestTracker
}
CreateLoadBalancerAccepted describes a response with status code 202, with default header values.
successful operation
func NewCreateLoadBalancerAccepted ¶
func NewCreateLoadBalancerAccepted() *CreateLoadBalancerAccepted
NewCreateLoadBalancerAccepted creates a CreateLoadBalancerAccepted with default headers values
func (*CreateLoadBalancerAccepted) Error ¶
func (o *CreateLoadBalancerAccepted) Error() string
func (*CreateLoadBalancerAccepted) GetPayload ¶
func (o *CreateLoadBalancerAccepted) GetPayload() *models.RequestTracker
type CreateLoadBalancerBadRequest ¶
CreateLoadBalancerBadRequest describes a response with status code 400, with default header values.
Invalid Request - bad data
func NewCreateLoadBalancerBadRequest ¶
func NewCreateLoadBalancerBadRequest() *CreateLoadBalancerBadRequest
NewCreateLoadBalancerBadRequest creates a CreateLoadBalancerBadRequest with default headers values
func (*CreateLoadBalancerBadRequest) Error ¶
func (o *CreateLoadBalancerBadRequest) Error() string
func (*CreateLoadBalancerBadRequest) GetPayload ¶ added in v0.2.9
func (o *CreateLoadBalancerBadRequest) GetPayload() *models.Error
type CreateLoadBalancerForbidden ¶
type CreateLoadBalancerForbidden struct {
Payload *models.ServiceErrorResponse
}
CreateLoadBalancerForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateLoadBalancerForbidden ¶
func NewCreateLoadBalancerForbidden() *CreateLoadBalancerForbidden
NewCreateLoadBalancerForbidden creates a CreateLoadBalancerForbidden with default headers values
func (*CreateLoadBalancerForbidden) Error ¶
func (o *CreateLoadBalancerForbidden) Error() string
func (*CreateLoadBalancerForbidden) GetPayload ¶ added in v0.2.20
func (o *CreateLoadBalancerForbidden) GetPayload() *models.ServiceErrorResponse
type CreateLoadBalancerNotFound ¶ added in v0.2.3
CreateLoadBalancerNotFound describes a response with status code 404, with default header values.
Input(s) not Found
func NewCreateLoadBalancerNotFound ¶ added in v0.2.3
func NewCreateLoadBalancerNotFound() *CreateLoadBalancerNotFound
NewCreateLoadBalancerNotFound creates a CreateLoadBalancerNotFound with default headers values
func (*CreateLoadBalancerNotFound) Error ¶ added in v0.2.3
func (o *CreateLoadBalancerNotFound) Error() string
func (*CreateLoadBalancerNotFound) GetPayload ¶ added in v0.2.9
func (o *CreateLoadBalancerNotFound) GetPayload() *models.Error
type CreateLoadBalancerParams ¶
type CreateLoadBalancerParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /* Body. LoadBalancer Specification instance */ Body *models.LoadBalancerSpecification Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateLoadBalancerParams contains all the parameters to send to the API endpoint
for the create load balancer operation. Typically these are written to a http.Request.
func NewCreateLoadBalancerParams ¶
func NewCreateLoadBalancerParams() *CreateLoadBalancerParams
NewCreateLoadBalancerParams creates a new CreateLoadBalancerParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateLoadBalancerParamsWithContext ¶
func NewCreateLoadBalancerParamsWithContext(ctx context.Context) *CreateLoadBalancerParams
NewCreateLoadBalancerParamsWithContext creates a new CreateLoadBalancerParams object with the ability to set a context for a request.
func NewCreateLoadBalancerParamsWithHTTPClient ¶
func NewCreateLoadBalancerParamsWithHTTPClient(client *http.Client) *CreateLoadBalancerParams
NewCreateLoadBalancerParamsWithHTTPClient creates a new CreateLoadBalancerParams object with the ability to set a custom HTTPClient for a request.
func NewCreateLoadBalancerParamsWithTimeout ¶
func NewCreateLoadBalancerParamsWithTimeout(timeout time.Duration) *CreateLoadBalancerParams
NewCreateLoadBalancerParamsWithTimeout creates a new CreateLoadBalancerParams object with the ability to set a timeout on a request.
func (*CreateLoadBalancerParams) SetAPIVersion ¶
func (o *CreateLoadBalancerParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the create load balancer params
func (*CreateLoadBalancerParams) SetBody ¶
func (o *CreateLoadBalancerParams) SetBody(body *models.LoadBalancerSpecification)
SetBody adds the body to the create load balancer params
func (*CreateLoadBalancerParams) SetContext ¶
func (o *CreateLoadBalancerParams) SetContext(ctx context.Context)
SetContext adds the context to the create load balancer params
func (*CreateLoadBalancerParams) SetDefaults ¶ added in v0.2.20
func (o *CreateLoadBalancerParams) SetDefaults()
SetDefaults hydrates default values in the create load balancer params (not the query body).
All values with no default are reset to their zero value.
func (*CreateLoadBalancerParams) SetHTTPClient ¶
func (o *CreateLoadBalancerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create load balancer params
func (*CreateLoadBalancerParams) SetTimeout ¶
func (o *CreateLoadBalancerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create load balancer params
func (*CreateLoadBalancerParams) WithAPIVersion ¶
func (o *CreateLoadBalancerParams) WithAPIVersion(aPIVersion *string) *CreateLoadBalancerParams
WithAPIVersion adds the aPIVersion to the create load balancer params
func (*CreateLoadBalancerParams) WithBody ¶
func (o *CreateLoadBalancerParams) WithBody(body *models.LoadBalancerSpecification) *CreateLoadBalancerParams
WithBody adds the body to the create load balancer params
func (*CreateLoadBalancerParams) WithContext ¶
func (o *CreateLoadBalancerParams) WithContext(ctx context.Context) *CreateLoadBalancerParams
WithContext adds the context to the create load balancer params
func (*CreateLoadBalancerParams) WithDefaults ¶ added in v0.2.20
func (o *CreateLoadBalancerParams) WithDefaults() *CreateLoadBalancerParams
WithDefaults hydrates default values in the create load balancer params (not the query body).
All values with no default are reset to their zero value.
func (*CreateLoadBalancerParams) WithHTTPClient ¶
func (o *CreateLoadBalancerParams) WithHTTPClient(client *http.Client) *CreateLoadBalancerParams
WithHTTPClient adds the HTTPClient to the create load balancer params
func (*CreateLoadBalancerParams) WithTimeout ¶
func (o *CreateLoadBalancerParams) WithTimeout(timeout time.Duration) *CreateLoadBalancerParams
WithTimeout adds the timeout to the create load balancer params
func (*CreateLoadBalancerParams) WriteToRequest ¶
func (o *CreateLoadBalancerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateLoadBalancerReader ¶
type CreateLoadBalancerReader struct {
// contains filtered or unexported fields
}
CreateLoadBalancerReader is a Reader for the CreateLoadBalancer structure.
func (*CreateLoadBalancerReader) ReadResponse ¶
func (o *CreateLoadBalancerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteLoadBalancerAccepted ¶
type DeleteLoadBalancerAccepted struct {
Payload *models.RequestTracker
}
DeleteLoadBalancerAccepted describes a response with status code 202, with default header values.
successful operation
func NewDeleteLoadBalancerAccepted ¶
func NewDeleteLoadBalancerAccepted() *DeleteLoadBalancerAccepted
NewDeleteLoadBalancerAccepted creates a DeleteLoadBalancerAccepted with default headers values
func (*DeleteLoadBalancerAccepted) Error ¶
func (o *DeleteLoadBalancerAccepted) Error() string
func (*DeleteLoadBalancerAccepted) GetPayload ¶
func (o *DeleteLoadBalancerAccepted) GetPayload() *models.RequestTracker
type DeleteLoadBalancerForbidden ¶
type DeleteLoadBalancerForbidden struct {
Payload *models.ServiceErrorResponse
}
DeleteLoadBalancerForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteLoadBalancerForbidden ¶
func NewDeleteLoadBalancerForbidden() *DeleteLoadBalancerForbidden
NewDeleteLoadBalancerForbidden creates a DeleteLoadBalancerForbidden with default headers values
func (*DeleteLoadBalancerForbidden) Error ¶
func (o *DeleteLoadBalancerForbidden) Error() string
func (*DeleteLoadBalancerForbidden) GetPayload ¶ added in v0.2.20
func (o *DeleteLoadBalancerForbidden) GetPayload() *models.ServiceErrorResponse
type DeleteLoadBalancerOperationAccepted ¶
type DeleteLoadBalancerOperationAccepted struct {
Payload *models.RequestTracker
}
DeleteLoadBalancerOperationAccepted describes a response with status code 202, with default header values.
successful operation
func NewDeleteLoadBalancerOperationAccepted ¶
func NewDeleteLoadBalancerOperationAccepted() *DeleteLoadBalancerOperationAccepted
NewDeleteLoadBalancerOperationAccepted creates a DeleteLoadBalancerOperationAccepted with default headers values
func (*DeleteLoadBalancerOperationAccepted) Error ¶
func (o *DeleteLoadBalancerOperationAccepted) Error() string
func (*DeleteLoadBalancerOperationAccepted) GetPayload ¶
func (o *DeleteLoadBalancerOperationAccepted) GetPayload() *models.RequestTracker
type DeleteLoadBalancerOperationForbidden ¶
type DeleteLoadBalancerOperationForbidden struct {
Payload *models.ServiceErrorResponse
}
DeleteLoadBalancerOperationForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteLoadBalancerOperationForbidden ¶
func NewDeleteLoadBalancerOperationForbidden() *DeleteLoadBalancerOperationForbidden
NewDeleteLoadBalancerOperationForbidden creates a DeleteLoadBalancerOperationForbidden with default headers values
func (*DeleteLoadBalancerOperationForbidden) Error ¶
func (o *DeleteLoadBalancerOperationForbidden) Error() string
func (*DeleteLoadBalancerOperationForbidden) GetPayload ¶ added in v0.2.20
func (o *DeleteLoadBalancerOperationForbidden) GetPayload() *models.ServiceErrorResponse
type DeleteLoadBalancerOperationParams ¶
type DeleteLoadBalancerOperationParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /* ForceDelete. Controls whether this is a force delete operation. If true, best effort is made for deleting this load balancer. Use with caution as force deleting may cause inconsistencies between the cloud provider and vRA. */ ForceDelete *bool /* ID. The ID of the load balancer. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteLoadBalancerOperationParams contains all the parameters to send to the API endpoint
for the delete load balancer operation operation. Typically these are written to a http.Request.
func NewDeleteLoadBalancerOperationParams ¶
func NewDeleteLoadBalancerOperationParams() *DeleteLoadBalancerOperationParams
NewDeleteLoadBalancerOperationParams creates a new DeleteLoadBalancerOperationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteLoadBalancerOperationParamsWithContext ¶
func NewDeleteLoadBalancerOperationParamsWithContext(ctx context.Context) *DeleteLoadBalancerOperationParams
NewDeleteLoadBalancerOperationParamsWithContext creates a new DeleteLoadBalancerOperationParams object with the ability to set a context for a request.
func NewDeleteLoadBalancerOperationParamsWithHTTPClient ¶
func NewDeleteLoadBalancerOperationParamsWithHTTPClient(client *http.Client) *DeleteLoadBalancerOperationParams
NewDeleteLoadBalancerOperationParamsWithHTTPClient creates a new DeleteLoadBalancerOperationParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteLoadBalancerOperationParamsWithTimeout ¶
func NewDeleteLoadBalancerOperationParamsWithTimeout(timeout time.Duration) *DeleteLoadBalancerOperationParams
NewDeleteLoadBalancerOperationParamsWithTimeout creates a new DeleteLoadBalancerOperationParams object with the ability to set a timeout on a request.
func (*DeleteLoadBalancerOperationParams) SetAPIVersion ¶
func (o *DeleteLoadBalancerOperationParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the delete load balancer operation params
func (*DeleteLoadBalancerOperationParams) SetContext ¶
func (o *DeleteLoadBalancerOperationParams) SetContext(ctx context.Context)
SetContext adds the context to the delete load balancer operation params
func (*DeleteLoadBalancerOperationParams) SetDefaults ¶ added in v0.2.20
func (o *DeleteLoadBalancerOperationParams) SetDefaults()
SetDefaults hydrates default values in the delete load balancer operation params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteLoadBalancerOperationParams) SetForceDelete ¶ added in v0.2.8
func (o *DeleteLoadBalancerOperationParams) SetForceDelete(forceDelete *bool)
SetForceDelete adds the forceDelete to the delete load balancer operation params
func (*DeleteLoadBalancerOperationParams) SetHTTPClient ¶
func (o *DeleteLoadBalancerOperationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete load balancer operation params
func (*DeleteLoadBalancerOperationParams) SetID ¶
func (o *DeleteLoadBalancerOperationParams) SetID(id string)
SetID adds the id to the delete load balancer operation params
func (*DeleteLoadBalancerOperationParams) SetTimeout ¶
func (o *DeleteLoadBalancerOperationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete load balancer operation params
func (*DeleteLoadBalancerOperationParams) WithAPIVersion ¶
func (o *DeleteLoadBalancerOperationParams) WithAPIVersion(aPIVersion *string) *DeleteLoadBalancerOperationParams
WithAPIVersion adds the aPIVersion to the delete load balancer operation params
func (*DeleteLoadBalancerOperationParams) WithContext ¶
func (o *DeleteLoadBalancerOperationParams) WithContext(ctx context.Context) *DeleteLoadBalancerOperationParams
WithContext adds the context to the delete load balancer operation params
func (*DeleteLoadBalancerOperationParams) WithDefaults ¶ added in v0.2.20
func (o *DeleteLoadBalancerOperationParams) WithDefaults() *DeleteLoadBalancerOperationParams
WithDefaults hydrates default values in the delete load balancer operation params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteLoadBalancerOperationParams) WithForceDelete ¶ added in v0.2.8
func (o *DeleteLoadBalancerOperationParams) WithForceDelete(forceDelete *bool) *DeleteLoadBalancerOperationParams
WithForceDelete adds the forceDelete to the delete load balancer operation params
func (*DeleteLoadBalancerOperationParams) WithHTTPClient ¶
func (o *DeleteLoadBalancerOperationParams) WithHTTPClient(client *http.Client) *DeleteLoadBalancerOperationParams
WithHTTPClient adds the HTTPClient to the delete load balancer operation params
func (*DeleteLoadBalancerOperationParams) WithID ¶
func (o *DeleteLoadBalancerOperationParams) WithID(id string) *DeleteLoadBalancerOperationParams
WithID adds the id to the delete load balancer operation params
func (*DeleteLoadBalancerOperationParams) WithTimeout ¶
func (o *DeleteLoadBalancerOperationParams) WithTimeout(timeout time.Duration) *DeleteLoadBalancerOperationParams
WithTimeout adds the timeout to the delete load balancer operation params
func (*DeleteLoadBalancerOperationParams) WriteToRequest ¶
func (o *DeleteLoadBalancerOperationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteLoadBalancerOperationReader ¶
type DeleteLoadBalancerOperationReader struct {
// contains filtered or unexported fields
}
DeleteLoadBalancerOperationReader is a Reader for the DeleteLoadBalancerOperation structure.
func (*DeleteLoadBalancerOperationReader) ReadResponse ¶
func (o *DeleteLoadBalancerOperationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteLoadBalancerParams ¶
type DeleteLoadBalancerParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /* ForceDelete. Controls whether this is a force delete operation. If true, best effort is made for deleting this load balancer. Use with caution as force deleting may cause inconsistencies between the cloud provider and vRA. */ ForceDelete *bool /* ID. The ID of the load balancer. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteLoadBalancerParams contains all the parameters to send to the API endpoint
for the delete load balancer operation. Typically these are written to a http.Request.
func NewDeleteLoadBalancerParams ¶
func NewDeleteLoadBalancerParams() *DeleteLoadBalancerParams
NewDeleteLoadBalancerParams creates a new DeleteLoadBalancerParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteLoadBalancerParamsWithContext ¶
func NewDeleteLoadBalancerParamsWithContext(ctx context.Context) *DeleteLoadBalancerParams
NewDeleteLoadBalancerParamsWithContext creates a new DeleteLoadBalancerParams object with the ability to set a context for a request.
func NewDeleteLoadBalancerParamsWithHTTPClient ¶
func NewDeleteLoadBalancerParamsWithHTTPClient(client *http.Client) *DeleteLoadBalancerParams
NewDeleteLoadBalancerParamsWithHTTPClient creates a new DeleteLoadBalancerParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteLoadBalancerParamsWithTimeout ¶
func NewDeleteLoadBalancerParamsWithTimeout(timeout time.Duration) *DeleteLoadBalancerParams
NewDeleteLoadBalancerParamsWithTimeout creates a new DeleteLoadBalancerParams object with the ability to set a timeout on a request.
func (*DeleteLoadBalancerParams) SetAPIVersion ¶
func (o *DeleteLoadBalancerParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the delete load balancer params
func (*DeleteLoadBalancerParams) SetContext ¶
func (o *DeleteLoadBalancerParams) SetContext(ctx context.Context)
SetContext adds the context to the delete load balancer params
func (*DeleteLoadBalancerParams) SetDefaults ¶ added in v0.2.20
func (o *DeleteLoadBalancerParams) SetDefaults()
SetDefaults hydrates default values in the delete load balancer params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteLoadBalancerParams) SetForceDelete ¶ added in v0.2.8
func (o *DeleteLoadBalancerParams) SetForceDelete(forceDelete *bool)
SetForceDelete adds the forceDelete to the delete load balancer params
func (*DeleteLoadBalancerParams) SetHTTPClient ¶
func (o *DeleteLoadBalancerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete load balancer params
func (*DeleteLoadBalancerParams) SetID ¶
func (o *DeleteLoadBalancerParams) SetID(id string)
SetID adds the id to the delete load balancer params
func (*DeleteLoadBalancerParams) SetTimeout ¶
func (o *DeleteLoadBalancerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete load balancer params
func (*DeleteLoadBalancerParams) WithAPIVersion ¶
func (o *DeleteLoadBalancerParams) WithAPIVersion(aPIVersion *string) *DeleteLoadBalancerParams
WithAPIVersion adds the aPIVersion to the delete load balancer params
func (*DeleteLoadBalancerParams) WithContext ¶
func (o *DeleteLoadBalancerParams) WithContext(ctx context.Context) *DeleteLoadBalancerParams
WithContext adds the context to the delete load balancer params
func (*DeleteLoadBalancerParams) WithDefaults ¶ added in v0.2.20
func (o *DeleteLoadBalancerParams) WithDefaults() *DeleteLoadBalancerParams
WithDefaults hydrates default values in the delete load balancer params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteLoadBalancerParams) WithForceDelete ¶ added in v0.2.8
func (o *DeleteLoadBalancerParams) WithForceDelete(forceDelete *bool) *DeleteLoadBalancerParams
WithForceDelete adds the forceDelete to the delete load balancer params
func (*DeleteLoadBalancerParams) WithHTTPClient ¶
func (o *DeleteLoadBalancerParams) WithHTTPClient(client *http.Client) *DeleteLoadBalancerParams
WithHTTPClient adds the HTTPClient to the delete load balancer params
func (*DeleteLoadBalancerParams) WithID ¶
func (o *DeleteLoadBalancerParams) WithID(id string) *DeleteLoadBalancerParams
WithID adds the id to the delete load balancer params
func (*DeleteLoadBalancerParams) WithTimeout ¶
func (o *DeleteLoadBalancerParams) WithTimeout(timeout time.Duration) *DeleteLoadBalancerParams
WithTimeout adds the timeout to the delete load balancer params
func (*DeleteLoadBalancerParams) WriteToRequest ¶
func (o *DeleteLoadBalancerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteLoadBalancerReader ¶
type DeleteLoadBalancerReader struct {
// contains filtered or unexported fields
}
DeleteLoadBalancerReader is a Reader for the DeleteLoadBalancer structure.
func (*DeleteLoadBalancerReader) ReadResponse ¶
func (o *DeleteLoadBalancerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLoadBalancerForbidden ¶
type GetLoadBalancerForbidden struct {
Payload *models.ServiceErrorResponse
}
GetLoadBalancerForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetLoadBalancerForbidden ¶
func NewGetLoadBalancerForbidden() *GetLoadBalancerForbidden
NewGetLoadBalancerForbidden creates a GetLoadBalancerForbidden with default headers values
func (*GetLoadBalancerForbidden) Error ¶
func (o *GetLoadBalancerForbidden) Error() string
func (*GetLoadBalancerForbidden) GetPayload ¶ added in v0.2.20
func (o *GetLoadBalancerForbidden) GetPayload() *models.ServiceErrorResponse
type GetLoadBalancerNetworkInterfaceForbidden ¶ added in v0.2.3
type GetLoadBalancerNetworkInterfaceForbidden struct {
Payload *models.ServiceErrorResponse
}
GetLoadBalancerNetworkInterfaceForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetLoadBalancerNetworkInterfaceForbidden ¶ added in v0.2.3
func NewGetLoadBalancerNetworkInterfaceForbidden() *GetLoadBalancerNetworkInterfaceForbidden
NewGetLoadBalancerNetworkInterfaceForbidden creates a GetLoadBalancerNetworkInterfaceForbidden with default headers values
func (*GetLoadBalancerNetworkInterfaceForbidden) Error ¶ added in v0.2.3
func (o *GetLoadBalancerNetworkInterfaceForbidden) Error() string
func (*GetLoadBalancerNetworkInterfaceForbidden) GetPayload ¶ added in v0.2.20
func (o *GetLoadBalancerNetworkInterfaceForbidden) GetPayload() *models.ServiceErrorResponse
type GetLoadBalancerNetworkInterfaceNotFound ¶ added in v0.2.3
GetLoadBalancerNetworkInterfaceNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetLoadBalancerNetworkInterfaceNotFound ¶ added in v0.2.3
func NewGetLoadBalancerNetworkInterfaceNotFound() *GetLoadBalancerNetworkInterfaceNotFound
NewGetLoadBalancerNetworkInterfaceNotFound creates a GetLoadBalancerNetworkInterfaceNotFound with default headers values
func (*GetLoadBalancerNetworkInterfaceNotFound) Error ¶ added in v0.2.3
func (o *GetLoadBalancerNetworkInterfaceNotFound) Error() string
func (*GetLoadBalancerNetworkInterfaceNotFound) GetPayload ¶ added in v0.2.9
func (o *GetLoadBalancerNetworkInterfaceNotFound) GetPayload() *models.Error
type GetLoadBalancerNetworkInterfaceOK ¶ added in v0.2.3
type GetLoadBalancerNetworkInterfaceOK struct {
Payload *models.NetworkInterface
}
GetLoadBalancerNetworkInterfaceOK describes a response with status code 200, with default header values.
successful operation
func NewGetLoadBalancerNetworkInterfaceOK ¶ added in v0.2.3
func NewGetLoadBalancerNetworkInterfaceOK() *GetLoadBalancerNetworkInterfaceOK
NewGetLoadBalancerNetworkInterfaceOK creates a GetLoadBalancerNetworkInterfaceOK with default headers values
func (*GetLoadBalancerNetworkInterfaceOK) Error ¶ added in v0.2.3
func (o *GetLoadBalancerNetworkInterfaceOK) Error() string
func (*GetLoadBalancerNetworkInterfaceOK) GetPayload ¶ added in v0.2.3
func (o *GetLoadBalancerNetworkInterfaceOK) GetPayload() *models.NetworkInterface
type GetLoadBalancerNetworkInterfaceParams ¶ added in v0.2.3
type GetLoadBalancerNetworkInterfaceParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /* ID. The ID of the load balancer. */ ID string /* Id1. The ID of the network interface. */ Id1 string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLoadBalancerNetworkInterfaceParams contains all the parameters to send to the API endpoint
for the get load balancer network interface operation. Typically these are written to a http.Request.
func NewGetLoadBalancerNetworkInterfaceParams ¶ added in v0.2.3
func NewGetLoadBalancerNetworkInterfaceParams() *GetLoadBalancerNetworkInterfaceParams
NewGetLoadBalancerNetworkInterfaceParams creates a new GetLoadBalancerNetworkInterfaceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetLoadBalancerNetworkInterfaceParamsWithContext ¶ added in v0.2.3
func NewGetLoadBalancerNetworkInterfaceParamsWithContext(ctx context.Context) *GetLoadBalancerNetworkInterfaceParams
NewGetLoadBalancerNetworkInterfaceParamsWithContext creates a new GetLoadBalancerNetworkInterfaceParams object with the ability to set a context for a request.
func NewGetLoadBalancerNetworkInterfaceParamsWithHTTPClient ¶ added in v0.2.3
func NewGetLoadBalancerNetworkInterfaceParamsWithHTTPClient(client *http.Client) *GetLoadBalancerNetworkInterfaceParams
NewGetLoadBalancerNetworkInterfaceParamsWithHTTPClient creates a new GetLoadBalancerNetworkInterfaceParams object with the ability to set a custom HTTPClient for a request.
func NewGetLoadBalancerNetworkInterfaceParamsWithTimeout ¶ added in v0.2.3
func NewGetLoadBalancerNetworkInterfaceParamsWithTimeout(timeout time.Duration) *GetLoadBalancerNetworkInterfaceParams
NewGetLoadBalancerNetworkInterfaceParamsWithTimeout creates a new GetLoadBalancerNetworkInterfaceParams object with the ability to set a timeout on a request.
func (*GetLoadBalancerNetworkInterfaceParams) SetAPIVersion ¶ added in v0.2.3
func (o *GetLoadBalancerNetworkInterfaceParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get load balancer network interface params
func (*GetLoadBalancerNetworkInterfaceParams) SetContext ¶ added in v0.2.3
func (o *GetLoadBalancerNetworkInterfaceParams) SetContext(ctx context.Context)
SetContext adds the context to the get load balancer network interface params
func (*GetLoadBalancerNetworkInterfaceParams) SetDefaults ¶ added in v0.2.20
func (o *GetLoadBalancerNetworkInterfaceParams) SetDefaults()
SetDefaults hydrates default values in the get load balancer network interface params (not the query body).
All values with no default are reset to their zero value.
func (*GetLoadBalancerNetworkInterfaceParams) SetHTTPClient ¶ added in v0.2.3
func (o *GetLoadBalancerNetworkInterfaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get load balancer network interface params
func (*GetLoadBalancerNetworkInterfaceParams) SetID ¶ added in v0.2.3
func (o *GetLoadBalancerNetworkInterfaceParams) SetID(id string)
SetID adds the id to the get load balancer network interface params
func (*GetLoadBalancerNetworkInterfaceParams) SetId1 ¶ added in v0.2.3
func (o *GetLoadBalancerNetworkInterfaceParams) SetId1(id1 string)
SetId1 adds the id1 to the get load balancer network interface params
func (*GetLoadBalancerNetworkInterfaceParams) SetTimeout ¶ added in v0.2.3
func (o *GetLoadBalancerNetworkInterfaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get load balancer network interface params
func (*GetLoadBalancerNetworkInterfaceParams) WithAPIVersion ¶ added in v0.2.3
func (o *GetLoadBalancerNetworkInterfaceParams) WithAPIVersion(aPIVersion *string) *GetLoadBalancerNetworkInterfaceParams
WithAPIVersion adds the aPIVersion to the get load balancer network interface params
func (*GetLoadBalancerNetworkInterfaceParams) WithContext ¶ added in v0.2.3
func (o *GetLoadBalancerNetworkInterfaceParams) WithContext(ctx context.Context) *GetLoadBalancerNetworkInterfaceParams
WithContext adds the context to the get load balancer network interface params
func (*GetLoadBalancerNetworkInterfaceParams) WithDefaults ¶ added in v0.2.20
func (o *GetLoadBalancerNetworkInterfaceParams) WithDefaults() *GetLoadBalancerNetworkInterfaceParams
WithDefaults hydrates default values in the get load balancer network interface params (not the query body).
All values with no default are reset to their zero value.
func (*GetLoadBalancerNetworkInterfaceParams) WithHTTPClient ¶ added in v0.2.3
func (o *GetLoadBalancerNetworkInterfaceParams) WithHTTPClient(client *http.Client) *GetLoadBalancerNetworkInterfaceParams
WithHTTPClient adds the HTTPClient to the get load balancer network interface params
func (*GetLoadBalancerNetworkInterfaceParams) WithID ¶ added in v0.2.3
func (o *GetLoadBalancerNetworkInterfaceParams) WithID(id string) *GetLoadBalancerNetworkInterfaceParams
WithID adds the id to the get load balancer network interface params
func (*GetLoadBalancerNetworkInterfaceParams) WithId1 ¶ added in v0.2.3
func (o *GetLoadBalancerNetworkInterfaceParams) WithId1(id1 string) *GetLoadBalancerNetworkInterfaceParams
WithId1 adds the id1 to the get load balancer network interface params
func (*GetLoadBalancerNetworkInterfaceParams) WithTimeout ¶ added in v0.2.3
func (o *GetLoadBalancerNetworkInterfaceParams) WithTimeout(timeout time.Duration) *GetLoadBalancerNetworkInterfaceParams
WithTimeout adds the timeout to the get load balancer network interface params
func (*GetLoadBalancerNetworkInterfaceParams) WriteToRequest ¶ added in v0.2.3
func (o *GetLoadBalancerNetworkInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLoadBalancerNetworkInterfaceReader ¶ added in v0.2.3
type GetLoadBalancerNetworkInterfaceReader struct {
// contains filtered or unexported fields
}
GetLoadBalancerNetworkInterfaceReader is a Reader for the GetLoadBalancerNetworkInterface structure.
func (*GetLoadBalancerNetworkInterfaceReader) ReadResponse ¶ added in v0.2.3
func (o *GetLoadBalancerNetworkInterfaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLoadBalancerNotFound ¶
GetLoadBalancerNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetLoadBalancerNotFound ¶
func NewGetLoadBalancerNotFound() *GetLoadBalancerNotFound
NewGetLoadBalancerNotFound creates a GetLoadBalancerNotFound with default headers values
func (*GetLoadBalancerNotFound) Error ¶
func (o *GetLoadBalancerNotFound) Error() string
func (*GetLoadBalancerNotFound) GetPayload ¶ added in v0.2.9
func (o *GetLoadBalancerNotFound) GetPayload() *models.Error
type GetLoadBalancerOK ¶
type GetLoadBalancerOK struct {
Payload *models.LoadBalancer
}
GetLoadBalancerOK describes a response with status code 200, with default header values.
successful operation
func NewGetLoadBalancerOK ¶
func NewGetLoadBalancerOK() *GetLoadBalancerOK
NewGetLoadBalancerOK creates a GetLoadBalancerOK with default headers values
func (*GetLoadBalancerOK) Error ¶
func (o *GetLoadBalancerOK) Error() string
func (*GetLoadBalancerOK) GetPayload ¶
func (o *GetLoadBalancerOK) GetPayload() *models.LoadBalancer
type GetLoadBalancerParams ¶
type GetLoadBalancerParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /* ID. The ID of the load balancer. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLoadBalancerParams contains all the parameters to send to the API endpoint
for the get load balancer operation. Typically these are written to a http.Request.
func NewGetLoadBalancerParams ¶
func NewGetLoadBalancerParams() *GetLoadBalancerParams
NewGetLoadBalancerParams creates a new GetLoadBalancerParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetLoadBalancerParamsWithContext ¶
func NewGetLoadBalancerParamsWithContext(ctx context.Context) *GetLoadBalancerParams
NewGetLoadBalancerParamsWithContext creates a new GetLoadBalancerParams object with the ability to set a context for a request.
func NewGetLoadBalancerParamsWithHTTPClient ¶
func NewGetLoadBalancerParamsWithHTTPClient(client *http.Client) *GetLoadBalancerParams
NewGetLoadBalancerParamsWithHTTPClient creates a new GetLoadBalancerParams object with the ability to set a custom HTTPClient for a request.
func NewGetLoadBalancerParamsWithTimeout ¶
func NewGetLoadBalancerParamsWithTimeout(timeout time.Duration) *GetLoadBalancerParams
NewGetLoadBalancerParamsWithTimeout creates a new GetLoadBalancerParams object with the ability to set a timeout on a request.
func (*GetLoadBalancerParams) SetAPIVersion ¶
func (o *GetLoadBalancerParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get load balancer params
func (*GetLoadBalancerParams) SetContext ¶
func (o *GetLoadBalancerParams) SetContext(ctx context.Context)
SetContext adds the context to the get load balancer params
func (*GetLoadBalancerParams) SetDefaults ¶ added in v0.2.20
func (o *GetLoadBalancerParams) SetDefaults()
SetDefaults hydrates default values in the get load balancer params (not the query body).
All values with no default are reset to their zero value.
func (*GetLoadBalancerParams) SetHTTPClient ¶
func (o *GetLoadBalancerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get load balancer params
func (*GetLoadBalancerParams) SetID ¶
func (o *GetLoadBalancerParams) SetID(id string)
SetID adds the id to the get load balancer params
func (*GetLoadBalancerParams) SetTimeout ¶
func (o *GetLoadBalancerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get load balancer params
func (*GetLoadBalancerParams) WithAPIVersion ¶
func (o *GetLoadBalancerParams) WithAPIVersion(aPIVersion *string) *GetLoadBalancerParams
WithAPIVersion adds the aPIVersion to the get load balancer params
func (*GetLoadBalancerParams) WithContext ¶
func (o *GetLoadBalancerParams) WithContext(ctx context.Context) *GetLoadBalancerParams
WithContext adds the context to the get load balancer params
func (*GetLoadBalancerParams) WithDefaults ¶ added in v0.2.20
func (o *GetLoadBalancerParams) WithDefaults() *GetLoadBalancerParams
WithDefaults hydrates default values in the get load balancer params (not the query body).
All values with no default are reset to their zero value.
func (*GetLoadBalancerParams) WithHTTPClient ¶
func (o *GetLoadBalancerParams) WithHTTPClient(client *http.Client) *GetLoadBalancerParams
WithHTTPClient adds the HTTPClient to the get load balancer params
func (*GetLoadBalancerParams) WithID ¶
func (o *GetLoadBalancerParams) WithID(id string) *GetLoadBalancerParams
WithID adds the id to the get load balancer params
func (*GetLoadBalancerParams) WithTimeout ¶
func (o *GetLoadBalancerParams) WithTimeout(timeout time.Duration) *GetLoadBalancerParams
WithTimeout adds the timeout to the get load balancer params
func (*GetLoadBalancerParams) WriteToRequest ¶
func (o *GetLoadBalancerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLoadBalancerReader ¶
type GetLoadBalancerReader struct {
// contains filtered or unexported fields
}
GetLoadBalancerReader is a Reader for the GetLoadBalancer structure.
func (*GetLoadBalancerReader) ReadResponse ¶
func (o *GetLoadBalancerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLoadBalancersForbidden ¶
type GetLoadBalancersForbidden struct {
Payload *models.ServiceErrorResponse
}
GetLoadBalancersForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetLoadBalancersForbidden ¶
func NewGetLoadBalancersForbidden() *GetLoadBalancersForbidden
NewGetLoadBalancersForbidden creates a GetLoadBalancersForbidden with default headers values
func (*GetLoadBalancersForbidden) Error ¶
func (o *GetLoadBalancersForbidden) Error() string
func (*GetLoadBalancersForbidden) GetPayload ¶ added in v0.2.20
func (o *GetLoadBalancersForbidden) GetPayload() *models.ServiceErrorResponse
type GetLoadBalancersOK ¶
type GetLoadBalancersOK struct {
Payload *models.LoadBalancerResult
}
GetLoadBalancersOK describes a response with status code 200, with default header values.
successful operation
func NewGetLoadBalancersOK ¶
func NewGetLoadBalancersOK() *GetLoadBalancersOK
NewGetLoadBalancersOK creates a GetLoadBalancersOK with default headers values
func (*GetLoadBalancersOK) Error ¶
func (o *GetLoadBalancersOK) Error() string
func (*GetLoadBalancersOK) GetPayload ¶
func (o *GetLoadBalancersOK) GetPayload() *models.LoadBalancerResult
type GetLoadBalancersParams ¶
type GetLoadBalancersParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLoadBalancersParams contains all the parameters to send to the API endpoint
for the get load balancers operation. Typically these are written to a http.Request.
func NewGetLoadBalancersParams ¶
func NewGetLoadBalancersParams() *GetLoadBalancersParams
NewGetLoadBalancersParams creates a new GetLoadBalancersParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetLoadBalancersParamsWithContext ¶
func NewGetLoadBalancersParamsWithContext(ctx context.Context) *GetLoadBalancersParams
NewGetLoadBalancersParamsWithContext creates a new GetLoadBalancersParams object with the ability to set a context for a request.
func NewGetLoadBalancersParamsWithHTTPClient ¶
func NewGetLoadBalancersParamsWithHTTPClient(client *http.Client) *GetLoadBalancersParams
NewGetLoadBalancersParamsWithHTTPClient creates a new GetLoadBalancersParams object with the ability to set a custom HTTPClient for a request.
func NewGetLoadBalancersParamsWithTimeout ¶
func NewGetLoadBalancersParamsWithTimeout(timeout time.Duration) *GetLoadBalancersParams
NewGetLoadBalancersParamsWithTimeout creates a new GetLoadBalancersParams object with the ability to set a timeout on a request.
func (*GetLoadBalancersParams) SetAPIVersion ¶
func (o *GetLoadBalancersParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get load balancers params
func (*GetLoadBalancersParams) SetContext ¶
func (o *GetLoadBalancersParams) SetContext(ctx context.Context)
SetContext adds the context to the get load balancers params
func (*GetLoadBalancersParams) SetDefaults ¶ added in v0.2.20
func (o *GetLoadBalancersParams) SetDefaults()
SetDefaults hydrates default values in the get load balancers params (not the query body).
All values with no default are reset to their zero value.
func (*GetLoadBalancersParams) SetHTTPClient ¶
func (o *GetLoadBalancersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get load balancers params
func (*GetLoadBalancersParams) SetTimeout ¶
func (o *GetLoadBalancersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get load balancers params
func (*GetLoadBalancersParams) WithAPIVersion ¶
func (o *GetLoadBalancersParams) WithAPIVersion(aPIVersion *string) *GetLoadBalancersParams
WithAPIVersion adds the aPIVersion to the get load balancers params
func (*GetLoadBalancersParams) WithContext ¶
func (o *GetLoadBalancersParams) WithContext(ctx context.Context) *GetLoadBalancersParams
WithContext adds the context to the get load balancers params
func (*GetLoadBalancersParams) WithDefaults ¶ added in v0.2.20
func (o *GetLoadBalancersParams) WithDefaults() *GetLoadBalancersParams
WithDefaults hydrates default values in the get load balancers params (not the query body).
All values with no default are reset to their zero value.
func (*GetLoadBalancersParams) WithHTTPClient ¶
func (o *GetLoadBalancersParams) WithHTTPClient(client *http.Client) *GetLoadBalancersParams
WithHTTPClient adds the HTTPClient to the get load balancers params
func (*GetLoadBalancersParams) WithTimeout ¶
func (o *GetLoadBalancersParams) WithTimeout(timeout time.Duration) *GetLoadBalancersParams
WithTimeout adds the timeout to the get load balancers params
func (*GetLoadBalancersParams) WriteToRequest ¶
func (o *GetLoadBalancersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLoadBalancersReader ¶
type GetLoadBalancersReader struct {
// contains filtered or unexported fields
}
GetLoadBalancersReader is a Reader for the GetLoadBalancers structure.
func (*GetLoadBalancersReader) ReadResponse ¶
func (o *GetLoadBalancersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ScaleLoadBalancerAccepted ¶
type ScaleLoadBalancerAccepted struct {
Payload *models.RequestTracker
}
ScaleLoadBalancerAccepted describes a response with status code 202, with default header values.
successful operation
func NewScaleLoadBalancerAccepted ¶
func NewScaleLoadBalancerAccepted() *ScaleLoadBalancerAccepted
NewScaleLoadBalancerAccepted creates a ScaleLoadBalancerAccepted with default headers values
func (*ScaleLoadBalancerAccepted) Error ¶
func (o *ScaleLoadBalancerAccepted) Error() string
func (*ScaleLoadBalancerAccepted) GetPayload ¶
func (o *ScaleLoadBalancerAccepted) GetPayload() *models.RequestTracker
type ScaleLoadBalancerForbidden ¶
type ScaleLoadBalancerForbidden struct {
Payload *models.ServiceErrorResponse
}
ScaleLoadBalancerForbidden describes a response with status code 403, with default header values.
Forbidden
func NewScaleLoadBalancerForbidden ¶
func NewScaleLoadBalancerForbidden() *ScaleLoadBalancerForbidden
NewScaleLoadBalancerForbidden creates a ScaleLoadBalancerForbidden with default headers values
func (*ScaleLoadBalancerForbidden) Error ¶
func (o *ScaleLoadBalancerForbidden) Error() string
func (*ScaleLoadBalancerForbidden) GetPayload ¶ added in v0.2.20
func (o *ScaleLoadBalancerForbidden) GetPayload() *models.ServiceErrorResponse
type ScaleLoadBalancerNotFound ¶
ScaleLoadBalancerNotFound describes a response with status code 404, with default header values.
Not Found
func NewScaleLoadBalancerNotFound ¶
func NewScaleLoadBalancerNotFound() *ScaleLoadBalancerNotFound
NewScaleLoadBalancerNotFound creates a ScaleLoadBalancerNotFound with default headers values
func (*ScaleLoadBalancerNotFound) Error ¶
func (o *ScaleLoadBalancerNotFound) Error() string
func (*ScaleLoadBalancerNotFound) GetPayload ¶ added in v0.2.9
func (o *ScaleLoadBalancerNotFound) GetPayload() *models.Error
type ScaleLoadBalancerParams ¶
type ScaleLoadBalancerParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /* Body. LoadBalancer Specification instance */ Body *models.LoadBalancerSpecification /* ID. The ID of the load balancer. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ScaleLoadBalancerParams contains all the parameters to send to the API endpoint
for the scale load balancer operation. Typically these are written to a http.Request.
func NewScaleLoadBalancerParams ¶
func NewScaleLoadBalancerParams() *ScaleLoadBalancerParams
NewScaleLoadBalancerParams creates a new ScaleLoadBalancerParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewScaleLoadBalancerParamsWithContext ¶
func NewScaleLoadBalancerParamsWithContext(ctx context.Context) *ScaleLoadBalancerParams
NewScaleLoadBalancerParamsWithContext creates a new ScaleLoadBalancerParams object with the ability to set a context for a request.
func NewScaleLoadBalancerParamsWithHTTPClient ¶
func NewScaleLoadBalancerParamsWithHTTPClient(client *http.Client) *ScaleLoadBalancerParams
NewScaleLoadBalancerParamsWithHTTPClient creates a new ScaleLoadBalancerParams object with the ability to set a custom HTTPClient for a request.
func NewScaleLoadBalancerParamsWithTimeout ¶
func NewScaleLoadBalancerParamsWithTimeout(timeout time.Duration) *ScaleLoadBalancerParams
NewScaleLoadBalancerParamsWithTimeout creates a new ScaleLoadBalancerParams object with the ability to set a timeout on a request.
func (*ScaleLoadBalancerParams) SetAPIVersion ¶
func (o *ScaleLoadBalancerParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the scale load balancer params
func (*ScaleLoadBalancerParams) SetBody ¶
func (o *ScaleLoadBalancerParams) SetBody(body *models.LoadBalancerSpecification)
SetBody adds the body to the scale load balancer params
func (*ScaleLoadBalancerParams) SetContext ¶
func (o *ScaleLoadBalancerParams) SetContext(ctx context.Context)
SetContext adds the context to the scale load balancer params
func (*ScaleLoadBalancerParams) SetDefaults ¶ added in v0.2.20
func (o *ScaleLoadBalancerParams) SetDefaults()
SetDefaults hydrates default values in the scale load balancer params (not the query body).
All values with no default are reset to their zero value.
func (*ScaleLoadBalancerParams) SetHTTPClient ¶
func (o *ScaleLoadBalancerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the scale load balancer params
func (*ScaleLoadBalancerParams) SetID ¶
func (o *ScaleLoadBalancerParams) SetID(id string)
SetID adds the id to the scale load balancer params
func (*ScaleLoadBalancerParams) SetTimeout ¶
func (o *ScaleLoadBalancerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the scale load balancer params
func (*ScaleLoadBalancerParams) WithAPIVersion ¶
func (o *ScaleLoadBalancerParams) WithAPIVersion(aPIVersion *string) *ScaleLoadBalancerParams
WithAPIVersion adds the aPIVersion to the scale load balancer params
func (*ScaleLoadBalancerParams) WithBody ¶
func (o *ScaleLoadBalancerParams) WithBody(body *models.LoadBalancerSpecification) *ScaleLoadBalancerParams
WithBody adds the body to the scale load balancer params
func (*ScaleLoadBalancerParams) WithContext ¶
func (o *ScaleLoadBalancerParams) WithContext(ctx context.Context) *ScaleLoadBalancerParams
WithContext adds the context to the scale load balancer params
func (*ScaleLoadBalancerParams) WithDefaults ¶ added in v0.2.20
func (o *ScaleLoadBalancerParams) WithDefaults() *ScaleLoadBalancerParams
WithDefaults hydrates default values in the scale load balancer params (not the query body).
All values with no default are reset to their zero value.
func (*ScaleLoadBalancerParams) WithHTTPClient ¶
func (o *ScaleLoadBalancerParams) WithHTTPClient(client *http.Client) *ScaleLoadBalancerParams
WithHTTPClient adds the HTTPClient to the scale load balancer params
func (*ScaleLoadBalancerParams) WithID ¶
func (o *ScaleLoadBalancerParams) WithID(id string) *ScaleLoadBalancerParams
WithID adds the id to the scale load balancer params
func (*ScaleLoadBalancerParams) WithTimeout ¶
func (o *ScaleLoadBalancerParams) WithTimeout(timeout time.Duration) *ScaleLoadBalancerParams
WithTimeout adds the timeout to the scale load balancer params
func (*ScaleLoadBalancerParams) WriteToRequest ¶
func (o *ScaleLoadBalancerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ScaleLoadBalancerReader ¶
type ScaleLoadBalancerReader struct {
// contains filtered or unexported fields
}
ScaleLoadBalancerReader is a Reader for the ScaleLoadBalancer structure.
func (*ScaleLoadBalancerReader) ReadResponse ¶
func (o *ScaleLoadBalancerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_load_balancer_parameters.go
- create_load_balancer_responses.go
- delete_load_balancer_operation_parameters.go
- delete_load_balancer_operation_responses.go
- delete_load_balancer_parameters.go
- delete_load_balancer_responses.go
- get_load_balancer_network_interface_parameters.go
- get_load_balancer_network_interface_responses.go
- get_load_balancer_parameters.go
- get_load_balancer_responses.go
- get_load_balancers_parameters.go
- get_load_balancers_responses.go
- load_balancer_client.go
- scale_load_balancer_parameters.go
- scale_load_balancer_responses.go