Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for called (0.19 sec)

  1. cni/pkg/ipset/nldeps_mock.go

    func (m *MockedIpsetDeps) ipsetIPHashCreate(name string, v6 bool) error {
    	args := m.Called(name, v6)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) destroySet(name string) error {
    	args := m.Called(name)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	args := m.Called(name, ip, ipProto, comment, replace)
    	return args.Error(0)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/server_test.go

    	if f.testWG != nil {
    		defer f.testWG.Done()
    	}
    	args := f.Called(ctx, pod)
    	return args.Error(0)
    }
    
    func (f *fakeServer) DelPodFromMesh(ctx context.Context, pod *corev1.Pod) error {
    	if f.testWG != nil {
    		defer f.testWG.Done()
    	}
    	args := f.Called(ctx, pod)
    	return args.Error(0)
    }
    
    func (f *fakeServer) Start(ctx context.Context) {
    }
    
    func (f *fakeServer) Stop() {
    }
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin_test.go

    		t.Fatalf("Didnt Expect nsenterFunc to be called because this pod does not contain a sidecar")
    	}
    }
    
    func TestCmdAddExcludePod(t *testing.T) {
    	pod, ns := buildFakePodAndNSForClient()
    
    	mockIntercept := testDoAddRun(t, buildMockConf(true, ""), "testExcludeNS", pod, ns)
    	if len(mockIntercept.lastRedirect) != 0 {
    		t.Fatalf("failed to exclude pod")
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/admissionregistration/v1beta1/generated.proto

      //
      // Never: the webhook will not be called more than once in a single admission evaluation.
      //
      // IfNeeded: the webhook will be called at least one additional time as part of the admission evaluation
      // if the object being admitted is modified by other admission plugins after the initial webhook call.
      // Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted.
      // Note:
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  5. operator/cmd/mesh/manifest-diff.go

    	// e.g.
    	// Deployment:istio-system:* - compare all deployments in istio-system namespace
    	// Service:*:istio-pilot - compare Services called "istio-pilot" in all namespaces.
    	selectResources string
    	// ignoreResources ignores all listed items during comparison. It uses the same list format as selectResources.
    	ignoreResources string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/admissionregistration/v1/generated.proto

      // include any versions known to the API Server, calls to the webhook will fail
      // and be subject to the failure policy.
      repeated string admissionReviewVersions = 8;
    
      // reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation.
      // Allowed values are "Never" and "IfNeeded".
      //
      // Never: the webhook will not be called more than once in a single admission evaluation.
      //
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/server.go

    	})
    	if err != nil {
    		return nil, fmt.Errorf("failed creating kube config: %v", err)
    	}
    
    	client, err := kube.NewClient(kube.NewClientConfigForRestConfig(kubeRestConfig), "")
    	if err != nil {
    		return nil, fmt.Errorf("failed creating kube client: %v", err)
    	}
    
    	return client, nil
    }
    
    // createHostsideProbeIpset creates an ipset. This is designed to be called from the host netns.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/node/v1beta1/generated.proto

      // are specific to the node & CRI configuration.  It is assumed that all
      // handlers are available on every node, and handlers of the same name are
      // equivalent on every node.
      // For example, a handler called "runc" might specify that the runc OCI
      // runtime (using native Linux containers) will be used to run the containers
      // in a pod.
      // The handler must be lowercase, conform to the DNS Label (RFC 1123) requirements,
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/informers_test.go

    	client.RunAndWait(ctx.Done())
    	go handlers.Start()
    
    	waitForMockCalls()
    	// wait until pod add was called
    	mt.Assert(EventTotals.Name(), map[string]string{"type": "add"}, monitortest.AtLeast(1))
    
    	assertPodAnnotated(t, client, pod)
    
    	// check expectations on mocked calls
    	fs.AssertExpectations(t)
    }
    
    func assertPodAnnotated(t *testing.T, client kube.Client, pod *corev1.Pod) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/node/v1/generated.proto

      // are specific to the node & CRI configuration.  It is assumed that all
      // handlers are available on every node, and handlers of the same name are
      // equivalent on every node.
      // For example, a handler called "runc" might specify that the runc OCI
      // runtime (using native Linux containers) will be used to run the containers
      // in a pod.
      // The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements,
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
Back to top