partition

package
v0.35.1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: MIT Imports: 12 Imported by: 3

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 partition API

func (*Client) CreatePartition

func (a *Client) CreatePartition(params *CreatePartitionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePartitionCreated, error)

CreatePartition creates a partition if the given ID already exists a conflict is returned

func (*Client) DeletePartition

func (a *Client) DeletePartition(params *DeletePartitionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePartitionOK, error)

DeletePartition deletes a partition and returns the deleted entity

func (*Client) FindPartition

func (a *Client) FindPartition(params *FindPartitionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindPartitionOK, error)

FindPartition gets partition by id

func (*Client) ListPartitions

func (a *Client) ListPartitions(params *ListPartitionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPartitionsOK, error)

ListPartitions gets all partitions

func (*Client) PartitionCapacity

func (a *Client) PartitionCapacity(params *PartitionCapacityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PartitionCapacityOK, error)

PartitionCapacity gets partition capacity

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdatePartition

func (a *Client) UpdatePartition(params *UpdatePartitionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePartitionOK, error)

UpdatePartition updates a partition if the partition was changed since this one was read a conflict is returned

type ClientOption added in v0.13.1

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService added in v0.11.0

type ClientService interface {
	CreatePartition(params *CreatePartitionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePartitionCreated, error)

	DeletePartition(params *DeletePartitionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePartitionOK, error)

	FindPartition(params *FindPartitionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindPartitionOK, error)

	ListPartitions(params *ListPartitionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPartitionsOK, error)

	PartitionCapacity(params *PartitionCapacityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PartitionCapacityOK, error)

	UpdatePartition(params *UpdatePartitionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePartitionOK, 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 partition API client.

func NewClientWithBasicAuth added in v0.32.0

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new partition API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken added in v0.32.0

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new partition API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type CreatePartitionConflict

type CreatePartitionConflict struct {
	Payload *httperrors.HTTPErrorResponse
}

CreatePartitionConflict describes a response with status code 409, with default header values.

Conflict

func NewCreatePartitionConflict

func NewCreatePartitionConflict() *CreatePartitionConflict

NewCreatePartitionConflict creates a CreatePartitionConflict with default headers values

func (*CreatePartitionConflict) Code added in v0.22.1

func (o *CreatePartitionConflict) Code() int

Code gets the status code for the create partition conflict response

func (*CreatePartitionConflict) Error

func (o *CreatePartitionConflict) Error() string

func (*CreatePartitionConflict) GetPayload added in v0.11.0

func (*CreatePartitionConflict) IsClientError added in v0.19.3

func (o *CreatePartitionConflict) IsClientError() bool

IsClientError returns true when this create partition conflict response has a 4xx status code

func (*CreatePartitionConflict) IsCode added in v0.19.3

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

IsCode returns true when this create partition conflict response a status code equal to that given

func (*CreatePartitionConflict) IsRedirect added in v0.19.3

func (o *CreatePartitionConflict) IsRedirect() bool

IsRedirect returns true when this create partition conflict response has a 3xx status code

func (*CreatePartitionConflict) IsServerError added in v0.19.3

func (o *CreatePartitionConflict) IsServerError() bool

IsServerError returns true when this create partition conflict response has a 5xx status code

func (*CreatePartitionConflict) IsSuccess added in v0.19.3

func (o *CreatePartitionConflict) IsSuccess() bool

IsSuccess returns true when this create partition conflict response has a 2xx status code

func (*CreatePartitionConflict) String added in v0.19.3

func (o *CreatePartitionConflict) String() string

type CreatePartitionCreated

type CreatePartitionCreated struct {
	Payload *models.V1PartitionResponse
}

CreatePartitionCreated describes a response with status code 201, with default header values.

Created

func NewCreatePartitionCreated

func NewCreatePartitionCreated() *CreatePartitionCreated

NewCreatePartitionCreated creates a CreatePartitionCreated with default headers values

func (*CreatePartitionCreated) Code added in v0.22.1

func (o *CreatePartitionCreated) Code() int

Code gets the status code for the create partition created response

func (*CreatePartitionCreated) Error

func (o *CreatePartitionCreated) Error() string

func (*CreatePartitionCreated) GetPayload added in v0.11.0

func (*CreatePartitionCreated) IsClientError added in v0.19.3

func (o *CreatePartitionCreated) IsClientError() bool

IsClientError returns true when this create partition created response has a 4xx status code

func (*CreatePartitionCreated) IsCode added in v0.19.3

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

IsCode returns true when this create partition created response a status code equal to that given

func (*CreatePartitionCreated) IsRedirect added in v0.19.3

func (o *CreatePartitionCreated) IsRedirect() bool

IsRedirect returns true when this create partition created response has a 3xx status code

func (*CreatePartitionCreated) IsServerError added in v0.19.3

func (o *CreatePartitionCreated) IsServerError() bool

IsServerError returns true when this create partition created response has a 5xx status code

func (*CreatePartitionCreated) IsSuccess added in v0.19.3

func (o *CreatePartitionCreated) IsSuccess() bool

IsSuccess returns true when this create partition created response has a 2xx status code

func (*CreatePartitionCreated) String added in v0.19.3

func (o *CreatePartitionCreated) String() string

type CreatePartitionDefault

type CreatePartitionDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

CreatePartitionDefault describes a response with status code -1, with default header values.

Error

func NewCreatePartitionDefault

func NewCreatePartitionDefault(code int) *CreatePartitionDefault

NewCreatePartitionDefault creates a CreatePartitionDefault with default headers values

func (*CreatePartitionDefault) Code

func (o *CreatePartitionDefault) Code() int

Code gets the status code for the create partition default response

func (*CreatePartitionDefault) Error

func (o *CreatePartitionDefault) Error() string

func (*CreatePartitionDefault) GetPayload added in v0.11.0

func (*CreatePartitionDefault) IsClientError added in v0.19.3

func (o *CreatePartitionDefault) IsClientError() bool

IsClientError returns true when this create partition default response has a 4xx status code

func (*CreatePartitionDefault) IsCode added in v0.19.3

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

IsCode returns true when this create partition default response a status code equal to that given

func (*CreatePartitionDefault) IsRedirect added in v0.19.3

func (o *CreatePartitionDefault) IsRedirect() bool

IsRedirect returns true when this create partition default response has a 3xx status code

func (*CreatePartitionDefault) IsServerError added in v0.19.3

func (o *CreatePartitionDefault) IsServerError() bool

IsServerError returns true when this create partition default response has a 5xx status code

func (*CreatePartitionDefault) IsSuccess added in v0.19.3

func (o *CreatePartitionDefault) IsSuccess() bool

IsSuccess returns true when this create partition default response has a 2xx status code

func (*CreatePartitionDefault) String added in v0.19.3

func (o *CreatePartitionDefault) String() string

type CreatePartitionParams

type CreatePartitionParams struct {

	// Body.
	Body *models.V1PartitionCreateRequest

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

CreatePartitionParams contains all the parameters to send to the API endpoint

for the create partition operation.

Typically these are written to a http.Request.

func NewCreatePartitionParams

func NewCreatePartitionParams() *CreatePartitionParams

NewCreatePartitionParams creates a new CreatePartitionParams 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 NewCreatePartitionParamsWithContext

func NewCreatePartitionParamsWithContext(ctx context.Context) *CreatePartitionParams

NewCreatePartitionParamsWithContext creates a new CreatePartitionParams object with the ability to set a context for a request.

func NewCreatePartitionParamsWithHTTPClient

func NewCreatePartitionParamsWithHTTPClient(client *http.Client) *CreatePartitionParams

NewCreatePartitionParamsWithHTTPClient creates a new CreatePartitionParams object with the ability to set a custom HTTPClient for a request.

func NewCreatePartitionParamsWithTimeout

func NewCreatePartitionParamsWithTimeout(timeout time.Duration) *CreatePartitionParams

NewCreatePartitionParamsWithTimeout creates a new CreatePartitionParams object with the ability to set a timeout on a request.

func (*CreatePartitionParams) SetBody

SetBody adds the body to the create partition params

func (*CreatePartitionParams) SetContext

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

SetContext adds the context to the create partition params

func (*CreatePartitionParams) SetDefaults added in v0.12.1

func (o *CreatePartitionParams) SetDefaults()

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

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

func (*CreatePartitionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create partition params

func (*CreatePartitionParams) SetTimeout

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

SetTimeout adds the timeout to the create partition params

func (*CreatePartitionParams) WithBody

WithBody adds the body to the create partition params

func (*CreatePartitionParams) WithContext

WithContext adds the context to the create partition params

func (*CreatePartitionParams) WithDefaults added in v0.12.1

func (o *CreatePartitionParams) WithDefaults() *CreatePartitionParams

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

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

func (*CreatePartitionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create partition params

func (*CreatePartitionParams) WithTimeout

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

WithTimeout adds the timeout to the create partition params

func (*CreatePartitionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreatePartitionReader

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

CreatePartitionReader is a Reader for the CreatePartition structure.

func (*CreatePartitionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePartitionDefault

type DeletePartitionDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

DeletePartitionDefault describes a response with status code -1, with default header values.

Error

func NewDeletePartitionDefault

func NewDeletePartitionDefault(code int) *DeletePartitionDefault

NewDeletePartitionDefault creates a DeletePartitionDefault with default headers values

func (*DeletePartitionDefault) Code

func (o *DeletePartitionDefault) Code() int

Code gets the status code for the delete partition default response

func (*DeletePartitionDefault) Error

func (o *DeletePartitionDefault) Error() string

func (*DeletePartitionDefault) GetPayload added in v0.11.0

func (*DeletePartitionDefault) IsClientError added in v0.19.3

func (o *DeletePartitionDefault) IsClientError() bool

IsClientError returns true when this delete partition default response has a 4xx status code

func (*DeletePartitionDefault) IsCode added in v0.19.3

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

IsCode returns true when this delete partition default response a status code equal to that given

func (*DeletePartitionDefault) IsRedirect added in v0.19.3

func (o *DeletePartitionDefault) IsRedirect() bool

IsRedirect returns true when this delete partition default response has a 3xx status code

func (*DeletePartitionDefault) IsServerError added in v0.19.3

func (o *DeletePartitionDefault) IsServerError() bool

IsServerError returns true when this delete partition default response has a 5xx status code

func (*DeletePartitionDefault) IsSuccess added in v0.19.3

func (o *DeletePartitionDefault) IsSuccess() bool

IsSuccess returns true when this delete partition default response has a 2xx status code

func (*DeletePartitionDefault) String added in v0.19.3

func (o *DeletePartitionDefault) String() string

type DeletePartitionOK

type DeletePartitionOK struct {
	Payload *models.V1PartitionResponse
}

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

OK

func NewDeletePartitionOK

func NewDeletePartitionOK() *DeletePartitionOK

NewDeletePartitionOK creates a DeletePartitionOK with default headers values

func (*DeletePartitionOK) Code added in v0.22.1

func (o *DeletePartitionOK) Code() int

Code gets the status code for the delete partition o k response

func (*DeletePartitionOK) Error

func (o *DeletePartitionOK) Error() string

func (*DeletePartitionOK) GetPayload added in v0.11.0

func (o *DeletePartitionOK) GetPayload() *models.V1PartitionResponse

func (*DeletePartitionOK) IsClientError added in v0.19.3

func (o *DeletePartitionOK) IsClientError() bool

IsClientError returns true when this delete partition o k response has a 4xx status code

func (*DeletePartitionOK) IsCode added in v0.19.3

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

IsCode returns true when this delete partition o k response a status code equal to that given

func (*DeletePartitionOK) IsRedirect added in v0.19.3

func (o *DeletePartitionOK) IsRedirect() bool

IsRedirect returns true when this delete partition o k response has a 3xx status code

func (*DeletePartitionOK) IsServerError added in v0.19.3

func (o *DeletePartitionOK) IsServerError() bool

IsServerError returns true when this delete partition o k response has a 5xx status code

func (*DeletePartitionOK) IsSuccess added in v0.19.3

func (o *DeletePartitionOK) IsSuccess() bool

IsSuccess returns true when this delete partition o k response has a 2xx status code

func (*DeletePartitionOK) String added in v0.19.3

func (o *DeletePartitionOK) String() string

type DeletePartitionParams

type DeletePartitionParams struct {

	/* ID.

	   identifier of the Partition
	*/
	ID string

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

DeletePartitionParams contains all the parameters to send to the API endpoint

for the delete partition operation.

Typically these are written to a http.Request.

func NewDeletePartitionParams

func NewDeletePartitionParams() *DeletePartitionParams

NewDeletePartitionParams creates a new DeletePartitionParams 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 NewDeletePartitionParamsWithContext

func NewDeletePartitionParamsWithContext(ctx context.Context) *DeletePartitionParams

NewDeletePartitionParamsWithContext creates a new DeletePartitionParams object with the ability to set a context for a request.

func NewDeletePartitionParamsWithHTTPClient

func NewDeletePartitionParamsWithHTTPClient(client *http.Client) *DeletePartitionParams

NewDeletePartitionParamsWithHTTPClient creates a new DeletePartitionParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePartitionParamsWithTimeout

func NewDeletePartitionParamsWithTimeout(timeout time.Duration) *DeletePartitionParams

NewDeletePartitionParamsWithTimeout creates a new DeletePartitionParams object with the ability to set a timeout on a request.

func (*DeletePartitionParams) SetContext

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

SetContext adds the context to the delete partition params

func (*DeletePartitionParams) SetDefaults added in v0.12.1

func (o *DeletePartitionParams) SetDefaults()

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

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

func (*DeletePartitionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete partition params

func (*DeletePartitionParams) SetID

func (o *DeletePartitionParams) SetID(id string)

SetID adds the id to the delete partition params

func (*DeletePartitionParams) SetTimeout

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

SetTimeout adds the timeout to the delete partition params

func (*DeletePartitionParams) WithContext

WithContext adds the context to the delete partition params

func (*DeletePartitionParams) WithDefaults added in v0.12.1

func (o *DeletePartitionParams) WithDefaults() *DeletePartitionParams

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

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

func (*DeletePartitionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete partition params

func (*DeletePartitionParams) WithID

WithID adds the id to the delete partition params

func (*DeletePartitionParams) WithTimeout

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

WithTimeout adds the timeout to the delete partition params

func (*DeletePartitionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeletePartitionReader

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

DeletePartitionReader is a Reader for the DeletePartition structure.

func (*DeletePartitionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FindPartitionDefault

type FindPartitionDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

FindPartitionDefault describes a response with status code -1, with default header values.

Error

func NewFindPartitionDefault

func NewFindPartitionDefault(code int) *FindPartitionDefault

NewFindPartitionDefault creates a FindPartitionDefault with default headers values

func (*FindPartitionDefault) Code

func (o *FindPartitionDefault) Code() int

Code gets the status code for the find partition default response

func (*FindPartitionDefault) Error

func (o *FindPartitionDefault) Error() string

func (*FindPartitionDefault) GetPayload added in v0.11.0

func (*FindPartitionDefault) IsClientError added in v0.19.3

func (o *FindPartitionDefault) IsClientError() bool

IsClientError returns true when this find partition default response has a 4xx status code

func (*FindPartitionDefault) IsCode added in v0.19.3

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

IsCode returns true when this find partition default response a status code equal to that given

func (*FindPartitionDefault) IsRedirect added in v0.19.3

func (o *FindPartitionDefault) IsRedirect() bool

IsRedirect returns true when this find partition default response has a 3xx status code

func (*FindPartitionDefault) IsServerError added in v0.19.3

func (o *FindPartitionDefault) IsServerError() bool

IsServerError returns true when this find partition default response has a 5xx status code

func (*FindPartitionDefault) IsSuccess added in v0.19.3

func (o *FindPartitionDefault) IsSuccess() bool

IsSuccess returns true when this find partition default response has a 2xx status code

func (*FindPartitionDefault) String added in v0.19.3

func (o *FindPartitionDefault) String() string

type FindPartitionOK

type FindPartitionOK struct {
	Payload *models.V1PartitionResponse
}

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

OK

func NewFindPartitionOK

func NewFindPartitionOK() *FindPartitionOK

NewFindPartitionOK creates a FindPartitionOK with default headers values

func (*FindPartitionOK) Code added in v0.22.1

func (o *FindPartitionOK) Code() int

Code gets the status code for the find partition o k response

func (*FindPartitionOK) Error

func (o *FindPartitionOK) Error() string

func (*FindPartitionOK) GetPayload added in v0.11.0

func (o *FindPartitionOK) GetPayload() *models.V1PartitionResponse

func (*FindPartitionOK) IsClientError added in v0.19.3

func (o *FindPartitionOK) IsClientError() bool

IsClientError returns true when this find partition o k response has a 4xx status code

func (*FindPartitionOK) IsCode added in v0.19.3

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

IsCode returns true when this find partition o k response a status code equal to that given

func (*FindPartitionOK) IsRedirect added in v0.19.3

func (o *FindPartitionOK) IsRedirect() bool

IsRedirect returns true when this find partition o k response has a 3xx status code

func (*FindPartitionOK) IsServerError added in v0.19.3

func (o *FindPartitionOK) IsServerError() bool

IsServerError returns true when this find partition o k response has a 5xx status code

func (*FindPartitionOK) IsSuccess added in v0.19.3

func (o *FindPartitionOK) IsSuccess() bool

IsSuccess returns true when this find partition o k response has a 2xx status code

func (*FindPartitionOK) String added in v0.19.3

func (o *FindPartitionOK) String() string

type FindPartitionParams

type FindPartitionParams struct {

	/* ID.

	   identifier of the Partition
	*/
	ID string

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

FindPartitionParams contains all the parameters to send to the API endpoint

for the find partition operation.

Typically these are written to a http.Request.

func NewFindPartitionParams

func NewFindPartitionParams() *FindPartitionParams

NewFindPartitionParams creates a new FindPartitionParams 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 NewFindPartitionParamsWithContext

func NewFindPartitionParamsWithContext(ctx context.Context) *FindPartitionParams

NewFindPartitionParamsWithContext creates a new FindPartitionParams object with the ability to set a context for a request.

func NewFindPartitionParamsWithHTTPClient

func NewFindPartitionParamsWithHTTPClient(client *http.Client) *FindPartitionParams

NewFindPartitionParamsWithHTTPClient creates a new FindPartitionParams object with the ability to set a custom HTTPClient for a request.

func NewFindPartitionParamsWithTimeout

func NewFindPartitionParamsWithTimeout(timeout time.Duration) *FindPartitionParams

NewFindPartitionParamsWithTimeout creates a new FindPartitionParams object with the ability to set a timeout on a request.

func (*FindPartitionParams) SetContext

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

SetContext adds the context to the find partition params

func (*FindPartitionParams) SetDefaults added in v0.12.1

func (o *FindPartitionParams) SetDefaults()

SetDefaults hydrates default values in the find partition params (not the query body).

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

func (*FindPartitionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the find partition params

func (*FindPartitionParams) SetID

func (o *FindPartitionParams) SetID(id string)

SetID adds the id to the find partition params

func (*FindPartitionParams) SetTimeout

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

SetTimeout adds the timeout to the find partition params

func (*FindPartitionParams) WithContext

WithContext adds the context to the find partition params

func (*FindPartitionParams) WithDefaults added in v0.12.1

func (o *FindPartitionParams) WithDefaults() *FindPartitionParams

WithDefaults hydrates default values in the find partition params (not the query body).

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

func (*FindPartitionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the find partition params

func (*FindPartitionParams) WithID

WithID adds the id to the find partition params

func (*FindPartitionParams) WithTimeout

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

WithTimeout adds the timeout to the find partition params

func (*FindPartitionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FindPartitionReader

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

FindPartitionReader is a Reader for the FindPartition structure.

func (*FindPartitionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListPartitionsDefault

type ListPartitionsDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

ListPartitionsDefault describes a response with status code -1, with default header values.

Error

func NewListPartitionsDefault

func NewListPartitionsDefault(code int) *ListPartitionsDefault

NewListPartitionsDefault creates a ListPartitionsDefault with default headers values

func (*ListPartitionsDefault) Code

func (o *ListPartitionsDefault) Code() int

Code gets the status code for the list partitions default response

func (*ListPartitionsDefault) Error

func (o *ListPartitionsDefault) Error() string

func (*ListPartitionsDefault) GetPayload added in v0.11.0

func (*ListPartitionsDefault) IsClientError added in v0.19.3

func (o *ListPartitionsDefault) IsClientError() bool

IsClientError returns true when this list partitions default response has a 4xx status code

func (*ListPartitionsDefault) IsCode added in v0.19.3

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

IsCode returns true when this list partitions default response a status code equal to that given

func (*ListPartitionsDefault) IsRedirect added in v0.19.3

func (o *ListPartitionsDefault) IsRedirect() bool

IsRedirect returns true when this list partitions default response has a 3xx status code

func (*ListPartitionsDefault) IsServerError added in v0.19.3

func (o *ListPartitionsDefault) IsServerError() bool

IsServerError returns true when this list partitions default response has a 5xx status code

func (*ListPartitionsDefault) IsSuccess added in v0.19.3

func (o *ListPartitionsDefault) IsSuccess() bool

IsSuccess returns true when this list partitions default response has a 2xx status code

func (*ListPartitionsDefault) String added in v0.19.3

func (o *ListPartitionsDefault) String() string

type ListPartitionsOK

type ListPartitionsOK struct {
	Payload []*models.V1PartitionResponse
}

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

OK

func NewListPartitionsOK

func NewListPartitionsOK() *ListPartitionsOK

NewListPartitionsOK creates a ListPartitionsOK with default headers values

func (*ListPartitionsOK) Code added in v0.22.1

func (o *ListPartitionsOK) Code() int

Code gets the status code for the list partitions o k response

func (*ListPartitionsOK) Error

func (o *ListPartitionsOK) Error() string

func (*ListPartitionsOK) GetPayload added in v0.11.0

func (o *ListPartitionsOK) GetPayload() []*models.V1PartitionResponse

func (*ListPartitionsOK) IsClientError added in v0.19.3

func (o *ListPartitionsOK) IsClientError() bool

IsClientError returns true when this list partitions o k response has a 4xx status code

func (*ListPartitionsOK) IsCode added in v0.19.3

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

IsCode returns true when this list partitions o k response a status code equal to that given

func (*ListPartitionsOK) IsRedirect added in v0.19.3

func (o *ListPartitionsOK) IsRedirect() bool

IsRedirect returns true when this list partitions o k response has a 3xx status code

func (*ListPartitionsOK) IsServerError added in v0.19.3

func (o *ListPartitionsOK) IsServerError() bool

IsServerError returns true when this list partitions o k response has a 5xx status code

func (*ListPartitionsOK) IsSuccess added in v0.19.3

func (o *ListPartitionsOK) IsSuccess() bool

IsSuccess returns true when this list partitions o k response has a 2xx status code

func (*ListPartitionsOK) String added in v0.19.3

func (o *ListPartitionsOK) String() string

type ListPartitionsParams

type ListPartitionsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListPartitionsParams contains all the parameters to send to the API endpoint

for the list partitions operation.

Typically these are written to a http.Request.

func NewListPartitionsParams

func NewListPartitionsParams() *ListPartitionsParams

NewListPartitionsParams creates a new ListPartitionsParams 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 NewListPartitionsParamsWithContext

func NewListPartitionsParamsWithContext(ctx context.Context) *ListPartitionsParams

NewListPartitionsParamsWithContext creates a new ListPartitionsParams object with the ability to set a context for a request.

func NewListPartitionsParamsWithHTTPClient

func NewListPartitionsParamsWithHTTPClient(client *http.Client) *ListPartitionsParams

NewListPartitionsParamsWithHTTPClient creates a new ListPartitionsParams object with the ability to set a custom HTTPClient for a request.

func NewListPartitionsParamsWithTimeout

func NewListPartitionsParamsWithTimeout(timeout time.Duration) *ListPartitionsParams

NewListPartitionsParamsWithTimeout creates a new ListPartitionsParams object with the ability to set a timeout on a request.

func (*ListPartitionsParams) SetContext

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

SetContext adds the context to the list partitions params

func (*ListPartitionsParams) SetDefaults added in v0.12.1

func (o *ListPartitionsParams) SetDefaults()

SetDefaults hydrates default values in the list partitions params (not the query body).

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

func (*ListPartitionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list partitions params

func (*ListPartitionsParams) SetTimeout

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

SetTimeout adds the timeout to the list partitions params

func (*ListPartitionsParams) WithContext

WithContext adds the context to the list partitions params

func (*ListPartitionsParams) WithDefaults added in v0.12.1

func (o *ListPartitionsParams) WithDefaults() *ListPartitionsParams

WithDefaults hydrates default values in the list partitions params (not the query body).

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

func (*ListPartitionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list partitions params

func (*ListPartitionsParams) WithTimeout

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

WithTimeout adds the timeout to the list partitions params

func (*ListPartitionsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListPartitionsReader

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

ListPartitionsReader is a Reader for the ListPartitions structure.

func (*ListPartitionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PartitionCapacityDefault

type PartitionCapacityDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

PartitionCapacityDefault describes a response with status code -1, with default header values.

Error

func NewPartitionCapacityDefault

func NewPartitionCapacityDefault(code int) *PartitionCapacityDefault

NewPartitionCapacityDefault creates a PartitionCapacityDefault with default headers values

func (*PartitionCapacityDefault) Code

func (o *PartitionCapacityDefault) Code() int

Code gets the status code for the partition capacity default response

func (*PartitionCapacityDefault) Error

func (o *PartitionCapacityDefault) Error() string

func (*PartitionCapacityDefault) GetPayload added in v0.11.0

func (*PartitionCapacityDefault) IsClientError added in v0.19.3

func (o *PartitionCapacityDefault) IsClientError() bool

IsClientError returns true when this partition capacity default response has a 4xx status code

func (*PartitionCapacityDefault) IsCode added in v0.19.3

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

IsCode returns true when this partition capacity default response a status code equal to that given

func (*PartitionCapacityDefault) IsRedirect added in v0.19.3

func (o *PartitionCapacityDefault) IsRedirect() bool

IsRedirect returns true when this partition capacity default response has a 3xx status code

func (*PartitionCapacityDefault) IsServerError added in v0.19.3

func (o *PartitionCapacityDefault) IsServerError() bool

IsServerError returns true when this partition capacity default response has a 5xx status code

func (*PartitionCapacityDefault) IsSuccess added in v0.19.3

func (o *PartitionCapacityDefault) IsSuccess() bool

IsSuccess returns true when this partition capacity default response has a 2xx status code

func (*PartitionCapacityDefault) String added in v0.19.3

func (o *PartitionCapacityDefault) String() string

type PartitionCapacityOK

type PartitionCapacityOK struct {
	Payload []*models.V1PartitionCapacity
}

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

OK

func NewPartitionCapacityOK

func NewPartitionCapacityOK() *PartitionCapacityOK

NewPartitionCapacityOK creates a PartitionCapacityOK with default headers values

func (*PartitionCapacityOK) Code added in v0.22.1

func (o *PartitionCapacityOK) Code() int

Code gets the status code for the partition capacity o k response

func (*PartitionCapacityOK) Error

func (o *PartitionCapacityOK) Error() string

func (*PartitionCapacityOK) GetPayload added in v0.11.0

func (o *PartitionCapacityOK) GetPayload() []*models.V1PartitionCapacity

func (*PartitionCapacityOK) IsClientError added in v0.19.3

func (o *PartitionCapacityOK) IsClientError() bool

IsClientError returns true when this partition capacity o k response has a 4xx status code

func (*PartitionCapacityOK) IsCode added in v0.19.3

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

IsCode returns true when this partition capacity o k response a status code equal to that given

func (*PartitionCapacityOK) IsRedirect added in v0.19.3

func (o *PartitionCapacityOK) IsRedirect() bool

IsRedirect returns true when this partition capacity o k response has a 3xx status code

func (*PartitionCapacityOK) IsServerError added in v0.19.3

func (o *PartitionCapacityOK) IsServerError() bool

IsServerError returns true when this partition capacity o k response has a 5xx status code

func (*PartitionCapacityOK) IsSuccess added in v0.19.3

func (o *PartitionCapacityOK) IsSuccess() bool

IsSuccess returns true when this partition capacity o k response has a 2xx status code

func (*PartitionCapacityOK) String added in v0.19.3

func (o *PartitionCapacityOK) String() string

type PartitionCapacityParams

type PartitionCapacityParams struct {

	// Body.
	Body *models.V1PartitionCapacityRequest

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

PartitionCapacityParams contains all the parameters to send to the API endpoint

for the partition capacity operation.

Typically these are written to a http.Request.

func NewPartitionCapacityParams

func NewPartitionCapacityParams() *PartitionCapacityParams

NewPartitionCapacityParams creates a new PartitionCapacityParams 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 NewPartitionCapacityParamsWithContext

func NewPartitionCapacityParamsWithContext(ctx context.Context) *PartitionCapacityParams

NewPartitionCapacityParamsWithContext creates a new PartitionCapacityParams object with the ability to set a context for a request.

func NewPartitionCapacityParamsWithHTTPClient

func NewPartitionCapacityParamsWithHTTPClient(client *http.Client) *PartitionCapacityParams

NewPartitionCapacityParamsWithHTTPClient creates a new PartitionCapacityParams object with the ability to set a custom HTTPClient for a request.

func NewPartitionCapacityParamsWithTimeout

func NewPartitionCapacityParamsWithTimeout(timeout time.Duration) *PartitionCapacityParams

NewPartitionCapacityParamsWithTimeout creates a new PartitionCapacityParams object with the ability to set a timeout on a request.

func (*PartitionCapacityParams) SetBody added in v0.15.6

SetBody adds the body to the partition capacity params

func (*PartitionCapacityParams) SetContext

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

SetContext adds the context to the partition capacity params

func (*PartitionCapacityParams) SetDefaults added in v0.12.1

func (o *PartitionCapacityParams) SetDefaults()

SetDefaults hydrates default values in the partition capacity params (not the query body).

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

func (*PartitionCapacityParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the partition capacity params

func (*PartitionCapacityParams) SetTimeout

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

SetTimeout adds the timeout to the partition capacity params

func (*PartitionCapacityParams) WithBody added in v0.15.6

WithBody adds the body to the partition capacity params

func (*PartitionCapacityParams) WithContext

WithContext adds the context to the partition capacity params

func (*PartitionCapacityParams) WithDefaults added in v0.12.1

WithDefaults hydrates default values in the partition capacity params (not the query body).

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

func (*PartitionCapacityParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the partition capacity params

func (*PartitionCapacityParams) WithTimeout

WithTimeout adds the timeout to the partition capacity params

func (*PartitionCapacityParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PartitionCapacityReader

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

PartitionCapacityReader is a Reader for the PartitionCapacity structure.

func (*PartitionCapacityReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdatePartitionConflict

type UpdatePartitionConflict struct {
	Payload *httperrors.HTTPErrorResponse
}

UpdatePartitionConflict describes a response with status code 409, with default header values.

Conflict

func NewUpdatePartitionConflict

func NewUpdatePartitionConflict() *UpdatePartitionConflict

NewUpdatePartitionConflict creates a UpdatePartitionConflict with default headers values

func (*UpdatePartitionConflict) Code added in v0.22.1

func (o *UpdatePartitionConflict) Code() int

Code gets the status code for the update partition conflict response

func (*UpdatePartitionConflict) Error

func (o *UpdatePartitionConflict) Error() string

func (*UpdatePartitionConflict) GetPayload added in v0.11.0

func (*UpdatePartitionConflict) IsClientError added in v0.19.3

func (o *UpdatePartitionConflict) IsClientError() bool

IsClientError returns true when this update partition conflict response has a 4xx status code

func (*UpdatePartitionConflict) IsCode added in v0.19.3

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

IsCode returns true when this update partition conflict response a status code equal to that given

func (*UpdatePartitionConflict) IsRedirect added in v0.19.3

func (o *UpdatePartitionConflict) IsRedirect() bool

IsRedirect returns true when this update partition conflict response has a 3xx status code

func (*UpdatePartitionConflict) IsServerError added in v0.19.3

func (o *UpdatePartitionConflict) IsServerError() bool

IsServerError returns true when this update partition conflict response has a 5xx status code

func (*UpdatePartitionConflict) IsSuccess added in v0.19.3

func (o *UpdatePartitionConflict) IsSuccess() bool

IsSuccess returns true when this update partition conflict response has a 2xx status code

func (*UpdatePartitionConflict) String added in v0.19.3

func (o *UpdatePartitionConflict) String() string

type UpdatePartitionDefault

type UpdatePartitionDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

UpdatePartitionDefault describes a response with status code -1, with default header values.

Error

func NewUpdatePartitionDefault

func NewUpdatePartitionDefault(code int) *UpdatePartitionDefault

NewUpdatePartitionDefault creates a UpdatePartitionDefault with default headers values

func (*UpdatePartitionDefault) Code

func (o *UpdatePartitionDefault) Code() int

Code gets the status code for the update partition default response

func (*UpdatePartitionDefault) Error

func (o *UpdatePartitionDefault) Error() string

func (*UpdatePartitionDefault) GetPayload added in v0.11.0

func (*UpdatePartitionDefault) IsClientError added in v0.19.3

func (o *UpdatePartitionDefault) IsClientError() bool

IsClientError returns true when this update partition default response has a 4xx status code

func (*UpdatePartitionDefault) IsCode added in v0.19.3

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

IsCode returns true when this update partition default response a status code equal to that given

func (*UpdatePartitionDefault) IsRedirect added in v0.19.3

func (o *UpdatePartitionDefault) IsRedirect() bool

IsRedirect returns true when this update partition default response has a 3xx status code

func (*UpdatePartitionDefault) IsServerError added in v0.19.3

func (o *UpdatePartitionDefault) IsServerError() bool

IsServerError returns true when this update partition default response has a 5xx status code

func (*UpdatePartitionDefault) IsSuccess added in v0.19.3

func (o *UpdatePartitionDefault) IsSuccess() bool

IsSuccess returns true when this update partition default response has a 2xx status code

func (*UpdatePartitionDefault) String added in v0.19.3

func (o *UpdatePartitionDefault) String() string

type UpdatePartitionOK

type UpdatePartitionOK struct {
	Payload *models.V1PartitionResponse
}

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

OK

func NewUpdatePartitionOK

func NewUpdatePartitionOK() *UpdatePartitionOK

NewUpdatePartitionOK creates a UpdatePartitionOK with default headers values

func (*UpdatePartitionOK) Code added in v0.22.1

func (o *UpdatePartitionOK) Code() int

Code gets the status code for the update partition o k response

func (*UpdatePartitionOK) Error

func (o *UpdatePartitionOK) Error() string

func (*UpdatePartitionOK) GetPayload added in v0.11.0

func (o *UpdatePartitionOK) GetPayload() *models.V1PartitionResponse

func (*UpdatePartitionOK) IsClientError added in v0.19.3

func (o *UpdatePartitionOK) IsClientError() bool

IsClientError returns true when this update partition o k response has a 4xx status code

func (*UpdatePartitionOK) IsCode added in v0.19.3

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

IsCode returns true when this update partition o k response a status code equal to that given

func (*UpdatePartitionOK) IsRedirect added in v0.19.3

func (o *UpdatePartitionOK) IsRedirect() bool

IsRedirect returns true when this update partition o k response has a 3xx status code

func (*UpdatePartitionOK) IsServerError added in v0.19.3

func (o *UpdatePartitionOK) IsServerError() bool

IsServerError returns true when this update partition o k response has a 5xx status code

func (*UpdatePartitionOK) IsSuccess added in v0.19.3

func (o *UpdatePartitionOK) IsSuccess() bool

IsSuccess returns true when this update partition o k response has a 2xx status code

func (*UpdatePartitionOK) String added in v0.19.3

func (o *UpdatePartitionOK) String() string

type UpdatePartitionParams

type UpdatePartitionParams struct {

	// Body.
	Body *models.V1PartitionUpdateRequest

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

UpdatePartitionParams contains all the parameters to send to the API endpoint

for the update partition operation.

Typically these are written to a http.Request.

func NewUpdatePartitionParams

func NewUpdatePartitionParams() *UpdatePartitionParams

NewUpdatePartitionParams creates a new UpdatePartitionParams 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 NewUpdatePartitionParamsWithContext

func NewUpdatePartitionParamsWithContext(ctx context.Context) *UpdatePartitionParams

NewUpdatePartitionParamsWithContext creates a new UpdatePartitionParams object with the ability to set a context for a request.

func NewUpdatePartitionParamsWithHTTPClient

func NewUpdatePartitionParamsWithHTTPClient(client *http.Client) *UpdatePartitionParams

NewUpdatePartitionParamsWithHTTPClient creates a new UpdatePartitionParams object with the ability to set a custom HTTPClient for a request.

func NewUpdatePartitionParamsWithTimeout

func NewUpdatePartitionParamsWithTimeout(timeout time.Duration) *UpdatePartitionParams

NewUpdatePartitionParamsWithTimeout creates a new UpdatePartitionParams object with the ability to set a timeout on a request.

func (*UpdatePartitionParams) SetBody

SetBody adds the body to the update partition params

func (*UpdatePartitionParams) SetContext

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

SetContext adds the context to the update partition params

func (*UpdatePartitionParams) SetDefaults added in v0.12.1

func (o *UpdatePartitionParams) SetDefaults()

SetDefaults hydrates default values in the update partition params (not the query body).

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

func (*UpdatePartitionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update partition params

func (*UpdatePartitionParams) SetTimeout

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

SetTimeout adds the timeout to the update partition params

func (*UpdatePartitionParams) WithBody

WithBody adds the body to the update partition params

func (*UpdatePartitionParams) WithContext

WithContext adds the context to the update partition params

func (*UpdatePartitionParams) WithDefaults added in v0.12.1

func (o *UpdatePartitionParams) WithDefaults() *UpdatePartitionParams

WithDefaults hydrates default values in the update partition params (not the query body).

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

func (*UpdatePartitionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update partition params

func (*UpdatePartitionParams) WithTimeout

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

WithTimeout adds the timeout to the update partition params

func (*UpdatePartitionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdatePartitionReader

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

UpdatePartitionReader is a Reader for the UpdatePartition structure.

func (*UpdatePartitionReader) ReadResponse

func (o *UpdatePartitionReader) 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