load_balancer

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 11 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 (*Client) CreateLoadBalancer

func (a *Client) CreateLoadBalancer(params *CreateLoadBalancerParams, opts ...ClientOption) (*CreateLoadBalancerAccepted, error)

CreateLoadBalancer creates load balancer

Create load balancer

func (*Client) DeleteLoadBalancer

func (a *Client) DeleteLoadBalancer(params *DeleteLoadBalancerParams, opts ...ClientOption) (*DeleteLoadBalancerAccepted, error)

DeleteLoadBalancer deletes load balancer

Delete load balancer with a given id

func (*Client) DeleteLoadBalancerOperation

func (a *Client) DeleteLoadBalancerOperation(params *DeleteLoadBalancerOperationParams, opts ...ClientOption) (*DeleteLoadBalancerOperationAccepted, error)

DeleteLoadBalancerOperation deletes operation for load balancer

Second day delete operation for load balancer

func (*Client) GetLoadBalancer

func (a *Client) GetLoadBalancer(params *GetLoadBalancerParams, opts ...ClientOption) (*GetLoadBalancerOK, error)

GetLoadBalancer gets load balancer

Get load balancer with a given id

func (*Client) GetLoadBalancerNetworkInterface added in v0.2.3

func (a *Client) GetLoadBalancerNetworkInterface(params *GetLoadBalancerNetworkInterfaceParams, opts ...ClientOption) (*GetLoadBalancerNetworkInterfaceOK, error)

GetLoadBalancerNetworkInterface gets load balancer network interface

Get network interface with a given id for specific load balancer

func (*Client) GetLoadBalancers

func (a *Client) GetLoadBalancers(params *GetLoadBalancersParams, opts ...ClientOption) (*GetLoadBalancersOK, error)

GetLoadBalancers gets load balancers

Get all load balancers

func (*Client) ScaleLoadBalancer

func (a *Client) ScaleLoadBalancer(params *ScaleLoadBalancerParams, opts ...ClientOption) (*ScaleLoadBalancerAccepted, error)

ScaleLoadBalancer scales operation for load balancer

Second day scale operation for load balancer

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption added in v0.2.20

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v0.2.18

type ClientService interface {
	CreateLoadBalancer(params *CreateLoadBalancerParams, opts ...ClientOption) (*CreateLoadBalancerAccepted, error)

	DeleteLoadBalancer(params *DeleteLoadBalancerParams, opts ...ClientOption) (*DeleteLoadBalancerAccepted, error)

	DeleteLoadBalancerOperation(params *DeleteLoadBalancerOperationParams, opts ...ClientOption) (*DeleteLoadBalancerOperationAccepted, error)

	GetLoadBalancer(params *GetLoadBalancerParams, opts ...ClientOption) (*GetLoadBalancerOK, error)

	GetLoadBalancerNetworkInterface(params *GetLoadBalancerNetworkInterfaceParams, opts ...ClientOption) (*GetLoadBalancerNetworkInterfaceOK, error)

	GetLoadBalancers(params *GetLoadBalancersParams, opts ...ClientOption) (*GetLoadBalancersOK, error)

	ScaleLoadBalancer(params *ScaleLoadBalancerParams, opts ...ClientOption) (*ScaleLoadBalancerAccepted, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new load balancer API client.

type CreateLoadBalancerAccepted

type CreateLoadBalancerAccepted struct {
	Payload *models.RequestTracker
}

CreateLoadBalancerAccepted describes a response with status code 202, with default header values.

successful operation

func NewCreateLoadBalancerAccepted

func NewCreateLoadBalancerAccepted() *CreateLoadBalancerAccepted

NewCreateLoadBalancerAccepted creates a CreateLoadBalancerAccepted with default headers values

func (*CreateLoadBalancerAccepted) Error

func (*CreateLoadBalancerAccepted) GetPayload

func (*CreateLoadBalancerAccepted) IsClientError added in v0.5.0

func (o *CreateLoadBalancerAccepted) IsClientError() bool

IsClientError returns true when this create load balancer accepted response has a 4xx status code

func (*CreateLoadBalancerAccepted) IsCode added in v0.5.0

func (o *CreateLoadBalancerAccepted) IsCode(code int) bool

IsCode returns true when this create load balancer accepted response a status code equal to that given

func (*CreateLoadBalancerAccepted) IsRedirect added in v0.5.0

func (o *CreateLoadBalancerAccepted) IsRedirect() bool

IsRedirect returns true when this create load balancer accepted response has a 3xx status code

func (*CreateLoadBalancerAccepted) IsServerError added in v0.5.0

func (o *CreateLoadBalancerAccepted) IsServerError() bool

IsServerError returns true when this create load balancer accepted response has a 5xx status code

func (*CreateLoadBalancerAccepted) IsSuccess added in v0.5.0

func (o *CreateLoadBalancerAccepted) IsSuccess() bool

IsSuccess returns true when this create load balancer accepted response has a 2xx status code

func (*CreateLoadBalancerAccepted) String added in v0.5.0

func (o *CreateLoadBalancerAccepted) String() string

type CreateLoadBalancerBadRequest

type CreateLoadBalancerBadRequest struct {
	Payload *models.Error
}

CreateLoadBalancerBadRequest describes a response with status code 400, with default header values.

Invalid Request - bad data

func NewCreateLoadBalancerBadRequest

func NewCreateLoadBalancerBadRequest() *CreateLoadBalancerBadRequest

NewCreateLoadBalancerBadRequest creates a CreateLoadBalancerBadRequest with default headers values

func (*CreateLoadBalancerBadRequest) Error

func (*CreateLoadBalancerBadRequest) GetPayload added in v0.2.9

func (o *CreateLoadBalancerBadRequest) GetPayload() *models.Error

func (*CreateLoadBalancerBadRequest) IsClientError added in v0.5.0

func (o *CreateLoadBalancerBadRequest) IsClientError() bool

IsClientError returns true when this create load balancer bad request response has a 4xx status code

func (*CreateLoadBalancerBadRequest) IsCode added in v0.5.0

func (o *CreateLoadBalancerBadRequest) IsCode(code int) bool

IsCode returns true when this create load balancer bad request response a status code equal to that given

func (*CreateLoadBalancerBadRequest) IsRedirect added in v0.5.0

func (o *CreateLoadBalancerBadRequest) IsRedirect() bool

IsRedirect returns true when this create load balancer bad request response has a 3xx status code

func (*CreateLoadBalancerBadRequest) IsServerError added in v0.5.0

func (o *CreateLoadBalancerBadRequest) IsServerError() bool

IsServerError returns true when this create load balancer bad request response has a 5xx status code

func (*CreateLoadBalancerBadRequest) IsSuccess added in v0.5.0

func (o *CreateLoadBalancerBadRequest) IsSuccess() bool

IsSuccess returns true when this create load balancer bad request response has a 2xx status code

func (*CreateLoadBalancerBadRequest) String added in v0.5.0

type CreateLoadBalancerForbidden

type CreateLoadBalancerForbidden struct {
	Payload *models.ServiceErrorResponse
}

CreateLoadBalancerForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateLoadBalancerForbidden

func NewCreateLoadBalancerForbidden() *CreateLoadBalancerForbidden

NewCreateLoadBalancerForbidden creates a CreateLoadBalancerForbidden with default headers values

func (*CreateLoadBalancerForbidden) Error

func (*CreateLoadBalancerForbidden) GetPayload added in v0.2.20

func (*CreateLoadBalancerForbidden) IsClientError added in v0.5.0

func (o *CreateLoadBalancerForbidden) IsClientError() bool

IsClientError returns true when this create load balancer forbidden response has a 4xx status code

func (*CreateLoadBalancerForbidden) IsCode added in v0.5.0

func (o *CreateLoadBalancerForbidden) IsCode(code int) bool

IsCode returns true when this create load balancer forbidden response a status code equal to that given

func (*CreateLoadBalancerForbidden) IsRedirect added in v0.5.0

func (o *CreateLoadBalancerForbidden) IsRedirect() bool

IsRedirect returns true when this create load balancer forbidden response has a 3xx status code

func (*CreateLoadBalancerForbidden) IsServerError added in v0.5.0

func (o *CreateLoadBalancerForbidden) IsServerError() bool

IsServerError returns true when this create load balancer forbidden response has a 5xx status code

func (*CreateLoadBalancerForbidden) IsSuccess added in v0.5.0

func (o *CreateLoadBalancerForbidden) IsSuccess() bool

IsSuccess returns true when this create load balancer forbidden response has a 2xx status code

func (*CreateLoadBalancerForbidden) String added in v0.5.0

func (o *CreateLoadBalancerForbidden) String() string

type CreateLoadBalancerNotFound added in v0.2.3

type CreateLoadBalancerNotFound struct {
	Payload *models.Error
}

CreateLoadBalancerNotFound describes a response with status code 404, with default header values.

Input(s) not Found

func NewCreateLoadBalancerNotFound added in v0.2.3

func NewCreateLoadBalancerNotFound() *CreateLoadBalancerNotFound

NewCreateLoadBalancerNotFound creates a CreateLoadBalancerNotFound with default headers values

func (*CreateLoadBalancerNotFound) Error added in v0.2.3

func (*CreateLoadBalancerNotFound) GetPayload added in v0.2.9

func (o *CreateLoadBalancerNotFound) GetPayload() *models.Error

func (*CreateLoadBalancerNotFound) IsClientError added in v0.5.0

func (o *CreateLoadBalancerNotFound) IsClientError() bool

IsClientError returns true when this create load balancer not found response has a 4xx status code

func (*CreateLoadBalancerNotFound) IsCode added in v0.5.0

func (o *CreateLoadBalancerNotFound) IsCode(code int) bool

IsCode returns true when this create load balancer not found response a status code equal to that given

func (*CreateLoadBalancerNotFound) IsRedirect added in v0.5.0

func (o *CreateLoadBalancerNotFound) IsRedirect() bool

IsRedirect returns true when this create load balancer not found response has a 3xx status code

func (*CreateLoadBalancerNotFound) IsServerError added in v0.5.0

func (o *CreateLoadBalancerNotFound) IsServerError() bool

IsServerError returns true when this create load balancer not found response has a 5xx status code

func (*CreateLoadBalancerNotFound) IsSuccess added in v0.5.0

func (o *CreateLoadBalancerNotFound) IsSuccess() bool

IsSuccess returns true when this create load balancer not found response has a 2xx status code

func (*CreateLoadBalancerNotFound) String added in v0.5.0

func (o *CreateLoadBalancerNotFound) String() string

type CreateLoadBalancerParams

type CreateLoadBalancerParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* Body.

	   LoadBalancer Specification instance
	*/
	Body *models.LoadBalancerSpecification

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateLoadBalancerParams contains all the parameters to send to the API endpoint

for the create load balancer operation.

Typically these are written to a http.Request.

func NewCreateLoadBalancerParams

func NewCreateLoadBalancerParams() *CreateLoadBalancerParams

NewCreateLoadBalancerParams creates a new CreateLoadBalancerParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateLoadBalancerParamsWithContext

func NewCreateLoadBalancerParamsWithContext(ctx context.Context) *CreateLoadBalancerParams

NewCreateLoadBalancerParamsWithContext creates a new CreateLoadBalancerParams object with the ability to set a context for a request.

func NewCreateLoadBalancerParamsWithHTTPClient

func NewCreateLoadBalancerParamsWithHTTPClient(client *http.Client) *CreateLoadBalancerParams

NewCreateLoadBalancerParamsWithHTTPClient creates a new CreateLoadBalancerParams object with the ability to set a custom HTTPClient for a request.

func NewCreateLoadBalancerParamsWithTimeout

func NewCreateLoadBalancerParamsWithTimeout(timeout time.Duration) *CreateLoadBalancerParams

NewCreateLoadBalancerParamsWithTimeout creates a new CreateLoadBalancerParams object with the ability to set a timeout on a request.

func (*CreateLoadBalancerParams) SetAPIVersion

func (o *CreateLoadBalancerParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the create load balancer params

func (*CreateLoadBalancerParams) SetBody

SetBody adds the body to the create load balancer params

func (*CreateLoadBalancerParams) SetContext

func (o *CreateLoadBalancerParams) SetContext(ctx context.Context)

SetContext adds the context to the create load balancer params

func (*CreateLoadBalancerParams) SetDefaults added in v0.2.20

func (o *CreateLoadBalancerParams) SetDefaults()

SetDefaults hydrates default values in the create load balancer params (not the query body).

All values with no default are reset to their zero value.

func (*CreateLoadBalancerParams) SetHTTPClient

func (o *CreateLoadBalancerParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create load balancer params

func (*CreateLoadBalancerParams) SetTimeout

func (o *CreateLoadBalancerParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create load balancer params

func (*CreateLoadBalancerParams) WithAPIVersion

func (o *CreateLoadBalancerParams) WithAPIVersion(aPIVersion *string) *CreateLoadBalancerParams

WithAPIVersion adds the aPIVersion to the create load balancer params

func (*CreateLoadBalancerParams) WithBody

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) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the create load balancer params (not the query body).

All values with no default are reset to their zero value.

func (*CreateLoadBalancerParams) WithHTTPClient

func (o *CreateLoadBalancerParams) WithHTTPClient(client *http.Client) *CreateLoadBalancerParams

WithHTTPClient adds the HTTPClient to the create load balancer params

func (*CreateLoadBalancerParams) WithTimeout

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 describes a response with status code 202, with default header values.

successful operation

func NewDeleteLoadBalancerAccepted

func NewDeleteLoadBalancerAccepted() *DeleteLoadBalancerAccepted

NewDeleteLoadBalancerAccepted creates a DeleteLoadBalancerAccepted with default headers values

func (*DeleteLoadBalancerAccepted) Error

func (*DeleteLoadBalancerAccepted) GetPayload

func (*DeleteLoadBalancerAccepted) IsClientError added in v0.5.0

func (o *DeleteLoadBalancerAccepted) IsClientError() bool

IsClientError returns true when this delete load balancer accepted response has a 4xx status code

func (*DeleteLoadBalancerAccepted) IsCode added in v0.5.0

func (o *DeleteLoadBalancerAccepted) IsCode(code int) bool

IsCode returns true when this delete load balancer accepted response a status code equal to that given

func (*DeleteLoadBalancerAccepted) IsRedirect added in v0.5.0

func (o *DeleteLoadBalancerAccepted) IsRedirect() bool

IsRedirect returns true when this delete load balancer accepted response has a 3xx status code

func (*DeleteLoadBalancerAccepted) IsServerError added in v0.5.0

func (o *DeleteLoadBalancerAccepted) IsServerError() bool

IsServerError returns true when this delete load balancer accepted response has a 5xx status code

func (*DeleteLoadBalancerAccepted) IsSuccess added in v0.5.0

func (o *DeleteLoadBalancerAccepted) IsSuccess() bool

IsSuccess returns true when this delete load balancer accepted response has a 2xx status code

func (*DeleteLoadBalancerAccepted) String added in v0.5.0

func (o *DeleteLoadBalancerAccepted) String() string

type DeleteLoadBalancerForbidden

type DeleteLoadBalancerForbidden struct {
	Payload *models.ServiceErrorResponse
}

DeleteLoadBalancerForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteLoadBalancerForbidden

func NewDeleteLoadBalancerForbidden() *DeleteLoadBalancerForbidden

NewDeleteLoadBalancerForbidden creates a DeleteLoadBalancerForbidden with default headers values

func (*DeleteLoadBalancerForbidden) Error

func (*DeleteLoadBalancerForbidden) GetPayload added in v0.2.20

func (*DeleteLoadBalancerForbidden) IsClientError added in v0.5.0

func (o *DeleteLoadBalancerForbidden) IsClientError() bool

IsClientError returns true when this delete load balancer forbidden response has a 4xx status code

func (*DeleteLoadBalancerForbidden) IsCode added in v0.5.0

func (o *DeleteLoadBalancerForbidden) IsCode(code int) bool

IsCode returns true when this delete load balancer forbidden response a status code equal to that given

func (*DeleteLoadBalancerForbidden) IsRedirect added in v0.5.0

func (o *DeleteLoadBalancerForbidden) IsRedirect() bool

IsRedirect returns true when this delete load balancer forbidden response has a 3xx status code

func (*DeleteLoadBalancerForbidden) IsServerError added in v0.5.0

func (o *DeleteLoadBalancerForbidden) IsServerError() bool

IsServerError returns true when this delete load balancer forbidden response has a 5xx status code

func (*DeleteLoadBalancerForbidden) IsSuccess added in v0.5.0

func (o *DeleteLoadBalancerForbidden) IsSuccess() bool

IsSuccess returns true when this delete load balancer forbidden response has a 2xx status code

func (*DeleteLoadBalancerForbidden) String added in v0.5.0

func (o *DeleteLoadBalancerForbidden) String() string

type DeleteLoadBalancerOperationAccepted

type DeleteLoadBalancerOperationAccepted struct {
	Payload *models.RequestTracker
}

DeleteLoadBalancerOperationAccepted describes a response with status code 202, with default header values.

successful operation

func NewDeleteLoadBalancerOperationAccepted

func NewDeleteLoadBalancerOperationAccepted() *DeleteLoadBalancerOperationAccepted

NewDeleteLoadBalancerOperationAccepted creates a DeleteLoadBalancerOperationAccepted with default headers values

func (*DeleteLoadBalancerOperationAccepted) Error

func (*DeleteLoadBalancerOperationAccepted) GetPayload

func (*DeleteLoadBalancerOperationAccepted) IsClientError added in v0.5.0

func (o *DeleteLoadBalancerOperationAccepted) IsClientError() bool

IsClientError returns true when this delete load balancer operation accepted response has a 4xx status code

func (*DeleteLoadBalancerOperationAccepted) IsCode added in v0.5.0

IsCode returns true when this delete load balancer operation accepted response a status code equal to that given

func (*DeleteLoadBalancerOperationAccepted) IsRedirect added in v0.5.0

func (o *DeleteLoadBalancerOperationAccepted) IsRedirect() bool

IsRedirect returns true when this delete load balancer operation accepted response has a 3xx status code

func (*DeleteLoadBalancerOperationAccepted) IsServerError added in v0.5.0

func (o *DeleteLoadBalancerOperationAccepted) IsServerError() bool

IsServerError returns true when this delete load balancer operation accepted response has a 5xx status code

func (*DeleteLoadBalancerOperationAccepted) IsSuccess added in v0.5.0

IsSuccess returns true when this delete load balancer operation accepted response has a 2xx status code

func (*DeleteLoadBalancerOperationAccepted) String added in v0.5.0

type DeleteLoadBalancerOperationForbidden

type DeleteLoadBalancerOperationForbidden struct {
	Payload *models.ServiceErrorResponse
}

DeleteLoadBalancerOperationForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteLoadBalancerOperationForbidden

func NewDeleteLoadBalancerOperationForbidden() *DeleteLoadBalancerOperationForbidden

NewDeleteLoadBalancerOperationForbidden creates a DeleteLoadBalancerOperationForbidden with default headers values

func (*DeleteLoadBalancerOperationForbidden) Error

func (*DeleteLoadBalancerOperationForbidden) GetPayload added in v0.2.20

func (*DeleteLoadBalancerOperationForbidden) IsClientError added in v0.5.0

func (o *DeleteLoadBalancerOperationForbidden) IsClientError() bool

IsClientError returns true when this delete load balancer operation forbidden response has a 4xx status code

func (*DeleteLoadBalancerOperationForbidden) IsCode added in v0.5.0

IsCode returns true when this delete load balancer operation forbidden response a status code equal to that given

func (*DeleteLoadBalancerOperationForbidden) IsRedirect added in v0.5.0

IsRedirect returns true when this delete load balancer operation forbidden response has a 3xx status code

func (*DeleteLoadBalancerOperationForbidden) IsServerError added in v0.5.0

func (o *DeleteLoadBalancerOperationForbidden) IsServerError() bool

IsServerError returns true when this delete load balancer operation forbidden response has a 5xx status code

func (*DeleteLoadBalancerOperationForbidden) IsSuccess added in v0.5.0

IsSuccess returns true when this delete load balancer operation forbidden response has a 2xx status code

func (*DeleteLoadBalancerOperationForbidden) String added in v0.5.0

type DeleteLoadBalancerOperationParams

type DeleteLoadBalancerOperationParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* ForceDelete.

	   Controls whether this is a force delete operation. If true, best effort is made for deleting this load balancer. Use with caution as force deleting may cause inconsistencies between the cloud provider and vRA.
	*/
	ForceDelete *bool

	/* ID.

	   The ID of the load balancer.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteLoadBalancerOperationParams contains all the parameters to send to the API endpoint

for the delete load balancer operation operation.

Typically these are written to a http.Request.

func NewDeleteLoadBalancerOperationParams

func NewDeleteLoadBalancerOperationParams() *DeleteLoadBalancerOperationParams

NewDeleteLoadBalancerOperationParams creates a new DeleteLoadBalancerOperationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteLoadBalancerOperationParamsWithContext

func NewDeleteLoadBalancerOperationParamsWithContext(ctx context.Context) *DeleteLoadBalancerOperationParams

NewDeleteLoadBalancerOperationParamsWithContext creates a new DeleteLoadBalancerOperationParams object with the ability to set a context for a request.

func NewDeleteLoadBalancerOperationParamsWithHTTPClient

func NewDeleteLoadBalancerOperationParamsWithHTTPClient(client *http.Client) *DeleteLoadBalancerOperationParams

NewDeleteLoadBalancerOperationParamsWithHTTPClient creates a new DeleteLoadBalancerOperationParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteLoadBalancerOperationParamsWithTimeout

func NewDeleteLoadBalancerOperationParamsWithTimeout(timeout time.Duration) *DeleteLoadBalancerOperationParams

NewDeleteLoadBalancerOperationParamsWithTimeout creates a new DeleteLoadBalancerOperationParams object with the ability to set a timeout on a request.

func (*DeleteLoadBalancerOperationParams) SetAPIVersion

func (o *DeleteLoadBalancerOperationParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the delete load balancer operation params

func (*DeleteLoadBalancerOperationParams) SetContext

SetContext adds the context to the delete load balancer operation params

func (*DeleteLoadBalancerOperationParams) SetDefaults added in v0.2.20

func (o *DeleteLoadBalancerOperationParams) SetDefaults()

SetDefaults hydrates default values in the delete load balancer operation params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteLoadBalancerOperationParams) SetForceDelete added in v0.2.8

func (o *DeleteLoadBalancerOperationParams) SetForceDelete(forceDelete *bool)

SetForceDelete adds the forceDelete to the delete load balancer operation params

func (*DeleteLoadBalancerOperationParams) SetHTTPClient

func (o *DeleteLoadBalancerOperationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete load balancer operation params

func (*DeleteLoadBalancerOperationParams) SetID

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) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the delete load balancer operation params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteLoadBalancerOperationParams) WithForceDelete added in v0.2.8

WithForceDelete adds the forceDelete 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 refer to /iaas/api/about
	*/
	APIVersion *string

	/* ForceDelete.

	   Controls whether this is a force delete operation. If true, best effort is made for deleting this load balancer. Use with caution as force deleting may cause inconsistencies between the cloud provider and vRA.
	*/
	ForceDelete *bool

	/* ID.

	   The ID of the load balancer.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteLoadBalancerParams contains all the parameters to send to the API endpoint

for the delete load balancer operation.

Typically these are written to a http.Request.

func NewDeleteLoadBalancerParams

func NewDeleteLoadBalancerParams() *DeleteLoadBalancerParams

NewDeleteLoadBalancerParams creates a new DeleteLoadBalancerParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteLoadBalancerParamsWithContext

func NewDeleteLoadBalancerParamsWithContext(ctx context.Context) *DeleteLoadBalancerParams

NewDeleteLoadBalancerParamsWithContext creates a new DeleteLoadBalancerParams object with the ability to set a context for a request.

func NewDeleteLoadBalancerParamsWithHTTPClient

func NewDeleteLoadBalancerParamsWithHTTPClient(client *http.Client) *DeleteLoadBalancerParams

NewDeleteLoadBalancerParamsWithHTTPClient creates a new DeleteLoadBalancerParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteLoadBalancerParamsWithTimeout

func NewDeleteLoadBalancerParamsWithTimeout(timeout time.Duration) *DeleteLoadBalancerParams

NewDeleteLoadBalancerParamsWithTimeout creates a new DeleteLoadBalancerParams object with the ability to set a timeout on a request.

func (*DeleteLoadBalancerParams) SetAPIVersion

func (o *DeleteLoadBalancerParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the delete load balancer params

func (*DeleteLoadBalancerParams) SetContext

func (o *DeleteLoadBalancerParams) SetContext(ctx context.Context)

SetContext adds the context to the delete load balancer params

func (*DeleteLoadBalancerParams) SetDefaults added in v0.2.20

func (o *DeleteLoadBalancerParams) SetDefaults()

SetDefaults hydrates default values in the delete load balancer params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteLoadBalancerParams) SetForceDelete added in v0.2.8

func (o *DeleteLoadBalancerParams) SetForceDelete(forceDelete *bool)

SetForceDelete adds the forceDelete to the delete load balancer params

func (*DeleteLoadBalancerParams) SetHTTPClient

func (o *DeleteLoadBalancerParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete load balancer params

func (*DeleteLoadBalancerParams) SetID

func (o *DeleteLoadBalancerParams) SetID(id string)

SetID adds the id to the delete load balancer params

func (*DeleteLoadBalancerParams) SetTimeout

func (o *DeleteLoadBalancerParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete load balancer params

func (*DeleteLoadBalancerParams) WithAPIVersion

func (o *DeleteLoadBalancerParams) WithAPIVersion(aPIVersion *string) *DeleteLoadBalancerParams

WithAPIVersion adds the aPIVersion to the delete load balancer params

func (*DeleteLoadBalancerParams) WithContext

WithContext adds the context to the delete load balancer params

func (*DeleteLoadBalancerParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the delete load balancer params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteLoadBalancerParams) WithForceDelete added in v0.2.8

func (o *DeleteLoadBalancerParams) WithForceDelete(forceDelete *bool) *DeleteLoadBalancerParams

WithForceDelete adds the forceDelete to the delete load balancer params

func (*DeleteLoadBalancerParams) WithHTTPClient

func (o *DeleteLoadBalancerParams) WithHTTPClient(client *http.Client) *DeleteLoadBalancerParams

WithHTTPClient adds the HTTPClient to the delete load balancer params

func (*DeleteLoadBalancerParams) WithID

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 {
	Payload *models.ServiceErrorResponse
}

GetLoadBalancerForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetLoadBalancerForbidden

func NewGetLoadBalancerForbidden() *GetLoadBalancerForbidden

NewGetLoadBalancerForbidden creates a GetLoadBalancerForbidden with default headers values

func (*GetLoadBalancerForbidden) Error

func (o *GetLoadBalancerForbidden) Error() string

func (*GetLoadBalancerForbidden) GetPayload added in v0.2.20

func (*GetLoadBalancerForbidden) IsClientError added in v0.5.0

func (o *GetLoadBalancerForbidden) IsClientError() bool

IsClientError returns true when this get load balancer forbidden response has a 4xx status code

func (*GetLoadBalancerForbidden) IsCode added in v0.5.0

func (o *GetLoadBalancerForbidden) IsCode(code int) bool

IsCode returns true when this get load balancer forbidden response a status code equal to that given

func (*GetLoadBalancerForbidden) IsRedirect added in v0.5.0

func (o *GetLoadBalancerForbidden) IsRedirect() bool

IsRedirect returns true when this get load balancer forbidden response has a 3xx status code

func (*GetLoadBalancerForbidden) IsServerError added in v0.5.0

func (o *GetLoadBalancerForbidden) IsServerError() bool

IsServerError returns true when this get load balancer forbidden response has a 5xx status code

func (*GetLoadBalancerForbidden) IsSuccess added in v0.5.0

func (o *GetLoadBalancerForbidden) IsSuccess() bool

IsSuccess returns true when this get load balancer forbidden response has a 2xx status code

func (*GetLoadBalancerForbidden) String added in v0.5.0

func (o *GetLoadBalancerForbidden) String() string

type GetLoadBalancerNetworkInterfaceForbidden added in v0.2.3

type GetLoadBalancerNetworkInterfaceForbidden struct {
	Payload *models.ServiceErrorResponse
}

GetLoadBalancerNetworkInterfaceForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetLoadBalancerNetworkInterfaceForbidden added in v0.2.3

func NewGetLoadBalancerNetworkInterfaceForbidden() *GetLoadBalancerNetworkInterfaceForbidden

NewGetLoadBalancerNetworkInterfaceForbidden creates a GetLoadBalancerNetworkInterfaceForbidden with default headers values

func (*GetLoadBalancerNetworkInterfaceForbidden) Error added in v0.2.3

func (*GetLoadBalancerNetworkInterfaceForbidden) GetPayload added in v0.2.20

func (*GetLoadBalancerNetworkInterfaceForbidden) IsClientError added in v0.5.0

IsClientError returns true when this get load balancer network interface forbidden response has a 4xx status code

func (*GetLoadBalancerNetworkInterfaceForbidden) IsCode added in v0.5.0

IsCode returns true when this get load balancer network interface forbidden response a status code equal to that given

func (*GetLoadBalancerNetworkInterfaceForbidden) IsRedirect added in v0.5.0

IsRedirect returns true when this get load balancer network interface forbidden response has a 3xx status code

func (*GetLoadBalancerNetworkInterfaceForbidden) IsServerError added in v0.5.0

IsServerError returns true when this get load balancer network interface forbidden response has a 5xx status code

func (*GetLoadBalancerNetworkInterfaceForbidden) IsSuccess added in v0.5.0

IsSuccess returns true when this get load balancer network interface forbidden response has a 2xx status code

func (*GetLoadBalancerNetworkInterfaceForbidden) String added in v0.5.0

type GetLoadBalancerNetworkInterfaceNotFound added in v0.2.3

type GetLoadBalancerNetworkInterfaceNotFound struct {
	Payload *models.Error
}

GetLoadBalancerNetworkInterfaceNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetLoadBalancerNetworkInterfaceNotFound added in v0.2.3

func NewGetLoadBalancerNetworkInterfaceNotFound() *GetLoadBalancerNetworkInterfaceNotFound

NewGetLoadBalancerNetworkInterfaceNotFound creates a GetLoadBalancerNetworkInterfaceNotFound with default headers values

func (*GetLoadBalancerNetworkInterfaceNotFound) Error added in v0.2.3

func (*GetLoadBalancerNetworkInterfaceNotFound) GetPayload added in v0.2.9

func (*GetLoadBalancerNetworkInterfaceNotFound) IsClientError added in v0.5.0

func (o *GetLoadBalancerNetworkInterfaceNotFound) IsClientError() bool

IsClientError returns true when this get load balancer network interface not found response has a 4xx status code

func (*GetLoadBalancerNetworkInterfaceNotFound) IsCode added in v0.5.0

IsCode returns true when this get load balancer network interface not found response a status code equal to that given

func (*GetLoadBalancerNetworkInterfaceNotFound) IsRedirect added in v0.5.0

IsRedirect returns true when this get load balancer network interface not found response has a 3xx status code

func (*GetLoadBalancerNetworkInterfaceNotFound) IsServerError added in v0.5.0

func (o *GetLoadBalancerNetworkInterfaceNotFound) IsServerError() bool

IsServerError returns true when this get load balancer network interface not found response has a 5xx status code

func (*GetLoadBalancerNetworkInterfaceNotFound) IsSuccess added in v0.5.0

IsSuccess returns true when this get load balancer network interface not found response has a 2xx status code

func (*GetLoadBalancerNetworkInterfaceNotFound) String added in v0.5.0

type GetLoadBalancerNetworkInterfaceOK added in v0.2.3

type GetLoadBalancerNetworkInterfaceOK struct {
	Payload *models.NetworkInterface
}

GetLoadBalancerNetworkInterfaceOK describes a response with status code 200, with default header values.

successful operation

func NewGetLoadBalancerNetworkInterfaceOK added in v0.2.3

func NewGetLoadBalancerNetworkInterfaceOK() *GetLoadBalancerNetworkInterfaceOK

NewGetLoadBalancerNetworkInterfaceOK creates a GetLoadBalancerNetworkInterfaceOK with default headers values

func (*GetLoadBalancerNetworkInterfaceOK) Error added in v0.2.3

func (*GetLoadBalancerNetworkInterfaceOK) GetPayload added in v0.2.3

func (*GetLoadBalancerNetworkInterfaceOK) IsClientError added in v0.5.0

func (o *GetLoadBalancerNetworkInterfaceOK) IsClientError() bool

IsClientError returns true when this get load balancer network interface o k response has a 4xx status code

func (*GetLoadBalancerNetworkInterfaceOK) IsCode added in v0.5.0

func (o *GetLoadBalancerNetworkInterfaceOK) IsCode(code int) bool

IsCode returns true when this get load balancer network interface o k response a status code equal to that given

func (*GetLoadBalancerNetworkInterfaceOK) IsRedirect added in v0.5.0

func (o *GetLoadBalancerNetworkInterfaceOK) IsRedirect() bool

IsRedirect returns true when this get load balancer network interface o k response has a 3xx status code

func (*GetLoadBalancerNetworkInterfaceOK) IsServerError added in v0.5.0

func (o *GetLoadBalancerNetworkInterfaceOK) IsServerError() bool

IsServerError returns true when this get load balancer network interface o k response has a 5xx status code

func (*GetLoadBalancerNetworkInterfaceOK) IsSuccess added in v0.5.0

func (o *GetLoadBalancerNetworkInterfaceOK) IsSuccess() bool

IsSuccess returns true when this get load balancer network interface o k response has a 2xx status code

func (*GetLoadBalancerNetworkInterfaceOK) String added in v0.5.0

type GetLoadBalancerNetworkInterfaceParams added in v0.2.3

type GetLoadBalancerNetworkInterfaceParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* ID.

	   The ID of the load balancer.
	*/
	ID string

	/* Id1.

	   The ID of the network interface.
	*/
	Id1 string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetLoadBalancerNetworkInterfaceParams contains all the parameters to send to the API endpoint

for the get load balancer network interface operation.

Typically these are written to a http.Request.

func NewGetLoadBalancerNetworkInterfaceParams added in v0.2.3

func NewGetLoadBalancerNetworkInterfaceParams() *GetLoadBalancerNetworkInterfaceParams

NewGetLoadBalancerNetworkInterfaceParams creates a new GetLoadBalancerNetworkInterfaceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetLoadBalancerNetworkInterfaceParamsWithContext added in v0.2.3

func NewGetLoadBalancerNetworkInterfaceParamsWithContext(ctx context.Context) *GetLoadBalancerNetworkInterfaceParams

NewGetLoadBalancerNetworkInterfaceParamsWithContext creates a new GetLoadBalancerNetworkInterfaceParams object with the ability to set a context for a request.

func NewGetLoadBalancerNetworkInterfaceParamsWithHTTPClient added in v0.2.3

func NewGetLoadBalancerNetworkInterfaceParamsWithHTTPClient(client *http.Client) *GetLoadBalancerNetworkInterfaceParams

NewGetLoadBalancerNetworkInterfaceParamsWithHTTPClient creates a new GetLoadBalancerNetworkInterfaceParams object with the ability to set a custom HTTPClient for a request.

func NewGetLoadBalancerNetworkInterfaceParamsWithTimeout added in v0.2.3

func NewGetLoadBalancerNetworkInterfaceParamsWithTimeout(timeout time.Duration) *GetLoadBalancerNetworkInterfaceParams

NewGetLoadBalancerNetworkInterfaceParamsWithTimeout creates a new GetLoadBalancerNetworkInterfaceParams object with the ability to set a timeout on a request.

func (*GetLoadBalancerNetworkInterfaceParams) SetAPIVersion added in v0.2.3

func (o *GetLoadBalancerNetworkInterfaceParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get load balancer network interface params

func (*GetLoadBalancerNetworkInterfaceParams) SetContext added in v0.2.3

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

func (*GetLoadBalancerNetworkInterfaceParams) SetDefaults added in v0.2.20

func (o *GetLoadBalancerNetworkInterfaceParams) SetDefaults()

SetDefaults hydrates default values in the get load balancer network interface params (not the query body).

All values with no default are reset to their zero value.

func (*GetLoadBalancerNetworkInterfaceParams) SetHTTPClient added in v0.2.3

func (o *GetLoadBalancerNetworkInterfaceParams) SetHTTPClient(client *http.Client)

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

func (*GetLoadBalancerNetworkInterfaceParams) SetID added in v0.2.3

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) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get load balancer network interface params (not the query body).

All values with no default are reset to their zero value.

func (*GetLoadBalancerNetworkInterfaceParams) WithHTTPClient added in v0.2.3

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 {
	Payload *models.Error
}

GetLoadBalancerNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetLoadBalancerNotFound

func NewGetLoadBalancerNotFound() *GetLoadBalancerNotFound

NewGetLoadBalancerNotFound creates a GetLoadBalancerNotFound with default headers values

func (*GetLoadBalancerNotFound) Error

func (o *GetLoadBalancerNotFound) Error() string

func (*GetLoadBalancerNotFound) GetPayload added in v0.2.9

func (o *GetLoadBalancerNotFound) GetPayload() *models.Error

func (*GetLoadBalancerNotFound) IsClientError added in v0.5.0

func (o *GetLoadBalancerNotFound) IsClientError() bool

IsClientError returns true when this get load balancer not found response has a 4xx status code

func (*GetLoadBalancerNotFound) IsCode added in v0.5.0

func (o *GetLoadBalancerNotFound) IsCode(code int) bool

IsCode returns true when this get load balancer not found response a status code equal to that given

func (*GetLoadBalancerNotFound) IsRedirect added in v0.5.0

func (o *GetLoadBalancerNotFound) IsRedirect() bool

IsRedirect returns true when this get load balancer not found response has a 3xx status code

func (*GetLoadBalancerNotFound) IsServerError added in v0.5.0

func (o *GetLoadBalancerNotFound) IsServerError() bool

IsServerError returns true when this get load balancer not found response has a 5xx status code

func (*GetLoadBalancerNotFound) IsSuccess added in v0.5.0

func (o *GetLoadBalancerNotFound) IsSuccess() bool

IsSuccess returns true when this get load balancer not found response has a 2xx status code

func (*GetLoadBalancerNotFound) String added in v0.5.0

func (o *GetLoadBalancerNotFound) String() string

type GetLoadBalancerOK

type GetLoadBalancerOK struct {
	Payload *models.LoadBalancer
}

GetLoadBalancerOK describes a response with status code 200, with default header values.

successful operation

func NewGetLoadBalancerOK

func NewGetLoadBalancerOK() *GetLoadBalancerOK

NewGetLoadBalancerOK creates a GetLoadBalancerOK with default headers values

func (*GetLoadBalancerOK) Error

func (o *GetLoadBalancerOK) Error() string

func (*GetLoadBalancerOK) GetPayload

func (o *GetLoadBalancerOK) GetPayload() *models.LoadBalancer

func (*GetLoadBalancerOK) IsClientError added in v0.5.0

func (o *GetLoadBalancerOK) IsClientError() bool

IsClientError returns true when this get load balancer o k response has a 4xx status code

func (*GetLoadBalancerOK) IsCode added in v0.5.0

func (o *GetLoadBalancerOK) IsCode(code int) bool

IsCode returns true when this get load balancer o k response a status code equal to that given

func (*GetLoadBalancerOK) IsRedirect added in v0.5.0

func (o *GetLoadBalancerOK) IsRedirect() bool

IsRedirect returns true when this get load balancer o k response has a 3xx status code

func (*GetLoadBalancerOK) IsServerError added in v0.5.0

func (o *GetLoadBalancerOK) IsServerError() bool

IsServerError returns true when this get load balancer o k response has a 5xx status code

func (*GetLoadBalancerOK) IsSuccess added in v0.5.0

func (o *GetLoadBalancerOK) IsSuccess() bool

IsSuccess returns true when this get load balancer o k response has a 2xx status code

func (*GetLoadBalancerOK) String added in v0.5.0

func (o *GetLoadBalancerOK) String() string

type GetLoadBalancerParams

type GetLoadBalancerParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* ID.

	   The ID of the load balancer.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetLoadBalancerParams contains all the parameters to send to the API endpoint

for the get load balancer operation.

Typically these are written to a http.Request.

func NewGetLoadBalancerParams

func NewGetLoadBalancerParams() *GetLoadBalancerParams

NewGetLoadBalancerParams creates a new GetLoadBalancerParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetLoadBalancerParamsWithContext

func NewGetLoadBalancerParamsWithContext(ctx context.Context) *GetLoadBalancerParams

NewGetLoadBalancerParamsWithContext creates a new GetLoadBalancerParams object with the ability to set a context for a request.

func NewGetLoadBalancerParamsWithHTTPClient

func NewGetLoadBalancerParamsWithHTTPClient(client *http.Client) *GetLoadBalancerParams

NewGetLoadBalancerParamsWithHTTPClient creates a new GetLoadBalancerParams object with the ability to set a custom HTTPClient for a request.

func NewGetLoadBalancerParamsWithTimeout

func NewGetLoadBalancerParamsWithTimeout(timeout time.Duration) *GetLoadBalancerParams

NewGetLoadBalancerParamsWithTimeout creates a new GetLoadBalancerParams object with the ability to set a timeout on a request.

func (*GetLoadBalancerParams) SetAPIVersion

func (o *GetLoadBalancerParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get load balancer params

func (*GetLoadBalancerParams) SetContext

func (o *GetLoadBalancerParams) SetContext(ctx context.Context)

SetContext adds the context to the get load balancer params

func (*GetLoadBalancerParams) SetDefaults added in v0.2.20

func (o *GetLoadBalancerParams) SetDefaults()

SetDefaults hydrates default values in the get load balancer params (not the query body).

All values with no default are reset to their zero value.

func (*GetLoadBalancerParams) SetHTTPClient

func (o *GetLoadBalancerParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get load balancer params

func (*GetLoadBalancerParams) SetID

func (o *GetLoadBalancerParams) SetID(id string)

SetID adds the id to the get load balancer params

func (*GetLoadBalancerParams) SetTimeout

func (o *GetLoadBalancerParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get load balancer params

func (*GetLoadBalancerParams) WithAPIVersion

func (o *GetLoadBalancerParams) WithAPIVersion(aPIVersion *string) *GetLoadBalancerParams

WithAPIVersion adds the aPIVersion to the get load balancer params

func (*GetLoadBalancerParams) WithContext

WithContext adds the context to the get load balancer params

func (*GetLoadBalancerParams) WithDefaults added in v0.2.20

func (o *GetLoadBalancerParams) WithDefaults() *GetLoadBalancerParams

WithDefaults hydrates default values in the get load balancer params (not the query body).

All values with no default are reset to their zero value.

func (*GetLoadBalancerParams) WithHTTPClient

func (o *GetLoadBalancerParams) WithHTTPClient(client *http.Client) *GetLoadBalancerParams

WithHTTPClient adds the HTTPClient to the get load balancer params

func (*GetLoadBalancerParams) WithID

WithID adds the id to the get load balancer params

func (*GetLoadBalancerParams) WithTimeout

func (o *GetLoadBalancerParams) WithTimeout(timeout time.Duration) *GetLoadBalancerParams

WithTimeout adds the timeout to the get load balancer params

func (*GetLoadBalancerParams) WriteToRequest

func (o *GetLoadBalancerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetLoadBalancerReader

type GetLoadBalancerReader struct {
	// contains filtered or unexported fields
}

GetLoadBalancerReader is a Reader for the GetLoadBalancer structure.

func (*GetLoadBalancerReader) ReadResponse

func (o *GetLoadBalancerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetLoadBalancersForbidden

type GetLoadBalancersForbidden struct {
	Payload *models.ServiceErrorResponse
}

GetLoadBalancersForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetLoadBalancersForbidden

func NewGetLoadBalancersForbidden() *GetLoadBalancersForbidden

NewGetLoadBalancersForbidden creates a GetLoadBalancersForbidden with default headers values

func (*GetLoadBalancersForbidden) Error

func (o *GetLoadBalancersForbidden) Error() string

func (*GetLoadBalancersForbidden) GetPayload added in v0.2.20

func (*GetLoadBalancersForbidden) IsClientError added in v0.5.0

func (o *GetLoadBalancersForbidden) IsClientError() bool

IsClientError returns true when this get load balancers forbidden response has a 4xx status code

func (*GetLoadBalancersForbidden) IsCode added in v0.5.0

func (o *GetLoadBalancersForbidden) IsCode(code int) bool

IsCode returns true when this get load balancers forbidden response a status code equal to that given

func (*GetLoadBalancersForbidden) IsRedirect added in v0.5.0

func (o *GetLoadBalancersForbidden) IsRedirect() bool

IsRedirect returns true when this get load balancers forbidden response has a 3xx status code

func (*GetLoadBalancersForbidden) IsServerError added in v0.5.0

func (o *GetLoadBalancersForbidden) IsServerError() bool

IsServerError returns true when this get load balancers forbidden response has a 5xx status code

func (*GetLoadBalancersForbidden) IsSuccess added in v0.5.0

func (o *GetLoadBalancersForbidden) IsSuccess() bool

IsSuccess returns true when this get load balancers forbidden response has a 2xx status code

func (*GetLoadBalancersForbidden) String added in v0.5.0

func (o *GetLoadBalancersForbidden) String() string

type GetLoadBalancersOK

type GetLoadBalancersOK struct {
	Payload *models.LoadBalancerResult
}

GetLoadBalancersOK describes a response with status code 200, with default header values.

successful operation

func NewGetLoadBalancersOK

func NewGetLoadBalancersOK() *GetLoadBalancersOK

NewGetLoadBalancersOK creates a GetLoadBalancersOK with default headers values

func (*GetLoadBalancersOK) Error

func (o *GetLoadBalancersOK) Error() string

func (*GetLoadBalancersOK) GetPayload

func (o *GetLoadBalancersOK) GetPayload() *models.LoadBalancerResult

func (*GetLoadBalancersOK) IsClientError added in v0.5.0

func (o *GetLoadBalancersOK) IsClientError() bool

IsClientError returns true when this get load balancers o k response has a 4xx status code

func (*GetLoadBalancersOK) IsCode added in v0.5.0

func (o *GetLoadBalancersOK) IsCode(code int) bool

IsCode returns true when this get load balancers o k response a status code equal to that given

func (*GetLoadBalancersOK) IsRedirect added in v0.5.0

func (o *GetLoadBalancersOK) IsRedirect() bool

IsRedirect returns true when this get load balancers o k response has a 3xx status code

func (*GetLoadBalancersOK) IsServerError added in v0.5.0

func (o *GetLoadBalancersOK) IsServerError() bool

IsServerError returns true when this get load balancers o k response has a 5xx status code

func (*GetLoadBalancersOK) IsSuccess added in v0.5.0

func (o *GetLoadBalancersOK) IsSuccess() bool

IsSuccess returns true when this get load balancers o k response has a 2xx status code

func (*GetLoadBalancersOK) String added in v0.5.0

func (o *GetLoadBalancersOK) String() string

type GetLoadBalancersParams

type GetLoadBalancersParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetLoadBalancersParams contains all the parameters to send to the API endpoint

for the get load balancers operation.

Typically these are written to a http.Request.

func NewGetLoadBalancersParams

func NewGetLoadBalancersParams() *GetLoadBalancersParams

NewGetLoadBalancersParams creates a new GetLoadBalancersParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetLoadBalancersParamsWithContext

func NewGetLoadBalancersParamsWithContext(ctx context.Context) *GetLoadBalancersParams

NewGetLoadBalancersParamsWithContext creates a new GetLoadBalancersParams object with the ability to set a context for a request.

func NewGetLoadBalancersParamsWithHTTPClient

func NewGetLoadBalancersParamsWithHTTPClient(client *http.Client) *GetLoadBalancersParams

NewGetLoadBalancersParamsWithHTTPClient creates a new GetLoadBalancersParams object with the ability to set a custom HTTPClient for a request.

func NewGetLoadBalancersParamsWithTimeout

func NewGetLoadBalancersParamsWithTimeout(timeout time.Duration) *GetLoadBalancersParams

NewGetLoadBalancersParamsWithTimeout creates a new GetLoadBalancersParams object with the ability to set a timeout on a request.

func (*GetLoadBalancersParams) SetAPIVersion

func (o *GetLoadBalancersParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get load balancers params

func (*GetLoadBalancersParams) SetContext

func (o *GetLoadBalancersParams) SetContext(ctx context.Context)

SetContext adds the context to the get load balancers params

func (*GetLoadBalancersParams) SetDefaults added in v0.2.20

func (o *GetLoadBalancersParams) SetDefaults()

SetDefaults hydrates default values in the get load balancers params (not the query body).

All values with no default are reset to their zero value.

func (*GetLoadBalancersParams) SetHTTPClient

func (o *GetLoadBalancersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get load balancers params

func (*GetLoadBalancersParams) SetTimeout

func (o *GetLoadBalancersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get load balancers params

func (*GetLoadBalancersParams) WithAPIVersion

func (o *GetLoadBalancersParams) WithAPIVersion(aPIVersion *string) *GetLoadBalancersParams

WithAPIVersion adds the aPIVersion to the get load balancers params

func (*GetLoadBalancersParams) WithContext

WithContext adds the context to the get load balancers params

func (*GetLoadBalancersParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get load balancers params (not the query body).

All values with no default are reset to their zero value.

func (*GetLoadBalancersParams) WithHTTPClient

func (o *GetLoadBalancersParams) WithHTTPClient(client *http.Client) *GetLoadBalancersParams

WithHTTPClient adds the HTTPClient to the get load balancers params

func (*GetLoadBalancersParams) WithTimeout

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 describes a response with status code 202, with default header values.

successful operation

func NewScaleLoadBalancerAccepted

func NewScaleLoadBalancerAccepted() *ScaleLoadBalancerAccepted

NewScaleLoadBalancerAccepted creates a ScaleLoadBalancerAccepted with default headers values

func (*ScaleLoadBalancerAccepted) Error

func (o *ScaleLoadBalancerAccepted) Error() string

func (*ScaleLoadBalancerAccepted) GetPayload

func (*ScaleLoadBalancerAccepted) IsClientError added in v0.5.0

func (o *ScaleLoadBalancerAccepted) IsClientError() bool

IsClientError returns true when this scale load balancer accepted response has a 4xx status code

func (*ScaleLoadBalancerAccepted) IsCode added in v0.5.0

func (o *ScaleLoadBalancerAccepted) IsCode(code int) bool

IsCode returns true when this scale load balancer accepted response a status code equal to that given

func (*ScaleLoadBalancerAccepted) IsRedirect added in v0.5.0

func (o *ScaleLoadBalancerAccepted) IsRedirect() bool

IsRedirect returns true when this scale load balancer accepted response has a 3xx status code

func (*ScaleLoadBalancerAccepted) IsServerError added in v0.5.0

func (o *ScaleLoadBalancerAccepted) IsServerError() bool

IsServerError returns true when this scale load balancer accepted response has a 5xx status code

func (*ScaleLoadBalancerAccepted) IsSuccess added in v0.5.0

func (o *ScaleLoadBalancerAccepted) IsSuccess() bool

IsSuccess returns true when this scale load balancer accepted response has a 2xx status code

func (*ScaleLoadBalancerAccepted) String added in v0.5.0

func (o *ScaleLoadBalancerAccepted) String() string

type ScaleLoadBalancerForbidden

type ScaleLoadBalancerForbidden struct {
	Payload *models.ServiceErrorResponse
}

ScaleLoadBalancerForbidden describes a response with status code 403, with default header values.

Forbidden

func NewScaleLoadBalancerForbidden

func NewScaleLoadBalancerForbidden() *ScaleLoadBalancerForbidden

NewScaleLoadBalancerForbidden creates a ScaleLoadBalancerForbidden with default headers values

func (*ScaleLoadBalancerForbidden) Error

func (*ScaleLoadBalancerForbidden) GetPayload added in v0.2.20

func (*ScaleLoadBalancerForbidden) IsClientError added in v0.5.0

func (o *ScaleLoadBalancerForbidden) IsClientError() bool

IsClientError returns true when this scale load balancer forbidden response has a 4xx status code

func (*ScaleLoadBalancerForbidden) IsCode added in v0.5.0

func (o *ScaleLoadBalancerForbidden) IsCode(code int) bool

IsCode returns true when this scale load balancer forbidden response a status code equal to that given

func (*ScaleLoadBalancerForbidden) IsRedirect added in v0.5.0

func (o *ScaleLoadBalancerForbidden) IsRedirect() bool

IsRedirect returns true when this scale load balancer forbidden response has a 3xx status code

func (*ScaleLoadBalancerForbidden) IsServerError added in v0.5.0

func (o *ScaleLoadBalancerForbidden) IsServerError() bool

IsServerError returns true when this scale load balancer forbidden response has a 5xx status code

func (*ScaleLoadBalancerForbidden) IsSuccess added in v0.5.0

func (o *ScaleLoadBalancerForbidden) IsSuccess() bool

IsSuccess returns true when this scale load balancer forbidden response has a 2xx status code

func (*ScaleLoadBalancerForbidden) String added in v0.5.0

func (o *ScaleLoadBalancerForbidden) String() string

type ScaleLoadBalancerNotFound

type ScaleLoadBalancerNotFound struct {
	Payload *models.Error
}

ScaleLoadBalancerNotFound describes a response with status code 404, with default header values.

Not Found

func NewScaleLoadBalancerNotFound

func NewScaleLoadBalancerNotFound() *ScaleLoadBalancerNotFound

NewScaleLoadBalancerNotFound creates a ScaleLoadBalancerNotFound with default headers values

func (*ScaleLoadBalancerNotFound) Error

func (o *ScaleLoadBalancerNotFound) Error() string

func (*ScaleLoadBalancerNotFound) GetPayload added in v0.2.9

func (o *ScaleLoadBalancerNotFound) GetPayload() *models.Error

func (*ScaleLoadBalancerNotFound) IsClientError added in v0.5.0

func (o *ScaleLoadBalancerNotFound) IsClientError() bool

IsClientError returns true when this scale load balancer not found response has a 4xx status code

func (*ScaleLoadBalancerNotFound) IsCode added in v0.5.0

func (o *ScaleLoadBalancerNotFound) IsCode(code int) bool

IsCode returns true when this scale load balancer not found response a status code equal to that given

func (*ScaleLoadBalancerNotFound) IsRedirect added in v0.5.0

func (o *ScaleLoadBalancerNotFound) IsRedirect() bool

IsRedirect returns true when this scale load balancer not found response has a 3xx status code

func (*ScaleLoadBalancerNotFound) IsServerError added in v0.5.0

func (o *ScaleLoadBalancerNotFound) IsServerError() bool

IsServerError returns true when this scale load balancer not found response has a 5xx status code

func (*ScaleLoadBalancerNotFound) IsSuccess added in v0.5.0

func (o *ScaleLoadBalancerNotFound) IsSuccess() bool

IsSuccess returns true when this scale load balancer not found response has a 2xx status code

func (*ScaleLoadBalancerNotFound) String added in v0.5.0

func (o *ScaleLoadBalancerNotFound) String() string

type ScaleLoadBalancerParams

type ScaleLoadBalancerParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* Body.

	   LoadBalancer Specification instance
	*/
	Body *models.LoadBalancerSpecification

	/* ID.

	   The ID of the load balancer.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ScaleLoadBalancerParams contains all the parameters to send to the API endpoint

for the scale load balancer operation.

Typically these are written to a http.Request.

func NewScaleLoadBalancerParams

func NewScaleLoadBalancerParams() *ScaleLoadBalancerParams

NewScaleLoadBalancerParams creates a new ScaleLoadBalancerParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewScaleLoadBalancerParamsWithContext

func NewScaleLoadBalancerParamsWithContext(ctx context.Context) *ScaleLoadBalancerParams

NewScaleLoadBalancerParamsWithContext creates a new ScaleLoadBalancerParams object with the ability to set a context for a request.

func NewScaleLoadBalancerParamsWithHTTPClient

func NewScaleLoadBalancerParamsWithHTTPClient(client *http.Client) *ScaleLoadBalancerParams

NewScaleLoadBalancerParamsWithHTTPClient creates a new ScaleLoadBalancerParams object with the ability to set a custom HTTPClient for a request.

func NewScaleLoadBalancerParamsWithTimeout

func NewScaleLoadBalancerParamsWithTimeout(timeout time.Duration) *ScaleLoadBalancerParams

NewScaleLoadBalancerParamsWithTimeout creates a new ScaleLoadBalancerParams object with the ability to set a timeout on a request.

func (*ScaleLoadBalancerParams) SetAPIVersion

func (o *ScaleLoadBalancerParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the scale load balancer params

func (*ScaleLoadBalancerParams) SetBody

SetBody adds the body to the scale load balancer params

func (*ScaleLoadBalancerParams) SetContext

func (o *ScaleLoadBalancerParams) SetContext(ctx context.Context)

SetContext adds the context to the scale load balancer params

func (*ScaleLoadBalancerParams) SetDefaults added in v0.2.20

func (o *ScaleLoadBalancerParams) SetDefaults()

SetDefaults hydrates default values in the scale load balancer params (not the query body).

All values with no default are reset to their zero value.

func (*ScaleLoadBalancerParams) SetHTTPClient

func (o *ScaleLoadBalancerParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the scale load balancer params

func (*ScaleLoadBalancerParams) SetID

func (o *ScaleLoadBalancerParams) SetID(id string)

SetID adds the id to the scale load balancer params

func (*ScaleLoadBalancerParams) SetTimeout

func (o *ScaleLoadBalancerParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the scale load balancer params

func (*ScaleLoadBalancerParams) WithAPIVersion

func (o *ScaleLoadBalancerParams) WithAPIVersion(aPIVersion *string) *ScaleLoadBalancerParams

WithAPIVersion adds the aPIVersion to the scale load balancer params

func (*ScaleLoadBalancerParams) WithBody

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) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the scale load balancer params (not the query body).

All values with no default are reset to their zero value.

func (*ScaleLoadBalancerParams) WithHTTPClient

func (o *ScaleLoadBalancerParams) WithHTTPClient(client *http.Client) *ScaleLoadBalancerParams

WithHTTPClient adds the HTTPClient to the scale load balancer params

func (*ScaleLoadBalancerParams) WithID

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