func IsExtendedResourceName(name v1.ResourceName) bool {
	if IsNativeResource(name) || strings.HasPrefix(string(name), v1.DefaultResourceRequestsPrefix) {
		return false
	}
	// Ensure it satisfies the rules in IsQualifiedName() after converted into quota resource name
	nameForQuota := fmt.Sprintf("%s%s", v1.DefaultResourceRequestsPrefix, string(name))
	if errs := validation.IsQualifiedName(string(nameForQuota)); len(errs) != 0 {
		return false
	}
	return true
}
// IsExtendedResourceName returns true if:
// 1. the resource name is not in the default namespace;
// 2. resource name does not have "requests." prefix,
// to avoid confusion with the convention in quota
// 3. it satisfies the rules in IsQualifiedName() after converted into quota resource name
IsExtendedResourceName returns true if:
1. the resource name is not in the default namespace;
2. resource name does not have "requests." prefix,
to avoid confusion with the convention in quota
3. it satisfies the rules in IsQualifiedName() after converted into quota resource name
// IsExtendedResourceName returns true if : // 1 . the resource name is not in the default namespace ; // 2 . resource name does not have " requests . " prefix // to avoid confusion with the convention in quota // 3 . it satisfies the rules in IsQualifiedName () after converted into quota resource name
func IsExtendedResourceName(name v1.ResourceName) bool {
	if IsNativeResource(name) || strings.HasPrefix(string(name), v1.DefaultResourceRequestsPrefix) {
		return false
	}
	nameForQuota := fmt.Sprintf("%s%s", v1.DefaultResourceRequestsPrefix, string(name))
	if errs := validation.IsQualifiedName(string(nameForQuota)); len(errs) != 0 {
		return false
	}
	return true
}
func IsExtendedResourceName ( name v1 . ResourceName ) bool { if IsNativeResource ( name ) || strings . HasPrefix ( string ( name ) , v1 . DefaultResourceRequestsPrefix ) { return false } nameForQuota := fmt . Sprintf ( " " , v1 . DefaultResourceRequestsPrefix , string ( name ) ) if errs := validation . IsQualifiedName ( string ( nameForQuota ) ) ; len ( errs ) != 0 { return false } return true }
IsExtendedResourceName returns true if:
1. the resource name is not in the default namespace;
2. resource name does not have "requests."
IsExtendedResourceName returns true if : 1 . the resource name is not in the default namespace ; 2 . resource name does not have " requests . "
// Ensure it satisfies the rules in IsQualifiedName() after converted into quota resource name