Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for flowschemas (0.28 sec)

  1. pkg/printers/internalversion/printers_test.go

    		}
    	}
    }
    
    func TestPrintFlowSchema(t *testing.T) {
    	all := []string{"*"}
    
    	tests := []struct {
    		fs       flowcontrol.FlowSchema
    		expected []metav1.TableRow
    	}{
    		{
    			fs: flowcontrol.FlowSchema{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:              "all-matcher",
    					CreationTimestamp: metav1.Time{Time: time.Now().Add(1.9e9)},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  2. pkg/printers/internalversion/printers.go

    		r, err := printVolumeAttachment(&list.Items[i], options)
    		if err != nil {
    			return nil, err
    		}
    		rows = append(rows, r...)
    	}
    	return rows, nil
    }
    
    func printFlowSchema(obj *flowcontrol.FlowSchema, options printers.GenerateOptions) ([]metav1.TableRow, error) {
    	row := metav1.TableRow{
    		Object: runtime.RawExtension{Object: obj},
    	}
    
    	name := obj.Name
    	plName := obj.Spec.PriorityLevelConfiguration.Name
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
Back to top