streams_streamid_rules

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2018 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

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

func NewAddOK

func NewAddOK() *AddOK

NewAddOK creates a AddOK with default headers values

func (*AddOK) Error

func (o *AddOK) Error() string

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

func NewAddParamsWithContext(ctx context.Context) *AddParams

NewAddParamsWithContext creates a new AddParams object with the default values initialized, and the ability to set a context for a request

func NewAddParamsWithHTTPClient

func NewAddParamsWithHTTPClient(client *http.Client) *AddParams

NewAddParamsWithHTTPClient creates a new AddParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAddParamsWithTimeout

func NewAddParamsWithTimeout(timeout time.Duration) *AddParams

NewAddParamsWithTimeout creates a new AddParams object with the default values initialized, and the ability to set a timeout on a request

func (*AddParams) SetContext

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

SetContext adds the context to the add params

func (*AddParams) SetHTTPClient

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

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

func (o *AddParams) SetStreamid(streamid string)

SetStreamid adds the streamid to the add params

func (*AddParams) SetTimeout

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

SetTimeout adds the timeout to the add params

func (*AddParams) WithContext

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

WithContext adds the context to the add params

func (*AddParams) WithHTTPClient

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

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

func (o *AddParams) WithStreamid(streamid string) *AddParams

WithStreamid adds the streamid to the add params

func (*AddParams) WithTimeout

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

WithTimeout adds the timeout to the add params

func (*AddParams) WriteToRequest

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

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) Add

func (a *Client) Add(params *AddParams, authInfo runtime.ClientAuthInfoWriter) (*AddOK, error)

Add associates outputs with a stream

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

func (*RemoveOK) Error

func (o *RemoveOK) Error() string

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.

Jump to

Keyboard shortcuts

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