Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add kubernetes node models and methods #75

Merged
merged 6 commits into from
May 21, 2020

Conversation

avorima
Copy link
Contributor

@avorima avorima commented Mar 4, 2020

Adds:

  • KubernetesNodes and KubernetesNode models
  • ListKubernetesNodes, GetKubernetesNode, ReplaceKubernetesNode and DeleteKubernetesNode methods

Rename GetKubernetesNodePools to ListKubernetesNodePools

k8s.go Outdated
@@ -264,3 +320,20 @@ func (c *Client) UpdateKubernetesNodePool(clusterID, nodePoolID string, nodePool
rsp := &KubernetesNodePool{}
return rsp, c.PutAcc(kubernetesNodePoolPath(clusterID, nodePoolID), nodePool, rsp)
}

// ListKubernetesNodes gets a lsit of all nodes of a node pool
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

list

@avorima avorima force-pushed the k8s_node_methods branch from 2a13ac2 to fc58ac8 Compare March 9, 2020 16:21
@pennycoders pennycoders merged commit 67a1578 into ionos-enterprise:master May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants