Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateExtensionBundleVersion(params *CreateExtensionBundleVersionParams, ...) (*CreateExtensionBundleVersionOK, error)
- func (a *Client) GetExtensionBundles(params *GetExtensionBundlesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetExtensionBundlesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateExtensionBundleVersionBadRequest
- func (o *CreateExtensionBundleVersionBadRequest) Error() string
- func (o *CreateExtensionBundleVersionBadRequest) IsClientError() bool
- func (o *CreateExtensionBundleVersionBadRequest) IsCode(code int) bool
- func (o *CreateExtensionBundleVersionBadRequest) IsRedirect() bool
- func (o *CreateExtensionBundleVersionBadRequest) IsServerError() bool
- func (o *CreateExtensionBundleVersionBadRequest) IsSuccess() bool
- func (o *CreateExtensionBundleVersionBadRequest) String() string
- type CreateExtensionBundleVersionConflict
- func (o *CreateExtensionBundleVersionConflict) Error() string
- func (o *CreateExtensionBundleVersionConflict) IsClientError() bool
- func (o *CreateExtensionBundleVersionConflict) IsCode(code int) bool
- func (o *CreateExtensionBundleVersionConflict) IsRedirect() bool
- func (o *CreateExtensionBundleVersionConflict) IsServerError() bool
- func (o *CreateExtensionBundleVersionConflict) IsSuccess() bool
- func (o *CreateExtensionBundleVersionConflict) String() string
- type CreateExtensionBundleVersionForbidden
- func (o *CreateExtensionBundleVersionForbidden) Error() string
- func (o *CreateExtensionBundleVersionForbidden) IsClientError() bool
- func (o *CreateExtensionBundleVersionForbidden) IsCode(code int) bool
- func (o *CreateExtensionBundleVersionForbidden) IsRedirect() bool
- func (o *CreateExtensionBundleVersionForbidden) IsServerError() bool
- func (o *CreateExtensionBundleVersionForbidden) IsSuccess() bool
- func (o *CreateExtensionBundleVersionForbidden) String() string
- type CreateExtensionBundleVersionNotFound
- func (o *CreateExtensionBundleVersionNotFound) Error() string
- func (o *CreateExtensionBundleVersionNotFound) IsClientError() bool
- func (o *CreateExtensionBundleVersionNotFound) IsCode(code int) bool
- func (o *CreateExtensionBundleVersionNotFound) IsRedirect() bool
- func (o *CreateExtensionBundleVersionNotFound) IsServerError() bool
- func (o *CreateExtensionBundleVersionNotFound) IsSuccess() bool
- func (o *CreateExtensionBundleVersionNotFound) String() string
- type CreateExtensionBundleVersionOK
- func (o *CreateExtensionBundleVersionOK) Error() string
- func (o *CreateExtensionBundleVersionOK) GetPayload() *models.BundleVersion
- func (o *CreateExtensionBundleVersionOK) IsClientError() bool
- func (o *CreateExtensionBundleVersionOK) IsCode(code int) bool
- func (o *CreateExtensionBundleVersionOK) IsRedirect() bool
- func (o *CreateExtensionBundleVersionOK) IsServerError() bool
- func (o *CreateExtensionBundleVersionOK) IsSuccess() bool
- func (o *CreateExtensionBundleVersionOK) String() string
- type CreateExtensionBundleVersionParams
- func NewCreateExtensionBundleVersionParams() *CreateExtensionBundleVersionParams
- func NewCreateExtensionBundleVersionParamsWithContext(ctx context.Context) *CreateExtensionBundleVersionParams
- func NewCreateExtensionBundleVersionParamsWithHTTPClient(client *http.Client) *CreateExtensionBundleVersionParams
- func NewCreateExtensionBundleVersionParamsWithTimeout(timeout time.Duration) *CreateExtensionBundleVersionParams
- func (o *CreateExtensionBundleVersionParams) SetBucketID(bucketID string)
- func (o *CreateExtensionBundleVersionParams) SetBundleType(bundleType string)
- func (o *CreateExtensionBundleVersionParams) SetContext(ctx context.Context)
- func (o *CreateExtensionBundleVersionParams) SetDefaults()
- func (o *CreateExtensionBundleVersionParams) SetHTTPClient(client *http.Client)
- func (o *CreateExtensionBundleVersionParams) SetTimeout(timeout time.Duration)
- func (o *CreateExtensionBundleVersionParams) WithBucketID(bucketID string) *CreateExtensionBundleVersionParams
- func (o *CreateExtensionBundleVersionParams) WithBundleType(bundleType string) *CreateExtensionBundleVersionParams
- func (o *CreateExtensionBundleVersionParams) WithContext(ctx context.Context) *CreateExtensionBundleVersionParams
- func (o *CreateExtensionBundleVersionParams) WithDefaults() *CreateExtensionBundleVersionParams
- func (o *CreateExtensionBundleVersionParams) WithHTTPClient(client *http.Client) *CreateExtensionBundleVersionParams
- func (o *CreateExtensionBundleVersionParams) WithTimeout(timeout time.Duration) *CreateExtensionBundleVersionParams
- func (o *CreateExtensionBundleVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateExtensionBundleVersionReader
- type CreateExtensionBundleVersionUnauthorized
- func (o *CreateExtensionBundleVersionUnauthorized) Error() string
- func (o *CreateExtensionBundleVersionUnauthorized) IsClientError() bool
- func (o *CreateExtensionBundleVersionUnauthorized) IsCode(code int) bool
- func (o *CreateExtensionBundleVersionUnauthorized) IsRedirect() bool
- func (o *CreateExtensionBundleVersionUnauthorized) IsServerError() bool
- func (o *CreateExtensionBundleVersionUnauthorized) IsSuccess() bool
- func (o *CreateExtensionBundleVersionUnauthorized) String() string
- type GetExtensionBundlesBadRequest
- func (o *GetExtensionBundlesBadRequest) Error() string
- func (o *GetExtensionBundlesBadRequest) IsClientError() bool
- func (o *GetExtensionBundlesBadRequest) IsCode(code int) bool
- func (o *GetExtensionBundlesBadRequest) IsRedirect() bool
- func (o *GetExtensionBundlesBadRequest) IsServerError() bool
- func (o *GetExtensionBundlesBadRequest) IsSuccess() bool
- func (o *GetExtensionBundlesBadRequest) String() string
- type GetExtensionBundlesConflict
- func (o *GetExtensionBundlesConflict) Error() string
- func (o *GetExtensionBundlesConflict) IsClientError() bool
- func (o *GetExtensionBundlesConflict) IsCode(code int) bool
- func (o *GetExtensionBundlesConflict) IsRedirect() bool
- func (o *GetExtensionBundlesConflict) IsServerError() bool
- func (o *GetExtensionBundlesConflict) IsSuccess() bool
- func (o *GetExtensionBundlesConflict) String() string
- type GetExtensionBundlesForbidden
- func (o *GetExtensionBundlesForbidden) Error() string
- func (o *GetExtensionBundlesForbidden) IsClientError() bool
- func (o *GetExtensionBundlesForbidden) IsCode(code int) bool
- func (o *GetExtensionBundlesForbidden) IsRedirect() bool
- func (o *GetExtensionBundlesForbidden) IsServerError() bool
- func (o *GetExtensionBundlesForbidden) IsSuccess() bool
- func (o *GetExtensionBundlesForbidden) String() string
- type GetExtensionBundlesNotFound
- func (o *GetExtensionBundlesNotFound) Error() string
- func (o *GetExtensionBundlesNotFound) IsClientError() bool
- func (o *GetExtensionBundlesNotFound) IsCode(code int) bool
- func (o *GetExtensionBundlesNotFound) IsRedirect() bool
- func (o *GetExtensionBundlesNotFound) IsServerError() bool
- func (o *GetExtensionBundlesNotFound) IsSuccess() bool
- func (o *GetExtensionBundlesNotFound) String() string
- type GetExtensionBundlesOK
- func (o *GetExtensionBundlesOK) Error() string
- func (o *GetExtensionBundlesOK) GetPayload() []*models.ExtensionBundle
- func (o *GetExtensionBundlesOK) IsClientError() bool
- func (o *GetExtensionBundlesOK) IsCode(code int) bool
- func (o *GetExtensionBundlesOK) IsRedirect() bool
- func (o *GetExtensionBundlesOK) IsServerError() bool
- func (o *GetExtensionBundlesOK) IsSuccess() bool
- func (o *GetExtensionBundlesOK) String() string
- type GetExtensionBundlesParams
- func NewGetExtensionBundlesParams() *GetExtensionBundlesParams
- func NewGetExtensionBundlesParamsWithContext(ctx context.Context) *GetExtensionBundlesParams
- func NewGetExtensionBundlesParamsWithHTTPClient(client *http.Client) *GetExtensionBundlesParams
- func NewGetExtensionBundlesParamsWithTimeout(timeout time.Duration) *GetExtensionBundlesParams
- func (o *GetExtensionBundlesParams) SetBucketID(bucketID string)
- func (o *GetExtensionBundlesParams) SetContext(ctx context.Context)
- func (o *GetExtensionBundlesParams) SetDefaults()
- func (o *GetExtensionBundlesParams) SetHTTPClient(client *http.Client)
- func (o *GetExtensionBundlesParams) SetTimeout(timeout time.Duration)
- func (o *GetExtensionBundlesParams) WithBucketID(bucketID string) *GetExtensionBundlesParams
- func (o *GetExtensionBundlesParams) WithContext(ctx context.Context) *GetExtensionBundlesParams
- func (o *GetExtensionBundlesParams) WithDefaults() *GetExtensionBundlesParams
- func (o *GetExtensionBundlesParams) WithHTTPClient(client *http.Client) *GetExtensionBundlesParams
- func (o *GetExtensionBundlesParams) WithTimeout(timeout time.Duration) *GetExtensionBundlesParams
- func (o *GetExtensionBundlesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetExtensionBundlesReader
- type GetExtensionBundlesUnauthorized
- func (o *GetExtensionBundlesUnauthorized) Error() string
- func (o *GetExtensionBundlesUnauthorized) IsClientError() bool
- func (o *GetExtensionBundlesUnauthorized) IsCode(code int) bool
- func (o *GetExtensionBundlesUnauthorized) IsRedirect() bool
- func (o *GetExtensionBundlesUnauthorized) IsServerError() bool
- func (o *GetExtensionBundlesUnauthorized) IsSuccess() bool
- func (o *GetExtensionBundlesUnauthorized) 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 bucket bundles API
func (*Client) CreateExtensionBundleVersion ¶
func (a *Client) CreateExtensionBundleVersion(params *CreateExtensionBundleVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateExtensionBundleVersionOK, error)
CreateExtensionBundleVersion creates extension bundle version Creates a version of an extension bundle by uploading a binary artifact. If an extension bundle already exists in the given bucket with the same group id and artifact id as that of the bundle being uploaded, then it will be added as a new version to the existing bundle. If an extension bundle does not already exist in the given bucket with the same group id and artifact id, then a new extension bundle will be created and this version will be added to the new bundle. Client's may optionally supply a SHA-256 in hex format through the multi-part form field 'sha256'. If supplied, then this value will be compared against the SHA-256 computed by the server, and the bundle will be rejected if the values do not match. If not supplied, the bundle will be accepted, but will be marked to indicate that the client did not supply a SHA-256 during creation.
NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.
func (*Client) GetExtensionBundles ¶
func (a *Client) GetExtensionBundles(params *GetExtensionBundlesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetExtensionBundlesOK, error)
GetExtensionBundles gets extension bundles by bucket
NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateExtensionBundleVersion(params *CreateExtensionBundleVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateExtensionBundleVersionOK, error) GetExtensionBundles(params *GetExtensionBundlesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetExtensionBundlesOK, 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 bucket bundles API client.
type CreateExtensionBundleVersionBadRequest ¶
type CreateExtensionBundleVersionBadRequest struct { }
CreateExtensionBundleVersionBadRequest 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 NewCreateExtensionBundleVersionBadRequest ¶
func NewCreateExtensionBundleVersionBadRequest() *CreateExtensionBundleVersionBadRequest
NewCreateExtensionBundleVersionBadRequest creates a CreateExtensionBundleVersionBadRequest with default headers values
func (*CreateExtensionBundleVersionBadRequest) Error ¶
func (o *CreateExtensionBundleVersionBadRequest) Error() string
func (*CreateExtensionBundleVersionBadRequest) IsClientError ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionBadRequest) IsClientError() bool
IsClientError returns true when this create extension bundle version bad request response has a 4xx status code
func (*CreateExtensionBundleVersionBadRequest) IsCode ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionBadRequest) IsCode(code int) bool
IsCode returns true when this create extension bundle version bad request response a status code equal to that given
func (*CreateExtensionBundleVersionBadRequest) IsRedirect ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionBadRequest) IsRedirect() bool
IsRedirect returns true when this create extension bundle version bad request response has a 3xx status code
func (*CreateExtensionBundleVersionBadRequest) IsServerError ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionBadRequest) IsServerError() bool
IsServerError returns true when this create extension bundle version bad request response has a 5xx status code
func (*CreateExtensionBundleVersionBadRequest) IsSuccess ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionBadRequest) IsSuccess() bool
IsSuccess returns true when this create extension bundle version bad request response has a 2xx status code
func (*CreateExtensionBundleVersionBadRequest) String ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionBadRequest) String() string
type CreateExtensionBundleVersionConflict ¶
type CreateExtensionBundleVersionConflict struct { }
CreateExtensionBundleVersionConflict 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 NewCreateExtensionBundleVersionConflict ¶
func NewCreateExtensionBundleVersionConflict() *CreateExtensionBundleVersionConflict
NewCreateExtensionBundleVersionConflict creates a CreateExtensionBundleVersionConflict with default headers values
func (*CreateExtensionBundleVersionConflict) Error ¶
func (o *CreateExtensionBundleVersionConflict) Error() string
func (*CreateExtensionBundleVersionConflict) IsClientError ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionConflict) IsClientError() bool
IsClientError returns true when this create extension bundle version conflict response has a 4xx status code
func (*CreateExtensionBundleVersionConflict) IsCode ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionConflict) IsCode(code int) bool
IsCode returns true when this create extension bundle version conflict response a status code equal to that given
func (*CreateExtensionBundleVersionConflict) IsRedirect ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionConflict) IsRedirect() bool
IsRedirect returns true when this create extension bundle version conflict response has a 3xx status code
func (*CreateExtensionBundleVersionConflict) IsServerError ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionConflict) IsServerError() bool
IsServerError returns true when this create extension bundle version conflict response has a 5xx status code
func (*CreateExtensionBundleVersionConflict) IsSuccess ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionConflict) IsSuccess() bool
IsSuccess returns true when this create extension bundle version conflict response has a 2xx status code
func (*CreateExtensionBundleVersionConflict) String ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionConflict) String() string
type CreateExtensionBundleVersionForbidden ¶
type CreateExtensionBundleVersionForbidden struct { }
CreateExtensionBundleVersionForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewCreateExtensionBundleVersionForbidden ¶
func NewCreateExtensionBundleVersionForbidden() *CreateExtensionBundleVersionForbidden
NewCreateExtensionBundleVersionForbidden creates a CreateExtensionBundleVersionForbidden with default headers values
func (*CreateExtensionBundleVersionForbidden) Error ¶
func (o *CreateExtensionBundleVersionForbidden) Error() string
func (*CreateExtensionBundleVersionForbidden) IsClientError ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionForbidden) IsClientError() bool
IsClientError returns true when this create extension bundle version forbidden response has a 4xx status code
func (*CreateExtensionBundleVersionForbidden) IsCode ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionForbidden) IsCode(code int) bool
IsCode returns true when this create extension bundle version forbidden response a status code equal to that given
func (*CreateExtensionBundleVersionForbidden) IsRedirect ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionForbidden) IsRedirect() bool
IsRedirect returns true when this create extension bundle version forbidden response has a 3xx status code
func (*CreateExtensionBundleVersionForbidden) IsServerError ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionForbidden) IsServerError() bool
IsServerError returns true when this create extension bundle version forbidden response has a 5xx status code
func (*CreateExtensionBundleVersionForbidden) IsSuccess ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionForbidden) IsSuccess() bool
IsSuccess returns true when this create extension bundle version forbidden response has a 2xx status code
func (*CreateExtensionBundleVersionForbidden) String ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionForbidden) String() string
type CreateExtensionBundleVersionNotFound ¶
type CreateExtensionBundleVersionNotFound struct { }
CreateExtensionBundleVersionNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewCreateExtensionBundleVersionNotFound ¶
func NewCreateExtensionBundleVersionNotFound() *CreateExtensionBundleVersionNotFound
NewCreateExtensionBundleVersionNotFound creates a CreateExtensionBundleVersionNotFound with default headers values
func (*CreateExtensionBundleVersionNotFound) Error ¶
func (o *CreateExtensionBundleVersionNotFound) Error() string
func (*CreateExtensionBundleVersionNotFound) IsClientError ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionNotFound) IsClientError() bool
IsClientError returns true when this create extension bundle version not found response has a 4xx status code
func (*CreateExtensionBundleVersionNotFound) IsCode ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionNotFound) IsCode(code int) bool
IsCode returns true when this create extension bundle version not found response a status code equal to that given
func (*CreateExtensionBundleVersionNotFound) IsRedirect ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionNotFound) IsRedirect() bool
IsRedirect returns true when this create extension bundle version not found response has a 3xx status code
func (*CreateExtensionBundleVersionNotFound) IsServerError ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionNotFound) IsServerError() bool
IsServerError returns true when this create extension bundle version not found response has a 5xx status code
func (*CreateExtensionBundleVersionNotFound) IsSuccess ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionNotFound) IsSuccess() bool
IsSuccess returns true when this create extension bundle version not found response has a 2xx status code
func (*CreateExtensionBundleVersionNotFound) String ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionNotFound) String() string
type CreateExtensionBundleVersionOK ¶
type CreateExtensionBundleVersionOK struct {
Payload *models.BundleVersion
}
CreateExtensionBundleVersionOK describes a response with status code 200, with default header values.
successful operation
func NewCreateExtensionBundleVersionOK ¶
func NewCreateExtensionBundleVersionOK() *CreateExtensionBundleVersionOK
NewCreateExtensionBundleVersionOK creates a CreateExtensionBundleVersionOK with default headers values
func (*CreateExtensionBundleVersionOK) Error ¶
func (o *CreateExtensionBundleVersionOK) Error() string
func (*CreateExtensionBundleVersionOK) GetPayload ¶
func (o *CreateExtensionBundleVersionOK) GetPayload() *models.BundleVersion
func (*CreateExtensionBundleVersionOK) IsClientError ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionOK) IsClientError() bool
IsClientError returns true when this create extension bundle version o k response has a 4xx status code
func (*CreateExtensionBundleVersionOK) IsCode ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionOK) IsCode(code int) bool
IsCode returns true when this create extension bundle version o k response a status code equal to that given
func (*CreateExtensionBundleVersionOK) IsRedirect ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionOK) IsRedirect() bool
IsRedirect returns true when this create extension bundle version o k response has a 3xx status code
func (*CreateExtensionBundleVersionOK) IsServerError ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionOK) IsServerError() bool
IsServerError returns true when this create extension bundle version o k response has a 5xx status code
func (*CreateExtensionBundleVersionOK) IsSuccess ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionOK) IsSuccess() bool
IsSuccess returns true when this create extension bundle version o k response has a 2xx status code
func (*CreateExtensionBundleVersionOK) String ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionOK) String() string
type CreateExtensionBundleVersionParams ¶
type CreateExtensionBundleVersionParams struct { /* BucketID. The bucket identifier */ BucketID string /* BundleType. The type of the bundle */ BundleType string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateExtensionBundleVersionParams contains all the parameters to send to the API endpoint
for the create extension bundle version operation. Typically these are written to a http.Request.
func NewCreateExtensionBundleVersionParams ¶
func NewCreateExtensionBundleVersionParams() *CreateExtensionBundleVersionParams
NewCreateExtensionBundleVersionParams creates a new CreateExtensionBundleVersionParams 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 NewCreateExtensionBundleVersionParamsWithContext ¶
func NewCreateExtensionBundleVersionParamsWithContext(ctx context.Context) *CreateExtensionBundleVersionParams
NewCreateExtensionBundleVersionParamsWithContext creates a new CreateExtensionBundleVersionParams object with the ability to set a context for a request.
func NewCreateExtensionBundleVersionParamsWithHTTPClient ¶
func NewCreateExtensionBundleVersionParamsWithHTTPClient(client *http.Client) *CreateExtensionBundleVersionParams
NewCreateExtensionBundleVersionParamsWithHTTPClient creates a new CreateExtensionBundleVersionParams object with the ability to set a custom HTTPClient for a request.
func NewCreateExtensionBundleVersionParamsWithTimeout ¶
func NewCreateExtensionBundleVersionParamsWithTimeout(timeout time.Duration) *CreateExtensionBundleVersionParams
NewCreateExtensionBundleVersionParamsWithTimeout creates a new CreateExtensionBundleVersionParams object with the ability to set a timeout on a request.
func (*CreateExtensionBundleVersionParams) SetBucketID ¶
func (o *CreateExtensionBundleVersionParams) SetBucketID(bucketID string)
SetBucketID adds the bucketId to the create extension bundle version params
func (*CreateExtensionBundleVersionParams) SetBundleType ¶
func (o *CreateExtensionBundleVersionParams) SetBundleType(bundleType string)
SetBundleType adds the bundleType to the create extension bundle version params
func (*CreateExtensionBundleVersionParams) SetContext ¶
func (o *CreateExtensionBundleVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the create extension bundle version params
func (*CreateExtensionBundleVersionParams) SetDefaults ¶
func (o *CreateExtensionBundleVersionParams) SetDefaults()
SetDefaults hydrates default values in the create extension bundle version params (not the query body).
All values with no default are reset to their zero value.
func (*CreateExtensionBundleVersionParams) SetHTTPClient ¶
func (o *CreateExtensionBundleVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create extension bundle version params
func (*CreateExtensionBundleVersionParams) SetTimeout ¶
func (o *CreateExtensionBundleVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create extension bundle version params
func (*CreateExtensionBundleVersionParams) WithBucketID ¶
func (o *CreateExtensionBundleVersionParams) WithBucketID(bucketID string) *CreateExtensionBundleVersionParams
WithBucketID adds the bucketID to the create extension bundle version params
func (*CreateExtensionBundleVersionParams) WithBundleType ¶
func (o *CreateExtensionBundleVersionParams) WithBundleType(bundleType string) *CreateExtensionBundleVersionParams
WithBundleType adds the bundleType to the create extension bundle version params
func (*CreateExtensionBundleVersionParams) WithContext ¶
func (o *CreateExtensionBundleVersionParams) WithContext(ctx context.Context) *CreateExtensionBundleVersionParams
WithContext adds the context to the create extension bundle version params
func (*CreateExtensionBundleVersionParams) WithDefaults ¶
func (o *CreateExtensionBundleVersionParams) WithDefaults() *CreateExtensionBundleVersionParams
WithDefaults hydrates default values in the create extension bundle version params (not the query body).
All values with no default are reset to their zero value.
func (*CreateExtensionBundleVersionParams) WithHTTPClient ¶
func (o *CreateExtensionBundleVersionParams) WithHTTPClient(client *http.Client) *CreateExtensionBundleVersionParams
WithHTTPClient adds the HTTPClient to the create extension bundle version params
func (*CreateExtensionBundleVersionParams) WithTimeout ¶
func (o *CreateExtensionBundleVersionParams) WithTimeout(timeout time.Duration) *CreateExtensionBundleVersionParams
WithTimeout adds the timeout to the create extension bundle version params
func (*CreateExtensionBundleVersionParams) WriteToRequest ¶
func (o *CreateExtensionBundleVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateExtensionBundleVersionReader ¶
type CreateExtensionBundleVersionReader struct {
// contains filtered or unexported fields
}
CreateExtensionBundleVersionReader is a Reader for the CreateExtensionBundleVersion structure.
func (*CreateExtensionBundleVersionReader) ReadResponse ¶
func (o *CreateExtensionBundleVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateExtensionBundleVersionUnauthorized ¶
type CreateExtensionBundleVersionUnauthorized struct { }
CreateExtensionBundleVersionUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewCreateExtensionBundleVersionUnauthorized ¶
func NewCreateExtensionBundleVersionUnauthorized() *CreateExtensionBundleVersionUnauthorized
NewCreateExtensionBundleVersionUnauthorized creates a CreateExtensionBundleVersionUnauthorized with default headers values
func (*CreateExtensionBundleVersionUnauthorized) Error ¶
func (o *CreateExtensionBundleVersionUnauthorized) Error() string
func (*CreateExtensionBundleVersionUnauthorized) IsClientError ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionUnauthorized) IsClientError() bool
IsClientError returns true when this create extension bundle version unauthorized response has a 4xx status code
func (*CreateExtensionBundleVersionUnauthorized) IsCode ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionUnauthorized) IsCode(code int) bool
IsCode returns true when this create extension bundle version unauthorized response a status code equal to that given
func (*CreateExtensionBundleVersionUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionUnauthorized) IsRedirect() bool
IsRedirect returns true when this create extension bundle version unauthorized response has a 3xx status code
func (*CreateExtensionBundleVersionUnauthorized) IsServerError ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionUnauthorized) IsServerError() bool
IsServerError returns true when this create extension bundle version unauthorized response has a 5xx status code
func (*CreateExtensionBundleVersionUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionUnauthorized) IsSuccess() bool
IsSuccess returns true when this create extension bundle version unauthorized response has a 2xx status code
func (*CreateExtensionBundleVersionUnauthorized) String ¶ added in v1.19.1
func (o *CreateExtensionBundleVersionUnauthorized) String() string
type GetExtensionBundlesBadRequest ¶
type GetExtensionBundlesBadRequest struct { }
GetExtensionBundlesBadRequest 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 NewGetExtensionBundlesBadRequest ¶
func NewGetExtensionBundlesBadRequest() *GetExtensionBundlesBadRequest
NewGetExtensionBundlesBadRequest creates a GetExtensionBundlesBadRequest with default headers values
func (*GetExtensionBundlesBadRequest) Error ¶
func (o *GetExtensionBundlesBadRequest) Error() string
func (*GetExtensionBundlesBadRequest) IsClientError ¶ added in v1.19.1
func (o *GetExtensionBundlesBadRequest) IsClientError() bool
IsClientError returns true when this get extension bundles bad request response has a 4xx status code
func (*GetExtensionBundlesBadRequest) IsCode ¶ added in v1.19.1
func (o *GetExtensionBundlesBadRequest) IsCode(code int) bool
IsCode returns true when this get extension bundles bad request response a status code equal to that given
func (*GetExtensionBundlesBadRequest) IsRedirect ¶ added in v1.19.1
func (o *GetExtensionBundlesBadRequest) IsRedirect() bool
IsRedirect returns true when this get extension bundles bad request response has a 3xx status code
func (*GetExtensionBundlesBadRequest) IsServerError ¶ added in v1.19.1
func (o *GetExtensionBundlesBadRequest) IsServerError() bool
IsServerError returns true when this get extension bundles bad request response has a 5xx status code
func (*GetExtensionBundlesBadRequest) IsSuccess ¶ added in v1.19.1
func (o *GetExtensionBundlesBadRequest) IsSuccess() bool
IsSuccess returns true when this get extension bundles bad request response has a 2xx status code
func (*GetExtensionBundlesBadRequest) String ¶ added in v1.19.1
func (o *GetExtensionBundlesBadRequest) String() string
type GetExtensionBundlesConflict ¶
type GetExtensionBundlesConflict struct { }
GetExtensionBundlesConflict 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 NewGetExtensionBundlesConflict ¶
func NewGetExtensionBundlesConflict() *GetExtensionBundlesConflict
NewGetExtensionBundlesConflict creates a GetExtensionBundlesConflict with default headers values
func (*GetExtensionBundlesConflict) Error ¶
func (o *GetExtensionBundlesConflict) Error() string
func (*GetExtensionBundlesConflict) IsClientError ¶ added in v1.19.1
func (o *GetExtensionBundlesConflict) IsClientError() bool
IsClientError returns true when this get extension bundles conflict response has a 4xx status code
func (*GetExtensionBundlesConflict) IsCode ¶ added in v1.19.1
func (o *GetExtensionBundlesConflict) IsCode(code int) bool
IsCode returns true when this get extension bundles conflict response a status code equal to that given
func (*GetExtensionBundlesConflict) IsRedirect ¶ added in v1.19.1
func (o *GetExtensionBundlesConflict) IsRedirect() bool
IsRedirect returns true when this get extension bundles conflict response has a 3xx status code
func (*GetExtensionBundlesConflict) IsServerError ¶ added in v1.19.1
func (o *GetExtensionBundlesConflict) IsServerError() bool
IsServerError returns true when this get extension bundles conflict response has a 5xx status code
func (*GetExtensionBundlesConflict) IsSuccess ¶ added in v1.19.1
func (o *GetExtensionBundlesConflict) IsSuccess() bool
IsSuccess returns true when this get extension bundles conflict response has a 2xx status code
func (*GetExtensionBundlesConflict) String ¶ added in v1.19.1
func (o *GetExtensionBundlesConflict) String() string
type GetExtensionBundlesForbidden ¶
type GetExtensionBundlesForbidden struct { }
GetExtensionBundlesForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewGetExtensionBundlesForbidden ¶
func NewGetExtensionBundlesForbidden() *GetExtensionBundlesForbidden
NewGetExtensionBundlesForbidden creates a GetExtensionBundlesForbidden with default headers values
func (*GetExtensionBundlesForbidden) Error ¶
func (o *GetExtensionBundlesForbidden) Error() string
func (*GetExtensionBundlesForbidden) IsClientError ¶ added in v1.19.1
func (o *GetExtensionBundlesForbidden) IsClientError() bool
IsClientError returns true when this get extension bundles forbidden response has a 4xx status code
func (*GetExtensionBundlesForbidden) IsCode ¶ added in v1.19.1
func (o *GetExtensionBundlesForbidden) IsCode(code int) bool
IsCode returns true when this get extension bundles forbidden response a status code equal to that given
func (*GetExtensionBundlesForbidden) IsRedirect ¶ added in v1.19.1
func (o *GetExtensionBundlesForbidden) IsRedirect() bool
IsRedirect returns true when this get extension bundles forbidden response has a 3xx status code
func (*GetExtensionBundlesForbidden) IsServerError ¶ added in v1.19.1
func (o *GetExtensionBundlesForbidden) IsServerError() bool
IsServerError returns true when this get extension bundles forbidden response has a 5xx status code
func (*GetExtensionBundlesForbidden) IsSuccess ¶ added in v1.19.1
func (o *GetExtensionBundlesForbidden) IsSuccess() bool
IsSuccess returns true when this get extension bundles forbidden response has a 2xx status code
func (*GetExtensionBundlesForbidden) String ¶ added in v1.19.1
func (o *GetExtensionBundlesForbidden) String() string
type GetExtensionBundlesNotFound ¶
type GetExtensionBundlesNotFound struct { }
GetExtensionBundlesNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewGetExtensionBundlesNotFound ¶
func NewGetExtensionBundlesNotFound() *GetExtensionBundlesNotFound
NewGetExtensionBundlesNotFound creates a GetExtensionBundlesNotFound with default headers values
func (*GetExtensionBundlesNotFound) Error ¶
func (o *GetExtensionBundlesNotFound) Error() string
func (*GetExtensionBundlesNotFound) IsClientError ¶ added in v1.19.1
func (o *GetExtensionBundlesNotFound) IsClientError() bool
IsClientError returns true when this get extension bundles not found response has a 4xx status code
func (*GetExtensionBundlesNotFound) IsCode ¶ added in v1.19.1
func (o *GetExtensionBundlesNotFound) IsCode(code int) bool
IsCode returns true when this get extension bundles not found response a status code equal to that given
func (*GetExtensionBundlesNotFound) IsRedirect ¶ added in v1.19.1
func (o *GetExtensionBundlesNotFound) IsRedirect() bool
IsRedirect returns true when this get extension bundles not found response has a 3xx status code
func (*GetExtensionBundlesNotFound) IsServerError ¶ added in v1.19.1
func (o *GetExtensionBundlesNotFound) IsServerError() bool
IsServerError returns true when this get extension bundles not found response has a 5xx status code
func (*GetExtensionBundlesNotFound) IsSuccess ¶ added in v1.19.1
func (o *GetExtensionBundlesNotFound) IsSuccess() bool
IsSuccess returns true when this get extension bundles not found response has a 2xx status code
func (*GetExtensionBundlesNotFound) String ¶ added in v1.19.1
func (o *GetExtensionBundlesNotFound) String() string
type GetExtensionBundlesOK ¶
type GetExtensionBundlesOK struct {
Payload []*models.ExtensionBundle
}
GetExtensionBundlesOK describes a response with status code 200, with default header values.
successful operation
func NewGetExtensionBundlesOK ¶
func NewGetExtensionBundlesOK() *GetExtensionBundlesOK
NewGetExtensionBundlesOK creates a GetExtensionBundlesOK with default headers values
func (*GetExtensionBundlesOK) Error ¶
func (o *GetExtensionBundlesOK) Error() string
func (*GetExtensionBundlesOK) GetPayload ¶
func (o *GetExtensionBundlesOK) GetPayload() []*models.ExtensionBundle
func (*GetExtensionBundlesOK) IsClientError ¶ added in v1.19.1
func (o *GetExtensionBundlesOK) IsClientError() bool
IsClientError returns true when this get extension bundles o k response has a 4xx status code
func (*GetExtensionBundlesOK) IsCode ¶ added in v1.19.1
func (o *GetExtensionBundlesOK) IsCode(code int) bool
IsCode returns true when this get extension bundles o k response a status code equal to that given
func (*GetExtensionBundlesOK) IsRedirect ¶ added in v1.19.1
func (o *GetExtensionBundlesOK) IsRedirect() bool
IsRedirect returns true when this get extension bundles o k response has a 3xx status code
func (*GetExtensionBundlesOK) IsServerError ¶ added in v1.19.1
func (o *GetExtensionBundlesOK) IsServerError() bool
IsServerError returns true when this get extension bundles o k response has a 5xx status code
func (*GetExtensionBundlesOK) IsSuccess ¶ added in v1.19.1
func (o *GetExtensionBundlesOK) IsSuccess() bool
IsSuccess returns true when this get extension bundles o k response has a 2xx status code
func (*GetExtensionBundlesOK) String ¶ added in v1.19.1
func (o *GetExtensionBundlesOK) String() string
type GetExtensionBundlesParams ¶
type GetExtensionBundlesParams struct { /* BucketID. The bucket identifier */ BucketID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetExtensionBundlesParams contains all the parameters to send to the API endpoint
for the get extension bundles operation. Typically these are written to a http.Request.
func NewGetExtensionBundlesParams ¶
func NewGetExtensionBundlesParams() *GetExtensionBundlesParams
NewGetExtensionBundlesParams creates a new GetExtensionBundlesParams 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 NewGetExtensionBundlesParamsWithContext ¶
func NewGetExtensionBundlesParamsWithContext(ctx context.Context) *GetExtensionBundlesParams
NewGetExtensionBundlesParamsWithContext creates a new GetExtensionBundlesParams object with the ability to set a context for a request.
func NewGetExtensionBundlesParamsWithHTTPClient ¶
func NewGetExtensionBundlesParamsWithHTTPClient(client *http.Client) *GetExtensionBundlesParams
NewGetExtensionBundlesParamsWithHTTPClient creates a new GetExtensionBundlesParams object with the ability to set a custom HTTPClient for a request.
func NewGetExtensionBundlesParamsWithTimeout ¶
func NewGetExtensionBundlesParamsWithTimeout(timeout time.Duration) *GetExtensionBundlesParams
NewGetExtensionBundlesParamsWithTimeout creates a new GetExtensionBundlesParams object with the ability to set a timeout on a request.
func (*GetExtensionBundlesParams) SetBucketID ¶
func (o *GetExtensionBundlesParams) SetBucketID(bucketID string)
SetBucketID adds the bucketId to the get extension bundles params
func (*GetExtensionBundlesParams) SetContext ¶
func (o *GetExtensionBundlesParams) SetContext(ctx context.Context)
SetContext adds the context to the get extension bundles params
func (*GetExtensionBundlesParams) SetDefaults ¶
func (o *GetExtensionBundlesParams) SetDefaults()
SetDefaults hydrates default values in the get extension bundles params (not the query body).
All values with no default are reset to their zero value.
func (*GetExtensionBundlesParams) SetHTTPClient ¶
func (o *GetExtensionBundlesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get extension bundles params
func (*GetExtensionBundlesParams) SetTimeout ¶
func (o *GetExtensionBundlesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get extension bundles params
func (*GetExtensionBundlesParams) WithBucketID ¶
func (o *GetExtensionBundlesParams) WithBucketID(bucketID string) *GetExtensionBundlesParams
WithBucketID adds the bucketID to the get extension bundles params
func (*GetExtensionBundlesParams) WithContext ¶
func (o *GetExtensionBundlesParams) WithContext(ctx context.Context) *GetExtensionBundlesParams
WithContext adds the context to the get extension bundles params
func (*GetExtensionBundlesParams) WithDefaults ¶
func (o *GetExtensionBundlesParams) WithDefaults() *GetExtensionBundlesParams
WithDefaults hydrates default values in the get extension bundles params (not the query body).
All values with no default are reset to their zero value.
func (*GetExtensionBundlesParams) WithHTTPClient ¶
func (o *GetExtensionBundlesParams) WithHTTPClient(client *http.Client) *GetExtensionBundlesParams
WithHTTPClient adds the HTTPClient to the get extension bundles params
func (*GetExtensionBundlesParams) WithTimeout ¶
func (o *GetExtensionBundlesParams) WithTimeout(timeout time.Duration) *GetExtensionBundlesParams
WithTimeout adds the timeout to the get extension bundles params
func (*GetExtensionBundlesParams) WriteToRequest ¶
func (o *GetExtensionBundlesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetExtensionBundlesReader ¶
type GetExtensionBundlesReader struct {
// contains filtered or unexported fields
}
GetExtensionBundlesReader is a Reader for the GetExtensionBundles structure.
func (*GetExtensionBundlesReader) ReadResponse ¶
func (o *GetExtensionBundlesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetExtensionBundlesUnauthorized ¶
type GetExtensionBundlesUnauthorized struct { }
GetExtensionBundlesUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewGetExtensionBundlesUnauthorized ¶
func NewGetExtensionBundlesUnauthorized() *GetExtensionBundlesUnauthorized
NewGetExtensionBundlesUnauthorized creates a GetExtensionBundlesUnauthorized with default headers values
func (*GetExtensionBundlesUnauthorized) Error ¶
func (o *GetExtensionBundlesUnauthorized) Error() string
func (*GetExtensionBundlesUnauthorized) IsClientError ¶ added in v1.19.1
func (o *GetExtensionBundlesUnauthorized) IsClientError() bool
IsClientError returns true when this get extension bundles unauthorized response has a 4xx status code
func (*GetExtensionBundlesUnauthorized) IsCode ¶ added in v1.19.1
func (o *GetExtensionBundlesUnauthorized) IsCode(code int) bool
IsCode returns true when this get extension bundles unauthorized response a status code equal to that given
func (*GetExtensionBundlesUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *GetExtensionBundlesUnauthorized) IsRedirect() bool
IsRedirect returns true when this get extension bundles unauthorized response has a 3xx status code
func (*GetExtensionBundlesUnauthorized) IsServerError ¶ added in v1.19.1
func (o *GetExtensionBundlesUnauthorized) IsServerError() bool
IsServerError returns true when this get extension bundles unauthorized response has a 5xx status code
func (*GetExtensionBundlesUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *GetExtensionBundlesUnauthorized) IsSuccess() bool
IsSuccess returns true when this get extension bundles unauthorized response has a 2xx status code
func (*GetExtensionBundlesUnauthorized) String ¶ added in v1.19.1
func (o *GetExtensionBundlesUnauthorized) String() string