const PluginName …
func Register(plugins *admission.Plugins) { … }
type RuntimeClass …
var _ …
var _ …
var _ …
var _ …
func (r *RuntimeClass) SetExternalKubeClientSet(client kubernetes.Interface) { … }
func (r *RuntimeClass) SetExternalKubeInformerFactory(f informers.SharedInformerFactory) { … }
func (r *RuntimeClass) ValidateInitialization() error { … }
func (r *RuntimeClass) Admit(ctx context.Context, attributes admission.Attributes, o admission.ObjectInterfaces) error { … }
func (r *RuntimeClass) Validate(ctx context.Context, attributes admission.Attributes, o admission.ObjectInterfaces) error { … }
func NewRuntimeClass() *RuntimeClass { … }
func (r *RuntimeClass) prepareObjects(ctx context.Context, attributes admission.Attributes) (pod *api.Pod, runtimeClass *nodev1.RuntimeClass, err error) { … }
func setOverhead(a admission.Attributes, pod *api.Pod, runtimeClass *nodev1.RuntimeClass) (err error) { … }
func setScheduling(a admission.Attributes, pod *api.Pod, runtimeClass *nodev1.RuntimeClass) (err error) { … }
func validateOverhead(a admission.Attributes, pod *api.Pod, runtimeClass *nodev1.RuntimeClass) (err error) { … }
func shouldIgnore(attributes admission.Attributes) bool { … }