monitord is able to create an admiralty Source on remote peer
This commit is contained in:
@@ -450,6 +450,9 @@ func postCDRapiKube(client kubernetes.Clientset, ctx context.Context, path strin
|
||||
return resp, nil
|
||||
}
|
||||
|
||||
// Returns the Kubernetes' Node object corresponding to the executionID if it exists on this host
|
||||
//
|
||||
// The node is created when an admiralty Target (on host) can connect to an admiralty Source (on remote)
|
||||
func (k *KubernetesService) GetOneNode(context context.Context,executionID string) (*v1.Node, error) {
|
||||
res, err := k.Set.CoreV1().
|
||||
Nodes().
|
||||
|
||||
Reference in New Issue
Block a user