Rename custom metrics API to custom.metrics.k8s.io

This renames custom-metrics.metrics.k8s.io to custom.metrics.k8s.io,
in order to reduce stutter in the API name.
This commit is contained in:
Solly Ross 2017-09-01 15:06:07 -04:00
parent 89a56a3cee
commit 48cca6b6cb
3 changed files with 3 additions and 3 deletions

View File

@ -15,5 +15,5 @@ limitations under the License.
*/
// +k8s:deepcopy-gen=package,register
// +groupName=custom-metrics.metrics.k8s.io
// +groupName=custom.metrics.k8s.io
package custom_metrics

View File

@ -22,7 +22,7 @@ import (
)
// GroupName is the group name use in this package
const GroupName = "custom-metrics.metrics.k8s.io"
const GroupName = "custom.metrics.k8s.io"
// SchemeGroupVersion is group version used to register these objects
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

View File

@ -23,7 +23,7 @@ import (
)
// GroupName is the group name use in this package
const GroupName = "custom-metrics.metrics.k8s.io"
const GroupName = "custom.metrics.k8s.io"
// SchemeGroupVersion is group version used to register these objects
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}