Documentation ¶
Index ¶
- type Client
- func (a *Client) GetNodesIdentifierObmIdentify(params *GetNodesIdentifierObmIdentifyParams, ...) (*GetNodesIdentifierObmIdentifyOK, error)
- func (a *Client) PostNodesIdentifierObmIdentify(params *PostNodesIdentifierObmIdentifyParams, ...) (*PostNodesIdentifierObmIdentifyCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetNodesIdentifierObmIdentifyDefault
- type GetNodesIdentifierObmIdentifyNotFound
- type GetNodesIdentifierObmIdentifyOK
- type GetNodesIdentifierObmIdentifyOKBodyBody
- type GetNodesIdentifierObmIdentifyParams
- type GetNodesIdentifierObmIdentifyReader
- type PostNodesIdentifierObmIdentifyCreated
- type PostNodesIdentifierObmIdentifyDefault
- type PostNodesIdentifierObmIdentifyNotFound
- type PostNodesIdentifierObmIdentifyParams
- func (o *PostNodesIdentifierObmIdentifyParams) WithBody(Body *bool) *PostNodesIdentifierObmIdentifyParams
- func (o *PostNodesIdentifierObmIdentifyParams) WithIdentifier(Identifier string) *PostNodesIdentifierObmIdentifyParams
- func (o *PostNodesIdentifierObmIdentifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostNodesIdentifierObmIdentifyReader
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 ¶
func (a *Client) PostNodesIdentifierObmIdentify(params *PostNodesIdentifierObmIdentifyParams, authInfo runtime.ClientAuthInfoWriter) (*PostNodesIdentifierObmIdentifyCreated, error)
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 ¶
func (o *GetNodesIdentifierObmIdentifyDefault) Code() int
Code gets the status code for the get nodes identifier obm identify default response
func (*GetNodesIdentifierObmIdentifyDefault) Error ¶
func (o *GetNodesIdentifierObmIdentifyDefault) Error() string
type GetNodesIdentifierObmIdentifyNotFound ¶
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 ¶
func (o *GetNodesIdentifierObmIdentifyNotFound) Error() string
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 ¶
func (o *GetNodesIdentifierObmIdentifyOK) Error() string
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 ¶
func (o *GetNodesIdentifierObmIdentifyParams) WithIdentifier(Identifier string) *GetNodesIdentifierObmIdentifyParams
WithIdentifier adds the identifier to the get nodes identifier obm identify params
func (*GetNodesIdentifierObmIdentifyParams) WriteToRequest ¶
func (o *GetNodesIdentifierObmIdentifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PostNodesIdentifierObmIdentifyCreated) Error() string
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 ¶
func (o *PostNodesIdentifierObmIdentifyDefault) Code() int
Code gets the status code for the post nodes identifier obm identify default response
func (*PostNodesIdentifierObmIdentifyDefault) Error ¶
func (o *PostNodesIdentifierObmIdentifyDefault) Error() string
type PostNodesIdentifierObmIdentifyNotFound ¶
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 ¶
func (o *PostNodesIdentifierObmIdentifyNotFound) Error() string
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 ¶
func (o *PostNodesIdentifierObmIdentifyParams) WithBody(Body *bool) *PostNodesIdentifierObmIdentifyParams
WithBody adds the body to the post nodes identifier obm identify params
func (*PostNodesIdentifierObmIdentifyParams) WithIdentifier ¶
func (o *PostNodesIdentifierObmIdentifyParams) WithIdentifier(Identifier string) *PostNodesIdentifierObmIdentifyParams
WithIdentifier adds the identifier to the post nodes identifier obm identify params
func (*PostNodesIdentifierObmIdentifyParams) WriteToRequest ¶
func (o *PostNodesIdentifierObmIdentifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.