Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for byNamespace (0.49 sec)

  1. staging/src/k8s.io/apiserver/pkg/quota/v1/generic/evaluator_test.go

    	f.called++
    	return nil, errFakeLister
    }
    func (f *fakeLister) Get(name string) (runtime.Object, error) {
    	f.called++
    	return nil, errFakeLister
    }
    func (f *fakeLister) ByNamespace(namespace string) cache.GenericNamespaceLister {
    	panic("not implemented")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 04 12:53:52 UTC 2020
    - 3K bytes
    - Viewed (0)
  2. pkg/kubelet/config/common_test.go

    	pod := &v1.Pod{
    		TypeMeta: metav1.TypeMeta{
    			APIVersion: "",
    		},
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    			UID:       "12345",
    			Namespace: "mynamespace",
    		},
    		Spec: v1.PodSpec{
    			RestartPolicy:                 v1.RestartPolicyAlways,
    			DNSPolicy:                     v1.DNSClusterFirst,
    			TerminationGracePeriodSeconds: &grace,
    			Containers: []v1.Container{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  3. pkg/registry/admissionregistration/validatingadmissionpolicybinding/strategy_test.go

    			},
    			Spec: admissionregistration.ValidatingAdmissionPolicyBindingSpec{
    				PolicyName: "replicalimit-policy.example.com",
    				ParamRef: &admissionregistration.ParamRef{
    					Namespace: "mynamespace",
    					Selector: &metav1.LabelSelector{
    						MatchLabels: map[string]string{
    							"label": "value",
    						},
    					},
    					ParameterNotFoundAction: &denyAction,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:09 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. pkg/config/analysis/analyzers/schema/validation_test.go

    func (fakeOrigin) FriendlyName() string          { return "myFriendlyName" }
    func (fakeOrigin) Comparator() string            { return "myFriendlyName" }
    func (fakeOrigin) Namespace() resource.Namespace { return "myNamespace" }
    func (fakeOrigin) Reference() resource.Reference { return fakeReference{} }
    func (fakeOrigin) FieldMap() map[string]int      { return make(map[string]int) }
    func (fakeOrigin) ClusterName() cluster.ID {
    	return "cluster"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/aot/tfcompile_main.cc

        "header file that gives access to the functionality in the object file.\n"
        "A typical invocation looks like this:\n"
        "\n"
        "   $ tfcompile --graph=mygraph.pb --config=myfile.pbtxt "
        "--cpp_class=\"mynamespace::MyComputation\"\n"
        "\n";
    
    }  // end namespace tfcompile
    }  // end namespace tensorflow
    
    int main(int argc, char** argv) {
      tensorflow::tfcompile::MainFlags flags;
    #ifndef __s390x__
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. pkg/registry/admissionregistration/validatingadmissionpolicybinding/storage/storage_test.go

    			},
    			Spec: admissionregistration.ValidatingAdmissionPolicyBindingSpec{
    				PolicyName: "replicalimit-policy.example.com",
    				ParamRef: &admissionregistration.ParamRef{
    					Namespace: "mynamespace",
    					Selector: &metav1.LabelSelector{
    						MatchLabels: map[string]string{
    							"label": "value",
    						},
    					},
    					ParameterNotFoundAction: &denyAction,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:09 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  7. pkg/scheduler/util/assumecache/assume_cache_test.go

    		objAccessor, err := meta.Accessor(obj)
    		if err != nil {
    			return nil, err
    		}
    		return []string{objAccessor.GetNamespace()}, nil
    	}
    	tCtx, cache, informer := newTestWithIndexer(t, "myNamespace", namespaceIndexer)
    
    	// Add a bunch of objects.
    	ns := "ns1"
    	objs := make([]interface{}, 0, 10)
    	for i := 0; i < 10; i++ {
    		obj := makeObj(fmt.Sprintf("test-pvc%v", i), "1", ns)
    		objs = append(objs, obj)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top