s3

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2020 License: MIT Imports: 10 Imported by: 2

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

func (*Client) Creates3

func (a *Client) Creates3(params *Creates3Params, authInfo runtime.ClientAuthInfoWriter) (*Creates3OK, error)

Creates3 creates an s3 user if the given name for this tenant already exists a conflict is returned

func (*Client) Deletes3

func (a *Client) Deletes3(params *Deletes3Params, authInfo runtime.ClientAuthInfoWriter) (*Deletes3OK, error)

Deletes3 deletes an s3 user

func (*Client) Gets3

func (a *Client) Gets3(params *Gets3Params, authInfo runtime.ClientAuthInfoWriter) (*Gets3OK, error)

Gets3 gets s3 user

func (*Client) Lists3

func (a *Client) Lists3(params *Lists3Params, authInfo runtime.ClientAuthInfoWriter) (*Lists3OK, error)

Lists3 lists s3 users

func (*Client) Lists3partitions

func (a *Client) Lists3partitions(params *Lists3partitionsParams, authInfo runtime.ClientAuthInfoWriter) (*Lists3partitionsOK, error)

Lists3partitions lists s3 partitions

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) Updates3

func (a *Client) Updates3(params *Updates3Params, authInfo runtime.ClientAuthInfoWriter) (*Updates3OK, error)

Updates3 updates an s3 user

type ClientService added in v0.9.1

type ClientService interface {
	Creates3(params *Creates3Params, authInfo runtime.ClientAuthInfoWriter) (*Creates3OK, error)

	Deletes3(params *Deletes3Params, authInfo runtime.ClientAuthInfoWriter) (*Deletes3OK, error)

	Gets3(params *Gets3Params, authInfo runtime.ClientAuthInfoWriter) (*Gets3OK, error)

	Lists3(params *Lists3Params, authInfo runtime.ClientAuthInfoWriter) (*Lists3OK, error)

	Lists3partitions(params *Lists3partitionsParams, authInfo runtime.ClientAuthInfoWriter) (*Lists3partitionsOK, error)

	Updates3(params *Updates3Params, authInfo runtime.ClientAuthInfoWriter) (*Updates3OK, 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 s3 API client.

type Creates3Default

type Creates3Default struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

Creates3Default handles this case with default header values.

Error

func NewCreates3Default

func NewCreates3Default(code int) *Creates3Default

NewCreates3Default creates a Creates3Default with default headers values

func (*Creates3Default) Code

func (o *Creates3Default) Code() int

Code gets the status code for the creates3 default response

func (*Creates3Default) Error

func (o *Creates3Default) Error() string

func (*Creates3Default) GetPayload added in v0.9.1

type Creates3OK

type Creates3OK struct {
	Payload *models.V1S3CredentialsResponse
}

Creates3OK handles this case with default header values.

OK

func NewCreates3OK

func NewCreates3OK() *Creates3OK

NewCreates3OK creates a Creates3OK with default headers values

func (*Creates3OK) Error

func (o *Creates3OK) Error() string

func (*Creates3OK) GetPayload added in v0.9.1

func (o *Creates3OK) GetPayload() *models.V1S3CredentialsResponse

type Creates3Params

type Creates3Params struct {

	/*Body*/
	Body *models.V1S3CreateRequest

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

Creates3Params contains all the parameters to send to the API endpoint for the creates3 operation typically these are written to a http.Request

func NewCreates3Params

func NewCreates3Params() *Creates3Params

NewCreates3Params creates a new Creates3Params object with the default values initialized.

func NewCreates3ParamsWithContext

func NewCreates3ParamsWithContext(ctx context.Context) *Creates3Params

NewCreates3ParamsWithContext creates a new Creates3Params object with the default values initialized, and the ability to set a context for a request

func NewCreates3ParamsWithHTTPClient

func NewCreates3ParamsWithHTTPClient(client *http.Client) *Creates3Params

NewCreates3ParamsWithHTTPClient creates a new Creates3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreates3ParamsWithTimeout

func NewCreates3ParamsWithTimeout(timeout time.Duration) *Creates3Params

NewCreates3ParamsWithTimeout creates a new Creates3Params object with the default values initialized, and the ability to set a timeout on a request

func (*Creates3Params) SetBody

func (o *Creates3Params) SetBody(body *models.V1S3CreateRequest)

SetBody adds the body to the creates3 params

func (*Creates3Params) SetContext

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

SetContext adds the context to the creates3 params

func (*Creates3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the creates3 params

func (*Creates3Params) SetTimeout

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

SetTimeout adds the timeout to the creates3 params

func (*Creates3Params) WithBody

WithBody adds the body to the creates3 params

func (*Creates3Params) WithContext

func (o *Creates3Params) WithContext(ctx context.Context) *Creates3Params

WithContext adds the context to the creates3 params

func (*Creates3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the creates3 params

func (*Creates3Params) WithTimeout

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

WithTimeout adds the timeout to the creates3 params

func (*Creates3Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type Creates3Reader

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

Creates3Reader is a Reader for the Creates3 structure.

func (*Creates3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Deletes3Default

type Deletes3Default struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

Deletes3Default handles this case with default header values.

Error

func NewDeletes3Default

func NewDeletes3Default(code int) *Deletes3Default

NewDeletes3Default creates a Deletes3Default with default headers values

func (*Deletes3Default) Code

func (o *Deletes3Default) Code() int

Code gets the status code for the deletes3 default response

func (*Deletes3Default) Error

func (o *Deletes3Default) Error() string

func (*Deletes3Default) GetPayload added in v0.9.1

type Deletes3OK

type Deletes3OK struct {
	Payload *models.V1S3Response
}

Deletes3OK handles this case with default header values.

OK

func NewDeletes3OK

func NewDeletes3OK() *Deletes3OK

NewDeletes3OK creates a Deletes3OK with default headers values

func (*Deletes3OK) Error

func (o *Deletes3OK) Error() string

func (*Deletes3OK) GetPayload added in v0.9.1

func (o *Deletes3OK) GetPayload() *models.V1S3Response

type Deletes3Params

type Deletes3Params struct {

	/*Body*/
	Body *models.V1S3DeleteRequest

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

Deletes3Params contains all the parameters to send to the API endpoint for the deletes3 operation typically these are written to a http.Request

func NewDeletes3Params

func NewDeletes3Params() *Deletes3Params

NewDeletes3Params creates a new Deletes3Params object with the default values initialized.

func NewDeletes3ParamsWithContext

func NewDeletes3ParamsWithContext(ctx context.Context) *Deletes3Params

NewDeletes3ParamsWithContext creates a new Deletes3Params object with the default values initialized, and the ability to set a context for a request

func NewDeletes3ParamsWithHTTPClient

func NewDeletes3ParamsWithHTTPClient(client *http.Client) *Deletes3Params

NewDeletes3ParamsWithHTTPClient creates a new Deletes3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeletes3ParamsWithTimeout

func NewDeletes3ParamsWithTimeout(timeout time.Duration) *Deletes3Params

NewDeletes3ParamsWithTimeout creates a new Deletes3Params object with the default values initialized, and the ability to set a timeout on a request

func (*Deletes3Params) SetBody

func (o *Deletes3Params) SetBody(body *models.V1S3DeleteRequest)

SetBody adds the body to the deletes3 params

func (*Deletes3Params) SetContext

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

SetContext adds the context to the deletes3 params

func (*Deletes3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the deletes3 params

func (*Deletes3Params) SetTimeout

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

SetTimeout adds the timeout to the deletes3 params

func (*Deletes3Params) WithBody

WithBody adds the body to the deletes3 params

func (*Deletes3Params) WithContext

func (o *Deletes3Params) WithContext(ctx context.Context) *Deletes3Params

WithContext adds the context to the deletes3 params

func (*Deletes3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the deletes3 params

func (*Deletes3Params) WithTimeout

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

WithTimeout adds the timeout to the deletes3 params

func (*Deletes3Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type Deletes3Reader

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

Deletes3Reader is a Reader for the Deletes3 structure.

func (*Deletes3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Gets3Default

type Gets3Default struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

Gets3Default handles this case with default header values.

Error

func NewGets3Default

func NewGets3Default(code int) *Gets3Default

NewGets3Default creates a Gets3Default with default headers values

func (*Gets3Default) Code

func (o *Gets3Default) Code() int

Code gets the status code for the gets3 default response

func (*Gets3Default) Error

func (o *Gets3Default) Error() string

func (*Gets3Default) GetPayload added in v0.9.1

type Gets3OK

type Gets3OK struct {
	Payload *models.V1S3CredentialsResponse
}

Gets3OK handles this case with default header values.

OK

func NewGets3OK

func NewGets3OK() *Gets3OK

NewGets3OK creates a Gets3OK with default headers values

func (*Gets3OK) Error

func (o *Gets3OK) Error() string

func (*Gets3OK) GetPayload added in v0.9.1

func (o *Gets3OK) GetPayload() *models.V1S3CredentialsResponse

type Gets3Params

type Gets3Params struct {

	/*Body*/
	Body *models.V1S3GetRequest

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

Gets3Params contains all the parameters to send to the API endpoint for the gets3 operation typically these are written to a http.Request

func NewGets3Params

func NewGets3Params() *Gets3Params

NewGets3Params creates a new Gets3Params object with the default values initialized.

func NewGets3ParamsWithContext

func NewGets3ParamsWithContext(ctx context.Context) *Gets3Params

NewGets3ParamsWithContext creates a new Gets3Params object with the default values initialized, and the ability to set a context for a request

func NewGets3ParamsWithHTTPClient

func NewGets3ParamsWithHTTPClient(client *http.Client) *Gets3Params

NewGets3ParamsWithHTTPClient creates a new Gets3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGets3ParamsWithTimeout

func NewGets3ParamsWithTimeout(timeout time.Duration) *Gets3Params

NewGets3ParamsWithTimeout creates a new Gets3Params object with the default values initialized, and the ability to set a timeout on a request

func (*Gets3Params) SetBody

func (o *Gets3Params) SetBody(body *models.V1S3GetRequest)

SetBody adds the body to the gets3 params

func (*Gets3Params) SetContext

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

SetContext adds the context to the gets3 params

func (*Gets3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the gets3 params

func (*Gets3Params) SetTimeout

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

SetTimeout adds the timeout to the gets3 params

func (*Gets3Params) WithBody

func (o *Gets3Params) WithBody(body *models.V1S3GetRequest) *Gets3Params

WithBody adds the body to the gets3 params

func (*Gets3Params) WithContext

func (o *Gets3Params) WithContext(ctx context.Context) *Gets3Params

WithContext adds the context to the gets3 params

func (*Gets3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the gets3 params

func (*Gets3Params) WithTimeout

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

WithTimeout adds the timeout to the gets3 params

func (*Gets3Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type Gets3Reader

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

Gets3Reader is a Reader for the Gets3 structure.

func (*Gets3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Lists3Default

type Lists3Default struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

Lists3Default handles this case with default header values.

Error

func NewLists3Default

func NewLists3Default(code int) *Lists3Default

NewLists3Default creates a Lists3Default with default headers values

func (*Lists3Default) Code

func (o *Lists3Default) Code() int

Code gets the status code for the lists3 default response

func (*Lists3Default) Error

func (o *Lists3Default) Error() string

func (*Lists3Default) GetPayload added in v0.9.1

type Lists3OK

type Lists3OK struct {
	Payload []*models.V1S3Response
}

Lists3OK handles this case with default header values.

OK

func NewLists3OK

func NewLists3OK() *Lists3OK

NewLists3OK creates a Lists3OK with default headers values

func (*Lists3OK) Error

func (o *Lists3OK) Error() string

func (*Lists3OK) GetPayload added in v0.9.1

func (o *Lists3OK) GetPayload() []*models.V1S3Response

type Lists3Params

type Lists3Params struct {

	/*Body*/
	Body *models.V1S3ListRequest

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

Lists3Params contains all the parameters to send to the API endpoint for the lists3 operation typically these are written to a http.Request

func NewLists3Params

func NewLists3Params() *Lists3Params

NewLists3Params creates a new Lists3Params object with the default values initialized.

func NewLists3ParamsWithContext

func NewLists3ParamsWithContext(ctx context.Context) *Lists3Params

NewLists3ParamsWithContext creates a new Lists3Params object with the default values initialized, and the ability to set a context for a request

func NewLists3ParamsWithHTTPClient

func NewLists3ParamsWithHTTPClient(client *http.Client) *Lists3Params

NewLists3ParamsWithHTTPClient creates a new Lists3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewLists3ParamsWithTimeout

func NewLists3ParamsWithTimeout(timeout time.Duration) *Lists3Params

NewLists3ParamsWithTimeout creates a new Lists3Params object with the default values initialized, and the ability to set a timeout on a request

func (*Lists3Params) SetBody

func (o *Lists3Params) SetBody(body *models.V1S3ListRequest)

SetBody adds the body to the lists3 params

func (*Lists3Params) SetContext

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

SetContext adds the context to the lists3 params

func (*Lists3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the lists3 params

func (*Lists3Params) SetTimeout

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

SetTimeout adds the timeout to the lists3 params

func (*Lists3Params) WithBody

func (o *Lists3Params) WithBody(body *models.V1S3ListRequest) *Lists3Params

WithBody adds the body to the lists3 params

func (*Lists3Params) WithContext

func (o *Lists3Params) WithContext(ctx context.Context) *Lists3Params

WithContext adds the context to the lists3 params

func (*Lists3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the lists3 params

func (*Lists3Params) WithTimeout

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

WithTimeout adds the timeout to the lists3 params

func (*Lists3Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type Lists3Reader

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

Lists3Reader is a Reader for the Lists3 structure.

func (*Lists3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Lists3partitionsDefault

type Lists3partitionsDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

Lists3partitionsDefault handles this case with default header values.

Error

func NewLists3partitionsDefault

func NewLists3partitionsDefault(code int) *Lists3partitionsDefault

NewLists3partitionsDefault creates a Lists3partitionsDefault with default headers values

func (*Lists3partitionsDefault) Code

func (o *Lists3partitionsDefault) Code() int

Code gets the status code for the lists3partitions default response

func (*Lists3partitionsDefault) Error

func (o *Lists3partitionsDefault) Error() string

func (*Lists3partitionsDefault) GetPayload added in v0.9.1

type Lists3partitionsOK

type Lists3partitionsOK struct {
	Payload []*models.V1S3PartitionResponse
}

Lists3partitionsOK handles this case with default header values.

OK

func NewLists3partitionsOK

func NewLists3partitionsOK() *Lists3partitionsOK

NewLists3partitionsOK creates a Lists3partitionsOK with default headers values

func (*Lists3partitionsOK) Error

func (o *Lists3partitionsOK) Error() string

func (*Lists3partitionsOK) GetPayload added in v0.9.1

func (o *Lists3partitionsOK) GetPayload() []*models.V1S3PartitionResponse

type Lists3partitionsParams

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

Lists3partitionsParams contains all the parameters to send to the API endpoint for the lists3partitions operation typically these are written to a http.Request

func NewLists3partitionsParams

func NewLists3partitionsParams() *Lists3partitionsParams

NewLists3partitionsParams creates a new Lists3partitionsParams object with the default values initialized.

func NewLists3partitionsParamsWithContext

func NewLists3partitionsParamsWithContext(ctx context.Context) *Lists3partitionsParams

NewLists3partitionsParamsWithContext creates a new Lists3partitionsParams object with the default values initialized, and the ability to set a context for a request

func NewLists3partitionsParamsWithHTTPClient

func NewLists3partitionsParamsWithHTTPClient(client *http.Client) *Lists3partitionsParams

NewLists3partitionsParamsWithHTTPClient creates a new Lists3partitionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewLists3partitionsParamsWithTimeout

func NewLists3partitionsParamsWithTimeout(timeout time.Duration) *Lists3partitionsParams

NewLists3partitionsParamsWithTimeout creates a new Lists3partitionsParams object with the default values initialized, and the ability to set a timeout on a request

func (*Lists3partitionsParams) SetContext

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

SetContext adds the context to the lists3partitions params

func (*Lists3partitionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the lists3partitions params

func (*Lists3partitionsParams) SetTimeout

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

SetTimeout adds the timeout to the lists3partitions params

func (*Lists3partitionsParams) WithContext

WithContext adds the context to the lists3partitions params

func (*Lists3partitionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the lists3partitions params

func (*Lists3partitionsParams) WithTimeout

WithTimeout adds the timeout to the lists3partitions params

func (*Lists3partitionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type Lists3partitionsReader

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

Lists3partitionsReader is a Reader for the Lists3partitions structure.

func (*Lists3partitionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Updates3Default

type Updates3Default struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

Updates3Default handles this case with default header values.

Error

func NewUpdates3Default

func NewUpdates3Default(code int) *Updates3Default

NewUpdates3Default creates a Updates3Default with default headers values

func (*Updates3Default) Code

func (o *Updates3Default) Code() int

Code gets the status code for the updates3 default response

func (*Updates3Default) Error

func (o *Updates3Default) Error() string

func (*Updates3Default) GetPayload added in v0.9.1

type Updates3OK

type Updates3OK struct {
	Payload *models.V1S3CredentialsResponse
}

Updates3OK handles this case with default header values.

OK

func NewUpdates3OK

func NewUpdates3OK() *Updates3OK

NewUpdates3OK creates a Updates3OK with default headers values

func (*Updates3OK) Error

func (o *Updates3OK) Error() string

func (*Updates3OK) GetPayload added in v0.9.1

func (o *Updates3OK) GetPayload() *models.V1S3CredentialsResponse

type Updates3Params

type Updates3Params struct {

	/*Body*/
	Body *models.V1S3UpdateRequest

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

Updates3Params contains all the parameters to send to the API endpoint for the updates3 operation typically these are written to a http.Request

func NewUpdates3Params

func NewUpdates3Params() *Updates3Params

NewUpdates3Params creates a new Updates3Params object with the default values initialized.

func NewUpdates3ParamsWithContext

func NewUpdates3ParamsWithContext(ctx context.Context) *Updates3Params

NewUpdates3ParamsWithContext creates a new Updates3Params object with the default values initialized, and the ability to set a context for a request

func NewUpdates3ParamsWithHTTPClient

func NewUpdates3ParamsWithHTTPClient(client *http.Client) *Updates3Params

NewUpdates3ParamsWithHTTPClient creates a new Updates3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdates3ParamsWithTimeout

func NewUpdates3ParamsWithTimeout(timeout time.Duration) *Updates3Params

NewUpdates3ParamsWithTimeout creates a new Updates3Params object with the default values initialized, and the ability to set a timeout on a request

func (*Updates3Params) SetBody

func (o *Updates3Params) SetBody(body *models.V1S3UpdateRequest)

SetBody adds the body to the updates3 params

func (*Updates3Params) SetContext

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

SetContext adds the context to the updates3 params

func (*Updates3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the updates3 params

func (*Updates3Params) SetTimeout

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

SetTimeout adds the timeout to the updates3 params

func (*Updates3Params) WithBody

WithBody adds the body to the updates3 params

func (*Updates3Params) WithContext

func (o *Updates3Params) WithContext(ctx context.Context) *Updates3Params

WithContext adds the context to the updates3 params

func (*Updates3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the updates3 params

func (*Updates3Params) WithTimeout

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

WithTimeout adds the timeout to the updates3 params

func (*Updates3Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type Updates3Reader

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

Updates3Reader is a Reader for the Updates3 structure.

func (*Updates3Reader) ReadResponse

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