func init() { … }
func TestControllerSyncPool(t *testing.T) { … }
func sortResourceSlices(slices []resourceapi.ResourceSlice) { … }
func createTestClient(objects ...runtime.Object) *fake.Clientset { … }
func createResourceSliceCreateReactor() func(action k8stesting.Action) (handled bool, ret runtime.Object, err error) { … }
func resourceSliceUpdateReactor(action k8stesting.Action) (handled bool, ret runtime.Object, err error) { … }
type ResourceSliceWrapper …
func MakeResourceSlice() *ResourceSliceWrapper { … }
func (r *ResourceSliceWrapper) Obj() *resourceapi.ResourceSlice { … }
func (r *ResourceSliceWrapper) Name(name string) *ResourceSliceWrapper { … }
func (r *ResourceSliceWrapper) GenerateName(generateName string) *ResourceSliceWrapper { … }
func (r *ResourceSliceWrapper) UID(uid string) *ResourceSliceWrapper { … }
func (r *ResourceSliceWrapper) ResourceVersion(rev string) *ResourceSliceWrapper { … }
func (r *ResourceSliceWrapper) NodeOwnerReferences(nodeName, nodeUID string) *ResourceSliceWrapper { … }
func (r *ResourceSliceWrapper) AppOwnerReferences(appName string) *ResourceSliceWrapper { … }
func (r *ResourceSliceWrapper) Driver(driver string) *ResourceSliceWrapper { … }
func (r *ResourceSliceWrapper) Pool(pool resourceapi.ResourcePool) *ResourceSliceWrapper { … }
func (r *ResourceSliceWrapper) NodeName(nodeName string) *ResourceSliceWrapper { … }
func (r *ResourceSliceWrapper) NodeSelector(nodeSelector *v1.NodeSelector) *ResourceSliceWrapper { … }
func (r *ResourceSliceWrapper) AllNodes(allNodes bool) *ResourceSliceWrapper { … }
func (r *ResourceSliceWrapper) Devices(devices []resourceapi.Device) *ResourceSliceWrapper { … }