All URIs are relative to https://localhost:8080/cmu/v1
Method | HTTP request | Description |
---|---|---|
AddAll | Post /nodes | Creates one or multiple new nodes |
Delete | Delete /nodes/{identifier} | Deletes an existing node |
DeleteAll | Delete /nodes | Deletes a set of existing nodes |
DeleteAttributes | Delete /nodes/{identifier}/attributes | Removes all attributes of an existing node |
DeleteGlobalAttribute | Delete /nodes/attributes/{label} | Deletes a global attribute defined for nodes |
Get | Get /nodes/{identifier} | Gets one or more node(s) |
GetAll | Get /nodes | Lists all nodes |
GetAttributes | Get /nodes/{identifier}/attributes | Gets all attributes of a single node |
GetAvailableAction | Get /nodes/{identifier}/actions | Gets list of available actions on an existing node |
GetController | Get /nodes/{nodeId}/controller | Get a node controller if existing |
GetGlobalAttribute | Get /nodes/attributes/{label} | Gets a global attribute defined for nodes |
GetGlobalAttributes | Get /nodes/attributes | Gets all global attributes defined for nodes |
GetImageUnassigned | Get /nodes/no_image | Lists all nodes that are not in any image group |
GetNetworkUnassigned | Get /nodes/no_network | Lists all nodes that are not in any network group |
GetNic | Get /nodes/{nodeId}/nics/{nicId} | Gets one nic of a single node |
GetNics | Get /nodes/{identifier}/nics | Gets all nics of a single node |
Put | Put /nodes/{identifier} | Updates an existing node |
PutAll | Put /nodes | Updates a set of existing nodes |
PutAttributes | Put /nodes/{identifier}/attributes | Adds or modifies attributes of an existing node |
PutGlobalAttributes | Put /nodes/attributes | Adds or modifies global attributes for nodes |
RunAction | Post /nodes/{identifier}/actions/{action} | Runs an action on a set of existing nodes |
UnassignImage | Post /nodes/no_image | Remove a set of nodes from their current image group |
UnassignNetwork | Post /nodes/no_network | Remove a set of nodes from their current network group |
AddAll(ctx, body) Creates one or multiple new nodes
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | []Node | Node(s) definition |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Delete(ctx, identifier) Deletes an existing node
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
identifier | string | Node identifier |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteAll(ctx, optional) Deletes a set of existing nodes
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *NodeOperationsApiDeleteAllOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a NodeOperationsApiDeleteAllOpts struct
Name | Type | Description | Notes |
---|---|---|---|
body | optional.Interface of MultipleIdentifierDto | Nodes identifier | |
where | optional. | Filter resources matching provided where clause | |
force | optional. | Force operation when more than one resource is matched |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteAttributes(ctx, identifier) Removes all attributes of an existing node
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
identifier | string | Node identifier |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteGlobalAttribute(ctx, label) Deletes a global attribute defined for nodes
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
label | string |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Node Get(ctx, identifier, optional) Gets one or more node(s)
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
identifier | string | Node identifier | |
optional | *NodeOperationsApiGetOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a NodeOperationsApiGetOpts struct
Name | Type | Description | Notes |
---|
fields | optional.Interface of []string| Fields to display | where | optional.String| Filter resources matching provided where clause | allowsEmpty | optional.Bool| Do not fail when no resource is matched |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Node GetAll(ctx, optional) Lists all nodes
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *NodeOperationsApiGetAllOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a NodeOperationsApiGetAllOpts struct
Name | Type | Description | Notes |
---|---|---|---|
fields | optional.Interface of []string | Fields to display | |
where | optional.String | Filter resources matching provided where clause | |
allowsEmpty | optional.Bool | Do not fail when no resource is matched |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
map[string]interface{} GetAttributes(ctx, identifier, optional) Gets all attributes of a single node
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
identifier | string | ||
optional | *NodeOperationsApiGetAttributesOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a NodeOperationsApiGetAttributesOpts struct
Name | Type | Description | Notes |
---|
fields | optional.Interface of []string| Fields to display |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Action GetAvailableAction(ctx, identifier, optional) Gets list of available actions on an existing node
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
identifier | string | Node identifier | |
optional | *NodeOperationsApiGetAvailableActionOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a NodeOperationsApiGetAvailableActionOpts struct
Name | Type | Description | Notes |
---|
fields | optional.Interface of []string| Fields to display | where | optional.String| Filter resources matching provided where clause | allowsEmpty | optional.Bool| Do not fail when no resource is matched |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Controller GetController(ctx, nodeId, optional) Get a node controller if existing
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
nodeId | string | ||
optional | *NodeOperationsApiGetControllerOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a NodeOperationsApiGetControllerOpts struct
Name | Type | Description | Notes |
---|
fields | optional.Interface of []string| Fields to display |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string GetGlobalAttribute(ctx, label, optional) Gets a global attribute defined for nodes
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
label | string | ||
optional | *NodeOperationsApiGetGlobalAttributeOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a NodeOperationsApiGetGlobalAttributeOpts struct
Name | Type | Description | Notes |
---|
fields | optional.Interface of []string| Fields to display |
string
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
map[string]interface{} GetGlobalAttributes(ctx, optional) Gets all global attributes defined for nodes
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *NodeOperationsApiGetGlobalAttributesOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a NodeOperationsApiGetGlobalAttributesOpts struct
Name | Type | Description | Notes |
---|---|---|---|
fields | optional.Interface of []string | Fields to display |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Node GetImageUnassigned(ctx, optional) Lists all nodes that are not in any image group
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *NodeOperationsApiGetImageUnassignedOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a NodeOperationsApiGetImageUnassignedOpts struct
Name | Type | Description | Notes |
---|---|---|---|
fields | optional.Interface of []string | Fields to display | |
where | optional.String | Filter resources matching provided where clause | |
allowsEmpty | optional.Bool | Do not fail when no resource is matched |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Node GetNetworkUnassigned(ctx, optional) Lists all nodes that are not in any network group
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *NodeOperationsApiGetNetworkUnassignedOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a NodeOperationsApiGetNetworkUnassignedOpts struct
Name | Type | Description | Notes |
---|---|---|---|
fields | optional.Interface of []string | Fields to display | |
where | optional.String | Filter resources matching provided where clause | |
allowsEmpty | optional.Bool | Do not fail when no resource is matched |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Nic GetNic(ctx, nodeId, nicId, optional) Gets one nic of a single node
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
nodeId | string | ||
nicId | string | ||
optional | *NodeOperationsApiGetNicOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a NodeOperationsApiGetNicOpts struct
Name | Type | Description | Notes |
---|
fields | optional.Interface of []string| Fields to display |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Nic GetNics(ctx, identifier, optional) Gets all nics of a single node
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
identifier | string | ||
optional | *NodeOperationsApiGetNicsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a NodeOperationsApiGetNicsOpts struct
Name | Type | Description | Notes |
---|
fields | optional.Interface of []string| Fields to display | where | optional.String| Filter resources matching provided where clause | allowsEmpty | optional.Bool| Do not fail when no resource is matched |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Node Put(ctx, body, identifier, optional) Updates an existing node
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | Node | Updated node definition | |
identifier | string | Node identifier | |
optional | *NodeOperationsApiPutOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a NodeOperationsApiPutOpts struct
Name | Type | Description | Notes |
---|
where | optional.| Filter resources matching provided where clause | force | optional.| Force operation when more than one resource is matched |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Node PutAll(ctx, body, optional) Updates a set of existing nodes
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | []Node | Updated nodes definition | |
optional | *NodeOperationsApiPutAllOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a NodeOperationsApiPutAllOpts struct
Name | Type | Description | Notes |
---|
nameAsId | optional.| Use name instead of UUID as identifier | [default to false] where | optional.| Filter resources matching provided where clause | force | optional.| Force operation when more than one resource is matched |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
map[string]interface{} PutAttributes(ctx, body, identifier) Adds or modifies attributes of an existing node
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | AttributesDto | Attributes to be added/modified | |
identifier | string | Node identifier |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PutGlobalAttributes(ctx, optional) Adds or modifies global attributes for nodes
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *NodeOperationsApiPutGlobalAttributesOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a NodeOperationsApiPutGlobalAttributesOpts struct
Name | Type | Description | Notes |
---|---|---|---|
body | optional.Interface of AttributesDto |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Task RunAction(ctx, identifier, action, optional) Runs an action on a set of existing nodes
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
identifier | string | Node identifier | |
action | string | Action | |
optional | *NodeOperationsApiRunActionOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a NodeOperationsApiRunActionOpts struct
Name | Type | Description | Notes |
---|
body | optional.Interface of map[string]interface{}| |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Node UnassignImage(ctx, body) Remove a set of nodes from their current image group
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | MultipleIdentifierDto | Nodes identifier |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Node UnassignNetwork(ctx, body) Remove a set of nodes from their current network group
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | MultipleIdentifierDto | Nodes identifier |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]