Documentation ¶
Index ¶
- type Client
- func (a *Client) GetOutputPort(params *GetOutputPortParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetOutputPortOK, error)
- func (a *Client) RemoveOutputPort(params *RemoveOutputPortParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RemoveOutputPortOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateOutputPort(params *UpdateOutputPortParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateOutputPortOK, error)
- type ClientOption
- type ClientService
- type GetOutputPortBadRequest
- func (o *GetOutputPortBadRequest) Error() string
- func (o *GetOutputPortBadRequest) IsClientError() bool
- func (o *GetOutputPortBadRequest) IsCode(code int) bool
- func (o *GetOutputPortBadRequest) IsRedirect() bool
- func (o *GetOutputPortBadRequest) IsServerError() bool
- func (o *GetOutputPortBadRequest) IsSuccess() bool
- func (o *GetOutputPortBadRequest) String() string
- type GetOutputPortConflict
- func (o *GetOutputPortConflict) Error() string
- func (o *GetOutputPortConflict) IsClientError() bool
- func (o *GetOutputPortConflict) IsCode(code int) bool
- func (o *GetOutputPortConflict) IsRedirect() bool
- func (o *GetOutputPortConflict) IsServerError() bool
- func (o *GetOutputPortConflict) IsSuccess() bool
- func (o *GetOutputPortConflict) String() string
- type GetOutputPortForbidden
- func (o *GetOutputPortForbidden) Error() string
- func (o *GetOutputPortForbidden) IsClientError() bool
- func (o *GetOutputPortForbidden) IsCode(code int) bool
- func (o *GetOutputPortForbidden) IsRedirect() bool
- func (o *GetOutputPortForbidden) IsServerError() bool
- func (o *GetOutputPortForbidden) IsSuccess() bool
- func (o *GetOutputPortForbidden) String() string
- type GetOutputPortNotFound
- func (o *GetOutputPortNotFound) Error() string
- func (o *GetOutputPortNotFound) IsClientError() bool
- func (o *GetOutputPortNotFound) IsCode(code int) bool
- func (o *GetOutputPortNotFound) IsRedirect() bool
- func (o *GetOutputPortNotFound) IsServerError() bool
- func (o *GetOutputPortNotFound) IsSuccess() bool
- func (o *GetOutputPortNotFound) String() string
- type GetOutputPortOK
- func (o *GetOutputPortOK) Error() string
- func (o *GetOutputPortOK) GetPayload() *models.PortEntity
- func (o *GetOutputPortOK) IsClientError() bool
- func (o *GetOutputPortOK) IsCode(code int) bool
- func (o *GetOutputPortOK) IsRedirect() bool
- func (o *GetOutputPortOK) IsServerError() bool
- func (o *GetOutputPortOK) IsSuccess() bool
- func (o *GetOutputPortOK) String() string
- type GetOutputPortParams
- func (o *GetOutputPortParams) SetContext(ctx context.Context)
- func (o *GetOutputPortParams) SetDefaults()
- func (o *GetOutputPortParams) SetHTTPClient(client *http.Client)
- func (o *GetOutputPortParams) SetID(id string)
- func (o *GetOutputPortParams) SetTimeout(timeout time.Duration)
- func (o *GetOutputPortParams) WithContext(ctx context.Context) *GetOutputPortParams
- func (o *GetOutputPortParams) WithDefaults() *GetOutputPortParams
- func (o *GetOutputPortParams) WithHTTPClient(client *http.Client) *GetOutputPortParams
- func (o *GetOutputPortParams) WithID(id string) *GetOutputPortParams
- func (o *GetOutputPortParams) WithTimeout(timeout time.Duration) *GetOutputPortParams
- func (o *GetOutputPortParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOutputPortReader
- type GetOutputPortUnauthorized
- func (o *GetOutputPortUnauthorized) Error() string
- func (o *GetOutputPortUnauthorized) IsClientError() bool
- func (o *GetOutputPortUnauthorized) IsCode(code int) bool
- func (o *GetOutputPortUnauthorized) IsRedirect() bool
- func (o *GetOutputPortUnauthorized) IsServerError() bool
- func (o *GetOutputPortUnauthorized) IsSuccess() bool
- func (o *GetOutputPortUnauthorized) String() string
- type RemoveOutputPortBadRequest
- func (o *RemoveOutputPortBadRequest) Error() string
- func (o *RemoveOutputPortBadRequest) IsClientError() bool
- func (o *RemoveOutputPortBadRequest) IsCode(code int) bool
- func (o *RemoveOutputPortBadRequest) IsRedirect() bool
- func (o *RemoveOutputPortBadRequest) IsServerError() bool
- func (o *RemoveOutputPortBadRequest) IsSuccess() bool
- func (o *RemoveOutputPortBadRequest) String() string
- type RemoveOutputPortConflict
- func (o *RemoveOutputPortConflict) Error() string
- func (o *RemoveOutputPortConflict) IsClientError() bool
- func (o *RemoveOutputPortConflict) IsCode(code int) bool
- func (o *RemoveOutputPortConflict) IsRedirect() bool
- func (o *RemoveOutputPortConflict) IsServerError() bool
- func (o *RemoveOutputPortConflict) IsSuccess() bool
- func (o *RemoveOutputPortConflict) String() string
- type RemoveOutputPortForbidden
- func (o *RemoveOutputPortForbidden) Error() string
- func (o *RemoveOutputPortForbidden) IsClientError() bool
- func (o *RemoveOutputPortForbidden) IsCode(code int) bool
- func (o *RemoveOutputPortForbidden) IsRedirect() bool
- func (o *RemoveOutputPortForbidden) IsServerError() bool
- func (o *RemoveOutputPortForbidden) IsSuccess() bool
- func (o *RemoveOutputPortForbidden) String() string
- type RemoveOutputPortNotFound
- func (o *RemoveOutputPortNotFound) Error() string
- func (o *RemoveOutputPortNotFound) IsClientError() bool
- func (o *RemoveOutputPortNotFound) IsCode(code int) bool
- func (o *RemoveOutputPortNotFound) IsRedirect() bool
- func (o *RemoveOutputPortNotFound) IsServerError() bool
- func (o *RemoveOutputPortNotFound) IsSuccess() bool
- func (o *RemoveOutputPortNotFound) String() string
- type RemoveOutputPortOK
- func (o *RemoveOutputPortOK) Error() string
- func (o *RemoveOutputPortOK) GetPayload() *models.PortEntity
- func (o *RemoveOutputPortOK) IsClientError() bool
- func (o *RemoveOutputPortOK) IsCode(code int) bool
- func (o *RemoveOutputPortOK) IsRedirect() bool
- func (o *RemoveOutputPortOK) IsServerError() bool
- func (o *RemoveOutputPortOK) IsSuccess() bool
- func (o *RemoveOutputPortOK) String() string
- type RemoveOutputPortParams
- func NewRemoveOutputPortParams() *RemoveOutputPortParams
- func NewRemoveOutputPortParamsWithContext(ctx context.Context) *RemoveOutputPortParams
- func NewRemoveOutputPortParamsWithHTTPClient(client *http.Client) *RemoveOutputPortParams
- func NewRemoveOutputPortParamsWithTimeout(timeout time.Duration) *RemoveOutputPortParams
- func (o *RemoveOutputPortParams) SetClientID(clientID *string)
- func (o *RemoveOutputPortParams) SetContext(ctx context.Context)
- func (o *RemoveOutputPortParams) SetDefaults()
- func (o *RemoveOutputPortParams) SetDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool)
- func (o *RemoveOutputPortParams) SetHTTPClient(client *http.Client)
- func (o *RemoveOutputPortParams) SetID(id string)
- func (o *RemoveOutputPortParams) SetTimeout(timeout time.Duration)
- func (o *RemoveOutputPortParams) SetVersion(version *string)
- func (o *RemoveOutputPortParams) WithClientID(clientID *string) *RemoveOutputPortParams
- func (o *RemoveOutputPortParams) WithContext(ctx context.Context) *RemoveOutputPortParams
- func (o *RemoveOutputPortParams) WithDefaults() *RemoveOutputPortParams
- func (o *RemoveOutputPortParams) WithDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool) *RemoveOutputPortParams
- func (o *RemoveOutputPortParams) WithHTTPClient(client *http.Client) *RemoveOutputPortParams
- func (o *RemoveOutputPortParams) WithID(id string) *RemoveOutputPortParams
- func (o *RemoveOutputPortParams) WithTimeout(timeout time.Duration) *RemoveOutputPortParams
- func (o *RemoveOutputPortParams) WithVersion(version *string) *RemoveOutputPortParams
- func (o *RemoveOutputPortParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveOutputPortReader
- type RemoveOutputPortUnauthorized
- func (o *RemoveOutputPortUnauthorized) Error() string
- func (o *RemoveOutputPortUnauthorized) IsClientError() bool
- func (o *RemoveOutputPortUnauthorized) IsCode(code int) bool
- func (o *RemoveOutputPortUnauthorized) IsRedirect() bool
- func (o *RemoveOutputPortUnauthorized) IsServerError() bool
- func (o *RemoveOutputPortUnauthorized) IsSuccess() bool
- func (o *RemoveOutputPortUnauthorized) String() string
- type UpdateOutputPortBadRequest
- func (o *UpdateOutputPortBadRequest) Error() string
- func (o *UpdateOutputPortBadRequest) IsClientError() bool
- func (o *UpdateOutputPortBadRequest) IsCode(code int) bool
- func (o *UpdateOutputPortBadRequest) IsRedirect() bool
- func (o *UpdateOutputPortBadRequest) IsServerError() bool
- func (o *UpdateOutputPortBadRequest) IsSuccess() bool
- func (o *UpdateOutputPortBadRequest) String() string
- type UpdateOutputPortConflict
- func (o *UpdateOutputPortConflict) Error() string
- func (o *UpdateOutputPortConflict) IsClientError() bool
- func (o *UpdateOutputPortConflict) IsCode(code int) bool
- func (o *UpdateOutputPortConflict) IsRedirect() bool
- func (o *UpdateOutputPortConflict) IsServerError() bool
- func (o *UpdateOutputPortConflict) IsSuccess() bool
- func (o *UpdateOutputPortConflict) String() string
- type UpdateOutputPortForbidden
- func (o *UpdateOutputPortForbidden) Error() string
- func (o *UpdateOutputPortForbidden) IsClientError() bool
- func (o *UpdateOutputPortForbidden) IsCode(code int) bool
- func (o *UpdateOutputPortForbidden) IsRedirect() bool
- func (o *UpdateOutputPortForbidden) IsServerError() bool
- func (o *UpdateOutputPortForbidden) IsSuccess() bool
- func (o *UpdateOutputPortForbidden) String() string
- type UpdateOutputPortNotFound
- func (o *UpdateOutputPortNotFound) Error() string
- func (o *UpdateOutputPortNotFound) IsClientError() bool
- func (o *UpdateOutputPortNotFound) IsCode(code int) bool
- func (o *UpdateOutputPortNotFound) IsRedirect() bool
- func (o *UpdateOutputPortNotFound) IsServerError() bool
- func (o *UpdateOutputPortNotFound) IsSuccess() bool
- func (o *UpdateOutputPortNotFound) String() string
- type UpdateOutputPortOK
- func (o *UpdateOutputPortOK) Error() string
- func (o *UpdateOutputPortOK) GetPayload() *models.PortEntity
- func (o *UpdateOutputPortOK) IsClientError() bool
- func (o *UpdateOutputPortOK) IsCode(code int) bool
- func (o *UpdateOutputPortOK) IsRedirect() bool
- func (o *UpdateOutputPortOK) IsServerError() bool
- func (o *UpdateOutputPortOK) IsSuccess() bool
- func (o *UpdateOutputPortOK) String() string
- type UpdateOutputPortParams
- func NewUpdateOutputPortParams() *UpdateOutputPortParams
- func NewUpdateOutputPortParamsWithContext(ctx context.Context) *UpdateOutputPortParams
- func NewUpdateOutputPortParamsWithHTTPClient(client *http.Client) *UpdateOutputPortParams
- func NewUpdateOutputPortParamsWithTimeout(timeout time.Duration) *UpdateOutputPortParams
- func (o *UpdateOutputPortParams) SetBody(body *models.PortEntity)
- func (o *UpdateOutputPortParams) SetContext(ctx context.Context)
- func (o *UpdateOutputPortParams) SetDefaults()
- func (o *UpdateOutputPortParams) SetHTTPClient(client *http.Client)
- func (o *UpdateOutputPortParams) SetID(id string)
- func (o *UpdateOutputPortParams) SetTimeout(timeout time.Duration)
- func (o *UpdateOutputPortParams) WithBody(body *models.PortEntity) *UpdateOutputPortParams
- func (o *UpdateOutputPortParams) WithContext(ctx context.Context) *UpdateOutputPortParams
- func (o *UpdateOutputPortParams) WithDefaults() *UpdateOutputPortParams
- func (o *UpdateOutputPortParams) WithHTTPClient(client *http.Client) *UpdateOutputPortParams
- func (o *UpdateOutputPortParams) WithID(id string) *UpdateOutputPortParams
- func (o *UpdateOutputPortParams) WithTimeout(timeout time.Duration) *UpdateOutputPortParams
- func (o *UpdateOutputPortParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateOutputPortReader
- type UpdateOutputPortUnauthorized
- func (o *UpdateOutputPortUnauthorized) Error() string
- func (o *UpdateOutputPortUnauthorized) IsClientError() bool
- func (o *UpdateOutputPortUnauthorized) IsCode(code int) bool
- func (o *UpdateOutputPortUnauthorized) IsRedirect() bool
- func (o *UpdateOutputPortUnauthorized) IsServerError() bool
- func (o *UpdateOutputPortUnauthorized) IsSuccess() bool
- func (o *UpdateOutputPortUnauthorized) 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 output ports API
func (*Client) GetOutputPort ¶
func (a *Client) GetOutputPort(params *GetOutputPortParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOutputPortOK, error)
GetOutputPort gets an output port
func (*Client) RemoveOutputPort ¶
func (a *Client) RemoveOutputPort(params *RemoveOutputPortParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveOutputPortOK, error)
RemoveOutputPort deletes an output port
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateOutputPort ¶
func (a *Client) UpdateOutputPort(params *UpdateOutputPortParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOutputPortOK, error)
UpdateOutputPort updates an output port
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetOutputPort(params *GetOutputPortParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOutputPortOK, error) RemoveOutputPort(params *RemoveOutputPortParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveOutputPortOK, error) UpdateOutputPort(params *UpdateOutputPortParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOutputPortOK, 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 output ports API client.
type GetOutputPortBadRequest ¶
type GetOutputPortBadRequest struct { }
GetOutputPortBadRequest 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 NewGetOutputPortBadRequest ¶
func NewGetOutputPortBadRequest() *GetOutputPortBadRequest
NewGetOutputPortBadRequest creates a GetOutputPortBadRequest with default headers values
func (*GetOutputPortBadRequest) Error ¶
func (o *GetOutputPortBadRequest) Error() string
func (*GetOutputPortBadRequest) IsClientError ¶ added in v1.19.1
func (o *GetOutputPortBadRequest) IsClientError() bool
IsClientError returns true when this get output port bad request response has a 4xx status code
func (*GetOutputPortBadRequest) IsCode ¶ added in v1.19.1
func (o *GetOutputPortBadRequest) IsCode(code int) bool
IsCode returns true when this get output port bad request response a status code equal to that given
func (*GetOutputPortBadRequest) IsRedirect ¶ added in v1.19.1
func (o *GetOutputPortBadRequest) IsRedirect() bool
IsRedirect returns true when this get output port bad request response has a 3xx status code
func (*GetOutputPortBadRequest) IsServerError ¶ added in v1.19.1
func (o *GetOutputPortBadRequest) IsServerError() bool
IsServerError returns true when this get output port bad request response has a 5xx status code
func (*GetOutputPortBadRequest) IsSuccess ¶ added in v1.19.1
func (o *GetOutputPortBadRequest) IsSuccess() bool
IsSuccess returns true when this get output port bad request response has a 2xx status code
func (*GetOutputPortBadRequest) String ¶ added in v1.19.1
func (o *GetOutputPortBadRequest) String() string
type GetOutputPortConflict ¶
type GetOutputPortConflict struct { }
GetOutputPortConflict 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 NewGetOutputPortConflict ¶
func NewGetOutputPortConflict() *GetOutputPortConflict
NewGetOutputPortConflict creates a GetOutputPortConflict with default headers values
func (*GetOutputPortConflict) Error ¶
func (o *GetOutputPortConflict) Error() string
func (*GetOutputPortConflict) IsClientError ¶ added in v1.19.1
func (o *GetOutputPortConflict) IsClientError() bool
IsClientError returns true when this get output port conflict response has a 4xx status code
func (*GetOutputPortConflict) IsCode ¶ added in v1.19.1
func (o *GetOutputPortConflict) IsCode(code int) bool
IsCode returns true when this get output port conflict response a status code equal to that given
func (*GetOutputPortConflict) IsRedirect ¶ added in v1.19.1
func (o *GetOutputPortConflict) IsRedirect() bool
IsRedirect returns true when this get output port conflict response has a 3xx status code
func (*GetOutputPortConflict) IsServerError ¶ added in v1.19.1
func (o *GetOutputPortConflict) IsServerError() bool
IsServerError returns true when this get output port conflict response has a 5xx status code
func (*GetOutputPortConflict) IsSuccess ¶ added in v1.19.1
func (o *GetOutputPortConflict) IsSuccess() bool
IsSuccess returns true when this get output port conflict response has a 2xx status code
func (*GetOutputPortConflict) String ¶ added in v1.19.1
func (o *GetOutputPortConflict) String() string
type GetOutputPortForbidden ¶
type GetOutputPortForbidden struct { }
GetOutputPortForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewGetOutputPortForbidden ¶
func NewGetOutputPortForbidden() *GetOutputPortForbidden
NewGetOutputPortForbidden creates a GetOutputPortForbidden with default headers values
func (*GetOutputPortForbidden) Error ¶
func (o *GetOutputPortForbidden) Error() string
func (*GetOutputPortForbidden) IsClientError ¶ added in v1.19.1
func (o *GetOutputPortForbidden) IsClientError() bool
IsClientError returns true when this get output port forbidden response has a 4xx status code
func (*GetOutputPortForbidden) IsCode ¶ added in v1.19.1
func (o *GetOutputPortForbidden) IsCode(code int) bool
IsCode returns true when this get output port forbidden response a status code equal to that given
func (*GetOutputPortForbidden) IsRedirect ¶ added in v1.19.1
func (o *GetOutputPortForbidden) IsRedirect() bool
IsRedirect returns true when this get output port forbidden response has a 3xx status code
func (*GetOutputPortForbidden) IsServerError ¶ added in v1.19.1
func (o *GetOutputPortForbidden) IsServerError() bool
IsServerError returns true when this get output port forbidden response has a 5xx status code
func (*GetOutputPortForbidden) IsSuccess ¶ added in v1.19.1
func (o *GetOutputPortForbidden) IsSuccess() bool
IsSuccess returns true when this get output port forbidden response has a 2xx status code
func (*GetOutputPortForbidden) String ¶ added in v1.19.1
func (o *GetOutputPortForbidden) String() string
type GetOutputPortNotFound ¶
type GetOutputPortNotFound struct { }
GetOutputPortNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewGetOutputPortNotFound ¶
func NewGetOutputPortNotFound() *GetOutputPortNotFound
NewGetOutputPortNotFound creates a GetOutputPortNotFound with default headers values
func (*GetOutputPortNotFound) Error ¶
func (o *GetOutputPortNotFound) Error() string
func (*GetOutputPortNotFound) IsClientError ¶ added in v1.19.1
func (o *GetOutputPortNotFound) IsClientError() bool
IsClientError returns true when this get output port not found response has a 4xx status code
func (*GetOutputPortNotFound) IsCode ¶ added in v1.19.1
func (o *GetOutputPortNotFound) IsCode(code int) bool
IsCode returns true when this get output port not found response a status code equal to that given
func (*GetOutputPortNotFound) IsRedirect ¶ added in v1.19.1
func (o *GetOutputPortNotFound) IsRedirect() bool
IsRedirect returns true when this get output port not found response has a 3xx status code
func (*GetOutputPortNotFound) IsServerError ¶ added in v1.19.1
func (o *GetOutputPortNotFound) IsServerError() bool
IsServerError returns true when this get output port not found response has a 5xx status code
func (*GetOutputPortNotFound) IsSuccess ¶ added in v1.19.1
func (o *GetOutputPortNotFound) IsSuccess() bool
IsSuccess returns true when this get output port not found response has a 2xx status code
func (*GetOutputPortNotFound) String ¶ added in v1.19.1
func (o *GetOutputPortNotFound) String() string
type GetOutputPortOK ¶
type GetOutputPortOK struct {
Payload *models.PortEntity
}
GetOutputPortOK describes a response with status code 200, with default header values.
successful operation
func NewGetOutputPortOK ¶
func NewGetOutputPortOK() *GetOutputPortOK
NewGetOutputPortOK creates a GetOutputPortOK with default headers values
func (*GetOutputPortOK) Error ¶
func (o *GetOutputPortOK) Error() string
func (*GetOutputPortOK) GetPayload ¶
func (o *GetOutputPortOK) GetPayload() *models.PortEntity
func (*GetOutputPortOK) IsClientError ¶ added in v1.19.1
func (o *GetOutputPortOK) IsClientError() bool
IsClientError returns true when this get output port o k response has a 4xx status code
func (*GetOutputPortOK) IsCode ¶ added in v1.19.1
func (o *GetOutputPortOK) IsCode(code int) bool
IsCode returns true when this get output port o k response a status code equal to that given
func (*GetOutputPortOK) IsRedirect ¶ added in v1.19.1
func (o *GetOutputPortOK) IsRedirect() bool
IsRedirect returns true when this get output port o k response has a 3xx status code
func (*GetOutputPortOK) IsServerError ¶ added in v1.19.1
func (o *GetOutputPortOK) IsServerError() bool
IsServerError returns true when this get output port o k response has a 5xx status code
func (*GetOutputPortOK) IsSuccess ¶ added in v1.19.1
func (o *GetOutputPortOK) IsSuccess() bool
IsSuccess returns true when this get output port o k response has a 2xx status code
func (*GetOutputPortOK) String ¶ added in v1.19.1
func (o *GetOutputPortOK) String() string
type GetOutputPortParams ¶
type GetOutputPortParams struct { /* ID. The output port id. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOutputPortParams contains all the parameters to send to the API endpoint
for the get output port operation. Typically these are written to a http.Request.
func NewGetOutputPortParams ¶
func NewGetOutputPortParams() *GetOutputPortParams
NewGetOutputPortParams creates a new GetOutputPortParams 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 NewGetOutputPortParamsWithContext ¶
func NewGetOutputPortParamsWithContext(ctx context.Context) *GetOutputPortParams
NewGetOutputPortParamsWithContext creates a new GetOutputPortParams object with the ability to set a context for a request.
func NewGetOutputPortParamsWithHTTPClient ¶
func NewGetOutputPortParamsWithHTTPClient(client *http.Client) *GetOutputPortParams
NewGetOutputPortParamsWithHTTPClient creates a new GetOutputPortParams object with the ability to set a custom HTTPClient for a request.
func NewGetOutputPortParamsWithTimeout ¶
func NewGetOutputPortParamsWithTimeout(timeout time.Duration) *GetOutputPortParams
NewGetOutputPortParamsWithTimeout creates a new GetOutputPortParams object with the ability to set a timeout on a request.
func (*GetOutputPortParams) SetContext ¶
func (o *GetOutputPortParams) SetContext(ctx context.Context)
SetContext adds the context to the get output port params
func (*GetOutputPortParams) SetDefaults ¶
func (o *GetOutputPortParams) SetDefaults()
SetDefaults hydrates default values in the get output port params (not the query body).
All values with no default are reset to their zero value.
func (*GetOutputPortParams) SetHTTPClient ¶
func (o *GetOutputPortParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get output port params
func (*GetOutputPortParams) SetID ¶
func (o *GetOutputPortParams) SetID(id string)
SetID adds the id to the get output port params
func (*GetOutputPortParams) SetTimeout ¶
func (o *GetOutputPortParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get output port params
func (*GetOutputPortParams) WithContext ¶
func (o *GetOutputPortParams) WithContext(ctx context.Context) *GetOutputPortParams
WithContext adds the context to the get output port params
func (*GetOutputPortParams) WithDefaults ¶
func (o *GetOutputPortParams) WithDefaults() *GetOutputPortParams
WithDefaults hydrates default values in the get output port params (not the query body).
All values with no default are reset to their zero value.
func (*GetOutputPortParams) WithHTTPClient ¶
func (o *GetOutputPortParams) WithHTTPClient(client *http.Client) *GetOutputPortParams
WithHTTPClient adds the HTTPClient to the get output port params
func (*GetOutputPortParams) WithID ¶
func (o *GetOutputPortParams) WithID(id string) *GetOutputPortParams
WithID adds the id to the get output port params
func (*GetOutputPortParams) WithTimeout ¶
func (o *GetOutputPortParams) WithTimeout(timeout time.Duration) *GetOutputPortParams
WithTimeout adds the timeout to the get output port params
func (*GetOutputPortParams) WriteToRequest ¶
func (o *GetOutputPortParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOutputPortReader ¶
type GetOutputPortReader struct {
// contains filtered or unexported fields
}
GetOutputPortReader is a Reader for the GetOutputPort structure.
func (*GetOutputPortReader) ReadResponse ¶
func (o *GetOutputPortReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOutputPortUnauthorized ¶
type GetOutputPortUnauthorized struct { }
GetOutputPortUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewGetOutputPortUnauthorized ¶
func NewGetOutputPortUnauthorized() *GetOutputPortUnauthorized
NewGetOutputPortUnauthorized creates a GetOutputPortUnauthorized with default headers values
func (*GetOutputPortUnauthorized) Error ¶
func (o *GetOutputPortUnauthorized) Error() string
func (*GetOutputPortUnauthorized) IsClientError ¶ added in v1.19.1
func (o *GetOutputPortUnauthorized) IsClientError() bool
IsClientError returns true when this get output port unauthorized response has a 4xx status code
func (*GetOutputPortUnauthorized) IsCode ¶ added in v1.19.1
func (o *GetOutputPortUnauthorized) IsCode(code int) bool
IsCode returns true when this get output port unauthorized response a status code equal to that given
func (*GetOutputPortUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *GetOutputPortUnauthorized) IsRedirect() bool
IsRedirect returns true when this get output port unauthorized response has a 3xx status code
func (*GetOutputPortUnauthorized) IsServerError ¶ added in v1.19.1
func (o *GetOutputPortUnauthorized) IsServerError() bool
IsServerError returns true when this get output port unauthorized response has a 5xx status code
func (*GetOutputPortUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *GetOutputPortUnauthorized) IsSuccess() bool
IsSuccess returns true when this get output port unauthorized response has a 2xx status code
func (*GetOutputPortUnauthorized) String ¶ added in v1.19.1
func (o *GetOutputPortUnauthorized) String() string
type RemoveOutputPortBadRequest ¶
type RemoveOutputPortBadRequest struct { }
RemoveOutputPortBadRequest 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 NewRemoveOutputPortBadRequest ¶
func NewRemoveOutputPortBadRequest() *RemoveOutputPortBadRequest
NewRemoveOutputPortBadRequest creates a RemoveOutputPortBadRequest with default headers values
func (*RemoveOutputPortBadRequest) Error ¶
func (o *RemoveOutputPortBadRequest) Error() string
func (*RemoveOutputPortBadRequest) IsClientError ¶ added in v1.19.1
func (o *RemoveOutputPortBadRequest) IsClientError() bool
IsClientError returns true when this remove output port bad request response has a 4xx status code
func (*RemoveOutputPortBadRequest) IsCode ¶ added in v1.19.1
func (o *RemoveOutputPortBadRequest) IsCode(code int) bool
IsCode returns true when this remove output port bad request response a status code equal to that given
func (*RemoveOutputPortBadRequest) IsRedirect ¶ added in v1.19.1
func (o *RemoveOutputPortBadRequest) IsRedirect() bool
IsRedirect returns true when this remove output port bad request response has a 3xx status code
func (*RemoveOutputPortBadRequest) IsServerError ¶ added in v1.19.1
func (o *RemoveOutputPortBadRequest) IsServerError() bool
IsServerError returns true when this remove output port bad request response has a 5xx status code
func (*RemoveOutputPortBadRequest) IsSuccess ¶ added in v1.19.1
func (o *RemoveOutputPortBadRequest) IsSuccess() bool
IsSuccess returns true when this remove output port bad request response has a 2xx status code
func (*RemoveOutputPortBadRequest) String ¶ added in v1.19.1
func (o *RemoveOutputPortBadRequest) String() string
type RemoveOutputPortConflict ¶
type RemoveOutputPortConflict struct { }
RemoveOutputPortConflict 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 NewRemoveOutputPortConflict ¶
func NewRemoveOutputPortConflict() *RemoveOutputPortConflict
NewRemoveOutputPortConflict creates a RemoveOutputPortConflict with default headers values
func (*RemoveOutputPortConflict) Error ¶
func (o *RemoveOutputPortConflict) Error() string
func (*RemoveOutputPortConflict) IsClientError ¶ added in v1.19.1
func (o *RemoveOutputPortConflict) IsClientError() bool
IsClientError returns true when this remove output port conflict response has a 4xx status code
func (*RemoveOutputPortConflict) IsCode ¶ added in v1.19.1
func (o *RemoveOutputPortConflict) IsCode(code int) bool
IsCode returns true when this remove output port conflict response a status code equal to that given
func (*RemoveOutputPortConflict) IsRedirect ¶ added in v1.19.1
func (o *RemoveOutputPortConflict) IsRedirect() bool
IsRedirect returns true when this remove output port conflict response has a 3xx status code
func (*RemoveOutputPortConflict) IsServerError ¶ added in v1.19.1
func (o *RemoveOutputPortConflict) IsServerError() bool
IsServerError returns true when this remove output port conflict response has a 5xx status code
func (*RemoveOutputPortConflict) IsSuccess ¶ added in v1.19.1
func (o *RemoveOutputPortConflict) IsSuccess() bool
IsSuccess returns true when this remove output port conflict response has a 2xx status code
func (*RemoveOutputPortConflict) String ¶ added in v1.19.1
func (o *RemoveOutputPortConflict) String() string
type RemoveOutputPortForbidden ¶
type RemoveOutputPortForbidden struct { }
RemoveOutputPortForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewRemoveOutputPortForbidden ¶
func NewRemoveOutputPortForbidden() *RemoveOutputPortForbidden
NewRemoveOutputPortForbidden creates a RemoveOutputPortForbidden with default headers values
func (*RemoveOutputPortForbidden) Error ¶
func (o *RemoveOutputPortForbidden) Error() string
func (*RemoveOutputPortForbidden) IsClientError ¶ added in v1.19.1
func (o *RemoveOutputPortForbidden) IsClientError() bool
IsClientError returns true when this remove output port forbidden response has a 4xx status code
func (*RemoveOutputPortForbidden) IsCode ¶ added in v1.19.1
func (o *RemoveOutputPortForbidden) IsCode(code int) bool
IsCode returns true when this remove output port forbidden response a status code equal to that given
func (*RemoveOutputPortForbidden) IsRedirect ¶ added in v1.19.1
func (o *RemoveOutputPortForbidden) IsRedirect() bool
IsRedirect returns true when this remove output port forbidden response has a 3xx status code
func (*RemoveOutputPortForbidden) IsServerError ¶ added in v1.19.1
func (o *RemoveOutputPortForbidden) IsServerError() bool
IsServerError returns true when this remove output port forbidden response has a 5xx status code
func (*RemoveOutputPortForbidden) IsSuccess ¶ added in v1.19.1
func (o *RemoveOutputPortForbidden) IsSuccess() bool
IsSuccess returns true when this remove output port forbidden response has a 2xx status code
func (*RemoveOutputPortForbidden) String ¶ added in v1.19.1
func (o *RemoveOutputPortForbidden) String() string
type RemoveOutputPortNotFound ¶
type RemoveOutputPortNotFound struct { }
RemoveOutputPortNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewRemoveOutputPortNotFound ¶
func NewRemoveOutputPortNotFound() *RemoveOutputPortNotFound
NewRemoveOutputPortNotFound creates a RemoveOutputPortNotFound with default headers values
func (*RemoveOutputPortNotFound) Error ¶
func (o *RemoveOutputPortNotFound) Error() string
func (*RemoveOutputPortNotFound) IsClientError ¶ added in v1.19.1
func (o *RemoveOutputPortNotFound) IsClientError() bool
IsClientError returns true when this remove output port not found response has a 4xx status code
func (*RemoveOutputPortNotFound) IsCode ¶ added in v1.19.1
func (o *RemoveOutputPortNotFound) IsCode(code int) bool
IsCode returns true when this remove output port not found response a status code equal to that given
func (*RemoveOutputPortNotFound) IsRedirect ¶ added in v1.19.1
func (o *RemoveOutputPortNotFound) IsRedirect() bool
IsRedirect returns true when this remove output port not found response has a 3xx status code
func (*RemoveOutputPortNotFound) IsServerError ¶ added in v1.19.1
func (o *RemoveOutputPortNotFound) IsServerError() bool
IsServerError returns true when this remove output port not found response has a 5xx status code
func (*RemoveOutputPortNotFound) IsSuccess ¶ added in v1.19.1
func (o *RemoveOutputPortNotFound) IsSuccess() bool
IsSuccess returns true when this remove output port not found response has a 2xx status code
func (*RemoveOutputPortNotFound) String ¶ added in v1.19.1
func (o *RemoveOutputPortNotFound) String() string
type RemoveOutputPortOK ¶
type RemoveOutputPortOK struct {
Payload *models.PortEntity
}
RemoveOutputPortOK describes a response with status code 200, with default header values.
successful operation
func NewRemoveOutputPortOK ¶
func NewRemoveOutputPortOK() *RemoveOutputPortOK
NewRemoveOutputPortOK creates a RemoveOutputPortOK with default headers values
func (*RemoveOutputPortOK) Error ¶
func (o *RemoveOutputPortOK) Error() string
func (*RemoveOutputPortOK) GetPayload ¶
func (o *RemoveOutputPortOK) GetPayload() *models.PortEntity
func (*RemoveOutputPortOK) IsClientError ¶ added in v1.19.1
func (o *RemoveOutputPortOK) IsClientError() bool
IsClientError returns true when this remove output port o k response has a 4xx status code
func (*RemoveOutputPortOK) IsCode ¶ added in v1.19.1
func (o *RemoveOutputPortOK) IsCode(code int) bool
IsCode returns true when this remove output port o k response a status code equal to that given
func (*RemoveOutputPortOK) IsRedirect ¶ added in v1.19.1
func (o *RemoveOutputPortOK) IsRedirect() bool
IsRedirect returns true when this remove output port o k response has a 3xx status code
func (*RemoveOutputPortOK) IsServerError ¶ added in v1.19.1
func (o *RemoveOutputPortOK) IsServerError() bool
IsServerError returns true when this remove output port o k response has a 5xx status code
func (*RemoveOutputPortOK) IsSuccess ¶ added in v1.19.1
func (o *RemoveOutputPortOK) IsSuccess() bool
IsSuccess returns true when this remove output port o k response has a 2xx status code
func (*RemoveOutputPortOK) String ¶ added in v1.19.1
func (o *RemoveOutputPortOK) String() string
type RemoveOutputPortParams ¶
type RemoveOutputPortParams 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 output port 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 }
RemoveOutputPortParams contains all the parameters to send to the API endpoint
for the remove output port operation. Typically these are written to a http.Request.
func NewRemoveOutputPortParams ¶
func NewRemoveOutputPortParams() *RemoveOutputPortParams
NewRemoveOutputPortParams creates a new RemoveOutputPortParams 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 NewRemoveOutputPortParamsWithContext ¶
func NewRemoveOutputPortParamsWithContext(ctx context.Context) *RemoveOutputPortParams
NewRemoveOutputPortParamsWithContext creates a new RemoveOutputPortParams object with the ability to set a context for a request.
func NewRemoveOutputPortParamsWithHTTPClient ¶
func NewRemoveOutputPortParamsWithHTTPClient(client *http.Client) *RemoveOutputPortParams
NewRemoveOutputPortParamsWithHTTPClient creates a new RemoveOutputPortParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveOutputPortParamsWithTimeout ¶
func NewRemoveOutputPortParamsWithTimeout(timeout time.Duration) *RemoveOutputPortParams
NewRemoveOutputPortParamsWithTimeout creates a new RemoveOutputPortParams object with the ability to set a timeout on a request.
func (*RemoveOutputPortParams) SetClientID ¶
func (o *RemoveOutputPortParams) SetClientID(clientID *string)
SetClientID adds the clientId to the remove output port params
func (*RemoveOutputPortParams) SetContext ¶
func (o *RemoveOutputPortParams) SetContext(ctx context.Context)
SetContext adds the context to the remove output port params
func (*RemoveOutputPortParams) SetDefaults ¶
func (o *RemoveOutputPortParams) SetDefaults()
SetDefaults hydrates default values in the remove output port params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveOutputPortParams) SetDisconnectedNodeAcknowledged ¶
func (o *RemoveOutputPortParams) SetDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool)
SetDisconnectedNodeAcknowledged adds the disconnectedNodeAcknowledged to the remove output port params
func (*RemoveOutputPortParams) SetHTTPClient ¶
func (o *RemoveOutputPortParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove output port params
func (*RemoveOutputPortParams) SetID ¶
func (o *RemoveOutputPortParams) SetID(id string)
SetID adds the id to the remove output port params
func (*RemoveOutputPortParams) SetTimeout ¶
func (o *RemoveOutputPortParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove output port params
func (*RemoveOutputPortParams) SetVersion ¶
func (o *RemoveOutputPortParams) SetVersion(version *string)
SetVersion adds the version to the remove output port params
func (*RemoveOutputPortParams) WithClientID ¶
func (o *RemoveOutputPortParams) WithClientID(clientID *string) *RemoveOutputPortParams
WithClientID adds the clientID to the remove output port params
func (*RemoveOutputPortParams) WithContext ¶
func (o *RemoveOutputPortParams) WithContext(ctx context.Context) *RemoveOutputPortParams
WithContext adds the context to the remove output port params
func (*RemoveOutputPortParams) WithDefaults ¶
func (o *RemoveOutputPortParams) WithDefaults() *RemoveOutputPortParams
WithDefaults hydrates default values in the remove output port params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveOutputPortParams) WithDisconnectedNodeAcknowledged ¶
func (o *RemoveOutputPortParams) WithDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool) *RemoveOutputPortParams
WithDisconnectedNodeAcknowledged adds the disconnectedNodeAcknowledged to the remove output port params
func (*RemoveOutputPortParams) WithHTTPClient ¶
func (o *RemoveOutputPortParams) WithHTTPClient(client *http.Client) *RemoveOutputPortParams
WithHTTPClient adds the HTTPClient to the remove output port params
func (*RemoveOutputPortParams) WithID ¶
func (o *RemoveOutputPortParams) WithID(id string) *RemoveOutputPortParams
WithID adds the id to the remove output port params
func (*RemoveOutputPortParams) WithTimeout ¶
func (o *RemoveOutputPortParams) WithTimeout(timeout time.Duration) *RemoveOutputPortParams
WithTimeout adds the timeout to the remove output port params
func (*RemoveOutputPortParams) WithVersion ¶
func (o *RemoveOutputPortParams) WithVersion(version *string) *RemoveOutputPortParams
WithVersion adds the version to the remove output port params
func (*RemoveOutputPortParams) WriteToRequest ¶
func (o *RemoveOutputPortParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveOutputPortReader ¶
type RemoveOutputPortReader struct {
// contains filtered or unexported fields
}
RemoveOutputPortReader is a Reader for the RemoveOutputPort structure.
func (*RemoveOutputPortReader) ReadResponse ¶
func (o *RemoveOutputPortReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveOutputPortUnauthorized ¶
type RemoveOutputPortUnauthorized struct { }
RemoveOutputPortUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewRemoveOutputPortUnauthorized ¶
func NewRemoveOutputPortUnauthorized() *RemoveOutputPortUnauthorized
NewRemoveOutputPortUnauthorized creates a RemoveOutputPortUnauthorized with default headers values
func (*RemoveOutputPortUnauthorized) Error ¶
func (o *RemoveOutputPortUnauthorized) Error() string
func (*RemoveOutputPortUnauthorized) IsClientError ¶ added in v1.19.1
func (o *RemoveOutputPortUnauthorized) IsClientError() bool
IsClientError returns true when this remove output port unauthorized response has a 4xx status code
func (*RemoveOutputPortUnauthorized) IsCode ¶ added in v1.19.1
func (o *RemoveOutputPortUnauthorized) IsCode(code int) bool
IsCode returns true when this remove output port unauthorized response a status code equal to that given
func (*RemoveOutputPortUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *RemoveOutputPortUnauthorized) IsRedirect() bool
IsRedirect returns true when this remove output port unauthorized response has a 3xx status code
func (*RemoveOutputPortUnauthorized) IsServerError ¶ added in v1.19.1
func (o *RemoveOutputPortUnauthorized) IsServerError() bool
IsServerError returns true when this remove output port unauthorized response has a 5xx status code
func (*RemoveOutputPortUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *RemoveOutputPortUnauthorized) IsSuccess() bool
IsSuccess returns true when this remove output port unauthorized response has a 2xx status code
func (*RemoveOutputPortUnauthorized) String ¶ added in v1.19.1
func (o *RemoveOutputPortUnauthorized) String() string
type UpdateOutputPortBadRequest ¶
type UpdateOutputPortBadRequest struct { }
UpdateOutputPortBadRequest 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 NewUpdateOutputPortBadRequest ¶
func NewUpdateOutputPortBadRequest() *UpdateOutputPortBadRequest
NewUpdateOutputPortBadRequest creates a UpdateOutputPortBadRequest with default headers values
func (*UpdateOutputPortBadRequest) Error ¶
func (o *UpdateOutputPortBadRequest) Error() string
func (*UpdateOutputPortBadRequest) IsClientError ¶ added in v1.19.1
func (o *UpdateOutputPortBadRequest) IsClientError() bool
IsClientError returns true when this update output port bad request response has a 4xx status code
func (*UpdateOutputPortBadRequest) IsCode ¶ added in v1.19.1
func (o *UpdateOutputPortBadRequest) IsCode(code int) bool
IsCode returns true when this update output port bad request response a status code equal to that given
func (*UpdateOutputPortBadRequest) IsRedirect ¶ added in v1.19.1
func (o *UpdateOutputPortBadRequest) IsRedirect() bool
IsRedirect returns true when this update output port bad request response has a 3xx status code
func (*UpdateOutputPortBadRequest) IsServerError ¶ added in v1.19.1
func (o *UpdateOutputPortBadRequest) IsServerError() bool
IsServerError returns true when this update output port bad request response has a 5xx status code
func (*UpdateOutputPortBadRequest) IsSuccess ¶ added in v1.19.1
func (o *UpdateOutputPortBadRequest) IsSuccess() bool
IsSuccess returns true when this update output port bad request response has a 2xx status code
func (*UpdateOutputPortBadRequest) String ¶ added in v1.19.1
func (o *UpdateOutputPortBadRequest) String() string
type UpdateOutputPortConflict ¶
type UpdateOutputPortConflict struct { }
UpdateOutputPortConflict 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 NewUpdateOutputPortConflict ¶
func NewUpdateOutputPortConflict() *UpdateOutputPortConflict
NewUpdateOutputPortConflict creates a UpdateOutputPortConflict with default headers values
func (*UpdateOutputPortConflict) Error ¶
func (o *UpdateOutputPortConflict) Error() string
func (*UpdateOutputPortConflict) IsClientError ¶ added in v1.19.1
func (o *UpdateOutputPortConflict) IsClientError() bool
IsClientError returns true when this update output port conflict response has a 4xx status code
func (*UpdateOutputPortConflict) IsCode ¶ added in v1.19.1
func (o *UpdateOutputPortConflict) IsCode(code int) bool
IsCode returns true when this update output port conflict response a status code equal to that given
func (*UpdateOutputPortConflict) IsRedirect ¶ added in v1.19.1
func (o *UpdateOutputPortConflict) IsRedirect() bool
IsRedirect returns true when this update output port conflict response has a 3xx status code
func (*UpdateOutputPortConflict) IsServerError ¶ added in v1.19.1
func (o *UpdateOutputPortConflict) IsServerError() bool
IsServerError returns true when this update output port conflict response has a 5xx status code
func (*UpdateOutputPortConflict) IsSuccess ¶ added in v1.19.1
func (o *UpdateOutputPortConflict) IsSuccess() bool
IsSuccess returns true when this update output port conflict response has a 2xx status code
func (*UpdateOutputPortConflict) String ¶ added in v1.19.1
func (o *UpdateOutputPortConflict) String() string
type UpdateOutputPortForbidden ¶
type UpdateOutputPortForbidden struct { }
UpdateOutputPortForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewUpdateOutputPortForbidden ¶
func NewUpdateOutputPortForbidden() *UpdateOutputPortForbidden
NewUpdateOutputPortForbidden creates a UpdateOutputPortForbidden with default headers values
func (*UpdateOutputPortForbidden) Error ¶
func (o *UpdateOutputPortForbidden) Error() string
func (*UpdateOutputPortForbidden) IsClientError ¶ added in v1.19.1
func (o *UpdateOutputPortForbidden) IsClientError() bool
IsClientError returns true when this update output port forbidden response has a 4xx status code
func (*UpdateOutputPortForbidden) IsCode ¶ added in v1.19.1
func (o *UpdateOutputPortForbidden) IsCode(code int) bool
IsCode returns true when this update output port forbidden response a status code equal to that given
func (*UpdateOutputPortForbidden) IsRedirect ¶ added in v1.19.1
func (o *UpdateOutputPortForbidden) IsRedirect() bool
IsRedirect returns true when this update output port forbidden response has a 3xx status code
func (*UpdateOutputPortForbidden) IsServerError ¶ added in v1.19.1
func (o *UpdateOutputPortForbidden) IsServerError() bool
IsServerError returns true when this update output port forbidden response has a 5xx status code
func (*UpdateOutputPortForbidden) IsSuccess ¶ added in v1.19.1
func (o *UpdateOutputPortForbidden) IsSuccess() bool
IsSuccess returns true when this update output port forbidden response has a 2xx status code
func (*UpdateOutputPortForbidden) String ¶ added in v1.19.1
func (o *UpdateOutputPortForbidden) String() string
type UpdateOutputPortNotFound ¶
type UpdateOutputPortNotFound struct { }
UpdateOutputPortNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewUpdateOutputPortNotFound ¶
func NewUpdateOutputPortNotFound() *UpdateOutputPortNotFound
NewUpdateOutputPortNotFound creates a UpdateOutputPortNotFound with default headers values
func (*UpdateOutputPortNotFound) Error ¶
func (o *UpdateOutputPortNotFound) Error() string
func (*UpdateOutputPortNotFound) IsClientError ¶ added in v1.19.1
func (o *UpdateOutputPortNotFound) IsClientError() bool
IsClientError returns true when this update output port not found response has a 4xx status code
func (*UpdateOutputPortNotFound) IsCode ¶ added in v1.19.1
func (o *UpdateOutputPortNotFound) IsCode(code int) bool
IsCode returns true when this update output port not found response a status code equal to that given
func (*UpdateOutputPortNotFound) IsRedirect ¶ added in v1.19.1
func (o *UpdateOutputPortNotFound) IsRedirect() bool
IsRedirect returns true when this update output port not found response has a 3xx status code
func (*UpdateOutputPortNotFound) IsServerError ¶ added in v1.19.1
func (o *UpdateOutputPortNotFound) IsServerError() bool
IsServerError returns true when this update output port not found response has a 5xx status code
func (*UpdateOutputPortNotFound) IsSuccess ¶ added in v1.19.1
func (o *UpdateOutputPortNotFound) IsSuccess() bool
IsSuccess returns true when this update output port not found response has a 2xx status code
func (*UpdateOutputPortNotFound) String ¶ added in v1.19.1
func (o *UpdateOutputPortNotFound) String() string
type UpdateOutputPortOK ¶
type UpdateOutputPortOK struct {
Payload *models.PortEntity
}
UpdateOutputPortOK describes a response with status code 200, with default header values.
successful operation
func NewUpdateOutputPortOK ¶
func NewUpdateOutputPortOK() *UpdateOutputPortOK
NewUpdateOutputPortOK creates a UpdateOutputPortOK with default headers values
func (*UpdateOutputPortOK) Error ¶
func (o *UpdateOutputPortOK) Error() string
func (*UpdateOutputPortOK) GetPayload ¶
func (o *UpdateOutputPortOK) GetPayload() *models.PortEntity
func (*UpdateOutputPortOK) IsClientError ¶ added in v1.19.1
func (o *UpdateOutputPortOK) IsClientError() bool
IsClientError returns true when this update output port o k response has a 4xx status code
func (*UpdateOutputPortOK) IsCode ¶ added in v1.19.1
func (o *UpdateOutputPortOK) IsCode(code int) bool
IsCode returns true when this update output port o k response a status code equal to that given
func (*UpdateOutputPortOK) IsRedirect ¶ added in v1.19.1
func (o *UpdateOutputPortOK) IsRedirect() bool
IsRedirect returns true when this update output port o k response has a 3xx status code
func (*UpdateOutputPortOK) IsServerError ¶ added in v1.19.1
func (o *UpdateOutputPortOK) IsServerError() bool
IsServerError returns true when this update output port o k response has a 5xx status code
func (*UpdateOutputPortOK) IsSuccess ¶ added in v1.19.1
func (o *UpdateOutputPortOK) IsSuccess() bool
IsSuccess returns true when this update output port o k response has a 2xx status code
func (*UpdateOutputPortOK) String ¶ added in v1.19.1
func (o *UpdateOutputPortOK) String() string
type UpdateOutputPortParams ¶
type UpdateOutputPortParams struct { /* Body. The output port configuration details. */ Body *models.PortEntity /* ID. The output port id. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateOutputPortParams contains all the parameters to send to the API endpoint
for the update output port operation. Typically these are written to a http.Request.
func NewUpdateOutputPortParams ¶
func NewUpdateOutputPortParams() *UpdateOutputPortParams
NewUpdateOutputPortParams creates a new UpdateOutputPortParams 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 NewUpdateOutputPortParamsWithContext ¶
func NewUpdateOutputPortParamsWithContext(ctx context.Context) *UpdateOutputPortParams
NewUpdateOutputPortParamsWithContext creates a new UpdateOutputPortParams object with the ability to set a context for a request.
func NewUpdateOutputPortParamsWithHTTPClient ¶
func NewUpdateOutputPortParamsWithHTTPClient(client *http.Client) *UpdateOutputPortParams
NewUpdateOutputPortParamsWithHTTPClient creates a new UpdateOutputPortParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateOutputPortParamsWithTimeout ¶
func NewUpdateOutputPortParamsWithTimeout(timeout time.Duration) *UpdateOutputPortParams
NewUpdateOutputPortParamsWithTimeout creates a new UpdateOutputPortParams object with the ability to set a timeout on a request.
func (*UpdateOutputPortParams) SetBody ¶
func (o *UpdateOutputPortParams) SetBody(body *models.PortEntity)
SetBody adds the body to the update output port params
func (*UpdateOutputPortParams) SetContext ¶
func (o *UpdateOutputPortParams) SetContext(ctx context.Context)
SetContext adds the context to the update output port params
func (*UpdateOutputPortParams) SetDefaults ¶
func (o *UpdateOutputPortParams) SetDefaults()
SetDefaults hydrates default values in the update output port params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOutputPortParams) SetHTTPClient ¶
func (o *UpdateOutputPortParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update output port params
func (*UpdateOutputPortParams) SetID ¶
func (o *UpdateOutputPortParams) SetID(id string)
SetID adds the id to the update output port params
func (*UpdateOutputPortParams) SetTimeout ¶
func (o *UpdateOutputPortParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update output port params
func (*UpdateOutputPortParams) WithBody ¶
func (o *UpdateOutputPortParams) WithBody(body *models.PortEntity) *UpdateOutputPortParams
WithBody adds the body to the update output port params
func (*UpdateOutputPortParams) WithContext ¶
func (o *UpdateOutputPortParams) WithContext(ctx context.Context) *UpdateOutputPortParams
WithContext adds the context to the update output port params
func (*UpdateOutputPortParams) WithDefaults ¶
func (o *UpdateOutputPortParams) WithDefaults() *UpdateOutputPortParams
WithDefaults hydrates default values in the update output port params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOutputPortParams) WithHTTPClient ¶
func (o *UpdateOutputPortParams) WithHTTPClient(client *http.Client) *UpdateOutputPortParams
WithHTTPClient adds the HTTPClient to the update output port params
func (*UpdateOutputPortParams) WithID ¶
func (o *UpdateOutputPortParams) WithID(id string) *UpdateOutputPortParams
WithID adds the id to the update output port params
func (*UpdateOutputPortParams) WithTimeout ¶
func (o *UpdateOutputPortParams) WithTimeout(timeout time.Duration) *UpdateOutputPortParams
WithTimeout adds the timeout to the update output port params
func (*UpdateOutputPortParams) WriteToRequest ¶
func (o *UpdateOutputPortParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateOutputPortReader ¶
type UpdateOutputPortReader struct {
// contains filtered or unexported fields
}
UpdateOutputPortReader is a Reader for the UpdateOutputPort structure.
func (*UpdateOutputPortReader) ReadResponse ¶
func (o *UpdateOutputPortReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateOutputPortUnauthorized ¶
type UpdateOutputPortUnauthorized struct { }
UpdateOutputPortUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewUpdateOutputPortUnauthorized ¶
func NewUpdateOutputPortUnauthorized() *UpdateOutputPortUnauthorized
NewUpdateOutputPortUnauthorized creates a UpdateOutputPortUnauthorized with default headers values
func (*UpdateOutputPortUnauthorized) Error ¶
func (o *UpdateOutputPortUnauthorized) Error() string
func (*UpdateOutputPortUnauthorized) IsClientError ¶ added in v1.19.1
func (o *UpdateOutputPortUnauthorized) IsClientError() bool
IsClientError returns true when this update output port unauthorized response has a 4xx status code
func (*UpdateOutputPortUnauthorized) IsCode ¶ added in v1.19.1
func (o *UpdateOutputPortUnauthorized) IsCode(code int) bool
IsCode returns true when this update output port unauthorized response a status code equal to that given
func (*UpdateOutputPortUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *UpdateOutputPortUnauthorized) IsRedirect() bool
IsRedirect returns true when this update output port unauthorized response has a 3xx status code
func (*UpdateOutputPortUnauthorized) IsServerError ¶ added in v1.19.1
func (o *UpdateOutputPortUnauthorized) IsServerError() bool
IsServerError returns true when this update output port unauthorized response has a 5xx status code
func (*UpdateOutputPortUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *UpdateOutputPortUnauthorized) IsSuccess() bool
IsSuccess returns true when this update output port unauthorized response has a 2xx status code
func (*UpdateOutputPortUnauthorized) String ¶ added in v1.19.1
func (o *UpdateOutputPortUnauthorized) String() string