Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,065 for fieldsV1 (0.14 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/helpers.go

    func RemoveNestedField(obj map[string]interface{}, fields ...string) {
    	m := obj
    	for _, field := range fields[:len(fields)-1] {
    		if x, ok := m[field].(map[string]interface{}); ok {
    			m = x
    		} else {
    			return
    		}
    	}
    	delete(m, fields[len(fields)-1])
    }
    
    func getNestedString(obj map[string]interface{}, fields ...string) string {
    	val, found, err := NestedString(obj, fields...)
    	if !found || err != nil {
    		return ""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 20:39:55 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile.go

    		for _, f := range fields {
    			result[f.Name] = f
    		}
    		return result
    	}
    	gvkType := apiservercel.NewObjectType("kubernetes.GroupVersionKind", fields(
    		field("group", apiservercel.StringType, true),
    		field("version", apiservercel.StringType, true),
    		field("kind", apiservercel.StringType, true),
    	))
    	gvrType := apiservercel.NewObjectType("kubernetes.GroupVersionResource", fields(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/etcd/etcd_test.go

    func TestClient_GetMemberID(t *testing.T) {
    	type fields struct {
    		Endpoints     []string
    		newEtcdClient func(endpoints []string) (etcdClient, error)
    	}
    	type args struct {
    		peerURL string
    	}
    	tests := []struct {
    		name    string
    		fields  fields
    		args    args
    		want    uint64
    		wantErr error
    	}{
    		{
    			name: "member ID found",
    			fields: fields{
    				Endpoints: []string{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. src/encoding/json/encode.go

    // the fields.
    func dominantField(fields []field) (field, bool) {
    	// The fields are sorted in increasing index-length order, then by presence of tag.
    	// That means that the first field is the dominant one. We need only check
    	// for error cases: two fields at top level, either both tagged or neither tagged.
    	if len(fields) > 1 && len(fields[0].index) == len(fields[1].index) && fields[0].tag == fields[1].tag {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            final Object fieldsObj = existingSource.get(FieldNames.FIELDS);
            if (fieldsObj instanceof List) {
                @SuppressWarnings("unchecked")
                final List<String> existingValues = (List<String>) fieldsObj;
                concatValues(existingValues, fields);
                map.put(FieldNames.FIELDS, existingValues);
            } else {
                map.put(FieldNames.FIELDS, fields);
            }
    
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/tableconvertor/tableconvertor_test.go

    		})
    	}
    }
    
    func Test_convertor_ConvertToTable(t *testing.T) {
    	type fields struct {
    		headers           []metav1.TableColumnDefinition
    		additionalColumns []columnPrinter
    	}
    	type args struct {
    		ctx          context.Context
    		obj          runtime.Object
    		tableOptions runtime.Object
    	}
    	tests := []struct {
    		name    string
    		fields  fields
    		args    args
    		want    *metav1.Table
    		wantErr bool
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

                    if (isExcludeSearchword(words[i], fields != null && fields.length > 0 ? fields[0] : "", langs, analyzer)) {
                        continue;
                    }
    
                    final String word = normalizer.normalize(words[i], fields != null && fields.length > 0 ? fields[0] : "", langs);
                    final List<String> l = readingConverter.convert(word, fields != null && fields.length > 0 ? fields[0] : "", langs);
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. maven-compat/src/main/mdo/profiles.mdo

              </association>
            </field>
          </fields>
        </class>
        <class>
          <name>Profile</name>
          <version>1.0.0</version>
          <description><![CDATA[
            Modifications to the build process which is keyed on some
            sort of environmental parameter.
          ]]></description>
          <fields>
            <field>
              <name>id</name>
              <required>true</required>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 03 21:08:35 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  9. scan.go

    						fields[idx] = field
    						if count, ok := matchedFieldCount[column]; ok {
    							// handle duplicate fields
    							for _, selectField := range sch.Fields {
    								if selectField.DBName == column && selectField.Readable {
    									if count == 0 {
    										matchedFieldCount[column]++
    										fields[idx] = selectField
    										break
    									}
    									count--
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. pilot/pkg/model/context_test.go

    }
    
    func TestProxyVersion_Compare(t *testing.T) {
    	type fields struct {
    		Major int
    		Minor int
    		Patch int
    	}
    	type args struct {
    		inv *model.IstioVersion
    	}
    	tests := []struct {
    		name   string
    		fields fields
    		args   args
    		want   int
    	}{
    		{
    			name:   "greater major",
    			fields: fields{Major: 2, Minor: 1, Patch: 1},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 23:51:52 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top