mirror of
https://github.com/kubernetes/client-go.git
synced 2025-06-24 14:12:18 +00:00
Merge pull request #70550 from liggitt/cleanup-scale-clients
Drop generated clients for Scale types Kubernetes-commit: 9fb1153bd8de677b986d8675e92c4ad6c6030b65
This commit is contained in:
commit
e8d832bc5e
168
Godeps/Godeps.json
generated
168
Godeps/Godeps.json
generated
@ -280,339 +280,339 @@
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/admissionregistration/v1alpha1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/admissionregistration/v1beta1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/apps/v1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/apps/v1beta1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/apps/v1beta2",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/auditregistration/v1alpha1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/authentication/v1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/authentication/v1beta1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/authorization/v1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/authorization/v1beta1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/autoscaling/v1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/autoscaling/v2beta1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/autoscaling/v2beta2",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/batch/v1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/batch/v1beta1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/batch/v2alpha1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/certificates/v1beta1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/coordination/v1beta1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/core/v1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/events/v1beta1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/extensions/v1beta1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/imagepolicy/v1alpha1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/networking/v1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/policy/v1beta1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/rbac/v1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/rbac/v1alpha1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/rbac/v1beta1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/scheduling/v1alpha1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/scheduling/v1beta1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/settings/v1alpha1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/storage/v1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/storage/v1alpha1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api/storage/v1beta1",
|
||||
"Rev": "7c111c89a854dfd8ba47d0bfdbe352bc85951011"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/api/apitesting",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/api/apitesting/fuzzer",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/api/apitesting/roundtrip",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/api/equality",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/api/errors",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/api/meta",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/api/resource",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/fuzzer",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/internalversion",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1beta1",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/conversion",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/fields",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/labels",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/runtime",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/runtime/schema",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/selection",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/types",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/cache",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/clock",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/diff",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/errors",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/framer",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream/spdy",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/intstr",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/json",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/naming",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/net",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/remotecommand",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/runtime",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/sets",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/validation",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/validation/field",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/wait",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/util/yaml",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/version",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/pkg/watch",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/netutil",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect",
|
||||
"Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
|
||||
"Rev": "de5c567eef5cb050b5476484727b074df9185088"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/kube-openapi/pkg/util/proto",
|
||||
|
@ -29,7 +29,6 @@ type AppsV1beta1Interface interface {
|
||||
RESTClient() rest.Interface
|
||||
ControllerRevisionsGetter
|
||||
DeploymentsGetter
|
||||
ScalesGetter
|
||||
StatefulSetsGetter
|
||||
}
|
||||
|
||||
@ -46,10 +45,6 @@ func (c *AppsV1beta1Client) Deployments(namespace string) DeploymentInterface {
|
||||
return newDeployments(c, namespace)
|
||||
}
|
||||
|
||||
func (c *AppsV1beta1Client) Scales(namespace string) ScaleInterface {
|
||||
return newScales(c, namespace)
|
||||
}
|
||||
|
||||
func (c *AppsV1beta1Client) StatefulSets(namespace string) StatefulSetInterface {
|
||||
return newStatefulSets(c, namespace)
|
||||
}
|
||||
|
@ -36,10 +36,6 @@ func (c *FakeAppsV1beta1) Deployments(namespace string) v1beta1.DeploymentInterf
|
||||
return &FakeDeployments{c, namespace}
|
||||
}
|
||||
|
||||
func (c *FakeAppsV1beta1) Scales(namespace string) v1beta1.ScaleInterface {
|
||||
return &FakeScales{c, namespace}
|
||||
}
|
||||
|
||||
func (c *FakeAppsV1beta1) StatefulSets(namespace string) v1beta1.StatefulSetInterface {
|
||||
return &FakeStatefulSets{c, namespace}
|
||||
}
|
||||
|
@ -1,25 +0,0 @@
|
||||
/*
|
||||
Copyright The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Code generated by client-gen. DO NOT EDIT.
|
||||
|
||||
package fake
|
||||
|
||||
// FakeScales implements ScaleInterface
|
||||
type FakeScales struct {
|
||||
Fake *FakeAppsV1beta1
|
||||
ns string
|
||||
}
|
@ -22,6 +22,4 @@ type ControllerRevisionExpansion interface{}
|
||||
|
||||
type DeploymentExpansion interface{}
|
||||
|
||||
type ScaleExpansion interface{}
|
||||
|
||||
type StatefulSetExpansion interface{}
|
||||
|
@ -1,48 +0,0 @@
|
||||
/*
|
||||
Copyright The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Code generated by client-gen. DO NOT EDIT.
|
||||
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
rest "k8s.io/client-go/rest"
|
||||
)
|
||||
|
||||
// ScalesGetter has a method to return a ScaleInterface.
|
||||
// A group's client should implement this interface.
|
||||
type ScalesGetter interface {
|
||||
Scales(namespace string) ScaleInterface
|
||||
}
|
||||
|
||||
// ScaleInterface has methods to work with Scale resources.
|
||||
type ScaleInterface interface {
|
||||
ScaleExpansion
|
||||
}
|
||||
|
||||
// scales implements ScaleInterface
|
||||
type scales struct {
|
||||
client rest.Interface
|
||||
ns string
|
||||
}
|
||||
|
||||
// newScales returns a Scales
|
||||
func newScales(c *AppsV1beta1Client, namespace string) *scales {
|
||||
return &scales{
|
||||
client: c.RESTClient(),
|
||||
ns: namespace,
|
||||
}
|
||||
}
|
@ -31,7 +31,6 @@ type AppsV1beta2Interface interface {
|
||||
DaemonSetsGetter
|
||||
DeploymentsGetter
|
||||
ReplicaSetsGetter
|
||||
ScalesGetter
|
||||
StatefulSetsGetter
|
||||
}
|
||||
|
||||
@ -56,10 +55,6 @@ func (c *AppsV1beta2Client) ReplicaSets(namespace string) ReplicaSetInterface {
|
||||
return newReplicaSets(c, namespace)
|
||||
}
|
||||
|
||||
func (c *AppsV1beta2Client) Scales(namespace string) ScaleInterface {
|
||||
return newScales(c, namespace)
|
||||
}
|
||||
|
||||
func (c *AppsV1beta2Client) StatefulSets(namespace string) StatefulSetInterface {
|
||||
return newStatefulSets(c, namespace)
|
||||
}
|
||||
|
@ -44,10 +44,6 @@ func (c *FakeAppsV1beta2) ReplicaSets(namespace string) v1beta2.ReplicaSetInterf
|
||||
return &FakeReplicaSets{c, namespace}
|
||||
}
|
||||
|
||||
func (c *FakeAppsV1beta2) Scales(namespace string) v1beta2.ScaleInterface {
|
||||
return &FakeScales{c, namespace}
|
||||
}
|
||||
|
||||
func (c *FakeAppsV1beta2) StatefulSets(namespace string) v1beta2.StatefulSetInterface {
|
||||
return &FakeStatefulSets{c, namespace}
|
||||
}
|
||||
|
@ -1,25 +0,0 @@
|
||||
/*
|
||||
Copyright The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Code generated by client-gen. DO NOT EDIT.
|
||||
|
||||
package fake
|
||||
|
||||
// FakeScales implements ScaleInterface
|
||||
type FakeScales struct {
|
||||
Fake *FakeAppsV1beta2
|
||||
ns string
|
||||
}
|
@ -26,6 +26,4 @@ type DeploymentExpansion interface{}
|
||||
|
||||
type ReplicaSetExpansion interface{}
|
||||
|
||||
type ScaleExpansion interface{}
|
||||
|
||||
type StatefulSetExpansion interface{}
|
||||
|
@ -1,48 +0,0 @@
|
||||
/*
|
||||
Copyright The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Code generated by client-gen. DO NOT EDIT.
|
||||
|
||||
package v1beta2
|
||||
|
||||
import (
|
||||
rest "k8s.io/client-go/rest"
|
||||
)
|
||||
|
||||
// ScalesGetter has a method to return a ScaleInterface.
|
||||
// A group's client should implement this interface.
|
||||
type ScalesGetter interface {
|
||||
Scales(namespace string) ScaleInterface
|
||||
}
|
||||
|
||||
// ScaleInterface has methods to work with Scale resources.
|
||||
type ScaleInterface interface {
|
||||
ScaleExpansion
|
||||
}
|
||||
|
||||
// scales implements ScaleInterface
|
||||
type scales struct {
|
||||
client rest.Interface
|
||||
ns string
|
||||
}
|
||||
|
||||
// newScales returns a Scales
|
||||
func newScales(c *AppsV1beta2Client, namespace string) *scales {
|
||||
return &scales{
|
||||
client: c.RESTClient(),
|
||||
ns: namespace,
|
||||
}
|
||||
}
|
@ -32,7 +32,6 @@ type ExtensionsV1beta1Interface interface {
|
||||
IngressesGetter
|
||||
PodSecurityPoliciesGetter
|
||||
ReplicaSetsGetter
|
||||
ScalesGetter
|
||||
}
|
||||
|
||||
// ExtensionsV1beta1Client is used to interact with features provided by the extensions group.
|
||||
@ -60,10 +59,6 @@ func (c *ExtensionsV1beta1Client) ReplicaSets(namespace string) ReplicaSetInterf
|
||||
return newReplicaSets(c, namespace)
|
||||
}
|
||||
|
||||
func (c *ExtensionsV1beta1Client) Scales(namespace string) ScaleInterface {
|
||||
return newScales(c, namespace)
|
||||
}
|
||||
|
||||
// NewForConfig creates a new ExtensionsV1beta1Client for the given config.
|
||||
func NewForConfig(c *rest.Config) (*ExtensionsV1beta1Client, error) {
|
||||
config := *c
|
||||
|
@ -48,10 +48,6 @@ func (c *FakeExtensionsV1beta1) ReplicaSets(namespace string) v1beta1.ReplicaSet
|
||||
return &FakeReplicaSets{c, namespace}
|
||||
}
|
||||
|
||||
func (c *FakeExtensionsV1beta1) Scales(namespace string) v1beta1.ScaleInterface {
|
||||
return &FakeScales{c, namespace}
|
||||
}
|
||||
|
||||
// RESTClient returns a RESTClient that is used to communicate
|
||||
// with API server by this client implementation.
|
||||
func (c *FakeExtensionsV1beta1) RESTClient() rest.Interface {
|
||||
|
@ -1,25 +0,0 @@
|
||||
/*
|
||||
Copyright The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Code generated by client-gen. DO NOT EDIT.
|
||||
|
||||
package fake
|
||||
|
||||
// FakeScales implements ScaleInterface
|
||||
type FakeScales struct {
|
||||
Fake *FakeExtensionsV1beta1
|
||||
ns string
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
/*
|
||||
Copyright 2015 The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
package fake
|
||||
|
||||
import (
|
||||
"k8s.io/api/extensions/v1beta1"
|
||||
"k8s.io/apimachinery/pkg/runtime/schema"
|
||||
core "k8s.io/client-go/testing"
|
||||
)
|
||||
|
||||
func (c *FakeScales) Get(kind string, name string) (result *v1beta1.Scale, err error) {
|
||||
action := core.GetActionImpl{}
|
||||
action.Verb = "get"
|
||||
action.Namespace = c.ns
|
||||
action.Resource = schema.GroupVersionResource{Resource: kind}
|
||||
action.Subresource = "scale"
|
||||
action.Name = name
|
||||
obj, err := c.Fake.Invokes(action, &v1beta1.Scale{})
|
||||
result = obj.(*v1beta1.Scale)
|
||||
return
|
||||
}
|
||||
|
||||
func (c *FakeScales) Update(kind string, scale *v1beta1.Scale) (result *v1beta1.Scale, err error) {
|
||||
action := core.UpdateActionImpl{}
|
||||
action.Verb = "update"
|
||||
action.Namespace = c.ns
|
||||
action.Resource = schema.GroupVersionResource{Resource: kind}
|
||||
action.Subresource = "scale"
|
||||
action.Object = scale
|
||||
obj, err := c.Fake.Invokes(action, scale)
|
||||
result = obj.(*v1beta1.Scale)
|
||||
return
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
/*
|
||||
Copyright The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Code generated by client-gen. DO NOT EDIT.
|
||||
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
rest "k8s.io/client-go/rest"
|
||||
)
|
||||
|
||||
// ScalesGetter has a method to return a ScaleInterface.
|
||||
// A group's client should implement this interface.
|
||||
type ScalesGetter interface {
|
||||
Scales(namespace string) ScaleInterface
|
||||
}
|
||||
|
||||
// ScaleInterface has methods to work with Scale resources.
|
||||
type ScaleInterface interface {
|
||||
ScaleExpansion
|
||||
}
|
||||
|
||||
// scales implements ScaleInterface
|
||||
type scales struct {
|
||||
client rest.Interface
|
||||
ns string
|
||||
}
|
||||
|
||||
// newScales returns a Scales
|
||||
func newScales(c *ExtensionsV1beta1Client, namespace string) *scales {
|
||||
return &scales{
|
||||
client: c.RESTClient(),
|
||||
ns: namespace,
|
||||
}
|
||||
}
|
@ -1,65 +0,0 @@
|
||||
/*
|
||||
Copyright 2016 The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
"k8s.io/api/extensions/v1beta1"
|
||||
"k8s.io/apimachinery/pkg/api/meta"
|
||||
"k8s.io/apimachinery/pkg/runtime/schema"
|
||||
)
|
||||
|
||||
// The ScaleExpansion interface allows manually adding extra methods to the ScaleInterface.
|
||||
type ScaleExpansion interface {
|
||||
Get(kind string, name string) (*v1beta1.Scale, error)
|
||||
Update(kind string, scale *v1beta1.Scale) (*v1beta1.Scale, error)
|
||||
}
|
||||
|
||||
// Get takes the reference to scale subresource and returns the subresource or error, if one occurs.
|
||||
func (c *scales) Get(kind string, name string) (result *v1beta1.Scale, err error) {
|
||||
result = &v1beta1.Scale{}
|
||||
|
||||
// TODO this method needs to take a proper unambiguous kind
|
||||
fullyQualifiedKind := schema.GroupVersionKind{Kind: kind}
|
||||
resource, _ := meta.UnsafeGuessKindToResource(fullyQualifiedKind)
|
||||
|
||||
err = c.client.Get().
|
||||
Namespace(c.ns).
|
||||
Resource(resource.Resource).
|
||||
Name(name).
|
||||
SubResource("scale").
|
||||
Do().
|
||||
Into(result)
|
||||
return
|
||||
}
|
||||
|
||||
func (c *scales) Update(kind string, scale *v1beta1.Scale) (result *v1beta1.Scale, err error) {
|
||||
result = &v1beta1.Scale{}
|
||||
|
||||
// TODO this method needs to take a proper unambiguous kind
|
||||
fullyQualifiedKind := schema.GroupVersionKind{Kind: kind}
|
||||
resource, _ := meta.UnsafeGuessKindToResource(fullyQualifiedKind)
|
||||
|
||||
err = c.client.Put().
|
||||
Namespace(scale.Namespace).
|
||||
Resource(resource.Resource).
|
||||
Name(scale.Name).
|
||||
SubResource("scale").
|
||||
Body(scale).
|
||||
Do().
|
||||
Into(result)
|
||||
return
|
||||
}
|
@ -33,11 +33,3 @@ type DeploymentListerExpansion interface{}
|
||||
// DeploymentNamespaceListerExpansion allows custom methods to be added to
|
||||
// DeploymentNamespaceLister.
|
||||
type DeploymentNamespaceListerExpansion interface{}
|
||||
|
||||
// ScaleListerExpansion allows custom methods to be added to
|
||||
// ScaleLister.
|
||||
type ScaleListerExpansion interface{}
|
||||
|
||||
// ScaleNamespaceListerExpansion allows custom methods to be added to
|
||||
// ScaleNamespaceLister.
|
||||
type ScaleNamespaceListerExpansion interface{}
|
||||
|
@ -1,94 +0,0 @@
|
||||
/*
|
||||
Copyright The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Code generated by lister-gen. DO NOT EDIT.
|
||||
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
v1beta1 "k8s.io/api/apps/v1beta1"
|
||||
"k8s.io/apimachinery/pkg/api/errors"
|
||||
"k8s.io/apimachinery/pkg/labels"
|
||||
"k8s.io/client-go/tools/cache"
|
||||
)
|
||||
|
||||
// ScaleLister helps list Scales.
|
||||
type ScaleLister interface {
|
||||
// List lists all Scales in the indexer.
|
||||
List(selector labels.Selector) (ret []*v1beta1.Scale, err error)
|
||||
// Scales returns an object that can list and get Scales.
|
||||
Scales(namespace string) ScaleNamespaceLister
|
||||
ScaleListerExpansion
|
||||
}
|
||||
|
||||
// scaleLister implements the ScaleLister interface.
|
||||
type scaleLister struct {
|
||||
indexer cache.Indexer
|
||||
}
|
||||
|
||||
// NewScaleLister returns a new ScaleLister.
|
||||
func NewScaleLister(indexer cache.Indexer) ScaleLister {
|
||||
return &scaleLister{indexer: indexer}
|
||||
}
|
||||
|
||||
// List lists all Scales in the indexer.
|
||||
func (s *scaleLister) List(selector labels.Selector) (ret []*v1beta1.Scale, err error) {
|
||||
err = cache.ListAll(s.indexer, selector, func(m interface{}) {
|
||||
ret = append(ret, m.(*v1beta1.Scale))
|
||||
})
|
||||
return ret, err
|
||||
}
|
||||
|
||||
// Scales returns an object that can list and get Scales.
|
||||
func (s *scaleLister) Scales(namespace string) ScaleNamespaceLister {
|
||||
return scaleNamespaceLister{indexer: s.indexer, namespace: namespace}
|
||||
}
|
||||
|
||||
// ScaleNamespaceLister helps list and get Scales.
|
||||
type ScaleNamespaceLister interface {
|
||||
// List lists all Scales in the indexer for a given namespace.
|
||||
List(selector labels.Selector) (ret []*v1beta1.Scale, err error)
|
||||
// Get retrieves the Scale from the indexer for a given namespace and name.
|
||||
Get(name string) (*v1beta1.Scale, error)
|
||||
ScaleNamespaceListerExpansion
|
||||
}
|
||||
|
||||
// scaleNamespaceLister implements the ScaleNamespaceLister
|
||||
// interface.
|
||||
type scaleNamespaceLister struct {
|
||||
indexer cache.Indexer
|
||||
namespace string
|
||||
}
|
||||
|
||||
// List lists all Scales in the indexer for a given namespace.
|
||||
func (s scaleNamespaceLister) List(selector labels.Selector) (ret []*v1beta1.Scale, err error) {
|
||||
err = cache.ListAllByNamespace(s.indexer, s.namespace, selector, func(m interface{}) {
|
||||
ret = append(ret, m.(*v1beta1.Scale))
|
||||
})
|
||||
return ret, err
|
||||
}
|
||||
|
||||
// Get retrieves the Scale from the indexer for a given namespace and name.
|
||||
func (s scaleNamespaceLister) Get(name string) (*v1beta1.Scale, error) {
|
||||
obj, exists, err := s.indexer.GetByKey(s.namespace + "/" + name)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if !exists {
|
||||
return nil, errors.NewNotFound(v1beta1.Resource("scale"), name)
|
||||
}
|
||||
return obj.(*v1beta1.Scale), nil
|
||||
}
|
@ -25,11 +25,3 @@ type ControllerRevisionListerExpansion interface{}
|
||||
// ControllerRevisionNamespaceListerExpansion allows custom methods to be added to
|
||||
// ControllerRevisionNamespaceLister.
|
||||
type ControllerRevisionNamespaceListerExpansion interface{}
|
||||
|
||||
// ScaleListerExpansion allows custom methods to be added to
|
||||
// ScaleLister.
|
||||
type ScaleListerExpansion interface{}
|
||||
|
||||
// ScaleNamespaceListerExpansion allows custom methods to be added to
|
||||
// ScaleNamespaceLister.
|
||||
type ScaleNamespaceListerExpansion interface{}
|
||||
|
@ -1,94 +0,0 @@
|
||||
/*
|
||||
Copyright The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Code generated by lister-gen. DO NOT EDIT.
|
||||
|
||||
package v1beta2
|
||||
|
||||
import (
|
||||
v1beta2 "k8s.io/api/apps/v1beta2"
|
||||
"k8s.io/apimachinery/pkg/api/errors"
|
||||
"k8s.io/apimachinery/pkg/labels"
|
||||
"k8s.io/client-go/tools/cache"
|
||||
)
|
||||
|
||||
// ScaleLister helps list Scales.
|
||||
type ScaleLister interface {
|
||||
// List lists all Scales in the indexer.
|
||||
List(selector labels.Selector) (ret []*v1beta2.Scale, err error)
|
||||
// Scales returns an object that can list and get Scales.
|
||||
Scales(namespace string) ScaleNamespaceLister
|
||||
ScaleListerExpansion
|
||||
}
|
||||
|
||||
// scaleLister implements the ScaleLister interface.
|
||||
type scaleLister struct {
|
||||
indexer cache.Indexer
|
||||
}
|
||||
|
||||
// NewScaleLister returns a new ScaleLister.
|
||||
func NewScaleLister(indexer cache.Indexer) ScaleLister {
|
||||
return &scaleLister{indexer: indexer}
|
||||
}
|
||||
|
||||
// List lists all Scales in the indexer.
|
||||
func (s *scaleLister) List(selector labels.Selector) (ret []*v1beta2.Scale, err error) {
|
||||
err = cache.ListAll(s.indexer, selector, func(m interface{}) {
|
||||
ret = append(ret, m.(*v1beta2.Scale))
|
||||
})
|
||||
return ret, err
|
||||
}
|
||||
|
||||
// Scales returns an object that can list and get Scales.
|
||||
func (s *scaleLister) Scales(namespace string) ScaleNamespaceLister {
|
||||
return scaleNamespaceLister{indexer: s.indexer, namespace: namespace}
|
||||
}
|
||||
|
||||
// ScaleNamespaceLister helps list and get Scales.
|
||||
type ScaleNamespaceLister interface {
|
||||
// List lists all Scales in the indexer for a given namespace.
|
||||
List(selector labels.Selector) (ret []*v1beta2.Scale, err error)
|
||||
// Get retrieves the Scale from the indexer for a given namespace and name.
|
||||
Get(name string) (*v1beta2.Scale, error)
|
||||
ScaleNamespaceListerExpansion
|
||||
}
|
||||
|
||||
// scaleNamespaceLister implements the ScaleNamespaceLister
|
||||
// interface.
|
||||
type scaleNamespaceLister struct {
|
||||
indexer cache.Indexer
|
||||
namespace string
|
||||
}
|
||||
|
||||
// List lists all Scales in the indexer for a given namespace.
|
||||
func (s scaleNamespaceLister) List(selector labels.Selector) (ret []*v1beta2.Scale, err error) {
|
||||
err = cache.ListAllByNamespace(s.indexer, s.namespace, selector, func(m interface{}) {
|
||||
ret = append(ret, m.(*v1beta2.Scale))
|
||||
})
|
||||
return ret, err
|
||||
}
|
||||
|
||||
// Get retrieves the Scale from the indexer for a given namespace and name.
|
||||
func (s scaleNamespaceLister) Get(name string) (*v1beta2.Scale, error) {
|
||||
obj, exists, err := s.indexer.GetByKey(s.namespace + "/" + name)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if !exists {
|
||||
return nil, errors.NewNotFound(v1beta2.Resource("scale"), name)
|
||||
}
|
||||
return obj.(*v1beta2.Scale), nil
|
||||
}
|
@ -29,11 +29,3 @@ type IngressNamespaceListerExpansion interface{}
|
||||
// PodSecurityPolicyListerExpansion allows custom methods to be added to
|
||||
// PodSecurityPolicyLister.
|
||||
type PodSecurityPolicyListerExpansion interface{}
|
||||
|
||||
// ScaleListerExpansion allows custom methods to be added to
|
||||
// ScaleLister.
|
||||
type ScaleListerExpansion interface{}
|
||||
|
||||
// ScaleNamespaceListerExpansion allows custom methods to be added to
|
||||
// ScaleNamespaceLister.
|
||||
type ScaleNamespaceListerExpansion interface{}
|
||||
|
@ -1,94 +0,0 @@
|
||||
/*
|
||||
Copyright The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Code generated by lister-gen. DO NOT EDIT.
|
||||
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
v1beta1 "k8s.io/api/extensions/v1beta1"
|
||||
"k8s.io/apimachinery/pkg/api/errors"
|
||||
"k8s.io/apimachinery/pkg/labels"
|
||||
"k8s.io/client-go/tools/cache"
|
||||
)
|
||||
|
||||
// ScaleLister helps list Scales.
|
||||
type ScaleLister interface {
|
||||
// List lists all Scales in the indexer.
|
||||
List(selector labels.Selector) (ret []*v1beta1.Scale, err error)
|
||||
// Scales returns an object that can list and get Scales.
|
||||
Scales(namespace string) ScaleNamespaceLister
|
||||
ScaleListerExpansion
|
||||
}
|
||||
|
||||
// scaleLister implements the ScaleLister interface.
|
||||
type scaleLister struct {
|
||||
indexer cache.Indexer
|
||||
}
|
||||
|
||||
// NewScaleLister returns a new ScaleLister.
|
||||
func NewScaleLister(indexer cache.Indexer) ScaleLister {
|
||||
return &scaleLister{indexer: indexer}
|
||||
}
|
||||
|
||||
// List lists all Scales in the indexer.
|
||||
func (s *scaleLister) List(selector labels.Selector) (ret []*v1beta1.Scale, err error) {
|
||||
err = cache.ListAll(s.indexer, selector, func(m interface{}) {
|
||||
ret = append(ret, m.(*v1beta1.Scale))
|
||||
})
|
||||
return ret, err
|
||||
}
|
||||
|
||||
// Scales returns an object that can list and get Scales.
|
||||
func (s *scaleLister) Scales(namespace string) ScaleNamespaceLister {
|
||||
return scaleNamespaceLister{indexer: s.indexer, namespace: namespace}
|
||||
}
|
||||
|
||||
// ScaleNamespaceLister helps list and get Scales.
|
||||
type ScaleNamespaceLister interface {
|
||||
// List lists all Scales in the indexer for a given namespace.
|
||||
List(selector labels.Selector) (ret []*v1beta1.Scale, err error)
|
||||
// Get retrieves the Scale from the indexer for a given namespace and name.
|
||||
Get(name string) (*v1beta1.Scale, error)
|
||||
ScaleNamespaceListerExpansion
|
||||
}
|
||||
|
||||
// scaleNamespaceLister implements the ScaleNamespaceLister
|
||||
// interface.
|
||||
type scaleNamespaceLister struct {
|
||||
indexer cache.Indexer
|
||||
namespace string
|
||||
}
|
||||
|
||||
// List lists all Scales in the indexer for a given namespace.
|
||||
func (s scaleNamespaceLister) List(selector labels.Selector) (ret []*v1beta1.Scale, err error) {
|
||||
err = cache.ListAllByNamespace(s.indexer, s.namespace, selector, func(m interface{}) {
|
||||
ret = append(ret, m.(*v1beta1.Scale))
|
||||
})
|
||||
return ret, err
|
||||
}
|
||||
|
||||
// Get retrieves the Scale from the indexer for a given namespace and name.
|
||||
func (s scaleNamespaceLister) Get(name string) (*v1beta1.Scale, error) {
|
||||
obj, exists, err := s.indexer.GetByKey(s.namespace + "/" + name)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if !exists {
|
||||
return nil, errors.NewNotFound(v1beta1.Resource("scale"), name)
|
||||
}
|
||||
return obj.(*v1beta1.Scale), nil
|
||||
}
|
Loading…
Reference in New Issue
Block a user