identify

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

func New

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

New creates a new identify API client.

func (*Client) GetNodesIdentifierObmIdentify

func (a *Client) GetNodesIdentifierObmIdentify(params *GetNodesIdentifierObmIdentifyParams, authInfo runtime.ClientAuthInfoWriter) (*GetNodesIdentifierObmIdentifyOK, error)

GetNodesIdentifierObmIdentify fetches status of identify light on node through o b m if supported

Fetch status of identify light on node through OBM (if supported)

func (*Client) PostNodesIdentifierObmIdentify

PostNodesIdentifierObmIdentify enables or disable identify light on node through o b m if supported

Enable or disable identify light on node through OBM (if supported)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetNodesIdentifierObmIdentifyDefault

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

GetNodesIdentifierObmIdentifyDefault handles this case with default header values.

Unexpected error

func NewGetNodesIdentifierObmIdentifyDefault

func NewGetNodesIdentifierObmIdentifyDefault(code int) *GetNodesIdentifierObmIdentifyDefault

NewGetNodesIdentifierObmIdentifyDefault creates a GetNodesIdentifierObmIdentifyDefault with default headers values

func (*GetNodesIdentifierObmIdentifyDefault) Code

Code gets the status code for the get nodes identifier obm identify default response

func (*GetNodesIdentifierObmIdentifyDefault) Error

type GetNodesIdentifierObmIdentifyNotFound

type GetNodesIdentifierObmIdentifyNotFound struct {
	Payload *models.Error
}

GetNodesIdentifierObmIdentifyNotFound handles this case with default header values.

The node with the identifier was not found or has no obm settings.

func NewGetNodesIdentifierObmIdentifyNotFound

func NewGetNodesIdentifierObmIdentifyNotFound() *GetNodesIdentifierObmIdentifyNotFound

NewGetNodesIdentifierObmIdentifyNotFound creates a GetNodesIdentifierObmIdentifyNotFound with default headers values

func (*GetNodesIdentifierObmIdentifyNotFound) Error

type GetNodesIdentifierObmIdentifyOK

type GetNodesIdentifierObmIdentifyOK struct {
	Payload GetNodesIdentifierObmIdentifyOKBodyBody
}

GetNodesIdentifierObmIdentifyOK handles this case with default header values.

obm identity light settings

func NewGetNodesIdentifierObmIdentifyOK

func NewGetNodesIdentifierObmIdentifyOK() *GetNodesIdentifierObmIdentifyOK

NewGetNodesIdentifierObmIdentifyOK creates a GetNodesIdentifierObmIdentifyOK with default headers values

func (*GetNodesIdentifierObmIdentifyOK) Error

type GetNodesIdentifierObmIdentifyOKBodyBody

type GetNodesIdentifierObmIdentifyOKBodyBody interface{}

GetNodesIdentifierObmIdentifyOKBodyBody get nodes identifier obm identify o k body body

swagger:model GetNodesIdentifierObmIdentifyOKBodyBody

type GetNodesIdentifierObmIdentifyParams

type GetNodesIdentifierObmIdentifyParams struct {

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


	*/
	Identifier string
}

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

func NewGetNodesIdentifierObmIdentifyParams

func NewGetNodesIdentifierObmIdentifyParams() *GetNodesIdentifierObmIdentifyParams

NewGetNodesIdentifierObmIdentifyParams creates a new GetNodesIdentifierObmIdentifyParams object with the default values initialized.

func (*GetNodesIdentifierObmIdentifyParams) WithIdentifier

WithIdentifier adds the identifier to the get nodes identifier obm identify params

func (*GetNodesIdentifierObmIdentifyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNodesIdentifierObmIdentifyReader

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

GetNodesIdentifierObmIdentifyReader is a Reader for the GetNodesIdentifierObmIdentify structure.

func (*GetNodesIdentifierObmIdentifyReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type PostNodesIdentifierObmIdentifyCreated

type PostNodesIdentifierObmIdentifyCreated struct {
}

PostNodesIdentifierObmIdentifyCreated handles this case with default header values.

obm settings accepted

func NewPostNodesIdentifierObmIdentifyCreated

func NewPostNodesIdentifierObmIdentifyCreated() *PostNodesIdentifierObmIdentifyCreated

NewPostNodesIdentifierObmIdentifyCreated creates a PostNodesIdentifierObmIdentifyCreated with default headers values

func (*PostNodesIdentifierObmIdentifyCreated) Error

type PostNodesIdentifierObmIdentifyDefault

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

PostNodesIdentifierObmIdentifyDefault handles this case with default header values.

Unexpected error

func NewPostNodesIdentifierObmIdentifyDefault

func NewPostNodesIdentifierObmIdentifyDefault(code int) *PostNodesIdentifierObmIdentifyDefault

NewPostNodesIdentifierObmIdentifyDefault creates a PostNodesIdentifierObmIdentifyDefault with default headers values

func (*PostNodesIdentifierObmIdentifyDefault) Code

Code gets the status code for the post nodes identifier obm identify default response

func (*PostNodesIdentifierObmIdentifyDefault) Error

type PostNodesIdentifierObmIdentifyNotFound

type PostNodesIdentifierObmIdentifyNotFound struct {
	Payload *models.Error
}

PostNodesIdentifierObmIdentifyNotFound handles this case with default header values.

The node with the identifier was not found or has no obm settings.

func NewPostNodesIdentifierObmIdentifyNotFound

func NewPostNodesIdentifierObmIdentifyNotFound() *PostNodesIdentifierObmIdentifyNotFound

NewPostNodesIdentifierObmIdentifyNotFound creates a PostNodesIdentifierObmIdentifyNotFound with default headers values

func (*PostNodesIdentifierObmIdentifyNotFound) Error

type PostNodesIdentifierObmIdentifyParams

type PostNodesIdentifierObmIdentifyParams struct {

	/*Body
	  obm settings to apply.


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


	*/
	Identifier string
}

PostNodesIdentifierObmIdentifyParams contains all the parameters to send to the API endpoint for the post nodes identifier obm identify operation typically these are written to a http.Request

func NewPostNodesIdentifierObmIdentifyParams

func NewPostNodesIdentifierObmIdentifyParams() *PostNodesIdentifierObmIdentifyParams

NewPostNodesIdentifierObmIdentifyParams creates a new PostNodesIdentifierObmIdentifyParams object with the default values initialized.

func (*PostNodesIdentifierObmIdentifyParams) WithBody

WithBody adds the body to the post nodes identifier obm identify params

func (*PostNodesIdentifierObmIdentifyParams) WithIdentifier

WithIdentifier adds the identifier to the post nodes identifier obm identify params

func (*PostNodesIdentifierObmIdentifyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostNodesIdentifierObmIdentifyReader

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

PostNodesIdentifierObmIdentifyReader is a Reader for the PostNodesIdentifierObmIdentify structure.

func (*PostNodesIdentifierObmIdentifyReader) ReadResponse

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