Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 92 for newNames (0.15 sec)

  1. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/internal/configurer/HierarchicalElementDeduplicatorTest.groovy

                element.newName = name
            }
        }
    
        private elementName(String path) {
            elements.find { it.path == path }.newName
        }
    
        private class DummyElement {
            String name
            String identityName
            String newName
            DummyElement parent
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. pkg/kube/krt/helpers.go

    // and will automatically implement the various interfaces to return the name, namespace, and a key based on these two.
    type Named struct {
    	Name, Namespace string
    }
    
    // NewNamed builds a Named object from a Kubernetes object type.
    func NewNamed(o metav1.Object) Named {
    	return Named{Name: o.GetName(), Namespace: o.GetNamespace()}
    }
    
    func (n Named) ResourceName() string {
    	return n.Namespace + "/" + n.Name
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. pkg/kubelet/container/os.go

    func (RealOS) MkdirAll(path string, perm os.FileMode) error {
    	return os.MkdirAll(path, perm)
    }
    
    // Symlink will call os.Symlink to create a symbolic link.
    func (RealOS) Symlink(oldname string, newname string) error {
    	return os.Symlink(oldname, newname)
    }
    
    // Stat will call os.Stat to get the FileInfo for a given path
    func (RealOS) Stat(path string) (os.FileInfo, error) {
    	return os.Stat(path)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  4. migrator.go

    	GetTypeAliases(databaseTypeName string) []string
    
    	// Tables
    	CreateTable(dst ...interface{}) error
    	DropTable(dst ...interface{}) error
    	HasTable(dst interface{}) bool
    	RenameTable(oldName, newName interface{}) error
    	GetTables() (tableList []string, err error)
    	TableType(dst interface{}) (TableType, error)
    
    	// Columns
    	AddColumn(dst interface{}, field string) error
    	DropColumn(dst interface{}, field string) error
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. pkg/kubelet/container/testing/os.go

    	if f.MkdirAllFn != nil {
    		return f.MkdirAllFn(path, perm)
    	}
    	return nil
    }
    
    // Symlink is a fake call that just returns nil.
    func (f *FakeOS) Symlink(oldname string, newname string) error {
    	if f.SymlinkFn != nil {
    		return f.SymlinkFn(oldname, newname)
    	}
    	return nil
    }
    
    // Stat is a fake that returns an error
    func (f *FakeOS) Stat(path string) (os.FileInfo, error) {
    	if f.StatFn != nil {
    		return f.StatFn(path)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 07 13:37:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_retract_rename.txt

    # We can't upgrade, since this latest version has a different module path.
    ! go get example.com/retract/rename
    stderr 'module declares its path as: example.com/retract/newname'
    
    -- go.mod --
    module example.com/use
    
    go 1.16
    
    require example.com/retract/rename v1.0.0-bad
    -- use.go --
    package use
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 863 bytes
    - Viewed (0)
  7. pkg/kube/krt/bench_test.go

    		if p.Status.PodIP == "" {
    			return nil
    		}
    		services := krt.Fetch(ctx, Services, krt.FilterIndex(ServicesByNamespace, p.Namespace), krt.FilterSelectsNonEmpty(p.GetLabels()))
    		return &Workload{
    			Named:        krt.NewNamed(p),
    			IP:           p.Status.PodIP,
    			ServiceNames: slices.Map(services, func(e *v1.Service) string { return e.Name }),
    		}
    	})
    	Workloads.Register(func(e krt.Event[Workload]) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. src/internal/diff/diff.go

    func Diff(oldName string, old []byte, newName string, new []byte) []byte {
    	if bytes.Equal(old, new) {
    		return nil
    	}
    	x := lines(old)
    	y := lines(new)
    
    	// Print diff header.
    	var out bytes.Buffer
    	fmt.Fprintf(&out, "diff %s %s\n", oldName, newName)
    	fmt.Fprintf(&out, "--- %s\n", oldName)
    	fmt.Fprintf(&out, "+++ %s\n", newName)
    
    	// Loop over matches to consider,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 14:13:04 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  9. pkg/registry/rbac/rest/storage_rbac.go

    func primeAggregatedClusterRoles(clusterRolesToAggregate map[string]string, clusterRoleClient rbacv1client.ClusterRolesGetter) error {
    	for oldName, newName := range clusterRolesToAggregate {
    		_, err := clusterRoleClient.ClusterRoles().Get(context.TODO(), newName, metav1.GetOptions{})
    		if err == nil {
    			continue
    		}
    		if !apierrors.IsNotFound(err) {
    			return err
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 14 03:25:19 UTC 2022
    - 18.5K bytes
    - Viewed (0)
  10. tests/migrate_test.go

    		}
    	}
    
    	type NewColumnStruct struct {
    		gorm.Model
    		Name    string
    		NewName string
    	}
    
    	if err := DB.Table("column_structs").Migrator().AddColumn(&NewColumnStruct{}, "NewName"); err != nil {
    		t.Fatalf("Failed to add column, got %v", err)
    	}
    
    	if !DB.Table("column_structs").Migrator().HasColumn(&NewColumnStruct{}, "NewName") {
    		t.Fatalf("Failed to find added column")
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
Back to top