package k8s

import (
	"k8s.io/apimachinery/pkg/runtime/schema"
)

// StaticScaleKindResolver always return autoscaling/v1 Scale
type StaticScaleKindResolver struct{}

func (r *StaticScaleKindResolver) ScaleForResource(resource schema.GroupVersionResource) (schema.GroupVersionKind, error) {
	return schema.GroupVersionKind{
		Group:   "autoscaling",
		Version: "v1",
		Kind:    "Scale",
	}, nil
}
