bucket_bundles

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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 (*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

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

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

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

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 (*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

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

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

IsSuccess returns true when this create extension bundle version conflict response has a 2xx status code

func (*CreateExtensionBundleVersionConflict) String added in v1.19.1

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 (*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

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

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

IsSuccess returns true when this create extension bundle version forbidden response has a 2xx status code

func (*CreateExtensionBundleVersionForbidden) String added in v1.19.1

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 (*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

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

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

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

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 (*CreateExtensionBundleVersionOK) GetPayload

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

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

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

WithBucketID adds the bucketID to the create extension bundle version params

func (*CreateExtensionBundleVersionParams) WithBundleType

WithBundleType adds the bundleType to the create extension bundle version params

func (*CreateExtensionBundleVersionParams) WithContext

WithContext adds the context to the create extension bundle version params

func (*CreateExtensionBundleVersionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the create extension bundle version params

func (*CreateExtensionBundleVersionParams) WithTimeout

WithTimeout adds the timeout to the create extension bundle version params

func (*CreateExtensionBundleVersionParams) WriteToRequest

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 (*CreateExtensionBundleVersionUnauthorized) IsClientError added in v1.19.1

IsClientError returns true when this create extension bundle version unauthorized response has a 4xx status code

func (*CreateExtensionBundleVersionUnauthorized) IsCode added in v1.19.1

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

IsRedirect returns true when this create extension bundle version unauthorized response has a 3xx status code

func (*CreateExtensionBundleVersionUnauthorized) IsServerError added in v1.19.1

IsServerError returns true when this create extension bundle version unauthorized response has a 5xx status code

func (*CreateExtensionBundleVersionUnauthorized) IsSuccess added in v1.19.1

IsSuccess returns true when this create extension bundle version unauthorized response has a 2xx status code

func (*CreateExtensionBundleVersionUnauthorized) String added in v1.19.1

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 (*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

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 (*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 (*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

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 (*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

WithContext adds the context to the get extension bundles params

func (*GetExtensionBundlesParams) WithDefaults

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

WithTimeout adds the timeout to the get extension bundles params

func (*GetExtensionBundlesParams) WriteToRequest

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 (*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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL