utils

package
v0.0.0-...-435c8fa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNode

func GetNode(resList []api.Resource, nodeName string) (*api.Resource, error)

GetNode From a resource list obtained through GetClusterResource, return the pointer to the node resource with a matching name

func GetVM

func GetVM(resList []api.Resource, vmid int) (*api.Resource, error)

GetVM From a resource list obtained through GetClusterResource, return the pointer to the VM resource with a matching VMID

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL