Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 412 for patched (0.26 sec)

  1. pkg/auth/authorizer/abac/abac.go

    	if len(p.Spec.Group) > 0 {
    		if p.Spec.Group == "*" {
    			matched = true
    		} else {
    			matched = false
    			for _, group := range groups {
    				if p.Spec.Group == group {
    					matched = true
    					break
    				}
    			}
    			if !matched {
    				return false
    			}
    		}
    	}
    
    	return matched
    }
    
    func verbMatches(p abac.Policy, a authorizer.Attributes) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 11 03:11:30 UTC 2021
    - 7.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/selection_predicate.go

    		return false, err
    	}
    	matched := s.Label.Matches(labels)
    	if matched && s.Field != nil {
    		matched = matched && s.Field.Matches(fields)
    	}
    	return matched, nil
    }
    
    // MatchesObjectAttributes returns true if the given labels and fields
    // match s.Label and s.Field.
    func (s *SelectionPredicate) MatchesObjectAttributes(l labels.Set, f fields.Set) bool {
    	if s.Label.Empty() && s.Field.Empty() {
    		return true
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. pkg/kube/krt/krttest/helpers.go

    	return krt.NewStatic(slices.First(t))
    }
    
    func extractType[T any](items *[]any) []T {
    	var matched []T
    	var unmatched []any
    	arr := *items
    	for _, val := range arr {
    		if c, ok := val.(T); ok {
    			matched = append(matched, c)
    		} else {
    			unmatched = append(unmatched, val)
    		}
    	}
    
    	*items = unmatched
    	return matched
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 19:33:01 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_get_nopkgs.txt

    go get ./...
    stderr -count=1 'matched no packages'
    
    go get ./...
    stderr -count=1 'matched no packages'
    
    # 'go get' on patterns that could conceivably match nested modules
    # should report a module resolution error.
    
    go get example.net/emptysubdir/... # control case
    
    ! go get example.net/emptysubdir/subdir/...
    ! stderr 'matched no packages'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  5. pilot/pkg/keycertbundle/watcher_test.go

    			t.Errorf("got wrong keyCertBundle %v", keyCertBundle)
    		}
    	default:
    		t.Errorf("watcher2 watched non keyCertBundle")
    	}
    }
    
    func TestWatcherFromFile(t *testing.T) {
    	watcher := NewWatcher()
    
    	// 1. no key cert bundle
    	_, watch1 := watcher.AddWatcher()
    	select {
    	case bundle := <-watch1:
    		t.Errorf("watched unexpected keyCertBundle: %v", bundle)
    		return
    	default:
    	}
    
    	tmpDir := t.TempDir()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 28 17:46:00 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  6. tensorflow/c/eager/gradients.h

      // Adds this tensor to the list of watched tensors.
      //
      // This is a no-op if the tensor is already being watched either from an
      // earlier call to `GradientTape::Watch` or being an output of an op with
      // watched inputs.
      void Watch(const AbstractTensorHandle*);
      // Records an operation with given inputs and outputs
      // on the tape and marks all its outputs as watched if at
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 26 10:27:05 UTC 2022
    - 6.9K bytes
    - Viewed (0)
  7. operator/cmd/mesh/testdata/manifest-generate/input/pilot_override_kubernetes.yaml

              - kind: Service
                name: istiod
                patches:
                  - path: spec.ports.[name:https-dns].port
                    value: 11111 # OVERRIDDEN
              # Cluster scope resource
              - kind: MutatingWebhookConfiguration
                name: istio-sidecar-injector-istio-control
                patches:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 22:07:45 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/kubelet/config.go

    }
    
    // applyKubeletConfigPatches reads patches from a directory and applies them over the input kubeletBytes
    func applyKubeletConfigPatches(kubeletBytes []byte, patchesDir string, output io.Writer) ([]byte, error) {
    	patchManager, err := patches.GetPatchManagerForPath(patchesDir, patches.KnownTargets(), output)
    	if err != nil {
    		return nil, err
    	}
    
    	patchTarget := &patches.PatchTarget{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 02 12:34:30 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. operator/samples/pilot-advanced-override.yaml

            - kind: Deployment
              name: istiod
              patches:
              - path: spec.template.spec.containers.[name:discovery].args.[30m]
                value: "60m" # OVERRIDDEN
              - path: spec.template.spec.containers.[name:discovery].ports.[containerPort:8080].containerPort
                value: 8090 # OVERRIDDEN
            - kind: Service
              name: istiod
              patches:
              - path: spec.ports.[name:grpc-xds].port
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 18 18:00:25 UTC 2020
    - 598 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/list_reserved.txt

    # https://golang.org/issue/37641: the paths "example" and "test" are reserved
    # for end users, and must never exist in the standard library.
    
    go list example/... test/...
    stderr 'go: warning: "example/..." matched no packages$'
    stderr 'go: warning: "test/..." matched no packages$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 29 04:21:07 UTC 2021
    - 293 bytes
    - Viewed (0)
Back to top