Documentation
¶
Index ¶
- type Client
- func (a *Client) GetNodesIdentifierObm(params *GetNodesIdentifierObmParams, authInfo runtime.ClientAuthInfoWriter) (*GetNodesIdentifierObmOK, error)
- func (a *Client) GetNodesIdentifierObmIdentify(params *GetNodesIdentifierObmIdentifyParams, ...) (*GetNodesIdentifierObmIdentifyOK, error)
- func (a *Client) PostNodesIdentifierObm(params *PostNodesIdentifierObmParams, authInfo runtime.ClientAuthInfoWriter) (*PostNodesIdentifierObmCreated, error)
- func (a *Client) PostNodesIdentifierObmIdentify(params *PostNodesIdentifierObmIdentifyParams, ...) (*PostNodesIdentifierObmIdentifyCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetNodesIdentifierObmDefault
- type GetNodesIdentifierObmIdentifyDefault
- type GetNodesIdentifierObmIdentifyNotFound
- type GetNodesIdentifierObmIdentifyOK
- type GetNodesIdentifierObmIdentifyOKBodyBody
- type GetNodesIdentifierObmIdentifyParams
- type GetNodesIdentifierObmIdentifyReader
- type GetNodesIdentifierObmNotFound
- type GetNodesIdentifierObmOK
- type GetNodesIdentifierObmParams
- type GetNodesIdentifierObmReader
- type PostNodesIdentifierObmCreated
- type PostNodesIdentifierObmDefault
- 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
- type PostNodesIdentifierObmNotFound
- type PostNodesIdentifierObmParams
- func (o *PostNodesIdentifierObmParams) WithBody(Body interface{}) *PostNodesIdentifierObmParams
- func (o *PostNodesIdentifierObmParams) WithIdentifier(Identifier string) *PostNodesIdentifierObmParams
- func (o *PostNodesIdentifierObmParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostNodesIdentifierObmReader
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 ¶
func (a *Client) PostNodesIdentifierObm(params *PostNodesIdentifierObmParams, authInfo runtime.ClientAuthInfoWriter) (*PostNodesIdentifierObmCreated, error)
PostNodesIdentifierObm sets the obm settings associated with a node
set he obm settings associated with a node.
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 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 ¶
func (o *GetNodesIdentifierObmDefault) Code() int
Code gets the status code for the get nodes identifier obm default response
func (*GetNodesIdentifierObmDefault) Error ¶
func (o *GetNodesIdentifierObmDefault) Error() string
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 GetNodesIdentifierObmNotFound ¶
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 ¶
func (o *GetNodesIdentifierObmNotFound) Error() string
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 ¶
func (o *GetNodesIdentifierObmParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PostNodesIdentifierObmCreated) Error() string
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 ¶
func (o *PostNodesIdentifierObmDefault) Code() int
Code gets the status code for the post nodes identifier obm default response
func (*PostNodesIdentifierObmDefault) Error ¶
func (o *PostNodesIdentifierObmDefault) Error() string
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.
type PostNodesIdentifierObmNotFound ¶
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 ¶
func (o *PostNodesIdentifierObmNotFound) Error() string
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 ¶
func (o *PostNodesIdentifierObmParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- get_nodes_identifier_obm_identify_parameters.go
- get_nodes_identifier_obm_identify_responses.go
- get_nodes_identifier_obm_parameters.go
- get_nodes_identifier_obm_responses.go
- obm_client.go
- post_nodes_identifier_obm_identify_parameters.go
- post_nodes_identifier_obm_identify_responses.go
- post_nodes_identifier_obm_parameters.go
- post_nodes_identifier_obm_responses.go