Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 981 for kindOf (0.17 sec)

  1. operator/pkg/verifier/verifier.go

    }
    
    func resourceKinds(un *unstructured.Unstructured) string {
    	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)
  2. pilot/pkg/config/kube/crdclient/client.go

    }
    
    // List implements store interface
    func (cl *Client) List(kind config.GroupVersionKind, namespace string) []config.Config {
    	h, f := cl.kind(kind)
    	if !f {
    		return nil
    	}
    
    	list := h.List(namespace, klabels.Everything())
    
    	out := make([]config.Config, 0, len(list))
    	for _, item := range list {
    		cfg := TranslateObject(item, kind, cl.domainSuffix)
    		out = append(out, cfg)
    	}
    
    	return out
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. src/log/slog/value.go

    	"Uint64",
    	"Group",
    	"LogValuer",
    }
    
    func (k Kind) String() string {
    	if k >= 0 && int(k) < len(kindStrings) {
    		return kindStrings[k]
    	}
    	return "<unknown slog.Kind>"
    }
    
    // Unexported version of Kind, just so we can store Kinds in Values.
    // (No user-provided value has this type.)
    type kind Kind
    
    // Kind returns v's Kind.
    func (v Value) Kind() Kind {
    	switch x := v.any.(type) {
    	case Kind:
    		return x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. src/runtime/syscall_windows.go

    // abiPart encodes a step in translating between calling ABIs.
    type abiPart struct {
    	kind           abiPartKind
    	srcStackOffset uintptr
    	dstStackOffset uintptr // used if kind == abiPartStack
    	dstRegister    int     // used if kind == abiPartReg
    	len            uintptr
    }
    
    func (a *abiPart) tryMerge(b abiPart) bool {
    	if a.kind != abiPartStack || b.kind != abiPartStack {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. src/runtime/type.go

    	// the two types are identical, but recursively defined and loaded from
    	// different modules
    	seen[tp] = struct{}{}
    
    	if t == v {
    		return true
    	}
    	kind := t.Kind_ & abi.KindMask
    	if kind != v.Kind_&abi.KindMask {
    		return false
    	}
    	rt, rv := toRType(t), toRType(v)
    	if rt.string() != rv.string() {
    		return false
    	}
    	ut := t.Uncommon()
    	uv := v.Uncommon()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/DiagnosticToProblemListener.java

            // Compiler only handles 'error' and 'warn' kinds
            if (!("error".equals(kind) || "warn".equals(kind))) {
                throw new IllegalArgumentException("kind must be either 'error' or 'warn'");
            }
            // If there are no diagnostics of this kind, we don't need to print anything
            if (number == 0) {
                return;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 06:17:43 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/config.go

    		objects = append(objects, componentType)
    	}
    	sort.Strings(objects)
    	return objects
    }
    
    func mapLegacyKindsToGroups(kinds []string) ([]string, error) {
    	groups := []string{}
    	for _, kind := range kinds {
    		group, ok := legacyKindToGroupMap[kind]
    		if ok {
    			groups = append(groups, group)
    		} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

                    }
                }
            }
            return kind.convertToNumber(value)?.let { opr1 ->
                other.kind.convertToNumber(other.value)?.let { opr2 ->
                    evalBinaryOp(
                        function.name.asString(),
                        kind.toCompileTimeType(),
                        opr1,
                        other.kind.toCompileTimeType(),
                        opr2
                    )?.let {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/config_test.go

    			}
    
    			gotKinds := []string{}
    			for gvk := range gvkmap {
    				gotKinds = append(gotKinds, gvk.Kind)
    			}
    
    			sort.Strings(gotKinds)
    
    			if !reflect.DeepEqual(gotKinds, test.expectedKinds) {
    				t.Fatalf("kinds not matching:\n\texpectedKinds: %v\n\tgotKinds: %v\n", test.expectedKinds, gotKinds)
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/authentication/v1/types.go

    }
    
    // BoundObjectReference is a reference to an object that a token is bound to.
    type BoundObjectReference struct {
    	// Kind of the referent. Valid kinds are 'Pod' and 'Secret'.
    	// +optional
    	Kind string `json:"kind,omitempty" protobuf:"bytes,1,opt,name=kind"`
    	// API version of the referent.
    	// +optional
    	APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,2,opt,name=apiVersion"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top