funnel

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 funnel API

func (*Client) GetFunnel

func (a *Client) GetFunnel(params *GetFunnelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFunnelOK, error)

GetFunnel gets a funnel

func (*Client) RemoveFunnel

func (a *Client) RemoveFunnel(params *RemoveFunnelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveFunnelOK, error)

RemoveFunnel deletes a funnel

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateFunnel

func (a *Client) UpdateFunnel(params *UpdateFunnelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateFunnelOK, error)

UpdateFunnel updates a funnel

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetFunnel(params *GetFunnelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFunnelOK, error)

	RemoveFunnel(params *RemoveFunnelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveFunnelOK, error)

	UpdateFunnel(params *UpdateFunnelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateFunnelOK, 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 funnel API client.

type GetFunnelBadRequest

type GetFunnelBadRequest struct {
}

GetFunnelBadRequest describes a response with status code 400, with default header values.

NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.

func NewGetFunnelBadRequest

func NewGetFunnelBadRequest() *GetFunnelBadRequest

NewGetFunnelBadRequest creates a GetFunnelBadRequest with default headers values

func (*GetFunnelBadRequest) Error

func (o *GetFunnelBadRequest) Error() string

func (*GetFunnelBadRequest) IsClientError added in v1.19.1

func (o *GetFunnelBadRequest) IsClientError() bool

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

func (*GetFunnelBadRequest) IsCode added in v1.19.1

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

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

func (*GetFunnelBadRequest) IsRedirect added in v1.19.1

func (o *GetFunnelBadRequest) IsRedirect() bool

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

func (*GetFunnelBadRequest) IsServerError added in v1.19.1

func (o *GetFunnelBadRequest) IsServerError() bool

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

func (*GetFunnelBadRequest) IsSuccess added in v1.19.1

func (o *GetFunnelBadRequest) IsSuccess() bool

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

func (*GetFunnelBadRequest) String added in v1.19.1

func (o *GetFunnelBadRequest) String() string

type GetFunnelConflict

type GetFunnelConflict struct {
}

GetFunnelConflict describes a response with status code 409, with default header values.

The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.

func NewGetFunnelConflict

func NewGetFunnelConflict() *GetFunnelConflict

NewGetFunnelConflict creates a GetFunnelConflict with default headers values

func (*GetFunnelConflict) Error

func (o *GetFunnelConflict) Error() string

func (*GetFunnelConflict) IsClientError added in v1.19.1

func (o *GetFunnelConflict) IsClientError() bool

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

func (*GetFunnelConflict) IsCode added in v1.19.1

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

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

func (*GetFunnelConflict) IsRedirect added in v1.19.1

func (o *GetFunnelConflict) IsRedirect() bool

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

func (*GetFunnelConflict) IsServerError added in v1.19.1

func (o *GetFunnelConflict) IsServerError() bool

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

func (*GetFunnelConflict) IsSuccess added in v1.19.1

func (o *GetFunnelConflict) IsSuccess() bool

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

func (*GetFunnelConflict) String added in v1.19.1

func (o *GetFunnelConflict) String() string

type GetFunnelForbidden

type GetFunnelForbidden struct {
}

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

Client is not authorized to make this request.

func NewGetFunnelForbidden

func NewGetFunnelForbidden() *GetFunnelForbidden

NewGetFunnelForbidden creates a GetFunnelForbidden with default headers values

func (*GetFunnelForbidden) Error

func (o *GetFunnelForbidden) Error() string

func (*GetFunnelForbidden) IsClientError added in v1.19.1

func (o *GetFunnelForbidden) IsClientError() bool

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

func (*GetFunnelForbidden) IsCode added in v1.19.1

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

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

func (*GetFunnelForbidden) IsRedirect added in v1.19.1

func (o *GetFunnelForbidden) IsRedirect() bool

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

func (*GetFunnelForbidden) IsServerError added in v1.19.1

func (o *GetFunnelForbidden) IsServerError() bool

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

func (*GetFunnelForbidden) IsSuccess added in v1.19.1

func (o *GetFunnelForbidden) IsSuccess() bool

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

func (*GetFunnelForbidden) String added in v1.19.1

func (o *GetFunnelForbidden) String() string

type GetFunnelNotFound

type GetFunnelNotFound struct {
}

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

The specified resource could not be found.

func NewGetFunnelNotFound

func NewGetFunnelNotFound() *GetFunnelNotFound

NewGetFunnelNotFound creates a GetFunnelNotFound with default headers values

func (*GetFunnelNotFound) Error

func (o *GetFunnelNotFound) Error() string

func (*GetFunnelNotFound) IsClientError added in v1.19.1

func (o *GetFunnelNotFound) IsClientError() bool

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

func (*GetFunnelNotFound) IsCode added in v1.19.1

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

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

func (*GetFunnelNotFound) IsRedirect added in v1.19.1

func (o *GetFunnelNotFound) IsRedirect() bool

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

func (*GetFunnelNotFound) IsServerError added in v1.19.1

func (o *GetFunnelNotFound) IsServerError() bool

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

func (*GetFunnelNotFound) IsSuccess added in v1.19.1

func (o *GetFunnelNotFound) IsSuccess() bool

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

func (*GetFunnelNotFound) String added in v1.19.1

func (o *GetFunnelNotFound) String() string

type GetFunnelOK

type GetFunnelOK struct {
	Payload *models.FunnelEntity
}

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

successful operation

func NewGetFunnelOK

func NewGetFunnelOK() *GetFunnelOK

NewGetFunnelOK creates a GetFunnelOK with default headers values

func (*GetFunnelOK) Error

func (o *GetFunnelOK) Error() string

func (*GetFunnelOK) GetPayload

func (o *GetFunnelOK) GetPayload() *models.FunnelEntity

func (*GetFunnelOK) IsClientError added in v1.19.1

func (o *GetFunnelOK) IsClientError() bool

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

func (*GetFunnelOK) IsCode added in v1.19.1

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

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

func (*GetFunnelOK) IsRedirect added in v1.19.1

func (o *GetFunnelOK) IsRedirect() bool

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

func (*GetFunnelOK) IsServerError added in v1.19.1

func (o *GetFunnelOK) IsServerError() bool

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

func (*GetFunnelOK) IsSuccess added in v1.19.1

func (o *GetFunnelOK) IsSuccess() bool

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

func (*GetFunnelOK) String added in v1.19.1

func (o *GetFunnelOK) String() string

type GetFunnelParams

type GetFunnelParams struct {

	/* ID.

	   The funnel id.
	*/
	ID string

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

GetFunnelParams contains all the parameters to send to the API endpoint

for the get funnel operation.

Typically these are written to a http.Request.

func NewGetFunnelParams

func NewGetFunnelParams() *GetFunnelParams

NewGetFunnelParams creates a new GetFunnelParams 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 NewGetFunnelParamsWithContext

func NewGetFunnelParamsWithContext(ctx context.Context) *GetFunnelParams

NewGetFunnelParamsWithContext creates a new GetFunnelParams object with the ability to set a context for a request.

func NewGetFunnelParamsWithHTTPClient

func NewGetFunnelParamsWithHTTPClient(client *http.Client) *GetFunnelParams

NewGetFunnelParamsWithHTTPClient creates a new GetFunnelParams object with the ability to set a custom HTTPClient for a request.

func NewGetFunnelParamsWithTimeout

func NewGetFunnelParamsWithTimeout(timeout time.Duration) *GetFunnelParams

NewGetFunnelParamsWithTimeout creates a new GetFunnelParams object with the ability to set a timeout on a request.

func (*GetFunnelParams) SetContext

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

SetContext adds the context to the get funnel params

func (*GetFunnelParams) SetDefaults

func (o *GetFunnelParams) SetDefaults()

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

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

func (*GetFunnelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get funnel params

func (*GetFunnelParams) SetID

func (o *GetFunnelParams) SetID(id string)

SetID adds the id to the get funnel params

func (*GetFunnelParams) SetTimeout

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

SetTimeout adds the timeout to the get funnel params

func (*GetFunnelParams) WithContext

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

WithContext adds the context to the get funnel params

func (*GetFunnelParams) WithDefaults

func (o *GetFunnelParams) WithDefaults() *GetFunnelParams

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

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

func (*GetFunnelParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get funnel params

func (*GetFunnelParams) WithID

func (o *GetFunnelParams) WithID(id string) *GetFunnelParams

WithID adds the id to the get funnel params

func (*GetFunnelParams) WithTimeout

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

WithTimeout adds the timeout to the get funnel params

func (*GetFunnelParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetFunnelReader

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

GetFunnelReader is a Reader for the GetFunnel structure.

func (*GetFunnelReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFunnelUnauthorized

type GetFunnelUnauthorized struct {
}

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

Client could not be authenticated.

func NewGetFunnelUnauthorized

func NewGetFunnelUnauthorized() *GetFunnelUnauthorized

NewGetFunnelUnauthorized creates a GetFunnelUnauthorized with default headers values

func (*GetFunnelUnauthorized) Error

func (o *GetFunnelUnauthorized) Error() string

func (*GetFunnelUnauthorized) IsClientError added in v1.19.1

func (o *GetFunnelUnauthorized) IsClientError() bool

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

func (*GetFunnelUnauthorized) IsCode added in v1.19.1

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

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

func (*GetFunnelUnauthorized) IsRedirect added in v1.19.1

func (o *GetFunnelUnauthorized) IsRedirect() bool

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

func (*GetFunnelUnauthorized) IsServerError added in v1.19.1

func (o *GetFunnelUnauthorized) IsServerError() bool

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

func (*GetFunnelUnauthorized) IsSuccess added in v1.19.1

func (o *GetFunnelUnauthorized) IsSuccess() bool

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

func (*GetFunnelUnauthorized) String added in v1.19.1

func (o *GetFunnelUnauthorized) String() string

type RemoveFunnelBadRequest

type RemoveFunnelBadRequest struct {
}

RemoveFunnelBadRequest describes a response with status code 400, with default header values.

NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.

func NewRemoveFunnelBadRequest

func NewRemoveFunnelBadRequest() *RemoveFunnelBadRequest

NewRemoveFunnelBadRequest creates a RemoveFunnelBadRequest with default headers values

func (*RemoveFunnelBadRequest) Error

func (o *RemoveFunnelBadRequest) Error() string

func (*RemoveFunnelBadRequest) IsClientError added in v1.19.1

func (o *RemoveFunnelBadRequest) IsClientError() bool

IsClientError returns true when this remove funnel bad request response has a 4xx status code

func (*RemoveFunnelBadRequest) IsCode added in v1.19.1

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

IsCode returns true when this remove funnel bad request response a status code equal to that given

func (*RemoveFunnelBadRequest) IsRedirect added in v1.19.1

func (o *RemoveFunnelBadRequest) IsRedirect() bool

IsRedirect returns true when this remove funnel bad request response has a 3xx status code

func (*RemoveFunnelBadRequest) IsServerError added in v1.19.1

func (o *RemoveFunnelBadRequest) IsServerError() bool

IsServerError returns true when this remove funnel bad request response has a 5xx status code

func (*RemoveFunnelBadRequest) IsSuccess added in v1.19.1

func (o *RemoveFunnelBadRequest) IsSuccess() bool

IsSuccess returns true when this remove funnel bad request response has a 2xx status code

func (*RemoveFunnelBadRequest) String added in v1.19.1

func (o *RemoveFunnelBadRequest) String() string

type RemoveFunnelConflict

type RemoveFunnelConflict struct {
}

RemoveFunnelConflict describes a response with status code 409, with default header values.

The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.

func NewRemoveFunnelConflict

func NewRemoveFunnelConflict() *RemoveFunnelConflict

NewRemoveFunnelConflict creates a RemoveFunnelConflict with default headers values

func (*RemoveFunnelConflict) Error

func (o *RemoveFunnelConflict) Error() string

func (*RemoveFunnelConflict) IsClientError added in v1.19.1

func (o *RemoveFunnelConflict) IsClientError() bool

IsClientError returns true when this remove funnel conflict response has a 4xx status code

func (*RemoveFunnelConflict) IsCode added in v1.19.1

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

IsCode returns true when this remove funnel conflict response a status code equal to that given

func (*RemoveFunnelConflict) IsRedirect added in v1.19.1

func (o *RemoveFunnelConflict) IsRedirect() bool

IsRedirect returns true when this remove funnel conflict response has a 3xx status code

func (*RemoveFunnelConflict) IsServerError added in v1.19.1

func (o *RemoveFunnelConflict) IsServerError() bool

IsServerError returns true when this remove funnel conflict response has a 5xx status code

func (*RemoveFunnelConflict) IsSuccess added in v1.19.1

func (o *RemoveFunnelConflict) IsSuccess() bool

IsSuccess returns true when this remove funnel conflict response has a 2xx status code

func (*RemoveFunnelConflict) String added in v1.19.1

func (o *RemoveFunnelConflict) String() string

type RemoveFunnelForbidden

type RemoveFunnelForbidden struct {
}

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

Client is not authorized to make this request.

func NewRemoveFunnelForbidden

func NewRemoveFunnelForbidden() *RemoveFunnelForbidden

NewRemoveFunnelForbidden creates a RemoveFunnelForbidden with default headers values

func (*RemoveFunnelForbidden) Error

func (o *RemoveFunnelForbidden) Error() string

func (*RemoveFunnelForbidden) IsClientError added in v1.19.1

func (o *RemoveFunnelForbidden) IsClientError() bool

IsClientError returns true when this remove funnel forbidden response has a 4xx status code

func (*RemoveFunnelForbidden) IsCode added in v1.19.1

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

IsCode returns true when this remove funnel forbidden response a status code equal to that given

func (*RemoveFunnelForbidden) IsRedirect added in v1.19.1

func (o *RemoveFunnelForbidden) IsRedirect() bool

IsRedirect returns true when this remove funnel forbidden response has a 3xx status code

func (*RemoveFunnelForbidden) IsServerError added in v1.19.1

func (o *RemoveFunnelForbidden) IsServerError() bool

IsServerError returns true when this remove funnel forbidden response has a 5xx status code

func (*RemoveFunnelForbidden) IsSuccess added in v1.19.1

func (o *RemoveFunnelForbidden) IsSuccess() bool

IsSuccess returns true when this remove funnel forbidden response has a 2xx status code

func (*RemoveFunnelForbidden) String added in v1.19.1

func (o *RemoveFunnelForbidden) String() string

type RemoveFunnelNotFound

type RemoveFunnelNotFound struct {
}

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

The specified resource could not be found.

func NewRemoveFunnelNotFound

func NewRemoveFunnelNotFound() *RemoveFunnelNotFound

NewRemoveFunnelNotFound creates a RemoveFunnelNotFound with default headers values

func (*RemoveFunnelNotFound) Error

func (o *RemoveFunnelNotFound) Error() string

func (*RemoveFunnelNotFound) IsClientError added in v1.19.1

func (o *RemoveFunnelNotFound) IsClientError() bool

IsClientError returns true when this remove funnel not found response has a 4xx status code

func (*RemoveFunnelNotFound) IsCode added in v1.19.1

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

IsCode returns true when this remove funnel not found response a status code equal to that given

func (*RemoveFunnelNotFound) IsRedirect added in v1.19.1

func (o *RemoveFunnelNotFound) IsRedirect() bool

IsRedirect returns true when this remove funnel not found response has a 3xx status code

func (*RemoveFunnelNotFound) IsServerError added in v1.19.1

func (o *RemoveFunnelNotFound) IsServerError() bool

IsServerError returns true when this remove funnel not found response has a 5xx status code

func (*RemoveFunnelNotFound) IsSuccess added in v1.19.1

func (o *RemoveFunnelNotFound) IsSuccess() bool

IsSuccess returns true when this remove funnel not found response has a 2xx status code

func (*RemoveFunnelNotFound) String added in v1.19.1

func (o *RemoveFunnelNotFound) String() string

type RemoveFunnelOK

type RemoveFunnelOK struct {
	Payload *models.FunnelEntity
}

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

successful operation

func NewRemoveFunnelOK

func NewRemoveFunnelOK() *RemoveFunnelOK

NewRemoveFunnelOK creates a RemoveFunnelOK with default headers values

func (*RemoveFunnelOK) Error

func (o *RemoveFunnelOK) Error() string

func (*RemoveFunnelOK) GetPayload

func (o *RemoveFunnelOK) GetPayload() *models.FunnelEntity

func (*RemoveFunnelOK) IsClientError added in v1.19.1

func (o *RemoveFunnelOK) IsClientError() bool

IsClientError returns true when this remove funnel o k response has a 4xx status code

func (*RemoveFunnelOK) IsCode added in v1.19.1

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

IsCode returns true when this remove funnel o k response a status code equal to that given

func (*RemoveFunnelOK) IsRedirect added in v1.19.1

func (o *RemoveFunnelOK) IsRedirect() bool

IsRedirect returns true when this remove funnel o k response has a 3xx status code

func (*RemoveFunnelOK) IsServerError added in v1.19.1

func (o *RemoveFunnelOK) IsServerError() bool

IsServerError returns true when this remove funnel o k response has a 5xx status code

func (*RemoveFunnelOK) IsSuccess added in v1.19.1

func (o *RemoveFunnelOK) IsSuccess() bool

IsSuccess returns true when this remove funnel o k response has a 2xx status code

func (*RemoveFunnelOK) String added in v1.19.1

func (o *RemoveFunnelOK) String() string

type RemoveFunnelParams

type RemoveFunnelParams struct {

	/* ClientID.

	   If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response.
	*/
	ClientID *string

	/* DisconnectedNodeAcknowledged.

	   Acknowledges that this node is disconnected to allow for mutable requests to proceed.
	*/
	DisconnectedNodeAcknowledged *bool

	/* ID.

	   The funnel id.
	*/
	ID string

	/* Version.

	   The revision is used to verify the client is working with the latest version of the flow.
	*/
	Version *string

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

RemoveFunnelParams contains all the parameters to send to the API endpoint

for the remove funnel operation.

Typically these are written to a http.Request.

func NewRemoveFunnelParams

func NewRemoveFunnelParams() *RemoveFunnelParams

NewRemoveFunnelParams creates a new RemoveFunnelParams 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 NewRemoveFunnelParamsWithContext

func NewRemoveFunnelParamsWithContext(ctx context.Context) *RemoveFunnelParams

NewRemoveFunnelParamsWithContext creates a new RemoveFunnelParams object with the ability to set a context for a request.

func NewRemoveFunnelParamsWithHTTPClient

func NewRemoveFunnelParamsWithHTTPClient(client *http.Client) *RemoveFunnelParams

NewRemoveFunnelParamsWithHTTPClient creates a new RemoveFunnelParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveFunnelParamsWithTimeout

func NewRemoveFunnelParamsWithTimeout(timeout time.Duration) *RemoveFunnelParams

NewRemoveFunnelParamsWithTimeout creates a new RemoveFunnelParams object with the ability to set a timeout on a request.

func (*RemoveFunnelParams) SetClientID

func (o *RemoveFunnelParams) SetClientID(clientID *string)

SetClientID adds the clientId to the remove funnel params

func (*RemoveFunnelParams) SetContext

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

SetContext adds the context to the remove funnel params

func (*RemoveFunnelParams) SetDefaults

func (o *RemoveFunnelParams) SetDefaults()

SetDefaults hydrates default values in the remove funnel params (not the query body).

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

func (*RemoveFunnelParams) SetDisconnectedNodeAcknowledged

func (o *RemoveFunnelParams) SetDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool)

SetDisconnectedNodeAcknowledged adds the disconnectedNodeAcknowledged to the remove funnel params

func (*RemoveFunnelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove funnel params

func (*RemoveFunnelParams) SetID

func (o *RemoveFunnelParams) SetID(id string)

SetID adds the id to the remove funnel params

func (*RemoveFunnelParams) SetTimeout

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

SetTimeout adds the timeout to the remove funnel params

func (*RemoveFunnelParams) SetVersion

func (o *RemoveFunnelParams) SetVersion(version *string)

SetVersion adds the version to the remove funnel params

func (*RemoveFunnelParams) WithClientID

func (o *RemoveFunnelParams) WithClientID(clientID *string) *RemoveFunnelParams

WithClientID adds the clientID to the remove funnel params

func (*RemoveFunnelParams) WithContext

WithContext adds the context to the remove funnel params

func (*RemoveFunnelParams) WithDefaults

func (o *RemoveFunnelParams) WithDefaults() *RemoveFunnelParams

WithDefaults hydrates default values in the remove funnel params (not the query body).

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

func (*RemoveFunnelParams) WithDisconnectedNodeAcknowledged

func (o *RemoveFunnelParams) WithDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool) *RemoveFunnelParams

WithDisconnectedNodeAcknowledged adds the disconnectedNodeAcknowledged to the remove funnel params

func (*RemoveFunnelParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the remove funnel params

func (*RemoveFunnelParams) WithID

WithID adds the id to the remove funnel params

func (*RemoveFunnelParams) WithTimeout

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

WithTimeout adds the timeout to the remove funnel params

func (*RemoveFunnelParams) WithVersion

func (o *RemoveFunnelParams) WithVersion(version *string) *RemoveFunnelParams

WithVersion adds the version to the remove funnel params

func (*RemoveFunnelParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RemoveFunnelReader

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

RemoveFunnelReader is a Reader for the RemoveFunnel structure.

func (*RemoveFunnelReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveFunnelUnauthorized

type RemoveFunnelUnauthorized struct {
}

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

Client could not be authenticated.

func NewRemoveFunnelUnauthorized

func NewRemoveFunnelUnauthorized() *RemoveFunnelUnauthorized

NewRemoveFunnelUnauthorized creates a RemoveFunnelUnauthorized with default headers values

func (*RemoveFunnelUnauthorized) Error

func (o *RemoveFunnelUnauthorized) Error() string

func (*RemoveFunnelUnauthorized) IsClientError added in v1.19.1

func (o *RemoveFunnelUnauthorized) IsClientError() bool

IsClientError returns true when this remove funnel unauthorized response has a 4xx status code

func (*RemoveFunnelUnauthorized) IsCode added in v1.19.1

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

IsCode returns true when this remove funnel unauthorized response a status code equal to that given

func (*RemoveFunnelUnauthorized) IsRedirect added in v1.19.1

func (o *RemoveFunnelUnauthorized) IsRedirect() bool

IsRedirect returns true when this remove funnel unauthorized response has a 3xx status code

func (*RemoveFunnelUnauthorized) IsServerError added in v1.19.1

func (o *RemoveFunnelUnauthorized) IsServerError() bool

IsServerError returns true when this remove funnel unauthorized response has a 5xx status code

func (*RemoveFunnelUnauthorized) IsSuccess added in v1.19.1

func (o *RemoveFunnelUnauthorized) IsSuccess() bool

IsSuccess returns true when this remove funnel unauthorized response has a 2xx status code

func (*RemoveFunnelUnauthorized) String added in v1.19.1

func (o *RemoveFunnelUnauthorized) String() string

type UpdateFunnelBadRequest

type UpdateFunnelBadRequest struct {
}

UpdateFunnelBadRequest describes a response with status code 400, with default header values.

NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.

func NewUpdateFunnelBadRequest

func NewUpdateFunnelBadRequest() *UpdateFunnelBadRequest

NewUpdateFunnelBadRequest creates a UpdateFunnelBadRequest with default headers values

func (*UpdateFunnelBadRequest) Error

func (o *UpdateFunnelBadRequest) Error() string

func (*UpdateFunnelBadRequest) IsClientError added in v1.19.1

func (o *UpdateFunnelBadRequest) IsClientError() bool

IsClientError returns true when this update funnel bad request response has a 4xx status code

func (*UpdateFunnelBadRequest) IsCode added in v1.19.1

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

IsCode returns true when this update funnel bad request response a status code equal to that given

func (*UpdateFunnelBadRequest) IsRedirect added in v1.19.1

func (o *UpdateFunnelBadRequest) IsRedirect() bool

IsRedirect returns true when this update funnel bad request response has a 3xx status code

func (*UpdateFunnelBadRequest) IsServerError added in v1.19.1

func (o *UpdateFunnelBadRequest) IsServerError() bool

IsServerError returns true when this update funnel bad request response has a 5xx status code

func (*UpdateFunnelBadRequest) IsSuccess added in v1.19.1

func (o *UpdateFunnelBadRequest) IsSuccess() bool

IsSuccess returns true when this update funnel bad request response has a 2xx status code

func (*UpdateFunnelBadRequest) String added in v1.19.1

func (o *UpdateFunnelBadRequest) String() string

type UpdateFunnelConflict

type UpdateFunnelConflict struct {
}

UpdateFunnelConflict describes a response with status code 409, with default header values.

The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.

func NewUpdateFunnelConflict

func NewUpdateFunnelConflict() *UpdateFunnelConflict

NewUpdateFunnelConflict creates a UpdateFunnelConflict with default headers values

func (*UpdateFunnelConflict) Error

func (o *UpdateFunnelConflict) Error() string

func (*UpdateFunnelConflict) IsClientError added in v1.19.1

func (o *UpdateFunnelConflict) IsClientError() bool

IsClientError returns true when this update funnel conflict response has a 4xx status code

func (*UpdateFunnelConflict) IsCode added in v1.19.1

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

IsCode returns true when this update funnel conflict response a status code equal to that given

func (*UpdateFunnelConflict) IsRedirect added in v1.19.1

func (o *UpdateFunnelConflict) IsRedirect() bool

IsRedirect returns true when this update funnel conflict response has a 3xx status code

func (*UpdateFunnelConflict) IsServerError added in v1.19.1

func (o *UpdateFunnelConflict) IsServerError() bool

IsServerError returns true when this update funnel conflict response has a 5xx status code

func (*UpdateFunnelConflict) IsSuccess added in v1.19.1

func (o *UpdateFunnelConflict) IsSuccess() bool

IsSuccess returns true when this update funnel conflict response has a 2xx status code

func (*UpdateFunnelConflict) String added in v1.19.1

func (o *UpdateFunnelConflict) String() string

type UpdateFunnelForbidden

type UpdateFunnelForbidden struct {
}

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

Client is not authorized to make this request.

func NewUpdateFunnelForbidden

func NewUpdateFunnelForbidden() *UpdateFunnelForbidden

NewUpdateFunnelForbidden creates a UpdateFunnelForbidden with default headers values

func (*UpdateFunnelForbidden) Error

func (o *UpdateFunnelForbidden) Error() string

func (*UpdateFunnelForbidden) IsClientError added in v1.19.1

func (o *UpdateFunnelForbidden) IsClientError() bool

IsClientError returns true when this update funnel forbidden response has a 4xx status code

func (*UpdateFunnelForbidden) IsCode added in v1.19.1

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

IsCode returns true when this update funnel forbidden response a status code equal to that given

func (*UpdateFunnelForbidden) IsRedirect added in v1.19.1

func (o *UpdateFunnelForbidden) IsRedirect() bool

IsRedirect returns true when this update funnel forbidden response has a 3xx status code

func (*UpdateFunnelForbidden) IsServerError added in v1.19.1

func (o *UpdateFunnelForbidden) IsServerError() bool

IsServerError returns true when this update funnel forbidden response has a 5xx status code

func (*UpdateFunnelForbidden) IsSuccess added in v1.19.1

func (o *UpdateFunnelForbidden) IsSuccess() bool

IsSuccess returns true when this update funnel forbidden response has a 2xx status code

func (*UpdateFunnelForbidden) String added in v1.19.1

func (o *UpdateFunnelForbidden) String() string

type UpdateFunnelNotFound

type UpdateFunnelNotFound struct {
}

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

The specified resource could not be found.

func NewUpdateFunnelNotFound

func NewUpdateFunnelNotFound() *UpdateFunnelNotFound

NewUpdateFunnelNotFound creates a UpdateFunnelNotFound with default headers values

func (*UpdateFunnelNotFound) Error

func (o *UpdateFunnelNotFound) Error() string

func (*UpdateFunnelNotFound) IsClientError added in v1.19.1

func (o *UpdateFunnelNotFound) IsClientError() bool

IsClientError returns true when this update funnel not found response has a 4xx status code

func (*UpdateFunnelNotFound) IsCode added in v1.19.1

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

IsCode returns true when this update funnel not found response a status code equal to that given

func (*UpdateFunnelNotFound) IsRedirect added in v1.19.1

func (o *UpdateFunnelNotFound) IsRedirect() bool

IsRedirect returns true when this update funnel not found response has a 3xx status code

func (*UpdateFunnelNotFound) IsServerError added in v1.19.1

func (o *UpdateFunnelNotFound) IsServerError() bool

IsServerError returns true when this update funnel not found response has a 5xx status code

func (*UpdateFunnelNotFound) IsSuccess added in v1.19.1

func (o *UpdateFunnelNotFound) IsSuccess() bool

IsSuccess returns true when this update funnel not found response has a 2xx status code

func (*UpdateFunnelNotFound) String added in v1.19.1

func (o *UpdateFunnelNotFound) String() string

type UpdateFunnelOK

type UpdateFunnelOK struct {
	Payload *models.FunnelEntity
}

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

successful operation

func NewUpdateFunnelOK

func NewUpdateFunnelOK() *UpdateFunnelOK

NewUpdateFunnelOK creates a UpdateFunnelOK with default headers values

func (*UpdateFunnelOK) Error

func (o *UpdateFunnelOK) Error() string

func (*UpdateFunnelOK) GetPayload

func (o *UpdateFunnelOK) GetPayload() *models.FunnelEntity

func (*UpdateFunnelOK) IsClientError added in v1.19.1

func (o *UpdateFunnelOK) IsClientError() bool

IsClientError returns true when this update funnel o k response has a 4xx status code

func (*UpdateFunnelOK) IsCode added in v1.19.1

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

IsCode returns true when this update funnel o k response a status code equal to that given

func (*UpdateFunnelOK) IsRedirect added in v1.19.1

func (o *UpdateFunnelOK) IsRedirect() bool

IsRedirect returns true when this update funnel o k response has a 3xx status code

func (*UpdateFunnelOK) IsServerError added in v1.19.1

func (o *UpdateFunnelOK) IsServerError() bool

IsServerError returns true when this update funnel o k response has a 5xx status code

func (*UpdateFunnelOK) IsSuccess added in v1.19.1

func (o *UpdateFunnelOK) IsSuccess() bool

IsSuccess returns true when this update funnel o k response has a 2xx status code

func (*UpdateFunnelOK) String added in v1.19.1

func (o *UpdateFunnelOK) String() string

type UpdateFunnelParams

type UpdateFunnelParams struct {

	/* Body.

	   The funnel configuration details.
	*/
	Body *models.FunnelEntity

	/* ID.

	   The funnel id.
	*/
	ID string

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

UpdateFunnelParams contains all the parameters to send to the API endpoint

for the update funnel operation.

Typically these are written to a http.Request.

func NewUpdateFunnelParams

func NewUpdateFunnelParams() *UpdateFunnelParams

NewUpdateFunnelParams creates a new UpdateFunnelParams 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 NewUpdateFunnelParamsWithContext

func NewUpdateFunnelParamsWithContext(ctx context.Context) *UpdateFunnelParams

NewUpdateFunnelParamsWithContext creates a new UpdateFunnelParams object with the ability to set a context for a request.

func NewUpdateFunnelParamsWithHTTPClient

func NewUpdateFunnelParamsWithHTTPClient(client *http.Client) *UpdateFunnelParams

NewUpdateFunnelParamsWithHTTPClient creates a new UpdateFunnelParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateFunnelParamsWithTimeout

func NewUpdateFunnelParamsWithTimeout(timeout time.Duration) *UpdateFunnelParams

NewUpdateFunnelParamsWithTimeout creates a new UpdateFunnelParams object with the ability to set a timeout on a request.

func (*UpdateFunnelParams) SetBody

func (o *UpdateFunnelParams) SetBody(body *models.FunnelEntity)

SetBody adds the body to the update funnel params

func (*UpdateFunnelParams) SetContext

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

SetContext adds the context to the update funnel params

func (*UpdateFunnelParams) SetDefaults

func (o *UpdateFunnelParams) SetDefaults()

SetDefaults hydrates default values in the update funnel params (not the query body).

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

func (*UpdateFunnelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update funnel params

func (*UpdateFunnelParams) SetID

func (o *UpdateFunnelParams) SetID(id string)

SetID adds the id to the update funnel params

func (*UpdateFunnelParams) SetTimeout

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

SetTimeout adds the timeout to the update funnel params

func (*UpdateFunnelParams) WithBody

WithBody adds the body to the update funnel params

func (*UpdateFunnelParams) WithContext

WithContext adds the context to the update funnel params

func (*UpdateFunnelParams) WithDefaults

func (o *UpdateFunnelParams) WithDefaults() *UpdateFunnelParams

WithDefaults hydrates default values in the update funnel params (not the query body).

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

func (*UpdateFunnelParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update funnel params

func (*UpdateFunnelParams) WithID

WithID adds the id to the update funnel params

func (*UpdateFunnelParams) WithTimeout

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

WithTimeout adds the timeout to the update funnel params

func (*UpdateFunnelParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateFunnelReader

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

UpdateFunnelReader is a Reader for the UpdateFunnel structure.

func (*UpdateFunnelReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateFunnelUnauthorized

type UpdateFunnelUnauthorized struct {
}

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

Client could not be authenticated.

func NewUpdateFunnelUnauthorized

func NewUpdateFunnelUnauthorized() *UpdateFunnelUnauthorized

NewUpdateFunnelUnauthorized creates a UpdateFunnelUnauthorized with default headers values

func (*UpdateFunnelUnauthorized) Error

func (o *UpdateFunnelUnauthorized) Error() string

func (*UpdateFunnelUnauthorized) IsClientError added in v1.19.1

func (o *UpdateFunnelUnauthorized) IsClientError() bool

IsClientError returns true when this update funnel unauthorized response has a 4xx status code

func (*UpdateFunnelUnauthorized) IsCode added in v1.19.1

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

IsCode returns true when this update funnel unauthorized response a status code equal to that given

func (*UpdateFunnelUnauthorized) IsRedirect added in v1.19.1

func (o *UpdateFunnelUnauthorized) IsRedirect() bool

IsRedirect returns true when this update funnel unauthorized response has a 3xx status code

func (*UpdateFunnelUnauthorized) IsServerError added in v1.19.1

func (o *UpdateFunnelUnauthorized) IsServerError() bool

IsServerError returns true when this update funnel unauthorized response has a 5xx status code

func (*UpdateFunnelUnauthorized) IsSuccess added in v1.19.1

func (o *UpdateFunnelUnauthorized) IsSuccess() bool

IsSuccess returns true when this update funnel unauthorized response has a 2xx status code

func (*UpdateFunnelUnauthorized) String added in v1.19.1

func (o *UpdateFunnelUnauthorized) String() string

Jump to

Keyboard shortcuts

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