nodecred

package
v0.7.10 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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 GetNodeCredByNodeName(nodeName, target string) (map[string]string, error)

func InitNodeCredImpl

func InitNodeCredImpl(param map[string]string) error

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
}

Jump to

Keyboard shortcuts

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