Skip to content

Commit

Permalink
Update VPA Kubernetes dependencies to 1.23.4
Browse files Browse the repository at this point in the history
Signed-off-by: Kay Yan <kay.yan@daocloud.io>
  • Loading branch information
yankay committed Mar 15, 2022
1 parent 6126b24 commit 921c0af
Show file tree
Hide file tree
Showing 2,731 changed files with 366,019 additions and 169,852 deletions.
27 changes: 12 additions & 15 deletions vertical-pod-autoscaler/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,16 @@ module k8s.io/autoscaler/vertical-pod-autoscaler
go 1.16

require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/golang/mock v1.3.1
github.com/prometheus/client_golang v1.0.0
github.com/prometheus/common v0.4.1
github.com/prometheus/procfs v0.0.5 // indirect
github.com/stretchr/testify v1.4.0
golang.org/x/crypto v0.0.0-20200221231518-2aa609cf4a9d // indirect
golang.org/x/time v0.0.0-20191024005414-555d28b269f0
k8s.io/api v0.18.3
k8s.io/apimachinery v0.18.3
k8s.io/client-go v0.18.3
k8s.io/component-base v0.18.3
k8s.io/klog/v2 v2.9.0
k8s.io/metrics v0.18.3
k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89
github.com/golang/mock v1.6.0
github.com/prometheus/client_golang v1.12.1
github.com/prometheus/common v0.32.1
github.com/stretchr/testify v1.7.0
golang.org/x/time v0.0.0-20220224211638-0e9765cccd65
k8s.io/api v0.23.4
k8s.io/apimachinery v0.23.4
k8s.io/client-go v0.23.4
k8s.io/component-base v0.23.4
k8s.io/klog/v2 v2.40.1
k8s.io/metrics v0.23.4
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9
)
816 changes: 700 additions & 116 deletions vertical-pod-autoscaler/go.sum

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (
"testing"
"time"

"github.com/prometheus/client_golang/api"
prometheusv1 "github.com/prometheus/client_golang/api/prometheus/v1"
prommodel "github.com/prometheus/common/model"
"github.com/stretchr/testify/assert"
Expand Down Expand Up @@ -83,26 +82,38 @@ func (m *mockPrometheusAPI) Flags(ctx context.Context) (prometheusv1.FlagsResult
panic("not implemented")
}

func (m *mockPrometheusAPI) LabelNames(ctx context.Context) ([]string, error) {
func (m *mockPrometheusAPI) LabelNames(ctx context.Context, matches []string, startTime time.Time, endTime time.Time) ([]string, prometheusv1.Warnings, error) {
panic("not implemented")
}

func (m *mockPrometheusAPI) LabelValues(ctx context.Context, label string) (prommodel.LabelValues, error) {
func (m *mockPrometheusAPI) LabelValues(ctx context.Context, label string, matches []string, startTime time.Time, endTime time.Time) (prommodel.LabelValues, prometheusv1.Warnings, error) {
panic("not implemented")
}

func (m *mockPrometheusAPI) Series(ctx context.Context, matches []string, startTime time.Time, endTime time.Time) ([]prommodel.LabelSet, api.Warnings, error) {
func (m *mockPrometheusAPI) QueryExemplars(ctx context.Context, query string, startTime time.Time, endTime time.Time) ([]prometheusv1.ExemplarQueryResult, error) {
panic("not implemented")
}

func (m *mockPrometheusAPI) Rules(ctx context.Context) (prometheusv1.RulesResult, error) {
func (m *mockPrometheusAPI) Buildinfo(ctx context.Context) (prometheusv1.BuildinfoResult, error) {
panic("not implemented")
}

func (m *mockPrometheusAPI) Runtimeinfo(ctx context.Context) (prometheusv1.RuntimeinfoResult, error) {
panic("not implemented")
}

func (m *mockPrometheusAPI) Series(ctx context.Context, matches []string, startTime time.Time, endTime time.Time) ([]prommodel.LabelSet, prometheusv1.Warnings, error) {
panic("not implemented")
}

func (m *mockPrometheusAPI) Snapshot(ctx context.Context, skipHead bool) (prometheusv1.SnapshotResult, error) {
panic("not implemented")
}

func (m *mockPrometheusAPI) Rules(ctx context.Context) (prometheusv1.RulesResult, error) {
panic("not implemented")
}

func (m *mockPrometheusAPI) Targets(ctx context.Context) (prometheusv1.TargetsResult, error) {
panic("not implemented")
}
Expand All @@ -111,7 +122,19 @@ func (m *mockPrometheusAPI) TargetsMetadata(ctx context.Context, _, _, _ string)
panic("not implemented")
}

func (m *mockPrometheusAPI) Query(ctx context.Context, query string, ts time.Time) (prommodel.Value, api.Warnings, error) {
func (m *mockPrometheusAPI) Metadata(ctx context.Context, metric string, limit string) (map[string][]Metadata, error) {
panic("not implemented")
}

func (m *mockPrometheusAPI) TSDB(ctx context.Context) (prometheusv1.TSDBResult, error) {
panic("not implemented")
}

func (m *mockPrometheusAPI) WalReplay(ctx context.Context) (prometheusv1.WalReplayStatus, error) {
panic("not implemented")
}

func (m *mockPrometheusAPI) Query(ctx context.Context, query string, ts time.Time) (prommodel.Value, prometheusv1.Warnings, error) {
args := m.Called(ctx, query, ts)
var returnArg prommodel.Value
if args.Get(0) != nil {
Expand All @@ -120,7 +143,7 @@ func (m *mockPrometheusAPI) Query(ctx context.Context, query string, ts time.Tim
return returnArg, nil, args.Error(1)
}

func (m *mockPrometheusAPI) QueryRange(ctx context.Context, query string, r prometheusv1.Range) (prommodel.Value, api.Warnings, error) {
func (m *mockPrometheusAPI) QueryRange(ctx context.Context, query string, r prometheusv1.Range) (prommodel.Value, prometheusv1.Warnings, error) {
args := m.Called(ctx, query, r)
var returnArg prommodel.Value
if args.Get(0) != nil {
Expand Down
21 changes: 21 additions & 0 deletions vertical-pod-autoscaler/vendor/github.com/blang/semver/.travis.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file.
Loading

0 comments on commit 921c0af

Please sign in to comment.