system_inputs

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for system inputs API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new system inputs API client.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) Start

func (a *Client) Start(params *StartParams, authInfo runtime.ClientAuthInfoWriter) (*StartOK, error)

Start res start specified input on this node

func (*Client) Stop

func (a *Client) Stop(params *StopParams, authInfo runtime.ClientAuthInfoWriter) (*StopOK, error)

Stop stops specified input on this node

type StartNotFound

type StartNotFound struct {
}

StartNotFound handles this case with default header values.

No such input on this node.

func NewStartNotFound

func NewStartNotFound() *StartNotFound

NewStartNotFound creates a StartNotFound with default headers values

func (*StartNotFound) Error

func (o *StartNotFound) Error() string

type StartOK

type StartOK struct {
	Payload *models.InputCreated
}

StartOK handles this case with default header values.

No response was specified

func NewStartOK

func NewStartOK() *StartOK

NewStartOK creates a StartOK with default headers values

func (*StartOK) Error

func (o *StartOK) Error() string

type StartParams

type StartParams struct {

	/*InputID*/
	InputID string

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

StartParams contains all the parameters to send to the API endpoint for the start operation typically these are written to a http.Request

func NewStartParams

func NewStartParams() *StartParams

NewStartParams creates a new StartParams object with the default values initialized.

func NewStartParamsWithContext

func NewStartParamsWithContext(ctx context.Context) *StartParams

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

func NewStartParamsWithHTTPClient

func NewStartParamsWithHTTPClient(client *http.Client) *StartParams

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

func NewStartParamsWithTimeout

func NewStartParamsWithTimeout(timeout time.Duration) *StartParams

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

func (*StartParams) SetContext

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

SetContext adds the context to the start params

func (*StartParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the start params

func (*StartParams) SetInputID

func (o *StartParams) SetInputID(inputID string)

SetInputID adds the inputId to the start params

func (*StartParams) SetTimeout

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

SetTimeout adds the timeout to the start params

func (*StartParams) WithContext

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

WithContext adds the context to the start params

func (*StartParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the start params

func (*StartParams) WithInputID

func (o *StartParams) WithInputID(inputID string) *StartParams

WithInputID adds the inputID to the start params

func (*StartParams) WithTimeout

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

WithTimeout adds the timeout to the start params

func (*StartParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StartReader

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

StartReader is a Reader for the Start structure.

func (*StartReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StopNotFound

type StopNotFound struct {
}

StopNotFound handles this case with default header values.

No such input on this node.

func NewStopNotFound

func NewStopNotFound() *StopNotFound

NewStopNotFound creates a StopNotFound with default headers values

func (*StopNotFound) Error

func (o *StopNotFound) Error() string

type StopOK

type StopOK struct {
	Payload *models.InputDeleted
}

StopOK handles this case with default header values.

No response was specified

func NewStopOK

func NewStopOK() *StopOK

NewStopOK creates a StopOK with default headers values

func (*StopOK) Error

func (o *StopOK) Error() string

type StopParams

type StopParams struct {

	/*InputID*/
	InputID string

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

StopParams contains all the parameters to send to the API endpoint for the stop operation typically these are written to a http.Request

func NewStopParams

func NewStopParams() *StopParams

NewStopParams creates a new StopParams object with the default values initialized.

func NewStopParamsWithContext

func NewStopParamsWithContext(ctx context.Context) *StopParams

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

func NewStopParamsWithHTTPClient

func NewStopParamsWithHTTPClient(client *http.Client) *StopParams

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

func NewStopParamsWithTimeout

func NewStopParamsWithTimeout(timeout time.Duration) *StopParams

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

func (*StopParams) SetContext

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

SetContext adds the context to the stop params

func (*StopParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stop params

func (*StopParams) SetInputID

func (o *StopParams) SetInputID(inputID string)

SetInputID adds the inputId to the stop params

func (*StopParams) SetTimeout

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

SetTimeout adds the timeout to the stop params

func (*StopParams) WithContext

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

WithContext adds the context to the stop params

func (*StopParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stop params

func (*StopParams) WithInputID

func (o *StopParams) WithInputID(inputID string) *StopParams

WithInputID adds the inputID to the stop params

func (*StopParams) WithTimeout

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

WithTimeout adds the timeout to the stop params

func (*StopParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StopReader

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

StopReader is a Reader for the Stop structure.

func (*StopReader) ReadResponse

func (o *StopReader) 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