Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for wantProfiles (0.15 sec)

  1. pkg/scheduler/apis/config/scheme/scheme_test.go

    // into their appropriate internal types and defaults are applied.
    func TestCodecsDecodePluginConfig(t *testing.T) {
    	testCases := []struct {
    		name         string
    		data         []byte
    		wantErr      string
    		wantProfiles []config.KubeSchedulerProfile
    	}{
    		// v1 tests
    		{
    			name: "v1 all plugin args in default profile",
    			data: []byte(`
    apiVersion: kubescheduler.config.k8s.io/v1
    kind: KubeSchedulerConfiguration
    profiles:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  2. pkg/scheduler/scheduler_test.go

    	}
    	validRegistry := map[string]frameworkruntime.PluginFactory{
    		"Foo": defaultbinder.New,
    	}
    	cases := []struct {
    		name          string
    		opts          []Option
    		wantErr       string
    		wantProfiles  []string
    		wantExtenders []string
    	}{
    		{
    			name: "valid out-of-tree registry",
    			opts: []Option{
    				WithFrameworkOutOfTreeRegistry(validRegistry),
    				WithProfiles(
    					schedulerapi.KubeSchedulerProfile{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 42K bytes
    - Viewed (0)
  3. src/go/build/build_test.go

    	if wantName := "main"; pkg.Name != wantName {
    		t.Errorf("pkg.Name = %q; want %q", pkg.Name, wantName)
    	}
    
    	if wantGoFiles := []string{"file.go", "file_appengine.go"}; !reflect.DeepEqual(pkg.GoFiles, wantGoFiles) {
    		t.Errorf("pkg.GoFiles = %q; want %q", pkg.GoFiles, wantGoFiles)
    	}
    
    	if wantInvalidFiles := []string{"file_appengine.go"}; !reflect.DeepEqual(pkg.InvalidGoFiles, wantInvalidFiles) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
Back to top