mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 12:41:58 +00:00
Switch away from the static node info
This commit is contained in:
@@ -291,3 +291,9 @@ func (c *Client) ListMinions() (result *api.MinionList, err error) {
|
||||
err = c.Get().Path("minions").Do().Into(result)
|
||||
return
|
||||
}
|
||||
|
||||
func (c *Client) GetMinion(id string) (result *api.Minion, err error) {
|
||||
result = &api.Minion{}
|
||||
err = c.Get().Path("minions").Path(id).Do().Into(result)
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user