Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteDhcpLeaseMac(params *DeleteDhcpLeaseMacParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDhcpLeaseMacOK, error)
- func (a *Client) DeleteNodesMacaddressDhcpWhitelist(params *DeleteNodesMacaddressDhcpWhitelistParams, ...) (*DeleteNodesMacaddressDhcpWhitelistNoContent, error)
- func (a *Client) GetDhcp(params *GetDhcpParams, authInfo runtime.ClientAuthInfoWriter) (*GetDhcpOK, error)
- func (a *Client) GetDhcpLeaseMac(params *GetDhcpLeaseMacParams, authInfo runtime.ClientAuthInfoWriter) (*GetDhcpLeaseMacOK, error)
- func (a *Client) PostNodesMacaddressDhcpWhitelist(params *PostNodesMacaddressDhcpWhitelistParams, ...) (*PostNodesMacaddressDhcpWhitelistCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteDhcpLeaseMacDefault
- type DeleteDhcpLeaseMacOK
- type DeleteDhcpLeaseMacParams
- type DeleteDhcpLeaseMacReader
- type DeleteNodesMacaddressDhcpWhitelistDefault
- type DeleteNodesMacaddressDhcpWhitelistNoContent
- type DeleteNodesMacaddressDhcpWhitelistNotFound
- type DeleteNodesMacaddressDhcpWhitelistParams
- type DeleteNodesMacaddressDhcpWhitelistReader
- type GetDhcpDefault
- type GetDhcpLeaseMacDefault
- type GetDhcpLeaseMacOK
- type GetDhcpLeaseMacParams
- type GetDhcpLeaseMacReader
- type GetDhcpOK
- type GetDhcpParams
- type GetDhcpReader
- type PostNodesMacaddressDhcpWhitelistCreated
- type PostNodesMacaddressDhcpWhitelistCreatedBodyBody
- type PostNodesMacaddressDhcpWhitelistDefault
- type PostNodesMacaddressDhcpWhitelistNotFound
- type PostNodesMacaddressDhcpWhitelistParams
- func (o *PostNodesMacaddressDhcpWhitelistParams) WithBody(Body interface{}) *PostNodesMacaddressDhcpWhitelistParams
- func (o *PostNodesMacaddressDhcpWhitelistParams) WithMacaddress(Macaddress string) *PostNodesMacaddressDhcpWhitelistParams
- func (o *PostNodesMacaddressDhcpWhitelistParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostNodesMacaddressDhcpWhitelistReader
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 dhcp API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new dhcp API client.
func (*Client) DeleteDhcpLeaseMac ¶
func (a *Client) DeleteDhcpLeaseMac(params *DeleteDhcpLeaseMacParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDhcpLeaseMacOK, error)
DeleteDhcpLeaseMac gets list of all catalogs
Delete the lease for the mac specified and return information about deleted lease.
func (*Client) DeleteNodesMacaddressDhcpWhitelist ¶
func (a *Client) DeleteNodesMacaddressDhcpWhitelist(params *DeleteNodesMacaddressDhcpWhitelistParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNodesMacaddressDhcpWhitelistNoContent, error)
DeleteNodesMacaddressDhcpWhitelist removes a whitelist of specified mac address
Remove a whitelist of specified mac address
func (*Client) GetDhcp ¶
func (a *Client) GetDhcp(params *GetDhcpParams, authInfo runtime.ClientAuthInfoWriter) (*GetDhcpOK, error)
GetDhcp gets d h c p lease table
Fetch the dhcp leases.
func (*Client) GetDhcpLeaseMac ¶
func (a *Client) GetDhcpLeaseMac(params *GetDhcpLeaseMacParams, authInfo runtime.ClientAuthInfoWriter) (*GetDhcpLeaseMacOK, error)
GetDhcpLeaseMac fetches lease information for the mac specified
Fetch lease information for the mac specified.
func (*Client) PostNodesMacaddressDhcpWhitelist ¶
func (a *Client) PostNodesMacaddressDhcpWhitelist(params *PostNodesMacaddressDhcpWhitelistParams, authInfo runtime.ClientAuthInfoWriter) (*PostNodesMacaddressDhcpWhitelistCreated, error)
PostNodesMacaddressDhcpWhitelist adds a whitelist of specified mac address
Add a whitelist of specified mac address
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DeleteDhcpLeaseMacDefault ¶
type DeleteDhcpLeaseMacDefault struct {
// contains filtered or unexported fields
}
DeleteDhcpLeaseMacDefault handles this case with default header values.
NotFound error
func NewDeleteDhcpLeaseMacDefault ¶
func NewDeleteDhcpLeaseMacDefault(code int) *DeleteDhcpLeaseMacDefault
NewDeleteDhcpLeaseMacDefault creates a DeleteDhcpLeaseMacDefault with default headers values
func (*DeleteDhcpLeaseMacDefault) Code ¶
func (o *DeleteDhcpLeaseMacDefault) Code() int
Code gets the status code for the delete dhcp lease mac default response
func (*DeleteDhcpLeaseMacDefault) Error ¶
func (o *DeleteDhcpLeaseMacDefault) Error() string
type DeleteDhcpLeaseMacOK ¶
DeleteDhcpLeaseMacOK handles this case with default header values.
A single lease
func NewDeleteDhcpLeaseMacOK ¶
func NewDeleteDhcpLeaseMacOK() *DeleteDhcpLeaseMacOK
NewDeleteDhcpLeaseMacOK creates a DeleteDhcpLeaseMacOK with default headers values
func (*DeleteDhcpLeaseMacOK) Error ¶
func (o *DeleteDhcpLeaseMacOK) Error() string
type DeleteDhcpLeaseMacParams ¶
type DeleteDhcpLeaseMacParams struct { /*Mac identifier of a mac address */ Mac string }
DeleteDhcpLeaseMacParams contains all the parameters to send to the API endpoint for the delete dhcp lease mac operation typically these are written to a http.Request
func NewDeleteDhcpLeaseMacParams ¶
func NewDeleteDhcpLeaseMacParams() *DeleteDhcpLeaseMacParams
NewDeleteDhcpLeaseMacParams creates a new DeleteDhcpLeaseMacParams object with the default values initialized.
func (*DeleteDhcpLeaseMacParams) WithMac ¶
func (o *DeleteDhcpLeaseMacParams) WithMac(Mac string) *DeleteDhcpLeaseMacParams
WithMac adds the mac to the delete dhcp lease mac params
func (*DeleteDhcpLeaseMacParams) WriteToRequest ¶
func (o *DeleteDhcpLeaseMacParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDhcpLeaseMacReader ¶
type DeleteDhcpLeaseMacReader struct {
// contains filtered or unexported fields
}
DeleteDhcpLeaseMacReader is a Reader for the DeleteDhcpLeaseMac structure.
func (*DeleteDhcpLeaseMacReader) ReadResponse ¶
func (o *DeleteDhcpLeaseMacReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type DeleteNodesMacaddressDhcpWhitelistDefault ¶
type DeleteNodesMacaddressDhcpWhitelistDefault struct { Payload *models.Error // contains filtered or unexported fields }
DeleteNodesMacaddressDhcpWhitelistDefault handles this case with default header values.
Unexpected error
func NewDeleteNodesMacaddressDhcpWhitelistDefault ¶
func NewDeleteNodesMacaddressDhcpWhitelistDefault(code int) *DeleteNodesMacaddressDhcpWhitelistDefault
NewDeleteNodesMacaddressDhcpWhitelistDefault creates a DeleteNodesMacaddressDhcpWhitelistDefault with default headers values
func (*DeleteNodesMacaddressDhcpWhitelistDefault) Code ¶
func (o *DeleteNodesMacaddressDhcpWhitelistDefault) Code() int
Code gets the status code for the delete nodes macaddress dhcp whitelist default response
func (*DeleteNodesMacaddressDhcpWhitelistDefault) Error ¶
func (o *DeleteNodesMacaddressDhcpWhitelistDefault) Error() string
type DeleteNodesMacaddressDhcpWhitelistNoContent ¶
type DeleteNodesMacaddressDhcpWhitelistNoContent struct { }
DeleteNodesMacaddressDhcpWhitelistNoContent handles this case with default header values.
delete completed successfully
func NewDeleteNodesMacaddressDhcpWhitelistNoContent ¶
func NewDeleteNodesMacaddressDhcpWhitelistNoContent() *DeleteNodesMacaddressDhcpWhitelistNoContent
NewDeleteNodesMacaddressDhcpWhitelistNoContent creates a DeleteNodesMacaddressDhcpWhitelistNoContent with default headers values
func (*DeleteNodesMacaddressDhcpWhitelistNoContent) Error ¶
func (o *DeleteNodesMacaddressDhcpWhitelistNoContent) Error() string
type DeleteNodesMacaddressDhcpWhitelistNotFound ¶
DeleteNodesMacaddressDhcpWhitelistNotFound handles this case with default header values.
The node with the identifier was not found
func NewDeleteNodesMacaddressDhcpWhitelistNotFound ¶
func NewDeleteNodesMacaddressDhcpWhitelistNotFound() *DeleteNodesMacaddressDhcpWhitelistNotFound
NewDeleteNodesMacaddressDhcpWhitelistNotFound creates a DeleteNodesMacaddressDhcpWhitelistNotFound with default headers values
func (*DeleteNodesMacaddressDhcpWhitelistNotFound) Error ¶
func (o *DeleteNodesMacaddressDhcpWhitelistNotFound) Error() string
type DeleteNodesMacaddressDhcpWhitelistParams ¶
type DeleteNodesMacaddressDhcpWhitelistParams struct { /*Macaddress Mac addresses and unique aliases to identify the node by, | expect a string or an array of strings. */ Macaddress string }
DeleteNodesMacaddressDhcpWhitelistParams contains all the parameters to send to the API endpoint for the delete nodes macaddress dhcp whitelist operation typically these are written to a http.Request
func NewDeleteNodesMacaddressDhcpWhitelistParams ¶
func NewDeleteNodesMacaddressDhcpWhitelistParams() *DeleteNodesMacaddressDhcpWhitelistParams
NewDeleteNodesMacaddressDhcpWhitelistParams creates a new DeleteNodesMacaddressDhcpWhitelistParams object with the default values initialized.
func (*DeleteNodesMacaddressDhcpWhitelistParams) WithMacaddress ¶
func (o *DeleteNodesMacaddressDhcpWhitelistParams) WithMacaddress(Macaddress string) *DeleteNodesMacaddressDhcpWhitelistParams
WithMacaddress adds the macaddress to the delete nodes macaddress dhcp whitelist params
func (*DeleteNodesMacaddressDhcpWhitelistParams) WriteToRequest ¶
func (o *DeleteNodesMacaddressDhcpWhitelistParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNodesMacaddressDhcpWhitelistReader ¶
type DeleteNodesMacaddressDhcpWhitelistReader struct {
// contains filtered or unexported fields
}
DeleteNodesMacaddressDhcpWhitelistReader is a Reader for the DeleteNodesMacaddressDhcpWhitelist structure.
func (*DeleteNodesMacaddressDhcpWhitelistReader) ReadResponse ¶
func (o *DeleteNodesMacaddressDhcpWhitelistReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type GetDhcpDefault ¶
type GetDhcpDefault struct {
// contains filtered or unexported fields
}
GetDhcpDefault handles this case with default header values.
NotFound error
func NewGetDhcpDefault ¶
func NewGetDhcpDefault(code int) *GetDhcpDefault
NewGetDhcpDefault creates a GetDhcpDefault with default headers values
func (*GetDhcpDefault) Code ¶
func (o *GetDhcpDefault) Code() int
Code gets the status code for the get dhcp default response
func (*GetDhcpDefault) Error ¶
func (o *GetDhcpDefault) Error() string
type GetDhcpLeaseMacDefault ¶
type GetDhcpLeaseMacDefault struct {
// contains filtered or unexported fields
}
GetDhcpLeaseMacDefault handles this case with default header values.
NotFound error
func NewGetDhcpLeaseMacDefault ¶
func NewGetDhcpLeaseMacDefault(code int) *GetDhcpLeaseMacDefault
NewGetDhcpLeaseMacDefault creates a GetDhcpLeaseMacDefault with default headers values
func (*GetDhcpLeaseMacDefault) Code ¶
func (o *GetDhcpLeaseMacDefault) Code() int
Code gets the status code for the get dhcp lease mac default response
func (*GetDhcpLeaseMacDefault) Error ¶
func (o *GetDhcpLeaseMacDefault) Error() string
type GetDhcpLeaseMacOK ¶
GetDhcpLeaseMacOK handles this case with default header values.
A single lease
func NewGetDhcpLeaseMacOK ¶
func NewGetDhcpLeaseMacOK() *GetDhcpLeaseMacOK
NewGetDhcpLeaseMacOK creates a GetDhcpLeaseMacOK with default headers values
func (*GetDhcpLeaseMacOK) Error ¶
func (o *GetDhcpLeaseMacOK) Error() string
type GetDhcpLeaseMacParams ¶
type GetDhcpLeaseMacParams struct { /*Mac identifier of a mac address */ Mac string }
GetDhcpLeaseMacParams contains all the parameters to send to the API endpoint for the get dhcp lease mac operation typically these are written to a http.Request
func NewGetDhcpLeaseMacParams ¶
func NewGetDhcpLeaseMacParams() *GetDhcpLeaseMacParams
NewGetDhcpLeaseMacParams creates a new GetDhcpLeaseMacParams object with the default values initialized.
func (*GetDhcpLeaseMacParams) WithMac ¶
func (o *GetDhcpLeaseMacParams) WithMac(Mac string) *GetDhcpLeaseMacParams
WithMac adds the mac to the get dhcp lease mac params
func (*GetDhcpLeaseMacParams) WriteToRequest ¶
func (o *GetDhcpLeaseMacParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDhcpLeaseMacReader ¶
type GetDhcpLeaseMacReader struct {
// contains filtered or unexported fields
}
GetDhcpLeaseMacReader is a Reader for the GetDhcpLeaseMac structure.
func (*GetDhcpLeaseMacReader) ReadResponse ¶
func (o *GetDhcpLeaseMacReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type GetDhcpOK ¶
GetDhcpOK handles this case with default header values.
A list of all DHCP leases registered with this instance of the service.
func NewGetDhcpOK ¶
func NewGetDhcpOK() *GetDhcpOK
NewGetDhcpOK creates a GetDhcpOK with default headers values
type GetDhcpParams ¶
type GetDhcpParams struct { }
GetDhcpParams contains all the parameters to send to the API endpoint for the get dhcp operation typically these are written to a http.Request
func NewGetDhcpParams ¶
func NewGetDhcpParams() *GetDhcpParams
NewGetDhcpParams creates a new GetDhcpParams object with the default values initialized.
func (*GetDhcpParams) WriteToRequest ¶
func (o *GetDhcpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDhcpReader ¶
type GetDhcpReader struct {
// contains filtered or unexported fields
}
GetDhcpReader is a Reader for the GetDhcp structure.
func (*GetDhcpReader) ReadResponse ¶
func (o *GetDhcpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type PostNodesMacaddressDhcpWhitelistCreated ¶
type PostNodesMacaddressDhcpWhitelistCreated struct {
Payload PostNodesMacaddressDhcpWhitelistCreatedBodyBody
}
PostNodesMacaddressDhcpWhitelistCreated handles this case with default header values.
the add was successful and it returns the whitelist
func NewPostNodesMacaddressDhcpWhitelistCreated ¶
func NewPostNodesMacaddressDhcpWhitelistCreated() *PostNodesMacaddressDhcpWhitelistCreated
NewPostNodesMacaddressDhcpWhitelistCreated creates a PostNodesMacaddressDhcpWhitelistCreated with default headers values
func (*PostNodesMacaddressDhcpWhitelistCreated) Error ¶
func (o *PostNodesMacaddressDhcpWhitelistCreated) Error() string
type PostNodesMacaddressDhcpWhitelistCreatedBodyBody ¶
type PostNodesMacaddressDhcpWhitelistCreatedBodyBody interface{}
PostNodesMacaddressDhcpWhitelistCreatedBodyBody post nodes macaddress dhcp whitelist created body body
swagger:model PostNodesMacaddressDhcpWhitelistCreatedBodyBody
type PostNodesMacaddressDhcpWhitelistDefault ¶
type PostNodesMacaddressDhcpWhitelistDefault struct { Payload *models.Error // contains filtered or unexported fields }
PostNodesMacaddressDhcpWhitelistDefault handles this case with default header values.
Unexpected error
func NewPostNodesMacaddressDhcpWhitelistDefault ¶
func NewPostNodesMacaddressDhcpWhitelistDefault(code int) *PostNodesMacaddressDhcpWhitelistDefault
NewPostNodesMacaddressDhcpWhitelistDefault creates a PostNodesMacaddressDhcpWhitelistDefault with default headers values
func (*PostNodesMacaddressDhcpWhitelistDefault) Code ¶
func (o *PostNodesMacaddressDhcpWhitelistDefault) Code() int
Code gets the status code for the post nodes macaddress dhcp whitelist default response
func (*PostNodesMacaddressDhcpWhitelistDefault) Error ¶
func (o *PostNodesMacaddressDhcpWhitelistDefault) Error() string
type PostNodesMacaddressDhcpWhitelistNotFound ¶
PostNodesMacaddressDhcpWhitelistNotFound handles this case with default header values.
The node with the identifier was not found
func NewPostNodesMacaddressDhcpWhitelistNotFound ¶
func NewPostNodesMacaddressDhcpWhitelistNotFound() *PostNodesMacaddressDhcpWhitelistNotFound
NewPostNodesMacaddressDhcpWhitelistNotFound creates a PostNodesMacaddressDhcpWhitelistNotFound with default headers values
func (*PostNodesMacaddressDhcpWhitelistNotFound) Error ¶
func (o *PostNodesMacaddressDhcpWhitelistNotFound) Error() string
type PostNodesMacaddressDhcpWhitelistParams ¶
type PostNodesMacaddressDhcpWhitelistParams struct { /*Body*/ Body interface{} /*Macaddress Mac addresses and unique aliases to identify the node by, | expect a string or an array of strings. */ Macaddress string }
PostNodesMacaddressDhcpWhitelistParams contains all the parameters to send to the API endpoint for the post nodes macaddress dhcp whitelist operation typically these are written to a http.Request
func NewPostNodesMacaddressDhcpWhitelistParams ¶
func NewPostNodesMacaddressDhcpWhitelistParams() *PostNodesMacaddressDhcpWhitelistParams
NewPostNodesMacaddressDhcpWhitelistParams creates a new PostNodesMacaddressDhcpWhitelistParams object with the default values initialized.
func (*PostNodesMacaddressDhcpWhitelistParams) WithBody ¶
func (o *PostNodesMacaddressDhcpWhitelistParams) WithBody(Body interface{}) *PostNodesMacaddressDhcpWhitelistParams
WithBody adds the body to the post nodes macaddress dhcp whitelist params
func (*PostNodesMacaddressDhcpWhitelistParams) WithMacaddress ¶
func (o *PostNodesMacaddressDhcpWhitelistParams) WithMacaddress(Macaddress string) *PostNodesMacaddressDhcpWhitelistParams
WithMacaddress adds the macaddress to the post nodes macaddress dhcp whitelist params
func (*PostNodesMacaddressDhcpWhitelistParams) WriteToRequest ¶
func (o *PostNodesMacaddressDhcpWhitelistParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostNodesMacaddressDhcpWhitelistReader ¶
type PostNodesMacaddressDhcpWhitelistReader struct {
// contains filtered or unexported fields
}
PostNodesMacaddressDhcpWhitelistReader is a Reader for the PostNodesMacaddressDhcpWhitelist structure.
func (*PostNodesMacaddressDhcpWhitelistReader) ReadResponse ¶
func (o *PostNodesMacaddressDhcpWhitelistReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
Source Files ¶
- delete_dhcp_lease_mac_parameters.go
- delete_dhcp_lease_mac_responses.go
- delete_nodes_macaddress_dhcp_whitelist_parameters.go
- delete_nodes_macaddress_dhcp_whitelist_responses.go
- dhcp_client.go
- get_dhcp_lease_mac_parameters.go
- get_dhcp_lease_mac_responses.go
- get_dhcp_parameters.go
- get_dhcp_responses.go
- post_nodes_macaddress_dhcp_whitelist_parameters.go
- post_nodes_macaddress_dhcp_whitelist_responses.go