Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteV1BucketsBucketID(params *DeleteV1BucketsBucketIDParams) (*DeleteV1BucketsBucketIDOK, error)
- func (a *Client) GetV1Buckets(params *GetV1BucketsParams) (*GetV1BucketsOK, error)
- func (a *Client) GetV1BucketsBucketID(params *GetV1BucketsBucketIDParams) (*GetV1BucketsBucketIDOK, error)
- func (a *Client) PostV1Buckets(params *PostV1BucketsParams) (*PostV1BucketsCreated, error)
- func (a *Client) PutV1BucketsBucketID(params *PutV1BucketsBucketIDParams) (*PutV1BucketsBucketIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteV1BucketsBucketIDNotFound
- type DeleteV1BucketsBucketIDOK
- type DeleteV1BucketsBucketIDParams
- func NewDeleteV1BucketsBucketIDParams() *DeleteV1BucketsBucketIDParams
- func NewDeleteV1BucketsBucketIDParamsWithContext(ctx context.Context) *DeleteV1BucketsBucketIDParams
- func NewDeleteV1BucketsBucketIDParamsWithHTTPClient(client *http.Client) *DeleteV1BucketsBucketIDParams
- func NewDeleteV1BucketsBucketIDParamsWithTimeout(timeout time.Duration) *DeleteV1BucketsBucketIDParams
- func (o *DeleteV1BucketsBucketIDParams) SetBucketID(bucketID string)
- func (o *DeleteV1BucketsBucketIDParams) SetContext(ctx context.Context)
- func (o *DeleteV1BucketsBucketIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteV1BucketsBucketIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteV1BucketsBucketIDParams) WithBucketID(bucketID string) *DeleteV1BucketsBucketIDParams
- func (o *DeleteV1BucketsBucketIDParams) WithContext(ctx context.Context) *DeleteV1BucketsBucketIDParams
- func (o *DeleteV1BucketsBucketIDParams) WithHTTPClient(client *http.Client) *DeleteV1BucketsBucketIDParams
- func (o *DeleteV1BucketsBucketIDParams) WithTimeout(timeout time.Duration) *DeleteV1BucketsBucketIDParams
- func (o *DeleteV1BucketsBucketIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteV1BucketsBucketIDReader
- type GetV1BucketsBucketIDNotFound
- type GetV1BucketsBucketIDOK
- type GetV1BucketsBucketIDParams
- func NewGetV1BucketsBucketIDParams() *GetV1BucketsBucketIDParams
- func NewGetV1BucketsBucketIDParamsWithContext(ctx context.Context) *GetV1BucketsBucketIDParams
- func NewGetV1BucketsBucketIDParamsWithHTTPClient(client *http.Client) *GetV1BucketsBucketIDParams
- func NewGetV1BucketsBucketIDParamsWithTimeout(timeout time.Duration) *GetV1BucketsBucketIDParams
- func (o *GetV1BucketsBucketIDParams) SetBucketID(bucketID string)
- func (o *GetV1BucketsBucketIDParams) SetContext(ctx context.Context)
- func (o *GetV1BucketsBucketIDParams) SetHTTPClient(client *http.Client)
- func (o *GetV1BucketsBucketIDParams) SetTimeout(timeout time.Duration)
- func (o *GetV1BucketsBucketIDParams) WithBucketID(bucketID string) *GetV1BucketsBucketIDParams
- func (o *GetV1BucketsBucketIDParams) WithContext(ctx context.Context) *GetV1BucketsBucketIDParams
- func (o *GetV1BucketsBucketIDParams) WithHTTPClient(client *http.Client) *GetV1BucketsBucketIDParams
- func (o *GetV1BucketsBucketIDParams) WithTimeout(timeout time.Duration) *GetV1BucketsBucketIDParams
- func (o *GetV1BucketsBucketIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1BucketsBucketIDReader
- type GetV1BucketsOK
- type GetV1BucketsParams
- func (o *GetV1BucketsParams) SetContext(ctx context.Context)
- func (o *GetV1BucketsParams) SetHTTPClient(client *http.Client)
- func (o *GetV1BucketsParams) SetTimeout(timeout time.Duration)
- func (o *GetV1BucketsParams) WithContext(ctx context.Context) *GetV1BucketsParams
- func (o *GetV1BucketsParams) WithHTTPClient(client *http.Client) *GetV1BucketsParams
- func (o *GetV1BucketsParams) WithTimeout(timeout time.Duration) *GetV1BucketsParams
- func (o *GetV1BucketsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1BucketsReader
- type PostV1BucketsBadRequest
- type PostV1BucketsCreated
- type PostV1BucketsParams
- func (o *PostV1BucketsParams) SetBody(body *models.BucketRequest)
- func (o *PostV1BucketsParams) SetContext(ctx context.Context)
- func (o *PostV1BucketsParams) SetHTTPClient(client *http.Client)
- func (o *PostV1BucketsParams) SetTimeout(timeout time.Duration)
- func (o *PostV1BucketsParams) WithBody(body *models.BucketRequest) *PostV1BucketsParams
- func (o *PostV1BucketsParams) WithContext(ctx context.Context) *PostV1BucketsParams
- func (o *PostV1BucketsParams) WithHTTPClient(client *http.Client) *PostV1BucketsParams
- func (o *PostV1BucketsParams) WithTimeout(timeout time.Duration) *PostV1BucketsParams
- func (o *PostV1BucketsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV1BucketsReader
- type PutV1BucketsBucketIDBadRequest
- type PutV1BucketsBucketIDNotFound
- type PutV1BucketsBucketIDOK
- type PutV1BucketsBucketIDParams
- func NewPutV1BucketsBucketIDParams() *PutV1BucketsBucketIDParams
- func NewPutV1BucketsBucketIDParamsWithContext(ctx context.Context) *PutV1BucketsBucketIDParams
- func NewPutV1BucketsBucketIDParamsWithHTTPClient(client *http.Client) *PutV1BucketsBucketIDParams
- func NewPutV1BucketsBucketIDParamsWithTimeout(timeout time.Duration) *PutV1BucketsBucketIDParams
- func (o *PutV1BucketsBucketIDParams) SetBody(body *models.Bucket)
- func (o *PutV1BucketsBucketIDParams) SetBucketID(bucketID string)
- func (o *PutV1BucketsBucketIDParams) SetContext(ctx context.Context)
- func (o *PutV1BucketsBucketIDParams) SetHTTPClient(client *http.Client)
- func (o *PutV1BucketsBucketIDParams) SetTimeout(timeout time.Duration)
- func (o *PutV1BucketsBucketIDParams) WithBody(body *models.Bucket) *PutV1BucketsBucketIDParams
- func (o *PutV1BucketsBucketIDParams) WithBucketID(bucketID string) *PutV1BucketsBucketIDParams
- func (o *PutV1BucketsBucketIDParams) WithContext(ctx context.Context) *PutV1BucketsBucketIDParams
- func (o *PutV1BucketsBucketIDParams) WithHTTPClient(client *http.Client) *PutV1BucketsBucketIDParams
- func (o *PutV1BucketsBucketIDParams) WithTimeout(timeout time.Duration) *PutV1BucketsBucketIDParams
- func (o *PutV1BucketsBucketIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutV1BucketsBucketIDReader
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 buckets API
func (*Client) DeleteV1BucketsBucketID ¶
func (a *Client) DeleteV1BucketsBucketID(params *DeleteV1BucketsBucketIDParams) (*DeleteV1BucketsBucketIDOK, error)
DeleteV1BucketsBucketID deletes bucket
func (*Client) GetV1Buckets ¶
func (a *Client) GetV1Buckets(params *GetV1BucketsParams) (*GetV1BucketsOK, error)
GetV1Buckets lists all buckets
func (*Client) GetV1BucketsBucketID ¶
func (a *Client) GetV1BucketsBucketID(params *GetV1BucketsBucketIDParams) (*GetV1BucketsBucketIDOK, error)
GetV1BucketsBucketID gets bucket details
func (*Client) PostV1Buckets ¶
func (a *Client) PostV1Buckets(params *PostV1BucketsParams) (*PostV1BucketsCreated, error)
PostV1Buckets creates a new bucket
You may create your own bucket using this action. It takes a JSON object containing a bucket request. Once bucket is created, it gets assigned a default input to accept webhooks but you will still have to create a new output to give it a destination.
func (*Client) PutV1BucketsBucketID ¶ added in v0.1.3
func (a *Client) PutV1BucketsBucketID(params *PutV1BucketsBucketIDParams) (*PutV1BucketsBucketIDOK, error)
PutV1BucketsBucketID updates bucket
Update bucket.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶ added in v0.3.0
type ClientService interface { DeleteV1BucketsBucketID(params *DeleteV1BucketsBucketIDParams) (*DeleteV1BucketsBucketIDOK, error) GetV1Buckets(params *GetV1BucketsParams) (*GetV1BucketsOK, error) GetV1BucketsBucketID(params *GetV1BucketsBucketIDParams) (*GetV1BucketsBucketIDOK, error) PostV1Buckets(params *PostV1BucketsParams) (*PostV1BucketsCreated, error) PutV1BucketsBucketID(params *PutV1BucketsBucketIDParams) (*PutV1BucketsBucketIDOK, 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 buckets API client.
type DeleteV1BucketsBucketIDNotFound ¶
type DeleteV1BucketsBucketIDNotFound struct { }
DeleteV1BucketsBucketIDNotFound handles this case with default header values.
Bucket not found
func NewDeleteV1BucketsBucketIDNotFound ¶
func NewDeleteV1BucketsBucketIDNotFound() *DeleteV1BucketsBucketIDNotFound
NewDeleteV1BucketsBucketIDNotFound creates a DeleteV1BucketsBucketIDNotFound with default headers values
func (*DeleteV1BucketsBucketIDNotFound) Error ¶
func (o *DeleteV1BucketsBucketIDNotFound) Error() string
type DeleteV1BucketsBucketIDOK ¶
type DeleteV1BucketsBucketIDOK struct { }
DeleteV1BucketsBucketIDOK handles this case with default header values.
Successful Response
func NewDeleteV1BucketsBucketIDOK ¶
func NewDeleteV1BucketsBucketIDOK() *DeleteV1BucketsBucketIDOK
NewDeleteV1BucketsBucketIDOK creates a DeleteV1BucketsBucketIDOK with default headers values
func (*DeleteV1BucketsBucketIDOK) Error ¶
func (o *DeleteV1BucketsBucketIDOK) Error() string
type DeleteV1BucketsBucketIDParams ¶
type DeleteV1BucketsBucketIDParams struct { /*BucketID ID of a bucket to return */ BucketID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteV1BucketsBucketIDParams contains all the parameters to send to the API endpoint for the delete v1 buckets bucket ID operation typically these are written to a http.Request
func NewDeleteV1BucketsBucketIDParams ¶
func NewDeleteV1BucketsBucketIDParams() *DeleteV1BucketsBucketIDParams
NewDeleteV1BucketsBucketIDParams creates a new DeleteV1BucketsBucketIDParams object with the default values initialized.
func NewDeleteV1BucketsBucketIDParamsWithContext ¶
func NewDeleteV1BucketsBucketIDParamsWithContext(ctx context.Context) *DeleteV1BucketsBucketIDParams
NewDeleteV1BucketsBucketIDParamsWithContext creates a new DeleteV1BucketsBucketIDParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteV1BucketsBucketIDParamsWithHTTPClient ¶
func NewDeleteV1BucketsBucketIDParamsWithHTTPClient(client *http.Client) *DeleteV1BucketsBucketIDParams
NewDeleteV1BucketsBucketIDParamsWithHTTPClient creates a new DeleteV1BucketsBucketIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteV1BucketsBucketIDParamsWithTimeout ¶
func NewDeleteV1BucketsBucketIDParamsWithTimeout(timeout time.Duration) *DeleteV1BucketsBucketIDParams
NewDeleteV1BucketsBucketIDParamsWithTimeout creates a new DeleteV1BucketsBucketIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteV1BucketsBucketIDParams) SetBucketID ¶
func (o *DeleteV1BucketsBucketIDParams) SetBucketID(bucketID string)
SetBucketID adds the bucketId to the delete v1 buckets bucket ID params
func (*DeleteV1BucketsBucketIDParams) SetContext ¶
func (o *DeleteV1BucketsBucketIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete v1 buckets bucket ID params
func (*DeleteV1BucketsBucketIDParams) SetHTTPClient ¶
func (o *DeleteV1BucketsBucketIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete v1 buckets bucket ID params
func (*DeleteV1BucketsBucketIDParams) SetTimeout ¶
func (o *DeleteV1BucketsBucketIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete v1 buckets bucket ID params
func (*DeleteV1BucketsBucketIDParams) WithBucketID ¶
func (o *DeleteV1BucketsBucketIDParams) WithBucketID(bucketID string) *DeleteV1BucketsBucketIDParams
WithBucketID adds the bucketID to the delete v1 buckets bucket ID params
func (*DeleteV1BucketsBucketIDParams) WithContext ¶
func (o *DeleteV1BucketsBucketIDParams) WithContext(ctx context.Context) *DeleteV1BucketsBucketIDParams
WithContext adds the context to the delete v1 buckets bucket ID params
func (*DeleteV1BucketsBucketIDParams) WithHTTPClient ¶
func (o *DeleteV1BucketsBucketIDParams) WithHTTPClient(client *http.Client) *DeleteV1BucketsBucketIDParams
WithHTTPClient adds the HTTPClient to the delete v1 buckets bucket ID params
func (*DeleteV1BucketsBucketIDParams) WithTimeout ¶
func (o *DeleteV1BucketsBucketIDParams) WithTimeout(timeout time.Duration) *DeleteV1BucketsBucketIDParams
WithTimeout adds the timeout to the delete v1 buckets bucket ID params
func (*DeleteV1BucketsBucketIDParams) WriteToRequest ¶
func (o *DeleteV1BucketsBucketIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteV1BucketsBucketIDReader ¶
type DeleteV1BucketsBucketIDReader struct {
// contains filtered or unexported fields
}
DeleteV1BucketsBucketIDReader is a Reader for the DeleteV1BucketsBucketID structure.
func (*DeleteV1BucketsBucketIDReader) ReadResponse ¶
func (o *DeleteV1BucketsBucketIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1BucketsBucketIDNotFound ¶
type GetV1BucketsBucketIDNotFound struct { }
GetV1BucketsBucketIDNotFound handles this case with default header values.
Bucket not found
func NewGetV1BucketsBucketIDNotFound ¶
func NewGetV1BucketsBucketIDNotFound() *GetV1BucketsBucketIDNotFound
NewGetV1BucketsBucketIDNotFound creates a GetV1BucketsBucketIDNotFound with default headers values
func (*GetV1BucketsBucketIDNotFound) Error ¶
func (o *GetV1BucketsBucketIDNotFound) Error() string
type GetV1BucketsBucketIDOK ¶
GetV1BucketsBucketIDOK handles this case with default header values.
Successful Response
func NewGetV1BucketsBucketIDOK ¶
func NewGetV1BucketsBucketIDOK() *GetV1BucketsBucketIDOK
NewGetV1BucketsBucketIDOK creates a GetV1BucketsBucketIDOK with default headers values
func (*GetV1BucketsBucketIDOK) Error ¶
func (o *GetV1BucketsBucketIDOK) Error() string
func (*GetV1BucketsBucketIDOK) GetPayload ¶
func (o *GetV1BucketsBucketIDOK) GetPayload() *models.Bucket
type GetV1BucketsBucketIDParams ¶
type GetV1BucketsBucketIDParams struct { /*BucketID ID of a bucket to return */ BucketID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetV1BucketsBucketIDParams contains all the parameters to send to the API endpoint for the get v1 buckets bucket ID operation typically these are written to a http.Request
func NewGetV1BucketsBucketIDParams ¶
func NewGetV1BucketsBucketIDParams() *GetV1BucketsBucketIDParams
NewGetV1BucketsBucketIDParams creates a new GetV1BucketsBucketIDParams object with the default values initialized.
func NewGetV1BucketsBucketIDParamsWithContext ¶
func NewGetV1BucketsBucketIDParamsWithContext(ctx context.Context) *GetV1BucketsBucketIDParams
NewGetV1BucketsBucketIDParamsWithContext creates a new GetV1BucketsBucketIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetV1BucketsBucketIDParamsWithHTTPClient ¶
func NewGetV1BucketsBucketIDParamsWithHTTPClient(client *http.Client) *GetV1BucketsBucketIDParams
NewGetV1BucketsBucketIDParamsWithHTTPClient creates a new GetV1BucketsBucketIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetV1BucketsBucketIDParamsWithTimeout ¶
func NewGetV1BucketsBucketIDParamsWithTimeout(timeout time.Duration) *GetV1BucketsBucketIDParams
NewGetV1BucketsBucketIDParamsWithTimeout creates a new GetV1BucketsBucketIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetV1BucketsBucketIDParams) SetBucketID ¶
func (o *GetV1BucketsBucketIDParams) SetBucketID(bucketID string)
SetBucketID adds the bucketId to the get v1 buckets bucket ID params
func (*GetV1BucketsBucketIDParams) SetContext ¶
func (o *GetV1BucketsBucketIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 buckets bucket ID params
func (*GetV1BucketsBucketIDParams) SetHTTPClient ¶
func (o *GetV1BucketsBucketIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 buckets bucket ID params
func (*GetV1BucketsBucketIDParams) SetTimeout ¶
func (o *GetV1BucketsBucketIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 buckets bucket ID params
func (*GetV1BucketsBucketIDParams) WithBucketID ¶
func (o *GetV1BucketsBucketIDParams) WithBucketID(bucketID string) *GetV1BucketsBucketIDParams
WithBucketID adds the bucketID to the get v1 buckets bucket ID params
func (*GetV1BucketsBucketIDParams) WithContext ¶
func (o *GetV1BucketsBucketIDParams) WithContext(ctx context.Context) *GetV1BucketsBucketIDParams
WithContext adds the context to the get v1 buckets bucket ID params
func (*GetV1BucketsBucketIDParams) WithHTTPClient ¶
func (o *GetV1BucketsBucketIDParams) WithHTTPClient(client *http.Client) *GetV1BucketsBucketIDParams
WithHTTPClient adds the HTTPClient to the get v1 buckets bucket ID params
func (*GetV1BucketsBucketIDParams) WithTimeout ¶
func (o *GetV1BucketsBucketIDParams) WithTimeout(timeout time.Duration) *GetV1BucketsBucketIDParams
WithTimeout adds the timeout to the get v1 buckets bucket ID params
func (*GetV1BucketsBucketIDParams) WriteToRequest ¶
func (o *GetV1BucketsBucketIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1BucketsBucketIDReader ¶
type GetV1BucketsBucketIDReader struct {
// contains filtered or unexported fields
}
GetV1BucketsBucketIDReader is a Reader for the GetV1BucketsBucketID structure.
func (*GetV1BucketsBucketIDReader) ReadResponse ¶
func (o *GetV1BucketsBucketIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1BucketsOK ¶
GetV1BucketsOK handles this case with default header values.
Successful Response
func NewGetV1BucketsOK ¶
func NewGetV1BucketsOK() *GetV1BucketsOK
NewGetV1BucketsOK creates a GetV1BucketsOK with default headers values
func (*GetV1BucketsOK) Error ¶
func (o *GetV1BucketsOK) Error() string
func (*GetV1BucketsOK) GetPayload ¶
func (o *GetV1BucketsOK) GetPayload() []*models.Bucket
type GetV1BucketsParams ¶
type GetV1BucketsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetV1BucketsParams contains all the parameters to send to the API endpoint for the get v1 buckets operation typically these are written to a http.Request
func NewGetV1BucketsParams ¶
func NewGetV1BucketsParams() *GetV1BucketsParams
NewGetV1BucketsParams creates a new GetV1BucketsParams object with the default values initialized.
func NewGetV1BucketsParamsWithContext ¶
func NewGetV1BucketsParamsWithContext(ctx context.Context) *GetV1BucketsParams
NewGetV1BucketsParamsWithContext creates a new GetV1BucketsParams object with the default values initialized, and the ability to set a context for a request
func NewGetV1BucketsParamsWithHTTPClient ¶
func NewGetV1BucketsParamsWithHTTPClient(client *http.Client) *GetV1BucketsParams
NewGetV1BucketsParamsWithHTTPClient creates a new GetV1BucketsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetV1BucketsParamsWithTimeout ¶
func NewGetV1BucketsParamsWithTimeout(timeout time.Duration) *GetV1BucketsParams
NewGetV1BucketsParamsWithTimeout creates a new GetV1BucketsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetV1BucketsParams) SetContext ¶
func (o *GetV1BucketsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 buckets params
func (*GetV1BucketsParams) SetHTTPClient ¶
func (o *GetV1BucketsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 buckets params
func (*GetV1BucketsParams) SetTimeout ¶
func (o *GetV1BucketsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 buckets params
func (*GetV1BucketsParams) WithContext ¶
func (o *GetV1BucketsParams) WithContext(ctx context.Context) *GetV1BucketsParams
WithContext adds the context to the get v1 buckets params
func (*GetV1BucketsParams) WithHTTPClient ¶
func (o *GetV1BucketsParams) WithHTTPClient(client *http.Client) *GetV1BucketsParams
WithHTTPClient adds the HTTPClient to the get v1 buckets params
func (*GetV1BucketsParams) WithTimeout ¶
func (o *GetV1BucketsParams) WithTimeout(timeout time.Duration) *GetV1BucketsParams
WithTimeout adds the timeout to the get v1 buckets params
func (*GetV1BucketsParams) WriteToRequest ¶
func (o *GetV1BucketsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1BucketsReader ¶
type GetV1BucketsReader struct {
// contains filtered or unexported fields
}
GetV1BucketsReader is a Reader for the GetV1Buckets structure.
func (*GetV1BucketsReader) ReadResponse ¶
func (o *GetV1BucketsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostV1BucketsBadRequest ¶
type PostV1BucketsBadRequest struct { }
PostV1BucketsBadRequest handles this case with default header values.
Invalid bucket request supplied
func NewPostV1BucketsBadRequest ¶
func NewPostV1BucketsBadRequest() *PostV1BucketsBadRequest
NewPostV1BucketsBadRequest creates a PostV1BucketsBadRequest with default headers values
func (*PostV1BucketsBadRequest) Error ¶
func (o *PostV1BucketsBadRequest) Error() string
type PostV1BucketsCreated ¶
PostV1BucketsCreated handles this case with default header values.
PostV1BucketsCreated post v1 buckets created
func NewPostV1BucketsCreated ¶
func NewPostV1BucketsCreated() *PostV1BucketsCreated
NewPostV1BucketsCreated creates a PostV1BucketsCreated with default headers values
func (*PostV1BucketsCreated) Error ¶
func (o *PostV1BucketsCreated) Error() string
func (*PostV1BucketsCreated) GetPayload ¶
func (o *PostV1BucketsCreated) GetPayload() *models.Bucket
type PostV1BucketsParams ¶
type PostV1BucketsParams struct { /*Body*/ Body *models.BucketRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostV1BucketsParams contains all the parameters to send to the API endpoint for the post v1 buckets operation typically these are written to a http.Request
func NewPostV1BucketsParams ¶
func NewPostV1BucketsParams() *PostV1BucketsParams
NewPostV1BucketsParams creates a new PostV1BucketsParams object with the default values initialized.
func NewPostV1BucketsParamsWithContext ¶
func NewPostV1BucketsParamsWithContext(ctx context.Context) *PostV1BucketsParams
NewPostV1BucketsParamsWithContext creates a new PostV1BucketsParams object with the default values initialized, and the ability to set a context for a request
func NewPostV1BucketsParamsWithHTTPClient ¶
func NewPostV1BucketsParamsWithHTTPClient(client *http.Client) *PostV1BucketsParams
NewPostV1BucketsParamsWithHTTPClient creates a new PostV1BucketsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostV1BucketsParamsWithTimeout ¶
func NewPostV1BucketsParamsWithTimeout(timeout time.Duration) *PostV1BucketsParams
NewPostV1BucketsParamsWithTimeout creates a new PostV1BucketsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostV1BucketsParams) SetBody ¶
func (o *PostV1BucketsParams) SetBody(body *models.BucketRequest)
SetBody adds the body to the post v1 buckets params
func (*PostV1BucketsParams) SetContext ¶
func (o *PostV1BucketsParams) SetContext(ctx context.Context)
SetContext adds the context to the post v1 buckets params
func (*PostV1BucketsParams) SetHTTPClient ¶
func (o *PostV1BucketsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post v1 buckets params
func (*PostV1BucketsParams) SetTimeout ¶
func (o *PostV1BucketsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post v1 buckets params
func (*PostV1BucketsParams) WithBody ¶
func (o *PostV1BucketsParams) WithBody(body *models.BucketRequest) *PostV1BucketsParams
WithBody adds the body to the post v1 buckets params
func (*PostV1BucketsParams) WithContext ¶
func (o *PostV1BucketsParams) WithContext(ctx context.Context) *PostV1BucketsParams
WithContext adds the context to the post v1 buckets params
func (*PostV1BucketsParams) WithHTTPClient ¶
func (o *PostV1BucketsParams) WithHTTPClient(client *http.Client) *PostV1BucketsParams
WithHTTPClient adds the HTTPClient to the post v1 buckets params
func (*PostV1BucketsParams) WithTimeout ¶
func (o *PostV1BucketsParams) WithTimeout(timeout time.Duration) *PostV1BucketsParams
WithTimeout adds the timeout to the post v1 buckets params
func (*PostV1BucketsParams) WriteToRequest ¶
func (o *PostV1BucketsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostV1BucketsReader ¶
type PostV1BucketsReader struct {
// contains filtered or unexported fields
}
PostV1BucketsReader is a Reader for the PostV1Buckets structure.
func (*PostV1BucketsReader) ReadResponse ¶
func (o *PostV1BucketsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutV1BucketsBucketIDBadRequest ¶ added in v0.1.3
type PutV1BucketsBucketIDBadRequest struct { }
PutV1BucketsBucketIDBadRequest handles this case with default header values.
Invalid bucket update request supplied
func NewPutV1BucketsBucketIDBadRequest ¶ added in v0.1.3
func NewPutV1BucketsBucketIDBadRequest() *PutV1BucketsBucketIDBadRequest
NewPutV1BucketsBucketIDBadRequest creates a PutV1BucketsBucketIDBadRequest with default headers values
func (*PutV1BucketsBucketIDBadRequest) Error ¶ added in v0.1.3
func (o *PutV1BucketsBucketIDBadRequest) Error() string
type PutV1BucketsBucketIDNotFound ¶ added in v0.1.3
type PutV1BucketsBucketIDNotFound struct { }
PutV1BucketsBucketIDNotFound handles this case with default header values.
Bucket not found
func NewPutV1BucketsBucketIDNotFound ¶ added in v0.1.3
func NewPutV1BucketsBucketIDNotFound() *PutV1BucketsBucketIDNotFound
NewPutV1BucketsBucketIDNotFound creates a PutV1BucketsBucketIDNotFound with default headers values
func (*PutV1BucketsBucketIDNotFound) Error ¶ added in v0.1.3
func (o *PutV1BucketsBucketIDNotFound) Error() string
type PutV1BucketsBucketIDOK ¶ added in v0.1.3
PutV1BucketsBucketIDOK handles this case with default header values.
Bucket updated
func NewPutV1BucketsBucketIDOK ¶ added in v0.1.3
func NewPutV1BucketsBucketIDOK() *PutV1BucketsBucketIDOK
NewPutV1BucketsBucketIDOK creates a PutV1BucketsBucketIDOK with default headers values
func (*PutV1BucketsBucketIDOK) Error ¶ added in v0.1.3
func (o *PutV1BucketsBucketIDOK) Error() string
func (*PutV1BucketsBucketIDOK) GetPayload ¶ added in v0.1.3
func (o *PutV1BucketsBucketIDOK) GetPayload() *models.Bucket
type PutV1BucketsBucketIDParams ¶ added in v0.1.3
type PutV1BucketsBucketIDParams struct { /*Body*/ Body *models.Bucket /*BucketID ID of a bucket to return */ BucketID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutV1BucketsBucketIDParams contains all the parameters to send to the API endpoint for the put v1 buckets bucket ID operation typically these are written to a http.Request
func NewPutV1BucketsBucketIDParams ¶ added in v0.1.3
func NewPutV1BucketsBucketIDParams() *PutV1BucketsBucketIDParams
NewPutV1BucketsBucketIDParams creates a new PutV1BucketsBucketIDParams object with the default values initialized.
func NewPutV1BucketsBucketIDParamsWithContext ¶ added in v0.1.3
func NewPutV1BucketsBucketIDParamsWithContext(ctx context.Context) *PutV1BucketsBucketIDParams
NewPutV1BucketsBucketIDParamsWithContext creates a new PutV1BucketsBucketIDParams object with the default values initialized, and the ability to set a context for a request
func NewPutV1BucketsBucketIDParamsWithHTTPClient ¶ added in v0.1.3
func NewPutV1BucketsBucketIDParamsWithHTTPClient(client *http.Client) *PutV1BucketsBucketIDParams
NewPutV1BucketsBucketIDParamsWithHTTPClient creates a new PutV1BucketsBucketIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutV1BucketsBucketIDParamsWithTimeout ¶ added in v0.1.3
func NewPutV1BucketsBucketIDParamsWithTimeout(timeout time.Duration) *PutV1BucketsBucketIDParams
NewPutV1BucketsBucketIDParamsWithTimeout creates a new PutV1BucketsBucketIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutV1BucketsBucketIDParams) SetBody ¶ added in v0.1.3
func (o *PutV1BucketsBucketIDParams) SetBody(body *models.Bucket)
SetBody adds the body to the put v1 buckets bucket ID params
func (*PutV1BucketsBucketIDParams) SetBucketID ¶ added in v0.1.3
func (o *PutV1BucketsBucketIDParams) SetBucketID(bucketID string)
SetBucketID adds the bucketId to the put v1 buckets bucket ID params
func (*PutV1BucketsBucketIDParams) SetContext ¶ added in v0.1.3
func (o *PutV1BucketsBucketIDParams) SetContext(ctx context.Context)
SetContext adds the context to the put v1 buckets bucket ID params
func (*PutV1BucketsBucketIDParams) SetHTTPClient ¶ added in v0.1.3
func (o *PutV1BucketsBucketIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put v1 buckets bucket ID params
func (*PutV1BucketsBucketIDParams) SetTimeout ¶ added in v0.1.3
func (o *PutV1BucketsBucketIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put v1 buckets bucket ID params
func (*PutV1BucketsBucketIDParams) WithBody ¶ added in v0.1.3
func (o *PutV1BucketsBucketIDParams) WithBody(body *models.Bucket) *PutV1BucketsBucketIDParams
WithBody adds the body to the put v1 buckets bucket ID params
func (*PutV1BucketsBucketIDParams) WithBucketID ¶ added in v0.1.3
func (o *PutV1BucketsBucketIDParams) WithBucketID(bucketID string) *PutV1BucketsBucketIDParams
WithBucketID adds the bucketID to the put v1 buckets bucket ID params
func (*PutV1BucketsBucketIDParams) WithContext ¶ added in v0.1.3
func (o *PutV1BucketsBucketIDParams) WithContext(ctx context.Context) *PutV1BucketsBucketIDParams
WithContext adds the context to the put v1 buckets bucket ID params
func (*PutV1BucketsBucketIDParams) WithHTTPClient ¶ added in v0.1.3
func (o *PutV1BucketsBucketIDParams) WithHTTPClient(client *http.Client) *PutV1BucketsBucketIDParams
WithHTTPClient adds the HTTPClient to the put v1 buckets bucket ID params
func (*PutV1BucketsBucketIDParams) WithTimeout ¶ added in v0.1.3
func (o *PutV1BucketsBucketIDParams) WithTimeout(timeout time.Duration) *PutV1BucketsBucketIDParams
WithTimeout adds the timeout to the put v1 buckets bucket ID params
func (*PutV1BucketsBucketIDParams) WriteToRequest ¶ added in v0.1.3
func (o *PutV1BucketsBucketIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutV1BucketsBucketIDReader ¶ added in v0.1.3
type PutV1BucketsBucketIDReader struct {
// contains filtered or unexported fields
}
PutV1BucketsBucketIDReader is a Reader for the PutV1BucketsBucketID structure.
func (*PutV1BucketsBucketIDReader) ReadResponse ¶ added in v0.1.3
func (o *PutV1BucketsBucketIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- buckets_client.go
- delete_v1_buckets_bucket_id_parameters.go
- delete_v1_buckets_bucket_id_responses.go
- get_v1_buckets_bucket_id_parameters.go
- get_v1_buckets_bucket_id_responses.go
- get_v1_buckets_parameters.go
- get_v1_buckets_responses.go
- post_v1_buckets_parameters.go
- post_v1_buckets_responses.go
- put_v1_buckets_bucket_id_parameters.go
- put_v1_buckets_bucket_id_responses.go