Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 106 for singular2 (0.17 sec)

  1. schema/naming.go

    func (ns NamingStrategy) SchemaName(table string) string {
    	table = strings.TrimPrefix(table, ns.TablePrefix)
    
    	if ns.SingularTable {
    		return ns.toSchemaName(table)
    	}
    	return ns.toSchemaName(inflection.Singular(table))
    }
    
    // ColumnName convert string to column name
    func (ns NamingStrategy) ColumnName(table, column string) string {
    	return ns.toDBName(column)
    }
    
    // JoinTableName convert string to join table name
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. pkg/apis/core/v1/conversion.go

    	if err := autoConvert_core_PodStatus_To_v1_PodStatus(in, out, s); err != nil {
    		return err
    	}
    	// at the this point autoConvert copied core.PodIPs -> v1.PodIPs
    	//  v1.PodIP (singular value field, which does not exist in core) needs to
    	// be set with core.PodIPs[0]
    	if len(in.PodIPs) > 0 {
    		out.PodIP = in.PodIPs[0].IP
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 22:30:55 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. docs/uk/docs/tutorial/body.md

    ## Без Pydantic
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. common/scripts/metallb-native.yaml

      creationTimestamp: null
      name: bfdprofiles.metallb.io
    spec:
      group: metallb.io
      names:
        kind: BFDProfile
        listKind: BFDProfileList
        plural: bfdprofiles
        singular: bfdprofile
      scope: Namespaced
      versions:
      - additionalPrinterColumns:
        - jsonPath: .spec.passiveMode
          name: Passive Mode
          type: boolean
        - jsonPath: .spec.transmitInterval
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 23:56:31 UTC 2024
    - 63.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/initializer/initializer_test.go

    	return nil, nil
    }
    func (doNothingRESTMapper) RESTMappings(gk schema.GroupKind, versions ...string) ([]*meta.RESTMapping, error) {
    	return nil, nil
    }
    func (doNothingRESTMapper) ResourceSingularizer(resource string) (singular string, err error) {
    	return "", nil
    }
    
    type doNothingAdmission struct{}
    
    func (doNothingAdmission) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error {
    	return nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/schema-extra-example.md

    href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#fixed-fields-20" class="external-link" target="_blank">`example`</a> para a versão modificada do **JSON Schema** que é usada, para o mesmo próposito (mas é apenas `example` no singular, não `examples`), e é isso que é usado pela UI da documentação da API(usando o Swagger UI).
    
    Portanto, embora `example` não seja parte do JSON Schema, é parte da versão customizada do JSON Schema usada pelo OpenAPI, e é isso que vai ser...
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/installer_test.go

    						Kind: "Node",
    					},
    					ShortNames: []string{"no"},
    					Verbs:      []string{"create", "delete", "deletecollection", "get", "list", "patch", "update", "watch"},
    				},
    			},
    		},
    		{
    			name: "Singular Resource Name",
    			resources: []metav1.APIResource{
    				{
    					Name:         "nodes",
    					SingularName: "node",
    					Kind:         "Node",
    					ShortNames:   []string{"no"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. prow/config/calico.yaml

    metadata:
      name: bgpconfigurations.crd.projectcalico.org
    spec:
      group: crd.projectcalico.org
      names:
        kind: BGPConfiguration
        listKind: BGPConfigurationList
        plural: bgpconfigurations
        singular: bgpconfiguration
      preserveUnknownFields: false
      scope: Cluster
      versions:
      - name: v1
        schema:
          openAPIV3Schema:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 246.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.proto

      // Must be all lowercase.
      optional string plural = 1;
    
      // singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.
      // +optional
      optional string singular = 2;
    
      // shortNames are short names for the resource, exposed in API discovery documents,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    		allErrs = append(allErrs, field.Invalid(fldPath.Child("plural"), names.Plural, strings.Join(errs, ",")))
    	}
    	if errs := utilvalidation.IsDNS1035Label(names.Singular); len(names.Singular) > 0 && len(errs) > 0 {
    		allErrs = append(allErrs, field.Invalid(fldPath.Child("singular"), names.Singular, strings.Join(errs, ",")))
    	}
    	if errs := utilvalidation.IsDNS1035Label(strings.ToLower(names.Kind)); len(names.Kind) > 0 && len(errs) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
Back to top