quotaimageexternal

package
Version: v0.0.0-...-c7201ed Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package image implements evaluators of usage for imagestreams and images. They are supposed to be passed to resource quota controller and origin resource quota admission plugin.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewImageStreamImportEvaluator

func NewImageStreamImportEvaluator(store imagev1lister.ImageStreamLister) kquota.Evaluator

NewImageStreamImportEvaluator computes resource usage for ImageStreamImport objects. This particular kind is a virtual resource. It depends on ImageStream usage evaluator to compute image numbers before the the admission can work. If you make a change here, be sure to make a corresponding change in the apiserver

func NewImageStreamTagEvaluator

func NewImageStreamTagEvaluator(store imagev1lister.ImageStreamLister, istGetter imagev1typedclient.ImageStreamTagsGetter) kquota.Evaluator

NewImageStreamTagEvaluator computes resource usage of ImageStreamsTags. Its sole purpose is to handle UPDATE admission operations on imageStreamTags resource. If you make a change here, be sure to make a corresponding change in the apiserver

func NewReplenishmentEvaluators

NewEvaluators returns the list of static evaluators that manage more than counts

Types

This section is empty.

Jump to

Keyboard shortcuts

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