arq_controller

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Immediate                                    enqueueState = "Immediate"
	Forget                                       enqueueState = "Forget"
	BackOff                                      enqueueState = "BackOff"
	AaqjqcName                                                = "aaqjqc"
	ApplicationAwareResourceQuotaLockName                     = "application-aware-resource-quota-lock"
	ApplicationAwareClusterResourceQuotaLockName              = "application-aware-cluster-resource-quota-lock"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AaqGateController

type AaqGateController struct {
	// contains filtered or unexported fields
}

func NewAaqGateController

func NewAaqGateController(aaqCli client.AAQClient,
	podInformer cache.SharedIndexInformer,
	arqInformer cache.SharedIndexInformer,
	aaqjqcInformer cache.SharedIndexInformer,
	acrqInformer cache.SharedIndexInformer,
	evalRegistry *aaq_evaluator.AaqEvaluatorRegistry,
	clusterQuotaLister v1alpha1.ApplicationAwareClusterResourceQuotaLister,
	namespaceLister v12.NamespaceLister,
	clusterQuotaMapper clusterquotamapping.ClusterQuotaMapper,
	recorder record.EventRecorder,
	clusterQuotaEnabled bool,
	stop <-chan struct{},
) *AaqGateController

func (*AaqGateController) AddMapping added in v1.1.6

func (ctrl *AaqGateController) AddMapping(_, namespaceName string)

func (*AaqGateController) Execute

func (ctrl *AaqGateController) Execute() bool

func (*AaqGateController) RemoveMapping added in v1.1.6

func (ctrl *AaqGateController) RemoveMapping(_, namespaceName string)

func (*AaqGateController) Run

func (ctrl *AaqGateController) Run(ctx context.Context, threadiness int)

Jump to

Keyboard shortcuts

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