libaaq

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LabelSidecar      PlugablePolicyName = "label-sidecar"
	AnnotationSidecar PlugablePolicyName = "annotation-sidecar"
	// Double Calculate double amount of usage for pod
	Double configName = "double"
	// Triple Calculate triple amount of usage for pod
	Triple                  configName = "triple"
	LabelAppLabel                      = "label-app"
	AnnotationAppAnnotation            = "annotation-app"
)

Variables

This section is empty.

Functions

func AaqControllerReady

func AaqControllerReady(clientset *kubernetes.Clientset, aaqInstallNs string) bool

func AddPlugablePolicy

func AddPlugablePolicy(aaq *v1alpha1.AAQ, pp PlugablePolicyName, c configName) *v1alpha1.AAQ

func AllowApplicationAwareClusterResourceQuota

func AllowApplicationAwareClusterResourceQuota(aaq *v1alpha1.AAQ) *v1alpha1.AAQ

func CheckIfPlugablePolicyExistInAAQ

func CheckIfPlugablePolicyExistInAAQ(aaq *v1alpha1.AAQ, sidecarName PlugablePolicyName, c configName) bool

CheckIfPlugablePolicyExistInAAQ checks if a PlugablePolicy with a specific config exists in the AAQ.

Types

type PlugablePolicyName

type PlugablePolicyName string

Jump to

Keyboard shortcuts

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