extensions

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: 11 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 extensions API

func (*Client) GetExtensions

func (a *Client) GetExtensions(params *GetExtensionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetExtensionsOK, error)
GetExtensions gets all extensions

Gets the metadata for all extensions that match the filter params and are part of bundles located in buckets the current user is authorized for. If the user is not authorized to any buckets, an empty result set will be returned.

NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.

func (*Client) GetExtensionsProvidingServiceAPI

func (a *Client) GetExtensionsProvidingServiceAPI(params *GetExtensionsProvidingServiceAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetExtensionsProvidingServiceAPIOK, error)
GetExtensionsProvidingServiceAPI gets extensions providing service API

Gets the metadata for extensions that provide the specified API and are part of bundles located in buckets the current user is authorized for. If the user is not authorized to any buckets, an empty result set will be returned.

NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.

func (*Client) GetTags

func (a *Client) GetTags(params *GetTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTagsOK, error)
GetTags gets extension tags

Gets all the extension tags known to this NiFi Registry instance, along with the number of extensions that have the given tag.

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 {
	GetExtensions(params *GetExtensionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetExtensionsOK, error)

	GetExtensionsProvidingServiceAPI(params *GetExtensionsProvidingServiceAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetExtensionsProvidingServiceAPIOK, error)

	GetTags(params *GetTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTagsOK, 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 extensions API client.

type GetExtensionsBadRequest

type GetExtensionsBadRequest struct {
}

GetExtensionsBadRequest 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 NewGetExtensionsBadRequest

func NewGetExtensionsBadRequest() *GetExtensionsBadRequest

NewGetExtensionsBadRequest creates a GetExtensionsBadRequest with default headers values

func (*GetExtensionsBadRequest) Error

func (o *GetExtensionsBadRequest) Error() string

func (*GetExtensionsBadRequest) IsClientError added in v1.19.1

func (o *GetExtensionsBadRequest) IsClientError() bool

IsClientError returns true when this get extensions bad request response has a 4xx status code

func (*GetExtensionsBadRequest) IsCode added in v1.19.1

func (o *GetExtensionsBadRequest) IsCode(code int) bool

IsCode returns true when this get extensions bad request response a status code equal to that given

func (*GetExtensionsBadRequest) IsRedirect added in v1.19.1

func (o *GetExtensionsBadRequest) IsRedirect() bool

IsRedirect returns true when this get extensions bad request response has a 3xx status code

func (*GetExtensionsBadRequest) IsServerError added in v1.19.1

func (o *GetExtensionsBadRequest) IsServerError() bool

IsServerError returns true when this get extensions bad request response has a 5xx status code

func (*GetExtensionsBadRequest) IsSuccess added in v1.19.1

func (o *GetExtensionsBadRequest) IsSuccess() bool

IsSuccess returns true when this get extensions bad request response has a 2xx status code

func (*GetExtensionsBadRequest) String added in v1.19.1

func (o *GetExtensionsBadRequest) String() string

type GetExtensionsConflict

type GetExtensionsConflict struct {
}

GetExtensionsConflict 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 NewGetExtensionsConflict

func NewGetExtensionsConflict() *GetExtensionsConflict

NewGetExtensionsConflict creates a GetExtensionsConflict with default headers values

func (*GetExtensionsConflict) Error

func (o *GetExtensionsConflict) Error() string

func (*GetExtensionsConflict) IsClientError added in v1.19.1

func (o *GetExtensionsConflict) IsClientError() bool

IsClientError returns true when this get extensions conflict response has a 4xx status code

func (*GetExtensionsConflict) IsCode added in v1.19.1

func (o *GetExtensionsConflict) IsCode(code int) bool

IsCode returns true when this get extensions conflict response a status code equal to that given

func (*GetExtensionsConflict) IsRedirect added in v1.19.1

func (o *GetExtensionsConflict) IsRedirect() bool

IsRedirect returns true when this get extensions conflict response has a 3xx status code

func (*GetExtensionsConflict) IsServerError added in v1.19.1

func (o *GetExtensionsConflict) IsServerError() bool

IsServerError returns true when this get extensions conflict response has a 5xx status code

func (*GetExtensionsConflict) IsSuccess added in v1.19.1

func (o *GetExtensionsConflict) IsSuccess() bool

IsSuccess returns true when this get extensions conflict response has a 2xx status code

func (*GetExtensionsConflict) String added in v1.19.1

func (o *GetExtensionsConflict) String() string

type GetExtensionsForbidden

type GetExtensionsForbidden struct {
}

GetExtensionsForbidden describes a response with status code 403, with default header values.

Client is not authorized to make this request.

func NewGetExtensionsForbidden

func NewGetExtensionsForbidden() *GetExtensionsForbidden

NewGetExtensionsForbidden creates a GetExtensionsForbidden with default headers values

func (*GetExtensionsForbidden) Error

func (o *GetExtensionsForbidden) Error() string

func (*GetExtensionsForbidden) IsClientError added in v1.19.1

func (o *GetExtensionsForbidden) IsClientError() bool

IsClientError returns true when this get extensions forbidden response has a 4xx status code

func (*GetExtensionsForbidden) IsCode added in v1.19.1

func (o *GetExtensionsForbidden) IsCode(code int) bool

IsCode returns true when this get extensions forbidden response a status code equal to that given

func (*GetExtensionsForbidden) IsRedirect added in v1.19.1

func (o *GetExtensionsForbidden) IsRedirect() bool

IsRedirect returns true when this get extensions forbidden response has a 3xx status code

func (*GetExtensionsForbidden) IsServerError added in v1.19.1

func (o *GetExtensionsForbidden) IsServerError() bool

IsServerError returns true when this get extensions forbidden response has a 5xx status code

func (*GetExtensionsForbidden) IsSuccess added in v1.19.1

func (o *GetExtensionsForbidden) IsSuccess() bool

IsSuccess returns true when this get extensions forbidden response has a 2xx status code

func (*GetExtensionsForbidden) String added in v1.19.1

func (o *GetExtensionsForbidden) String() string

type GetExtensionsNotFound

type GetExtensionsNotFound struct {
}

GetExtensionsNotFound describes a response with status code 404, with default header values.

The specified resource could not be found.

func NewGetExtensionsNotFound

func NewGetExtensionsNotFound() *GetExtensionsNotFound

NewGetExtensionsNotFound creates a GetExtensionsNotFound with default headers values

func (*GetExtensionsNotFound) Error

func (o *GetExtensionsNotFound) Error() string

func (*GetExtensionsNotFound) IsClientError added in v1.19.1

func (o *GetExtensionsNotFound) IsClientError() bool

IsClientError returns true when this get extensions not found response has a 4xx status code

func (*GetExtensionsNotFound) IsCode added in v1.19.1

func (o *GetExtensionsNotFound) IsCode(code int) bool

IsCode returns true when this get extensions not found response a status code equal to that given

func (*GetExtensionsNotFound) IsRedirect added in v1.19.1

func (o *GetExtensionsNotFound) IsRedirect() bool

IsRedirect returns true when this get extensions not found response has a 3xx status code

func (*GetExtensionsNotFound) IsServerError added in v1.19.1

func (o *GetExtensionsNotFound) IsServerError() bool

IsServerError returns true when this get extensions not found response has a 5xx status code

func (*GetExtensionsNotFound) IsSuccess added in v1.19.1

func (o *GetExtensionsNotFound) IsSuccess() bool

IsSuccess returns true when this get extensions not found response has a 2xx status code

func (*GetExtensionsNotFound) String added in v1.19.1

func (o *GetExtensionsNotFound) String() string

type GetExtensionsOK

type GetExtensionsOK struct {
	Payload *models.ExtensionMetadataContainer
}

GetExtensionsOK describes a response with status code 200, with default header values.

successful operation

func NewGetExtensionsOK

func NewGetExtensionsOK() *GetExtensionsOK

NewGetExtensionsOK creates a GetExtensionsOK with default headers values

func (*GetExtensionsOK) Error

func (o *GetExtensionsOK) Error() string

func (*GetExtensionsOK) GetPayload

func (*GetExtensionsOK) IsClientError added in v1.19.1

func (o *GetExtensionsOK) IsClientError() bool

IsClientError returns true when this get extensions o k response has a 4xx status code

func (*GetExtensionsOK) IsCode added in v1.19.1

func (o *GetExtensionsOK) IsCode(code int) bool

IsCode returns true when this get extensions o k response a status code equal to that given

func (*GetExtensionsOK) IsRedirect added in v1.19.1

func (o *GetExtensionsOK) IsRedirect() bool

IsRedirect returns true when this get extensions o k response has a 3xx status code

func (*GetExtensionsOK) IsServerError added in v1.19.1

func (o *GetExtensionsOK) IsServerError() bool

IsServerError returns true when this get extensions o k response has a 5xx status code

func (*GetExtensionsOK) IsSuccess added in v1.19.1

func (o *GetExtensionsOK) IsSuccess() bool

IsSuccess returns true when this get extensions o k response has a 2xx status code

func (*GetExtensionsOK) String added in v1.19.1

func (o *GetExtensionsOK) String() string

type GetExtensionsParams

type GetExtensionsParams struct {

	/* BundleType.

	   The type of bundles to return
	*/
	BundleType *string

	/* ExtensionType.

	   The type of extensions to return
	*/
	ExtensionType *string

	/* Tag.

	   The tags to filter on, will be used in an OR statement
	*/
	Tag []string

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

GetExtensionsParams contains all the parameters to send to the API endpoint

for the get extensions operation.

Typically these are written to a http.Request.

func NewGetExtensionsParams

func NewGetExtensionsParams() *GetExtensionsParams

NewGetExtensionsParams creates a new GetExtensionsParams 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 NewGetExtensionsParamsWithContext

func NewGetExtensionsParamsWithContext(ctx context.Context) *GetExtensionsParams

NewGetExtensionsParamsWithContext creates a new GetExtensionsParams object with the ability to set a context for a request.

func NewGetExtensionsParamsWithHTTPClient

func NewGetExtensionsParamsWithHTTPClient(client *http.Client) *GetExtensionsParams

NewGetExtensionsParamsWithHTTPClient creates a new GetExtensionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetExtensionsParamsWithTimeout

func NewGetExtensionsParamsWithTimeout(timeout time.Duration) *GetExtensionsParams

NewGetExtensionsParamsWithTimeout creates a new GetExtensionsParams object with the ability to set a timeout on a request.

func (*GetExtensionsParams) SetBundleType

func (o *GetExtensionsParams) SetBundleType(bundleType *string)

SetBundleType adds the bundleType to the get extensions params

func (*GetExtensionsParams) SetContext

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

SetContext adds the context to the get extensions params

func (*GetExtensionsParams) SetDefaults

func (o *GetExtensionsParams) SetDefaults()

SetDefaults hydrates default values in the get extensions params (not the query body).

All values with no default are reset to their zero value.

func (*GetExtensionsParams) SetExtensionType

func (o *GetExtensionsParams) SetExtensionType(extensionType *string)

SetExtensionType adds the extensionType to the get extensions params

func (*GetExtensionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get extensions params

func (*GetExtensionsParams) SetTag

func (o *GetExtensionsParams) SetTag(tag []string)

SetTag adds the tag to the get extensions params

func (*GetExtensionsParams) SetTimeout

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

SetTimeout adds the timeout to the get extensions params

func (*GetExtensionsParams) WithBundleType

func (o *GetExtensionsParams) WithBundleType(bundleType *string) *GetExtensionsParams

WithBundleType adds the bundleType to the get extensions params

func (*GetExtensionsParams) WithContext

WithContext adds the context to the get extensions params

func (*GetExtensionsParams) WithDefaults

func (o *GetExtensionsParams) WithDefaults() *GetExtensionsParams

WithDefaults hydrates default values in the get extensions params (not the query body).

All values with no default are reset to their zero value.

func (*GetExtensionsParams) WithExtensionType

func (o *GetExtensionsParams) WithExtensionType(extensionType *string) *GetExtensionsParams

WithExtensionType adds the extensionType to the get extensions params

func (*GetExtensionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get extensions params

func (*GetExtensionsParams) WithTag

func (o *GetExtensionsParams) WithTag(tag []string) *GetExtensionsParams

WithTag adds the tag to the get extensions params

func (*GetExtensionsParams) WithTimeout

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

WithTimeout adds the timeout to the get extensions params

func (*GetExtensionsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetExtensionsProvidingServiceAPIBadRequest

type GetExtensionsProvidingServiceAPIBadRequest struct {
}

GetExtensionsProvidingServiceAPIBadRequest 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 NewGetExtensionsProvidingServiceAPIBadRequest

func NewGetExtensionsProvidingServiceAPIBadRequest() *GetExtensionsProvidingServiceAPIBadRequest

NewGetExtensionsProvidingServiceAPIBadRequest creates a GetExtensionsProvidingServiceAPIBadRequest with default headers values

func (*GetExtensionsProvidingServiceAPIBadRequest) Error

func (*GetExtensionsProvidingServiceAPIBadRequest) IsClientError added in v1.19.1

IsClientError returns true when this get extensions providing service Api bad request response has a 4xx status code

func (*GetExtensionsProvidingServiceAPIBadRequest) IsCode added in v1.19.1

IsCode returns true when this get extensions providing service Api bad request response a status code equal to that given

func (*GetExtensionsProvidingServiceAPIBadRequest) IsRedirect added in v1.19.1

IsRedirect returns true when this get extensions providing service Api bad request response has a 3xx status code

func (*GetExtensionsProvidingServiceAPIBadRequest) IsServerError added in v1.19.1

IsServerError returns true when this get extensions providing service Api bad request response has a 5xx status code

func (*GetExtensionsProvidingServiceAPIBadRequest) IsSuccess added in v1.19.1

IsSuccess returns true when this get extensions providing service Api bad request response has a 2xx status code

func (*GetExtensionsProvidingServiceAPIBadRequest) String added in v1.19.1

type GetExtensionsProvidingServiceAPIConflict

type GetExtensionsProvidingServiceAPIConflict struct {
}

GetExtensionsProvidingServiceAPIConflict 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 NewGetExtensionsProvidingServiceAPIConflict

func NewGetExtensionsProvidingServiceAPIConflict() *GetExtensionsProvidingServiceAPIConflict

NewGetExtensionsProvidingServiceAPIConflict creates a GetExtensionsProvidingServiceAPIConflict with default headers values

func (*GetExtensionsProvidingServiceAPIConflict) Error

func (*GetExtensionsProvidingServiceAPIConflict) IsClientError added in v1.19.1

IsClientError returns true when this get extensions providing service Api conflict response has a 4xx status code

func (*GetExtensionsProvidingServiceAPIConflict) IsCode added in v1.19.1

IsCode returns true when this get extensions providing service Api conflict response a status code equal to that given

func (*GetExtensionsProvidingServiceAPIConflict) IsRedirect added in v1.19.1

IsRedirect returns true when this get extensions providing service Api conflict response has a 3xx status code

func (*GetExtensionsProvidingServiceAPIConflict) IsServerError added in v1.19.1

IsServerError returns true when this get extensions providing service Api conflict response has a 5xx status code

func (*GetExtensionsProvidingServiceAPIConflict) IsSuccess added in v1.19.1

IsSuccess returns true when this get extensions providing service Api conflict response has a 2xx status code

func (*GetExtensionsProvidingServiceAPIConflict) String added in v1.19.1

type GetExtensionsProvidingServiceAPIForbidden

type GetExtensionsProvidingServiceAPIForbidden struct {
}

GetExtensionsProvidingServiceAPIForbidden describes a response with status code 403, with default header values.

Client is not authorized to make this request.

func NewGetExtensionsProvidingServiceAPIForbidden

func NewGetExtensionsProvidingServiceAPIForbidden() *GetExtensionsProvidingServiceAPIForbidden

NewGetExtensionsProvidingServiceAPIForbidden creates a GetExtensionsProvidingServiceAPIForbidden with default headers values

func (*GetExtensionsProvidingServiceAPIForbidden) Error

func (*GetExtensionsProvidingServiceAPIForbidden) IsClientError added in v1.19.1

IsClientError returns true when this get extensions providing service Api forbidden response has a 4xx status code

func (*GetExtensionsProvidingServiceAPIForbidden) IsCode added in v1.19.1

IsCode returns true when this get extensions providing service Api forbidden response a status code equal to that given

func (*GetExtensionsProvidingServiceAPIForbidden) IsRedirect added in v1.19.1

IsRedirect returns true when this get extensions providing service Api forbidden response has a 3xx status code

func (*GetExtensionsProvidingServiceAPIForbidden) IsServerError added in v1.19.1

IsServerError returns true when this get extensions providing service Api forbidden response has a 5xx status code

func (*GetExtensionsProvidingServiceAPIForbidden) IsSuccess added in v1.19.1

IsSuccess returns true when this get extensions providing service Api forbidden response has a 2xx status code

func (*GetExtensionsProvidingServiceAPIForbidden) String added in v1.19.1

type GetExtensionsProvidingServiceAPINotFound

type GetExtensionsProvidingServiceAPINotFound struct {
}

GetExtensionsProvidingServiceAPINotFound describes a response with status code 404, with default header values.

The specified resource could not be found.

func NewGetExtensionsProvidingServiceAPINotFound

func NewGetExtensionsProvidingServiceAPINotFound() *GetExtensionsProvidingServiceAPINotFound

NewGetExtensionsProvidingServiceAPINotFound creates a GetExtensionsProvidingServiceAPINotFound with default headers values

func (*GetExtensionsProvidingServiceAPINotFound) Error

func (*GetExtensionsProvidingServiceAPINotFound) IsClientError added in v1.19.1

IsClientError returns true when this get extensions providing service Api not found response has a 4xx status code

func (*GetExtensionsProvidingServiceAPINotFound) IsCode added in v1.19.1

IsCode returns true when this get extensions providing service Api not found response a status code equal to that given

func (*GetExtensionsProvidingServiceAPINotFound) IsRedirect added in v1.19.1

IsRedirect returns true when this get extensions providing service Api not found response has a 3xx status code

func (*GetExtensionsProvidingServiceAPINotFound) IsServerError added in v1.19.1

IsServerError returns true when this get extensions providing service Api not found response has a 5xx status code

func (*GetExtensionsProvidingServiceAPINotFound) IsSuccess added in v1.19.1

IsSuccess returns true when this get extensions providing service Api not found response has a 2xx status code

func (*GetExtensionsProvidingServiceAPINotFound) String added in v1.19.1

type GetExtensionsProvidingServiceAPIOK

type GetExtensionsProvidingServiceAPIOK struct {
	Payload *models.ExtensionMetadataContainer
}

GetExtensionsProvidingServiceAPIOK describes a response with status code 200, with default header values.

successful operation

func NewGetExtensionsProvidingServiceAPIOK

func NewGetExtensionsProvidingServiceAPIOK() *GetExtensionsProvidingServiceAPIOK

NewGetExtensionsProvidingServiceAPIOK creates a GetExtensionsProvidingServiceAPIOK with default headers values

func (*GetExtensionsProvidingServiceAPIOK) Error

func (*GetExtensionsProvidingServiceAPIOK) GetPayload

func (*GetExtensionsProvidingServiceAPIOK) IsClientError added in v1.19.1

func (o *GetExtensionsProvidingServiceAPIOK) IsClientError() bool

IsClientError returns true when this get extensions providing service Api o k response has a 4xx status code

func (*GetExtensionsProvidingServiceAPIOK) IsCode added in v1.19.1

IsCode returns true when this get extensions providing service Api o k response a status code equal to that given

func (*GetExtensionsProvidingServiceAPIOK) IsRedirect added in v1.19.1

func (o *GetExtensionsProvidingServiceAPIOK) IsRedirect() bool

IsRedirect returns true when this get extensions providing service Api o k response has a 3xx status code

func (*GetExtensionsProvidingServiceAPIOK) IsServerError added in v1.19.1

func (o *GetExtensionsProvidingServiceAPIOK) IsServerError() bool

IsServerError returns true when this get extensions providing service Api o k response has a 5xx status code

func (*GetExtensionsProvidingServiceAPIOK) IsSuccess added in v1.19.1

IsSuccess returns true when this get extensions providing service Api o k response has a 2xx status code

func (*GetExtensionsProvidingServiceAPIOK) String added in v1.19.1

type GetExtensionsProvidingServiceAPIParams

type GetExtensionsProvidingServiceAPIParams struct {

	/* ArtifactID.

	   The artifactId of the bundle containing the service API class
	*/
	ArtifactID string

	/* ClassName.

	   The name of the service API class
	*/
	ClassName string

	/* GroupID.

	   The groupId of the bundle containing the service API class
	*/
	GroupID string

	/* Version.

	   The version of the bundle containing the service API class
	*/
	Version string

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

GetExtensionsProvidingServiceAPIParams contains all the parameters to send to the API endpoint

for the get extensions providing service API operation.

Typically these are written to a http.Request.

func NewGetExtensionsProvidingServiceAPIParams

func NewGetExtensionsProvidingServiceAPIParams() *GetExtensionsProvidingServiceAPIParams

NewGetExtensionsProvidingServiceAPIParams creates a new GetExtensionsProvidingServiceAPIParams 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 NewGetExtensionsProvidingServiceAPIParamsWithContext

func NewGetExtensionsProvidingServiceAPIParamsWithContext(ctx context.Context) *GetExtensionsProvidingServiceAPIParams

NewGetExtensionsProvidingServiceAPIParamsWithContext creates a new GetExtensionsProvidingServiceAPIParams object with the ability to set a context for a request.

func NewGetExtensionsProvidingServiceAPIParamsWithHTTPClient

func NewGetExtensionsProvidingServiceAPIParamsWithHTTPClient(client *http.Client) *GetExtensionsProvidingServiceAPIParams

NewGetExtensionsProvidingServiceAPIParamsWithHTTPClient creates a new GetExtensionsProvidingServiceAPIParams object with the ability to set a custom HTTPClient for a request.

func NewGetExtensionsProvidingServiceAPIParamsWithTimeout

func NewGetExtensionsProvidingServiceAPIParamsWithTimeout(timeout time.Duration) *GetExtensionsProvidingServiceAPIParams

NewGetExtensionsProvidingServiceAPIParamsWithTimeout creates a new GetExtensionsProvidingServiceAPIParams object with the ability to set a timeout on a request.

func (*GetExtensionsProvidingServiceAPIParams) SetArtifactID

func (o *GetExtensionsProvidingServiceAPIParams) SetArtifactID(artifactID string)

SetArtifactID adds the artifactId to the get extensions providing service API params

func (*GetExtensionsProvidingServiceAPIParams) SetClassName

func (o *GetExtensionsProvidingServiceAPIParams) SetClassName(className string)

SetClassName adds the className to the get extensions providing service API params

func (*GetExtensionsProvidingServiceAPIParams) SetContext

SetContext adds the context to the get extensions providing service API params

func (*GetExtensionsProvidingServiceAPIParams) SetDefaults

func (o *GetExtensionsProvidingServiceAPIParams) SetDefaults()

SetDefaults hydrates default values in the get extensions providing service API params (not the query body).

All values with no default are reset to their zero value.

func (*GetExtensionsProvidingServiceAPIParams) SetGroupID

func (o *GetExtensionsProvidingServiceAPIParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the get extensions providing service API params

func (*GetExtensionsProvidingServiceAPIParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get extensions providing service API params

func (*GetExtensionsProvidingServiceAPIParams) SetTimeout

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

SetTimeout adds the timeout to the get extensions providing service API params

func (*GetExtensionsProvidingServiceAPIParams) SetVersion

func (o *GetExtensionsProvidingServiceAPIParams) SetVersion(version string)

SetVersion adds the version to the get extensions providing service API params

func (*GetExtensionsProvidingServiceAPIParams) WithArtifactID

WithArtifactID adds the artifactID to the get extensions providing service API params

func (*GetExtensionsProvidingServiceAPIParams) WithClassName

WithClassName adds the className to the get extensions providing service API params

func (*GetExtensionsProvidingServiceAPIParams) WithContext

WithContext adds the context to the get extensions providing service API params

func (*GetExtensionsProvidingServiceAPIParams) WithDefaults

WithDefaults hydrates default values in the get extensions providing service API params (not the query body).

All values with no default are reset to their zero value.

func (*GetExtensionsProvidingServiceAPIParams) WithGroupID

WithGroupID adds the groupID to the get extensions providing service API params

func (*GetExtensionsProvidingServiceAPIParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get extensions providing service API params

func (*GetExtensionsProvidingServiceAPIParams) WithTimeout

WithTimeout adds the timeout to the get extensions providing service API params

func (*GetExtensionsProvidingServiceAPIParams) WithVersion

WithVersion adds the version to the get extensions providing service API params

func (*GetExtensionsProvidingServiceAPIParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetExtensionsProvidingServiceAPIReader

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

GetExtensionsProvidingServiceAPIReader is a Reader for the GetExtensionsProvidingServiceAPI structure.

func (*GetExtensionsProvidingServiceAPIReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetExtensionsProvidingServiceAPIUnauthorized

type GetExtensionsProvidingServiceAPIUnauthorized struct {
}

GetExtensionsProvidingServiceAPIUnauthorized describes a response with status code 401, with default header values.

Client could not be authenticated.

func NewGetExtensionsProvidingServiceAPIUnauthorized

func NewGetExtensionsProvidingServiceAPIUnauthorized() *GetExtensionsProvidingServiceAPIUnauthorized

NewGetExtensionsProvidingServiceAPIUnauthorized creates a GetExtensionsProvidingServiceAPIUnauthorized with default headers values

func (*GetExtensionsProvidingServiceAPIUnauthorized) Error

func (*GetExtensionsProvidingServiceAPIUnauthorized) IsClientError added in v1.19.1

IsClientError returns true when this get extensions providing service Api unauthorized response has a 4xx status code

func (*GetExtensionsProvidingServiceAPIUnauthorized) IsCode added in v1.19.1

IsCode returns true when this get extensions providing service Api unauthorized response a status code equal to that given

func (*GetExtensionsProvidingServiceAPIUnauthorized) IsRedirect added in v1.19.1

IsRedirect returns true when this get extensions providing service Api unauthorized response has a 3xx status code

func (*GetExtensionsProvidingServiceAPIUnauthorized) IsServerError added in v1.19.1

IsServerError returns true when this get extensions providing service Api unauthorized response has a 5xx status code

func (*GetExtensionsProvidingServiceAPIUnauthorized) IsSuccess added in v1.19.1

IsSuccess returns true when this get extensions providing service Api unauthorized response has a 2xx status code

func (*GetExtensionsProvidingServiceAPIUnauthorized) String added in v1.19.1

type GetExtensionsReader

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

GetExtensionsReader is a Reader for the GetExtensions structure.

func (*GetExtensionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetExtensionsUnauthorized

type GetExtensionsUnauthorized struct {
}

GetExtensionsUnauthorized describes a response with status code 401, with default header values.

Client could not be authenticated.

func NewGetExtensionsUnauthorized

func NewGetExtensionsUnauthorized() *GetExtensionsUnauthorized

NewGetExtensionsUnauthorized creates a GetExtensionsUnauthorized with default headers values

func (*GetExtensionsUnauthorized) Error

func (o *GetExtensionsUnauthorized) Error() string

func (*GetExtensionsUnauthorized) IsClientError added in v1.19.1

func (o *GetExtensionsUnauthorized) IsClientError() bool

IsClientError returns true when this get extensions unauthorized response has a 4xx status code

func (*GetExtensionsUnauthorized) IsCode added in v1.19.1

func (o *GetExtensionsUnauthorized) IsCode(code int) bool

IsCode returns true when this get extensions unauthorized response a status code equal to that given

func (*GetExtensionsUnauthorized) IsRedirect added in v1.19.1

func (o *GetExtensionsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get extensions unauthorized response has a 3xx status code

func (*GetExtensionsUnauthorized) IsServerError added in v1.19.1

func (o *GetExtensionsUnauthorized) IsServerError() bool

IsServerError returns true when this get extensions unauthorized response has a 5xx status code

func (*GetExtensionsUnauthorized) IsSuccess added in v1.19.1

func (o *GetExtensionsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get extensions unauthorized response has a 2xx status code

func (*GetExtensionsUnauthorized) String added in v1.19.1

func (o *GetExtensionsUnauthorized) String() string

type GetTagsBadRequest

type GetTagsBadRequest struct {
}

GetTagsBadRequest 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 NewGetTagsBadRequest

func NewGetTagsBadRequest() *GetTagsBadRequest

NewGetTagsBadRequest creates a GetTagsBadRequest with default headers values

func (*GetTagsBadRequest) Error

func (o *GetTagsBadRequest) Error() string

func (*GetTagsBadRequest) IsClientError added in v1.19.1

func (o *GetTagsBadRequest) IsClientError() bool

IsClientError returns true when this get tags bad request response has a 4xx status code

func (*GetTagsBadRequest) IsCode added in v1.19.1

func (o *GetTagsBadRequest) IsCode(code int) bool

IsCode returns true when this get tags bad request response a status code equal to that given

func (*GetTagsBadRequest) IsRedirect added in v1.19.1

func (o *GetTagsBadRequest) IsRedirect() bool

IsRedirect returns true when this get tags bad request response has a 3xx status code

func (*GetTagsBadRequest) IsServerError added in v1.19.1

func (o *GetTagsBadRequest) IsServerError() bool

IsServerError returns true when this get tags bad request response has a 5xx status code

func (*GetTagsBadRequest) IsSuccess added in v1.19.1

func (o *GetTagsBadRequest) IsSuccess() bool

IsSuccess returns true when this get tags bad request response has a 2xx status code

func (*GetTagsBadRequest) String added in v1.19.1

func (o *GetTagsBadRequest) String() string

type GetTagsConflict

type GetTagsConflict struct {
}

GetTagsConflict 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 NewGetTagsConflict

func NewGetTagsConflict() *GetTagsConflict

NewGetTagsConflict creates a GetTagsConflict with default headers values

func (*GetTagsConflict) Error

func (o *GetTagsConflict) Error() string

func (*GetTagsConflict) IsClientError added in v1.19.1

func (o *GetTagsConflict) IsClientError() bool

IsClientError returns true when this get tags conflict response has a 4xx status code

func (*GetTagsConflict) IsCode added in v1.19.1

func (o *GetTagsConflict) IsCode(code int) bool

IsCode returns true when this get tags conflict response a status code equal to that given

func (*GetTagsConflict) IsRedirect added in v1.19.1

func (o *GetTagsConflict) IsRedirect() bool

IsRedirect returns true when this get tags conflict response has a 3xx status code

func (*GetTagsConflict) IsServerError added in v1.19.1

func (o *GetTagsConflict) IsServerError() bool

IsServerError returns true when this get tags conflict response has a 5xx status code

func (*GetTagsConflict) IsSuccess added in v1.19.1

func (o *GetTagsConflict) IsSuccess() bool

IsSuccess returns true when this get tags conflict response has a 2xx status code

func (*GetTagsConflict) String added in v1.19.1

func (o *GetTagsConflict) String() string

type GetTagsForbidden

type GetTagsForbidden struct {
}

GetTagsForbidden describes a response with status code 403, with default header values.

Client is not authorized to make this request.

func NewGetTagsForbidden

func NewGetTagsForbidden() *GetTagsForbidden

NewGetTagsForbidden creates a GetTagsForbidden with default headers values

func (*GetTagsForbidden) Error

func (o *GetTagsForbidden) Error() string

func (*GetTagsForbidden) IsClientError added in v1.19.1

func (o *GetTagsForbidden) IsClientError() bool

IsClientError returns true when this get tags forbidden response has a 4xx status code

func (*GetTagsForbidden) IsCode added in v1.19.1

func (o *GetTagsForbidden) IsCode(code int) bool

IsCode returns true when this get tags forbidden response a status code equal to that given

func (*GetTagsForbidden) IsRedirect added in v1.19.1

func (o *GetTagsForbidden) IsRedirect() bool

IsRedirect returns true when this get tags forbidden response has a 3xx status code

func (*GetTagsForbidden) IsServerError added in v1.19.1

func (o *GetTagsForbidden) IsServerError() bool

IsServerError returns true when this get tags forbidden response has a 5xx status code

func (*GetTagsForbidden) IsSuccess added in v1.19.1

func (o *GetTagsForbidden) IsSuccess() bool

IsSuccess returns true when this get tags forbidden response has a 2xx status code

func (*GetTagsForbidden) String added in v1.19.1

func (o *GetTagsForbidden) String() string

type GetTagsNotFound

type GetTagsNotFound struct {
}

GetTagsNotFound describes a response with status code 404, with default header values.

The specified resource could not be found.

func NewGetTagsNotFound

func NewGetTagsNotFound() *GetTagsNotFound

NewGetTagsNotFound creates a GetTagsNotFound with default headers values

func (*GetTagsNotFound) Error

func (o *GetTagsNotFound) Error() string

func (*GetTagsNotFound) IsClientError added in v1.19.1

func (o *GetTagsNotFound) IsClientError() bool

IsClientError returns true when this get tags not found response has a 4xx status code

func (*GetTagsNotFound) IsCode added in v1.19.1

func (o *GetTagsNotFound) IsCode(code int) bool

IsCode returns true when this get tags not found response a status code equal to that given

func (*GetTagsNotFound) IsRedirect added in v1.19.1

func (o *GetTagsNotFound) IsRedirect() bool

IsRedirect returns true when this get tags not found response has a 3xx status code

func (*GetTagsNotFound) IsServerError added in v1.19.1

func (o *GetTagsNotFound) IsServerError() bool

IsServerError returns true when this get tags not found response has a 5xx status code

func (*GetTagsNotFound) IsSuccess added in v1.19.1

func (o *GetTagsNotFound) IsSuccess() bool

IsSuccess returns true when this get tags not found response has a 2xx status code

func (*GetTagsNotFound) String added in v1.19.1

func (o *GetTagsNotFound) String() string

type GetTagsOK

type GetTagsOK struct {
	Payload []*models.TagCount
}

GetTagsOK describes a response with status code 200, with default header values.

successful operation

func NewGetTagsOK

func NewGetTagsOK() *GetTagsOK

NewGetTagsOK creates a GetTagsOK with default headers values

func (*GetTagsOK) Error

func (o *GetTagsOK) Error() string

func (*GetTagsOK) GetPayload

func (o *GetTagsOK) GetPayload() []*models.TagCount

func (*GetTagsOK) IsClientError added in v1.19.1

func (o *GetTagsOK) IsClientError() bool

IsClientError returns true when this get tags o k response has a 4xx status code

func (*GetTagsOK) IsCode added in v1.19.1

func (o *GetTagsOK) IsCode(code int) bool

IsCode returns true when this get tags o k response a status code equal to that given

func (*GetTagsOK) IsRedirect added in v1.19.1

func (o *GetTagsOK) IsRedirect() bool

IsRedirect returns true when this get tags o k response has a 3xx status code

func (*GetTagsOK) IsServerError added in v1.19.1

func (o *GetTagsOK) IsServerError() bool

IsServerError returns true when this get tags o k response has a 5xx status code

func (*GetTagsOK) IsSuccess added in v1.19.1

func (o *GetTagsOK) IsSuccess() bool

IsSuccess returns true when this get tags o k response has a 2xx status code

func (*GetTagsOK) String added in v1.19.1

func (o *GetTagsOK) String() string

type GetTagsParams

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

GetTagsParams contains all the parameters to send to the API endpoint

for the get tags operation.

Typically these are written to a http.Request.

func NewGetTagsParams

func NewGetTagsParams() *GetTagsParams

NewGetTagsParams creates a new GetTagsParams 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 NewGetTagsParamsWithContext

func NewGetTagsParamsWithContext(ctx context.Context) *GetTagsParams

NewGetTagsParamsWithContext creates a new GetTagsParams object with the ability to set a context for a request.

func NewGetTagsParamsWithHTTPClient

func NewGetTagsParamsWithHTTPClient(client *http.Client) *GetTagsParams

NewGetTagsParamsWithHTTPClient creates a new GetTagsParams object with the ability to set a custom HTTPClient for a request.

func NewGetTagsParamsWithTimeout

func NewGetTagsParamsWithTimeout(timeout time.Duration) *GetTagsParams

NewGetTagsParamsWithTimeout creates a new GetTagsParams object with the ability to set a timeout on a request.

func (*GetTagsParams) SetContext

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

SetContext adds the context to the get tags params

func (*GetTagsParams) SetDefaults

func (o *GetTagsParams) SetDefaults()

SetDefaults hydrates default values in the get tags params (not the query body).

All values with no default are reset to their zero value.

func (*GetTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get tags params

func (*GetTagsParams) SetTimeout

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

SetTimeout adds the timeout to the get tags params

func (*GetTagsParams) WithContext

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

WithContext adds the context to the get tags params

func (*GetTagsParams) WithDefaults

func (o *GetTagsParams) WithDefaults() *GetTagsParams

WithDefaults hydrates default values in the get tags params (not the query body).

All values with no default are reset to their zero value.

func (*GetTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get tags params

func (*GetTagsParams) WithTimeout

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

WithTimeout adds the timeout to the get tags params

func (*GetTagsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetTagsReader

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

GetTagsReader is a Reader for the GetTags structure.

func (*GetTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetTagsUnauthorized

type GetTagsUnauthorized struct {
}

GetTagsUnauthorized describes a response with status code 401, with default header values.

Client could not be authenticated.

func NewGetTagsUnauthorized

func NewGetTagsUnauthorized() *GetTagsUnauthorized

NewGetTagsUnauthorized creates a GetTagsUnauthorized with default headers values

func (*GetTagsUnauthorized) Error

func (o *GetTagsUnauthorized) Error() string

func (*GetTagsUnauthorized) IsClientError added in v1.19.1

func (o *GetTagsUnauthorized) IsClientError() bool

IsClientError returns true when this get tags unauthorized response has a 4xx status code

func (*GetTagsUnauthorized) IsCode added in v1.19.1

func (o *GetTagsUnauthorized) IsCode(code int) bool

IsCode returns true when this get tags unauthorized response a status code equal to that given

func (*GetTagsUnauthorized) IsRedirect added in v1.19.1

func (o *GetTagsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get tags unauthorized response has a 3xx status code

func (*GetTagsUnauthorized) IsServerError added in v1.19.1

func (o *GetTagsUnauthorized) IsServerError() bool

IsServerError returns true when this get tags unauthorized response has a 5xx status code

func (*GetTagsUnauthorized) IsSuccess added in v1.19.1

func (o *GetTagsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get tags unauthorized response has a 2xx status code

func (*GetTagsUnauthorized) String added in v1.19.1

func (o *GetTagsUnauthorized) String() string

Jump to

Keyboard shortcuts

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