load_balancer

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

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 (*CreateLoadBalancerAccepted) GetPayload

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

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

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

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

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

WithBody adds the body to the create load balancer params

func (*CreateLoadBalancerParams) WithContext

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

WithTimeout adds the timeout to the create load balancer params

func (*CreateLoadBalancerParams) WriteToRequest

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 (*DeleteLoadBalancerAccepted) GetPayload

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

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 (*DeleteLoadBalancerOperationAccepted) GetPayload

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

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

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

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

WithAPIVersion adds the aPIVersion to the delete load balancer operation params

func (*DeleteLoadBalancerOperationParams) WithContext

WithContext adds the context to the delete load balancer operation params

func (*DeleteLoadBalancerOperationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete load balancer operation params

func (*DeleteLoadBalancerOperationParams) WithID

WithID adds the id to the delete load balancer operation params

func (*DeleteLoadBalancerOperationParams) WithTimeout

WithTimeout adds the timeout to the delete load balancer operation params

func (*DeleteLoadBalancerOperationParams) WriteToRequest

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

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

WithID adds the id to the delete load balancer params

func (*DeleteLoadBalancerParams) WithTimeout

WithTimeout adds the timeout to the delete load balancer params

func (*DeleteLoadBalancerParams) WriteToRequest

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

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

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 (*GetLoadBalancerNetworkInterfaceOK) GetPayload added in v0.2.3

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

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

SetID adds the id to the get load balancer network interface params

func (*GetLoadBalancerNetworkInterfaceParams) SetId1 added in v0.2.3

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

WithAPIVersion adds the aPIVersion to the get load balancer network interface params

func (*GetLoadBalancerNetworkInterfaceParams) WithContext added in v0.2.3

WithContext adds the context to the get load balancer network interface params

func (*GetLoadBalancerNetworkInterfaceParams) WithHTTPClient added in v0.2.3

WithHTTPClient adds the HTTPClient to the get load balancer network interface params

func (*GetLoadBalancerNetworkInterfaceParams) WithID added in v0.2.3

WithID adds the id to the get load balancer network interface params

func (*GetLoadBalancerNetworkInterfaceParams) WithId1 added in v0.2.3

WithId1 adds the id1 to the get load balancer network interface params

func (*GetLoadBalancerNetworkInterfaceParams) WithTimeout added in v0.2.3

WithTimeout adds the timeout to the get load balancer network interface params

func (*GetLoadBalancerNetworkInterfaceParams) WriteToRequest added in v0.2.3

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

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

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

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

WithTimeout adds the timeout to the get load balancers params

func (*GetLoadBalancersParams) WriteToRequest

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

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

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

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

WithBody adds the body to the scale load balancer params

func (*ScaleLoadBalancerParams) WithContext

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

WithID adds the id to the scale load balancer params

func (*ScaleLoadBalancerParams) WithTimeout

WithTimeout adds the timeout to the scale load balancer params

func (*ScaleLoadBalancerParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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