Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateLoadBalancer(params *CreateLoadBalancerParams) (*CreateLoadBalancerAccepted, error)
- func (a *Client) DeleteLoadBalancer(params *DeleteLoadBalancerParams) (*DeleteLoadBalancerAccepted, error)
- func (a *Client) DeleteLoadBalancerOperation(params *DeleteLoadBalancerOperationParams) (*DeleteLoadBalancerOperationAccepted, error)
- func (a *Client) GetLoadBalancer(params *GetLoadBalancerParams) (*GetLoadBalancerOK, error)
- func (a *Client) GetLoadBalancerNetworkInterface(params *GetLoadBalancerNetworkInterfaceParams) (*GetLoadBalancerNetworkInterfaceOK, error)
- func (a *Client) GetLoadBalancers(params *GetLoadBalancersParams) (*GetLoadBalancersOK, error)
- func (a *Client) ScaleLoadBalancer(params *ScaleLoadBalancerParams) (*ScaleLoadBalancerAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new load balancer API client.
func (*Client) CreateLoadBalancer ¶
func (a *Client) CreateLoadBalancer(params *CreateLoadBalancerParams) (*CreateLoadBalancerAccepted, error)
CreateLoadBalancer creates load balancer
Create load balancer
func (*Client) DeleteLoadBalancer ¶
func (a *Client) DeleteLoadBalancer(params *DeleteLoadBalancerParams) (*DeleteLoadBalancerAccepted, error)
DeleteLoadBalancer deletes load balancer
Delete load balancer with a given id
func (*Client) DeleteLoadBalancerOperation ¶
func (a *Client) DeleteLoadBalancerOperation(params *DeleteLoadBalancerOperationParams) (*DeleteLoadBalancerOperationAccepted, error)
DeleteLoadBalancerOperation deletes operation for load balancer
Second day delete operation for load balancer
func (*Client) GetLoadBalancer ¶
func (a *Client) GetLoadBalancer(params *GetLoadBalancerParams) (*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) (*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) (*GetLoadBalancersOK, error)
GetLoadBalancers gets load balancers
Get all load balancers
func (*Client) ScaleLoadBalancer ¶
func (a *Client) ScaleLoadBalancer(params *ScaleLoadBalancerParams) (*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 CreateLoadBalancerAccepted ¶
type CreateLoadBalancerAccepted struct {
Payload *models.RequestTracker
}
CreateLoadBalancerAccepted handles this case 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 ¶
type CreateLoadBalancerBadRequest struct { }
CreateLoadBalancerBadRequest handles this case 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
type CreateLoadBalancerForbidden ¶
type CreateLoadBalancerForbidden struct { }
CreateLoadBalancerForbidden handles this case 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
type CreateLoadBalancerNotFound ¶ added in v0.2.3
type CreateLoadBalancerNotFound struct { }
CreateLoadBalancerNotFound handles this case 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
type CreateLoadBalancerParams ¶
type CreateLoadBalancerParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please 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 values initialized.
func NewCreateLoadBalancerParamsWithContext ¶
func NewCreateLoadBalancerParamsWithContext(ctx context.Context) *CreateLoadBalancerParams
NewCreateLoadBalancerParamsWithContext creates a new CreateLoadBalancerParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 { }
DeleteLoadBalancerForbidden handles this case 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
type DeleteLoadBalancerOperationAccepted ¶
type DeleteLoadBalancerOperationAccepted struct {
Payload *models.RequestTracker
}
DeleteLoadBalancerOperationAccepted handles this case 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 { }
DeleteLoadBalancerOperationForbidden handles this case 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
type DeleteLoadBalancerOperationParams ¶
type DeleteLoadBalancerOperationParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please 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 }
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 values initialized.
func NewDeleteLoadBalancerOperationParamsWithContext ¶
func NewDeleteLoadBalancerOperationParamsWithContext(ctx context.Context) *DeleteLoadBalancerOperationParams
NewDeleteLoadBalancerOperationParamsWithContext creates a new DeleteLoadBalancerOperationParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 please 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 }
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 values initialized.
func NewDeleteLoadBalancerParamsWithContext ¶
func NewDeleteLoadBalancerParamsWithContext(ctx context.Context) *DeleteLoadBalancerParams
NewDeleteLoadBalancerParamsWithContext creates a new DeleteLoadBalancerParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 { }
GetLoadBalancerForbidden handles this case 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
type GetLoadBalancerNetworkInterfaceForbidden ¶ added in v0.2.3
type GetLoadBalancerNetworkInterfaceForbidden struct { }
GetLoadBalancerNetworkInterfaceForbidden handles this case 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
type GetLoadBalancerNetworkInterfaceNotFound ¶ added in v0.2.3
type GetLoadBalancerNetworkInterfaceNotFound struct { }
GetLoadBalancerNetworkInterfaceNotFound handles this case 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
type GetLoadBalancerNetworkInterfaceOK ¶ added in v0.2.3
type GetLoadBalancerNetworkInterfaceOK struct {
Payload *models.NetworkInterface
}
GetLoadBalancerNetworkInterfaceOK handles this case 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 please 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 values initialized.
func NewGetLoadBalancerNetworkInterfaceParamsWithContext ¶ added in v0.2.3
func NewGetLoadBalancerNetworkInterfaceParamsWithContext(ctx context.Context) *GetLoadBalancerNetworkInterfaceParams
NewGetLoadBalancerNetworkInterfaceParamsWithContext creates a new GetLoadBalancerNetworkInterfaceParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 ¶
type GetLoadBalancerNotFound struct { }
GetLoadBalancerNotFound handles this case 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
type GetLoadBalancerOK ¶
type GetLoadBalancerOK struct {
Payload *models.LoadBalancer
}
GetLoadBalancerOK handles this case 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 please 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 values initialized.
func NewGetLoadBalancerParamsWithContext ¶
func NewGetLoadBalancerParamsWithContext(ctx context.Context) *GetLoadBalancerParams
NewGetLoadBalancerParamsWithContext creates a new GetLoadBalancerParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 { }
GetLoadBalancersForbidden handles this case 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
type GetLoadBalancersOK ¶
type GetLoadBalancersOK struct {
Payload *models.LoadBalancerResult
}
GetLoadBalancersOK handles this case 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 please 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 values initialized.
func NewGetLoadBalancersParamsWithContext ¶
func NewGetLoadBalancersParamsWithContext(ctx context.Context) *GetLoadBalancersParams
NewGetLoadBalancersParamsWithContext creates a new GetLoadBalancersParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 { }
ScaleLoadBalancerForbidden handles this case 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
type ScaleLoadBalancerNotFound ¶
type ScaleLoadBalancerNotFound struct { }
ScaleLoadBalancerNotFound handles this case 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
type ScaleLoadBalancerParams ¶
type ScaleLoadBalancerParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please 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 values initialized.
func NewScaleLoadBalancerParamsWithContext ¶
func NewScaleLoadBalancerParamsWithContext(ctx context.Context) *ScaleLoadBalancerParams
NewScaleLoadBalancerParamsWithContext creates a new ScaleLoadBalancerParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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