const PluginName …
func Register(plugins *admission.Plugins) { … }
func NewPlugin(nodeIdentifier nodeidentifier.NodeIdentifier) *Plugin { … }
type Plugin …
var _ …
var _ …
var _ …
func (p *Plugin) InspectFeatureGates(featureGates featuregate.FeatureGate) { … }
func (p *Plugin) SetExternalKubeInformerFactory(f informers.SharedInformerFactory) { … }
func (p *Plugin) ValidateInitialization() error { … }
var podResource …
var nodeResource …
var pvcResource …
var svcacctResource …
var leaseResource …
var csiNodeResource …
var resourceSliceResource …
var csrResource …
func (p *Plugin) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error { … }
func (p *Plugin) admitPod(nodeName string, a admission.Attributes) error { … }
func (p *Plugin) admitPodCreate(nodeName string, a admission.Attributes) error { … }
func (p *Plugin) admitPodStatus(nodeName string, a admission.Attributes) error { … }
func resourceClaimStatusesEqual(statusA, statusB []api.PodResourceClaimStatus) bool { … }
func (p *Plugin) admitPodEviction(nodeName string, a admission.Attributes) error { … }
func (p *Plugin) admitPVCStatus(nodeName string, a admission.Attributes) error { … }
func (p *Plugin) admitNode(nodeName string, a admission.Attributes) error { … }
func getModifiedLabels(a, b map[string]string) sets.String { … }
func isKubernetesLabel(key string) bool { … }
func getLabelNamespace(key string) string { … }
func (p *Plugin) getForbiddenLabels(modifiedLabels sets.String) sets.String { … }
func (p *Plugin) admitServiceAccount(nodeName string, a admission.Attributes) error { … }
func (p *Plugin) admitLease(nodeName string, a admission.Attributes) error { … }
func (p *Plugin) admitCSINode(nodeName string, a admission.Attributes) error { … }
func (p *Plugin) admitResourceSlice(nodeName string, a admission.Attributes) error { … }
func (p *Plugin) admitCSR(nodeName string, a admission.Attributes) error { … }