Documentation ¶
Index ¶
- type AddBadRequest
- type AddOK
- type AddParams
- func (o *AddParams) SetContext(ctx context.Context)
- func (o *AddParams) SetHTTPClient(client *http.Client)
- func (o *AddParams) SetJSONBody(jSONBody *models.AddOutputRequest)
- func (o *AddParams) SetStreamid(streamid string)
- func (o *AddParams) SetTimeout(timeout time.Duration)
- func (o *AddParams) WithContext(ctx context.Context) *AddParams
- func (o *AddParams) WithHTTPClient(client *http.Client) *AddParams
- func (o *AddParams) WithJSONBody(jSONBody *models.AddOutputRequest) *AddParams
- func (o *AddParams) WithStreamid(streamid string) *AddParams
- func (o *AddParams) WithTimeout(timeout time.Duration) *AddParams
- func (o *AddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddReader
- type Client
- type RemoveNotFound
- type RemoveOK
- type RemoveParams
- func (o *RemoveParams) SetContext(ctx context.Context)
- func (o *RemoveParams) SetHTTPClient(client *http.Client)
- func (o *RemoveParams) SetOutputID(outputID string)
- func (o *RemoveParams) SetStreamid(streamid string)
- func (o *RemoveParams) SetTimeout(timeout time.Duration)
- func (o *RemoveParams) WithContext(ctx context.Context) *RemoveParams
- func (o *RemoveParams) WithHTTPClient(client *http.Client) *RemoveParams
- func (o *RemoveParams) WithOutputID(outputID string) *RemoveParams
- func (o *RemoveParams) WithStreamid(streamid string) *RemoveParams
- func (o *RemoveParams) WithTimeout(timeout time.Duration) *RemoveParams
- func (o *RemoveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddBadRequest ¶
type AddBadRequest struct { }
AddBadRequest handles this case with default header values.
Invalid output specification in input.
func NewAddBadRequest ¶
func NewAddBadRequest() *AddBadRequest
NewAddBadRequest creates a AddBadRequest with default headers values
func (*AddBadRequest) Error ¶
func (o *AddBadRequest) Error() string
type AddOK ¶
type AddOK struct { }
AddOK handles this case with default header values.
No response was specified
type AddParams ¶
type AddParams struct { /*JSONBody*/ JSONBody *models.AddOutputRequest /*Streamid The id of the stream whose outputs we want. */ Streamid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddParams contains all the parameters to send to the API endpoint for the add operation typically these are written to a http.Request
func NewAddParams ¶
func NewAddParams() *AddParams
NewAddParams creates a new AddParams object with the default values initialized.
func NewAddParamsWithContext ¶
NewAddParamsWithContext creates a new AddParams object with the default values initialized, and the ability to set a context for a request
func NewAddParamsWithHTTPClient ¶
NewAddParamsWithHTTPClient creates a new AddParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddParamsWithTimeout ¶
NewAddParamsWithTimeout creates a new AddParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddParams) SetContext ¶
SetContext adds the context to the add params
func (*AddParams) SetHTTPClient ¶
SetHTTPClient adds the HTTPClient to the add params
func (*AddParams) SetJSONBody ¶
func (o *AddParams) SetJSONBody(jSONBody *models.AddOutputRequest)
SetJSONBody adds the jsonBody to the add params
func (*AddParams) SetStreamid ¶
SetStreamid adds the streamid to the add params
func (*AddParams) SetTimeout ¶
SetTimeout adds the timeout to the add params
func (*AddParams) WithContext ¶
WithContext adds the context to the add params
func (*AddParams) WithHTTPClient ¶
WithHTTPClient adds the HTTPClient to the add params
func (*AddParams) WithJSONBody ¶
func (o *AddParams) WithJSONBody(jSONBody *models.AddOutputRequest) *AddParams
WithJSONBody adds the jSONBody to the add params
func (*AddParams) WithStreamid ¶
WithStreamid adds the streamid to the add params
func (*AddParams) WithTimeout ¶
WithTimeout adds the timeout to the add params
func (*AddParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type AddReader ¶
type AddReader struct {
// contains filtered or unexported fields
}
AddReader is a Reader for the Add structure.
func (*AddReader) ReadResponse ¶
func (o *AddReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for streams streamid rules API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new streams streamid rules API client.
func (*Client) Remove ¶
func (a *Client) Remove(params *RemoveParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveOK, error)
Remove deletes output of a stream
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type RemoveNotFound ¶
type RemoveNotFound struct { }
RemoveNotFound handles this case with default header values.
No such stream/output on this node.
func NewRemoveNotFound ¶
func NewRemoveNotFound() *RemoveNotFound
NewRemoveNotFound creates a RemoveNotFound with default headers values
func (*RemoveNotFound) Error ¶
func (o *RemoveNotFound) Error() string
type RemoveOK ¶
type RemoveOK struct { }
RemoveOK handles this case with default header values.
No response was specified
func NewRemoveOK ¶
func NewRemoveOK() *RemoveOK
NewRemoveOK creates a RemoveOK with default headers values
type RemoveParams ¶
type RemoveParams struct { /*OutputID The id of the output that should be deleted */ OutputID string /*Streamid The id of the stream whose outputs we want. */ Streamid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveParams contains all the parameters to send to the API endpoint for the remove operation typically these are written to a http.Request
func NewRemoveParams ¶
func NewRemoveParams() *RemoveParams
NewRemoveParams creates a new RemoveParams object with the default values initialized.
func NewRemoveParamsWithContext ¶
func NewRemoveParamsWithContext(ctx context.Context) *RemoveParams
NewRemoveParamsWithContext creates a new RemoveParams object with the default values initialized, and the ability to set a context for a request
func NewRemoveParamsWithHTTPClient ¶
func NewRemoveParamsWithHTTPClient(client *http.Client) *RemoveParams
NewRemoveParamsWithHTTPClient creates a new RemoveParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRemoveParamsWithTimeout ¶
func NewRemoveParamsWithTimeout(timeout time.Duration) *RemoveParams
NewRemoveParamsWithTimeout creates a new RemoveParams object with the default values initialized, and the ability to set a timeout on a request
func (*RemoveParams) SetContext ¶
func (o *RemoveParams) SetContext(ctx context.Context)
SetContext adds the context to the remove params
func (*RemoveParams) SetHTTPClient ¶
func (o *RemoveParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove params
func (*RemoveParams) SetOutputID ¶
func (o *RemoveParams) SetOutputID(outputID string)
SetOutputID adds the outputId to the remove params
func (*RemoveParams) SetStreamid ¶
func (o *RemoveParams) SetStreamid(streamid string)
SetStreamid adds the streamid to the remove params
func (*RemoveParams) SetTimeout ¶
func (o *RemoveParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove params
func (*RemoveParams) WithContext ¶
func (o *RemoveParams) WithContext(ctx context.Context) *RemoveParams
WithContext adds the context to the remove params
func (*RemoveParams) WithHTTPClient ¶
func (o *RemoveParams) WithHTTPClient(client *http.Client) *RemoveParams
WithHTTPClient adds the HTTPClient to the remove params
func (*RemoveParams) WithOutputID ¶
func (o *RemoveParams) WithOutputID(outputID string) *RemoveParams
WithOutputID adds the outputID to the remove params
func (*RemoveParams) WithStreamid ¶
func (o *RemoveParams) WithStreamid(streamid string) *RemoveParams
WithStreamid adds the streamid to the remove params
func (*RemoveParams) WithTimeout ¶
func (o *RemoveParams) WithTimeout(timeout time.Duration) *RemoveParams
WithTimeout adds the timeout to the remove params
func (*RemoveParams) WriteToRequest ¶
func (o *RemoveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveReader ¶
type RemoveReader struct {
// contains filtered or unexported fields
}
RemoveReader is a Reader for the Remove structure.
func (*RemoveReader) ReadResponse ¶
func (o *RemoveReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.