catalogs

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

func New

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

New creates a new catalogs API client.

func (*Client) GetNodesIdentifierCatalogs

func (a *Client) GetNodesIdentifierCatalogs(params *GetNodesIdentifierCatalogsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNodesIdentifierCatalogsOK, error)

GetNodesIdentifierCatalogs fetches catalog of specified node

Fetch catalog of specified node

func (*Client) GetNodesIdentifierCatalogsSource

GetNodesIdentifierCatalogsSource fetches catalog of specified node for given source

Fetch catalog of specified node for given source

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetNodesIdentifierCatalogsDefault

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

GetNodesIdentifierCatalogsDefault handles this case with default header values.

Unexpected error

func NewGetNodesIdentifierCatalogsDefault

func NewGetNodesIdentifierCatalogsDefault(code int) *GetNodesIdentifierCatalogsDefault

NewGetNodesIdentifierCatalogsDefault creates a GetNodesIdentifierCatalogsDefault with default headers values

func (*GetNodesIdentifierCatalogsDefault) Code

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

func (*GetNodesIdentifierCatalogsDefault) Error

type GetNodesIdentifierCatalogsNotFound

type GetNodesIdentifierCatalogsNotFound struct {
	Payload *models.Error
}

GetNodesIdentifierCatalogsNotFound handles this case with default header values.

The node with the identifier was not found

func NewGetNodesIdentifierCatalogsNotFound

func NewGetNodesIdentifierCatalogsNotFound() *GetNodesIdentifierCatalogsNotFound

NewGetNodesIdentifierCatalogsNotFound creates a GetNodesIdentifierCatalogsNotFound with default headers values

func (*GetNodesIdentifierCatalogsNotFound) Error

type GetNodesIdentifierCatalogsOK

type GetNodesIdentifierCatalogsOK struct {
	Payload []interface{}
}

GetNodesIdentifierCatalogsOK handles this case with default header values.

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

func NewGetNodesIdentifierCatalogsOK

func NewGetNodesIdentifierCatalogsOK() *GetNodesIdentifierCatalogsOK

NewGetNodesIdentifierCatalogsOK creates a GetNodesIdentifierCatalogsOK with default headers values

func (*GetNodesIdentifierCatalogsOK) Error

type GetNodesIdentifierCatalogsParams

type GetNodesIdentifierCatalogsParams struct {

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


	*/
	Identifier string
}

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

func NewGetNodesIdentifierCatalogsParams

func NewGetNodesIdentifierCatalogsParams() *GetNodesIdentifierCatalogsParams

NewGetNodesIdentifierCatalogsParams creates a new GetNodesIdentifierCatalogsParams object with the default values initialized.

func (*GetNodesIdentifierCatalogsParams) WithIdentifier

WithIdentifier adds the identifier to the get nodes identifier catalogs params

func (*GetNodesIdentifierCatalogsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNodesIdentifierCatalogsReader

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

GetNodesIdentifierCatalogsReader is a Reader for the GetNodesIdentifierCatalogs structure.

func (*GetNodesIdentifierCatalogsReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type GetNodesIdentifierCatalogsSourceDefault

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

GetNodesIdentifierCatalogsSourceDefault handles this case with default header values.

Unexpected error

func NewGetNodesIdentifierCatalogsSourceDefault

func NewGetNodesIdentifierCatalogsSourceDefault(code int) *GetNodesIdentifierCatalogsSourceDefault

NewGetNodesIdentifierCatalogsSourceDefault creates a GetNodesIdentifierCatalogsSourceDefault with default headers values

func (*GetNodesIdentifierCatalogsSourceDefault) Code

Code gets the status code for the get nodes identifier catalogs source default response

func (*GetNodesIdentifierCatalogsSourceDefault) Error

type GetNodesIdentifierCatalogsSourceNotFound

type GetNodesIdentifierCatalogsSourceNotFound struct {
	Payload *models.Error
}

GetNodesIdentifierCatalogsSourceNotFound handles this case with default header values.

The node with the identifier was not found

func NewGetNodesIdentifierCatalogsSourceNotFound

func NewGetNodesIdentifierCatalogsSourceNotFound() *GetNodesIdentifierCatalogsSourceNotFound

NewGetNodesIdentifierCatalogsSourceNotFound creates a GetNodesIdentifierCatalogsSourceNotFound with default headers values

func (*GetNodesIdentifierCatalogsSourceNotFound) Error

type GetNodesIdentifierCatalogsSourceOK

type GetNodesIdentifierCatalogsSourceOK struct {
	Payload GetNodesIdentifierCatalogsSourceOKBodyBody
}

GetNodesIdentifierCatalogsSourceOK handles this case with default header values.

specific source catalog of specified node, | empty object if none exist.

func NewGetNodesIdentifierCatalogsSourceOK

func NewGetNodesIdentifierCatalogsSourceOK() *GetNodesIdentifierCatalogsSourceOK

NewGetNodesIdentifierCatalogsSourceOK creates a GetNodesIdentifierCatalogsSourceOK with default headers values

func (*GetNodesIdentifierCatalogsSourceOK) Error

type GetNodesIdentifierCatalogsSourceOKBodyBody

type GetNodesIdentifierCatalogsSourceOKBodyBody interface{}

GetNodesIdentifierCatalogsSourceOKBodyBody get nodes identifier catalogs source o k body body

swagger:model GetNodesIdentifierCatalogsSourceOKBodyBody

type GetNodesIdentifierCatalogsSourceParams

type GetNodesIdentifierCatalogsSourceParams struct {

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


	*/
	Identifier string
	/*Source
	  Source catalog name to fetch


	*/
	Source string
}

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

func NewGetNodesIdentifierCatalogsSourceParams

func NewGetNodesIdentifierCatalogsSourceParams() *GetNodesIdentifierCatalogsSourceParams

NewGetNodesIdentifierCatalogsSourceParams creates a new GetNodesIdentifierCatalogsSourceParams object with the default values initialized.

func (*GetNodesIdentifierCatalogsSourceParams) WithIdentifier

WithIdentifier adds the identifier to the get nodes identifier catalogs source params

func (*GetNodesIdentifierCatalogsSourceParams) WithSource

WithSource adds the source to the get nodes identifier catalogs source params

func (*GetNodesIdentifierCatalogsSourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNodesIdentifierCatalogsSourceReader

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

GetNodesIdentifierCatalogsSourceReader is a Reader for the GetNodesIdentifierCatalogsSource structure.

func (*GetNodesIdentifierCatalogsSourceReader) ReadResponse

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