mirror of
https://github.com/kubernetes/client-go.git
synced 2025-06-25 22:51:40 +00:00
Merge pull request #70437 from liggitt/get-scale
Add GetScale/UpdateScale methods to apps/v1 clients Kubernetes-commit: b04f83dcd811ea09c91cd1c845e836235d48d5d2
This commit is contained in:
commit
ddab801f99
168
Godeps/Godeps.json
generated
168
Godeps/Godeps.json
generated
@ -280,339 +280,339 @@
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/admissionregistration/v1alpha1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/admissionregistration/v1beta1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/apps/v1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/apps/v1beta1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/apps/v1beta2",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/auditregistration/v1alpha1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/authentication/v1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/authentication/v1beta1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/authorization/v1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/authorization/v1beta1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/autoscaling/v1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/autoscaling/v2beta1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/autoscaling/v2beta2",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/batch/v1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/batch/v1beta1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/batch/v2alpha1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/certificates/v1beta1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/coordination/v1beta1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/core/v1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/events/v1beta1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/extensions/v1beta1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/imagepolicy/v1alpha1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/networking/v1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/policy/v1beta1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/rbac/v1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/rbac/v1alpha1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/rbac/v1beta1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/scheduling/v1alpha1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/scheduling/v1beta1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/settings/v1alpha1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/storage/v1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/storage/v1alpha1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/storage/v1beta1",
|
||||
"Rev": "cbc8549839addbdb0445adb168dc8b80c5e97b67"
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/api/apitesting",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/api/apitesting/fuzzer",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/api/apitesting/roundtrip",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/api/equality",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/api/errors",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/api/meta",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/api/resource",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/fuzzer",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/internalversion",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1beta1",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/conversion",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/fields",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/labels",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/runtime",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/runtime/schema",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/selection",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/types",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/cache",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/clock",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/diff",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/errors",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/framer",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream/spdy",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/intstr",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/json",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/naming",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/net",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/remotecommand",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/runtime",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/sets",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/validation",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/validation/field",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/wait",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/yaml",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/version",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/watch",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/netutil",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect",
|
||||
"Rev": "639bbbbe719984d0fcb5cd5e6ade40fb75bf755e"
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/kube-openapi/pkg/util/proto",
|
||||
|
@ -20,6 +20,7 @@ package v1
|
||||
|
||||
import (
|
||||
v1 "k8s.io/api/apps/v1"
|
||||
autoscalingv1 "k8s.io/api/autoscaling/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
types "k8s.io/apimachinery/pkg/types"
|
||||
watch "k8s.io/apimachinery/pkg/watch"
|
||||
@ -44,6 +45,9 @@ type DeploymentInterface interface {
|
||||
List(opts metav1.ListOptions) (*v1.DeploymentList, error)
|
||||
Watch(opts metav1.ListOptions) (watch.Interface, error)
|
||||
Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Deployment, err error)
|
||||
GetScale(deploymentName string, options metav1.GetOptions) (*autoscalingv1.Scale, error)
|
||||
UpdateScale(deploymentName string, scale *autoscalingv1.Scale) (*autoscalingv1.Scale, error)
|
||||
|
||||
DeploymentExpansion
|
||||
}
|
||||
|
||||
@ -172,3 +176,31 @@ func (c *deployments) Patch(name string, pt types.PatchType, data []byte, subres
|
||||
Into(result)
|
||||
return
|
||||
}
|
||||
|
||||
// GetScale takes name of the deployment, and returns the corresponding autoscalingv1.Scale object, and an error if there is any.
|
||||
func (c *deployments) GetScale(deploymentName string, options metav1.GetOptions) (result *autoscalingv1.Scale, err error) {
|
||||
result = &autoscalingv1.Scale{}
|
||||
err = c.client.Get().
|
||||
Namespace(c.ns).
|
||||
Resource("deployments").
|
||||
Name(deploymentName).
|
||||
SubResource("scale").
|
||||
VersionedParams(&options, scheme.ParameterCodec).
|
||||
Do().
|
||||
Into(result)
|
||||
return
|
||||
}
|
||||
|
||||
// UpdateScale takes the top resource name and the representation of a scale and updates it. Returns the server's representation of the scale, and an error, if there is any.
|
||||
func (c *deployments) UpdateScale(deploymentName string, scale *autoscalingv1.Scale) (result *autoscalingv1.Scale, err error) {
|
||||
result = &autoscalingv1.Scale{}
|
||||
err = c.client.Put().
|
||||
Namespace(c.ns).
|
||||
Resource("deployments").
|
||||
Name(deploymentName).
|
||||
SubResource("scale").
|
||||
Body(scale).
|
||||
Do().
|
||||
Into(result)
|
||||
return
|
||||
}
|
||||
|
@ -20,6 +20,7 @@ package fake
|
||||
|
||||
import (
|
||||
appsv1 "k8s.io/api/apps/v1"
|
||||
autoscalingv1 "k8s.io/api/autoscaling/v1"
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
labels "k8s.io/apimachinery/pkg/labels"
|
||||
schema "k8s.io/apimachinery/pkg/runtime/schema"
|
||||
@ -138,3 +139,25 @@ func (c *FakeDeployments) Patch(name string, pt types.PatchType, data []byte, su
|
||||
}
|
||||
return obj.(*appsv1.Deployment), err
|
||||
}
|
||||
|
||||
// GetScale takes name of the deployment, and returns the corresponding scale object, and an error if there is any.
|
||||
func (c *FakeDeployments) GetScale(deploymentName string, options v1.GetOptions) (result *autoscalingv1.Scale, err error) {
|
||||
obj, err := c.Fake.
|
||||
Invokes(testing.NewGetSubresourceAction(deploymentsResource, c.ns, "scale", deploymentName), &autoscalingv1.Scale{})
|
||||
|
||||
if obj == nil {
|
||||
return nil, err
|
||||
}
|
||||
return obj.(*autoscalingv1.Scale), err
|
||||
}
|
||||
|
||||
// UpdateScale takes the representation of a scale and updates it. Returns the server's representation of the scale, and an error, if there is any.
|
||||
func (c *FakeDeployments) UpdateScale(deploymentName string, scale *autoscalingv1.Scale) (result *autoscalingv1.Scale, err error) {
|
||||
obj, err := c.Fake.
|
||||
Invokes(testing.NewUpdateSubresourceAction(deploymentsResource, "scale", c.ns, scale), &autoscalingv1.Scale{})
|
||||
|
||||
if obj == nil {
|
||||
return nil, err
|
||||
}
|
||||
return obj.(*autoscalingv1.Scale), err
|
||||
}
|
||||
|
@ -20,6 +20,7 @@ package fake
|
||||
|
||||
import (
|
||||
appsv1 "k8s.io/api/apps/v1"
|
||||
autoscalingv1 "k8s.io/api/autoscaling/v1"
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
labels "k8s.io/apimachinery/pkg/labels"
|
||||
schema "k8s.io/apimachinery/pkg/runtime/schema"
|
||||
@ -138,3 +139,25 @@ func (c *FakeReplicaSets) Patch(name string, pt types.PatchType, data []byte, su
|
||||
}
|
||||
return obj.(*appsv1.ReplicaSet), err
|
||||
}
|
||||
|
||||
// GetScale takes name of the replicaSet, and returns the corresponding scale object, and an error if there is any.
|
||||
func (c *FakeReplicaSets) GetScale(replicaSetName string, options v1.GetOptions) (result *autoscalingv1.Scale, err error) {
|
||||
obj, err := c.Fake.
|
||||
Invokes(testing.NewGetSubresourceAction(replicasetsResource, c.ns, "scale", replicaSetName), &autoscalingv1.Scale{})
|
||||
|
||||
if obj == nil {
|
||||
return nil, err
|
||||
}
|
||||
return obj.(*autoscalingv1.Scale), err
|
||||
}
|
||||
|
||||
// UpdateScale takes the representation of a scale and updates it. Returns the server's representation of the scale, and an error, if there is any.
|
||||
func (c *FakeReplicaSets) UpdateScale(replicaSetName string, scale *autoscalingv1.Scale) (result *autoscalingv1.Scale, err error) {
|
||||
obj, err := c.Fake.
|
||||
Invokes(testing.NewUpdateSubresourceAction(replicasetsResource, "scale", c.ns, scale), &autoscalingv1.Scale{})
|
||||
|
||||
if obj == nil {
|
||||
return nil, err
|
||||
}
|
||||
return obj.(*autoscalingv1.Scale), err
|
||||
}
|
||||
|
@ -20,6 +20,7 @@ package fake
|
||||
|
||||
import (
|
||||
appsv1 "k8s.io/api/apps/v1"
|
||||
autoscalingv1 "k8s.io/api/autoscaling/v1"
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
labels "k8s.io/apimachinery/pkg/labels"
|
||||
schema "k8s.io/apimachinery/pkg/runtime/schema"
|
||||
@ -138,3 +139,25 @@ func (c *FakeStatefulSets) Patch(name string, pt types.PatchType, data []byte, s
|
||||
}
|
||||
return obj.(*appsv1.StatefulSet), err
|
||||
}
|
||||
|
||||
// GetScale takes name of the statefulSet, and returns the corresponding scale object, and an error if there is any.
|
||||
func (c *FakeStatefulSets) GetScale(statefulSetName string, options v1.GetOptions) (result *autoscalingv1.Scale, err error) {
|
||||
obj, err := c.Fake.
|
||||
Invokes(testing.NewGetSubresourceAction(statefulsetsResource, c.ns, "scale", statefulSetName), &autoscalingv1.Scale{})
|
||||
|
||||
if obj == nil {
|
||||
return nil, err
|
||||
}
|
||||
return obj.(*autoscalingv1.Scale), err
|
||||
}
|
||||
|
||||
// UpdateScale takes the representation of a scale and updates it. Returns the server's representation of the scale, and an error, if there is any.
|
||||
func (c *FakeStatefulSets) UpdateScale(statefulSetName string, scale *autoscalingv1.Scale) (result *autoscalingv1.Scale, err error) {
|
||||
obj, err := c.Fake.
|
||||
Invokes(testing.NewUpdateSubresourceAction(statefulsetsResource, "scale", c.ns, scale), &autoscalingv1.Scale{})
|
||||
|
||||
if obj == nil {
|
||||
return nil, err
|
||||
}
|
||||
return obj.(*autoscalingv1.Scale), err
|
||||
}
|
||||
|
@ -20,6 +20,7 @@ package v1
|
||||
|
||||
import (
|
||||
v1 "k8s.io/api/apps/v1"
|
||||
autoscalingv1 "k8s.io/api/autoscaling/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
types "k8s.io/apimachinery/pkg/types"
|
||||
watch "k8s.io/apimachinery/pkg/watch"
|
||||
@ -44,6 +45,9 @@ type ReplicaSetInterface interface {
|
||||
List(opts metav1.ListOptions) (*v1.ReplicaSetList, error)
|
||||
Watch(opts metav1.ListOptions) (watch.Interface, error)
|
||||
Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ReplicaSet, err error)
|
||||
GetScale(replicaSetName string, options metav1.GetOptions) (*autoscalingv1.Scale, error)
|
||||
UpdateScale(replicaSetName string, scale *autoscalingv1.Scale) (*autoscalingv1.Scale, error)
|
||||
|
||||
ReplicaSetExpansion
|
||||
}
|
||||
|
||||
@ -172,3 +176,31 @@ func (c *replicaSets) Patch(name string, pt types.PatchType, data []byte, subres
|
||||
Into(result)
|
||||
return
|
||||
}
|
||||
|
||||
// GetScale takes name of the replicaSet, and returns the corresponding autoscalingv1.Scale object, and an error if there is any.
|
||||
func (c *replicaSets) GetScale(replicaSetName string, options metav1.GetOptions) (result *autoscalingv1.Scale, err error) {
|
||||
result = &autoscalingv1.Scale{}
|
||||
err = c.client.Get().
|
||||
Namespace(c.ns).
|
||||
Resource("replicasets").
|
||||
Name(replicaSetName).
|
||||
SubResource("scale").
|
||||
VersionedParams(&options, scheme.ParameterCodec).
|
||||
Do().
|
||||
Into(result)
|
||||
return
|
||||
}
|
||||
|
||||
// UpdateScale takes the top resource name and the representation of a scale and updates it. Returns the server's representation of the scale, and an error, if there is any.
|
||||
func (c *replicaSets) UpdateScale(replicaSetName string, scale *autoscalingv1.Scale) (result *autoscalingv1.Scale, err error) {
|
||||
result = &autoscalingv1.Scale{}
|
||||
err = c.client.Put().
|
||||
Namespace(c.ns).
|
||||
Resource("replicasets").
|
||||
Name(replicaSetName).
|
||||
SubResource("scale").
|
||||
Body(scale).
|
||||
Do().
|
||||
Into(result)
|
||||
return
|
||||
}
|
||||
|
@ -20,6 +20,7 @@ package v1
|
||||
|
||||
import (
|
||||
v1 "k8s.io/api/apps/v1"
|
||||
autoscalingv1 "k8s.io/api/autoscaling/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
types "k8s.io/apimachinery/pkg/types"
|
||||
watch "k8s.io/apimachinery/pkg/watch"
|
||||
@ -44,6 +45,9 @@ type StatefulSetInterface interface {
|
||||
List(opts metav1.ListOptions) (*v1.StatefulSetList, error)
|
||||
Watch(opts metav1.ListOptions) (watch.Interface, error)
|
||||
Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.StatefulSet, err error)
|
||||
GetScale(statefulSetName string, options metav1.GetOptions) (*autoscalingv1.Scale, error)
|
||||
UpdateScale(statefulSetName string, scale *autoscalingv1.Scale) (*autoscalingv1.Scale, error)
|
||||
|
||||
StatefulSetExpansion
|
||||
}
|
||||
|
||||
@ -172,3 +176,31 @@ func (c *statefulSets) Patch(name string, pt types.PatchType, data []byte, subre
|
||||
Into(result)
|
||||
return
|
||||
}
|
||||
|
||||
// GetScale takes name of the statefulSet, and returns the corresponding autoscalingv1.Scale object, and an error if there is any.
|
||||
func (c *statefulSets) GetScale(statefulSetName string, options metav1.GetOptions) (result *autoscalingv1.Scale, err error) {
|
||||
result = &autoscalingv1.Scale{}
|
||||
err = c.client.Get().
|
||||
Namespace(c.ns).
|
||||
Resource("statefulsets").
|
||||
Name(statefulSetName).
|
||||
SubResource("scale").
|
||||
VersionedParams(&options, scheme.ParameterCodec).
|
||||
Do().
|
||||
Into(result)
|
||||
return
|
||||
}
|
||||
|
||||
// UpdateScale takes the top resource name and the representation of a scale and updates it. Returns the server's representation of the scale, and an error, if there is any.
|
||||
func (c *statefulSets) UpdateScale(statefulSetName string, scale *autoscalingv1.Scale) (result *autoscalingv1.Scale, err error) {
|
||||
result = &autoscalingv1.Scale{}
|
||||
err = c.client.Put().
|
||||
Namespace(c.ns).
|
||||
Resource("statefulsets").
|
||||
Name(statefulSetName).
|
||||
SubResource("scale").
|
||||
Body(scale).
|
||||
Do().
|
||||
Into(result)
|
||||
return
|
||||
}
|
||||
|
@ -19,8 +19,8 @@ limitations under the License.
|
||||
package fake
|
||||
|
||||
import (
|
||||
autoscalingv1 "k8s.io/api/autoscaling/v1"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
v1beta1 "k8s.io/api/extensions/v1beta1"
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
labels "k8s.io/apimachinery/pkg/labels"
|
||||
schema "k8s.io/apimachinery/pkg/runtime/schema"
|
||||
@ -141,23 +141,23 @@ func (c *FakeReplicationControllers) Patch(name string, pt types.PatchType, data
|
||||
}
|
||||
|
||||
// GetScale takes name of the replicationController, and returns the corresponding scale object, and an error if there is any.
|
||||
func (c *FakeReplicationControllers) GetScale(replicationControllerName string, options v1.GetOptions) (result *v1beta1.Scale, err error) {
|
||||
func (c *FakeReplicationControllers) GetScale(replicationControllerName string, options v1.GetOptions) (result *autoscalingv1.Scale, err error) {
|
||||
obj, err := c.Fake.
|
||||
Invokes(testing.NewGetSubresourceAction(replicationcontrollersResource, c.ns, "scale", replicationControllerName), &v1beta1.Scale{})
|
||||
Invokes(testing.NewGetSubresourceAction(replicationcontrollersResource, c.ns, "scale", replicationControllerName), &autoscalingv1.Scale{})
|
||||
|
||||
if obj == nil {
|
||||
return nil, err
|
||||
}
|
||||
return obj.(*v1beta1.Scale), err
|
||||
return obj.(*autoscalingv1.Scale), err
|
||||
}
|
||||
|
||||
// UpdateScale takes the representation of a scale and updates it. Returns the server's representation of the scale, and an error, if there is any.
|
||||
func (c *FakeReplicationControllers) UpdateScale(replicationControllerName string, scale *v1beta1.Scale) (result *v1beta1.Scale, err error) {
|
||||
func (c *FakeReplicationControllers) UpdateScale(replicationControllerName string, scale *autoscalingv1.Scale) (result *autoscalingv1.Scale, err error) {
|
||||
obj, err := c.Fake.
|
||||
Invokes(testing.NewUpdateSubresourceAction(replicationcontrollersResource, "scale", c.ns, scale), &v1beta1.Scale{})
|
||||
Invokes(testing.NewUpdateSubresourceAction(replicationcontrollersResource, "scale", c.ns, scale), &autoscalingv1.Scale{})
|
||||
|
||||
if obj == nil {
|
||||
return nil, err
|
||||
}
|
||||
return obj.(*v1beta1.Scale), err
|
||||
return obj.(*autoscalingv1.Scale), err
|
||||
}
|
||||
|
@ -19,8 +19,8 @@ limitations under the License.
|
||||
package v1
|
||||
|
||||
import (
|
||||
autoscalingv1 "k8s.io/api/autoscaling/v1"
|
||||
v1 "k8s.io/api/core/v1"
|
||||
v1beta1 "k8s.io/api/extensions/v1beta1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
types "k8s.io/apimachinery/pkg/types"
|
||||
watch "k8s.io/apimachinery/pkg/watch"
|
||||
@ -45,8 +45,8 @@ type ReplicationControllerInterface interface {
|
||||
List(opts metav1.ListOptions) (*v1.ReplicationControllerList, error)
|
||||
Watch(opts metav1.ListOptions) (watch.Interface, error)
|
||||
Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ReplicationController, err error)
|
||||
GetScale(replicationControllerName string, options metav1.GetOptions) (*v1beta1.Scale, error)
|
||||
UpdateScale(replicationControllerName string, scale *v1beta1.Scale) (*v1beta1.Scale, error)
|
||||
GetScale(replicationControllerName string, options metav1.GetOptions) (*autoscalingv1.Scale, error)
|
||||
UpdateScale(replicationControllerName string, scale *autoscalingv1.Scale) (*autoscalingv1.Scale, error)
|
||||
|
||||
ReplicationControllerExpansion
|
||||
}
|
||||
@ -177,9 +177,9 @@ func (c *replicationControllers) Patch(name string, pt types.PatchType, data []b
|
||||
return
|
||||
}
|
||||
|
||||
// GetScale takes name of the replicationController, and returns the corresponding v1beta1.Scale object, and an error if there is any.
|
||||
func (c *replicationControllers) GetScale(replicationControllerName string, options metav1.GetOptions) (result *v1beta1.Scale, err error) {
|
||||
result = &v1beta1.Scale{}
|
||||
// GetScale takes name of the replicationController, and returns the corresponding autoscalingv1.Scale object, and an error if there is any.
|
||||
func (c *replicationControllers) GetScale(replicationControllerName string, options metav1.GetOptions) (result *autoscalingv1.Scale, err error) {
|
||||
result = &autoscalingv1.Scale{}
|
||||
err = c.client.Get().
|
||||
Namespace(c.ns).
|
||||
Resource("replicationcontrollers").
|
||||
@ -192,8 +192,8 @@ func (c *replicationControllers) GetScale(replicationControllerName string, opti
|
||||
}
|
||||
|
||||
// UpdateScale takes the top resource name and the representation of a scale and updates it. Returns the server's representation of the scale, and an error, if there is any.
|
||||
func (c *replicationControllers) UpdateScale(replicationControllerName string, scale *v1beta1.Scale) (result *v1beta1.Scale, err error) {
|
||||
result = &v1beta1.Scale{}
|
||||
func (c *replicationControllers) UpdateScale(replicationControllerName string, scale *autoscalingv1.Scale) (result *autoscalingv1.Scale, err error) {
|
||||
result = &autoscalingv1.Scale{}
|
||||
err = c.client.Put().
|
||||
Namespace(c.ns).
|
||||
Resource("replicationcontrollers").
|
||||
|
Loading…
Reference in New Issue
Block a user