Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNamespaceSCCAllocationController ¶
func NewNamespaceSCCAllocationController(namespaceInformer corev1informers.NamespaceInformer, client corev1client.NamespaceInterface, rangeAllocationClient securityv1client.RangeAllocationsGetter, requiredUIDRange *uid.Range, mcs MCSAllocationFunc, eventRecorder events.Recorder) factory.Controller
Types ¶
type MCSAllocationFunc ¶
func DefaultMCSAllocation ¶
DefaultMCSAllocation returns a label from the MCS range that matches the offset within the overall range. blockSize must be a positive integer representing the number of labels to jump past in the category space (if 1, range == label, if 2 each range will have two labels).
type NamespaceSCCAllocationController ¶
type NamespaceSCCAllocationController struct {
// contains filtered or unexported fields
}
NamespaceSCCAllocationController allocates uids/labels for namespaces
func (*NamespaceSCCAllocationController) Repair ¶
func (c *NamespaceSCCAllocationController) Repair(ctx context.Context, syncCtx factory.SyncContext) error
func (*NamespaceSCCAllocationController) WaitForRepair ¶
func (c *NamespaceSCCAllocationController) WaitForRepair(ctx context.Context, syncCtx factory.SyncContext) error
Click to show internal directories.
Click to hide internal directories.