Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteNodesIdentifierTagsTagname(params *DeleteNodesIdentifierTagsTagnameParams, ...) (*DeleteNodesIdentifierTagsTagnameOK, error)
- func (a *Client) GetNodesIdentifierTags(params *GetNodesIdentifierTagsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNodesIdentifierTagsOK, error)
- func (a *Client) GetTags(params *GetTagsParams, authInfo runtime.ClientAuthInfoWriter) (*GetTagsOK, error)
- func (a *Client) PatchNodesIdentifierTags(params *PatchNodesIdentifierTagsParams, authInfo runtime.ClientAuthInfoWriter) (*PatchNodesIdentifierTagsOK, error)
- func (a *Client) PostTags(params *PostTagsParams, authInfo runtime.ClientAuthInfoWriter) (*PostTagsCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteNodesIdentifierTagsTagnameDefault
- type DeleteNodesIdentifierTagsTagnameNotFound
- type DeleteNodesIdentifierTagsTagnameOK
- type DeleteNodesIdentifierTagsTagnameParams
- func (o *DeleteNodesIdentifierTagsTagnameParams) WithIdentifier(Identifier string) *DeleteNodesIdentifierTagsTagnameParams
- func (o *DeleteNodesIdentifierTagsTagnameParams) WithTagname(Tagname string) *DeleteNodesIdentifierTagsTagnameParams
- func (o *DeleteNodesIdentifierTagsTagnameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNodesIdentifierTagsTagnameReader
- type GetNodesIdentifierTagsDefault
- type GetNodesIdentifierTagsOK
- type GetNodesIdentifierTagsParams
- type GetNodesIdentifierTagsReader
- type GetTagsDefault
- type GetTagsOK
- type GetTagsParams
- type GetTagsReader
- type PatchNodesIdentifierTagsDefault
- type PatchNodesIdentifierTagsNotFound
- type PatchNodesIdentifierTagsOK
- type PatchNodesIdentifierTagsOKBodyBody
- type PatchNodesIdentifierTagsParams
- func (o *PatchNodesIdentifierTagsParams) WithBody(Body interface{}) *PatchNodesIdentifierTagsParams
- func (o *PatchNodesIdentifierTagsParams) WithIdentifier(Identifier string) *PatchNodesIdentifierTagsParams
- func (o *PatchNodesIdentifierTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchNodesIdentifierTagsReader
- type PostTagsConflict
- type PostTagsCreated
- type PostTagsDefault
- type PostTagsParams
- type PostTagsReader
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 tags API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new tags API client.
func (*Client) DeleteNodesIdentifierTagsTagname ¶
func (a *Client) DeleteNodesIdentifierTagsTagname(params *DeleteNodesIdentifierTagsTagnameParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNodesIdentifierTagsTagnameOK, error)
DeleteNodesIdentifierTagsTagname removes tag from specified node
Remove tag from specified node.
func (*Client) GetNodesIdentifierTags ¶
func (a *Client) GetNodesIdentifierTags(params *GetNodesIdentifierTagsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNodesIdentifierTagsOK, error)
GetNodesIdentifierTags gets the tags associated with a node
get the tags associated with a node.
func (*Client) GetTags ¶
func (a *Client) GetTags(params *GetTagsParams, authInfo runtime.ClientAuthInfoWriter) (*GetTagsOK, error)
GetTags fetches tags
Fetch tags
func (*Client) PatchNodesIdentifierTags ¶
func (a *Client) PatchNodesIdentifierTags(params *PatchNodesIdentifierTagsParams, authInfo runtime.ClientAuthInfoWriter) (*PatchNodesIdentifierTagsOK, error)
PatchNodesIdentifierTags patches specified node s tags
Patch specified node's tags
func (*Client) PostTags ¶
func (a *Client) PostTags(params *PostTagsParams, authInfo runtime.ClientAuthInfoWriter) (*PostTagsCreated, error)
PostTags posts tag
create new tag
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DeleteNodesIdentifierTagsTagnameDefault ¶
type DeleteNodesIdentifierTagsTagnameDefault struct { Payload *models.Error // contains filtered or unexported fields }
DeleteNodesIdentifierTagsTagnameDefault handles this case with default header values.
Unexpected error
func NewDeleteNodesIdentifierTagsTagnameDefault ¶
func NewDeleteNodesIdentifierTagsTagnameDefault(code int) *DeleteNodesIdentifierTagsTagnameDefault
NewDeleteNodesIdentifierTagsTagnameDefault creates a DeleteNodesIdentifierTagsTagnameDefault with default headers values
func (*DeleteNodesIdentifierTagsTagnameDefault) Code ¶
func (o *DeleteNodesIdentifierTagsTagnameDefault) Code() int
Code gets the status code for the delete nodes identifier tags tagname default response
func (*DeleteNodesIdentifierTagsTagnameDefault) Error ¶
func (o *DeleteNodesIdentifierTagsTagnameDefault) Error() string
type DeleteNodesIdentifierTagsTagnameNotFound ¶
DeleteNodesIdentifierTagsTagnameNotFound handles this case with default header values.
The node with the identifier was not found.
func NewDeleteNodesIdentifierTagsTagnameNotFound ¶
func NewDeleteNodesIdentifierTagsTagnameNotFound() *DeleteNodesIdentifierTagsTagnameNotFound
NewDeleteNodesIdentifierTagsTagnameNotFound creates a DeleteNodesIdentifierTagsTagnameNotFound with default headers values
func (*DeleteNodesIdentifierTagsTagnameNotFound) Error ¶
func (o *DeleteNodesIdentifierTagsTagnameNotFound) Error() string
type DeleteNodesIdentifierTagsTagnameOK ¶
type DeleteNodesIdentifierTagsTagnameOK struct { }
DeleteNodesIdentifierTagsTagnameOK handles this case with default header values.
Delete successful
func NewDeleteNodesIdentifierTagsTagnameOK ¶
func NewDeleteNodesIdentifierTagsTagnameOK() *DeleteNodesIdentifierTagsTagnameOK
NewDeleteNodesIdentifierTagsTagnameOK creates a DeleteNodesIdentifierTagsTagnameOK with default headers values
func (*DeleteNodesIdentifierTagsTagnameOK) Error ¶
func (o *DeleteNodesIdentifierTagsTagnameOK) Error() string
type DeleteNodesIdentifierTagsTagnameParams ¶
type DeleteNodesIdentifierTagsTagnameParams struct { /*Identifier Mac addresses and unique aliases to identify the node by */ Identifier string /*Tagname tag to remove from node */ Tagname string }
DeleteNodesIdentifierTagsTagnameParams contains all the parameters to send to the API endpoint for the delete nodes identifier tags tagname operation typically these are written to a http.Request
func NewDeleteNodesIdentifierTagsTagnameParams ¶
func NewDeleteNodesIdentifierTagsTagnameParams() *DeleteNodesIdentifierTagsTagnameParams
NewDeleteNodesIdentifierTagsTagnameParams creates a new DeleteNodesIdentifierTagsTagnameParams object with the default values initialized.
func (*DeleteNodesIdentifierTagsTagnameParams) WithIdentifier ¶
func (o *DeleteNodesIdentifierTagsTagnameParams) WithIdentifier(Identifier string) *DeleteNodesIdentifierTagsTagnameParams
WithIdentifier adds the identifier to the delete nodes identifier tags tagname params
func (*DeleteNodesIdentifierTagsTagnameParams) WithTagname ¶
func (o *DeleteNodesIdentifierTagsTagnameParams) WithTagname(Tagname string) *DeleteNodesIdentifierTagsTagnameParams
WithTagname adds the tagname to the delete nodes identifier tags tagname params
func (*DeleteNodesIdentifierTagsTagnameParams) WriteToRequest ¶
func (o *DeleteNodesIdentifierTagsTagnameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNodesIdentifierTagsTagnameReader ¶
type DeleteNodesIdentifierTagsTagnameReader struct {
// contains filtered or unexported fields
}
DeleteNodesIdentifierTagsTagnameReader is a Reader for the DeleteNodesIdentifierTagsTagname structure.
func (*DeleteNodesIdentifierTagsTagnameReader) ReadResponse ¶
func (o *DeleteNodesIdentifierTagsTagnameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type GetNodesIdentifierTagsDefault ¶
type GetNodesIdentifierTagsDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetNodesIdentifierTagsDefault handles this case with default header values.
Unexpected error
func NewGetNodesIdentifierTagsDefault ¶
func NewGetNodesIdentifierTagsDefault(code int) *GetNodesIdentifierTagsDefault
NewGetNodesIdentifierTagsDefault creates a GetNodesIdentifierTagsDefault with default headers values
func (*GetNodesIdentifierTagsDefault) Code ¶
func (o *GetNodesIdentifierTagsDefault) Code() int
Code gets the status code for the get nodes identifier tags default response
func (*GetNodesIdentifierTagsDefault) Error ¶
func (o *GetNodesIdentifierTagsDefault) Error() string
type GetNodesIdentifierTagsOK ¶
type GetNodesIdentifierTagsOK struct {
Payload []string
}
GetNodesIdentifierTagsOK handles this case with default header values.
tags
func NewGetNodesIdentifierTagsOK ¶
func NewGetNodesIdentifierTagsOK() *GetNodesIdentifierTagsOK
NewGetNodesIdentifierTagsOK creates a GetNodesIdentifierTagsOK with default headers values
func (*GetNodesIdentifierTagsOK) Error ¶
func (o *GetNodesIdentifierTagsOK) Error() string
type GetNodesIdentifierTagsParams ¶
type GetNodesIdentifierTagsParams struct { /*Identifier Mac addresses and unique aliases to identify the node by */ Identifier string }
GetNodesIdentifierTagsParams contains all the parameters to send to the API endpoint for the get nodes identifier tags operation typically these are written to a http.Request
func NewGetNodesIdentifierTagsParams ¶
func NewGetNodesIdentifierTagsParams() *GetNodesIdentifierTagsParams
NewGetNodesIdentifierTagsParams creates a new GetNodesIdentifierTagsParams object with the default values initialized.
func (*GetNodesIdentifierTagsParams) WithIdentifier ¶
func (o *GetNodesIdentifierTagsParams) WithIdentifier(Identifier string) *GetNodesIdentifierTagsParams
WithIdentifier adds the identifier to the get nodes identifier tags params
func (*GetNodesIdentifierTagsParams) WriteToRequest ¶
func (o *GetNodesIdentifierTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNodesIdentifierTagsReader ¶
type GetNodesIdentifierTagsReader struct {
// contains filtered or unexported fields
}
GetNodesIdentifierTagsReader is a Reader for the GetNodesIdentifierTags structure.
func (*GetNodesIdentifierTagsReader) ReadResponse ¶
func (o *GetNodesIdentifierTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type GetTagsDefault ¶
GetTagsDefault handles this case with default header values.
Unexpected error
func NewGetTagsDefault ¶
func NewGetTagsDefault(code int) *GetTagsDefault
NewGetTagsDefault creates a GetTagsDefault with default headers values
func (*GetTagsDefault) Code ¶
func (o *GetTagsDefault) Code() int
Code gets the status code for the get tags default response
func (*GetTagsDefault) Error ¶
func (o *GetTagsDefault) Error() string
type GetTagsOK ¶
type GetTagsOK struct {
Payload []interface{}
}
GetTagsOK handles this case with default header values.
array of all tags fetched
func NewGetTagsOK ¶
func NewGetTagsOK() *GetTagsOK
NewGetTagsOK creates a GetTagsOK with default headers values
type GetTagsParams ¶
type GetTagsParams struct { }
GetTagsParams contains all the parameters to send to the API endpoint for the get tags operation typically these are written to a http.Request
func NewGetTagsParams ¶
func NewGetTagsParams() *GetTagsParams
NewGetTagsParams creates a new GetTagsParams object with the default values initialized.
func (*GetTagsParams) WriteToRequest ¶
func (o *GetTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTagsReader ¶
type GetTagsReader struct {
// contains filtered or unexported fields
}
GetTagsReader is a Reader for the GetTags structure.
func (*GetTagsReader) ReadResponse ¶
func (o *GetTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type PatchNodesIdentifierTagsDefault ¶
type PatchNodesIdentifierTagsDefault struct { Payload *models.Error // contains filtered or unexported fields }
PatchNodesIdentifierTagsDefault handles this case with default header values.
Unexpected error
func NewPatchNodesIdentifierTagsDefault ¶
func NewPatchNodesIdentifierTagsDefault(code int) *PatchNodesIdentifierTagsDefault
NewPatchNodesIdentifierTagsDefault creates a PatchNodesIdentifierTagsDefault with default headers values
func (*PatchNodesIdentifierTagsDefault) Code ¶
func (o *PatchNodesIdentifierTagsDefault) Code() int
Code gets the status code for the patch nodes identifier tags default response
func (*PatchNodesIdentifierTagsDefault) Error ¶
func (o *PatchNodesIdentifierTagsDefault) Error() string
type PatchNodesIdentifierTagsNotFound ¶
PatchNodesIdentifierTagsNotFound handles this case with default header values.
Not found
func NewPatchNodesIdentifierTagsNotFound ¶
func NewPatchNodesIdentifierTagsNotFound() *PatchNodesIdentifierTagsNotFound
NewPatchNodesIdentifierTagsNotFound creates a PatchNodesIdentifierTagsNotFound with default headers values
func (*PatchNodesIdentifierTagsNotFound) Error ¶
func (o *PatchNodesIdentifierTagsNotFound) Error() string
type PatchNodesIdentifierTagsOK ¶
type PatchNodesIdentifierTagsOK struct {
Payload PatchNodesIdentifierTagsOKBodyBody
}
PatchNodesIdentifierTagsOK handles this case with default header values.
patch succeeded
func NewPatchNodesIdentifierTagsOK ¶
func NewPatchNodesIdentifierTagsOK() *PatchNodesIdentifierTagsOK
NewPatchNodesIdentifierTagsOK creates a PatchNodesIdentifierTagsOK with default headers values
func (*PatchNodesIdentifierTagsOK) Error ¶
func (o *PatchNodesIdentifierTagsOK) Error() string
type PatchNodesIdentifierTagsOKBodyBody ¶
type PatchNodesIdentifierTagsOKBodyBody interface{}
PatchNodesIdentifierTagsOKBodyBody patch nodes identifier tags o k body body
swagger:model PatchNodesIdentifierTagsOKBodyBody
type PatchNodesIdentifierTagsParams ¶
type PatchNodesIdentifierTagsParams struct { /*Body tags to apply */ Body interface{} /*Identifier Mac addresses and unique aliases to identify the node by */ Identifier string }
PatchNodesIdentifierTagsParams contains all the parameters to send to the API endpoint for the patch nodes identifier tags operation typically these are written to a http.Request
func NewPatchNodesIdentifierTagsParams ¶
func NewPatchNodesIdentifierTagsParams() *PatchNodesIdentifierTagsParams
NewPatchNodesIdentifierTagsParams creates a new PatchNodesIdentifierTagsParams object with the default values initialized.
func (*PatchNodesIdentifierTagsParams) WithBody ¶
func (o *PatchNodesIdentifierTagsParams) WithBody(Body interface{}) *PatchNodesIdentifierTagsParams
WithBody adds the body to the patch nodes identifier tags params
func (*PatchNodesIdentifierTagsParams) WithIdentifier ¶
func (o *PatchNodesIdentifierTagsParams) WithIdentifier(Identifier string) *PatchNodesIdentifierTagsParams
WithIdentifier adds the identifier to the patch nodes identifier tags params
func (*PatchNodesIdentifierTagsParams) WriteToRequest ¶
func (o *PatchNodesIdentifierTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchNodesIdentifierTagsReader ¶
type PatchNodesIdentifierTagsReader struct {
// contains filtered or unexported fields
}
PatchNodesIdentifierTagsReader is a Reader for the PatchNodesIdentifierTags structure.
func (*PatchNodesIdentifierTagsReader) ReadResponse ¶
func (o *PatchNodesIdentifierTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type PostTagsConflict ¶
PostTagsConflict handles this case with default header values.
tag already exists
func NewPostTagsConflict ¶
func NewPostTagsConflict() *PostTagsConflict
NewPostTagsConflict creates a PostTagsConflict with default headers values
func (*PostTagsConflict) Error ¶
func (o *PostTagsConflict) Error() string
type PostTagsCreated ¶
type PostTagsCreated struct { }
PostTagsCreated handles this case with default header values.
tag accepted successfully
func NewPostTagsCreated ¶
func NewPostTagsCreated() *PostTagsCreated
NewPostTagsCreated creates a PostTagsCreated with default headers values
func (*PostTagsCreated) Error ¶
func (o *PostTagsCreated) Error() string
type PostTagsDefault ¶
PostTagsDefault handles this case with default header values.
Unexpected error
func NewPostTagsDefault ¶
func NewPostTagsDefault(code int) *PostTagsDefault
NewPostTagsDefault creates a PostTagsDefault with default headers values
func (*PostTagsDefault) Code ¶
func (o *PostTagsDefault) Code() int
Code gets the status code for the post tags default response
func (*PostTagsDefault) Error ¶
func (o *PostTagsDefault) Error() string
type PostTagsParams ¶
type PostTagsParams struct {
/*Body*/
Body interface{}
}
PostTagsParams contains all the parameters to send to the API endpoint for the post tags operation typically these are written to a http.Request
func NewPostTagsParams ¶
func NewPostTagsParams() *PostTagsParams
NewPostTagsParams creates a new PostTagsParams object with the default values initialized.
func (*PostTagsParams) WithBody ¶
func (o *PostTagsParams) WithBody(Body interface{}) *PostTagsParams
WithBody adds the body to the post tags params
func (*PostTagsParams) WriteToRequest ¶
func (o *PostTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostTagsReader ¶
type PostTagsReader struct {
// contains filtered or unexported fields
}
PostTagsReader is a Reader for the PostTags structure.
func (*PostTagsReader) ReadResponse ¶
func (o *PostTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
Source Files
¶
- delete_nodes_identifier_tags_tagname_parameters.go
- delete_nodes_identifier_tags_tagname_responses.go
- get_nodes_identifier_tags_parameters.go
- get_nodes_identifier_tags_responses.go
- get_tags_parameters.go
- get_tags_responses.go
- patch_nodes_identifier_tags_parameters.go
- patch_nodes_identifier_tags_responses.go
- post_tags_parameters.go
- post_tags_responses.go
- tags_client.go