image

package
v3.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2018 License: Apache-2.0 Imports: 14 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 imageinternalversion.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.

func NewImageStreamTagEvaluator

func NewImageStreamTagEvaluator(store imageinternalversion.ImageStreamLister, istGetter imageclient.ImageStreamTagsGetter) kquota.Evaluator

NewImageStreamTagEvaluator computes resource usage of ImageStreamsTags. Its sole purpose is to handle UPDATE admission operations on imageStreamTags resource.

func NewReplenishmentEvaluators added in v3.10.0

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

func NewReplenishmentEvaluatorsForAdmission added in v3.10.0

func NewReplenishmentEvaluatorsForAdmission(isInformer imageinternalversion.ImageStreamInformer, imageClient imageclient.ImageStreamTagsGetter) []quota.Evaluator

NewImageQuotaRegistryForAdmission returns a registry for quota evaluation of OpenShift resources related to images in internal registry. It evaluates only image streams and related virtual resources that can cause a creation of new image stream objects. This is different that is used for reconciliation because admission has to check all forms of a resource (legacy and groupified), but reconciliation only has to check one.

Types

This section is empty.

Jump to

Keyboard shortcuts

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