Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateBucket(params *CreateBucketParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateBucketOK, error)
- func (a *Client) DeleteBucket(params *DeleteBucketParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteBucketOK, error)
- func (a *Client) GetAvailableBucketFields(params *GetAvailableBucketFieldsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAvailableBucketFieldsOK, error)
- func (a *Client) GetBucket(params *GetBucketParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetBucketOK, error)
- func (a *Client) GetBuckets(params *GetBucketsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetBucketsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateBucket(params *UpdateBucketParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateBucketOK, error)
- type ClientOption
- type ClientService
- type CreateBucketBadRequest
- func (o *CreateBucketBadRequest) Error() string
- func (o *CreateBucketBadRequest) IsClientError() bool
- func (o *CreateBucketBadRequest) IsCode(code int) bool
- func (o *CreateBucketBadRequest) IsRedirect() bool
- func (o *CreateBucketBadRequest) IsServerError() bool
- func (o *CreateBucketBadRequest) IsSuccess() bool
- func (o *CreateBucketBadRequest) String() string
- type CreateBucketForbidden
- func (o *CreateBucketForbidden) Error() string
- func (o *CreateBucketForbidden) IsClientError() bool
- func (o *CreateBucketForbidden) IsCode(code int) bool
- func (o *CreateBucketForbidden) IsRedirect() bool
- func (o *CreateBucketForbidden) IsServerError() bool
- func (o *CreateBucketForbidden) IsSuccess() bool
- func (o *CreateBucketForbidden) String() string
- type CreateBucketOK
- func (o *CreateBucketOK) Error() string
- func (o *CreateBucketOK) GetPayload() *models.Bucket
- func (o *CreateBucketOK) IsClientError() bool
- func (o *CreateBucketOK) IsCode(code int) bool
- func (o *CreateBucketOK) IsRedirect() bool
- func (o *CreateBucketOK) IsServerError() bool
- func (o *CreateBucketOK) IsSuccess() bool
- func (o *CreateBucketOK) String() string
- type CreateBucketParams
- func (o *CreateBucketParams) SetBody(body *models.Bucket)
- func (o *CreateBucketParams) SetContext(ctx context.Context)
- func (o *CreateBucketParams) SetDefaults()
- func (o *CreateBucketParams) SetHTTPClient(client *http.Client)
- func (o *CreateBucketParams) SetTimeout(timeout time.Duration)
- func (o *CreateBucketParams) WithBody(body *models.Bucket) *CreateBucketParams
- func (o *CreateBucketParams) WithContext(ctx context.Context) *CreateBucketParams
- func (o *CreateBucketParams) WithDefaults() *CreateBucketParams
- func (o *CreateBucketParams) WithHTTPClient(client *http.Client) *CreateBucketParams
- func (o *CreateBucketParams) WithTimeout(timeout time.Duration) *CreateBucketParams
- func (o *CreateBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateBucketReader
- type CreateBucketUnauthorized
- func (o *CreateBucketUnauthorized) Error() string
- func (o *CreateBucketUnauthorized) IsClientError() bool
- func (o *CreateBucketUnauthorized) IsCode(code int) bool
- func (o *CreateBucketUnauthorized) IsRedirect() bool
- func (o *CreateBucketUnauthorized) IsServerError() bool
- func (o *CreateBucketUnauthorized) IsSuccess() bool
- func (o *CreateBucketUnauthorized) String() string
- type DeleteBucketBadRequest
- func (o *DeleteBucketBadRequest) Error() string
- func (o *DeleteBucketBadRequest) IsClientError() bool
- func (o *DeleteBucketBadRequest) IsCode(code int) bool
- func (o *DeleteBucketBadRequest) IsRedirect() bool
- func (o *DeleteBucketBadRequest) IsServerError() bool
- func (o *DeleteBucketBadRequest) IsSuccess() bool
- func (o *DeleteBucketBadRequest) String() string
- type DeleteBucketForbidden
- func (o *DeleteBucketForbidden) Error() string
- func (o *DeleteBucketForbidden) IsClientError() bool
- func (o *DeleteBucketForbidden) IsCode(code int) bool
- func (o *DeleteBucketForbidden) IsRedirect() bool
- func (o *DeleteBucketForbidden) IsServerError() bool
- func (o *DeleteBucketForbidden) IsSuccess() bool
- func (o *DeleteBucketForbidden) String() string
- type DeleteBucketNotFound
- func (o *DeleteBucketNotFound) Error() string
- func (o *DeleteBucketNotFound) IsClientError() bool
- func (o *DeleteBucketNotFound) IsCode(code int) bool
- func (o *DeleteBucketNotFound) IsRedirect() bool
- func (o *DeleteBucketNotFound) IsServerError() bool
- func (o *DeleteBucketNotFound) IsSuccess() bool
- func (o *DeleteBucketNotFound) String() string
- type DeleteBucketOK
- func (o *DeleteBucketOK) Error() string
- func (o *DeleteBucketOK) GetPayload() *models.Bucket
- func (o *DeleteBucketOK) IsClientError() bool
- func (o *DeleteBucketOK) IsCode(code int) bool
- func (o *DeleteBucketOK) IsRedirect() bool
- func (o *DeleteBucketOK) IsServerError() bool
- func (o *DeleteBucketOK) IsSuccess() bool
- func (o *DeleteBucketOK) String() string
- type DeleteBucketParams
- func (o *DeleteBucketParams) SetBucketID(bucketID string)
- func (o *DeleteBucketParams) SetClientID(clientID *string)
- func (o *DeleteBucketParams) SetContext(ctx context.Context)
- func (o *DeleteBucketParams) SetDefaults()
- func (o *DeleteBucketParams) SetHTTPClient(client *http.Client)
- func (o *DeleteBucketParams) SetTimeout(timeout time.Duration)
- func (o *DeleteBucketParams) SetVersion(version string)
- func (o *DeleteBucketParams) WithBucketID(bucketID string) *DeleteBucketParams
- func (o *DeleteBucketParams) WithClientID(clientID *string) *DeleteBucketParams
- func (o *DeleteBucketParams) WithContext(ctx context.Context) *DeleteBucketParams
- func (o *DeleteBucketParams) WithDefaults() *DeleteBucketParams
- func (o *DeleteBucketParams) WithHTTPClient(client *http.Client) *DeleteBucketParams
- func (o *DeleteBucketParams) WithTimeout(timeout time.Duration) *DeleteBucketParams
- func (o *DeleteBucketParams) WithVersion(version string) *DeleteBucketParams
- func (o *DeleteBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteBucketReader
- type DeleteBucketUnauthorized
- func (o *DeleteBucketUnauthorized) Error() string
- func (o *DeleteBucketUnauthorized) IsClientError() bool
- func (o *DeleteBucketUnauthorized) IsCode(code int) bool
- func (o *DeleteBucketUnauthorized) IsRedirect() bool
- func (o *DeleteBucketUnauthorized) IsServerError() bool
- func (o *DeleteBucketUnauthorized) IsSuccess() bool
- func (o *DeleteBucketUnauthorized) String() string
- type GetAvailableBucketFieldsOK
- func (o *GetAvailableBucketFieldsOK) Error() string
- func (o *GetAvailableBucketFieldsOK) GetPayload() *models.Fields
- func (o *GetAvailableBucketFieldsOK) IsClientError() bool
- func (o *GetAvailableBucketFieldsOK) IsCode(code int) bool
- func (o *GetAvailableBucketFieldsOK) IsRedirect() bool
- func (o *GetAvailableBucketFieldsOK) IsServerError() bool
- func (o *GetAvailableBucketFieldsOK) IsSuccess() bool
- func (o *GetAvailableBucketFieldsOK) String() string
- type GetAvailableBucketFieldsParams
- func NewGetAvailableBucketFieldsParams() *GetAvailableBucketFieldsParams
- func NewGetAvailableBucketFieldsParamsWithContext(ctx context.Context) *GetAvailableBucketFieldsParams
- func NewGetAvailableBucketFieldsParamsWithHTTPClient(client *http.Client) *GetAvailableBucketFieldsParams
- func NewGetAvailableBucketFieldsParamsWithTimeout(timeout time.Duration) *GetAvailableBucketFieldsParams
- func (o *GetAvailableBucketFieldsParams) SetContext(ctx context.Context)
- func (o *GetAvailableBucketFieldsParams) SetDefaults()
- func (o *GetAvailableBucketFieldsParams) SetHTTPClient(client *http.Client)
- func (o *GetAvailableBucketFieldsParams) SetTimeout(timeout time.Duration)
- func (o *GetAvailableBucketFieldsParams) WithContext(ctx context.Context) *GetAvailableBucketFieldsParams
- func (o *GetAvailableBucketFieldsParams) WithDefaults() *GetAvailableBucketFieldsParams
- func (o *GetAvailableBucketFieldsParams) WithHTTPClient(client *http.Client) *GetAvailableBucketFieldsParams
- func (o *GetAvailableBucketFieldsParams) WithTimeout(timeout time.Duration) *GetAvailableBucketFieldsParams
- func (o *GetAvailableBucketFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAvailableBucketFieldsReader
- type GetBucketForbidden
- func (o *GetBucketForbidden) Error() string
- func (o *GetBucketForbidden) IsClientError() bool
- func (o *GetBucketForbidden) IsCode(code int) bool
- func (o *GetBucketForbidden) IsRedirect() bool
- func (o *GetBucketForbidden) IsServerError() bool
- func (o *GetBucketForbidden) IsSuccess() bool
- func (o *GetBucketForbidden) String() string
- type GetBucketNotFound
- func (o *GetBucketNotFound) Error() string
- func (o *GetBucketNotFound) IsClientError() bool
- func (o *GetBucketNotFound) IsCode(code int) bool
- func (o *GetBucketNotFound) IsRedirect() bool
- func (o *GetBucketNotFound) IsServerError() bool
- func (o *GetBucketNotFound) IsSuccess() bool
- func (o *GetBucketNotFound) String() string
- type GetBucketOK
- func (o *GetBucketOK) Error() string
- func (o *GetBucketOK) GetPayload() *models.Bucket
- func (o *GetBucketOK) IsClientError() bool
- func (o *GetBucketOK) IsCode(code int) bool
- func (o *GetBucketOK) IsRedirect() bool
- func (o *GetBucketOK) IsServerError() bool
- func (o *GetBucketOK) IsSuccess() bool
- func (o *GetBucketOK) String() string
- type GetBucketParams
- func (o *GetBucketParams) SetBucketID(bucketID string)
- func (o *GetBucketParams) SetContext(ctx context.Context)
- func (o *GetBucketParams) SetDefaults()
- func (o *GetBucketParams) SetHTTPClient(client *http.Client)
- func (o *GetBucketParams) SetTimeout(timeout time.Duration)
- func (o *GetBucketParams) WithBucketID(bucketID string) *GetBucketParams
- func (o *GetBucketParams) WithContext(ctx context.Context) *GetBucketParams
- func (o *GetBucketParams) WithDefaults() *GetBucketParams
- func (o *GetBucketParams) WithHTTPClient(client *http.Client) *GetBucketParams
- func (o *GetBucketParams) WithTimeout(timeout time.Duration) *GetBucketParams
- func (o *GetBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBucketReader
- type GetBucketUnauthorized
- func (o *GetBucketUnauthorized) Error() string
- func (o *GetBucketUnauthorized) IsClientError() bool
- func (o *GetBucketUnauthorized) IsCode(code int) bool
- func (o *GetBucketUnauthorized) IsRedirect() bool
- func (o *GetBucketUnauthorized) IsServerError() bool
- func (o *GetBucketUnauthorized) IsSuccess() bool
- func (o *GetBucketUnauthorized) String() string
- type GetBucketsOK
- func (o *GetBucketsOK) Error() string
- func (o *GetBucketsOK) GetPayload() []*models.Bucket
- func (o *GetBucketsOK) IsClientError() bool
- func (o *GetBucketsOK) IsCode(code int) bool
- func (o *GetBucketsOK) IsRedirect() bool
- func (o *GetBucketsOK) IsServerError() bool
- func (o *GetBucketsOK) IsSuccess() bool
- func (o *GetBucketsOK) String() string
- type GetBucketsParams
- func (o *GetBucketsParams) SetContext(ctx context.Context)
- func (o *GetBucketsParams) SetDefaults()
- func (o *GetBucketsParams) SetHTTPClient(client *http.Client)
- func (o *GetBucketsParams) SetTimeout(timeout time.Duration)
- func (o *GetBucketsParams) WithContext(ctx context.Context) *GetBucketsParams
- func (o *GetBucketsParams) WithDefaults() *GetBucketsParams
- func (o *GetBucketsParams) WithHTTPClient(client *http.Client) *GetBucketsParams
- func (o *GetBucketsParams) WithTimeout(timeout time.Duration) *GetBucketsParams
- func (o *GetBucketsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBucketsReader
- type GetBucketsUnauthorized
- func (o *GetBucketsUnauthorized) Error() string
- func (o *GetBucketsUnauthorized) IsClientError() bool
- func (o *GetBucketsUnauthorized) IsCode(code int) bool
- func (o *GetBucketsUnauthorized) IsRedirect() bool
- func (o *GetBucketsUnauthorized) IsServerError() bool
- func (o *GetBucketsUnauthorized) IsSuccess() bool
- func (o *GetBucketsUnauthorized) String() string
- type UpdateBucketBadRequest
- func (o *UpdateBucketBadRequest) Error() string
- func (o *UpdateBucketBadRequest) IsClientError() bool
- func (o *UpdateBucketBadRequest) IsCode(code int) bool
- func (o *UpdateBucketBadRequest) IsRedirect() bool
- func (o *UpdateBucketBadRequest) IsServerError() bool
- func (o *UpdateBucketBadRequest) IsSuccess() bool
- func (o *UpdateBucketBadRequest) String() string
- type UpdateBucketConflict
- func (o *UpdateBucketConflict) Error() string
- func (o *UpdateBucketConflict) IsClientError() bool
- func (o *UpdateBucketConflict) IsCode(code int) bool
- func (o *UpdateBucketConflict) IsRedirect() bool
- func (o *UpdateBucketConflict) IsServerError() bool
- func (o *UpdateBucketConflict) IsSuccess() bool
- func (o *UpdateBucketConflict) String() string
- type UpdateBucketForbidden
- func (o *UpdateBucketForbidden) Error() string
- func (o *UpdateBucketForbidden) IsClientError() bool
- func (o *UpdateBucketForbidden) IsCode(code int) bool
- func (o *UpdateBucketForbidden) IsRedirect() bool
- func (o *UpdateBucketForbidden) IsServerError() bool
- func (o *UpdateBucketForbidden) IsSuccess() bool
- func (o *UpdateBucketForbidden) String() string
- type UpdateBucketNotFound
- func (o *UpdateBucketNotFound) Error() string
- func (o *UpdateBucketNotFound) IsClientError() bool
- func (o *UpdateBucketNotFound) IsCode(code int) bool
- func (o *UpdateBucketNotFound) IsRedirect() bool
- func (o *UpdateBucketNotFound) IsServerError() bool
- func (o *UpdateBucketNotFound) IsSuccess() bool
- func (o *UpdateBucketNotFound) String() string
- type UpdateBucketOK
- func (o *UpdateBucketOK) Error() string
- func (o *UpdateBucketOK) GetPayload() *models.Bucket
- func (o *UpdateBucketOK) IsClientError() bool
- func (o *UpdateBucketOK) IsCode(code int) bool
- func (o *UpdateBucketOK) IsRedirect() bool
- func (o *UpdateBucketOK) IsServerError() bool
- func (o *UpdateBucketOK) IsSuccess() bool
- func (o *UpdateBucketOK) String() string
- type UpdateBucketParams
- func (o *UpdateBucketParams) SetBody(body *models.Bucket)
- func (o *UpdateBucketParams) SetBucketID(bucketID string)
- func (o *UpdateBucketParams) SetContext(ctx context.Context)
- func (o *UpdateBucketParams) SetDefaults()
- func (o *UpdateBucketParams) SetHTTPClient(client *http.Client)
- func (o *UpdateBucketParams) SetTimeout(timeout time.Duration)
- func (o *UpdateBucketParams) WithBody(body *models.Bucket) *UpdateBucketParams
- func (o *UpdateBucketParams) WithBucketID(bucketID string) *UpdateBucketParams
- func (o *UpdateBucketParams) WithContext(ctx context.Context) *UpdateBucketParams
- func (o *UpdateBucketParams) WithDefaults() *UpdateBucketParams
- func (o *UpdateBucketParams) WithHTTPClient(client *http.Client) *UpdateBucketParams
- func (o *UpdateBucketParams) WithTimeout(timeout time.Duration) *UpdateBucketParams
- func (o *UpdateBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateBucketReader
- type UpdateBucketUnauthorized
- func (o *UpdateBucketUnauthorized) Error() string
- func (o *UpdateBucketUnauthorized) IsClientError() bool
- func (o *UpdateBucketUnauthorized) IsCode(code int) bool
- func (o *UpdateBucketUnauthorized) IsRedirect() bool
- func (o *UpdateBucketUnauthorized) IsServerError() bool
- func (o *UpdateBucketUnauthorized) IsSuccess() bool
- func (o *UpdateBucketUnauthorized) String() string
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) CreateBucket ¶
func (a *Client) CreateBucket(params *CreateBucketParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBucketOK, error)
CreateBucket creates bucket
func (*Client) DeleteBucket ¶
func (a *Client) DeleteBucket(params *DeleteBucketParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBucketOK, error)
DeleteBucket deletes bucket
Deletes the bucket with the given id, along with all objects stored in the bucket
func (*Client) GetAvailableBucketFields ¶
func (a *Client) GetAvailableBucketFields(params *GetAvailableBucketFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAvailableBucketFieldsOK, error)
GetAvailableBucketFields gets bucket fields
Retrieves bucket field names for searching or sorting on buckets.
func (*Client) GetBucket ¶
func (a *Client) GetBucket(params *GetBucketParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBucketOK, error)
GetBucket gets bucket
Gets the bucket with the given id.
func (*Client) GetBuckets ¶
func (a *Client) GetBuckets(params *GetBucketsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBucketsOK, error)
GetBuckets gets all buckets
The returned list will include only buckets for which the user is authorized.If the user is not authorized for any buckets, this returns an empty list.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateBucket ¶
func (a *Client) UpdateBucket(params *UpdateBucketParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBucketOK, error)
UpdateBucket updates bucket
Updates the bucket with the given id.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateBucket(params *CreateBucketParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBucketOK, error) DeleteBucket(params *DeleteBucketParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBucketOK, error) GetAvailableBucketFields(params *GetAvailableBucketFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAvailableBucketFieldsOK, error) GetBucket(params *GetBucketParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBucketOK, error) GetBuckets(params *GetBucketsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBucketsOK, error) UpdateBucket(params *UpdateBucketParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBucketOK, 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 CreateBucketBadRequest ¶
type CreateBucketBadRequest struct { }
CreateBucketBadRequest describes a response with status code 400, with default header values.
NiFi Registry was unable to complete the request because it was invalid. The request should not be retried without modification.
func NewCreateBucketBadRequest ¶
func NewCreateBucketBadRequest() *CreateBucketBadRequest
NewCreateBucketBadRequest creates a CreateBucketBadRequest with default headers values
func (*CreateBucketBadRequest) Error ¶
func (o *CreateBucketBadRequest) Error() string
func (*CreateBucketBadRequest) IsClientError ¶ added in v1.19.1
func (o *CreateBucketBadRequest) IsClientError() bool
IsClientError returns true when this create bucket bad request response has a 4xx status code
func (*CreateBucketBadRequest) IsCode ¶ added in v1.19.1
func (o *CreateBucketBadRequest) IsCode(code int) bool
IsCode returns true when this create bucket bad request response a status code equal to that given
func (*CreateBucketBadRequest) IsRedirect ¶ added in v1.19.1
func (o *CreateBucketBadRequest) IsRedirect() bool
IsRedirect returns true when this create bucket bad request response has a 3xx status code
func (*CreateBucketBadRequest) IsServerError ¶ added in v1.19.1
func (o *CreateBucketBadRequest) IsServerError() bool
IsServerError returns true when this create bucket bad request response has a 5xx status code
func (*CreateBucketBadRequest) IsSuccess ¶ added in v1.19.1
func (o *CreateBucketBadRequest) IsSuccess() bool
IsSuccess returns true when this create bucket bad request response has a 2xx status code
func (*CreateBucketBadRequest) String ¶ added in v1.19.1
func (o *CreateBucketBadRequest) String() string
type CreateBucketForbidden ¶
type CreateBucketForbidden struct { }
CreateBucketForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewCreateBucketForbidden ¶
func NewCreateBucketForbidden() *CreateBucketForbidden
NewCreateBucketForbidden creates a CreateBucketForbidden with default headers values
func (*CreateBucketForbidden) Error ¶
func (o *CreateBucketForbidden) Error() string
func (*CreateBucketForbidden) IsClientError ¶ added in v1.19.1
func (o *CreateBucketForbidden) IsClientError() bool
IsClientError returns true when this create bucket forbidden response has a 4xx status code
func (*CreateBucketForbidden) IsCode ¶ added in v1.19.1
func (o *CreateBucketForbidden) IsCode(code int) bool
IsCode returns true when this create bucket forbidden response a status code equal to that given
func (*CreateBucketForbidden) IsRedirect ¶ added in v1.19.1
func (o *CreateBucketForbidden) IsRedirect() bool
IsRedirect returns true when this create bucket forbidden response has a 3xx status code
func (*CreateBucketForbidden) IsServerError ¶ added in v1.19.1
func (o *CreateBucketForbidden) IsServerError() bool
IsServerError returns true when this create bucket forbidden response has a 5xx status code
func (*CreateBucketForbidden) IsSuccess ¶ added in v1.19.1
func (o *CreateBucketForbidden) IsSuccess() bool
IsSuccess returns true when this create bucket forbidden response has a 2xx status code
func (*CreateBucketForbidden) String ¶ added in v1.19.1
func (o *CreateBucketForbidden) String() string
type CreateBucketOK ¶
CreateBucketOK describes a response with status code 200, with default header values.
successful operation
func NewCreateBucketOK ¶
func NewCreateBucketOK() *CreateBucketOK
NewCreateBucketOK creates a CreateBucketOK with default headers values
func (*CreateBucketOK) Error ¶
func (o *CreateBucketOK) Error() string
func (*CreateBucketOK) GetPayload ¶
func (o *CreateBucketOK) GetPayload() *models.Bucket
func (*CreateBucketOK) IsClientError ¶ added in v1.19.1
func (o *CreateBucketOK) IsClientError() bool
IsClientError returns true when this create bucket o k response has a 4xx status code
func (*CreateBucketOK) IsCode ¶ added in v1.19.1
func (o *CreateBucketOK) IsCode(code int) bool
IsCode returns true when this create bucket o k response a status code equal to that given
func (*CreateBucketOK) IsRedirect ¶ added in v1.19.1
func (o *CreateBucketOK) IsRedirect() bool
IsRedirect returns true when this create bucket o k response has a 3xx status code
func (*CreateBucketOK) IsServerError ¶ added in v1.19.1
func (o *CreateBucketOK) IsServerError() bool
IsServerError returns true when this create bucket o k response has a 5xx status code
func (*CreateBucketOK) IsSuccess ¶ added in v1.19.1
func (o *CreateBucketOK) IsSuccess() bool
IsSuccess returns true when this create bucket o k response has a 2xx status code
func (*CreateBucketOK) String ¶ added in v1.19.1
func (o *CreateBucketOK) String() string
type CreateBucketParams ¶
type CreateBucketParams struct { /* Body. The bucket to create */ Body *models.Bucket Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateBucketParams contains all the parameters to send to the API endpoint
for the create bucket operation. Typically these are written to a http.Request.
func NewCreateBucketParams ¶
func NewCreateBucketParams() *CreateBucketParams
NewCreateBucketParams creates a new CreateBucketParams 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 NewCreateBucketParamsWithContext ¶
func NewCreateBucketParamsWithContext(ctx context.Context) *CreateBucketParams
NewCreateBucketParamsWithContext creates a new CreateBucketParams object with the ability to set a context for a request.
func NewCreateBucketParamsWithHTTPClient ¶
func NewCreateBucketParamsWithHTTPClient(client *http.Client) *CreateBucketParams
NewCreateBucketParamsWithHTTPClient creates a new CreateBucketParams object with the ability to set a custom HTTPClient for a request.
func NewCreateBucketParamsWithTimeout ¶
func NewCreateBucketParamsWithTimeout(timeout time.Duration) *CreateBucketParams
NewCreateBucketParamsWithTimeout creates a new CreateBucketParams object with the ability to set a timeout on a request.
func (*CreateBucketParams) SetBody ¶
func (o *CreateBucketParams) SetBody(body *models.Bucket)
SetBody adds the body to the create bucket params
func (*CreateBucketParams) SetContext ¶
func (o *CreateBucketParams) SetContext(ctx context.Context)
SetContext adds the context to the create bucket params
func (*CreateBucketParams) SetDefaults ¶
func (o *CreateBucketParams) SetDefaults()
SetDefaults hydrates default values in the create bucket params (not the query body).
All values with no default are reset to their zero value.
func (*CreateBucketParams) SetHTTPClient ¶
func (o *CreateBucketParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create bucket params
func (*CreateBucketParams) SetTimeout ¶
func (o *CreateBucketParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create bucket params
func (*CreateBucketParams) WithBody ¶
func (o *CreateBucketParams) WithBody(body *models.Bucket) *CreateBucketParams
WithBody adds the body to the create bucket params
func (*CreateBucketParams) WithContext ¶
func (o *CreateBucketParams) WithContext(ctx context.Context) *CreateBucketParams
WithContext adds the context to the create bucket params
func (*CreateBucketParams) WithDefaults ¶
func (o *CreateBucketParams) WithDefaults() *CreateBucketParams
WithDefaults hydrates default values in the create bucket params (not the query body).
All values with no default are reset to their zero value.
func (*CreateBucketParams) WithHTTPClient ¶
func (o *CreateBucketParams) WithHTTPClient(client *http.Client) *CreateBucketParams
WithHTTPClient adds the HTTPClient to the create bucket params
func (*CreateBucketParams) WithTimeout ¶
func (o *CreateBucketParams) WithTimeout(timeout time.Duration) *CreateBucketParams
WithTimeout adds the timeout to the create bucket params
func (*CreateBucketParams) WriteToRequest ¶
func (o *CreateBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateBucketReader ¶
type CreateBucketReader struct {
// contains filtered or unexported fields
}
CreateBucketReader is a Reader for the CreateBucket structure.
func (*CreateBucketReader) ReadResponse ¶
func (o *CreateBucketReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateBucketUnauthorized ¶
type CreateBucketUnauthorized struct { }
CreateBucketUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewCreateBucketUnauthorized ¶
func NewCreateBucketUnauthorized() *CreateBucketUnauthorized
NewCreateBucketUnauthorized creates a CreateBucketUnauthorized with default headers values
func (*CreateBucketUnauthorized) Error ¶
func (o *CreateBucketUnauthorized) Error() string
func (*CreateBucketUnauthorized) IsClientError ¶ added in v1.19.1
func (o *CreateBucketUnauthorized) IsClientError() bool
IsClientError returns true when this create bucket unauthorized response has a 4xx status code
func (*CreateBucketUnauthorized) IsCode ¶ added in v1.19.1
func (o *CreateBucketUnauthorized) IsCode(code int) bool
IsCode returns true when this create bucket unauthorized response a status code equal to that given
func (*CreateBucketUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *CreateBucketUnauthorized) IsRedirect() bool
IsRedirect returns true when this create bucket unauthorized response has a 3xx status code
func (*CreateBucketUnauthorized) IsServerError ¶ added in v1.19.1
func (o *CreateBucketUnauthorized) IsServerError() bool
IsServerError returns true when this create bucket unauthorized response has a 5xx status code
func (*CreateBucketUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *CreateBucketUnauthorized) IsSuccess() bool
IsSuccess returns true when this create bucket unauthorized response has a 2xx status code
func (*CreateBucketUnauthorized) String ¶ added in v1.19.1
func (o *CreateBucketUnauthorized) String() string
type DeleteBucketBadRequest ¶
type DeleteBucketBadRequest struct { }
DeleteBucketBadRequest describes a response with status code 400, with default header values.
NiFi Registry was unable to complete the request because it was invalid. The request should not be retried without modification.
func NewDeleteBucketBadRequest ¶
func NewDeleteBucketBadRequest() *DeleteBucketBadRequest
NewDeleteBucketBadRequest creates a DeleteBucketBadRequest with default headers values
func (*DeleteBucketBadRequest) Error ¶
func (o *DeleteBucketBadRequest) Error() string
func (*DeleteBucketBadRequest) IsClientError ¶ added in v1.19.1
func (o *DeleteBucketBadRequest) IsClientError() bool
IsClientError returns true when this delete bucket bad request response has a 4xx status code
func (*DeleteBucketBadRequest) IsCode ¶ added in v1.19.1
func (o *DeleteBucketBadRequest) IsCode(code int) bool
IsCode returns true when this delete bucket bad request response a status code equal to that given
func (*DeleteBucketBadRequest) IsRedirect ¶ added in v1.19.1
func (o *DeleteBucketBadRequest) IsRedirect() bool
IsRedirect returns true when this delete bucket bad request response has a 3xx status code
func (*DeleteBucketBadRequest) IsServerError ¶ added in v1.19.1
func (o *DeleteBucketBadRequest) IsServerError() bool
IsServerError returns true when this delete bucket bad request response has a 5xx status code
func (*DeleteBucketBadRequest) IsSuccess ¶ added in v1.19.1
func (o *DeleteBucketBadRequest) IsSuccess() bool
IsSuccess returns true when this delete bucket bad request response has a 2xx status code
func (*DeleteBucketBadRequest) String ¶ added in v1.19.1
func (o *DeleteBucketBadRequest) String() string
type DeleteBucketForbidden ¶
type DeleteBucketForbidden struct { }
DeleteBucketForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewDeleteBucketForbidden ¶
func NewDeleteBucketForbidden() *DeleteBucketForbidden
NewDeleteBucketForbidden creates a DeleteBucketForbidden with default headers values
func (*DeleteBucketForbidden) Error ¶
func (o *DeleteBucketForbidden) Error() string
func (*DeleteBucketForbidden) IsClientError ¶ added in v1.19.1
func (o *DeleteBucketForbidden) IsClientError() bool
IsClientError returns true when this delete bucket forbidden response has a 4xx status code
func (*DeleteBucketForbidden) IsCode ¶ added in v1.19.1
func (o *DeleteBucketForbidden) IsCode(code int) bool
IsCode returns true when this delete bucket forbidden response a status code equal to that given
func (*DeleteBucketForbidden) IsRedirect ¶ added in v1.19.1
func (o *DeleteBucketForbidden) IsRedirect() bool
IsRedirect returns true when this delete bucket forbidden response has a 3xx status code
func (*DeleteBucketForbidden) IsServerError ¶ added in v1.19.1
func (o *DeleteBucketForbidden) IsServerError() bool
IsServerError returns true when this delete bucket forbidden response has a 5xx status code
func (*DeleteBucketForbidden) IsSuccess ¶ added in v1.19.1
func (o *DeleteBucketForbidden) IsSuccess() bool
IsSuccess returns true when this delete bucket forbidden response has a 2xx status code
func (*DeleteBucketForbidden) String ¶ added in v1.19.1
func (o *DeleteBucketForbidden) String() string
type DeleteBucketNotFound ¶
type DeleteBucketNotFound struct { }
DeleteBucketNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewDeleteBucketNotFound ¶
func NewDeleteBucketNotFound() *DeleteBucketNotFound
NewDeleteBucketNotFound creates a DeleteBucketNotFound with default headers values
func (*DeleteBucketNotFound) Error ¶
func (o *DeleteBucketNotFound) Error() string
func (*DeleteBucketNotFound) IsClientError ¶ added in v1.19.1
func (o *DeleteBucketNotFound) IsClientError() bool
IsClientError returns true when this delete bucket not found response has a 4xx status code
func (*DeleteBucketNotFound) IsCode ¶ added in v1.19.1
func (o *DeleteBucketNotFound) IsCode(code int) bool
IsCode returns true when this delete bucket not found response a status code equal to that given
func (*DeleteBucketNotFound) IsRedirect ¶ added in v1.19.1
func (o *DeleteBucketNotFound) IsRedirect() bool
IsRedirect returns true when this delete bucket not found response has a 3xx status code
func (*DeleteBucketNotFound) IsServerError ¶ added in v1.19.1
func (o *DeleteBucketNotFound) IsServerError() bool
IsServerError returns true when this delete bucket not found response has a 5xx status code
func (*DeleteBucketNotFound) IsSuccess ¶ added in v1.19.1
func (o *DeleteBucketNotFound) IsSuccess() bool
IsSuccess returns true when this delete bucket not found response has a 2xx status code
func (*DeleteBucketNotFound) String ¶ added in v1.19.1
func (o *DeleteBucketNotFound) String() string
type DeleteBucketOK ¶
DeleteBucketOK describes a response with status code 200, with default header values.
successful operation
func NewDeleteBucketOK ¶
func NewDeleteBucketOK() *DeleteBucketOK
NewDeleteBucketOK creates a DeleteBucketOK with default headers values
func (*DeleteBucketOK) Error ¶
func (o *DeleteBucketOK) Error() string
func (*DeleteBucketOK) GetPayload ¶
func (o *DeleteBucketOK) GetPayload() *models.Bucket
func (*DeleteBucketOK) IsClientError ¶ added in v1.19.1
func (o *DeleteBucketOK) IsClientError() bool
IsClientError returns true when this delete bucket o k response has a 4xx status code
func (*DeleteBucketOK) IsCode ¶ added in v1.19.1
func (o *DeleteBucketOK) IsCode(code int) bool
IsCode returns true when this delete bucket o k response a status code equal to that given
func (*DeleteBucketOK) IsRedirect ¶ added in v1.19.1
func (o *DeleteBucketOK) IsRedirect() bool
IsRedirect returns true when this delete bucket o k response has a 3xx status code
func (*DeleteBucketOK) IsServerError ¶ added in v1.19.1
func (o *DeleteBucketOK) IsServerError() bool
IsServerError returns true when this delete bucket o k response has a 5xx status code
func (*DeleteBucketOK) IsSuccess ¶ added in v1.19.1
func (o *DeleteBucketOK) IsSuccess() bool
IsSuccess returns true when this delete bucket o k response has a 2xx status code
func (*DeleteBucketOK) String ¶ added in v1.19.1
func (o *DeleteBucketOK) String() string
type DeleteBucketParams ¶
type DeleteBucketParams struct { /* BucketID. The bucket identifier */ BucketID string /* ClientID. If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response. */ ClientID *string /* Version. The version is used to verify the client is working with the latest version of the entity. */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteBucketParams contains all the parameters to send to the API endpoint
for the delete bucket operation. Typically these are written to a http.Request.
func NewDeleteBucketParams ¶
func NewDeleteBucketParams() *DeleteBucketParams
NewDeleteBucketParams creates a new DeleteBucketParams 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 NewDeleteBucketParamsWithContext ¶
func NewDeleteBucketParamsWithContext(ctx context.Context) *DeleteBucketParams
NewDeleteBucketParamsWithContext creates a new DeleteBucketParams object with the ability to set a context for a request.
func NewDeleteBucketParamsWithHTTPClient ¶
func NewDeleteBucketParamsWithHTTPClient(client *http.Client) *DeleteBucketParams
NewDeleteBucketParamsWithHTTPClient creates a new DeleteBucketParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteBucketParamsWithTimeout ¶
func NewDeleteBucketParamsWithTimeout(timeout time.Duration) *DeleteBucketParams
NewDeleteBucketParamsWithTimeout creates a new DeleteBucketParams object with the ability to set a timeout on a request.
func (*DeleteBucketParams) SetBucketID ¶
func (o *DeleteBucketParams) SetBucketID(bucketID string)
SetBucketID adds the bucketId to the delete bucket params
func (*DeleteBucketParams) SetClientID ¶
func (o *DeleteBucketParams) SetClientID(clientID *string)
SetClientID adds the clientId to the delete bucket params
func (*DeleteBucketParams) SetContext ¶
func (o *DeleteBucketParams) SetContext(ctx context.Context)
SetContext adds the context to the delete bucket params
func (*DeleteBucketParams) SetDefaults ¶
func (o *DeleteBucketParams) SetDefaults()
SetDefaults hydrates default values in the delete bucket params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBucketParams) SetHTTPClient ¶
func (o *DeleteBucketParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete bucket params
func (*DeleteBucketParams) SetTimeout ¶
func (o *DeleteBucketParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete bucket params
func (*DeleteBucketParams) SetVersion ¶
func (o *DeleteBucketParams) SetVersion(version string)
SetVersion adds the version to the delete bucket params
func (*DeleteBucketParams) WithBucketID ¶
func (o *DeleteBucketParams) WithBucketID(bucketID string) *DeleteBucketParams
WithBucketID adds the bucketID to the delete bucket params
func (*DeleteBucketParams) WithClientID ¶
func (o *DeleteBucketParams) WithClientID(clientID *string) *DeleteBucketParams
WithClientID adds the clientID to the delete bucket params
func (*DeleteBucketParams) WithContext ¶
func (o *DeleteBucketParams) WithContext(ctx context.Context) *DeleteBucketParams
WithContext adds the context to the delete bucket params
func (*DeleteBucketParams) WithDefaults ¶
func (o *DeleteBucketParams) WithDefaults() *DeleteBucketParams
WithDefaults hydrates default values in the delete bucket params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBucketParams) WithHTTPClient ¶
func (o *DeleteBucketParams) WithHTTPClient(client *http.Client) *DeleteBucketParams
WithHTTPClient adds the HTTPClient to the delete bucket params
func (*DeleteBucketParams) WithTimeout ¶
func (o *DeleteBucketParams) WithTimeout(timeout time.Duration) *DeleteBucketParams
WithTimeout adds the timeout to the delete bucket params
func (*DeleteBucketParams) WithVersion ¶
func (o *DeleteBucketParams) WithVersion(version string) *DeleteBucketParams
WithVersion adds the version to the delete bucket params
func (*DeleteBucketParams) WriteToRequest ¶
func (o *DeleteBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteBucketReader ¶
type DeleteBucketReader struct {
// contains filtered or unexported fields
}
DeleteBucketReader is a Reader for the DeleteBucket structure.
func (*DeleteBucketReader) ReadResponse ¶
func (o *DeleteBucketReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteBucketUnauthorized ¶
type DeleteBucketUnauthorized struct { }
DeleteBucketUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewDeleteBucketUnauthorized ¶
func NewDeleteBucketUnauthorized() *DeleteBucketUnauthorized
NewDeleteBucketUnauthorized creates a DeleteBucketUnauthorized with default headers values
func (*DeleteBucketUnauthorized) Error ¶
func (o *DeleteBucketUnauthorized) Error() string
func (*DeleteBucketUnauthorized) IsClientError ¶ added in v1.19.1
func (o *DeleteBucketUnauthorized) IsClientError() bool
IsClientError returns true when this delete bucket unauthorized response has a 4xx status code
func (*DeleteBucketUnauthorized) IsCode ¶ added in v1.19.1
func (o *DeleteBucketUnauthorized) IsCode(code int) bool
IsCode returns true when this delete bucket unauthorized response a status code equal to that given
func (*DeleteBucketUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *DeleteBucketUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete bucket unauthorized response has a 3xx status code
func (*DeleteBucketUnauthorized) IsServerError ¶ added in v1.19.1
func (o *DeleteBucketUnauthorized) IsServerError() bool
IsServerError returns true when this delete bucket unauthorized response has a 5xx status code
func (*DeleteBucketUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *DeleteBucketUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete bucket unauthorized response has a 2xx status code
func (*DeleteBucketUnauthorized) String ¶ added in v1.19.1
func (o *DeleteBucketUnauthorized) String() string
type GetAvailableBucketFieldsOK ¶
GetAvailableBucketFieldsOK describes a response with status code 200, with default header values.
successful operation
func NewGetAvailableBucketFieldsOK ¶
func NewGetAvailableBucketFieldsOK() *GetAvailableBucketFieldsOK
NewGetAvailableBucketFieldsOK creates a GetAvailableBucketFieldsOK with default headers values
func (*GetAvailableBucketFieldsOK) Error ¶
func (o *GetAvailableBucketFieldsOK) Error() string
func (*GetAvailableBucketFieldsOK) GetPayload ¶
func (o *GetAvailableBucketFieldsOK) GetPayload() *models.Fields
func (*GetAvailableBucketFieldsOK) IsClientError ¶ added in v1.19.1
func (o *GetAvailableBucketFieldsOK) IsClientError() bool
IsClientError returns true when this get available bucket fields o k response has a 4xx status code
func (*GetAvailableBucketFieldsOK) IsCode ¶ added in v1.19.1
func (o *GetAvailableBucketFieldsOK) IsCode(code int) bool
IsCode returns true when this get available bucket fields o k response a status code equal to that given
func (*GetAvailableBucketFieldsOK) IsRedirect ¶ added in v1.19.1
func (o *GetAvailableBucketFieldsOK) IsRedirect() bool
IsRedirect returns true when this get available bucket fields o k response has a 3xx status code
func (*GetAvailableBucketFieldsOK) IsServerError ¶ added in v1.19.1
func (o *GetAvailableBucketFieldsOK) IsServerError() bool
IsServerError returns true when this get available bucket fields o k response has a 5xx status code
func (*GetAvailableBucketFieldsOK) IsSuccess ¶ added in v1.19.1
func (o *GetAvailableBucketFieldsOK) IsSuccess() bool
IsSuccess returns true when this get available bucket fields o k response has a 2xx status code
func (*GetAvailableBucketFieldsOK) String ¶ added in v1.19.1
func (o *GetAvailableBucketFieldsOK) String() string
type GetAvailableBucketFieldsParams ¶
type GetAvailableBucketFieldsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAvailableBucketFieldsParams contains all the parameters to send to the API endpoint
for the get available bucket fields operation. Typically these are written to a http.Request.
func NewGetAvailableBucketFieldsParams ¶
func NewGetAvailableBucketFieldsParams() *GetAvailableBucketFieldsParams
NewGetAvailableBucketFieldsParams creates a new GetAvailableBucketFieldsParams 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 NewGetAvailableBucketFieldsParamsWithContext ¶
func NewGetAvailableBucketFieldsParamsWithContext(ctx context.Context) *GetAvailableBucketFieldsParams
NewGetAvailableBucketFieldsParamsWithContext creates a new GetAvailableBucketFieldsParams object with the ability to set a context for a request.
func NewGetAvailableBucketFieldsParamsWithHTTPClient ¶
func NewGetAvailableBucketFieldsParamsWithHTTPClient(client *http.Client) *GetAvailableBucketFieldsParams
NewGetAvailableBucketFieldsParamsWithHTTPClient creates a new GetAvailableBucketFieldsParams object with the ability to set a custom HTTPClient for a request.
func NewGetAvailableBucketFieldsParamsWithTimeout ¶
func NewGetAvailableBucketFieldsParamsWithTimeout(timeout time.Duration) *GetAvailableBucketFieldsParams
NewGetAvailableBucketFieldsParamsWithTimeout creates a new GetAvailableBucketFieldsParams object with the ability to set a timeout on a request.
func (*GetAvailableBucketFieldsParams) SetContext ¶
func (o *GetAvailableBucketFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the get available bucket fields params
func (*GetAvailableBucketFieldsParams) SetDefaults ¶
func (o *GetAvailableBucketFieldsParams) SetDefaults()
SetDefaults hydrates default values in the get available bucket fields params (not the query body).
All values with no default are reset to their zero value.
func (*GetAvailableBucketFieldsParams) SetHTTPClient ¶
func (o *GetAvailableBucketFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get available bucket fields params
func (*GetAvailableBucketFieldsParams) SetTimeout ¶
func (o *GetAvailableBucketFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get available bucket fields params
func (*GetAvailableBucketFieldsParams) WithContext ¶
func (o *GetAvailableBucketFieldsParams) WithContext(ctx context.Context) *GetAvailableBucketFieldsParams
WithContext adds the context to the get available bucket fields params
func (*GetAvailableBucketFieldsParams) WithDefaults ¶
func (o *GetAvailableBucketFieldsParams) WithDefaults() *GetAvailableBucketFieldsParams
WithDefaults hydrates default values in the get available bucket fields params (not the query body).
All values with no default are reset to their zero value.
func (*GetAvailableBucketFieldsParams) WithHTTPClient ¶
func (o *GetAvailableBucketFieldsParams) WithHTTPClient(client *http.Client) *GetAvailableBucketFieldsParams
WithHTTPClient adds the HTTPClient to the get available bucket fields params
func (*GetAvailableBucketFieldsParams) WithTimeout ¶
func (o *GetAvailableBucketFieldsParams) WithTimeout(timeout time.Duration) *GetAvailableBucketFieldsParams
WithTimeout adds the timeout to the get available bucket fields params
func (*GetAvailableBucketFieldsParams) WriteToRequest ¶
func (o *GetAvailableBucketFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAvailableBucketFieldsReader ¶
type GetAvailableBucketFieldsReader struct {
// contains filtered or unexported fields
}
GetAvailableBucketFieldsReader is a Reader for the GetAvailableBucketFields structure.
func (*GetAvailableBucketFieldsReader) ReadResponse ¶
func (o *GetAvailableBucketFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBucketForbidden ¶
type GetBucketForbidden struct { }
GetBucketForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewGetBucketForbidden ¶
func NewGetBucketForbidden() *GetBucketForbidden
NewGetBucketForbidden creates a GetBucketForbidden with default headers values
func (*GetBucketForbidden) Error ¶
func (o *GetBucketForbidden) Error() string
func (*GetBucketForbidden) IsClientError ¶ added in v1.19.1
func (o *GetBucketForbidden) IsClientError() bool
IsClientError returns true when this get bucket forbidden response has a 4xx status code
func (*GetBucketForbidden) IsCode ¶ added in v1.19.1
func (o *GetBucketForbidden) IsCode(code int) bool
IsCode returns true when this get bucket forbidden response a status code equal to that given
func (*GetBucketForbidden) IsRedirect ¶ added in v1.19.1
func (o *GetBucketForbidden) IsRedirect() bool
IsRedirect returns true when this get bucket forbidden response has a 3xx status code
func (*GetBucketForbidden) IsServerError ¶ added in v1.19.1
func (o *GetBucketForbidden) IsServerError() bool
IsServerError returns true when this get bucket forbidden response has a 5xx status code
func (*GetBucketForbidden) IsSuccess ¶ added in v1.19.1
func (o *GetBucketForbidden) IsSuccess() bool
IsSuccess returns true when this get bucket forbidden response has a 2xx status code
func (*GetBucketForbidden) String ¶ added in v1.19.1
func (o *GetBucketForbidden) String() string
type GetBucketNotFound ¶
type GetBucketNotFound struct { }
GetBucketNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewGetBucketNotFound ¶
func NewGetBucketNotFound() *GetBucketNotFound
NewGetBucketNotFound creates a GetBucketNotFound with default headers values
func (*GetBucketNotFound) Error ¶
func (o *GetBucketNotFound) Error() string
func (*GetBucketNotFound) IsClientError ¶ added in v1.19.1
func (o *GetBucketNotFound) IsClientError() bool
IsClientError returns true when this get bucket not found response has a 4xx status code
func (*GetBucketNotFound) IsCode ¶ added in v1.19.1
func (o *GetBucketNotFound) IsCode(code int) bool
IsCode returns true when this get bucket not found response a status code equal to that given
func (*GetBucketNotFound) IsRedirect ¶ added in v1.19.1
func (o *GetBucketNotFound) IsRedirect() bool
IsRedirect returns true when this get bucket not found response has a 3xx status code
func (*GetBucketNotFound) IsServerError ¶ added in v1.19.1
func (o *GetBucketNotFound) IsServerError() bool
IsServerError returns true when this get bucket not found response has a 5xx status code
func (*GetBucketNotFound) IsSuccess ¶ added in v1.19.1
func (o *GetBucketNotFound) IsSuccess() bool
IsSuccess returns true when this get bucket not found response has a 2xx status code
func (*GetBucketNotFound) String ¶ added in v1.19.1
func (o *GetBucketNotFound) String() string
type GetBucketOK ¶
GetBucketOK describes a response with status code 200, with default header values.
successful operation
func NewGetBucketOK ¶
func NewGetBucketOK() *GetBucketOK
NewGetBucketOK creates a GetBucketOK with default headers values
func (*GetBucketOK) Error ¶
func (o *GetBucketOK) Error() string
func (*GetBucketOK) GetPayload ¶
func (o *GetBucketOK) GetPayload() *models.Bucket
func (*GetBucketOK) IsClientError ¶ added in v1.19.1
func (o *GetBucketOK) IsClientError() bool
IsClientError returns true when this get bucket o k response has a 4xx status code
func (*GetBucketOK) IsCode ¶ added in v1.19.1
func (o *GetBucketOK) IsCode(code int) bool
IsCode returns true when this get bucket o k response a status code equal to that given
func (*GetBucketOK) IsRedirect ¶ added in v1.19.1
func (o *GetBucketOK) IsRedirect() bool
IsRedirect returns true when this get bucket o k response has a 3xx status code
func (*GetBucketOK) IsServerError ¶ added in v1.19.1
func (o *GetBucketOK) IsServerError() bool
IsServerError returns true when this get bucket o k response has a 5xx status code
func (*GetBucketOK) IsSuccess ¶ added in v1.19.1
func (o *GetBucketOK) IsSuccess() bool
IsSuccess returns true when this get bucket o k response has a 2xx status code
func (*GetBucketOK) String ¶ added in v1.19.1
func (o *GetBucketOK) String() string
type GetBucketParams ¶
type GetBucketParams struct { /* BucketID. The bucket identifier */ BucketID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBucketParams contains all the parameters to send to the API endpoint
for the get bucket operation. Typically these are written to a http.Request.
func NewGetBucketParams ¶
func NewGetBucketParams() *GetBucketParams
NewGetBucketParams creates a new GetBucketParams 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 NewGetBucketParamsWithContext ¶
func NewGetBucketParamsWithContext(ctx context.Context) *GetBucketParams
NewGetBucketParamsWithContext creates a new GetBucketParams object with the ability to set a context for a request.
func NewGetBucketParamsWithHTTPClient ¶
func NewGetBucketParamsWithHTTPClient(client *http.Client) *GetBucketParams
NewGetBucketParamsWithHTTPClient creates a new GetBucketParams object with the ability to set a custom HTTPClient for a request.
func NewGetBucketParamsWithTimeout ¶
func NewGetBucketParamsWithTimeout(timeout time.Duration) *GetBucketParams
NewGetBucketParamsWithTimeout creates a new GetBucketParams object with the ability to set a timeout on a request.
func (*GetBucketParams) SetBucketID ¶
func (o *GetBucketParams) SetBucketID(bucketID string)
SetBucketID adds the bucketId to the get bucket params
func (*GetBucketParams) SetContext ¶
func (o *GetBucketParams) SetContext(ctx context.Context)
SetContext adds the context to the get bucket params
func (*GetBucketParams) SetDefaults ¶
func (o *GetBucketParams) SetDefaults()
SetDefaults hydrates default values in the get bucket params (not the query body).
All values with no default are reset to their zero value.
func (*GetBucketParams) SetHTTPClient ¶
func (o *GetBucketParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get bucket params
func (*GetBucketParams) SetTimeout ¶
func (o *GetBucketParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get bucket params
func (*GetBucketParams) WithBucketID ¶
func (o *GetBucketParams) WithBucketID(bucketID string) *GetBucketParams
WithBucketID adds the bucketID to the get bucket params
func (*GetBucketParams) WithContext ¶
func (o *GetBucketParams) WithContext(ctx context.Context) *GetBucketParams
WithContext adds the context to the get bucket params
func (*GetBucketParams) WithDefaults ¶
func (o *GetBucketParams) WithDefaults() *GetBucketParams
WithDefaults hydrates default values in the get bucket params (not the query body).
All values with no default are reset to their zero value.
func (*GetBucketParams) WithHTTPClient ¶
func (o *GetBucketParams) WithHTTPClient(client *http.Client) *GetBucketParams
WithHTTPClient adds the HTTPClient to the get bucket params
func (*GetBucketParams) WithTimeout ¶
func (o *GetBucketParams) WithTimeout(timeout time.Duration) *GetBucketParams
WithTimeout adds the timeout to the get bucket params
func (*GetBucketParams) WriteToRequest ¶
func (o *GetBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBucketReader ¶
type GetBucketReader struct {
// contains filtered or unexported fields
}
GetBucketReader is a Reader for the GetBucket structure.
func (*GetBucketReader) ReadResponse ¶
func (o *GetBucketReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBucketUnauthorized ¶
type GetBucketUnauthorized struct { }
GetBucketUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewGetBucketUnauthorized ¶
func NewGetBucketUnauthorized() *GetBucketUnauthorized
NewGetBucketUnauthorized creates a GetBucketUnauthorized with default headers values
func (*GetBucketUnauthorized) Error ¶
func (o *GetBucketUnauthorized) Error() string
func (*GetBucketUnauthorized) IsClientError ¶ added in v1.19.1
func (o *GetBucketUnauthorized) IsClientError() bool
IsClientError returns true when this get bucket unauthorized response has a 4xx status code
func (*GetBucketUnauthorized) IsCode ¶ added in v1.19.1
func (o *GetBucketUnauthorized) IsCode(code int) bool
IsCode returns true when this get bucket unauthorized response a status code equal to that given
func (*GetBucketUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *GetBucketUnauthorized) IsRedirect() bool
IsRedirect returns true when this get bucket unauthorized response has a 3xx status code
func (*GetBucketUnauthorized) IsServerError ¶ added in v1.19.1
func (o *GetBucketUnauthorized) IsServerError() bool
IsServerError returns true when this get bucket unauthorized response has a 5xx status code
func (*GetBucketUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *GetBucketUnauthorized) IsSuccess() bool
IsSuccess returns true when this get bucket unauthorized response has a 2xx status code
func (*GetBucketUnauthorized) String ¶ added in v1.19.1
func (o *GetBucketUnauthorized) String() string
type GetBucketsOK ¶
GetBucketsOK describes a response with status code 200, with default header values.
successful operation
func NewGetBucketsOK ¶
func NewGetBucketsOK() *GetBucketsOK
NewGetBucketsOK creates a GetBucketsOK with default headers values
func (*GetBucketsOK) Error ¶
func (o *GetBucketsOK) Error() string
func (*GetBucketsOK) GetPayload ¶
func (o *GetBucketsOK) GetPayload() []*models.Bucket
func (*GetBucketsOK) IsClientError ¶ added in v1.19.1
func (o *GetBucketsOK) IsClientError() bool
IsClientError returns true when this get buckets o k response has a 4xx status code
func (*GetBucketsOK) IsCode ¶ added in v1.19.1
func (o *GetBucketsOK) IsCode(code int) bool
IsCode returns true when this get buckets o k response a status code equal to that given
func (*GetBucketsOK) IsRedirect ¶ added in v1.19.1
func (o *GetBucketsOK) IsRedirect() bool
IsRedirect returns true when this get buckets o k response has a 3xx status code
func (*GetBucketsOK) IsServerError ¶ added in v1.19.1
func (o *GetBucketsOK) IsServerError() bool
IsServerError returns true when this get buckets o k response has a 5xx status code
func (*GetBucketsOK) IsSuccess ¶ added in v1.19.1
func (o *GetBucketsOK) IsSuccess() bool
IsSuccess returns true when this get buckets o k response has a 2xx status code
func (*GetBucketsOK) String ¶ added in v1.19.1
func (o *GetBucketsOK) String() string
type GetBucketsParams ¶
type GetBucketsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBucketsParams contains all the parameters to send to the API endpoint
for the get buckets operation. Typically these are written to a http.Request.
func NewGetBucketsParams ¶
func NewGetBucketsParams() *GetBucketsParams
NewGetBucketsParams creates a new GetBucketsParams 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 NewGetBucketsParamsWithContext ¶
func NewGetBucketsParamsWithContext(ctx context.Context) *GetBucketsParams
NewGetBucketsParamsWithContext creates a new GetBucketsParams object with the ability to set a context for a request.
func NewGetBucketsParamsWithHTTPClient ¶
func NewGetBucketsParamsWithHTTPClient(client *http.Client) *GetBucketsParams
NewGetBucketsParamsWithHTTPClient creates a new GetBucketsParams object with the ability to set a custom HTTPClient for a request.
func NewGetBucketsParamsWithTimeout ¶
func NewGetBucketsParamsWithTimeout(timeout time.Duration) *GetBucketsParams
NewGetBucketsParamsWithTimeout creates a new GetBucketsParams object with the ability to set a timeout on a request.
func (*GetBucketsParams) SetContext ¶
func (o *GetBucketsParams) SetContext(ctx context.Context)
SetContext adds the context to the get buckets params
func (*GetBucketsParams) SetDefaults ¶
func (o *GetBucketsParams) SetDefaults()
SetDefaults hydrates default values in the get buckets params (not the query body).
All values with no default are reset to their zero value.
func (*GetBucketsParams) SetHTTPClient ¶
func (o *GetBucketsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get buckets params
func (*GetBucketsParams) SetTimeout ¶
func (o *GetBucketsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get buckets params
func (*GetBucketsParams) WithContext ¶
func (o *GetBucketsParams) WithContext(ctx context.Context) *GetBucketsParams
WithContext adds the context to the get buckets params
func (*GetBucketsParams) WithDefaults ¶
func (o *GetBucketsParams) WithDefaults() *GetBucketsParams
WithDefaults hydrates default values in the get buckets params (not the query body).
All values with no default are reset to their zero value.
func (*GetBucketsParams) WithHTTPClient ¶
func (o *GetBucketsParams) WithHTTPClient(client *http.Client) *GetBucketsParams
WithHTTPClient adds the HTTPClient to the get buckets params
func (*GetBucketsParams) WithTimeout ¶
func (o *GetBucketsParams) WithTimeout(timeout time.Duration) *GetBucketsParams
WithTimeout adds the timeout to the get buckets params
func (*GetBucketsParams) WriteToRequest ¶
func (o *GetBucketsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBucketsReader ¶
type GetBucketsReader struct {
// contains filtered or unexported fields
}
GetBucketsReader is a Reader for the GetBuckets structure.
func (*GetBucketsReader) ReadResponse ¶
func (o *GetBucketsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBucketsUnauthorized ¶
type GetBucketsUnauthorized struct { }
GetBucketsUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewGetBucketsUnauthorized ¶
func NewGetBucketsUnauthorized() *GetBucketsUnauthorized
NewGetBucketsUnauthorized creates a GetBucketsUnauthorized with default headers values
func (*GetBucketsUnauthorized) Error ¶
func (o *GetBucketsUnauthorized) Error() string
func (*GetBucketsUnauthorized) IsClientError ¶ added in v1.19.1
func (o *GetBucketsUnauthorized) IsClientError() bool
IsClientError returns true when this get buckets unauthorized response has a 4xx status code
func (*GetBucketsUnauthorized) IsCode ¶ added in v1.19.1
func (o *GetBucketsUnauthorized) IsCode(code int) bool
IsCode returns true when this get buckets unauthorized response a status code equal to that given
func (*GetBucketsUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *GetBucketsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get buckets unauthorized response has a 3xx status code
func (*GetBucketsUnauthorized) IsServerError ¶ added in v1.19.1
func (o *GetBucketsUnauthorized) IsServerError() bool
IsServerError returns true when this get buckets unauthorized response has a 5xx status code
func (*GetBucketsUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *GetBucketsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get buckets unauthorized response has a 2xx status code
func (*GetBucketsUnauthorized) String ¶ added in v1.19.1
func (o *GetBucketsUnauthorized) String() string
type UpdateBucketBadRequest ¶
type UpdateBucketBadRequest struct { }
UpdateBucketBadRequest describes a response with status code 400, with default header values.
NiFi Registry was unable to complete the request because it was invalid. The request should not be retried without modification.
func NewUpdateBucketBadRequest ¶
func NewUpdateBucketBadRequest() *UpdateBucketBadRequest
NewUpdateBucketBadRequest creates a UpdateBucketBadRequest with default headers values
func (*UpdateBucketBadRequest) Error ¶
func (o *UpdateBucketBadRequest) Error() string
func (*UpdateBucketBadRequest) IsClientError ¶ added in v1.19.1
func (o *UpdateBucketBadRequest) IsClientError() bool
IsClientError returns true when this update bucket bad request response has a 4xx status code
func (*UpdateBucketBadRequest) IsCode ¶ added in v1.19.1
func (o *UpdateBucketBadRequest) IsCode(code int) bool
IsCode returns true when this update bucket bad request response a status code equal to that given
func (*UpdateBucketBadRequest) IsRedirect ¶ added in v1.19.1
func (o *UpdateBucketBadRequest) IsRedirect() bool
IsRedirect returns true when this update bucket bad request response has a 3xx status code
func (*UpdateBucketBadRequest) IsServerError ¶ added in v1.19.1
func (o *UpdateBucketBadRequest) IsServerError() bool
IsServerError returns true when this update bucket bad request response has a 5xx status code
func (*UpdateBucketBadRequest) IsSuccess ¶ added in v1.19.1
func (o *UpdateBucketBadRequest) IsSuccess() bool
IsSuccess returns true when this update bucket bad request response has a 2xx status code
func (*UpdateBucketBadRequest) String ¶ added in v1.19.1
func (o *UpdateBucketBadRequest) String() string
type UpdateBucketConflict ¶
type UpdateBucketConflict struct { }
UpdateBucketConflict describes a response with status code 409, with default header values.
NiFi Registry was unable to complete the request because it assumes a server state that is not valid.
func NewUpdateBucketConflict ¶
func NewUpdateBucketConflict() *UpdateBucketConflict
NewUpdateBucketConflict creates a UpdateBucketConflict with default headers values
func (*UpdateBucketConflict) Error ¶
func (o *UpdateBucketConflict) Error() string
func (*UpdateBucketConflict) IsClientError ¶ added in v1.19.1
func (o *UpdateBucketConflict) IsClientError() bool
IsClientError returns true when this update bucket conflict response has a 4xx status code
func (*UpdateBucketConflict) IsCode ¶ added in v1.19.1
func (o *UpdateBucketConflict) IsCode(code int) bool
IsCode returns true when this update bucket conflict response a status code equal to that given
func (*UpdateBucketConflict) IsRedirect ¶ added in v1.19.1
func (o *UpdateBucketConflict) IsRedirect() bool
IsRedirect returns true when this update bucket conflict response has a 3xx status code
func (*UpdateBucketConflict) IsServerError ¶ added in v1.19.1
func (o *UpdateBucketConflict) IsServerError() bool
IsServerError returns true when this update bucket conflict response has a 5xx status code
func (*UpdateBucketConflict) IsSuccess ¶ added in v1.19.1
func (o *UpdateBucketConflict) IsSuccess() bool
IsSuccess returns true when this update bucket conflict response has a 2xx status code
func (*UpdateBucketConflict) String ¶ added in v1.19.1
func (o *UpdateBucketConflict) String() string
type UpdateBucketForbidden ¶
type UpdateBucketForbidden struct { }
UpdateBucketForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewUpdateBucketForbidden ¶
func NewUpdateBucketForbidden() *UpdateBucketForbidden
NewUpdateBucketForbidden creates a UpdateBucketForbidden with default headers values
func (*UpdateBucketForbidden) Error ¶
func (o *UpdateBucketForbidden) Error() string
func (*UpdateBucketForbidden) IsClientError ¶ added in v1.19.1
func (o *UpdateBucketForbidden) IsClientError() bool
IsClientError returns true when this update bucket forbidden response has a 4xx status code
func (*UpdateBucketForbidden) IsCode ¶ added in v1.19.1
func (o *UpdateBucketForbidden) IsCode(code int) bool
IsCode returns true when this update bucket forbidden response a status code equal to that given
func (*UpdateBucketForbidden) IsRedirect ¶ added in v1.19.1
func (o *UpdateBucketForbidden) IsRedirect() bool
IsRedirect returns true when this update bucket forbidden response has a 3xx status code
func (*UpdateBucketForbidden) IsServerError ¶ added in v1.19.1
func (o *UpdateBucketForbidden) IsServerError() bool
IsServerError returns true when this update bucket forbidden response has a 5xx status code
func (*UpdateBucketForbidden) IsSuccess ¶ added in v1.19.1
func (o *UpdateBucketForbidden) IsSuccess() bool
IsSuccess returns true when this update bucket forbidden response has a 2xx status code
func (*UpdateBucketForbidden) String ¶ added in v1.19.1
func (o *UpdateBucketForbidden) String() string
type UpdateBucketNotFound ¶
type UpdateBucketNotFound struct { }
UpdateBucketNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewUpdateBucketNotFound ¶
func NewUpdateBucketNotFound() *UpdateBucketNotFound
NewUpdateBucketNotFound creates a UpdateBucketNotFound with default headers values
func (*UpdateBucketNotFound) Error ¶
func (o *UpdateBucketNotFound) Error() string
func (*UpdateBucketNotFound) IsClientError ¶ added in v1.19.1
func (o *UpdateBucketNotFound) IsClientError() bool
IsClientError returns true when this update bucket not found response has a 4xx status code
func (*UpdateBucketNotFound) IsCode ¶ added in v1.19.1
func (o *UpdateBucketNotFound) IsCode(code int) bool
IsCode returns true when this update bucket not found response a status code equal to that given
func (*UpdateBucketNotFound) IsRedirect ¶ added in v1.19.1
func (o *UpdateBucketNotFound) IsRedirect() bool
IsRedirect returns true when this update bucket not found response has a 3xx status code
func (*UpdateBucketNotFound) IsServerError ¶ added in v1.19.1
func (o *UpdateBucketNotFound) IsServerError() bool
IsServerError returns true when this update bucket not found response has a 5xx status code
func (*UpdateBucketNotFound) IsSuccess ¶ added in v1.19.1
func (o *UpdateBucketNotFound) IsSuccess() bool
IsSuccess returns true when this update bucket not found response has a 2xx status code
func (*UpdateBucketNotFound) String ¶ added in v1.19.1
func (o *UpdateBucketNotFound) String() string
type UpdateBucketOK ¶
UpdateBucketOK describes a response with status code 200, with default header values.
successful operation
func NewUpdateBucketOK ¶
func NewUpdateBucketOK() *UpdateBucketOK
NewUpdateBucketOK creates a UpdateBucketOK with default headers values
func (*UpdateBucketOK) Error ¶
func (o *UpdateBucketOK) Error() string
func (*UpdateBucketOK) GetPayload ¶
func (o *UpdateBucketOK) GetPayload() *models.Bucket
func (*UpdateBucketOK) IsClientError ¶ added in v1.19.1
func (o *UpdateBucketOK) IsClientError() bool
IsClientError returns true when this update bucket o k response has a 4xx status code
func (*UpdateBucketOK) IsCode ¶ added in v1.19.1
func (o *UpdateBucketOK) IsCode(code int) bool
IsCode returns true when this update bucket o k response a status code equal to that given
func (*UpdateBucketOK) IsRedirect ¶ added in v1.19.1
func (o *UpdateBucketOK) IsRedirect() bool
IsRedirect returns true when this update bucket o k response has a 3xx status code
func (*UpdateBucketOK) IsServerError ¶ added in v1.19.1
func (o *UpdateBucketOK) IsServerError() bool
IsServerError returns true when this update bucket o k response has a 5xx status code
func (*UpdateBucketOK) IsSuccess ¶ added in v1.19.1
func (o *UpdateBucketOK) IsSuccess() bool
IsSuccess returns true when this update bucket o k response has a 2xx status code
func (*UpdateBucketOK) String ¶ added in v1.19.1
func (o *UpdateBucketOK) String() string
type UpdateBucketParams ¶
type UpdateBucketParams struct { /* Body. The updated bucket */ Body *models.Bucket /* BucketID. The bucket identifier */ BucketID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateBucketParams contains all the parameters to send to the API endpoint
for the update bucket operation. Typically these are written to a http.Request.
func NewUpdateBucketParams ¶
func NewUpdateBucketParams() *UpdateBucketParams
NewUpdateBucketParams creates a new UpdateBucketParams 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 NewUpdateBucketParamsWithContext ¶
func NewUpdateBucketParamsWithContext(ctx context.Context) *UpdateBucketParams
NewUpdateBucketParamsWithContext creates a new UpdateBucketParams object with the ability to set a context for a request.
func NewUpdateBucketParamsWithHTTPClient ¶
func NewUpdateBucketParamsWithHTTPClient(client *http.Client) *UpdateBucketParams
NewUpdateBucketParamsWithHTTPClient creates a new UpdateBucketParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateBucketParamsWithTimeout ¶
func NewUpdateBucketParamsWithTimeout(timeout time.Duration) *UpdateBucketParams
NewUpdateBucketParamsWithTimeout creates a new UpdateBucketParams object with the ability to set a timeout on a request.
func (*UpdateBucketParams) SetBody ¶
func (o *UpdateBucketParams) SetBody(body *models.Bucket)
SetBody adds the body to the update bucket params
func (*UpdateBucketParams) SetBucketID ¶
func (o *UpdateBucketParams) SetBucketID(bucketID string)
SetBucketID adds the bucketId to the update bucket params
func (*UpdateBucketParams) SetContext ¶
func (o *UpdateBucketParams) SetContext(ctx context.Context)
SetContext adds the context to the update bucket params
func (*UpdateBucketParams) SetDefaults ¶
func (o *UpdateBucketParams) SetDefaults()
SetDefaults hydrates default values in the update bucket params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateBucketParams) SetHTTPClient ¶
func (o *UpdateBucketParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update bucket params
func (*UpdateBucketParams) SetTimeout ¶
func (o *UpdateBucketParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update bucket params
func (*UpdateBucketParams) WithBody ¶
func (o *UpdateBucketParams) WithBody(body *models.Bucket) *UpdateBucketParams
WithBody adds the body to the update bucket params
func (*UpdateBucketParams) WithBucketID ¶
func (o *UpdateBucketParams) WithBucketID(bucketID string) *UpdateBucketParams
WithBucketID adds the bucketID to the update bucket params
func (*UpdateBucketParams) WithContext ¶
func (o *UpdateBucketParams) WithContext(ctx context.Context) *UpdateBucketParams
WithContext adds the context to the update bucket params
func (*UpdateBucketParams) WithDefaults ¶
func (o *UpdateBucketParams) WithDefaults() *UpdateBucketParams
WithDefaults hydrates default values in the update bucket params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateBucketParams) WithHTTPClient ¶
func (o *UpdateBucketParams) WithHTTPClient(client *http.Client) *UpdateBucketParams
WithHTTPClient adds the HTTPClient to the update bucket params
func (*UpdateBucketParams) WithTimeout ¶
func (o *UpdateBucketParams) WithTimeout(timeout time.Duration) *UpdateBucketParams
WithTimeout adds the timeout to the update bucket params
func (*UpdateBucketParams) WriteToRequest ¶
func (o *UpdateBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateBucketReader ¶
type UpdateBucketReader struct {
// contains filtered or unexported fields
}
UpdateBucketReader is a Reader for the UpdateBucket structure.
func (*UpdateBucketReader) ReadResponse ¶
func (o *UpdateBucketReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateBucketUnauthorized ¶
type UpdateBucketUnauthorized struct { }
UpdateBucketUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewUpdateBucketUnauthorized ¶
func NewUpdateBucketUnauthorized() *UpdateBucketUnauthorized
NewUpdateBucketUnauthorized creates a UpdateBucketUnauthorized with default headers values
func (*UpdateBucketUnauthorized) Error ¶
func (o *UpdateBucketUnauthorized) Error() string
func (*UpdateBucketUnauthorized) IsClientError ¶ added in v1.19.1
func (o *UpdateBucketUnauthorized) IsClientError() bool
IsClientError returns true when this update bucket unauthorized response has a 4xx status code
func (*UpdateBucketUnauthorized) IsCode ¶ added in v1.19.1
func (o *UpdateBucketUnauthorized) IsCode(code int) bool
IsCode returns true when this update bucket unauthorized response a status code equal to that given
func (*UpdateBucketUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *UpdateBucketUnauthorized) IsRedirect() bool
IsRedirect returns true when this update bucket unauthorized response has a 3xx status code
func (*UpdateBucketUnauthorized) IsServerError ¶ added in v1.19.1
func (o *UpdateBucketUnauthorized) IsServerError() bool
IsServerError returns true when this update bucket unauthorized response has a 5xx status code
func (*UpdateBucketUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *UpdateBucketUnauthorized) IsSuccess() bool
IsSuccess returns true when this update bucket unauthorized response has a 2xx status code
func (*UpdateBucketUnauthorized) String ¶ added in v1.19.1
func (o *UpdateBucketUnauthorized) String() string
Source Files ¶
- buckets_client.go
- create_bucket_parameters.go
- create_bucket_responses.go
- delete_bucket_parameters.go
- delete_bucket_responses.go
- get_available_bucket_fields_parameters.go
- get_available_bucket_fields_responses.go
- get_bucket_parameters.go
- get_bucket_responses.go
- get_buckets_parameters.go
- get_buckets_responses.go
- update_bucket_parameters.go
- update_bucket_responses.go