Use new kubenetes-incubator version of boilerplate

The boilerplate moved to
github.com/kuberntes-incubator/custom-metrics-apiserver, so we should
use that now.
This commit is contained in:
Solly Ross 2017-08-02 15:20:19 -04:00
parent 766cd07c3a
commit 703e9ecf09
7 changed files with 16 additions and 16 deletions

View file

@ -30,10 +30,10 @@ import (
"k8s.io/client-go/rest" "k8s.io/client-go/rest"
"k8s.io/client-go/tools/clientcmd" "k8s.io/client-go/tools/clientcmd"
"github.com/directxman12/custom-metrics-boilerplate/pkg/cmd/server"
prom "github.com/directxman12/k8s-prometheus-adapter/pkg/client" prom "github.com/directxman12/k8s-prometheus-adapter/pkg/client"
mprom "github.com/directxman12/k8s-prometheus-adapter/pkg/client/metrics" mprom "github.com/directxman12/k8s-prometheus-adapter/pkg/client/metrics"
cmprov "github.com/directxman12/k8s-prometheus-adapter/pkg/custom-provider" cmprov "github.com/directxman12/k8s-prometheus-adapter/pkg/custom-provider"
"github.com/kubernetes-incubator/custom-metrics-apiserver/pkg/cmd/server"
) )
// NewCommandStartPrometheusAdapterServer provides a CLI handler for 'start master' command // NewCommandStartPrometheusAdapterServer provides a CLI handler for 'start master' command

20
glide.lock generated
View file

@ -1,5 +1,5 @@
hash: 4432fd0d13b3a79f1febb9040cad9576793e44ab1c4d6e40abc664ad0582999f hash: 815ac74b9c61bedb6cc960ca8b9de13ff7584a66f1a0f9fdb80c5c49986a10cf
updated: 2017-06-27T18:59:14.961201169-04:00 updated: 2017-08-02T15:16:48.029828608-04:00
imports: imports:
- name: bitbucket.org/ww/goautoneg - name: bitbucket.org/ww/goautoneg
version: 75cd24fc2f2c2a2088577d12123ddee5f54e0675 version: 75cd24fc2f2c2a2088577d12123ddee5f54e0675
@ -82,14 +82,6 @@ imports:
version: 5215b55f46b2b919f50a1df0eaa5886afe4e3b3d version: 5215b55f46b2b919f50a1df0eaa5886afe4e3b3d
subpackages: subpackages:
- spew - spew
- name: github.com/directxman12/custom-metrics-boilerplate
version: 066dd03155e1cdb3dfa513f8bdcb3a30edda1137
subpackages:
- pkg/apiserver
- pkg/apiserver/installer
- pkg/cmd/server
- pkg/provider
- pkg/registry/custom_metrics
- name: github.com/docker/distribution - name: github.com/docker/distribution
version: cd27f179f2c10c5d300e6d09025b538c475b0d51 version: cd27f179f2c10c5d300e6d09025b538c475b0d51
subpackages: subpackages:
@ -163,6 +155,14 @@ imports:
version: 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75 version: 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75
- name: github.com/juju/ratelimit - name: github.com/juju/ratelimit
version: 77ed1c8a01217656d2080ad51981f6e99adaa177 version: 77ed1c8a01217656d2080ad51981f6e99adaa177
- name: github.com/kubernetes-incubator/custom-metrics-apiserver
version: e17b36ca6ebbec8acbc76d729d24058a09d042ee
subpackages:
- pkg/apiserver
- pkg/apiserver/installer
- pkg/cmd/server
- pkg/provider
- pkg/registry/custom_metrics
- name: github.com/mailru/easyjson - name: github.com/mailru/easyjson
version: d5b7844b561a7bc640052f1b935f7b800330d7e0 version: d5b7844b561a7bc640052f1b935f7b800330d7e0
subpackages: subpackages:

View file

@ -14,7 +14,7 @@ import:
- kubernetes/typed/core/v1 - kubernetes/typed/core/v1
- rest - rest
- tools/clientcmd - tools/clientcmd
- package: github.com/directxman12/custom-metrics-boilerplate - package: github.com/kubernetes-incubator/custom-metrics-apiserver
subpackages: subpackages:
- pkg/cmd/server - pkg/cmd/server
- pkg/provider - pkg/provider

View file

@ -21,7 +21,7 @@ import (
"strings" "strings"
"sync" "sync"
"github.com/directxman12/custom-metrics-boilerplate/pkg/provider" "github.com/kubernetes-incubator/custom-metrics-apiserver/pkg/provider"
apimeta "k8s.io/apimachinery/pkg/api/meta" apimeta "k8s.io/apimachinery/pkg/api/meta"
"k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/runtime/schema"

View file

@ -20,7 +20,7 @@ import (
"sort" "sort"
"testing" "testing"
"github.com/directxman12/custom-metrics-boilerplate/pkg/provider" "github.com/kubernetes-incubator/custom-metrics-apiserver/pkg/provider"
pmodel "github.com/prometheus/common/model" pmodel "github.com/prometheus/common/model"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"

View file

@ -23,7 +23,7 @@ import (
"net/http" "net/http"
"time" "time"
"github.com/directxman12/custom-metrics-boilerplate/pkg/provider" "github.com/kubernetes-incubator/custom-metrics-apiserver/pkg/provider"
pmodel "github.com/prometheus/common/model" pmodel "github.com/prometheus/common/model"
apierr "k8s.io/apimachinery/pkg/api/errors" apierr "k8s.io/apimachinery/pkg/api/errors"
apimeta "k8s.io/apimachinery/pkg/api/meta" apimeta "k8s.io/apimachinery/pkg/api/meta"

View file

@ -23,7 +23,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/directxman12/custom-metrics-boilerplate/pkg/provider" "github.com/kubernetes-incubator/custom-metrics-apiserver/pkg/provider"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/runtime/schema"