core

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

core contains modules that interface with the core api group

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigMapEvaluator

func NewConfigMapEvaluator(kubeClient clientset.Interface) quota.Evaluator

NewConfigMapEvaluator returns an evaluator that can evaluate configMaps

func NewPersistentVolumeClaimEvaluator

func NewPersistentVolumeClaimEvaluator(kubeClient clientset.Interface) quota.Evaluator

NewPersistentVolumeClaimEvaluator returns an evaluator that can evaluate persistent volume claims

func NewPodEvaluator

func NewPodEvaluator(kubeClient clientset.Interface) quota.Evaluator

NewPodEvaluator returns an evaluator that can evaluate pods

func NewRegistry

func NewRegistry(kubeClient clientset.Interface) quota.Registry

NewRegistry returns a registry that knows how to deal with core kubernetes resources

func NewReplicationControllerEvaluator

func NewReplicationControllerEvaluator(kubeClient clientset.Interface) quota.Evaluator

NewReplicationControllerEvaluator returns an evaluator that can evaluate replication controllers

func NewResourceQuotaEvaluator

func NewResourceQuotaEvaluator(kubeClient clientset.Interface) quota.Evaluator

NewResourceQuotaEvaluator returns an evaluator that can evaluate resource quotas

func NewSecretEvaluator

func NewSecretEvaluator(kubeClient clientset.Interface) quota.Evaluator

NewSecretEvaluator returns an evaluator that can evaluate secrets

func NewServiceEvaluator

func NewServiceEvaluator(kubeClient clientset.Interface) quota.Evaluator

NewServiceEvaluator returns an evaluator that can evaluate service quotas

func PodConstraintsFunc

func PodConstraintsFunc(required []api.ResourceName, object runtime.Object) error

PodConstraintsFunc verifies that all required resources are present on the pod

func PodMatchesScopeFunc

func PodMatchesScopeFunc(scope api.ResourceQuotaScope, object runtime.Object) bool

PodMatchesScopeFunc is a function that knows how to evaluate if a pod matches a scope

func PodUsageFunc

func PodUsageFunc(object runtime.Object) api.ResourceList

PodUsageFunc knows how to measure usage associated with pods

func QuotaPod

func QuotaPod(pod *api.Pod) bool

QuotaPod returns true if the pod is eligible to track against a quota if it's not in a terminal state according to its phase.

Types

This section is empty.

Jump to

Keyboard shortcuts

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