Documentation ¶
Overview ¶
per node credential interface Kubernetes doesn't have per node API object, so we need to use node credential to access node specific information e.g. node specific metrics, node specific power consumption, etc. This interface is used to access node credential. Instances of node credentials can be ConfigMap, Secret, key value store, etc.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNodeCredByNodeName ¶
func InitNodeCredImpl ¶
Types ¶
type NodeCredInterface ¶
type NodeCredInterface interface { // GetNodeCredByNodeName returns map of per node credential for targets such as redfish GetNodeCredByNodeName(nodeName string, target string) (map[string]string, error) // IsSupported returns if this node credential is supported IsSupported(info map[string]string) bool }
Click to show internal directories.
Click to hide internal directories.