Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for TableGrow (0.15 sec)

  1. src/cmd/internal/obj/wasm/anames.go

    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 02 05:28:55 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. pkg/printers/internalversion/printers.go

    	row := metav1.TableRow{
    		Object: runtime.RawExtension{Object: obj},
    	}
    	row.Cells = append(row.Cells, obj.Name, formatEndpoints(obj, nil), translateTimestampSince(obj.CreationTimestamp))
    	return []metav1.TableRow{row}, nil
    }
    
    func printEndpointsList(list *api.EndpointsList, options printers.GenerateOptions) ([]metav1.TableRow, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/deepcopy.go

    limitations under the License.
    */
    
    package v1
    
    import (
    	"k8s.io/apimachinery/pkg/runtime"
    )
    
    func (in *TableRow) DeepCopy() *TableRow {
    	if in == nil {
    		return nil
    	}
    
    	out := new(TableRow)
    
    	if in.Cells != nil {
    		out.Cells = make([]interface{}, len(in.Cells))
    		for i := range in.Cells {
    			out.Cells[i] = runtime.DeepCopyJSONValue(in.Cells[i])
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 04:26:56 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/cli-runtime/pkg/printers/tableprinter_test.go

    	tests := []struct {
    		columns  []metav1.TableColumnDefinition
    		rows     []metav1.TableRow
    		options  PrintOptions
    		expected string
    	}{
    		// No columns and no rows means table string is empty.
    		{
    			columns:  []metav1.TableColumnDefinition{},
    			rows:     []metav1.TableRow{},
    			options:  PrintOptions{},
    			expected: "",
    		},
    		// No rows, means table string is empty (columns aren't printed).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 30 15:08:43 UTC 2022
    - 24.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/api/meta/table/table.go

    // each accessed item, with name and age being passed to each.
    func MetaToTableRow(obj runtime.Object, rowFn func(obj runtime.Object, m metav1.Object, name, age string) ([]interface{}, error)) ([]metav1.TableRow, error) {
    	if meta.IsListType(obj) {
    		rows := make([]metav1.TableRow, 0, 16)
    		err := meta.EachListItem(obj, func(obj runtime.Object) error {
    			nestedRows, err := MetaToTableRow(obj, rowFn)
    			if err != nil {
    				return err
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 26 18:18:18 UTC 2019
    - 2K bytes
    - Viewed (0)
  6. pkg/printers/internalversion/printers_test.go

    			},
    			// Columns: Name, Status, Age
    			expected: []metav1.TableRow{{Cells: []interface{}{"namespace1", "FooStatus", "0s"}}},
    		},
    		// Basic namespace without status or age.
    		{
    			namespace: api.Namespace{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "namespace2",
    				},
    			},
    			// Columns: Name, Status, Age
    			expected: []metav1.TableRow{{Cells: []interface{}{"namespace2", "", "<unknown>"}}},
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  7. pkg/printers/tablegenerator_test.go

    	}
    	clone := *obj
    	return &clone
    }
    
    func PrintCustomType(obj *TestPrintType, options GenerateOptions) ([]metav1beta1.TableRow, error) {
    	return []metav1beta1.TableRow{{Cells: []interface{}{obj.Data}}}, nil
    }
    
    func ErrorPrintHandler(obj *TestPrintType, options GenerateOptions) ([]metav1beta1.TableRow, error) {
    	return nil, fmt.Errorf("ErrorPrintHandler error")
    }
    
    func TestCustomTypePrinting(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 23 15:26:17 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/samples/templates/structuring-software-projects/android-app/app/src/main/java/com/example/myproduct/app/MyProductAppActivity.kt

    import android.os.AsyncTask
    import android.os.Bundle
    import android.text.Html
    import android.text.method.LinkMovementMethod
    import android.widget.ScrollView
    import android.widget.TableLayout
    import android.widget.TableRow
    import android.widget.TextView
    import com.example.myproduct.user.table.TableBuilder
    
    
    class MyProductAppActivity : Activity() {
    
        class DownloadTask: AsyncTask<Void, Void, List<MutableList<String>>>() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/tableconvertor/tableconvertor_test.go

    				},
    				tableOptions: nil,
    			},
    			want: &metav1.Table{
    				ColumnDefinitions: []metav1.TableColumnDefinition{{Name: "name", Type: "string"}},
    				Rows: []metav1.TableRow{
    					{
    						Cells: []interface{}{"blah"},
    						Object: runtime.RawExtension{
    							Object: &metav1beta1.PartialObjectMetadata{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1beta1/types.go

    // TableColumnDefinition contains information about a column returned in the Table.
    // +protobuf=false
    type TableColumnDefinition = v1.TableColumnDefinition
    
    // TableRow is an individual row in a table.
    // +protobuf=false
    type TableRow = v1.TableRow
    
    // TableRowCondition allows a row to be marked with additional information.
    // +protobuf=false
    type TableRowCondition = v1.TableRowCondition
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 29 00:35:16 UTC 2019
    - 3.1K bytes
    - Viewed (0)
Back to top