Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ExpectedNames (0.14 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/status/naming_controller_test.go

    	tests := []struct {
    		name string
    
    		in                            *apiextensionsv1.CustomResourceDefinition
    		existing                      []*apiextensionsv1.CustomResourceDefinition
    		expectedNames                 apiextensionsv1.CustomResourceDefinitionNames
    		expectedNameConflictCondition apiextensionsv1.CustomResourceDefinitionCondition
    		expectedEstablishedCondition  apiextensionsv1.CustomResourceDefinitionCondition
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 03 16:49:27 UTC 2019
    - 15.7K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/CompilationOutputsFixture.groovy

        void recompiledFiles(Collection<File> files) {
            def expectedNames = files.collect({ removeExtension(it.name) }) as Set
            assert changedFileNames == expectedNames
        }
    
        //asserts has the exact set of output files
        void hasFiles(File... files) {
            def expectedNames = files.collect({ removeExtension(it.name) }) as Set
            assert getFiles { true } == expectedNames
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. pkg/kubelet/pluginmanager/pluginwatcher/example_handler.go

    	"k8s.io/kubernetes/pkg/kubelet/pluginmanager/pluginwatcher/example_plugin_apis/v1beta2"
    )
    
    type exampleHandler struct {
    	SupportedVersions []string
    	ExpectedNames     map[string]int
    
    	eventChans map[string]chan examplePluginEvent // map[pluginName]eventChan
    
    	m sync.Mutex
    
    	permitDeprecatedDir bool
    }
    
    type examplePluginEvent int
    
    const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 16 12:00:49 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go

    				switch tt.object.(type) {
    				case *v1.Pod:
    					if _, ok := v.Object.(*v1.Pod); !ok || v.Name != tt.expectedNames[i] || v.Namespace != "test" {
    						t.Errorf("unexpected info: %v", dump.Pretty(v.Object))
    					}
    				case *v1.ReplicationController:
    					if _, ok := v.Object.(*v1.ReplicationController); !ok || v.Name != tt.expectedNames[i] || v.Namespace != "test" {
    						t.Errorf("unexpected info: %v", dump.Pretty(v.Object))
    					}
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 11:58:41 UTC 2023
    - 56.1K bytes
    - Viewed (0)
Back to top