diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index b4c88db1..e25fb8c7 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -156,763 +156,779 @@ }, { "ImportPath": "k8s.io/api/admissionregistration/v1alpha1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/admissionregistration/v1beta1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/apps/v1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/apps/v1beta1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/apps/v1beta2", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/authentication/v1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/authentication/v1beta1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/authorization/v1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/authorization/v1beta1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/autoscaling/v1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/autoscaling/v2beta1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/batch/v1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/batch/v1beta1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/batch/v2alpha1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/certificates/v1beta1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/core/v1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/events/v1beta1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/extensions/v1beta1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/networking/v1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/policy/v1beta1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/rbac/v1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/rbac/v1alpha1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/rbac/v1beta1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/scheduling/v1alpha1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" + }, + { + "ImportPath": "k8s.io/api/scheduling/v1beta1", + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/settings/v1alpha1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/storage/v1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/storage/v1alpha1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/api/storage/v1beta1", - "Rev": "53d615ae3f440f957cb9989d989d597f047262d9" + "Rev": "fbc8bec270ad675ba2e610dd8f3b70c0f92fd46a" }, { "ImportPath": "k8s.io/apimachinery/pkg/api/errors", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/api/meta", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/api/resource", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/internalversion", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1beta1", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/conversion", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/fields", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/labels", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/runtime", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/runtime/schema", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/selection", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/types", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/util/cache", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/util/clock", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/util/diff", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/util/errors", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/util/framer", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/util/intstr", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/util/json", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/util/net", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/util/runtime", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/util/sets", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/util/validation", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/util/validation/field", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/util/wait", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/util/yaml", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/version", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/pkg/watch", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect", - "Rev": "13b73596e4b63e03203e86f6d9c7bcc1b937c62f" + "Rev": "8e510c818b62c1a0a1b738153104e8627916ebeb" }, { "ImportPath": "k8s.io/client-go/discovery", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/discovery/fake", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/admissionregistration", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/admissionregistration/v1alpha1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/admissionregistration/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/apps", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/apps/v1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/apps/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/apps/v1beta2", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/autoscaling", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/autoscaling/v1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/autoscaling/v2beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/batch", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/batch/v1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/batch/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/batch/v2alpha1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/certificates", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/certificates/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/core", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/core/v1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/events", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/events/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/extensions", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/extensions/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/internalinterfaces", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/networking", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/networking/v1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/policy", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/policy/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/rbac", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/rbac/v1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/rbac/v1alpha1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/rbac/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/scheduling", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/scheduling/v1alpha1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" + }, + { + "ImportPath": "k8s.io/client-go/informers/scheduling/v1beta1", + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/settings", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/settings/v1alpha1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/storage", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/storage/v1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/storage/v1alpha1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/informers/storage/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/scheme", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/admissionregistration/v1alpha1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/apps/v1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/apps/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/apps/v1beta2", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/authentication/v1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/authentication/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/authorization/v1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/authorization/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/autoscaling/v1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/autoscaling/v2beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/batch/v1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/batch/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/batch/v2alpha1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/certificates/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/core/v1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/events/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/extensions/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/networking/v1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/policy/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/rbac/v1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/rbac/v1alpha1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/rbac/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/scheduling/v1alpha1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" + }, + { + "ImportPath": "k8s.io/client-go/kubernetes/typed/scheduling/v1beta1", + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/settings/v1alpha1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/storage/v1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/storage/v1alpha1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/kubernetes/typed/storage/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/listers/admissionregistration/v1alpha1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/listers/admissionregistration/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/listers/apps/v1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/listers/apps/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/listers/apps/v1beta2", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/listers/autoscaling/v1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/listers/autoscaling/v2beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/listers/batch/v1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/listers/batch/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/listers/batch/v2alpha1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/listers/certificates/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/listers/core/v1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/listers/events/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/listers/extensions/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/listers/networking/v1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/listers/policy/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/listers/rbac/v1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/listers/rbac/v1alpha1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/listers/rbac/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/listers/scheduling/v1alpha1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" + }, + { + "ImportPath": "k8s.io/client-go/listers/scheduling/v1beta1", + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/listers/settings/v1alpha1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/listers/storage/v1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/listers/storage/v1alpha1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/listers/storage/v1beta1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/pkg/apis/clientauthentication", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/pkg/apis/clientauthentication/v1alpha1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/pkg/version", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/plugin/pkg/client/auth/exec", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/rest", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/rest/watch", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/testing", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/tools/auth", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/tools/cache", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/tools/clientcmd", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/tools/clientcmd/api", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/tools/clientcmd/api/latest", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/tools/clientcmd/api/v1", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/tools/metrics", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/tools/pager", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/tools/record", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/tools/reference", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/transport", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/util/buffer", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/util/cert", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/util/flowcontrol", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/util/homedir", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/util/integer", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/util/retry", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/client-go/util/workqueue", - "Rev": "421cf66e414f22e74ac90df608a0ac34811c9ea0" + "Rev": "988feb35af2427e344c78064abd4b920026cff13" }, { "ImportPath": "k8s.io/kube-openapi/pkg/util/proto", diff --git a/vendor/k8s.io/api/scheduling/v1beta1/doc.go b/vendor/k8s.io/api/scheduling/v1beta1/doc.go new file mode 100644 index 00000000..2e095cc5 --- /dev/null +++ b/vendor/k8s.io/api/scheduling/v1beta1/doc.go @@ -0,0 +1,21 @@ +/* +Copyright 2018 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. +*/ + +// +k8s:deepcopy-gen=package +// +k8s:openapi-gen=true + +// +groupName=scheduling.k8s.io +package v1beta1 diff --git a/vendor/k8s.io/api/scheduling/v1beta1/generated.pb.go b/vendor/k8s.io/api/scheduling/v1beta1/generated.pb.go new file mode 100644 index 00000000..c4fe85fe --- /dev/null +++ b/vendor/k8s.io/api/scheduling/v1beta1/generated.pb.go @@ -0,0 +1,641 @@ +/* +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 protoc-gen-gogo. +// source: k8s.io/kubernetes/vendor/k8s.io/api/scheduling/v1beta1/generated.proto +// DO NOT EDIT! + +/* + Package v1beta1 is a generated protocol buffer package. + + It is generated from these files: + k8s.io/kubernetes/vendor/k8s.io/api/scheduling/v1beta1/generated.proto + + It has these top-level messages: + PriorityClass + PriorityClassList +*/ +package v1beta1 + +import proto "github.com/gogo/protobuf/proto" +import fmt "fmt" +import math "math" + +import strings "strings" +import reflect "reflect" + +import io "io" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package + +func (m *PriorityClass) Reset() { *m = PriorityClass{} } +func (*PriorityClass) ProtoMessage() {} +func (*PriorityClass) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } + +func (m *PriorityClassList) Reset() { *m = PriorityClassList{} } +func (*PriorityClassList) ProtoMessage() {} +func (*PriorityClassList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } + +func init() { + proto.RegisterType((*PriorityClass)(nil), "k8s.io.api.scheduling.v1beta1.PriorityClass") + proto.RegisterType((*PriorityClassList)(nil), "k8s.io.api.scheduling.v1beta1.PriorityClassList") +} +func (m *PriorityClass) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PriorityClass) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + dAtA[i] = 0xa + i++ + i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) + n1, err := m.ObjectMeta.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n1 + dAtA[i] = 0x10 + i++ + i = encodeVarintGenerated(dAtA, i, uint64(m.Value)) + dAtA[i] = 0x18 + i++ + if m.GlobalDefault { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i++ + dAtA[i] = 0x22 + i++ + i = encodeVarintGenerated(dAtA, i, uint64(len(m.Description))) + i += copy(dAtA[i:], m.Description) + return i, nil +} + +func (m *PriorityClassList) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PriorityClassList) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + dAtA[i] = 0xa + i++ + i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) + n2, err := m.ListMeta.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n2 + if len(m.Items) > 0 { + for _, msg := range m.Items { + dAtA[i] = 0x12 + i++ + i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) + n, err := msg.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n + } + } + return i, nil +} + +func encodeFixed64Generated(dAtA []byte, offset int, v uint64) int { + dAtA[offset] = uint8(v) + dAtA[offset+1] = uint8(v >> 8) + dAtA[offset+2] = uint8(v >> 16) + dAtA[offset+3] = uint8(v >> 24) + dAtA[offset+4] = uint8(v >> 32) + dAtA[offset+5] = uint8(v >> 40) + dAtA[offset+6] = uint8(v >> 48) + dAtA[offset+7] = uint8(v >> 56) + return offset + 8 +} +func encodeFixed32Generated(dAtA []byte, offset int, v uint32) int { + dAtA[offset] = uint8(v) + dAtA[offset+1] = uint8(v >> 8) + dAtA[offset+2] = uint8(v >> 16) + dAtA[offset+3] = uint8(v >> 24) + return offset + 4 +} +func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int { + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return offset + 1 +} +func (m *PriorityClass) Size() (n int) { + var l int + _ = l + l = m.ObjectMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) + n += 1 + sovGenerated(uint64(m.Value)) + n += 2 + l = len(m.Description) + n += 1 + l + sovGenerated(uint64(l)) + return n +} + +func (m *PriorityClassList) Size() (n int) { + var l int + _ = l + l = m.ListMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) + if len(m.Items) > 0 { + for _, e := range m.Items { + l = e.Size() + n += 1 + l + sovGenerated(uint64(l)) + } + } + return n +} + +func sovGenerated(x uint64) (n int) { + for { + n++ + x >>= 7 + if x == 0 { + break + } + } + return n +} +func sozGenerated(x uint64) (n int) { + return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (this *PriorityClass) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&PriorityClass{`, + `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, + `Value:` + fmt.Sprintf("%v", this.Value) + `,`, + `GlobalDefault:` + fmt.Sprintf("%v", this.GlobalDefault) + `,`, + `Description:` + fmt.Sprintf("%v", this.Description) + `,`, + `}`, + }, "") + return s +} +func (this *PriorityClassList) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&PriorityClassList{`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PriorityClass", "PriorityClass", 1), `&`, ``, 1) + `,`, + `}`, + }, "") + return s +} +func valueToStringGenerated(v interface{}) string { + rv := reflect.ValueOf(v) + if rv.IsNil() { + return "nil" + } + pv := reflect.Indirect(rv).Interface() + return fmt.Sprintf("*%v", pv) +} +func (m *PriorityClass) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PriorityClass: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PriorityClass: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + m.Value = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Value |= (int32(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GlobalDefault", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + m.GlobalDefault = bool(v != 0) + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Description = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenerated(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthGenerated + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PriorityClassList) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PriorityClassList: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PriorityClassList: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Items = append(m.Items, PriorityClass{}) + if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenerated(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthGenerated + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipGenerated(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGenerated + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGenerated + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + return iNdEx, nil + case 1: + iNdEx += 8 + return iNdEx, nil + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGenerated + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + iNdEx += length + if length < 0 { + return 0, ErrInvalidLengthGenerated + } + return iNdEx, nil + case 3: + for { + var innerWire uint64 + var start int = iNdEx + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGenerated + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + innerWire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + innerWireType := int(innerWire & 0x7) + if innerWireType == 4 { + break + } + next, err := skipGenerated(dAtA[start:]) + if err != nil { + return 0, err + } + iNdEx = start + next + } + return iNdEx, nil + case 4: + return iNdEx, nil + case 5: + iNdEx += 4 + return iNdEx, nil + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + } + panic("unreachable") +} + +var ( + ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") +) + +func init() { + proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/scheduling/v1beta1/generated.proto", fileDescriptorGenerated) +} + +var fileDescriptorGenerated = []byte{ + // 462 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xbf, 0x8e, 0xd3, 0x4c, + 0x14, 0xc5, 0x3d, 0xd9, 0x2f, 0xfa, 0x82, 0xa3, 0x48, 0x60, 0x84, 0x64, 0x45, 0xc2, 0x6b, 0x2d, + 0x8d, 0x0b, 0x76, 0x86, 0x2c, 0x7f, 0x84, 0x44, 0x67, 0x56, 0x20, 0x24, 0x10, 0xe0, 0x82, 0x02, + 0x51, 0x30, 0xb6, 0xef, 0x3a, 0x43, 0x6c, 0x8f, 0x35, 0x73, 0x6d, 0x69, 0x3b, 0x6a, 0x2a, 0x1e, + 0x8a, 0x22, 0xe5, 0x96, 0x5b, 0xad, 0x88, 0x79, 0x11, 0x64, 0xc7, 0xac, 0x13, 0xa2, 0x05, 0x3a, + 0xcf, 0xb9, 0xe7, 0x77, 0x66, 0xee, 0x91, 0xcd, 0x67, 0x8b, 0xc7, 0x9a, 0x0a, 0xc9, 0x16, 0x65, + 0x08, 0x2a, 0x07, 0x04, 0xcd, 0x2a, 0xc8, 0x63, 0xa9, 0x58, 0x37, 0xe0, 0x85, 0x60, 0x3a, 0x9a, + 0x43, 0x5c, 0xa6, 0x22, 0x4f, 0x58, 0x35, 0x0b, 0x01, 0xf9, 0x8c, 0x25, 0x90, 0x83, 0xe2, 0x08, + 0x31, 0x2d, 0x94, 0x44, 0x69, 0xdd, 0x5e, 0xdb, 0x29, 0x2f, 0x04, 0xed, 0xed, 0xb4, 0xb3, 0x4f, + 0x0f, 0x13, 0x81, 0xf3, 0x32, 0xa4, 0x91, 0xcc, 0x58, 0x22, 0x13, 0xc9, 0x5a, 0x2a, 0x2c, 0x4f, + 0xda, 0x53, 0x7b, 0x68, 0xbf, 0xd6, 0x69, 0xd3, 0x07, 0xfd, 0xe5, 0x19, 0x8f, 0xe6, 0x22, 0x07, + 0x75, 0xca, 0x8a, 0x45, 0xd2, 0x08, 0x9a, 0x65, 0x80, 0x9c, 0x55, 0x3b, 0x6f, 0x98, 0xb2, 0xab, + 0x28, 0x55, 0xe6, 0x28, 0x32, 0xd8, 0x01, 0x1e, 0xfd, 0x0d, 0x68, 0x36, 0xc9, 0xf8, 0x0e, 0x77, + 0xff, 0x2a, 0xae, 0x44, 0x91, 0x32, 0x91, 0xa3, 0x46, 0xf5, 0x3b, 0x74, 0xf0, 0x65, 0x60, 0x4e, + 0xde, 0x28, 0x21, 0x95, 0xc0, 0xd3, 0xa7, 0x29, 0xd7, 0xda, 0xfa, 0x68, 0x8e, 0x9a, 0x55, 0x62, + 0x8e, 0xdc, 0x26, 0x2e, 0xf1, 0xc6, 0x47, 0xf7, 0x68, 0x5f, 0xe3, 0x65, 0x32, 0x2d, 0x16, 0x49, + 0x23, 0x68, 0xda, 0xb8, 0x69, 0x35, 0xa3, 0xaf, 0xc3, 0x4f, 0x10, 0xe1, 0x2b, 0x40, 0xee, 0x5b, + 0xcb, 0x8b, 0x7d, 0xa3, 0xbe, 0xd8, 0x37, 0x7b, 0x2d, 0xb8, 0x4c, 0xb5, 0xee, 0x98, 0xc3, 0x8a, + 0xa7, 0x25, 0xd8, 0x03, 0x97, 0x78, 0x43, 0x7f, 0xd2, 0x99, 0x87, 0xef, 0x1a, 0x31, 0x58, 0xcf, + 0xac, 0x27, 0xe6, 0x24, 0x49, 0x65, 0xc8, 0xd3, 0x63, 0x38, 0xe1, 0x65, 0x8a, 0xf6, 0x9e, 0x4b, + 0xbc, 0x91, 0x7f, 0xab, 0x33, 0x4f, 0x9e, 0x6f, 0x0e, 0x83, 0x6d, 0xaf, 0xf5, 0xd0, 0x1c, 0xc7, + 0xa0, 0x23, 0x25, 0x0a, 0x14, 0x32, 0xb7, 0xff, 0x73, 0x89, 0x77, 0xcd, 0xbf, 0xd9, 0xa1, 0xe3, + 0xe3, 0x7e, 0x14, 0x6c, 0xfa, 0x0e, 0xbe, 0x11, 0xf3, 0xc6, 0x56, 0x19, 0x2f, 0x85, 0x46, 0xeb, + 0xc3, 0x4e, 0x21, 0xf4, 0xdf, 0x0a, 0x69, 0xe8, 0xb6, 0x8e, 0xeb, 0xdd, 0xcd, 0xa3, 0x5f, 0xca, + 0x46, 0x19, 0x6f, 0xcd, 0xa1, 0x40, 0xc8, 0xb4, 0x3d, 0x70, 0xf7, 0xbc, 0xf1, 0xd1, 0x5d, 0xfa, + 0xc7, 0x5f, 0x96, 0x6e, 0x3d, 0xaf, 0xaf, 0xee, 0x45, 0x13, 0x11, 0xac, 0x93, 0xfc, 0xc3, 0xe5, + 0xca, 0x31, 0xce, 0x56, 0x8e, 0x71, 0xbe, 0x72, 0x8c, 0xcf, 0xb5, 0x43, 0x96, 0xb5, 0x43, 0xce, + 0x6a, 0x87, 0x9c, 0xd7, 0x0e, 0xf9, 0x5e, 0x3b, 0xe4, 0xeb, 0x0f, 0xc7, 0x78, 0xff, 0x7f, 0x17, + 0xf9, 0x33, 0x00, 0x00, 0xff, 0xff, 0x1b, 0xb3, 0xc6, 0x7a, 0x6d, 0x03, 0x00, 0x00, +} diff --git a/vendor/k8s.io/api/scheduling/v1beta1/generated.proto b/vendor/k8s.io/api/scheduling/v1beta1/generated.proto new file mode 100644 index 00000000..fe7f21de --- /dev/null +++ b/vendor/k8s.io/api/scheduling/v1beta1/generated.proto @@ -0,0 +1,68 @@ +/* +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. +*/ + + +// This file was autogenerated by go-to-protobuf. Do not edit it manually! + +syntax = 'proto2'; + +package k8s.io.api.scheduling.v1beta1; + +import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto"; +import "k8s.io/apimachinery/pkg/util/intstr/generated.proto"; + +// Package-wide variables from generator "generated". +option go_package = "v1beta1"; + +// PriorityClass defines mapping from a priority class name to the priority +// integer value. The value can be any valid integer. +message PriorityClass { + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; + + // The value of this priority class. This is the actual priority that pods + // receive when they have the name of this class in their pod spec. + optional int32 value = 2; + + // globalDefault specifies whether this PriorityClass should be considered as + // the default priority for pods that do not have any priority class. + // Only one PriorityClass can be marked as `globalDefault`. However, if more than + // one PriorityClasses exists with their `globalDefault` field set to true, + // the smallest value of such global default PriorityClasses will be used as the default priority. + // +optional + optional bool globalDefault = 3; + + // description is an arbitrary string that usually provides guidelines on + // when this priority class should be used. + // +optional + optional string description = 4; +} + +// PriorityClassList is a collection of priority classes. +message PriorityClassList { + // Standard list metadata + // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; + + // items is the list of PriorityClasses + repeated PriorityClass items = 2; +} + diff --git a/vendor/k8s.io/api/scheduling/v1beta1/register.go b/vendor/k8s.io/api/scheduling/v1beta1/register.go new file mode 100644 index 00000000..fb26557b --- /dev/null +++ b/vendor/k8s.io/api/scheduling/v1beta1/register.go @@ -0,0 +1,52 @@ +/* +Copyright 2018 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 ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" +) + +// GroupName is the group name use in this package +const GroupName = "scheduling.k8s.io" + +// SchemeGroupVersion is group version used to register these objects +var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"} + +// Resource takes an unqualified resource and returns a Group qualified GroupResource +func Resource(resource string) schema.GroupResource { + return SchemeGroupVersion.WithResource(resource).GroupResource() +} + +var ( + // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. + // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + localSchemeBuilder = &SchemeBuilder + AddToScheme = localSchemeBuilder.AddToScheme +) + +// Adds the list of known types to the given scheme. +func addKnownTypes(scheme *runtime.Scheme) error { + scheme.AddKnownTypes(SchemeGroupVersion, + &PriorityClass{}, + &PriorityClassList{}, + ) + metav1.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil +} diff --git a/vendor/k8s.io/api/scheduling/v1beta1/types.go b/vendor/k8s.io/api/scheduling/v1beta1/types.go new file mode 100644 index 00000000..a9aaa866 --- /dev/null +++ b/vendor/k8s.io/api/scheduling/v1beta1/types.go @@ -0,0 +1,66 @@ +/* +Copyright 2018 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 ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// +genclient +// +genclient:nonNamespaced +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// PriorityClass defines mapping from a priority class name to the priority +// integer value. The value can be any valid integer. +type PriorityClass struct { + metav1.TypeMeta `json:",inline"` + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + // +optional + metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` + + // The value of this priority class. This is the actual priority that pods + // receive when they have the name of this class in their pod spec. + Value int32 `json:"value" protobuf:"bytes,2,opt,name=value"` + + // globalDefault specifies whether this PriorityClass should be considered as + // the default priority for pods that do not have any priority class. + // Only one PriorityClass can be marked as `globalDefault`. However, if more than + // one PriorityClasses exists with their `globalDefault` field set to true, + // the smallest value of such global default PriorityClasses will be used as the default priority. + // +optional + GlobalDefault bool `json:"globalDefault,omitempty" protobuf:"bytes,3,opt,name=globalDefault"` + + // description is an arbitrary string that usually provides guidelines on + // when this priority class should be used. + // +optional + Description string `json:"description,omitempty" protobuf:"bytes,4,opt,name=description"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// PriorityClassList is a collection of priority classes. +type PriorityClassList struct { + metav1.TypeMeta `json:",inline"` + // Standard list metadata + // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + // +optional + metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` + + // items is the list of PriorityClasses + Items []PriorityClass `json:"items" protobuf:"bytes,2,rep,name=items"` +} diff --git a/vendor/k8s.io/api/scheduling/v1beta1/types_swagger_doc_generated.go b/vendor/k8s.io/api/scheduling/v1beta1/types_swagger_doc_generated.go new file mode 100644 index 00000000..c18f54a8 --- /dev/null +++ b/vendor/k8s.io/api/scheduling/v1beta1/types_swagger_doc_generated.go @@ -0,0 +1,52 @@ +/* +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. +*/ + +package v1beta1 + +// This file contains a collection of methods that can be used from go-restful to +// generate Swagger API documentation for its models. Please read this PR for more +// information on the implementation: https://github.com/emicklei/go-restful/pull/215 +// +// TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if +// they are on one line! For multiple line or blocks that you want to ignore use ---. +// Any context after a --- is ignored. +// +// Those methods can be generated by using hack/update-generated-swagger-docs.sh + +// AUTO-GENERATED FUNCTIONS START HERE. DO NOT EDIT. +var map_PriorityClass = map[string]string{ + "": "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", + "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "value": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", + "globalDefault": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", + "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used.", +} + +func (PriorityClass) SwaggerDoc() map[string]string { + return map_PriorityClass +} + +var map_PriorityClassList = map[string]string{ + "": "PriorityClassList is a collection of priority classes.", + "metadata": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "items": "items is the list of PriorityClasses", +} + +func (PriorityClassList) SwaggerDoc() map[string]string { + return map_PriorityClassList +} + +// AUTO-GENERATED FUNCTIONS END HERE diff --git a/vendor/k8s.io/api/scheduling/v1beta1/zz_generated.deepcopy.go b/vendor/k8s.io/api/scheduling/v1beta1/zz_generated.deepcopy.go new file mode 100644 index 00000000..6f68e4ac --- /dev/null +++ b/vendor/k8s.io/api/scheduling/v1beta1/zz_generated.deepcopy.go @@ -0,0 +1,84 @@ +// +build !ignore_autogenerated + +/* +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 deepcopy-gen. DO NOT EDIT. + +package v1beta1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PriorityClass) DeepCopyInto(out *PriorityClass) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClass. +func (in *PriorityClass) DeepCopy() *PriorityClass { + if in == nil { + return nil + } + out := new(PriorityClass) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PriorityClass) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PriorityClassList) DeepCopyInto(out *PriorityClassList) { + *out = *in + out.TypeMeta = in.TypeMeta + out.ListMeta = in.ListMeta + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]PriorityClass, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClassList. +func (in *PriorityClassList) DeepCopy() *PriorityClassList { + if in == nil { + return nil + } + out := new(PriorityClassList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PriorityClassList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} diff --git a/vendor/k8s.io/apimachinery/pkg/api/resource/quantity.go b/vendor/k8s.io/apimachinery/pkg/api/resource/quantity.go index 6a8bb997..c3cd1396 100644 --- a/vendor/k8s.io/apimachinery/pkg/api/resource/quantity.go +++ b/vendor/k8s.io/apimachinery/pkg/api/resource/quantity.go @@ -25,8 +25,6 @@ import ( "strconv" "strings" - flag "github.com/spf13/pflag" - inf "gopkg.in/inf.v0" ) @@ -747,43 +745,3 @@ func (q *Quantity) Copy() *Quantity { Format: q.Format, } } - -// qFlag is a helper type for the Flag function -type qFlag struct { - dest *Quantity -} - -// Sets the value of the internal Quantity. (used by flag & pflag) -func (qf qFlag) Set(val string) error { - q, err := ParseQuantity(val) - if err != nil { - return err - } - // This copy is OK because q will not be referenced again. - *qf.dest = q - return nil -} - -// Converts the value of the internal Quantity to a string. (used by flag & pflag) -func (qf qFlag) String() string { - return qf.dest.String() -} - -// States the type of flag this is (Quantity). (used by pflag) -func (qf qFlag) Type() string { - return "quantity" -} - -// QuantityFlag is a helper that makes a quantity flag (using standard flag package). -// Will panic if defaultValue is not a valid quantity. -func QuantityFlag(flagName, defaultValue, description string) *Quantity { - q := MustParse(defaultValue) - flag.Var(NewQuantityFlagValue(&q), flagName, description) - return &q -} - -// NewQuantityFlagValue returns an object that can be used to back a flag, -// pointing at the given Quantity variable. -func NewQuantityFlagValue(q *Quantity) flag.Value { - return qFlag{q} -} diff --git a/vendor/k8s.io/client-go/informers/generic.go b/vendor/k8s.io/client-go/informers/generic.go index 2717605d..08c43906 100644 --- a/vendor/k8s.io/client-go/informers/generic.go +++ b/vendor/k8s.io/client-go/informers/generic.go @@ -41,6 +41,7 @@ import ( rbac_v1alpha1 "k8s.io/api/rbac/v1alpha1" rbac_v1beta1 "k8s.io/api/rbac/v1beta1" scheduling_v1alpha1 "k8s.io/api/scheduling/v1alpha1" + scheduling_v1beta1 "k8s.io/api/scheduling/v1beta1" settings_v1alpha1 "k8s.io/api/settings/v1alpha1" storage_v1 "k8s.io/api/storage/v1" storage_v1alpha1 "k8s.io/api/storage/v1alpha1" @@ -235,6 +236,10 @@ func (f *sharedInformerFactory) ForResource(resource schema.GroupVersionResource case scheduling_v1alpha1.SchemeGroupVersion.WithResource("priorityclasses"): return &genericInformer{resource: resource.GroupResource(), informer: f.Scheduling().V1alpha1().PriorityClasses().Informer()}, nil + // Group=scheduling.k8s.io, Version=v1beta1 + case scheduling_v1beta1.SchemeGroupVersion.WithResource("priorityclasses"): + return &genericInformer{resource: resource.GroupResource(), informer: f.Scheduling().V1beta1().PriorityClasses().Informer()}, nil + // Group=settings.k8s.io, Version=v1alpha1 case settings_v1alpha1.SchemeGroupVersion.WithResource("podpresets"): return &genericInformer{resource: resource.GroupResource(), informer: f.Settings().V1alpha1().PodPresets().Informer()}, nil diff --git a/vendor/k8s.io/client-go/informers/scheduling/interface.go b/vendor/k8s.io/client-go/informers/scheduling/interface.go index 6245166f..16d030c3 100644 --- a/vendor/k8s.io/client-go/informers/scheduling/interface.go +++ b/vendor/k8s.io/client-go/informers/scheduling/interface.go @@ -21,12 +21,15 @@ package scheduling import ( internalinterfaces "k8s.io/client-go/informers/internalinterfaces" v1alpha1 "k8s.io/client-go/informers/scheduling/v1alpha1" + v1beta1 "k8s.io/client-go/informers/scheduling/v1beta1" ) // Interface provides access to each of this group's versions. type Interface interface { // V1alpha1 provides access to shared informers for resources in V1alpha1. V1alpha1() v1alpha1.Interface + // V1beta1 provides access to shared informers for resources in V1beta1. + V1beta1() v1beta1.Interface } type group struct { @@ -44,3 +47,8 @@ func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakList func (g *group) V1alpha1() v1alpha1.Interface { return v1alpha1.New(g.factory, g.namespace, g.tweakListOptions) } + +// V1beta1 returns a new v1beta1.Interface. +func (g *group) V1beta1() v1beta1.Interface { + return v1beta1.New(g.factory, g.namespace, g.tweakListOptions) +} diff --git a/vendor/k8s.io/client-go/informers/scheduling/v1beta1/interface.go b/vendor/k8s.io/client-go/informers/scheduling/v1beta1/interface.go new file mode 100644 index 00000000..52840a9c --- /dev/null +++ b/vendor/k8s.io/client-go/informers/scheduling/v1beta1/interface.go @@ -0,0 +1,45 @@ +/* +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 informer-gen. DO NOT EDIT. + +package v1beta1 + +import ( + internalinterfaces "k8s.io/client-go/informers/internalinterfaces" +) + +// Interface provides access to all the informers in this group version. +type Interface interface { + // PriorityClasses returns a PriorityClassInformer. + PriorityClasses() PriorityClassInformer +} + +type version struct { + factory internalinterfaces.SharedInformerFactory + namespace string + tweakListOptions internalinterfaces.TweakListOptionsFunc +} + +// New returns a new Interface. +func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { + return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions} +} + +// PriorityClasses returns a PriorityClassInformer. +func (v *version) PriorityClasses() PriorityClassInformer { + return &priorityClassInformer{factory: v.factory, tweakListOptions: v.tweakListOptions} +} diff --git a/vendor/k8s.io/client-go/informers/scheduling/v1beta1/priorityclass.go b/vendor/k8s.io/client-go/informers/scheduling/v1beta1/priorityclass.go new file mode 100644 index 00000000..ff61e58d --- /dev/null +++ b/vendor/k8s.io/client-go/informers/scheduling/v1beta1/priorityclass.go @@ -0,0 +1,88 @@ +/* +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 informer-gen. DO NOT EDIT. + +package v1beta1 + +import ( + time "time" + + scheduling_v1beta1 "k8s.io/api/scheduling/v1beta1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + internalinterfaces "k8s.io/client-go/informers/internalinterfaces" + kubernetes "k8s.io/client-go/kubernetes" + v1beta1 "k8s.io/client-go/listers/scheduling/v1beta1" + cache "k8s.io/client-go/tools/cache" +) + +// PriorityClassInformer provides access to a shared informer and lister for +// PriorityClasses. +type PriorityClassInformer interface { + Informer() cache.SharedIndexInformer + Lister() v1beta1.PriorityClassLister +} + +type priorityClassInformer struct { + factory internalinterfaces.SharedInformerFactory + tweakListOptions internalinterfaces.TweakListOptionsFunc +} + +// NewPriorityClassInformer constructs a new informer for PriorityClass type. +// Always prefer using an informer factory to get a shared informer instead of getting an independent +// one. This reduces memory footprint and number of connections to the server. +func NewPriorityClassInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer { + return NewFilteredPriorityClassInformer(client, resyncPeriod, indexers, nil) +} + +// NewFilteredPriorityClassInformer constructs a new informer for PriorityClass type. +// Always prefer using an informer factory to get a shared informer instead of getting an independent +// one. This reduces memory footprint and number of connections to the server. +func NewFilteredPriorityClassInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer { + return cache.NewSharedIndexInformer( + &cache.ListWatch{ + ListFunc: func(options v1.ListOptions) (runtime.Object, error) { + if tweakListOptions != nil { + tweakListOptions(&options) + } + return client.SchedulingV1beta1().PriorityClasses().List(options) + }, + WatchFunc: func(options v1.ListOptions) (watch.Interface, error) { + if tweakListOptions != nil { + tweakListOptions(&options) + } + return client.SchedulingV1beta1().PriorityClasses().Watch(options) + }, + }, + &scheduling_v1beta1.PriorityClass{}, + resyncPeriod, + indexers, + ) +} + +func (f *priorityClassInformer) defaultInformer(client kubernetes.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer { + return NewFilteredPriorityClassInformer(client, resyncPeriod, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc}, f.tweakListOptions) +} + +func (f *priorityClassInformer) Informer() cache.SharedIndexInformer { + return f.factory.InformerFor(&scheduling_v1beta1.PriorityClass{}, f.defaultInformer) +} + +func (f *priorityClassInformer) Lister() v1beta1.PriorityClassLister { + return v1beta1.NewPriorityClassLister(f.Informer().GetIndexer()) +} diff --git a/vendor/k8s.io/client-go/kubernetes/clientset.go b/vendor/k8s.io/client-go/kubernetes/clientset.go index 02a712fc..9d0eace4 100644 --- a/vendor/k8s.io/client-go/kubernetes/clientset.go +++ b/vendor/k8s.io/client-go/kubernetes/clientset.go @@ -44,6 +44,7 @@ import ( rbacv1alpha1 "k8s.io/client-go/kubernetes/typed/rbac/v1alpha1" rbacv1beta1 "k8s.io/client-go/kubernetes/typed/rbac/v1beta1" schedulingv1alpha1 "k8s.io/client-go/kubernetes/typed/scheduling/v1alpha1" + schedulingv1beta1 "k8s.io/client-go/kubernetes/typed/scheduling/v1beta1" settingsv1alpha1 "k8s.io/client-go/kubernetes/typed/settings/v1alpha1" storagev1 "k8s.io/client-go/kubernetes/typed/storage/v1" storagev1alpha1 "k8s.io/client-go/kubernetes/typed/storage/v1alpha1" @@ -104,8 +105,9 @@ type Interface interface { RbacV1beta1() rbacv1beta1.RbacV1beta1Interface RbacV1alpha1() rbacv1alpha1.RbacV1alpha1Interface SchedulingV1alpha1() schedulingv1alpha1.SchedulingV1alpha1Interface + SchedulingV1beta1() schedulingv1beta1.SchedulingV1beta1Interface // Deprecated: please explicitly pick a version if possible. - Scheduling() schedulingv1alpha1.SchedulingV1alpha1Interface + Scheduling() schedulingv1beta1.SchedulingV1beta1Interface SettingsV1alpha1() settingsv1alpha1.SettingsV1alpha1Interface // Deprecated: please explicitly pick a version if possible. Settings() settingsv1alpha1.SettingsV1alpha1Interface @@ -144,6 +146,7 @@ type Clientset struct { rbacV1beta1 *rbacv1beta1.RbacV1beta1Client rbacV1alpha1 *rbacv1alpha1.RbacV1alpha1Client schedulingV1alpha1 *schedulingv1alpha1.SchedulingV1alpha1Client + schedulingV1beta1 *schedulingv1beta1.SchedulingV1beta1Client settingsV1alpha1 *settingsv1alpha1.SettingsV1alpha1Client storageV1beta1 *storagev1beta1.StorageV1beta1Client storageV1 *storagev1.StorageV1Client @@ -348,10 +351,15 @@ func (c *Clientset) SchedulingV1alpha1() schedulingv1alpha1.SchedulingV1alpha1In return c.schedulingV1alpha1 } +// SchedulingV1beta1 retrieves the SchedulingV1beta1Client +func (c *Clientset) SchedulingV1beta1() schedulingv1beta1.SchedulingV1beta1Interface { + return c.schedulingV1beta1 +} + // Deprecated: Scheduling retrieves the default version of SchedulingClient. // Please explicitly pick a version. -func (c *Clientset) Scheduling() schedulingv1alpha1.SchedulingV1alpha1Interface { - return c.schedulingV1alpha1 +func (c *Clientset) Scheduling() schedulingv1beta1.SchedulingV1beta1Interface { + return c.schedulingV1beta1 } // SettingsV1alpha1 retrieves the SettingsV1alpha1Client @@ -498,6 +506,10 @@ func NewForConfig(c *rest.Config) (*Clientset, error) { if err != nil { return nil, err } + cs.schedulingV1beta1, err = schedulingv1beta1.NewForConfig(&configShallowCopy) + if err != nil { + return nil, err + } cs.settingsV1alpha1, err = settingsv1alpha1.NewForConfig(&configShallowCopy) if err != nil { return nil, err @@ -550,6 +562,7 @@ func NewForConfigOrDie(c *rest.Config) *Clientset { cs.rbacV1beta1 = rbacv1beta1.NewForConfigOrDie(c) cs.rbacV1alpha1 = rbacv1alpha1.NewForConfigOrDie(c) cs.schedulingV1alpha1 = schedulingv1alpha1.NewForConfigOrDie(c) + cs.schedulingV1beta1 = schedulingv1beta1.NewForConfigOrDie(c) cs.settingsV1alpha1 = settingsv1alpha1.NewForConfigOrDie(c) cs.storageV1beta1 = storagev1beta1.NewForConfigOrDie(c) cs.storageV1 = storagev1.NewForConfigOrDie(c) @@ -586,6 +599,7 @@ func New(c rest.Interface) *Clientset { cs.rbacV1beta1 = rbacv1beta1.New(c) cs.rbacV1alpha1 = rbacv1alpha1.New(c) cs.schedulingV1alpha1 = schedulingv1alpha1.New(c) + cs.schedulingV1beta1 = schedulingv1beta1.New(c) cs.settingsV1alpha1 = settingsv1alpha1.New(c) cs.storageV1beta1 = storagev1beta1.New(c) cs.storageV1 = storagev1.New(c) diff --git a/vendor/k8s.io/client-go/kubernetes/scheme/register.go b/vendor/k8s.io/client-go/kubernetes/scheme/register.go index d31c64c1..86584cf8 100644 --- a/vendor/k8s.io/client-go/kubernetes/scheme/register.go +++ b/vendor/k8s.io/client-go/kubernetes/scheme/register.go @@ -43,6 +43,7 @@ import ( rbacv1alpha1 "k8s.io/api/rbac/v1alpha1" rbacv1beta1 "k8s.io/api/rbac/v1beta1" schedulingv1alpha1 "k8s.io/api/scheduling/v1alpha1" + schedulingv1beta1 "k8s.io/api/scheduling/v1beta1" settingsv1alpha1 "k8s.io/api/settings/v1alpha1" storagev1 "k8s.io/api/storage/v1" storagev1alpha1 "k8s.io/api/storage/v1alpha1" @@ -101,6 +102,7 @@ func AddToScheme(scheme *runtime.Scheme) { rbacv1beta1.AddToScheme(scheme) rbacv1alpha1.AddToScheme(scheme) schedulingv1alpha1.AddToScheme(scheme) + schedulingv1beta1.AddToScheme(scheme) settingsv1alpha1.AddToScheme(scheme) storagev1beta1.AddToScheme(scheme) storagev1.AddToScheme(scheme) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1beta1/doc.go b/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1beta1/doc.go new file mode 100644 index 00000000..77110195 --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1beta1/doc.go @@ -0,0 +1,20 @@ +/* +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. + +// This package has the automatically generated typed clients. +package v1beta1 diff --git a/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1beta1/generated_expansion.go b/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1beta1/generated_expansion.go new file mode 100644 index 00000000..3bab873e --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1beta1/generated_expansion.go @@ -0,0 +1,21 @@ +/* +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 + +type PriorityClassExpansion interface{} diff --git a/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1beta1/priorityclass.go b/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1beta1/priorityclass.go new file mode 100644 index 00000000..57b9766e --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1beta1/priorityclass.go @@ -0,0 +1,147 @@ +/* +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 ( + v1beta1 "k8s.io/api/scheduling/v1beta1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + types "k8s.io/apimachinery/pkg/types" + watch "k8s.io/apimachinery/pkg/watch" + scheme "k8s.io/client-go/kubernetes/scheme" + rest "k8s.io/client-go/rest" +) + +// PriorityClassesGetter has a method to return a PriorityClassInterface. +// A group's client should implement this interface. +type PriorityClassesGetter interface { + PriorityClasses() PriorityClassInterface +} + +// PriorityClassInterface has methods to work with PriorityClass resources. +type PriorityClassInterface interface { + Create(*v1beta1.PriorityClass) (*v1beta1.PriorityClass, error) + Update(*v1beta1.PriorityClass) (*v1beta1.PriorityClass, error) + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error + Get(name string, options v1.GetOptions) (*v1beta1.PriorityClass, error) + List(opts v1.ListOptions) (*v1beta1.PriorityClassList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) + Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.PriorityClass, err error) + PriorityClassExpansion +} + +// priorityClasses implements PriorityClassInterface +type priorityClasses struct { + client rest.Interface +} + +// newPriorityClasses returns a PriorityClasses +func newPriorityClasses(c *SchedulingV1beta1Client) *priorityClasses { + return &priorityClasses{ + client: c.RESTClient(), + } +} + +// Get takes name of the priorityClass, and returns the corresponding priorityClass object, and an error if there is any. +func (c *priorityClasses) Get(name string, options v1.GetOptions) (result *v1beta1.PriorityClass, err error) { + result = &v1beta1.PriorityClass{} + err = c.client.Get(). + Resource("priorityclasses"). + Name(name). + VersionedParams(&options, scheme.ParameterCodec). + Do(). + Into(result) + return +} + +// List takes label and field selectors, and returns the list of PriorityClasses that match those selectors. +func (c *priorityClasses) List(opts v1.ListOptions) (result *v1beta1.PriorityClassList, err error) { + result = &v1beta1.PriorityClassList{} + err = c.client.Get(). + Resource("priorityclasses"). + VersionedParams(&opts, scheme.ParameterCodec). + Do(). + Into(result) + return +} + +// Watch returns a watch.Interface that watches the requested priorityClasses. +func (c *priorityClasses) Watch(opts v1.ListOptions) (watch.Interface, error) { + opts.Watch = true + return c.client.Get(). + Resource("priorityclasses"). + VersionedParams(&opts, scheme.ParameterCodec). + Watch() +} + +// Create takes the representation of a priorityClass and creates it. Returns the server's representation of the priorityClass, and an error, if there is any. +func (c *priorityClasses) Create(priorityClass *v1beta1.PriorityClass) (result *v1beta1.PriorityClass, err error) { + result = &v1beta1.PriorityClass{} + err = c.client.Post(). + Resource("priorityclasses"). + Body(priorityClass). + Do(). + Into(result) + return +} + +// Update takes the representation of a priorityClass and updates it. Returns the server's representation of the priorityClass, and an error, if there is any. +func (c *priorityClasses) Update(priorityClass *v1beta1.PriorityClass) (result *v1beta1.PriorityClass, err error) { + result = &v1beta1.PriorityClass{} + err = c.client.Put(). + Resource("priorityclasses"). + Name(priorityClass.Name). + Body(priorityClass). + Do(). + Into(result) + return +} + +// Delete takes name of the priorityClass and deletes it. Returns an error if one occurs. +func (c *priorityClasses) Delete(name string, options *v1.DeleteOptions) error { + return c.client.Delete(). + Resource("priorityclasses"). + Name(name). + Body(options). + Do(). + Error() +} + +// DeleteCollection deletes a collection of objects. +func (c *priorityClasses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { + return c.client.Delete(). + Resource("priorityclasses"). + VersionedParams(&listOptions, scheme.ParameterCodec). + Body(options). + Do(). + Error() +} + +// Patch applies the patch and returns the patched priorityClass. +func (c *priorityClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.PriorityClass, err error) { + result = &v1beta1.PriorityClass{} + err = c.client.Patch(pt). + Resource("priorityclasses"). + SubResource(subresources...). + Name(name). + Body(data). + Do(). + Into(result) + return +} diff --git a/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1beta1/scheduling_client.go b/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1beta1/scheduling_client.go new file mode 100644 index 00000000..6feec4ae --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1beta1/scheduling_client.go @@ -0,0 +1,90 @@ +/* +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 ( + v1beta1 "k8s.io/api/scheduling/v1beta1" + serializer "k8s.io/apimachinery/pkg/runtime/serializer" + "k8s.io/client-go/kubernetes/scheme" + rest "k8s.io/client-go/rest" +) + +type SchedulingV1beta1Interface interface { + RESTClient() rest.Interface + PriorityClassesGetter +} + +// SchedulingV1beta1Client is used to interact with features provided by the scheduling.k8s.io group. +type SchedulingV1beta1Client struct { + restClient rest.Interface +} + +func (c *SchedulingV1beta1Client) PriorityClasses() PriorityClassInterface { + return newPriorityClasses(c) +} + +// NewForConfig creates a new SchedulingV1beta1Client for the given config. +func NewForConfig(c *rest.Config) (*SchedulingV1beta1Client, error) { + config := *c + if err := setConfigDefaults(&config); err != nil { + return nil, err + } + client, err := rest.RESTClientFor(&config) + if err != nil { + return nil, err + } + return &SchedulingV1beta1Client{client}, nil +} + +// NewForConfigOrDie creates a new SchedulingV1beta1Client for the given config and +// panics if there is an error in the config. +func NewForConfigOrDie(c *rest.Config) *SchedulingV1beta1Client { + client, err := NewForConfig(c) + if err != nil { + panic(err) + } + return client +} + +// New creates a new SchedulingV1beta1Client for the given RESTClient. +func New(c rest.Interface) *SchedulingV1beta1Client { + return &SchedulingV1beta1Client{c} +} + +func setConfigDefaults(config *rest.Config) error { + gv := v1beta1.SchemeGroupVersion + config.GroupVersion = &gv + config.APIPath = "/apis" + config.NegotiatedSerializer = serializer.DirectCodecFactory{CodecFactory: scheme.Codecs} + + if config.UserAgent == "" { + config.UserAgent = rest.DefaultKubernetesUserAgent() + } + + return nil +} + +// RESTClient returns a RESTClient that is used to communicate +// with API server by this client implementation. +func (c *SchedulingV1beta1Client) RESTClient() rest.Interface { + if c == nil { + return nil + } + return c.restClient +} diff --git a/vendor/k8s.io/client-go/listers/scheduling/v1beta1/expansion_generated.go b/vendor/k8s.io/client-go/listers/scheduling/v1beta1/expansion_generated.go new file mode 100644 index 00000000..b806e8cf --- /dev/null +++ b/vendor/k8s.io/client-go/listers/scheduling/v1beta1/expansion_generated.go @@ -0,0 +1,23 @@ +/* +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 + +// PriorityClassListerExpansion allows custom methods to be added to +// PriorityClassLister. +type PriorityClassListerExpansion interface{} diff --git a/vendor/k8s.io/client-go/listers/scheduling/v1beta1/priorityclass.go b/vendor/k8s.io/client-go/listers/scheduling/v1beta1/priorityclass.go new file mode 100644 index 00000000..9d060639 --- /dev/null +++ b/vendor/k8s.io/client-go/listers/scheduling/v1beta1/priorityclass.go @@ -0,0 +1,65 @@ +/* +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/scheduling/v1beta1" + "k8s.io/apimachinery/pkg/api/errors" + "k8s.io/apimachinery/pkg/labels" + "k8s.io/client-go/tools/cache" +) + +// PriorityClassLister helps list PriorityClasses. +type PriorityClassLister interface { + // List lists all PriorityClasses in the indexer. + List(selector labels.Selector) (ret []*v1beta1.PriorityClass, err error) + // Get retrieves the PriorityClass from the index for a given name. + Get(name string) (*v1beta1.PriorityClass, error) + PriorityClassListerExpansion +} + +// priorityClassLister implements the PriorityClassLister interface. +type priorityClassLister struct { + indexer cache.Indexer +} + +// NewPriorityClassLister returns a new PriorityClassLister. +func NewPriorityClassLister(indexer cache.Indexer) PriorityClassLister { + return &priorityClassLister{indexer: indexer} +} + +// List lists all PriorityClasses in the indexer. +func (s *priorityClassLister) List(selector labels.Selector) (ret []*v1beta1.PriorityClass, err error) { + err = cache.ListAll(s.indexer, selector, func(m interface{}) { + ret = append(ret, m.(*v1beta1.PriorityClass)) + }) + return ret, err +} + +// Get retrieves the PriorityClass from the index for a given name. +func (s *priorityClassLister) Get(name string) (*v1beta1.PriorityClass, error) { + obj, exists, err := s.indexer.GetByKey(name) + if err != nil { + return nil, err + } + if !exists { + return nil, errors.NewNotFound(v1beta1.Resource("priorityclass"), name) + } + return obj.(*v1beta1.PriorityClass), nil +}