resourceclaim

package
v1.32.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 30 Imported by: 2

Documentation

Overview

Package resourceclaim implements the controller part of https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/3063-dynamic-resource-allocation

It was derived from the generic ephemeral volume controller.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller creates ResourceClaims for ResourceClaimTemplates in a pod spec.

func NewController

func NewController(
	logger klog.Logger,
	adminAccessEnabled bool,
	kubeClient clientset.Interface,
	podInformer v1informers.PodInformer,
	claimInformer resourceinformers.ResourceClaimInformer,
	templateInformer resourceinformers.ResourceClaimTemplateInformer) (*Controller, error)

NewController creates a ResourceClaim controller.

func (*Controller) Run

func (ec *Controller) Run(ctx context.Context, workers int)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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