controller_services

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 controller services API

func (*Client) GetControllerService

func (a *Client) GetControllerService(params *GetControllerServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetControllerServiceOK, error)

GetControllerService gets a controller service

If the uiOnly query parameter is provided with a value of true, the returned entity may only contain fields that are necessary for rendering the NiFi User Interface. As such, the selected fields may change at any time, even during incremental releases, without warning. As a result, this parameter should not be provided by any client other than the UI.

func (*Client) GetControllerServiceReferences

func (a *Client) GetControllerServiceReferences(params *GetControllerServiceReferencesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetControllerServiceReferencesOK, error)

GetControllerServiceReferences gets a controller service

func (*Client) RemoveControllerService

func (a *Client) RemoveControllerService(params *RemoveControllerServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveControllerServiceOK, error)

RemoveControllerService deletes a controller service

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateControllerService

func (a *Client) UpdateControllerService(params *UpdateControllerServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateControllerServiceOK, error)

UpdateControllerService updates a controller service

func (*Client) UpdateControllerServiceReferences

func (a *Client) UpdateControllerServiceReferences(params *UpdateControllerServiceReferencesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateControllerServiceReferencesOK, error)

UpdateControllerServiceReferences updates a controller services references

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetControllerService(params *GetControllerServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetControllerServiceOK, error)

	GetControllerServiceReferences(params *GetControllerServiceReferencesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetControllerServiceReferencesOK, error)

	RemoveControllerService(params *RemoveControllerServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveControllerServiceOK, error)

	UpdateControllerService(params *UpdateControllerServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateControllerServiceOK, error)

	UpdateControllerServiceReferences(params *UpdateControllerServiceReferencesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateControllerServiceReferencesOK, 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 controller services API client.

type GetControllerServiceBadRequest

type GetControllerServiceBadRequest struct {
}

GetControllerServiceBadRequest 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 NewGetControllerServiceBadRequest

func NewGetControllerServiceBadRequest() *GetControllerServiceBadRequest

NewGetControllerServiceBadRequest creates a GetControllerServiceBadRequest with default headers values

func (*GetControllerServiceBadRequest) Error

func (*GetControllerServiceBadRequest) IsClientError added in v1.19.1

func (o *GetControllerServiceBadRequest) IsClientError() bool

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

func (*GetControllerServiceBadRequest) IsCode added in v1.19.1

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

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

func (*GetControllerServiceBadRequest) IsRedirect added in v1.19.1

func (o *GetControllerServiceBadRequest) IsRedirect() bool

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

func (*GetControllerServiceBadRequest) IsServerError added in v1.19.1

func (o *GetControllerServiceBadRequest) IsServerError() bool

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

func (*GetControllerServiceBadRequest) IsSuccess added in v1.19.1

func (o *GetControllerServiceBadRequest) IsSuccess() bool

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

func (*GetControllerServiceBadRequest) String added in v1.19.1

type GetControllerServiceConflict

type GetControllerServiceConflict struct {
}

GetControllerServiceConflict 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 NewGetControllerServiceConflict

func NewGetControllerServiceConflict() *GetControllerServiceConflict

NewGetControllerServiceConflict creates a GetControllerServiceConflict with default headers values

func (*GetControllerServiceConflict) Error

func (*GetControllerServiceConflict) IsClientError added in v1.19.1

func (o *GetControllerServiceConflict) IsClientError() bool

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

func (*GetControllerServiceConflict) IsCode added in v1.19.1

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

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

func (*GetControllerServiceConflict) IsRedirect added in v1.19.1

func (o *GetControllerServiceConflict) IsRedirect() bool

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

func (*GetControllerServiceConflict) IsServerError added in v1.19.1

func (o *GetControllerServiceConflict) IsServerError() bool

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

func (*GetControllerServiceConflict) IsSuccess added in v1.19.1

func (o *GetControllerServiceConflict) IsSuccess() bool

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

func (*GetControllerServiceConflict) String added in v1.19.1

type GetControllerServiceForbidden

type GetControllerServiceForbidden struct {
}

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

Client is not authorized to make this request.

func NewGetControllerServiceForbidden

func NewGetControllerServiceForbidden() *GetControllerServiceForbidden

NewGetControllerServiceForbidden creates a GetControllerServiceForbidden with default headers values

func (*GetControllerServiceForbidden) Error

func (*GetControllerServiceForbidden) IsClientError added in v1.19.1

func (o *GetControllerServiceForbidden) IsClientError() bool

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

func (*GetControllerServiceForbidden) IsCode added in v1.19.1

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

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

func (*GetControllerServiceForbidden) IsRedirect added in v1.19.1

func (o *GetControllerServiceForbidden) IsRedirect() bool

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

func (*GetControllerServiceForbidden) IsServerError added in v1.19.1

func (o *GetControllerServiceForbidden) IsServerError() bool

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

func (*GetControllerServiceForbidden) IsSuccess added in v1.19.1

func (o *GetControllerServiceForbidden) IsSuccess() bool

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

func (*GetControllerServiceForbidden) String added in v1.19.1

type GetControllerServiceNotFound

type GetControllerServiceNotFound struct {
}

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

The specified resource could not be found.

func NewGetControllerServiceNotFound

func NewGetControllerServiceNotFound() *GetControllerServiceNotFound

NewGetControllerServiceNotFound creates a GetControllerServiceNotFound with default headers values

func (*GetControllerServiceNotFound) Error

func (*GetControllerServiceNotFound) IsClientError added in v1.19.1

func (o *GetControllerServiceNotFound) IsClientError() bool

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

func (*GetControllerServiceNotFound) IsCode added in v1.19.1

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

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

func (*GetControllerServiceNotFound) IsRedirect added in v1.19.1

func (o *GetControllerServiceNotFound) IsRedirect() bool

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

func (*GetControllerServiceNotFound) IsServerError added in v1.19.1

func (o *GetControllerServiceNotFound) IsServerError() bool

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

func (*GetControllerServiceNotFound) IsSuccess added in v1.19.1

func (o *GetControllerServiceNotFound) IsSuccess() bool

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

func (*GetControllerServiceNotFound) String added in v1.19.1

type GetControllerServiceOK

type GetControllerServiceOK struct {
	Payload *models.ControllerServiceEntity
}

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

successful operation

func NewGetControllerServiceOK

func NewGetControllerServiceOK() *GetControllerServiceOK

NewGetControllerServiceOK creates a GetControllerServiceOK with default headers values

func (*GetControllerServiceOK) Error

func (o *GetControllerServiceOK) Error() string

func (*GetControllerServiceOK) GetPayload

func (*GetControllerServiceOK) IsClientError added in v1.19.1

func (o *GetControllerServiceOK) IsClientError() bool

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

func (*GetControllerServiceOK) IsCode added in v1.19.1

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

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

func (*GetControllerServiceOK) IsRedirect added in v1.19.1

func (o *GetControllerServiceOK) IsRedirect() bool

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

func (*GetControllerServiceOK) IsServerError added in v1.19.1

func (o *GetControllerServiceOK) IsServerError() bool

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

func (*GetControllerServiceOK) IsSuccess added in v1.19.1

func (o *GetControllerServiceOK) IsSuccess() bool

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

func (*GetControllerServiceOK) String added in v1.19.1

func (o *GetControllerServiceOK) String() string

type GetControllerServiceParams

type GetControllerServiceParams struct {

	/* ID.

	   The controller service id.
	*/
	ID string

	// UIOnly.
	UIOnly *bool

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

GetControllerServiceParams contains all the parameters to send to the API endpoint

for the get controller service operation.

Typically these are written to a http.Request.

func NewGetControllerServiceParams

func NewGetControllerServiceParams() *GetControllerServiceParams

NewGetControllerServiceParams creates a new GetControllerServiceParams 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 NewGetControllerServiceParamsWithContext

func NewGetControllerServiceParamsWithContext(ctx context.Context) *GetControllerServiceParams

NewGetControllerServiceParamsWithContext creates a new GetControllerServiceParams object with the ability to set a context for a request.

func NewGetControllerServiceParamsWithHTTPClient

func NewGetControllerServiceParamsWithHTTPClient(client *http.Client) *GetControllerServiceParams

NewGetControllerServiceParamsWithHTTPClient creates a new GetControllerServiceParams object with the ability to set a custom HTTPClient for a request.

func NewGetControllerServiceParamsWithTimeout

func NewGetControllerServiceParamsWithTimeout(timeout time.Duration) *GetControllerServiceParams

NewGetControllerServiceParamsWithTimeout creates a new GetControllerServiceParams object with the ability to set a timeout on a request.

func (*GetControllerServiceParams) SetContext

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

SetContext adds the context to the get controller service params

func (*GetControllerServiceParams) SetDefaults

func (o *GetControllerServiceParams) SetDefaults()

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

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

func (*GetControllerServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get controller service params

func (*GetControllerServiceParams) SetID

func (o *GetControllerServiceParams) SetID(id string)

SetID adds the id to the get controller service params

func (*GetControllerServiceParams) SetTimeout

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

SetTimeout adds the timeout to the get controller service params

func (*GetControllerServiceParams) SetUIOnly added in v1.19.1

func (o *GetControllerServiceParams) SetUIOnly(uIOnly *bool)

SetUIOnly adds the uiOnly to the get controller service params

func (*GetControllerServiceParams) WithContext

WithContext adds the context to the get controller service params

func (*GetControllerServiceParams) WithDefaults

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

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

func (*GetControllerServiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get controller service params

func (*GetControllerServiceParams) WithID

WithID adds the id to the get controller service params

func (*GetControllerServiceParams) WithTimeout

WithTimeout adds the timeout to the get controller service params

func (*GetControllerServiceParams) WithUIOnly added in v1.19.1

WithUIOnly adds the uIOnly to the get controller service params

func (*GetControllerServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetControllerServiceReader

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

GetControllerServiceReader is a Reader for the GetControllerService structure.

func (*GetControllerServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetControllerServiceReferencesBadRequest

type GetControllerServiceReferencesBadRequest struct {
}

GetControllerServiceReferencesBadRequest 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 NewGetControllerServiceReferencesBadRequest

func NewGetControllerServiceReferencesBadRequest() *GetControllerServiceReferencesBadRequest

NewGetControllerServiceReferencesBadRequest creates a GetControllerServiceReferencesBadRequest with default headers values

func (*GetControllerServiceReferencesBadRequest) Error

func (*GetControllerServiceReferencesBadRequest) IsClientError added in v1.19.1

IsClientError returns true when this get controller service references bad request response has a 4xx status code

func (*GetControllerServiceReferencesBadRequest) IsCode added in v1.19.1

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

func (*GetControllerServiceReferencesBadRequest) IsRedirect added in v1.19.1

IsRedirect returns true when this get controller service references bad request response has a 3xx status code

func (*GetControllerServiceReferencesBadRequest) IsServerError added in v1.19.1

IsServerError returns true when this get controller service references bad request response has a 5xx status code

func (*GetControllerServiceReferencesBadRequest) IsSuccess added in v1.19.1

IsSuccess returns true when this get controller service references bad request response has a 2xx status code

func (*GetControllerServiceReferencesBadRequest) String added in v1.19.1

type GetControllerServiceReferencesConflict

type GetControllerServiceReferencesConflict struct {
}

GetControllerServiceReferencesConflict 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 NewGetControllerServiceReferencesConflict

func NewGetControllerServiceReferencesConflict() *GetControllerServiceReferencesConflict

NewGetControllerServiceReferencesConflict creates a GetControllerServiceReferencesConflict with default headers values

func (*GetControllerServiceReferencesConflict) Error

func (*GetControllerServiceReferencesConflict) IsClientError added in v1.19.1

func (o *GetControllerServiceReferencesConflict) IsClientError() bool

IsClientError returns true when this get controller service references conflict response has a 4xx status code

func (*GetControllerServiceReferencesConflict) IsCode added in v1.19.1

IsCode returns true when this get controller service references conflict response a status code equal to that given

func (*GetControllerServiceReferencesConflict) IsRedirect added in v1.19.1

IsRedirect returns true when this get controller service references conflict response has a 3xx status code

func (*GetControllerServiceReferencesConflict) IsServerError added in v1.19.1

func (o *GetControllerServiceReferencesConflict) IsServerError() bool

IsServerError returns true when this get controller service references conflict response has a 5xx status code

func (*GetControllerServiceReferencesConflict) IsSuccess added in v1.19.1

IsSuccess returns true when this get controller service references conflict response has a 2xx status code

func (*GetControllerServiceReferencesConflict) String added in v1.19.1

type GetControllerServiceReferencesForbidden

type GetControllerServiceReferencesForbidden struct {
}

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

Client is not authorized to make this request.

func NewGetControllerServiceReferencesForbidden

func NewGetControllerServiceReferencesForbidden() *GetControllerServiceReferencesForbidden

NewGetControllerServiceReferencesForbidden creates a GetControllerServiceReferencesForbidden with default headers values

func (*GetControllerServiceReferencesForbidden) Error

func (*GetControllerServiceReferencesForbidden) IsClientError added in v1.19.1

func (o *GetControllerServiceReferencesForbidden) IsClientError() bool

IsClientError returns true when this get controller service references forbidden response has a 4xx status code

func (*GetControllerServiceReferencesForbidden) IsCode added in v1.19.1

IsCode returns true when this get controller service references forbidden response a status code equal to that given

func (*GetControllerServiceReferencesForbidden) IsRedirect added in v1.19.1

IsRedirect returns true when this get controller service references forbidden response has a 3xx status code

func (*GetControllerServiceReferencesForbidden) IsServerError added in v1.19.1

func (o *GetControllerServiceReferencesForbidden) IsServerError() bool

IsServerError returns true when this get controller service references forbidden response has a 5xx status code

func (*GetControllerServiceReferencesForbidden) IsSuccess added in v1.19.1

IsSuccess returns true when this get controller service references forbidden response has a 2xx status code

func (*GetControllerServiceReferencesForbidden) String added in v1.19.1

type GetControllerServiceReferencesNotFound

type GetControllerServiceReferencesNotFound struct {
}

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

The specified resource could not be found.

func NewGetControllerServiceReferencesNotFound

func NewGetControllerServiceReferencesNotFound() *GetControllerServiceReferencesNotFound

NewGetControllerServiceReferencesNotFound creates a GetControllerServiceReferencesNotFound with default headers values

func (*GetControllerServiceReferencesNotFound) Error

func (*GetControllerServiceReferencesNotFound) IsClientError added in v1.19.1

func (o *GetControllerServiceReferencesNotFound) IsClientError() bool

IsClientError returns true when this get controller service references not found response has a 4xx status code

func (*GetControllerServiceReferencesNotFound) IsCode added in v1.19.1

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

func (*GetControllerServiceReferencesNotFound) IsRedirect added in v1.19.1

IsRedirect returns true when this get controller service references not found response has a 3xx status code

func (*GetControllerServiceReferencesNotFound) IsServerError added in v1.19.1

func (o *GetControllerServiceReferencesNotFound) IsServerError() bool

IsServerError returns true when this get controller service references not found response has a 5xx status code

func (*GetControllerServiceReferencesNotFound) IsSuccess added in v1.19.1

IsSuccess returns true when this get controller service references not found response has a 2xx status code

func (*GetControllerServiceReferencesNotFound) String added in v1.19.1

type GetControllerServiceReferencesOK

type GetControllerServiceReferencesOK struct {
	Payload *models.ControllerServiceReferencingComponentsEntity
}

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

successful operation

func NewGetControllerServiceReferencesOK

func NewGetControllerServiceReferencesOK() *GetControllerServiceReferencesOK

NewGetControllerServiceReferencesOK creates a GetControllerServiceReferencesOK with default headers values

func (*GetControllerServiceReferencesOK) Error

func (*GetControllerServiceReferencesOK) GetPayload

func (*GetControllerServiceReferencesOK) IsClientError added in v1.19.1

func (o *GetControllerServiceReferencesOK) IsClientError() bool

IsClientError returns true when this get controller service references o k response has a 4xx status code

func (*GetControllerServiceReferencesOK) IsCode added in v1.19.1

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

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

func (*GetControllerServiceReferencesOK) IsRedirect added in v1.19.1

func (o *GetControllerServiceReferencesOK) IsRedirect() bool

IsRedirect returns true when this get controller service references o k response has a 3xx status code

func (*GetControllerServiceReferencesOK) IsServerError added in v1.19.1

func (o *GetControllerServiceReferencesOK) IsServerError() bool

IsServerError returns true when this get controller service references o k response has a 5xx status code

func (*GetControllerServiceReferencesOK) IsSuccess added in v1.19.1

func (o *GetControllerServiceReferencesOK) IsSuccess() bool

IsSuccess returns true when this get controller service references o k response has a 2xx status code

func (*GetControllerServiceReferencesOK) String added in v1.19.1

type GetControllerServiceReferencesParams

type GetControllerServiceReferencesParams struct {

	/* ID.

	   The controller service id.
	*/
	ID string

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

GetControllerServiceReferencesParams contains all the parameters to send to the API endpoint

for the get controller service references operation.

Typically these are written to a http.Request.

func NewGetControllerServiceReferencesParams

func NewGetControllerServiceReferencesParams() *GetControllerServiceReferencesParams

NewGetControllerServiceReferencesParams creates a new GetControllerServiceReferencesParams 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 NewGetControllerServiceReferencesParamsWithContext

func NewGetControllerServiceReferencesParamsWithContext(ctx context.Context) *GetControllerServiceReferencesParams

NewGetControllerServiceReferencesParamsWithContext creates a new GetControllerServiceReferencesParams object with the ability to set a context for a request.

func NewGetControllerServiceReferencesParamsWithHTTPClient

func NewGetControllerServiceReferencesParamsWithHTTPClient(client *http.Client) *GetControllerServiceReferencesParams

NewGetControllerServiceReferencesParamsWithHTTPClient creates a new GetControllerServiceReferencesParams object with the ability to set a custom HTTPClient for a request.

func NewGetControllerServiceReferencesParamsWithTimeout

func NewGetControllerServiceReferencesParamsWithTimeout(timeout time.Duration) *GetControllerServiceReferencesParams

NewGetControllerServiceReferencesParamsWithTimeout creates a new GetControllerServiceReferencesParams object with the ability to set a timeout on a request.

func (*GetControllerServiceReferencesParams) SetContext

SetContext adds the context to the get controller service references params

func (*GetControllerServiceReferencesParams) SetDefaults

func (o *GetControllerServiceReferencesParams) SetDefaults()

SetDefaults hydrates default values in the get controller service references params (not the query body).

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

func (*GetControllerServiceReferencesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get controller service references params

func (*GetControllerServiceReferencesParams) SetID

SetID adds the id to the get controller service references params

func (*GetControllerServiceReferencesParams) SetTimeout

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

SetTimeout adds the timeout to the get controller service references params

func (*GetControllerServiceReferencesParams) WithContext

WithContext adds the context to the get controller service references params

func (*GetControllerServiceReferencesParams) WithDefaults

WithDefaults hydrates default values in the get controller service references params (not the query body).

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

func (*GetControllerServiceReferencesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get controller service references params

func (*GetControllerServiceReferencesParams) WithID

WithID adds the id to the get controller service references params

func (*GetControllerServiceReferencesParams) WithTimeout

WithTimeout adds the timeout to the get controller service references params

func (*GetControllerServiceReferencesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetControllerServiceReferencesReader

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

GetControllerServiceReferencesReader is a Reader for the GetControllerServiceReferences structure.

func (*GetControllerServiceReferencesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetControllerServiceReferencesUnauthorized

type GetControllerServiceReferencesUnauthorized struct {
}

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

Client could not be authenticated.

func NewGetControllerServiceReferencesUnauthorized

func NewGetControllerServiceReferencesUnauthorized() *GetControllerServiceReferencesUnauthorized

NewGetControllerServiceReferencesUnauthorized creates a GetControllerServiceReferencesUnauthorized with default headers values

func (*GetControllerServiceReferencesUnauthorized) Error

func (*GetControllerServiceReferencesUnauthorized) IsClientError added in v1.19.1

IsClientError returns true when this get controller service references unauthorized response has a 4xx status code

func (*GetControllerServiceReferencesUnauthorized) IsCode added in v1.19.1

IsCode returns true when this get controller service references unauthorized response a status code equal to that given

func (*GetControllerServiceReferencesUnauthorized) IsRedirect added in v1.19.1

IsRedirect returns true when this get controller service references unauthorized response has a 3xx status code

func (*GetControllerServiceReferencesUnauthorized) IsServerError added in v1.19.1

IsServerError returns true when this get controller service references unauthorized response has a 5xx status code

func (*GetControllerServiceReferencesUnauthorized) IsSuccess added in v1.19.1

IsSuccess returns true when this get controller service references unauthorized response has a 2xx status code

func (*GetControllerServiceReferencesUnauthorized) String added in v1.19.1

type GetControllerServiceUnauthorized

type GetControllerServiceUnauthorized struct {
}

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

Client could not be authenticated.

func NewGetControllerServiceUnauthorized

func NewGetControllerServiceUnauthorized() *GetControllerServiceUnauthorized

NewGetControllerServiceUnauthorized creates a GetControllerServiceUnauthorized with default headers values

func (*GetControllerServiceUnauthorized) Error

func (*GetControllerServiceUnauthorized) IsClientError added in v1.19.1

func (o *GetControllerServiceUnauthorized) IsClientError() bool

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

func (*GetControllerServiceUnauthorized) IsCode added in v1.19.1

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

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

func (*GetControllerServiceUnauthorized) IsRedirect added in v1.19.1

func (o *GetControllerServiceUnauthorized) IsRedirect() bool

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

func (*GetControllerServiceUnauthorized) IsServerError added in v1.19.1

func (o *GetControllerServiceUnauthorized) IsServerError() bool

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

func (*GetControllerServiceUnauthorized) IsSuccess added in v1.19.1

func (o *GetControllerServiceUnauthorized) IsSuccess() bool

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

func (*GetControllerServiceUnauthorized) String added in v1.19.1

type RemoveControllerServiceBadRequest

type RemoveControllerServiceBadRequest struct {
}

RemoveControllerServiceBadRequest 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 NewRemoveControllerServiceBadRequest

func NewRemoveControllerServiceBadRequest() *RemoveControllerServiceBadRequest

NewRemoveControllerServiceBadRequest creates a RemoveControllerServiceBadRequest with default headers values

func (*RemoveControllerServiceBadRequest) Error

func (*RemoveControllerServiceBadRequest) IsClientError added in v1.19.1

func (o *RemoveControllerServiceBadRequest) IsClientError() bool

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

func (*RemoveControllerServiceBadRequest) IsCode added in v1.19.1

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

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

func (*RemoveControllerServiceBadRequest) IsRedirect added in v1.19.1

func (o *RemoveControllerServiceBadRequest) IsRedirect() bool

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

func (*RemoveControllerServiceBadRequest) IsServerError added in v1.19.1

func (o *RemoveControllerServiceBadRequest) IsServerError() bool

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

func (*RemoveControllerServiceBadRequest) IsSuccess added in v1.19.1

func (o *RemoveControllerServiceBadRequest) IsSuccess() bool

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

func (*RemoveControllerServiceBadRequest) String added in v1.19.1

type RemoveControllerServiceConflict

type RemoveControllerServiceConflict struct {
}

RemoveControllerServiceConflict 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 NewRemoveControllerServiceConflict

func NewRemoveControllerServiceConflict() *RemoveControllerServiceConflict

NewRemoveControllerServiceConflict creates a RemoveControllerServiceConflict with default headers values

func (*RemoveControllerServiceConflict) Error

func (*RemoveControllerServiceConflict) IsClientError added in v1.19.1

func (o *RemoveControllerServiceConflict) IsClientError() bool

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

func (*RemoveControllerServiceConflict) IsCode added in v1.19.1

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

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

func (*RemoveControllerServiceConflict) IsRedirect added in v1.19.1

func (o *RemoveControllerServiceConflict) IsRedirect() bool

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

func (*RemoveControllerServiceConflict) IsServerError added in v1.19.1

func (o *RemoveControllerServiceConflict) IsServerError() bool

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

func (*RemoveControllerServiceConflict) IsSuccess added in v1.19.1

func (o *RemoveControllerServiceConflict) IsSuccess() bool

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

func (*RemoveControllerServiceConflict) String added in v1.19.1

type RemoveControllerServiceForbidden

type RemoveControllerServiceForbidden struct {
}

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

Client is not authorized to make this request.

func NewRemoveControllerServiceForbidden

func NewRemoveControllerServiceForbidden() *RemoveControllerServiceForbidden

NewRemoveControllerServiceForbidden creates a RemoveControllerServiceForbidden with default headers values

func (*RemoveControllerServiceForbidden) Error

func (*RemoveControllerServiceForbidden) IsClientError added in v1.19.1

func (o *RemoveControllerServiceForbidden) IsClientError() bool

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

func (*RemoveControllerServiceForbidden) IsCode added in v1.19.1

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

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

func (*RemoveControllerServiceForbidden) IsRedirect added in v1.19.1

func (o *RemoveControllerServiceForbidden) IsRedirect() bool

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

func (*RemoveControllerServiceForbidden) IsServerError added in v1.19.1

func (o *RemoveControllerServiceForbidden) IsServerError() bool

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

func (*RemoveControllerServiceForbidden) IsSuccess added in v1.19.1

func (o *RemoveControllerServiceForbidden) IsSuccess() bool

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

func (*RemoveControllerServiceForbidden) String added in v1.19.1

type RemoveControllerServiceNotFound

type RemoveControllerServiceNotFound struct {
}

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

The specified resource could not be found.

func NewRemoveControllerServiceNotFound

func NewRemoveControllerServiceNotFound() *RemoveControllerServiceNotFound

NewRemoveControllerServiceNotFound creates a RemoveControllerServiceNotFound with default headers values

func (*RemoveControllerServiceNotFound) Error

func (*RemoveControllerServiceNotFound) IsClientError added in v1.19.1

func (o *RemoveControllerServiceNotFound) IsClientError() bool

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

func (*RemoveControllerServiceNotFound) IsCode added in v1.19.1

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

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

func (*RemoveControllerServiceNotFound) IsRedirect added in v1.19.1

func (o *RemoveControllerServiceNotFound) IsRedirect() bool

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

func (*RemoveControllerServiceNotFound) IsServerError added in v1.19.1

func (o *RemoveControllerServiceNotFound) IsServerError() bool

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

func (*RemoveControllerServiceNotFound) IsSuccess added in v1.19.1

func (o *RemoveControllerServiceNotFound) IsSuccess() bool

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

func (*RemoveControllerServiceNotFound) String added in v1.19.1

type RemoveControllerServiceOK

type RemoveControllerServiceOK struct {
	Payload *models.ControllerServiceEntity
}

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

successful operation

func NewRemoveControllerServiceOK

func NewRemoveControllerServiceOK() *RemoveControllerServiceOK

NewRemoveControllerServiceOK creates a RemoveControllerServiceOK with default headers values

func (*RemoveControllerServiceOK) Error

func (o *RemoveControllerServiceOK) Error() string

func (*RemoveControllerServiceOK) GetPayload

func (*RemoveControllerServiceOK) IsClientError added in v1.19.1

func (o *RemoveControllerServiceOK) IsClientError() bool

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

func (*RemoveControllerServiceOK) IsCode added in v1.19.1

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

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

func (*RemoveControllerServiceOK) IsRedirect added in v1.19.1

func (o *RemoveControllerServiceOK) IsRedirect() bool

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

func (*RemoveControllerServiceOK) IsServerError added in v1.19.1

func (o *RemoveControllerServiceOK) IsServerError() bool

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

func (*RemoveControllerServiceOK) IsSuccess added in v1.19.1

func (o *RemoveControllerServiceOK) IsSuccess() bool

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

func (*RemoveControllerServiceOK) String added in v1.19.1

func (o *RemoveControllerServiceOK) String() string

type RemoveControllerServiceParams

type RemoveControllerServiceParams 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 controller service 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
}

RemoveControllerServiceParams contains all the parameters to send to the API endpoint

for the remove controller service operation.

Typically these are written to a http.Request.

func NewRemoveControllerServiceParams

func NewRemoveControllerServiceParams() *RemoveControllerServiceParams

NewRemoveControllerServiceParams creates a new RemoveControllerServiceParams 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 NewRemoveControllerServiceParamsWithContext

func NewRemoveControllerServiceParamsWithContext(ctx context.Context) *RemoveControllerServiceParams

NewRemoveControllerServiceParamsWithContext creates a new RemoveControllerServiceParams object with the ability to set a context for a request.

func NewRemoveControllerServiceParamsWithHTTPClient

func NewRemoveControllerServiceParamsWithHTTPClient(client *http.Client) *RemoveControllerServiceParams

NewRemoveControllerServiceParamsWithHTTPClient creates a new RemoveControllerServiceParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveControllerServiceParamsWithTimeout

func NewRemoveControllerServiceParamsWithTimeout(timeout time.Duration) *RemoveControllerServiceParams

NewRemoveControllerServiceParamsWithTimeout creates a new RemoveControllerServiceParams object with the ability to set a timeout on a request.

func (*RemoveControllerServiceParams) SetClientID

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

SetClientID adds the clientId to the remove controller service params

func (*RemoveControllerServiceParams) SetContext

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

SetContext adds the context to the remove controller service params

func (*RemoveControllerServiceParams) SetDefaults

func (o *RemoveControllerServiceParams) SetDefaults()

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

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

func (*RemoveControllerServiceParams) SetDisconnectedNodeAcknowledged

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

SetDisconnectedNodeAcknowledged adds the disconnectedNodeAcknowledged to the remove controller service params

func (*RemoveControllerServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove controller service params

func (*RemoveControllerServiceParams) SetID

SetID adds the id to the remove controller service params

func (*RemoveControllerServiceParams) SetTimeout

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

SetTimeout adds the timeout to the remove controller service params

func (*RemoveControllerServiceParams) SetVersion

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

SetVersion adds the version to the remove controller service params

func (*RemoveControllerServiceParams) WithClientID

WithClientID adds the clientID to the remove controller service params

func (*RemoveControllerServiceParams) WithContext

WithContext adds the context to the remove controller service params

func (*RemoveControllerServiceParams) WithDefaults

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

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

func (*RemoveControllerServiceParams) WithDisconnectedNodeAcknowledged

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

WithDisconnectedNodeAcknowledged adds the disconnectedNodeAcknowledged to the remove controller service params

func (*RemoveControllerServiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the remove controller service params

func (*RemoveControllerServiceParams) WithID

WithID adds the id to the remove controller service params

func (*RemoveControllerServiceParams) WithTimeout

WithTimeout adds the timeout to the remove controller service params

func (*RemoveControllerServiceParams) WithVersion

WithVersion adds the version to the remove controller service params

func (*RemoveControllerServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RemoveControllerServiceReader

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

RemoveControllerServiceReader is a Reader for the RemoveControllerService structure.

func (*RemoveControllerServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveControllerServiceUnauthorized

type RemoveControllerServiceUnauthorized struct {
}

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

Client could not be authenticated.

func NewRemoveControllerServiceUnauthorized

func NewRemoveControllerServiceUnauthorized() *RemoveControllerServiceUnauthorized

NewRemoveControllerServiceUnauthorized creates a RemoveControllerServiceUnauthorized with default headers values

func (*RemoveControllerServiceUnauthorized) Error

func (*RemoveControllerServiceUnauthorized) IsClientError added in v1.19.1

func (o *RemoveControllerServiceUnauthorized) IsClientError() bool

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

func (*RemoveControllerServiceUnauthorized) IsCode added in v1.19.1

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

func (*RemoveControllerServiceUnauthorized) IsRedirect added in v1.19.1

func (o *RemoveControllerServiceUnauthorized) IsRedirect() bool

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

func (*RemoveControllerServiceUnauthorized) IsServerError added in v1.19.1

func (o *RemoveControllerServiceUnauthorized) IsServerError() bool

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

func (*RemoveControllerServiceUnauthorized) IsSuccess added in v1.19.1

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

func (*RemoveControllerServiceUnauthorized) String added in v1.19.1

type UpdateControllerServiceBadRequest

type UpdateControllerServiceBadRequest struct {
}

UpdateControllerServiceBadRequest 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 NewUpdateControllerServiceBadRequest

func NewUpdateControllerServiceBadRequest() *UpdateControllerServiceBadRequest

NewUpdateControllerServiceBadRequest creates a UpdateControllerServiceBadRequest with default headers values

func (*UpdateControllerServiceBadRequest) Error

func (*UpdateControllerServiceBadRequest) IsClientError added in v1.19.1

func (o *UpdateControllerServiceBadRequest) IsClientError() bool

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

func (*UpdateControllerServiceBadRequest) IsCode added in v1.19.1

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

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

func (*UpdateControllerServiceBadRequest) IsRedirect added in v1.19.1

func (o *UpdateControllerServiceBadRequest) IsRedirect() bool

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

func (*UpdateControllerServiceBadRequest) IsServerError added in v1.19.1

func (o *UpdateControllerServiceBadRequest) IsServerError() bool

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

func (*UpdateControllerServiceBadRequest) IsSuccess added in v1.19.1

func (o *UpdateControllerServiceBadRequest) IsSuccess() bool

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

func (*UpdateControllerServiceBadRequest) String added in v1.19.1

type UpdateControllerServiceConflict

type UpdateControllerServiceConflict struct {
}

UpdateControllerServiceConflict 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 NewUpdateControllerServiceConflict

func NewUpdateControllerServiceConflict() *UpdateControllerServiceConflict

NewUpdateControllerServiceConflict creates a UpdateControllerServiceConflict with default headers values

func (*UpdateControllerServiceConflict) Error

func (*UpdateControllerServiceConflict) IsClientError added in v1.19.1

func (o *UpdateControllerServiceConflict) IsClientError() bool

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

func (*UpdateControllerServiceConflict) IsCode added in v1.19.1

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

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

func (*UpdateControllerServiceConflict) IsRedirect added in v1.19.1

func (o *UpdateControllerServiceConflict) IsRedirect() bool

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

func (*UpdateControllerServiceConflict) IsServerError added in v1.19.1

func (o *UpdateControllerServiceConflict) IsServerError() bool

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

func (*UpdateControllerServiceConflict) IsSuccess added in v1.19.1

func (o *UpdateControllerServiceConflict) IsSuccess() bool

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

func (*UpdateControllerServiceConflict) String added in v1.19.1

type UpdateControllerServiceForbidden

type UpdateControllerServiceForbidden struct {
}

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

Client is not authorized to make this request.

func NewUpdateControllerServiceForbidden

func NewUpdateControllerServiceForbidden() *UpdateControllerServiceForbidden

NewUpdateControllerServiceForbidden creates a UpdateControllerServiceForbidden with default headers values

func (*UpdateControllerServiceForbidden) Error

func (*UpdateControllerServiceForbidden) IsClientError added in v1.19.1

func (o *UpdateControllerServiceForbidden) IsClientError() bool

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

func (*UpdateControllerServiceForbidden) IsCode added in v1.19.1

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

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

func (*UpdateControllerServiceForbidden) IsRedirect added in v1.19.1

func (o *UpdateControllerServiceForbidden) IsRedirect() bool

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

func (*UpdateControllerServiceForbidden) IsServerError added in v1.19.1

func (o *UpdateControllerServiceForbidden) IsServerError() bool

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

func (*UpdateControllerServiceForbidden) IsSuccess added in v1.19.1

func (o *UpdateControllerServiceForbidden) IsSuccess() bool

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

func (*UpdateControllerServiceForbidden) String added in v1.19.1

type UpdateControllerServiceNotFound

type UpdateControllerServiceNotFound struct {
}

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

The specified resource could not be found.

func NewUpdateControllerServiceNotFound

func NewUpdateControllerServiceNotFound() *UpdateControllerServiceNotFound

NewUpdateControllerServiceNotFound creates a UpdateControllerServiceNotFound with default headers values

func (*UpdateControllerServiceNotFound) Error

func (*UpdateControllerServiceNotFound) IsClientError added in v1.19.1

func (o *UpdateControllerServiceNotFound) IsClientError() bool

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

func (*UpdateControllerServiceNotFound) IsCode added in v1.19.1

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

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

func (*UpdateControllerServiceNotFound) IsRedirect added in v1.19.1

func (o *UpdateControllerServiceNotFound) IsRedirect() bool

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

func (*UpdateControllerServiceNotFound) IsServerError added in v1.19.1

func (o *UpdateControllerServiceNotFound) IsServerError() bool

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

func (*UpdateControllerServiceNotFound) IsSuccess added in v1.19.1

func (o *UpdateControllerServiceNotFound) IsSuccess() bool

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

func (*UpdateControllerServiceNotFound) String added in v1.19.1

type UpdateControllerServiceOK

type UpdateControllerServiceOK struct {
	Payload *models.ControllerServiceEntity
}

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

successful operation

func NewUpdateControllerServiceOK

func NewUpdateControllerServiceOK() *UpdateControllerServiceOK

NewUpdateControllerServiceOK creates a UpdateControllerServiceOK with default headers values

func (*UpdateControllerServiceOK) Error

func (o *UpdateControllerServiceOK) Error() string

func (*UpdateControllerServiceOK) GetPayload

func (*UpdateControllerServiceOK) IsClientError added in v1.19.1

func (o *UpdateControllerServiceOK) IsClientError() bool

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

func (*UpdateControllerServiceOK) IsCode added in v1.19.1

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

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

func (*UpdateControllerServiceOK) IsRedirect added in v1.19.1

func (o *UpdateControllerServiceOK) IsRedirect() bool

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

func (*UpdateControllerServiceOK) IsServerError added in v1.19.1

func (o *UpdateControllerServiceOK) IsServerError() bool

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

func (*UpdateControllerServiceOK) IsSuccess added in v1.19.1

func (o *UpdateControllerServiceOK) IsSuccess() bool

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

func (*UpdateControllerServiceOK) String added in v1.19.1

func (o *UpdateControllerServiceOK) String() string

type UpdateControllerServiceParams

type UpdateControllerServiceParams struct {

	/* Body.

	   The controller service configuration details.
	*/
	Body *models.ControllerServiceEntity

	/* ID.

	   The controller service id.
	*/
	ID string

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

UpdateControllerServiceParams contains all the parameters to send to the API endpoint

for the update controller service operation.

Typically these are written to a http.Request.

func NewUpdateControllerServiceParams

func NewUpdateControllerServiceParams() *UpdateControllerServiceParams

NewUpdateControllerServiceParams creates a new UpdateControllerServiceParams 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 NewUpdateControllerServiceParamsWithContext

func NewUpdateControllerServiceParamsWithContext(ctx context.Context) *UpdateControllerServiceParams

NewUpdateControllerServiceParamsWithContext creates a new UpdateControllerServiceParams object with the ability to set a context for a request.

func NewUpdateControllerServiceParamsWithHTTPClient

func NewUpdateControllerServiceParamsWithHTTPClient(client *http.Client) *UpdateControllerServiceParams

NewUpdateControllerServiceParamsWithHTTPClient creates a new UpdateControllerServiceParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateControllerServiceParamsWithTimeout

func NewUpdateControllerServiceParamsWithTimeout(timeout time.Duration) *UpdateControllerServiceParams

NewUpdateControllerServiceParamsWithTimeout creates a new UpdateControllerServiceParams object with the ability to set a timeout on a request.

func (*UpdateControllerServiceParams) SetBody

SetBody adds the body to the update controller service params

func (*UpdateControllerServiceParams) SetContext

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

SetContext adds the context to the update controller service params

func (*UpdateControllerServiceParams) SetDefaults

func (o *UpdateControllerServiceParams) SetDefaults()

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

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

func (*UpdateControllerServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update controller service params

func (*UpdateControllerServiceParams) SetID

SetID adds the id to the update controller service params

func (*UpdateControllerServiceParams) SetTimeout

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

SetTimeout adds the timeout to the update controller service params

func (*UpdateControllerServiceParams) WithBody

WithBody adds the body to the update controller service params

func (*UpdateControllerServiceParams) WithContext

WithContext adds the context to the update controller service params

func (*UpdateControllerServiceParams) WithDefaults

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

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

func (*UpdateControllerServiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update controller service params

func (*UpdateControllerServiceParams) WithID

WithID adds the id to the update controller service params

func (*UpdateControllerServiceParams) WithTimeout

WithTimeout adds the timeout to the update controller service params

func (*UpdateControllerServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateControllerServiceReader

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

UpdateControllerServiceReader is a Reader for the UpdateControllerService structure.

func (*UpdateControllerServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateControllerServiceReferencesBadRequest

type UpdateControllerServiceReferencesBadRequest struct {
}

UpdateControllerServiceReferencesBadRequest 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 NewUpdateControllerServiceReferencesBadRequest

func NewUpdateControllerServiceReferencesBadRequest() *UpdateControllerServiceReferencesBadRequest

NewUpdateControllerServiceReferencesBadRequest creates a UpdateControllerServiceReferencesBadRequest with default headers values

func (*UpdateControllerServiceReferencesBadRequest) Error

func (*UpdateControllerServiceReferencesBadRequest) IsClientError added in v1.19.1

IsClientError returns true when this update controller service references bad request response has a 4xx status code

func (*UpdateControllerServiceReferencesBadRequest) IsCode added in v1.19.1

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

func (*UpdateControllerServiceReferencesBadRequest) IsRedirect added in v1.19.1

IsRedirect returns true when this update controller service references bad request response has a 3xx status code

func (*UpdateControllerServiceReferencesBadRequest) IsServerError added in v1.19.1

IsServerError returns true when this update controller service references bad request response has a 5xx status code

func (*UpdateControllerServiceReferencesBadRequest) IsSuccess added in v1.19.1

IsSuccess returns true when this update controller service references bad request response has a 2xx status code

func (*UpdateControllerServiceReferencesBadRequest) String added in v1.19.1

type UpdateControllerServiceReferencesConflict

type UpdateControllerServiceReferencesConflict struct {
}

UpdateControllerServiceReferencesConflict 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 NewUpdateControllerServiceReferencesConflict

func NewUpdateControllerServiceReferencesConflict() *UpdateControllerServiceReferencesConflict

NewUpdateControllerServiceReferencesConflict creates a UpdateControllerServiceReferencesConflict with default headers values

func (*UpdateControllerServiceReferencesConflict) Error

func (*UpdateControllerServiceReferencesConflict) IsClientError added in v1.19.1

IsClientError returns true when this update controller service references conflict response has a 4xx status code

func (*UpdateControllerServiceReferencesConflict) IsCode added in v1.19.1

IsCode returns true when this update controller service references conflict response a status code equal to that given

func (*UpdateControllerServiceReferencesConflict) IsRedirect added in v1.19.1

IsRedirect returns true when this update controller service references conflict response has a 3xx status code

func (*UpdateControllerServiceReferencesConflict) IsServerError added in v1.19.1

IsServerError returns true when this update controller service references conflict response has a 5xx status code

func (*UpdateControllerServiceReferencesConflict) IsSuccess added in v1.19.1

IsSuccess returns true when this update controller service references conflict response has a 2xx status code

func (*UpdateControllerServiceReferencesConflict) String added in v1.19.1

type UpdateControllerServiceReferencesForbidden

type UpdateControllerServiceReferencesForbidden struct {
}

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

Client is not authorized to make this request.

func NewUpdateControllerServiceReferencesForbidden

func NewUpdateControllerServiceReferencesForbidden() *UpdateControllerServiceReferencesForbidden

NewUpdateControllerServiceReferencesForbidden creates a UpdateControllerServiceReferencesForbidden with default headers values

func (*UpdateControllerServiceReferencesForbidden) Error

func (*UpdateControllerServiceReferencesForbidden) IsClientError added in v1.19.1

IsClientError returns true when this update controller service references forbidden response has a 4xx status code

func (*UpdateControllerServiceReferencesForbidden) IsCode added in v1.19.1

IsCode returns true when this update controller service references forbidden response a status code equal to that given

func (*UpdateControllerServiceReferencesForbidden) IsRedirect added in v1.19.1

IsRedirect returns true when this update controller service references forbidden response has a 3xx status code

func (*UpdateControllerServiceReferencesForbidden) IsServerError added in v1.19.1

IsServerError returns true when this update controller service references forbidden response has a 5xx status code

func (*UpdateControllerServiceReferencesForbidden) IsSuccess added in v1.19.1

IsSuccess returns true when this update controller service references forbidden response has a 2xx status code

func (*UpdateControllerServiceReferencesForbidden) String added in v1.19.1

type UpdateControllerServiceReferencesNotFound

type UpdateControllerServiceReferencesNotFound struct {
}

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

The specified resource could not be found.

func NewUpdateControllerServiceReferencesNotFound

func NewUpdateControllerServiceReferencesNotFound() *UpdateControllerServiceReferencesNotFound

NewUpdateControllerServiceReferencesNotFound creates a UpdateControllerServiceReferencesNotFound with default headers values

func (*UpdateControllerServiceReferencesNotFound) Error

func (*UpdateControllerServiceReferencesNotFound) IsClientError added in v1.19.1

IsClientError returns true when this update controller service references not found response has a 4xx status code

func (*UpdateControllerServiceReferencesNotFound) IsCode added in v1.19.1

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

func (*UpdateControllerServiceReferencesNotFound) IsRedirect added in v1.19.1

IsRedirect returns true when this update controller service references not found response has a 3xx status code

func (*UpdateControllerServiceReferencesNotFound) IsServerError added in v1.19.1

IsServerError returns true when this update controller service references not found response has a 5xx status code

func (*UpdateControllerServiceReferencesNotFound) IsSuccess added in v1.19.1

IsSuccess returns true when this update controller service references not found response has a 2xx status code

func (*UpdateControllerServiceReferencesNotFound) String added in v1.19.1

type UpdateControllerServiceReferencesOK

type UpdateControllerServiceReferencesOK struct {
	Payload *models.ControllerServiceReferencingComponentsEntity
}

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

successful operation

func NewUpdateControllerServiceReferencesOK

func NewUpdateControllerServiceReferencesOK() *UpdateControllerServiceReferencesOK

NewUpdateControllerServiceReferencesOK creates a UpdateControllerServiceReferencesOK with default headers values

func (*UpdateControllerServiceReferencesOK) Error

func (*UpdateControllerServiceReferencesOK) GetPayload

func (*UpdateControllerServiceReferencesOK) IsClientError added in v1.19.1

func (o *UpdateControllerServiceReferencesOK) IsClientError() bool

IsClientError returns true when this update controller service references o k response has a 4xx status code

func (*UpdateControllerServiceReferencesOK) IsCode added in v1.19.1

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

func (*UpdateControllerServiceReferencesOK) IsRedirect added in v1.19.1

func (o *UpdateControllerServiceReferencesOK) IsRedirect() bool

IsRedirect returns true when this update controller service references o k response has a 3xx status code

func (*UpdateControllerServiceReferencesOK) IsServerError added in v1.19.1

func (o *UpdateControllerServiceReferencesOK) IsServerError() bool

IsServerError returns true when this update controller service references o k response has a 5xx status code

func (*UpdateControllerServiceReferencesOK) IsSuccess added in v1.19.1

IsSuccess returns true when this update controller service references o k response has a 2xx status code

func (*UpdateControllerServiceReferencesOK) String added in v1.19.1

type UpdateControllerServiceReferencesParams

type UpdateControllerServiceReferencesParams struct {

	/* Body.

	   The controller service request update request.
	*/
	Body *models.UpdateControllerServiceReferenceRequestEntity

	/* ID.

	   The controller service id.
	*/
	ID string

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

UpdateControllerServiceReferencesParams contains all the parameters to send to the API endpoint

for the update controller service references operation.

Typically these are written to a http.Request.

func NewUpdateControllerServiceReferencesParams

func NewUpdateControllerServiceReferencesParams() *UpdateControllerServiceReferencesParams

NewUpdateControllerServiceReferencesParams creates a new UpdateControllerServiceReferencesParams 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 NewUpdateControllerServiceReferencesParamsWithContext

func NewUpdateControllerServiceReferencesParamsWithContext(ctx context.Context) *UpdateControllerServiceReferencesParams

NewUpdateControllerServiceReferencesParamsWithContext creates a new UpdateControllerServiceReferencesParams object with the ability to set a context for a request.

func NewUpdateControllerServiceReferencesParamsWithHTTPClient

func NewUpdateControllerServiceReferencesParamsWithHTTPClient(client *http.Client) *UpdateControllerServiceReferencesParams

NewUpdateControllerServiceReferencesParamsWithHTTPClient creates a new UpdateControllerServiceReferencesParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateControllerServiceReferencesParamsWithTimeout

func NewUpdateControllerServiceReferencesParamsWithTimeout(timeout time.Duration) *UpdateControllerServiceReferencesParams

NewUpdateControllerServiceReferencesParamsWithTimeout creates a new UpdateControllerServiceReferencesParams object with the ability to set a timeout on a request.

func (*UpdateControllerServiceReferencesParams) SetBody

SetBody adds the body to the update controller service references params

func (*UpdateControllerServiceReferencesParams) SetContext

SetContext adds the context to the update controller service references params

func (*UpdateControllerServiceReferencesParams) SetDefaults

func (o *UpdateControllerServiceReferencesParams) SetDefaults()

SetDefaults hydrates default values in the update controller service references params (not the query body).

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

func (*UpdateControllerServiceReferencesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update controller service references params

func (*UpdateControllerServiceReferencesParams) SetID

SetID adds the id to the update controller service references params

func (*UpdateControllerServiceReferencesParams) SetTimeout

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

SetTimeout adds the timeout to the update controller service references params

func (*UpdateControllerServiceReferencesParams) WithBody

WithBody adds the body to the update controller service references params

func (*UpdateControllerServiceReferencesParams) WithContext

WithContext adds the context to the update controller service references params

func (*UpdateControllerServiceReferencesParams) WithDefaults

WithDefaults hydrates default values in the update controller service references params (not the query body).

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

func (*UpdateControllerServiceReferencesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update controller service references params

func (*UpdateControllerServiceReferencesParams) WithID

WithID adds the id to the update controller service references params

func (*UpdateControllerServiceReferencesParams) WithTimeout

WithTimeout adds the timeout to the update controller service references params

func (*UpdateControllerServiceReferencesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateControllerServiceReferencesReader

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

UpdateControllerServiceReferencesReader is a Reader for the UpdateControllerServiceReferences structure.

func (*UpdateControllerServiceReferencesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateControllerServiceReferencesUnauthorized

type UpdateControllerServiceReferencesUnauthorized struct {
}

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

Client could not be authenticated.

func NewUpdateControllerServiceReferencesUnauthorized

func NewUpdateControllerServiceReferencesUnauthorized() *UpdateControllerServiceReferencesUnauthorized

NewUpdateControllerServiceReferencesUnauthorized creates a UpdateControllerServiceReferencesUnauthorized with default headers values

func (*UpdateControllerServiceReferencesUnauthorized) Error

func (*UpdateControllerServiceReferencesUnauthorized) IsClientError added in v1.19.1

IsClientError returns true when this update controller service references unauthorized response has a 4xx status code

func (*UpdateControllerServiceReferencesUnauthorized) IsCode added in v1.19.1

IsCode returns true when this update controller service references unauthorized response a status code equal to that given

func (*UpdateControllerServiceReferencesUnauthorized) IsRedirect added in v1.19.1

IsRedirect returns true when this update controller service references unauthorized response has a 3xx status code

func (*UpdateControllerServiceReferencesUnauthorized) IsServerError added in v1.19.1

IsServerError returns true when this update controller service references unauthorized response has a 5xx status code

func (*UpdateControllerServiceReferencesUnauthorized) IsSuccess added in v1.19.1

IsSuccess returns true when this update controller service references unauthorized response has a 2xx status code

func (*UpdateControllerServiceReferencesUnauthorized) String added in v1.19.1

type UpdateControllerServiceUnauthorized

type UpdateControllerServiceUnauthorized struct {
}

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

Client could not be authenticated.

func NewUpdateControllerServiceUnauthorized

func NewUpdateControllerServiceUnauthorized() *UpdateControllerServiceUnauthorized

NewUpdateControllerServiceUnauthorized creates a UpdateControllerServiceUnauthorized with default headers values

func (*UpdateControllerServiceUnauthorized) Error

func (*UpdateControllerServiceUnauthorized) IsClientError added in v1.19.1

func (o *UpdateControllerServiceUnauthorized) IsClientError() bool

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

func (*UpdateControllerServiceUnauthorized) IsCode added in v1.19.1

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

func (*UpdateControllerServiceUnauthorized) IsRedirect added in v1.19.1

func (o *UpdateControllerServiceUnauthorized) IsRedirect() bool

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

func (*UpdateControllerServiceUnauthorized) IsServerError added in v1.19.1

func (o *UpdateControllerServiceUnauthorized) IsServerError() bool

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

func (*UpdateControllerServiceUnauthorized) IsSuccess added in v1.19.1

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

func (*UpdateControllerServiceUnauthorized) String added in v1.19.1

Jump to

Keyboard shortcuts

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