pollers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2016 License: MIT Imports: 6 Imported by: 3

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 pollers API

func New

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

New creates a new pollers API client.

func (*Client) DeletePollersIdentifier

DeletePollersIdentifier deletes the specified poller

delete the specified poller

func (*Client) GetNodesIdentifierPollers

func (a *Client) GetNodesIdentifierPollers(params *GetNodesIdentifierPollersParams, authInfo runtime.ClientAuthInfoWriter) (*GetNodesIdentifierPollersOK, error)

GetNodesIdentifierPollers fetches all pollers for specified node

Fetch all pollers for specified node

func (*Client) GetPollers

func (a *Client) GetPollers(params *GetPollersParams, authInfo runtime.ClientAuthInfoWriter) (*GetPollersOK, error)

GetPollers gets list of all pollers

get list of all pollers

func (*Client) GetPollersIdentifier

func (a *Client) GetPollersIdentifier(params *GetPollersIdentifierParams, authInfo runtime.ClientAuthInfoWriter) (*GetPollersIdentifierOK, error)

GetPollersIdentifier gets specifics of the specified poller

Get specifics of the specified poller

func (*Client) GetPollersLibrary

func (a *Client) GetPollersLibrary(params *GetPollersLibraryParams, authInfo runtime.ClientAuthInfoWriter) (*GetPollersLibraryOK, error)

GetPollersLibrary gets list of possible library pollers

get list of possible library pollers

func (*Client) GetPollersLibraryIdentifier

func (a *Client) GetPollersLibraryIdentifier(params *GetPollersLibraryIdentifierParams, authInfo runtime.ClientAuthInfoWriter) (*GetPollersLibraryIdentifierOK, error)

GetPollersLibraryIdentifier gets a single library poller

get a single library poller

func (*Client) PatchPollersIdentifier

func (a *Client) PatchPollersIdentifier(params *PatchPollersIdentifierParams, authInfo runtime.ClientAuthInfoWriter) (*PatchPollersIdentifierOK, error)

PatchPollersIdentifier patches specifics of the specified poller

patch specifics of the specified poller

func (*Client) PostPollers

func (a *Client) PostPollers(params *PostPollersParams, authInfo runtime.ClientAuthInfoWriter) (*PostPollersOK, error)

PostPollers creates a poller

create a poller

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DeletePollersIdentifierDefault

type DeletePollersIdentifierDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DeletePollersIdentifierDefault handles this case with default header values.

Unexpected error

func NewDeletePollersIdentifierDefault

func NewDeletePollersIdentifierDefault(code int) *DeletePollersIdentifierDefault

NewDeletePollersIdentifierDefault creates a DeletePollersIdentifierDefault with default headers values

func (*DeletePollersIdentifierDefault) Code

Code gets the status code for the delete pollers identifier default response

func (*DeletePollersIdentifierDefault) Error

type DeletePollersIdentifierNoContent

type DeletePollersIdentifierNoContent struct {
}

DeletePollersIdentifierNoContent handles this case with default header values.

Poller delete successfully

func NewDeletePollersIdentifierNoContent

func NewDeletePollersIdentifierNoContent() *DeletePollersIdentifierNoContent

NewDeletePollersIdentifierNoContent creates a DeletePollersIdentifierNoContent with default headers values

func (*DeletePollersIdentifierNoContent) Error

type DeletePollersIdentifierNotFound

type DeletePollersIdentifierNotFound struct {
	Payload *models.Error
}

DeletePollersIdentifierNotFound handles this case with default header values.

There is no poller with specified identifier.

func NewDeletePollersIdentifierNotFound

func NewDeletePollersIdentifierNotFound() *DeletePollersIdentifierNotFound

NewDeletePollersIdentifierNotFound creates a DeletePollersIdentifierNotFound with default headers values

func (*DeletePollersIdentifierNotFound) Error

type DeletePollersIdentifierParams

type DeletePollersIdentifierParams struct {

	/*Identifier
	  poller identifier


	*/
	Identifier string
}

DeletePollersIdentifierParams contains all the parameters to send to the API endpoint for the delete pollers identifier operation typically these are written to a http.Request

func NewDeletePollersIdentifierParams

func NewDeletePollersIdentifierParams() *DeletePollersIdentifierParams

NewDeletePollersIdentifierParams creates a new DeletePollersIdentifierParams object with the default values initialized.

func (*DeletePollersIdentifierParams) WithIdentifier

WithIdentifier adds the identifier to the delete pollers identifier params

func (*DeletePollersIdentifierParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePollersIdentifierReader

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

DeletePollersIdentifierReader is a Reader for the DeletePollersIdentifier structure.

func (*DeletePollersIdentifierReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type GetNodesIdentifierPollersDefault

type GetNodesIdentifierPollersDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetNodesIdentifierPollersDefault handles this case with default header values.

Unexpected error

func NewGetNodesIdentifierPollersDefault

func NewGetNodesIdentifierPollersDefault(code int) *GetNodesIdentifierPollersDefault

NewGetNodesIdentifierPollersDefault creates a GetNodesIdentifierPollersDefault with default headers values

func (*GetNodesIdentifierPollersDefault) Code

Code gets the status code for the get nodes identifier pollers default response

func (*GetNodesIdentifierPollersDefault) Error

type GetNodesIdentifierPollersNotFound

type GetNodesIdentifierPollersNotFound struct {
	Payload *models.Error
}

GetNodesIdentifierPollersNotFound handles this case with default header values.

The node with the identifier was not found

func NewGetNodesIdentifierPollersNotFound

func NewGetNodesIdentifierPollersNotFound() *GetNodesIdentifierPollersNotFound

NewGetNodesIdentifierPollersNotFound creates a GetNodesIdentifierPollersNotFound with default headers values

func (*GetNodesIdentifierPollersNotFound) Error

type GetNodesIdentifierPollersOK

type GetNodesIdentifierPollersOK struct {
	Payload []interface{}
}

GetNodesIdentifierPollersOK handles this case with default header values.

all pollers of specified node, empty object if none exist.

func NewGetNodesIdentifierPollersOK

func NewGetNodesIdentifierPollersOK() *GetNodesIdentifierPollersOK

NewGetNodesIdentifierPollersOK creates a GetNodesIdentifierPollersOK with default headers values

func (*GetNodesIdentifierPollersOK) Error

type GetNodesIdentifierPollersParams

type GetNodesIdentifierPollersParams struct {

	/*Identifier
	  Mac addresses and unique aliases to identify the node by, |
	expect a string or an array of strings.


	*/
	Identifier string
}

GetNodesIdentifierPollersParams contains all the parameters to send to the API endpoint for the get nodes identifier pollers operation typically these are written to a http.Request

func NewGetNodesIdentifierPollersParams

func NewGetNodesIdentifierPollersParams() *GetNodesIdentifierPollersParams

NewGetNodesIdentifierPollersParams creates a new GetNodesIdentifierPollersParams object with the default values initialized.

func (*GetNodesIdentifierPollersParams) WithIdentifier

WithIdentifier adds the identifier to the get nodes identifier pollers params

func (*GetNodesIdentifierPollersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNodesIdentifierPollersReader

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

GetNodesIdentifierPollersReader is a Reader for the GetNodesIdentifierPollers structure.

func (*GetNodesIdentifierPollersReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type GetPollersDefault

type GetPollersDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetPollersDefault handles this case with default header values.

Unexpected error

func NewGetPollersDefault

func NewGetPollersDefault(code int) *GetPollersDefault

NewGetPollersDefault creates a GetPollersDefault with default headers values

func (*GetPollersDefault) Code

func (o *GetPollersDefault) Code() int

Code gets the status code for the get pollers default response

func (*GetPollersDefault) Error

func (o *GetPollersDefault) Error() string

type GetPollersIdentifierDefault

type GetPollersIdentifierDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetPollersIdentifierDefault handles this case with default header values.

Unexpected error

func NewGetPollersIdentifierDefault

func NewGetPollersIdentifierDefault(code int) *GetPollersIdentifierDefault

NewGetPollersIdentifierDefault creates a GetPollersIdentifierDefault with default headers values

func (*GetPollersIdentifierDefault) Code

func (o *GetPollersIdentifierDefault) Code() int

Code gets the status code for the get pollers identifier default response

func (*GetPollersIdentifierDefault) Error

type GetPollersIdentifierNotFound

type GetPollersIdentifierNotFound struct {
	Payload *models.Error
}

GetPollersIdentifierNotFound handles this case with default header values.

There is no poller with specified identifier.

func NewGetPollersIdentifierNotFound

func NewGetPollersIdentifierNotFound() *GetPollersIdentifierNotFound

NewGetPollersIdentifierNotFound creates a GetPollersIdentifierNotFound with default headers values

func (*GetPollersIdentifierNotFound) Error

type GetPollersIdentifierOK

type GetPollersIdentifierOK struct {
	Payload GetPollersIdentifierOKBodyBody
}

GetPollersIdentifierOK handles this case with default header values.

Specifics of the specified poller

func NewGetPollersIdentifierOK

func NewGetPollersIdentifierOK() *GetPollersIdentifierOK

NewGetPollersIdentifierOK creates a GetPollersIdentifierOK with default headers values

func (*GetPollersIdentifierOK) Error

func (o *GetPollersIdentifierOK) Error() string

type GetPollersIdentifierOKBodyBody

type GetPollersIdentifierOKBodyBody interface{}

GetPollersIdentifierOKBodyBody get pollers identifier o k body body

swagger:model GetPollersIdentifierOKBodyBody

type GetPollersIdentifierParams

type GetPollersIdentifierParams struct {

	/*Identifier
	  poller identifier


	*/
	Identifier string
}

GetPollersIdentifierParams contains all the parameters to send to the API endpoint for the get pollers identifier operation typically these are written to a http.Request

func NewGetPollersIdentifierParams

func NewGetPollersIdentifierParams() *GetPollersIdentifierParams

NewGetPollersIdentifierParams creates a new GetPollersIdentifierParams object with the default values initialized.

func (*GetPollersIdentifierParams) WithIdentifier

func (o *GetPollersIdentifierParams) WithIdentifier(Identifier string) *GetPollersIdentifierParams

WithIdentifier adds the identifier to the get pollers identifier params

func (*GetPollersIdentifierParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPollersIdentifierReader

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

GetPollersIdentifierReader is a Reader for the GetPollersIdentifier structure.

func (*GetPollersIdentifierReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type GetPollersLibraryDefault

type GetPollersLibraryDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetPollersLibraryDefault handles this case with default header values.

Unexpected error

func NewGetPollersLibraryDefault

func NewGetPollersLibraryDefault(code int) *GetPollersLibraryDefault

NewGetPollersLibraryDefault creates a GetPollersLibraryDefault with default headers values

func (*GetPollersLibraryDefault) Code

func (o *GetPollersLibraryDefault) Code() int

Code gets the status code for the get pollers library default response

func (*GetPollersLibraryDefault) Error

func (o *GetPollersLibraryDefault) Error() string

type GetPollersLibraryIdentifierDefault

type GetPollersLibraryIdentifierDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetPollersLibraryIdentifierDefault handles this case with default header values.

Unexpected error

func NewGetPollersLibraryIdentifierDefault

func NewGetPollersLibraryIdentifierDefault(code int) *GetPollersLibraryIdentifierDefault

NewGetPollersLibraryIdentifierDefault creates a GetPollersLibraryIdentifierDefault with default headers values

func (*GetPollersLibraryIdentifierDefault) Code

Code gets the status code for the get pollers library identifier default response

func (*GetPollersLibraryIdentifierDefault) Error

type GetPollersLibraryIdentifierNotFound

type GetPollersLibraryIdentifierNotFound struct {
	Payload *models.Error
}

GetPollersLibraryIdentifierNotFound handles this case with default header values.

There is no library poller with specified identifier.

func NewGetPollersLibraryIdentifierNotFound

func NewGetPollersLibraryIdentifierNotFound() *GetPollersLibraryIdentifierNotFound

NewGetPollersLibraryIdentifierNotFound creates a GetPollersLibraryIdentifierNotFound with default headers values

func (*GetPollersLibraryIdentifierNotFound) Error

type GetPollersLibraryIdentifierOK

type GetPollersLibraryIdentifierOK struct {
	Payload GetPollersLibraryIdentifierOKBodyBody
}

GetPollersLibraryIdentifierOK handles this case with default header values.

single library poller

func NewGetPollersLibraryIdentifierOK

func NewGetPollersLibraryIdentifierOK() *GetPollersLibraryIdentifierOK

NewGetPollersLibraryIdentifierOK creates a GetPollersLibraryIdentifierOK with default headers values

func (*GetPollersLibraryIdentifierOK) Error

type GetPollersLibraryIdentifierOKBodyBody

type GetPollersLibraryIdentifierOKBodyBody interface{}

GetPollersLibraryIdentifierOKBodyBody get pollers library identifier o k body body

swagger:model GetPollersLibraryIdentifierOKBodyBody

type GetPollersLibraryIdentifierParams

type GetPollersLibraryIdentifierParams struct {

	/*Identifier
	  library poller identifier


	*/
	Identifier string
}

GetPollersLibraryIdentifierParams contains all the parameters to send to the API endpoint for the get pollers library identifier operation typically these are written to a http.Request

func NewGetPollersLibraryIdentifierParams

func NewGetPollersLibraryIdentifierParams() *GetPollersLibraryIdentifierParams

NewGetPollersLibraryIdentifierParams creates a new GetPollersLibraryIdentifierParams object with the default values initialized.

func (*GetPollersLibraryIdentifierParams) WithIdentifier

WithIdentifier adds the identifier to the get pollers library identifier params

func (*GetPollersLibraryIdentifierParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPollersLibraryIdentifierReader

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

GetPollersLibraryIdentifierReader is a Reader for the GetPollersLibraryIdentifier structure.

func (*GetPollersLibraryIdentifierReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type GetPollersLibraryOK

type GetPollersLibraryOK struct {
	Payload []interface{}
}

GetPollersLibraryOK handles this case with default header values.

list of all pollers

func NewGetPollersLibraryOK

func NewGetPollersLibraryOK() *GetPollersLibraryOK

NewGetPollersLibraryOK creates a GetPollersLibraryOK with default headers values

func (*GetPollersLibraryOK) Error

func (o *GetPollersLibraryOK) Error() string

type GetPollersLibraryParams

type GetPollersLibraryParams struct {
}

GetPollersLibraryParams contains all the parameters to send to the API endpoint for the get pollers library operation typically these are written to a http.Request

func NewGetPollersLibraryParams

func NewGetPollersLibraryParams() *GetPollersLibraryParams

NewGetPollersLibraryParams creates a new GetPollersLibraryParams object with the default values initialized.

func (*GetPollersLibraryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPollersLibraryReader

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

GetPollersLibraryReader is a Reader for the GetPollersLibrary structure.

func (*GetPollersLibraryReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type GetPollersOK

type GetPollersOK struct {
	Payload []interface{}
}

GetPollersOK handles this case with default header values.

list of all pollers

func NewGetPollersOK

func NewGetPollersOK() *GetPollersOK

NewGetPollersOK creates a GetPollersOK with default headers values

func (*GetPollersOK) Error

func (o *GetPollersOK) Error() string

type GetPollersParams

type GetPollersParams struct {
}

GetPollersParams contains all the parameters to send to the API endpoint for the get pollers operation typically these are written to a http.Request

func NewGetPollersParams

func NewGetPollersParams() *GetPollersParams

NewGetPollersParams creates a new GetPollersParams object with the default values initialized.

func (*GetPollersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetPollersReader

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

GetPollersReader is a Reader for the GetPollers structure.

func (*GetPollersReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type PatchPollersIdentifierDefault

type PatchPollersIdentifierDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PatchPollersIdentifierDefault handles this case with default header values.

Unexpected error

func NewPatchPollersIdentifierDefault

func NewPatchPollersIdentifierDefault(code int) *PatchPollersIdentifierDefault

NewPatchPollersIdentifierDefault creates a PatchPollersIdentifierDefault with default headers values

func (*PatchPollersIdentifierDefault) Code

Code gets the status code for the patch pollers identifier default response

func (*PatchPollersIdentifierDefault) Error

type PatchPollersIdentifierNotFound

type PatchPollersIdentifierNotFound struct {
	Payload *models.Error
}

PatchPollersIdentifierNotFound handles this case with default header values.

There is no poller with specified identifier.

func NewPatchPollersIdentifierNotFound

func NewPatchPollersIdentifierNotFound() *PatchPollersIdentifierNotFound

NewPatchPollersIdentifierNotFound creates a PatchPollersIdentifierNotFound with default headers values

func (*PatchPollersIdentifierNotFound) Error

type PatchPollersIdentifierOK

type PatchPollersIdentifierOK struct {
	Payload PatchPollersIdentifierOKBodyBody
}

PatchPollersIdentifierOK handles this case with default header values.

Specifics of the patched poller

func NewPatchPollersIdentifierOK

func NewPatchPollersIdentifierOK() *PatchPollersIdentifierOK

NewPatchPollersIdentifierOK creates a PatchPollersIdentifierOK with default headers values

func (*PatchPollersIdentifierOK) Error

func (o *PatchPollersIdentifierOK) Error() string

type PatchPollersIdentifierOKBodyBody

type PatchPollersIdentifierOKBodyBody interface{}

PatchPollersIdentifierOKBodyBody patch pollers identifier o k body body

swagger:model PatchPollersIdentifierOKBodyBody

type PatchPollersIdentifierParams

type PatchPollersIdentifierParams struct {

	/*Identifier
	  poller identifier


	*/
	Identifier string
}

PatchPollersIdentifierParams contains all the parameters to send to the API endpoint for the patch pollers identifier operation typically these are written to a http.Request

func NewPatchPollersIdentifierParams

func NewPatchPollersIdentifierParams() *PatchPollersIdentifierParams

NewPatchPollersIdentifierParams creates a new PatchPollersIdentifierParams object with the default values initialized.

func (*PatchPollersIdentifierParams) WithIdentifier

func (o *PatchPollersIdentifierParams) WithIdentifier(Identifier string) *PatchPollersIdentifierParams

WithIdentifier adds the identifier to the patch pollers identifier params

func (*PatchPollersIdentifierParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchPollersIdentifierReader

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

PatchPollersIdentifierReader is a Reader for the PatchPollersIdentifier structure.

func (*PatchPollersIdentifierReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type PostPollersDefault

type PostPollersDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PostPollersDefault handles this case with default header values.

Unexpected error

func NewPostPollersDefault

func NewPostPollersDefault(code int) *PostPollersDefault

NewPostPollersDefault creates a PostPollersDefault with default headers values

func (*PostPollersDefault) Code

func (o *PostPollersDefault) Code() int

Code gets the status code for the post pollers default response

func (*PostPollersDefault) Error

func (o *PostPollersDefault) Error() string

type PostPollersOK

type PostPollersOK struct {
	Payload PostPollersOKBodyBody
}

PostPollersOK handles this case with default header values.

poller created

func NewPostPollersOK

func NewPostPollersOK() *PostPollersOK

NewPostPollersOK creates a PostPollersOK with default headers values

func (*PostPollersOK) Error

func (o *PostPollersOK) Error() string

type PostPollersOKBodyBody

type PostPollersOKBodyBody interface{}

PostPollersOKBodyBody post pollers o k body body

swagger:model PostPollersOKBodyBody

type PostPollersParams

type PostPollersParams struct {
}

PostPollersParams contains all the parameters to send to the API endpoint for the post pollers operation typically these are written to a http.Request

func NewPostPollersParams

func NewPostPollersParams() *PostPollersParams

NewPostPollersParams creates a new PostPollersParams object with the default values initialized.

func (*PostPollersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostPollersReader

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

PostPollersReader is a Reader for the PostPollers structure.

func (*PostPollersReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

Jump to

Keyboard shortcuts

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