obm

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

func New

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

New creates a new obm API client.

func (*Client) GetNodesIdentifierObm

func (a *Client) GetNodesIdentifierObm(params *GetNodesIdentifierObmParams, authInfo runtime.ClientAuthInfoWriter) (*GetNodesIdentifierObmOK, error)

GetNodesIdentifierObm gets the obm settings associated with a node

get the obm settings associated with a node.

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

PostNodesIdentifierObm sets the obm settings associated with a node

set he obm settings associated with a node.

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 GetNodesIdentifierObmDefault

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

GetNodesIdentifierObmDefault handles this case with default header values.

Unexpected error

func NewGetNodesIdentifierObmDefault

func NewGetNodesIdentifierObmDefault(code int) *GetNodesIdentifierObmDefault

NewGetNodesIdentifierObmDefault creates a GetNodesIdentifierObmDefault with default headers values

func (*GetNodesIdentifierObmDefault) Code

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

func (*GetNodesIdentifierObmDefault) Error

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 GetNodesIdentifierObmNotFound

type GetNodesIdentifierObmNotFound struct {
	Payload *models.Error
}

GetNodesIdentifierObmNotFound handles this case with default header values.

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

func NewGetNodesIdentifierObmNotFound

func NewGetNodesIdentifierObmNotFound() *GetNodesIdentifierObmNotFound

NewGetNodesIdentifierObmNotFound creates a GetNodesIdentifierObmNotFound with default headers values

func (*GetNodesIdentifierObmNotFound) Error

type GetNodesIdentifierObmOK

type GetNodesIdentifierObmOK struct {
	Payload []interface{}
}

GetNodesIdentifierObmOK handles this case with default header values.

obm settings

func NewGetNodesIdentifierObmOK

func NewGetNodesIdentifierObmOK() *GetNodesIdentifierObmOK

NewGetNodesIdentifierObmOK creates a GetNodesIdentifierObmOK with default headers values

func (*GetNodesIdentifierObmOK) Error

func (o *GetNodesIdentifierObmOK) Error() string

type GetNodesIdentifierObmParams

type GetNodesIdentifierObmParams struct {

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


	*/
	Identifier string
}

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

func NewGetNodesIdentifierObmParams

func NewGetNodesIdentifierObmParams() *GetNodesIdentifierObmParams

NewGetNodesIdentifierObmParams creates a new GetNodesIdentifierObmParams object with the default values initialized.

func (*GetNodesIdentifierObmParams) WithIdentifier

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

WithIdentifier adds the identifier to the get nodes identifier obm params

func (*GetNodesIdentifierObmParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNodesIdentifierObmReader

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

GetNodesIdentifierObmReader is a Reader for the GetNodesIdentifierObm structure.

func (*GetNodesIdentifierObmReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type PostNodesIdentifierObmCreated

type PostNodesIdentifierObmCreated struct {
}

PostNodesIdentifierObmCreated handles this case with default header values.

obm settings accepted

func NewPostNodesIdentifierObmCreated

func NewPostNodesIdentifierObmCreated() *PostNodesIdentifierObmCreated

NewPostNodesIdentifierObmCreated creates a PostNodesIdentifierObmCreated with default headers values

func (*PostNodesIdentifierObmCreated) Error

type PostNodesIdentifierObmDefault

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

PostNodesIdentifierObmDefault handles this case with default header values.

Unexpected error

func NewPostNodesIdentifierObmDefault

func NewPostNodesIdentifierObmDefault(code int) *PostNodesIdentifierObmDefault

NewPostNodesIdentifierObmDefault creates a PostNodesIdentifierObmDefault with default headers values

func (*PostNodesIdentifierObmDefault) Code

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

func (*PostNodesIdentifierObmDefault) Error

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.

type PostNodesIdentifierObmNotFound

type PostNodesIdentifierObmNotFound struct {
	Payload *models.Error
}

PostNodesIdentifierObmNotFound handles this case with default header values.

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

func NewPostNodesIdentifierObmNotFound

func NewPostNodesIdentifierObmNotFound() *PostNodesIdentifierObmNotFound

NewPostNodesIdentifierObmNotFound creates a PostNodesIdentifierObmNotFound with default headers values

func (*PostNodesIdentifierObmNotFound) Error

type PostNodesIdentifierObmParams

type PostNodesIdentifierObmParams struct {

	/*Body
	  obm settings to apply.


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


	*/
	Identifier string
}

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

func NewPostNodesIdentifierObmParams

func NewPostNodesIdentifierObmParams() *PostNodesIdentifierObmParams

NewPostNodesIdentifierObmParams creates a new PostNodesIdentifierObmParams object with the default values initialized.

func (*PostNodesIdentifierObmParams) WithBody

func (o *PostNodesIdentifierObmParams) WithBody(Body interface{}) *PostNodesIdentifierObmParams

WithBody adds the body to the post nodes identifier obm params

func (*PostNodesIdentifierObmParams) WithIdentifier

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

WithIdentifier adds the identifier to the post nodes identifier obm params

func (*PostNodesIdentifierObmParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostNodesIdentifierObmReader

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

PostNodesIdentifierObmReader is a Reader for the PostNodesIdentifierObm structure.

func (*PostNodesIdentifierObmReader) ReadResponse

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