densify

package
v0.0.0-...-ab80ba3 Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetApprovalSetting

func GetApprovalSetting(cluster string, namespace string, objType string, objName string, containerName string) (string, error)

GetApprovalSetting this will update the approval status for a specific recommendation

func GetInsight

func GetInsight(cluster string, namespace string, objType string, objName string, containerName string) (map[string]map[string]string, string, error)

GetInsight gets an insight from densify based on the keys cluster, namespace, objType, objName and containerName

func Initialize

func Initialize() error

Initialize will initilize the densify secrets k8s object, if it doesn't exist in the current-context.

func UpdateApprovalSetting

func UpdateApprovalSetting(approved bool, cluster string, namespace string, objType string, objName string, containerName string) error

UpdateApprovalSetting this will update the approval status for a specific recommendation

Types

This section is empty.

Jump to

Keyboard shortcuts

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