Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 161 for set_kind (0.12 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/storage_factory.go

    	// special-case unstructured objects that tell us their apiVersion/kind
    	if u, isUnstructured := obj.(*unstructured.Unstructured); isUnstructured {
    		if apiVersion, kind := u.GetAPIVersion(), u.GetKind(); len(apiVersion) > 0 && len(kind) > 0 {
    			return []interface{}{"apiVersion", apiVersion, "kind", kind}
    		}
    	}
    
    	// otherwise just return the type
    	return []interface{}{"type", fmt.Sprintf("%T", obj)}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_unified_experimental_graph.cc

          return FullTypeDef();
        } else {
          return *ft;
        }
      }
    
      TF_Output output_;
    
      // For LLVM style RTTI.
      static bool classof(const AbstractTensorHandle* ptr) {
        return ptr->getKind() == kGraph;
      }
    
     private:
      TF_Graph* graph_;  // For shape inference.
    };
    
    // GraphOperation wraps and populates a TF_OperationDescription.
    class GraphOperation : public TracingOperation {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 20:00:09 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/request/admissionreview.go

    	attr := versionedAttributes.Attributes
    	gvk := invocation.Kind
    	gvr := invocation.Resource
    	subresource := invocation.Subresource
    	requestGVK := attr.GetKind()
    	requestGVR := attr.GetResource()
    	requestSubResource := attr.GetSubresource()
    	aUserInfo := attr.GetUserInfo()
    	userInfo := authenticationv1.UserInfo{
    		Extra:    make(map[string]authenticationv1.ExtraValue),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 16:56:12 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/validator.go

    	if err != nil {
    		return field.ErrorList{field.Invalid(field.NewPath("kind"), nil, err.Error())}
    	}
    
    	var allErrs field.ErrorList
    	if typeAccessor.GetKind() != a.kind.Kind {
    		allErrs = append(allErrs, field.Invalid(field.NewPath("kind"), typeAccessor.GetKind(), fmt.Sprintf("must be %v", a.kind.Kind)))
    	}
    	if typeAccessor.GetAPIVersion() != a.kind.Group+"/"+a.kind.Version {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 14:00:05 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/metrics/types_util.cc

    void ExtractFileLine(const FileLineColLoc& loc,
                         tflite::metrics::ConverterErrorData::FileLoc* fileline) {
      fileline->set_filename(loc.getFilename().str());
      fileline->set_line(loc.getLine());
      fileline->set_column(loc.getColumn());
    }
    
    // Defines a child class of Location to access its protected members.
    class LocationExtractor : public Location {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. operator/pkg/verifier/verifier.go

    	kinds := findResourceInSpec(un.GetObjectKind().GroupVersionKind())
    	if kinds == "" {
    		kinds = strings.ToLower(un.GetKind()) + "s"
    	}
    	// Override with special kind if it exists in the map
    	if specialKind, exists := specialKinds[un.GetKind()]; exists {
    		kinds = specialKind
    	}
    	return kinds
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/features/withstaticreference/WithExtensionReferencesPostProcessor.java

        private static List<ParameterInfo> modifiedParameters(List<ParameterInfo> originalParameters) {
            ArrayList<ParameterInfo> result = new ArrayList<>(originalParameters);
            if (result.size() == 0 || result.get(0).getKind() != ParameterKindInfo.RECEIVER) {
                throw new UnsupportedOperationException("extensions with static references that do not have a receiver parameter are not supported");
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/interfaces.go

    	GetObject() runtime.Object
    	// GetOldObject is the existing object. Only populated for UPDATE and DELETE requests.
    	GetOldObject() runtime.Object
    	// GetKind is the type of object being manipulated.  For example: Pod
    	GetKind() schema.GroupVersionKind
    	// GetUserInfo is information about the requesting user
    	GetUserInfo() user.Info
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 28 14:03:18 UTC 2021
    - 8K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/PropertyAnnotationHandler.java

         */
        default void validatePropertyMetadata(PropertyMetadata propertyMetadata, TypeValidationContext validationContext) {}
    
        /**
         * Returns the kind of properties this handler handles.
         */
        Kind getKind();
    
        enum Kind {
            INPUT, OUTPUT, OTHER
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/api/meta/interfaces.go

    type MetadataAccessor interface {
    	APIVersion(obj runtime.Object) (string, error)
    	SetAPIVersion(obj runtime.Object, version string) error
    
    	Kind(obj runtime.Object) (string, error)
    	SetKind(obj runtime.Object, kind string) error
    
    	Namespace(obj runtime.Object) (string, error)
    	SetNamespace(obj runtime.Object, namespace string) error
    
    	Name(obj runtime.Object) (string, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 23:44:02 UTC 2021
    - 5.5K bytes
    - Viewed (0)
Back to top