Documentation ¶
Index ¶
- type Client
- func (a *Client) ExportTemplate(params *ExportTemplateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ExportTemplateOK, error)
- func (a *Client) RemoveTemplate(params *RemoveTemplateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RemoveTemplateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ExportTemplateBadRequest
- func (o *ExportTemplateBadRequest) Error() string
- func (o *ExportTemplateBadRequest) IsClientError() bool
- func (o *ExportTemplateBadRequest) IsCode(code int) bool
- func (o *ExportTemplateBadRequest) IsRedirect() bool
- func (o *ExportTemplateBadRequest) IsServerError() bool
- func (o *ExportTemplateBadRequest) IsSuccess() bool
- func (o *ExportTemplateBadRequest) String() string
- type ExportTemplateConflict
- func (o *ExportTemplateConflict) Error() string
- func (o *ExportTemplateConflict) IsClientError() bool
- func (o *ExportTemplateConflict) IsCode(code int) bool
- func (o *ExportTemplateConflict) IsRedirect() bool
- func (o *ExportTemplateConflict) IsServerError() bool
- func (o *ExportTemplateConflict) IsSuccess() bool
- func (o *ExportTemplateConflict) String() string
- type ExportTemplateForbidden
- func (o *ExportTemplateForbidden) Error() string
- func (o *ExportTemplateForbidden) IsClientError() bool
- func (o *ExportTemplateForbidden) IsCode(code int) bool
- func (o *ExportTemplateForbidden) IsRedirect() bool
- func (o *ExportTemplateForbidden) IsServerError() bool
- func (o *ExportTemplateForbidden) IsSuccess() bool
- func (o *ExportTemplateForbidden) String() string
- type ExportTemplateNotFound
- func (o *ExportTemplateNotFound) Error() string
- func (o *ExportTemplateNotFound) IsClientError() bool
- func (o *ExportTemplateNotFound) IsCode(code int) bool
- func (o *ExportTemplateNotFound) IsRedirect() bool
- func (o *ExportTemplateNotFound) IsServerError() bool
- func (o *ExportTemplateNotFound) IsSuccess() bool
- func (o *ExportTemplateNotFound) String() string
- type ExportTemplateOK
- func (o *ExportTemplateOK) Error() string
- func (o *ExportTemplateOK) GetPayload() string
- func (o *ExportTemplateOK) IsClientError() bool
- func (o *ExportTemplateOK) IsCode(code int) bool
- func (o *ExportTemplateOK) IsRedirect() bool
- func (o *ExportTemplateOK) IsServerError() bool
- func (o *ExportTemplateOK) IsSuccess() bool
- func (o *ExportTemplateOK) String() string
- type ExportTemplateParams
- func NewExportTemplateParams() *ExportTemplateParams
- func NewExportTemplateParamsWithContext(ctx context.Context) *ExportTemplateParams
- func NewExportTemplateParamsWithHTTPClient(client *http.Client) *ExportTemplateParams
- func NewExportTemplateParamsWithTimeout(timeout time.Duration) *ExportTemplateParams
- func (o *ExportTemplateParams) SetContext(ctx context.Context)
- func (o *ExportTemplateParams) SetDefaults()
- func (o *ExportTemplateParams) SetHTTPClient(client *http.Client)
- func (o *ExportTemplateParams) SetID(id string)
- func (o *ExportTemplateParams) SetTimeout(timeout time.Duration)
- func (o *ExportTemplateParams) WithContext(ctx context.Context) *ExportTemplateParams
- func (o *ExportTemplateParams) WithDefaults() *ExportTemplateParams
- func (o *ExportTemplateParams) WithHTTPClient(client *http.Client) *ExportTemplateParams
- func (o *ExportTemplateParams) WithID(id string) *ExportTemplateParams
- func (o *ExportTemplateParams) WithTimeout(timeout time.Duration) *ExportTemplateParams
- func (o *ExportTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportTemplateReader
- type ExportTemplateUnauthorized
- func (o *ExportTemplateUnauthorized) Error() string
- func (o *ExportTemplateUnauthorized) IsClientError() bool
- func (o *ExportTemplateUnauthorized) IsCode(code int) bool
- func (o *ExportTemplateUnauthorized) IsRedirect() bool
- func (o *ExportTemplateUnauthorized) IsServerError() bool
- func (o *ExportTemplateUnauthorized) IsSuccess() bool
- func (o *ExportTemplateUnauthorized) String() string
- type RemoveTemplateBadRequest
- func (o *RemoveTemplateBadRequest) Error() string
- func (o *RemoveTemplateBadRequest) IsClientError() bool
- func (o *RemoveTemplateBadRequest) IsCode(code int) bool
- func (o *RemoveTemplateBadRequest) IsRedirect() bool
- func (o *RemoveTemplateBadRequest) IsServerError() bool
- func (o *RemoveTemplateBadRequest) IsSuccess() bool
- func (o *RemoveTemplateBadRequest) String() string
- type RemoveTemplateConflict
- func (o *RemoveTemplateConflict) Error() string
- func (o *RemoveTemplateConflict) IsClientError() bool
- func (o *RemoveTemplateConflict) IsCode(code int) bool
- func (o *RemoveTemplateConflict) IsRedirect() bool
- func (o *RemoveTemplateConflict) IsServerError() bool
- func (o *RemoveTemplateConflict) IsSuccess() bool
- func (o *RemoveTemplateConflict) String() string
- type RemoveTemplateForbidden
- func (o *RemoveTemplateForbidden) Error() string
- func (o *RemoveTemplateForbidden) IsClientError() bool
- func (o *RemoveTemplateForbidden) IsCode(code int) bool
- func (o *RemoveTemplateForbidden) IsRedirect() bool
- func (o *RemoveTemplateForbidden) IsServerError() bool
- func (o *RemoveTemplateForbidden) IsSuccess() bool
- func (o *RemoveTemplateForbidden) String() string
- type RemoveTemplateNotFound
- func (o *RemoveTemplateNotFound) Error() string
- func (o *RemoveTemplateNotFound) IsClientError() bool
- func (o *RemoveTemplateNotFound) IsCode(code int) bool
- func (o *RemoveTemplateNotFound) IsRedirect() bool
- func (o *RemoveTemplateNotFound) IsServerError() bool
- func (o *RemoveTemplateNotFound) IsSuccess() bool
- func (o *RemoveTemplateNotFound) String() string
- type RemoveTemplateOK
- func (o *RemoveTemplateOK) Error() string
- func (o *RemoveTemplateOK) GetPayload() *models.TemplateEntity
- func (o *RemoveTemplateOK) IsClientError() bool
- func (o *RemoveTemplateOK) IsCode(code int) bool
- func (o *RemoveTemplateOK) IsRedirect() bool
- func (o *RemoveTemplateOK) IsServerError() bool
- func (o *RemoveTemplateOK) IsSuccess() bool
- func (o *RemoveTemplateOK) String() string
- type RemoveTemplateParams
- func NewRemoveTemplateParams() *RemoveTemplateParams
- func NewRemoveTemplateParamsWithContext(ctx context.Context) *RemoveTemplateParams
- func NewRemoveTemplateParamsWithHTTPClient(client *http.Client) *RemoveTemplateParams
- func NewRemoveTemplateParamsWithTimeout(timeout time.Duration) *RemoveTemplateParams
- func (o *RemoveTemplateParams) SetContext(ctx context.Context)
- func (o *RemoveTemplateParams) SetDefaults()
- func (o *RemoveTemplateParams) SetDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool)
- func (o *RemoveTemplateParams) SetHTTPClient(client *http.Client)
- func (o *RemoveTemplateParams) SetID(id string)
- func (o *RemoveTemplateParams) SetTimeout(timeout time.Duration)
- func (o *RemoveTemplateParams) WithContext(ctx context.Context) *RemoveTemplateParams
- func (o *RemoveTemplateParams) WithDefaults() *RemoveTemplateParams
- func (o *RemoveTemplateParams) WithDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool) *RemoveTemplateParams
- func (o *RemoveTemplateParams) WithHTTPClient(client *http.Client) *RemoveTemplateParams
- func (o *RemoveTemplateParams) WithID(id string) *RemoveTemplateParams
- func (o *RemoveTemplateParams) WithTimeout(timeout time.Duration) *RemoveTemplateParams
- func (o *RemoveTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveTemplateReader
- type RemoveTemplateUnauthorized
- func (o *RemoveTemplateUnauthorized) Error() string
- func (o *RemoveTemplateUnauthorized) IsClientError() bool
- func (o *RemoveTemplateUnauthorized) IsCode(code int) bool
- func (o *RemoveTemplateUnauthorized) IsRedirect() bool
- func (o *RemoveTemplateUnauthorized) IsServerError() bool
- func (o *RemoveTemplateUnauthorized) IsSuccess() bool
- func (o *RemoveTemplateUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for templates API
func (*Client) ExportTemplate ¶
func (a *Client) ExportTemplate(params *ExportTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportTemplateOK, error)
ExportTemplate exports a template
func (*Client) RemoveTemplate ¶
func (a *Client) RemoveTemplate(params *RemoveTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveTemplateOK, error)
RemoveTemplate deletes a template
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { ExportTemplate(params *ExportTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportTemplateOK, error) RemoveTemplate(params *RemoveTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveTemplateOK, 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 templates API client.
type ExportTemplateBadRequest ¶
type ExportTemplateBadRequest struct { }
ExportTemplateBadRequest 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 NewExportTemplateBadRequest ¶
func NewExportTemplateBadRequest() *ExportTemplateBadRequest
NewExportTemplateBadRequest creates a ExportTemplateBadRequest with default headers values
func (*ExportTemplateBadRequest) Error ¶
func (o *ExportTemplateBadRequest) Error() string
func (*ExportTemplateBadRequest) IsClientError ¶ added in v1.19.1
func (o *ExportTemplateBadRequest) IsClientError() bool
IsClientError returns true when this export template bad request response has a 4xx status code
func (*ExportTemplateBadRequest) IsCode ¶ added in v1.19.1
func (o *ExportTemplateBadRequest) IsCode(code int) bool
IsCode returns true when this export template bad request response a status code equal to that given
func (*ExportTemplateBadRequest) IsRedirect ¶ added in v1.19.1
func (o *ExportTemplateBadRequest) IsRedirect() bool
IsRedirect returns true when this export template bad request response has a 3xx status code
func (*ExportTemplateBadRequest) IsServerError ¶ added in v1.19.1
func (o *ExportTemplateBadRequest) IsServerError() bool
IsServerError returns true when this export template bad request response has a 5xx status code
func (*ExportTemplateBadRequest) IsSuccess ¶ added in v1.19.1
func (o *ExportTemplateBadRequest) IsSuccess() bool
IsSuccess returns true when this export template bad request response has a 2xx status code
func (*ExportTemplateBadRequest) String ¶ added in v1.19.1
func (o *ExportTemplateBadRequest) String() string
type ExportTemplateConflict ¶
type ExportTemplateConflict struct { }
ExportTemplateConflict 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 NewExportTemplateConflict ¶
func NewExportTemplateConflict() *ExportTemplateConflict
NewExportTemplateConflict creates a ExportTemplateConflict with default headers values
func (*ExportTemplateConflict) Error ¶
func (o *ExportTemplateConflict) Error() string
func (*ExportTemplateConflict) IsClientError ¶ added in v1.19.1
func (o *ExportTemplateConflict) IsClientError() bool
IsClientError returns true when this export template conflict response has a 4xx status code
func (*ExportTemplateConflict) IsCode ¶ added in v1.19.1
func (o *ExportTemplateConflict) IsCode(code int) bool
IsCode returns true when this export template conflict response a status code equal to that given
func (*ExportTemplateConflict) IsRedirect ¶ added in v1.19.1
func (o *ExportTemplateConflict) IsRedirect() bool
IsRedirect returns true when this export template conflict response has a 3xx status code
func (*ExportTemplateConflict) IsServerError ¶ added in v1.19.1
func (o *ExportTemplateConflict) IsServerError() bool
IsServerError returns true when this export template conflict response has a 5xx status code
func (*ExportTemplateConflict) IsSuccess ¶ added in v1.19.1
func (o *ExportTemplateConflict) IsSuccess() bool
IsSuccess returns true when this export template conflict response has a 2xx status code
func (*ExportTemplateConflict) String ¶ added in v1.19.1
func (o *ExportTemplateConflict) String() string
type ExportTemplateForbidden ¶
type ExportTemplateForbidden struct { }
ExportTemplateForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewExportTemplateForbidden ¶
func NewExportTemplateForbidden() *ExportTemplateForbidden
NewExportTemplateForbidden creates a ExportTemplateForbidden with default headers values
func (*ExportTemplateForbidden) Error ¶
func (o *ExportTemplateForbidden) Error() string
func (*ExportTemplateForbidden) IsClientError ¶ added in v1.19.1
func (o *ExportTemplateForbidden) IsClientError() bool
IsClientError returns true when this export template forbidden response has a 4xx status code
func (*ExportTemplateForbidden) IsCode ¶ added in v1.19.1
func (o *ExportTemplateForbidden) IsCode(code int) bool
IsCode returns true when this export template forbidden response a status code equal to that given
func (*ExportTemplateForbidden) IsRedirect ¶ added in v1.19.1
func (o *ExportTemplateForbidden) IsRedirect() bool
IsRedirect returns true when this export template forbidden response has a 3xx status code
func (*ExportTemplateForbidden) IsServerError ¶ added in v1.19.1
func (o *ExportTemplateForbidden) IsServerError() bool
IsServerError returns true when this export template forbidden response has a 5xx status code
func (*ExportTemplateForbidden) IsSuccess ¶ added in v1.19.1
func (o *ExportTemplateForbidden) IsSuccess() bool
IsSuccess returns true when this export template forbidden response has a 2xx status code
func (*ExportTemplateForbidden) String ¶ added in v1.19.1
func (o *ExportTemplateForbidden) String() string
type ExportTemplateNotFound ¶
type ExportTemplateNotFound struct { }
ExportTemplateNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewExportTemplateNotFound ¶
func NewExportTemplateNotFound() *ExportTemplateNotFound
NewExportTemplateNotFound creates a ExportTemplateNotFound with default headers values
func (*ExportTemplateNotFound) Error ¶
func (o *ExportTemplateNotFound) Error() string
func (*ExportTemplateNotFound) IsClientError ¶ added in v1.19.1
func (o *ExportTemplateNotFound) IsClientError() bool
IsClientError returns true when this export template not found response has a 4xx status code
func (*ExportTemplateNotFound) IsCode ¶ added in v1.19.1
func (o *ExportTemplateNotFound) IsCode(code int) bool
IsCode returns true when this export template not found response a status code equal to that given
func (*ExportTemplateNotFound) IsRedirect ¶ added in v1.19.1
func (o *ExportTemplateNotFound) IsRedirect() bool
IsRedirect returns true when this export template not found response has a 3xx status code
func (*ExportTemplateNotFound) IsServerError ¶ added in v1.19.1
func (o *ExportTemplateNotFound) IsServerError() bool
IsServerError returns true when this export template not found response has a 5xx status code
func (*ExportTemplateNotFound) IsSuccess ¶ added in v1.19.1
func (o *ExportTemplateNotFound) IsSuccess() bool
IsSuccess returns true when this export template not found response has a 2xx status code
func (*ExportTemplateNotFound) String ¶ added in v1.19.1
func (o *ExportTemplateNotFound) String() string
type ExportTemplateOK ¶
type ExportTemplateOK struct {
Payload string
}
ExportTemplateOK describes a response with status code 200, with default header values.
successful operation
func NewExportTemplateOK ¶
func NewExportTemplateOK() *ExportTemplateOK
NewExportTemplateOK creates a ExportTemplateOK with default headers values
func (*ExportTemplateOK) Error ¶
func (o *ExportTemplateOK) Error() string
func (*ExportTemplateOK) GetPayload ¶
func (o *ExportTemplateOK) GetPayload() string
func (*ExportTemplateOK) IsClientError ¶ added in v1.19.1
func (o *ExportTemplateOK) IsClientError() bool
IsClientError returns true when this export template o k response has a 4xx status code
func (*ExportTemplateOK) IsCode ¶ added in v1.19.1
func (o *ExportTemplateOK) IsCode(code int) bool
IsCode returns true when this export template o k response a status code equal to that given
func (*ExportTemplateOK) IsRedirect ¶ added in v1.19.1
func (o *ExportTemplateOK) IsRedirect() bool
IsRedirect returns true when this export template o k response has a 3xx status code
func (*ExportTemplateOK) IsServerError ¶ added in v1.19.1
func (o *ExportTemplateOK) IsServerError() bool
IsServerError returns true when this export template o k response has a 5xx status code
func (*ExportTemplateOK) IsSuccess ¶ added in v1.19.1
func (o *ExportTemplateOK) IsSuccess() bool
IsSuccess returns true when this export template o k response has a 2xx status code
func (*ExportTemplateOK) String ¶ added in v1.19.1
func (o *ExportTemplateOK) String() string
type ExportTemplateParams ¶
type ExportTemplateParams struct { /* ID. The template id. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExportTemplateParams contains all the parameters to send to the API endpoint
for the export template operation. Typically these are written to a http.Request.
func NewExportTemplateParams ¶
func NewExportTemplateParams() *ExportTemplateParams
NewExportTemplateParams creates a new ExportTemplateParams 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 NewExportTemplateParamsWithContext ¶
func NewExportTemplateParamsWithContext(ctx context.Context) *ExportTemplateParams
NewExportTemplateParamsWithContext creates a new ExportTemplateParams object with the ability to set a context for a request.
func NewExportTemplateParamsWithHTTPClient ¶
func NewExportTemplateParamsWithHTTPClient(client *http.Client) *ExportTemplateParams
NewExportTemplateParamsWithHTTPClient creates a new ExportTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewExportTemplateParamsWithTimeout ¶
func NewExportTemplateParamsWithTimeout(timeout time.Duration) *ExportTemplateParams
NewExportTemplateParamsWithTimeout creates a new ExportTemplateParams object with the ability to set a timeout on a request.
func (*ExportTemplateParams) SetContext ¶
func (o *ExportTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the export template params
func (*ExportTemplateParams) SetDefaults ¶
func (o *ExportTemplateParams) SetDefaults()
SetDefaults hydrates default values in the export template params (not the query body).
All values with no default are reset to their zero value.
func (*ExportTemplateParams) SetHTTPClient ¶
func (o *ExportTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the export template params
func (*ExportTemplateParams) SetID ¶
func (o *ExportTemplateParams) SetID(id string)
SetID adds the id to the export template params
func (*ExportTemplateParams) SetTimeout ¶
func (o *ExportTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the export template params
func (*ExportTemplateParams) WithContext ¶
func (o *ExportTemplateParams) WithContext(ctx context.Context) *ExportTemplateParams
WithContext adds the context to the export template params
func (*ExportTemplateParams) WithDefaults ¶
func (o *ExportTemplateParams) WithDefaults() *ExportTemplateParams
WithDefaults hydrates default values in the export template params (not the query body).
All values with no default are reset to their zero value.
func (*ExportTemplateParams) WithHTTPClient ¶
func (o *ExportTemplateParams) WithHTTPClient(client *http.Client) *ExportTemplateParams
WithHTTPClient adds the HTTPClient to the export template params
func (*ExportTemplateParams) WithID ¶
func (o *ExportTemplateParams) WithID(id string) *ExportTemplateParams
WithID adds the id to the export template params
func (*ExportTemplateParams) WithTimeout ¶
func (o *ExportTemplateParams) WithTimeout(timeout time.Duration) *ExportTemplateParams
WithTimeout adds the timeout to the export template params
func (*ExportTemplateParams) WriteToRequest ¶
func (o *ExportTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExportTemplateReader ¶
type ExportTemplateReader struct {
// contains filtered or unexported fields
}
ExportTemplateReader is a Reader for the ExportTemplate structure.
func (*ExportTemplateReader) ReadResponse ¶
func (o *ExportTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExportTemplateUnauthorized ¶
type ExportTemplateUnauthorized struct { }
ExportTemplateUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewExportTemplateUnauthorized ¶
func NewExportTemplateUnauthorized() *ExportTemplateUnauthorized
NewExportTemplateUnauthorized creates a ExportTemplateUnauthorized with default headers values
func (*ExportTemplateUnauthorized) Error ¶
func (o *ExportTemplateUnauthorized) Error() string
func (*ExportTemplateUnauthorized) IsClientError ¶ added in v1.19.1
func (o *ExportTemplateUnauthorized) IsClientError() bool
IsClientError returns true when this export template unauthorized response has a 4xx status code
func (*ExportTemplateUnauthorized) IsCode ¶ added in v1.19.1
func (o *ExportTemplateUnauthorized) IsCode(code int) bool
IsCode returns true when this export template unauthorized response a status code equal to that given
func (*ExportTemplateUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *ExportTemplateUnauthorized) IsRedirect() bool
IsRedirect returns true when this export template unauthorized response has a 3xx status code
func (*ExportTemplateUnauthorized) IsServerError ¶ added in v1.19.1
func (o *ExportTemplateUnauthorized) IsServerError() bool
IsServerError returns true when this export template unauthorized response has a 5xx status code
func (*ExportTemplateUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *ExportTemplateUnauthorized) IsSuccess() bool
IsSuccess returns true when this export template unauthorized response has a 2xx status code
func (*ExportTemplateUnauthorized) String ¶ added in v1.19.1
func (o *ExportTemplateUnauthorized) String() string
type RemoveTemplateBadRequest ¶
type RemoveTemplateBadRequest struct { }
RemoveTemplateBadRequest 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 NewRemoveTemplateBadRequest ¶
func NewRemoveTemplateBadRequest() *RemoveTemplateBadRequest
NewRemoveTemplateBadRequest creates a RemoveTemplateBadRequest with default headers values
func (*RemoveTemplateBadRequest) Error ¶
func (o *RemoveTemplateBadRequest) Error() string
func (*RemoveTemplateBadRequest) IsClientError ¶ added in v1.19.1
func (o *RemoveTemplateBadRequest) IsClientError() bool
IsClientError returns true when this remove template bad request response has a 4xx status code
func (*RemoveTemplateBadRequest) IsCode ¶ added in v1.19.1
func (o *RemoveTemplateBadRequest) IsCode(code int) bool
IsCode returns true when this remove template bad request response a status code equal to that given
func (*RemoveTemplateBadRequest) IsRedirect ¶ added in v1.19.1
func (o *RemoveTemplateBadRequest) IsRedirect() bool
IsRedirect returns true when this remove template bad request response has a 3xx status code
func (*RemoveTemplateBadRequest) IsServerError ¶ added in v1.19.1
func (o *RemoveTemplateBadRequest) IsServerError() bool
IsServerError returns true when this remove template bad request response has a 5xx status code
func (*RemoveTemplateBadRequest) IsSuccess ¶ added in v1.19.1
func (o *RemoveTemplateBadRequest) IsSuccess() bool
IsSuccess returns true when this remove template bad request response has a 2xx status code
func (*RemoveTemplateBadRequest) String ¶ added in v1.19.1
func (o *RemoveTemplateBadRequest) String() string
type RemoveTemplateConflict ¶
type RemoveTemplateConflict struct { }
RemoveTemplateConflict 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 NewRemoveTemplateConflict ¶
func NewRemoveTemplateConflict() *RemoveTemplateConflict
NewRemoveTemplateConflict creates a RemoveTemplateConflict with default headers values
func (*RemoveTemplateConflict) Error ¶
func (o *RemoveTemplateConflict) Error() string
func (*RemoveTemplateConflict) IsClientError ¶ added in v1.19.1
func (o *RemoveTemplateConflict) IsClientError() bool
IsClientError returns true when this remove template conflict response has a 4xx status code
func (*RemoveTemplateConflict) IsCode ¶ added in v1.19.1
func (o *RemoveTemplateConflict) IsCode(code int) bool
IsCode returns true when this remove template conflict response a status code equal to that given
func (*RemoveTemplateConflict) IsRedirect ¶ added in v1.19.1
func (o *RemoveTemplateConflict) IsRedirect() bool
IsRedirect returns true when this remove template conflict response has a 3xx status code
func (*RemoveTemplateConflict) IsServerError ¶ added in v1.19.1
func (o *RemoveTemplateConflict) IsServerError() bool
IsServerError returns true when this remove template conflict response has a 5xx status code
func (*RemoveTemplateConflict) IsSuccess ¶ added in v1.19.1
func (o *RemoveTemplateConflict) IsSuccess() bool
IsSuccess returns true when this remove template conflict response has a 2xx status code
func (*RemoveTemplateConflict) String ¶ added in v1.19.1
func (o *RemoveTemplateConflict) String() string
type RemoveTemplateForbidden ¶
type RemoveTemplateForbidden struct { }
RemoveTemplateForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewRemoveTemplateForbidden ¶
func NewRemoveTemplateForbidden() *RemoveTemplateForbidden
NewRemoveTemplateForbidden creates a RemoveTemplateForbidden with default headers values
func (*RemoveTemplateForbidden) Error ¶
func (o *RemoveTemplateForbidden) Error() string
func (*RemoveTemplateForbidden) IsClientError ¶ added in v1.19.1
func (o *RemoveTemplateForbidden) IsClientError() bool
IsClientError returns true when this remove template forbidden response has a 4xx status code
func (*RemoveTemplateForbidden) IsCode ¶ added in v1.19.1
func (o *RemoveTemplateForbidden) IsCode(code int) bool
IsCode returns true when this remove template forbidden response a status code equal to that given
func (*RemoveTemplateForbidden) IsRedirect ¶ added in v1.19.1
func (o *RemoveTemplateForbidden) IsRedirect() bool
IsRedirect returns true when this remove template forbidden response has a 3xx status code
func (*RemoveTemplateForbidden) IsServerError ¶ added in v1.19.1
func (o *RemoveTemplateForbidden) IsServerError() bool
IsServerError returns true when this remove template forbidden response has a 5xx status code
func (*RemoveTemplateForbidden) IsSuccess ¶ added in v1.19.1
func (o *RemoveTemplateForbidden) IsSuccess() bool
IsSuccess returns true when this remove template forbidden response has a 2xx status code
func (*RemoveTemplateForbidden) String ¶ added in v1.19.1
func (o *RemoveTemplateForbidden) String() string
type RemoveTemplateNotFound ¶
type RemoveTemplateNotFound struct { }
RemoveTemplateNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewRemoveTemplateNotFound ¶
func NewRemoveTemplateNotFound() *RemoveTemplateNotFound
NewRemoveTemplateNotFound creates a RemoveTemplateNotFound with default headers values
func (*RemoveTemplateNotFound) Error ¶
func (o *RemoveTemplateNotFound) Error() string
func (*RemoveTemplateNotFound) IsClientError ¶ added in v1.19.1
func (o *RemoveTemplateNotFound) IsClientError() bool
IsClientError returns true when this remove template not found response has a 4xx status code
func (*RemoveTemplateNotFound) IsCode ¶ added in v1.19.1
func (o *RemoveTemplateNotFound) IsCode(code int) bool
IsCode returns true when this remove template not found response a status code equal to that given
func (*RemoveTemplateNotFound) IsRedirect ¶ added in v1.19.1
func (o *RemoveTemplateNotFound) IsRedirect() bool
IsRedirect returns true when this remove template not found response has a 3xx status code
func (*RemoveTemplateNotFound) IsServerError ¶ added in v1.19.1
func (o *RemoveTemplateNotFound) IsServerError() bool
IsServerError returns true when this remove template not found response has a 5xx status code
func (*RemoveTemplateNotFound) IsSuccess ¶ added in v1.19.1
func (o *RemoveTemplateNotFound) IsSuccess() bool
IsSuccess returns true when this remove template not found response has a 2xx status code
func (*RemoveTemplateNotFound) String ¶ added in v1.19.1
func (o *RemoveTemplateNotFound) String() string
type RemoveTemplateOK ¶
type RemoveTemplateOK struct {
Payload *models.TemplateEntity
}
RemoveTemplateOK describes a response with status code 200, with default header values.
successful operation
func NewRemoveTemplateOK ¶
func NewRemoveTemplateOK() *RemoveTemplateOK
NewRemoveTemplateOK creates a RemoveTemplateOK with default headers values
func (*RemoveTemplateOK) Error ¶
func (o *RemoveTemplateOK) Error() string
func (*RemoveTemplateOK) GetPayload ¶
func (o *RemoveTemplateOK) GetPayload() *models.TemplateEntity
func (*RemoveTemplateOK) IsClientError ¶ added in v1.19.1
func (o *RemoveTemplateOK) IsClientError() bool
IsClientError returns true when this remove template o k response has a 4xx status code
func (*RemoveTemplateOK) IsCode ¶ added in v1.19.1
func (o *RemoveTemplateOK) IsCode(code int) bool
IsCode returns true when this remove template o k response a status code equal to that given
func (*RemoveTemplateOK) IsRedirect ¶ added in v1.19.1
func (o *RemoveTemplateOK) IsRedirect() bool
IsRedirect returns true when this remove template o k response has a 3xx status code
func (*RemoveTemplateOK) IsServerError ¶ added in v1.19.1
func (o *RemoveTemplateOK) IsServerError() bool
IsServerError returns true when this remove template o k response has a 5xx status code
func (*RemoveTemplateOK) IsSuccess ¶ added in v1.19.1
func (o *RemoveTemplateOK) IsSuccess() bool
IsSuccess returns true when this remove template o k response has a 2xx status code
func (*RemoveTemplateOK) String ¶ added in v1.19.1
func (o *RemoveTemplateOK) String() string
type RemoveTemplateParams ¶
type RemoveTemplateParams struct { /* DisconnectedNodeAcknowledged. Acknowledges that this node is disconnected to allow for mutable requests to proceed. */ DisconnectedNodeAcknowledged *bool /* ID. The template id. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveTemplateParams contains all the parameters to send to the API endpoint
for the remove template operation. Typically these are written to a http.Request.
func NewRemoveTemplateParams ¶
func NewRemoveTemplateParams() *RemoveTemplateParams
NewRemoveTemplateParams creates a new RemoveTemplateParams 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 NewRemoveTemplateParamsWithContext ¶
func NewRemoveTemplateParamsWithContext(ctx context.Context) *RemoveTemplateParams
NewRemoveTemplateParamsWithContext creates a new RemoveTemplateParams object with the ability to set a context for a request.
func NewRemoveTemplateParamsWithHTTPClient ¶
func NewRemoveTemplateParamsWithHTTPClient(client *http.Client) *RemoveTemplateParams
NewRemoveTemplateParamsWithHTTPClient creates a new RemoveTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveTemplateParamsWithTimeout ¶
func NewRemoveTemplateParamsWithTimeout(timeout time.Duration) *RemoveTemplateParams
NewRemoveTemplateParamsWithTimeout creates a new RemoveTemplateParams object with the ability to set a timeout on a request.
func (*RemoveTemplateParams) SetContext ¶
func (o *RemoveTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the remove template params
func (*RemoveTemplateParams) SetDefaults ¶
func (o *RemoveTemplateParams) SetDefaults()
SetDefaults hydrates default values in the remove template params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveTemplateParams) SetDisconnectedNodeAcknowledged ¶
func (o *RemoveTemplateParams) SetDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool)
SetDisconnectedNodeAcknowledged adds the disconnectedNodeAcknowledged to the remove template params
func (*RemoveTemplateParams) SetHTTPClient ¶
func (o *RemoveTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove template params
func (*RemoveTemplateParams) SetID ¶
func (o *RemoveTemplateParams) SetID(id string)
SetID adds the id to the remove template params
func (*RemoveTemplateParams) SetTimeout ¶
func (o *RemoveTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove template params
func (*RemoveTemplateParams) WithContext ¶
func (o *RemoveTemplateParams) WithContext(ctx context.Context) *RemoveTemplateParams
WithContext adds the context to the remove template params
func (*RemoveTemplateParams) WithDefaults ¶
func (o *RemoveTemplateParams) WithDefaults() *RemoveTemplateParams
WithDefaults hydrates default values in the remove template params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveTemplateParams) WithDisconnectedNodeAcknowledged ¶
func (o *RemoveTemplateParams) WithDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool) *RemoveTemplateParams
WithDisconnectedNodeAcknowledged adds the disconnectedNodeAcknowledged to the remove template params
func (*RemoveTemplateParams) WithHTTPClient ¶
func (o *RemoveTemplateParams) WithHTTPClient(client *http.Client) *RemoveTemplateParams
WithHTTPClient adds the HTTPClient to the remove template params
func (*RemoveTemplateParams) WithID ¶
func (o *RemoveTemplateParams) WithID(id string) *RemoveTemplateParams
WithID adds the id to the remove template params
func (*RemoveTemplateParams) WithTimeout ¶
func (o *RemoveTemplateParams) WithTimeout(timeout time.Duration) *RemoveTemplateParams
WithTimeout adds the timeout to the remove template params
func (*RemoveTemplateParams) WriteToRequest ¶
func (o *RemoveTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveTemplateReader ¶
type RemoveTemplateReader struct {
// contains filtered or unexported fields
}
RemoveTemplateReader is a Reader for the RemoveTemplate structure.
func (*RemoveTemplateReader) ReadResponse ¶
func (o *RemoveTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveTemplateUnauthorized ¶
type RemoveTemplateUnauthorized struct { }
RemoveTemplateUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewRemoveTemplateUnauthorized ¶
func NewRemoveTemplateUnauthorized() *RemoveTemplateUnauthorized
NewRemoveTemplateUnauthorized creates a RemoveTemplateUnauthorized with default headers values
func (*RemoveTemplateUnauthorized) Error ¶
func (o *RemoveTemplateUnauthorized) Error() string
func (*RemoveTemplateUnauthorized) IsClientError ¶ added in v1.19.1
func (o *RemoveTemplateUnauthorized) IsClientError() bool
IsClientError returns true when this remove template unauthorized response has a 4xx status code
func (*RemoveTemplateUnauthorized) IsCode ¶ added in v1.19.1
func (o *RemoveTemplateUnauthorized) IsCode(code int) bool
IsCode returns true when this remove template unauthorized response a status code equal to that given
func (*RemoveTemplateUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *RemoveTemplateUnauthorized) IsRedirect() bool
IsRedirect returns true when this remove template unauthorized response has a 3xx status code
func (*RemoveTemplateUnauthorized) IsServerError ¶ added in v1.19.1
func (o *RemoveTemplateUnauthorized) IsServerError() bool
IsServerError returns true when this remove template unauthorized response has a 5xx status code
func (*RemoveTemplateUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *RemoveTemplateUnauthorized) IsSuccess() bool
IsSuccess returns true when this remove template unauthorized response has a 2xx status code
func (*RemoveTemplateUnauthorized) String ¶ added in v1.19.1
func (o *RemoveTemplateUnauthorized) String() string