You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: types.go
    path of file: ./repos/storj/satellite/nodeevents
    
    the code of the file until where you have to start completion: // Copyright (C) 2022 Storj Labs, Inc.
// See LICENSE for copying information.

package nodeev
    
func (t Type) Name() (name string, err error) {
	switch t {
	case Online:
		name = onlineName
	case Offline:
		name = offlineName
	case Disqualified:
		name = disqualifiedName
	case UnknownAuditSuspended:
		name = unknownAuditSuspendedName
	case UnknownAuditUnsuspended:
		name = unknownAuditUnsuspendedName
	case OfflineSuspended:
		name = offlineSuspendedName
	case OfflineUnsuspended:
		name = offlineUnsuspendedName
	case BelowMinVersion:
		name = belowMinVersionName
	default:
		err = errs.New("invalid Type")
	}
	return name, err
}