From bbfb138e3e35fb061b5603a5432813bdc7f40f2d Mon Sep 17 00:00:00 2001 From: oksanabaza Date: Tue, 12 Mar 2024 16:08:24 +0000 Subject: [PATCH] prep --- cluster-autoscaler/go.mod | 14 +- cluster-autoscaler/go.sum | 26 +- .../github.com/cenkalti/backoff/.gitignore | 22 + .../github.com/cenkalti/backoff/.travis.yml | 10 + .../github.com/cenkalti/backoff/LICENSE | 20 + .../github.com/cenkalti/backoff/README.md | 30 + .../github.com/cenkalti/backoff/backoff.go | 66 + .../github.com/cenkalti/backoff/context.go | 63 + .../cenkalti/backoff/exponential.go | 153 + .../github.com/cenkalti/backoff/retry.go | 82 + .../github.com/cenkalti/backoff/ticker.go | 82 + .../github.com/cenkalti/backoff/tries.go | 35 + .../github.com/coreos/go-oidc/.gitignore | 2 + .../github.com/coreos/go-oidc/.travis.yml | 16 + .../github.com/coreos/go-oidc/CONTRIBUTING.md | 71 + .../vendor/github.com/coreos/go-oidc/DCO | 36 + .../vendor/github.com/coreos/go-oidc/LICENSE | 202 + .../github.com/coreos/go-oidc/MAINTAINERS | 3 + .../vendor/github.com/coreos/go-oidc/NOTICE | 5 + .../github.com/coreos/go-oidc/README.md | 72 + .../coreos/go-oidc/code-of-conduct.md | 61 + .../vendor/github.com/coreos/go-oidc/jose.go | 20 + .../vendor/github.com/coreos/go-oidc/jwks.go | 228 + .../vendor/github.com/coreos/go-oidc/oidc.go | 409 + .../vendor/github.com/coreos/go-oidc/test | 16 + .../github.com/coreos/go-oidc/verify.go | 336 + .../github.com/dgrijalva/jwt-go/.gitignore | 4 + .../github.com/dgrijalva/jwt-go/.travis.yml | 13 + .../github.com/dgrijalva/jwt-go/LICENSE | 8 + .../dgrijalva/jwt-go/MIGRATION_GUIDE.md | 97 + .../github.com/dgrijalva/jwt-go/README.md | 100 + .../dgrijalva/jwt-go/VERSION_HISTORY.md | 118 + .../github.com/dgrijalva/jwt-go/claims.go | 134 + .../vendor/github.com/dgrijalva/jwt-go/doc.go | 4 + .../github.com/dgrijalva/jwt-go/ecdsa.go | 148 + .../dgrijalva/jwt-go/ecdsa_utils.go | 67 + .../github.com/dgrijalva/jwt-go/errors.go | 59 + .../github.com/dgrijalva/jwt-go/hmac.go | 95 + .../github.com/dgrijalva/jwt-go/map_claims.go | 94 + .../github.com/dgrijalva/jwt-go/none.go | 52 + .../github.com/dgrijalva/jwt-go/parser.go | 148 + .../vendor/github.com/dgrijalva/jwt-go/rsa.go | 101 + .../github.com/dgrijalva/jwt-go/rsa_pss.go | 126 + .../github.com/dgrijalva/jwt-go/rsa_utils.go | 101 + .../dgrijalva/jwt-go/signing_method.go | 35 + .../github.com/dgrijalva/jwt-go/token.go | 108 + .../golang/protobuf/descriptor/descriptor.go | 180 + .../grpc-ecosystem/go-grpc-middleware/LICENSE | 201 + .../go-grpc-middleware/util/metautils/doc.go | 19 + .../util/metautils/nicemd.go | 126 + .../grpc-ecosystem/grpc-gateway/LICENSE.txt | 27 + .../grpc-gateway/internal/BUILD.bazel | 23 + .../grpc-gateway/internal/errors.pb.go | 189 + .../grpc-gateway/internal/errors.proto | 26 + .../grpc-gateway/runtime/BUILD.bazel | 85 + .../grpc-gateway/runtime/context.go | 291 + .../grpc-gateway/runtime/convert.go | 318 + .../grpc-gateway/runtime/doc.go | 5 + .../grpc-gateway/runtime/errors.go | 186 + .../grpc-gateway/runtime/fieldmask.go | 89 + .../grpc-gateway/runtime/handler.go | 212 + .../runtime/marshal_httpbodyproto.go | 43 + .../grpc-gateway/runtime/marshal_json.go | 45 + .../grpc-gateway/runtime/marshal_jsonpb.go | 262 + .../grpc-gateway/runtime/marshal_proto.go | 62 + .../grpc-gateway/runtime/marshaler.go | 55 + .../runtime/marshaler_registry.go | 99 + .../grpc-gateway/runtime/mux.go | 300 + .../grpc-gateway/runtime/pattern.go | 262 + .../grpc-gateway/runtime/proto2_convert.go | 80 + .../grpc-gateway/runtime/proto_errors.go | 106 + .../grpc-gateway/runtime/query.go | 406 + .../grpc-gateway/utilities/BUILD.bazel | 21 + .../grpc-gateway/utilities/doc.go | 2 + .../grpc-gateway/utilities/pattern.go | 22 + .../grpc-gateway/utilities/readerfactory.go | 20 + .../grpc-gateway/utilities/trie.go | 177 + .../libopenstorage/openstorage/LICENSE | 2 +- .../libopenstorage/openstorage/api/api.go | 1126 +- .../libopenstorage/openstorage/api/api.pb.go | 46286 +++++++++++++++- .../openstorage/api/api.pb.gw.go | 11123 ++++ .../libopenstorage/openstorage/api/api.proto | 5431 +- .../openstorage/api/client/client.go | 26 +- .../openstorage/api/client/request.go | 198 +- .../openstorage/api/client/volume/client.go | 555 +- .../openstorage/api/client/volume/volume.go | 36 +- .../openstorage/api/errors/errors.go | 90 + .../libopenstorage/openstorage/api/group.go | 32 + .../openstorage/api/ownership.go | 307 + .../openstorage/api/spec/spec_handler.go | 1009 +- .../libopenstorage/openstorage/api/status.go | 28 +- .../openstorage/pkg/auth/auth.go | 62 + .../openstorage/pkg/auth/claims.go | 80 + .../openstorage/pkg/auth/duration.go | 97 + .../openstorage/pkg/auth/oidc.go | 142 + .../openstorage/pkg/auth/selfsigned.go | 154 + .../openstorage/pkg/auth/signature.go | 75 + .../openstorage/pkg/auth/token.go | 121 + .../openstorage/pkg/auth/tokengenerator.go | 59 + .../openstorage/pkg/auth/userinfo.go | 69 + .../openstorage/pkg/correlation/README.md | 122 + .../openstorage/pkg/correlation/context.go | 118 + .../openstorage/pkg/correlation/hook.go | 187 + .../pkg/correlation/interceptor.go | 75 + .../openstorage/pkg/defaultcontext/default.go | 91 + .../openstorage/pkg/grpcutil/context.go | 27 + .../openstorage/pkg/parser/labels.go | 36 +- .../openstorage/volume/cloudbackup.go | 64 + .../openstorage/volume/errors.go | 15 + .../openstorage/volume/volume.go | 183 +- .../volume/volume_driver_registry.go | 11 + .../volume/volume_not_supported.go | 248 +- .../github.com/mohae/deepcopy/deepcopy.go | 13 + .../github.com/pborman/uuid/.travis.yml | 10 + .../github.com/pborman/uuid/CONTRIBUTING.md | 10 + .../github.com/pborman/uuid/CONTRIBUTORS | 1 + .../vendor/github.com/pborman/uuid/LICENSE | 27 + .../vendor/github.com/pborman/uuid/README.md | 15 + .../vendor/github.com/pborman/uuid/dce.go | 84 + .../vendor/github.com/pborman/uuid/doc.go | 13 + .../vendor/github.com/pborman/uuid/hash.go | 53 + .../vendor/github.com/pborman/uuid/marshal.go | 85 + .../vendor/github.com/pborman/uuid/node.go | 50 + .../vendor/github.com/pborman/uuid/sql.go | 68 + .../vendor/github.com/pborman/uuid/time.go | 57 + .../vendor/github.com/pborman/uuid/util.go | 32 + .../vendor/github.com/pborman/uuid/uuid.go | 162 + .../github.com/pborman/uuid/version1.go | 23 + .../github.com/pborman/uuid/version4.go | 26 + .../pquerna/cachecontrol/.travis.yml | 8 + .../github.com/pquerna/cachecontrol/LICENSE | 202 + .../github.com/pquerna/cachecontrol/README.md | 107 + .../github.com/pquerna/cachecontrol/api.go | 48 + .../cachecontrol/cacheobject/directive.go | 547 + .../pquerna/cachecontrol/cacheobject/lex.go | 93 + .../cachecontrol/cacheobject/object.go | 398 + .../cachecontrol/cacheobject/reasons.go | 95 + .../cachecontrol/cacheobject/warning.go | 107 + .../github.com/pquerna/cachecontrol/doc.go | 25 + .../golang.org/x/crypto/ed25519/ed25519.go | 71 + .../golang.org/x/crypto/pbkdf2/pbkdf2.go | 77 + .../protobuf/field_mask/field_mask.go | 23 + .../square/go-jose.v2/.gitcookies.sh.enc | 1 + .../gopkg.in/square/go-jose.v2/.gitignore | 8 + .../gopkg.in/square/go-jose.v2/.travis.yml | 45 + .../gopkg.in/square/go-jose.v2/BUG-BOUNTY.md | 10 + .../square/go-jose.v2/CONTRIBUTING.md | 14 + .../vendor/gopkg.in/square/go-jose.v2/LICENSE | 202 + .../gopkg.in/square/go-jose.v2/README.md | 118 + .../gopkg.in/square/go-jose.v2/asymmetric.go | 592 + .../square/go-jose.v2/cipher/cbc_hmac.go | 196 + .../square/go-jose.v2/cipher/concat_kdf.go | 75 + .../square/go-jose.v2/cipher/ecdh_es.go | 86 + .../square/go-jose.v2/cipher/key_wrap.go | 109 + .../gopkg.in/square/go-jose.v2/crypter.go | 542 + .../vendor/gopkg.in/square/go-jose.v2/doc.go | 27 + .../gopkg.in/square/go-jose.v2/encoding.go | 185 + .../gopkg.in/square/go-jose.v2/json/LICENSE | 27 + .../gopkg.in/square/go-jose.v2/json/README.md | 13 + .../gopkg.in/square/go-jose.v2/json/decode.go | 1217 + .../gopkg.in/square/go-jose.v2/json/encode.go | 1197 + .../gopkg.in/square/go-jose.v2/json/indent.go | 141 + .../square/go-jose.v2/json/scanner.go | 623 + .../gopkg.in/square/go-jose.v2/json/stream.go | 485 + .../gopkg.in/square/go-jose.v2/json/tags.go | 44 + .../vendor/gopkg.in/square/go-jose.v2/jwe.go | 294 + .../vendor/gopkg.in/square/go-jose.v2/jwk.go | 760 + .../vendor/gopkg.in/square/go-jose.v2/jws.go | 366 + .../gopkg.in/square/go-jose.v2/opaque.go | 144 + .../gopkg.in/square/go-jose.v2/shared.go | 520 + .../gopkg.in/square/go-jose.v2/signing.go | 441 + .../gopkg.in/square/go-jose.v2/symmetric.go | 482 + cluster-autoscaler/vendor/modules.txt | 46 +- 173 files changed, 85762 insertions(+), 1694 deletions(-) create mode 100644 cluster-autoscaler/vendor/github.com/cenkalti/backoff/.gitignore create mode 100644 cluster-autoscaler/vendor/github.com/cenkalti/backoff/.travis.yml create mode 100644 cluster-autoscaler/vendor/github.com/cenkalti/backoff/LICENSE create mode 100644 cluster-autoscaler/vendor/github.com/cenkalti/backoff/README.md create mode 100644 cluster-autoscaler/vendor/github.com/cenkalti/backoff/backoff.go create mode 100644 cluster-autoscaler/vendor/github.com/cenkalti/backoff/context.go create mode 100644 cluster-autoscaler/vendor/github.com/cenkalti/backoff/exponential.go create mode 100644 cluster-autoscaler/vendor/github.com/cenkalti/backoff/retry.go create mode 100644 cluster-autoscaler/vendor/github.com/cenkalti/backoff/ticker.go create mode 100644 cluster-autoscaler/vendor/github.com/cenkalti/backoff/tries.go create mode 100644 cluster-autoscaler/vendor/github.com/coreos/go-oidc/.gitignore create mode 100644 cluster-autoscaler/vendor/github.com/coreos/go-oidc/.travis.yml create mode 100644 cluster-autoscaler/vendor/github.com/coreos/go-oidc/CONTRIBUTING.md create mode 100644 cluster-autoscaler/vendor/github.com/coreos/go-oidc/DCO create mode 100644 cluster-autoscaler/vendor/github.com/coreos/go-oidc/LICENSE create mode 100644 cluster-autoscaler/vendor/github.com/coreos/go-oidc/MAINTAINERS create mode 100644 cluster-autoscaler/vendor/github.com/coreos/go-oidc/NOTICE create mode 100644 cluster-autoscaler/vendor/github.com/coreos/go-oidc/README.md create mode 100644 cluster-autoscaler/vendor/github.com/coreos/go-oidc/code-of-conduct.md create mode 100644 cluster-autoscaler/vendor/github.com/coreos/go-oidc/jose.go create mode 100644 cluster-autoscaler/vendor/github.com/coreos/go-oidc/jwks.go create mode 100644 cluster-autoscaler/vendor/github.com/coreos/go-oidc/oidc.go create mode 100644 cluster-autoscaler/vendor/github.com/coreos/go-oidc/test create mode 100644 cluster-autoscaler/vendor/github.com/coreos/go-oidc/verify.go create mode 100644 cluster-autoscaler/vendor/github.com/dgrijalva/jwt-go/.gitignore create mode 100644 cluster-autoscaler/vendor/github.com/dgrijalva/jwt-go/.travis.yml create mode 100644 cluster-autoscaler/vendor/github.com/dgrijalva/jwt-go/LICENSE create mode 100644 cluster-autoscaler/vendor/github.com/dgrijalva/jwt-go/MIGRATION_GUIDE.md create mode 100644 cluster-autoscaler/vendor/github.com/dgrijalva/jwt-go/README.md create mode 100644 cluster-autoscaler/vendor/github.com/dgrijalva/jwt-go/VERSION_HISTORY.md create mode 100644 cluster-autoscaler/vendor/github.com/dgrijalva/jwt-go/claims.go create mode 100644 cluster-autoscaler/vendor/github.com/dgrijalva/jwt-go/doc.go create mode 100644 cluster-autoscaler/vendor/github.com/dgrijalva/jwt-go/ecdsa.go create mode 100644 cluster-autoscaler/vendor/github.com/dgrijalva/jwt-go/ecdsa_utils.go create mode 100644 cluster-autoscaler/vendor/github.com/dgrijalva/jwt-go/errors.go create mode 100644 cluster-autoscaler/vendor/github.com/dgrijalva/jwt-go/hmac.go create mode 100644 cluster-autoscaler/vendor/github.com/dgrijalva/jwt-go/map_claims.go create mode 100644 cluster-autoscaler/vendor/github.com/dgrijalva/jwt-go/none.go create mode 100644 cluster-autoscaler/vendor/github.com/dgrijalva/jwt-go/parser.go create mode 100644 cluster-autoscaler/vendor/github.com/dgrijalva/jwt-go/rsa.go create mode 100644 cluster-autoscaler/vendor/github.com/dgrijalva/jwt-go/rsa_pss.go create mode 100644 cluster-autoscaler/vendor/github.com/dgrijalva/jwt-go/rsa_utils.go create mode 100644 cluster-autoscaler/vendor/github.com/dgrijalva/jwt-go/signing_method.go create mode 100644 cluster-autoscaler/vendor/github.com/dgrijalva/jwt-go/token.go create mode 100644 cluster-autoscaler/vendor/github.com/golang/protobuf/descriptor/descriptor.go create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/go-grpc-middleware/LICENSE create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/go-grpc-middleware/util/metautils/doc.go create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/go-grpc-middleware/util/metautils/nicemd.go create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/LICENSE.txt create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/internal/BUILD.bazel create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/internal/errors.pb.go create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/internal/errors.proto create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/BUILD.bazel create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/context.go create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/convert.go create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/doc.go create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/errors.go create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/fieldmask.go create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/handler.go create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/marshal_httpbodyproto.go create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/marshal_json.go create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/marshal_jsonpb.go create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/marshal_proto.go create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/marshaler.go create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/marshaler_registry.go create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/mux.go create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/pattern.go create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/proto2_convert.go create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/proto_errors.go create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/query.go create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/utilities/BUILD.bazel create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/utilities/doc.go create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/utilities/pattern.go create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/utilities/readerfactory.go create mode 100644 cluster-autoscaler/vendor/github.com/grpc-ecosystem/grpc-gateway/utilities/trie.go create mode 100644 cluster-autoscaler/vendor/github.com/libopenstorage/openstorage/api/api.pb.gw.go create mode 100644 cluster-autoscaler/vendor/github.com/libopenstorage/openstorage/api/errors/errors.go create mode 100644 cluster-autoscaler/vendor/github.com/libopenstorage/openstorage/api/group.go create mode 100644 cluster-autoscaler/vendor/github.com/libopenstorage/openstorage/api/ownership.go create mode 100644 cluster-autoscaler/vendor/github.com/libopenstorage/openstorage/pkg/auth/auth.go create mode 100644 cluster-autoscaler/vendor/github.com/libopenstorage/openstorage/pkg/auth/claims.go create mode 100644 cluster-autoscaler/vendor/github.com/libopenstorage/openstorage/pkg/auth/duration.go create mode 100644 cluster-autoscaler/vendor/github.com/libopenstorage/openstorage/pkg/auth/oidc.go create mode 100644 cluster-autoscaler/vendor/github.com/libopenstorage/openstorage/pkg/auth/selfsigned.go create mode 100644 cluster-autoscaler/vendor/github.com/libopenstorage/openstorage/pkg/auth/signature.go create mode 100644 cluster-autoscaler/vendor/github.com/libopenstorage/openstorage/pkg/auth/token.go create mode 100644 cluster-autoscaler/vendor/github.com/libopenstorage/openstorage/pkg/auth/tokengenerator.go create mode 100644 cluster-autoscaler/vendor/github.com/libopenstorage/openstorage/pkg/auth/userinfo.go create mode 100644 cluster-autoscaler/vendor/github.com/libopenstorage/openstorage/pkg/correlation/README.md create mode 100644 cluster-autoscaler/vendor/github.com/libopenstorage/openstorage/pkg/correlation/context.go create mode 100644 cluster-autoscaler/vendor/github.com/libopenstorage/openstorage/pkg/correlation/hook.go create mode 100644 cluster-autoscaler/vendor/github.com/libopenstorage/openstorage/pkg/correlation/interceptor.go create mode 100644 cluster-autoscaler/vendor/github.com/libopenstorage/openstorage/pkg/defaultcontext/default.go create mode 100644 cluster-autoscaler/vendor/github.com/libopenstorage/openstorage/pkg/grpcutil/context.go create mode 100644 cluster-autoscaler/vendor/github.com/libopenstorage/openstorage/volume/cloudbackup.go create mode 100644 cluster-autoscaler/vendor/github.com/libopenstorage/openstorage/volume/errors.go create mode 100644 cluster-autoscaler/vendor/github.com/pborman/uuid/.travis.yml create mode 100644 cluster-autoscaler/vendor/github.com/pborman/uuid/CONTRIBUTING.md create mode 100644 cluster-autoscaler/vendor/github.com/pborman/uuid/CONTRIBUTORS create mode 100644 cluster-autoscaler/vendor/github.com/pborman/uuid/LICENSE create mode 100644 cluster-autoscaler/vendor/github.com/pborman/uuid/README.md create mode 100644 cluster-autoscaler/vendor/github.com/pborman/uuid/dce.go create mode 100644 cluster-autoscaler/vendor/github.com/pborman/uuid/doc.go create mode 100644 cluster-autoscaler/vendor/github.com/pborman/uuid/hash.go create mode 100644 cluster-autoscaler/vendor/github.com/pborman/uuid/marshal.go create mode 100644 cluster-autoscaler/vendor/github.com/pborman/uuid/node.go create mode 100644 cluster-autoscaler/vendor/github.com/pborman/uuid/sql.go create mode 100644 cluster-autoscaler/vendor/github.com/pborman/uuid/time.go create mode 100644 cluster-autoscaler/vendor/github.com/pborman/uuid/util.go create mode 100644 cluster-autoscaler/vendor/github.com/pborman/uuid/uuid.go create mode 100644 cluster-autoscaler/vendor/github.com/pborman/uuid/version1.go create mode 100644 cluster-autoscaler/vendor/github.com/pborman/uuid/version4.go create mode 100644 cluster-autoscaler/vendor/github.com/pquerna/cachecontrol/.travis.yml create mode 100644 cluster-autoscaler/vendor/github.com/pquerna/cachecontrol/LICENSE create mode 100644 cluster-autoscaler/vendor/github.com/pquerna/cachecontrol/README.md create mode 100644 cluster-autoscaler/vendor/github.com/pquerna/cachecontrol/api.go create mode 100644 cluster-autoscaler/vendor/github.com/pquerna/cachecontrol/cacheobject/directive.go create mode 100644 cluster-autoscaler/vendor/github.com/pquerna/cachecontrol/cacheobject/lex.go create mode 100644 cluster-autoscaler/vendor/github.com/pquerna/cachecontrol/cacheobject/object.go create mode 100644 cluster-autoscaler/vendor/github.com/pquerna/cachecontrol/cacheobject/reasons.go create mode 100644 cluster-autoscaler/vendor/github.com/pquerna/cachecontrol/cacheobject/warning.go create mode 100644 cluster-autoscaler/vendor/github.com/pquerna/cachecontrol/doc.go create mode 100644 cluster-autoscaler/vendor/golang.org/x/crypto/ed25519/ed25519.go create mode 100644 cluster-autoscaler/vendor/golang.org/x/crypto/pbkdf2/pbkdf2.go create mode 100644 cluster-autoscaler/vendor/google.golang.org/genproto/protobuf/field_mask/field_mask.go create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/.gitcookies.sh.enc create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/.gitignore create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/.travis.yml create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/BUG-BOUNTY.md create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/CONTRIBUTING.md create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/LICENSE create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/README.md create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/asymmetric.go create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/cipher/cbc_hmac.go create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/cipher/concat_kdf.go create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/cipher/ecdh_es.go create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/cipher/key_wrap.go create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/crypter.go create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/doc.go create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/encoding.go create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/json/LICENSE create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/json/README.md create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/json/decode.go create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/json/encode.go create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/json/indent.go create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/json/scanner.go create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/json/stream.go create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/json/tags.go create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/jwe.go create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/jwk.go create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/jws.go create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/opaque.go create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/shared.go create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/signing.go create mode 100644 cluster-autoscaler/vendor/gopkg.in/square/go-jose.v2/symmetric.go diff --git a/cluster-autoscaler/go.mod b/cluster-autoscaler/go.mod index 0a1991cc6d5f..6d6bcc361364 100644 --- a/cluster-autoscaler/go.mod +++ b/cluster-autoscaler/go.mod @@ -41,7 +41,7 @@ require ( k8s.io/api v0.30.0-alpha.3 k8s.io/apimachinery v0.30.0-alpha.3 k8s.io/apiserver v0.30.0-alpha.3 - k8s.io/client-go v0.30.0-alpha.3 + k8s.io/client-go v12.0.0+incompatible k8s.io/cloud-provider v0.30.0-alpha.3 k8s.io/cloud-provider-aws v1.27.0 k8s.io/code-generator v0.30.0-alpha.3 @@ -75,6 +75,7 @@ require ( github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/blang/semver/v4 v4.0.0 // indirect + github.com/cenkalti/backoff v2.2.1+incompatible // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect github.com/checkpoint-restore/go-criu/v5 v5.3.0 // indirect github.com/cilium/ebpf v0.9.1 // indirect @@ -82,10 +83,12 @@ require ( github.com/containerd/cgroups v1.1.0 // indirect github.com/containerd/console v1.0.3 // indirect github.com/containerd/ttrpc v1.2.2 // indirect + github.com/coreos/go-oidc v2.2.1+incompatible // indirect github.com/coreos/go-semver v0.3.1 // indirect github.com/coreos/go-systemd/v22 v22.5.0 // indirect github.com/cyphar/filepath-securejoin v0.2.4 // indirect github.com/davecgh/go-spew v1.1.1 // indirect + github.com/dgrijalva/jwt-go v3.2.1-0.20180719211823-0b96aaa70776+incompatible // indirect github.com/dimchansky/utfbom v1.1.1 // indirect github.com/distribution/reference v0.5.0 // indirect github.com/dnaeon/go-vcr v1.2.0 // indirect @@ -116,13 +119,15 @@ require ( github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect github.com/googleapis/gax-go/v2 v2.11.0 // indirect github.com/gorilla/websocket v1.5.0 // indirect + github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 // indirect github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect + github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 // indirect github.com/imdario/mergo v0.3.15 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/josharian/intern v1.0.0 // indirect github.com/karrick/godirwalk v1.17.0 // indirect - github.com/libopenstorage/openstorage v1.0.0 // indirect + github.com/libopenstorage/openstorage v1.0.1-0.20221116200755-f583b49964ec // indirect github.com/mailru/easyjson v0.7.7 // indirect github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible // indirect @@ -131,7 +136,7 @@ require ( github.com/moby/sys/mountinfo v0.6.2 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect - github.com/mohae/deepcopy v0.0.0-20170603005431-491d3605edfb // indirect + github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect github.com/mrunalp/fileutils v0.5.1 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect @@ -139,7 +144,9 @@ require ( github.com/opencontainers/runc v1.1.12 // indirect github.com/opencontainers/runtime-spec v1.0.3-0.20220909204839-494a5a6aca78 // indirect github.com/opencontainers/selinux v1.11.0 // indirect + github.com/pborman/uuid v1.2.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/pquerna/cachecontrol v0.1.0 // indirect github.com/prometheus/client_model v0.4.0 // indirect github.com/prometheus/common v0.44.0 // indirect github.com/prometheus/procfs v0.10.1 // indirect @@ -180,6 +187,7 @@ require ( google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect + gopkg.in/square/go-jose.v2 v2.6.0 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect k8s.io/apiextensions-apiserver v0.0.0 // indirect diff --git a/cluster-autoscaler/go.sum b/cluster-autoscaler/go.sum index 6597ebec22b2..77de7c4d9e3e 100644 --- a/cluster-autoscaler/go.sum +++ b/cluster-autoscaler/go.sum @@ -120,6 +120,8 @@ github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM= github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= +github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4= +github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= github.com/cenkalti/backoff/v4 v4.2.1 h1:y4OZtCnogmCPw98Zjyt5a6+QwPLGkiQsYW5oUqylYbM= github.com/cenkalti/backoff/v4 v4.2.1/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE= @@ -162,6 +164,8 @@ github.com/containerd/typeurl v1.0.2 h1:Chlt8zIieDbzQFzXzAeBEF92KhExuE4p9p92/QmY github.com/containerd/typeurl v1.0.2/go.mod h1:9trJWW2sRlGub4wZJRTW83VtbOLS6hwcDZXTn6oPz9s= github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= +github.com/coreos/go-oidc v2.2.1+incompatible h1:mh48q/BqXqgjVHpy2ZY7WnWAbenxRjsz9N1i1YxjHAk= +github.com/coreos/go-oidc v2.2.1+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc= github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-semver v0.3.1 h1:yi21YpKnrx1gt5R+la8n5WgS0kCrsPp33dmEyHReZr4= github.com/coreos/go-semver v0.3.1/go.mod h1:irMmmIw/7yzSRPWryHsK7EYSg09caPQL03VsM8rvUec= @@ -180,6 +184,8 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= +github.com/dgrijalva/jwt-go v3.2.1-0.20180719211823-0b96aaa70776+incompatible h1:KXHmiNq5AM1PBK0MgUU0T1gHdd7fpR7NFnkcp0Tnw2E= +github.com/dgrijalva/jwt-go v3.2.1-0.20180719211823-0b96aaa70776+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= github.com/digitalocean/godo v1.27.0 h1:78iE9oVvTnAEqhMip2UHFvL01b8LJcydbNUpr0cAmN4= github.com/digitalocean/godo v1.27.0/go.mod h1:iJnN9rVu6K5LioLxLimlq0uRI+y/eAQjROUmeU/r0hY= @@ -232,6 +238,7 @@ github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9 github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= @@ -357,6 +364,7 @@ github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLe github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/s2a-go v0.1.7 h1:60BLSyTrOV4/haCDW4zb1guZItoSq8foHCXrAnjBo/o= github.com/google/s2a-go v0.1.7/go.mod h1:50CgR4k1jNlWBu4UfS4AcfhVe1r6pdZPygJ3R8F0Qdw= +github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= @@ -422,8 +430,8 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/libopenstorage/openstorage v1.0.0 h1:GLPam7/0mpdP8ZZtKjbfcXJBTIA/T1O6CBErVEFEyIM= -github.com/libopenstorage/openstorage v1.0.0/go.mod h1:Sp1sIObHjat1BeXhfMqLZ14wnOzEhNx2YQedreMcUyc= +github.com/libopenstorage/openstorage v1.0.1-0.20221116200755-f583b49964ec h1:EQ+VTfA1VWan0oV9p0lxFbM9Whllbmn8f1ES2g/g9nY= +github.com/libopenstorage/openstorage v1.0.1-0.20221116200755-f583b49964ec/go.mod h1:YzzAF0twdm+CWNCy3CEhg2XfCIGnk/uThxct8Zn/1DU= github.com/lithammer/dedent v1.1.0 h1:VNzHMVCBNG1j0fh3OrsFRkVUwStdDArbgBWoPAffktY= github.com/lithammer/dedent v1.1.0/go.mod h1:jrXYCQtgg0nJiN+StA2KgR7w6CiQNv9Fd/Z9BP0jIOc= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= @@ -447,8 +455,8 @@ github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJ github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8= -github.com/mohae/deepcopy v0.0.0-20170603005431-491d3605edfb h1:e+l77LJOEqXTIQihQJVkA6ZxPOUmfPM5e4H7rcpgtSk= -github.com/mohae/deepcopy v0.0.0-20170603005431-491d3605edfb/go.mod h1:TaXosZuwdSHYgviHp1DAtfrULt5eUgsSMsZf+YrPgl8= +github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 h1:RWengNIwukTxcDr9M+97sNutRR1RKhG96O6jWumTTnw= +github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826/go.mod h1:TaXosZuwdSHYgviHp1DAtfrULt5eUgsSMsZf+YrPgl8= github.com/mrunalp/fileutils v0.5.1 h1:F+S7ZlNKnrwHfSwdlgNSkKo67ReVf8o9fel6C3dkm/Q= github.com/mrunalp/fileutils v0.5.1/go.mod h1:M1WthSahJixYnrXQl/DFQuteStB1weuxD2QJNHXfbSQ= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= @@ -473,6 +481,9 @@ github.com/opencontainers/runtime-spec v1.0.3-0.20220909204839-494a5a6aca78 h1:R github.com/opencontainers/runtime-spec v1.0.3-0.20220909204839-494a5a6aca78/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= github.com/opencontainers/selinux v1.11.0 h1:+5Zbo97w3Lbmb3PeqQtpmTkMwsW5nRI3YaLpt7tQ7oU= github.com/opencontainers/selinux v1.11.0/go.mod h1:E5dMC3VPuVvVHDYmi78qvhJp8+M586T4DlDRYpFkyec= +github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= +github.com/pborman/uuid v1.2.1 h1:+ZZIw58t/ozdjRaXh/3awHfmWRbzYxJoAdNJxe/3pvw= +github.com/pborman/uuid v1.2.1/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= @@ -480,6 +491,8 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/pquerna/cachecontrol v0.1.0 h1:yJMy84ti9h/+OEWa752kBTKv4XC30OtVVHYv/8cTqKc= +github.com/pquerna/cachecontrol v0.1.0/go.mod h1:NrUG3Z7Rdu85UNR3vm7SOsl1nFIeSiQnrHV5K9mBcUI= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= github.com/prometheus/client_golang v1.16.0 h1:yk/hx9hDbrGHovbci4BY+pRMfSuuat626eFsHb7tmT8= @@ -510,6 +523,7 @@ github.com/seccomp/libseccomp-golang v0.10.0 h1:aA4bp+/Zzi0BnWZ2F1wgNBs5gTpm+na2 github.com/seccomp/libseccomp-golang v0.10.0/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= +github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/sirupsen/logrus v1.9.0 h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0= @@ -764,6 +778,7 @@ golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -967,6 +982,7 @@ google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfG google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200423170343-7949de9c1215/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= @@ -1067,6 +1083,8 @@ gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= gopkg.in/natefinch/lumberjack.v2 v2.2.1 h1:bBRl1b0OH9s/DuPhuXpNl+VtCaJXFZ5/uEFST95x9zc= gopkg.in/natefinch/lumberjack.v2 v2.2.1/go.mod h1:YD8tP3GAjkrDg1eZH7EGmyESg/lsYskCTPBJVb9jqSc= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= +gopkg.in/square/go-jose.v2 v2.6.0 h1:NGk74WTnPKBNUhNzQX7PYcTLUjoq7mzKk2OKbvwk2iI= +gopkg.in/square/go-jose.v2 v2.6.0/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= diff --git a/cluster-autoscaler/vendor/github.com/cenkalti/backoff/.gitignore b/cluster-autoscaler/vendor/github.com/cenkalti/backoff/.gitignore new file mode 100644 index 000000000000..00268614f045 --- /dev/null +++ b/cluster-autoscaler/vendor/github.com/cenkalti/backoff/.gitignore @@ -0,0 +1,22 @@ +# Compiled Object files, Static and Dynamic libs (Shared Objects) +*.o +*.a +*.so + +# Folders +_obj +_test + +# Architecture specific extensions/prefixes +*.[568vq] +[568vq].out + +*.cgo1.go +*.cgo2.c +_cgo_defun.c +_cgo_gotypes.go +_cgo_export.* + +_testmain.go + +*.exe diff --git a/cluster-autoscaler/vendor/github.com/cenkalti/backoff/.travis.yml b/cluster-autoscaler/vendor/github.com/cenkalti/backoff/.travis.yml new file mode 100644 index 000000000000..47a6a46ec2ab --- /dev/null +++ b/cluster-autoscaler/vendor/github.com/cenkalti/backoff/.travis.yml @@ -0,0 +1,10 @@ +language: go +go: + - 1.7 + - 1.x + - tip +before_install: + - go get github.com/mattn/goveralls + - go get golang.org/x/tools/cmd/cover +script: + - $HOME/gopath/bin/goveralls -service=travis-ci diff --git a/cluster-autoscaler/vendor/github.com/cenkalti/backoff/LICENSE b/cluster-autoscaler/vendor/github.com/cenkalti/backoff/LICENSE new file mode 100644 index 000000000000..89b817996558 --- /dev/null +++ b/cluster-autoscaler/vendor/github.com/cenkalti/backoff/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2014 Cenk Altı + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/cluster-autoscaler/vendor/github.com/cenkalti/backoff/README.md b/cluster-autoscaler/vendor/github.com/cenkalti/backoff/README.md new file mode 100644 index 000000000000..55ebc98fc25f --- /dev/null +++ b/cluster-autoscaler/vendor/github.com/cenkalti/backoff/README.md @@ -0,0 +1,30 @@ +# Exponential Backoff [![GoDoc][godoc image]][godoc] [![Build Status][travis image]][travis] [![Coverage Status][coveralls image]][coveralls] + +This is a Go port of the exponential backoff algorithm from [Google's HTTP Client Library for Java][google-http-java-client]. + +[Exponential backoff][exponential backoff wiki] +is an algorithm that uses feedback to multiplicatively decrease the rate of some process, +in order to gradually find an acceptable rate. +The retries exponentially increase and stop increasing when a certain threshold is met. + +## Usage + +See https://godoc.org/github.com/cenkalti/backoff#pkg-examples + +## Contributing + +* I would like to keep this library as small as possible. +* Please don't send a PR without opening an issue and discussing it first. +* If proposed change is not a common use case, I will probably not accept it. + +[godoc]: https://godoc.org/github.com/cenkalti/backoff +[godoc image]: https://godoc.org/github.com/cenkalti/backoff?status.png +[travis]: https://travis-ci.org/cenkalti/backoff +[travis image]: https://travis-ci.org/cenkalti/backoff.png?branch=master +[coveralls]: https://coveralls.io/github/cenkalti/backoff?branch=master +[coveralls image]: https://coveralls.io/repos/github/cenkalti/backoff/badge.svg?branch=master + +[google-http-java-client]: https://github.com/google/google-http-java-client/blob/da1aa993e90285ec18579f1553339b00e19b3ab5/google-http-client/src/main/java/com/google/api/client/util/ExponentialBackOff.java +[exponential backoff wiki]: http://en.wikipedia.org/wiki/Exponential_backoff + +[advanced example]: https://godoc.org/github.com/cenkalti/backoff#example_ diff --git a/cluster-autoscaler/vendor/github.com/cenkalti/backoff/backoff.go b/cluster-autoscaler/vendor/github.com/cenkalti/backoff/backoff.go new file mode 100644 index 000000000000..3676ee405d87 --- /dev/null +++ b/cluster-autoscaler/vendor/github.com/cenkalti/backoff/backoff.go @@ -0,0 +1,66 @@ +// Package backoff implements backoff algorithms for retrying operations. +// +// Use Retry function for retrying operations that may fail. +// If Retry does not meet your needs, +// copy/paste the function into your project and modify as you wish. +// +// There is also Ticker type similar to time.Ticker. +// You can use it if you need to work with channels. +// +// See Examples section below for usage examples. +package backoff + +import "time" + +// BackOff is a backoff policy for retrying an operation. +type BackOff interface { + // NextBackOff returns the duration to wait before retrying the operation, + // or backoff. Stop to indicate that no more retries should be made. + // + // Example usage: + // + // duration := backoff.NextBackOff(); + // if (duration == backoff.Stop) { + // // Do not retry operation. + // } else { + // // Sleep for duration and retry operation. + // } + // + NextBackOff() time.Duration + + // Reset to initial state. + Reset() +} + +// Stop indicates that no more retries should be made for use in NextBackOff(). +const Stop time.Duration = -1 + +// ZeroBackOff is a fixed backoff policy whose backoff time is always zero, +// meaning that the operation is retried immediately without waiting, indefinitely. +type ZeroBackOff struct{} + +func (b *ZeroBackOff) Reset() {} + +func (b *ZeroBackOff) NextBackOff() time.Duration { return 0 } + +// StopBackOff is a fixed backoff policy that always returns backoff.Stop for +// NextBackOff(), meaning that the operation should never be retried. +type StopBackOff struct{} + +func (b *StopBackOff) Reset() {} + +func (b *StopBackOff) NextBackOff() time.Duration { return Stop } + +// ConstantBackOff is a backoff policy that always returns the same backoff delay. +// This is in contrast to an exponential backoff policy, +// which returns a delay that grows longer as you call NextBackOff() over and over again. +type ConstantBackOff struct { + Interval time.Duration +} + +func (b *ConstantBackOff) Reset() {} +func (b *ConstantBackOff) NextBackOff() time.Duration { return b.Interval } + +func NewConstantBackOff(d time.Duration) *ConstantBackOff { + return &ConstantBackOff{Interval: d} +} diff --git a/cluster-autoscaler/vendor/github.com/cenkalti/backoff/context.go b/cluster-autoscaler/vendor/github.com/cenkalti/backoff/context.go new file mode 100644 index 000000000000..7706faa2b600 --- /dev/null +++ b/cluster-autoscaler/vendor/github.com/cenkalti/backoff/context.go @@ -0,0 +1,63 @@ +package backoff + +import ( + "context" + "time" +) + +// BackOffContext is a backoff policy that stops retrying after the context +// is canceled. +type BackOffContext interface { + BackOff + Context() context.Context +} + +type backOffContext struct { + BackOff + ctx context.Context +} + +// WithContext returns a BackOffContext with context ctx +// +// ctx must not be nil +func WithContext(b BackOff, ctx context.Context) BackOffContext { + if ctx == nil { + panic("nil context") + } + + if b, ok := b.(*backOffContext); ok { + return &backOffContext{ + BackOff: b.BackOff, + ctx: ctx, + } + } + + return &backOffContext{ + BackOff: b, + ctx: ctx, + } +} + +func ensureContext(b BackOff) BackOffContext { + if cb, ok := b.(BackOffContext); ok { + return cb + } + return WithContext(b, context.Background()) +} + +func (b *backOffContext) Context() context.Context { + return b.ctx +} + +func (b *backOffContext) NextBackOff() time.Duration { + select { + case <-b.ctx.Done(): + return Stop + default: + } + next := b.BackOff.NextBackOff() + if deadline, ok := b.ctx.Deadline(); ok && deadline.Sub(time.Now()) < next { + return Stop + } + return next +} diff --git a/cluster-autoscaler/vendor/github.com/cenkalti/backoff/exponential.go b/cluster-autoscaler/vendor/github.com/cenkalti/backoff/exponential.go new file mode 100644 index 000000000000..a031a659799f --- /dev/null +++ b/cluster-autoscaler/vendor/github.com/cenkalti/backoff/exponential.go @@ -0,0 +1,153 @@ +package backoff + +import ( + "math/rand" + "time" +) + +/* +ExponentialBackOff is a backoff implementation that increases the backoff +period for each retry attempt using a randomization function that grows exponentially. + +NextBackOff() is calculated using the following formula: + + randomized interval = + RetryInterval * (random value in range [1 - RandomizationFactor, 1 + RandomizationFactor]) + +In other words NextBackOff() will range between the randomization factor +percentage below and above the retry interval. + +For example, given the following parameters: + + RetryInterval = 2 + RandomizationFactor = 0.5 + Multiplier = 2 + +the actual backoff period used in the next retry attempt will range between 1 and 3 seconds, +multiplied by the exponential, that is, between 2 and 6 seconds. + +Note: MaxInterval caps the RetryInterval and not the randomized interval. + +If the time elapsed since an ExponentialBackOff instance is created goes past the +MaxElapsedTime, then the method NextBackOff() starts returning backoff.Stop. + +The elapsed time can be reset by calling Reset(). + +Example: Given the following default arguments, for 10 tries the sequence will be, +and assuming we go over the MaxElapsedTime on the 10th try: + + Request # RetryInterval (seconds) Randomized Interval (seconds) + + 1 0.5 [0.25, 0.75] + 2 0.75 [0.375, 1.125] + 3 1.125 [0.562, 1.687] + 4 1.687 [0.8435, 2.53] + 5 2.53 [1.265, 3.795] + 6 3.795 [1.897, 5.692] + 7 5.692 [2.846, 8.538] + 8 8.538 [4.269, 12.807] + 9 12.807 [6.403, 19.210] + 10 19.210 backoff.Stop + +Note: Implementation is not thread-safe. +*/ +type ExponentialBackOff struct { + InitialInterval time.Duration + RandomizationFactor float64 + Multiplier float64 + MaxInterval time.Duration + // After MaxElapsedTime the ExponentialBackOff stops. + // It never stops if MaxElapsedTime == 0. + MaxElapsedTime time.Duration + Clock Clock + + currentInterval time.Duration + startTime time.Time +} + +// Clock is an interface that returns current time for BackOff. +type Clock interface { + Now() time.Time +} + +// Default values for ExponentialBackOff. +const ( + DefaultInitialInterval = 500 * time.Millisecond + DefaultRandomizationFactor = 0.5 + DefaultMultiplier = 1.5 + DefaultMaxInterval = 60 * time.Second + DefaultMaxElapsedTime = 15 * time.Minute +) + +// NewExponentialBackOff creates an instance of ExponentialBackOff using default values. +func NewExponentialBackOff() *ExponentialBackOff { + b := &ExponentialBackOff{ + InitialInterval: DefaultInitialInterval, + RandomizationFactor: DefaultRandomizationFactor, + Multiplier: DefaultMultiplier, + MaxInterval: DefaultMaxInterval, + MaxElapsedTime: DefaultMaxElapsedTime, + Clock: SystemClock, + } + b.Reset() + return b +} + +type systemClock struct{} + +func (t systemClock) Now() time.Time { + return time.Now() +} + +// SystemClock implements Clock interface that uses time.Now(). +var SystemClock = systemClock{} + +// Reset the interval back to the initial retry interval and restarts the timer. +func (b *ExponentialBackOff) Reset() { + b.currentInterval = b.InitialInterval + b.startTime = b.Clock.Now() +} + +// NextBackOff calculates the next backoff interval using the formula: +// Randomized interval = RetryInterval +/- (RandomizationFactor * RetryInterval) +func (b *ExponentialBackOff) NextBackOff() time.Duration { + // Make sure we have not gone over the maximum elapsed time. + if b.MaxElapsedTime != 0 && b.GetElapsedTime() > b.MaxElapsedTime { + return Stop + } + defer b.incrementCurrentInterval() + return getRandomValueFromInterval(b.RandomizationFactor, rand.Float64(), b.currentInterval) +} + +// GetElapsedTime returns the elapsed time since an ExponentialBackOff instance +// is created and is reset when Reset() is called. +// +// The elapsed time is computed using time.Now().UnixNano(). It is +// safe to call even while the backoff policy is used by a running +// ticker. +func (b *ExponentialBackOff) GetElapsedTime() time.Duration { + return b.Clock.Now().Sub(b.startTime) +} + +// Increments the current interval by multiplying it with the multiplier. +func (b *ExponentialBackOff) incrementCurrentInterval() { + // Check for overflow, if overflow is detected set the current interval to the max interval. + if float64(b.currentInterval) >= float64(b.MaxInterval)/b.Multiplier { + b.currentInterval = b.MaxInterval + } else { + b.currentInterval = time.Duration(float64(b.currentInterval) * b.Multiplier) + } +} + +// Returns a random value from the following interval: +// [randomizationFactor * currentInterval, randomizationFactor * currentInterval]. +func getRandomValueFromInterval(randomizationFactor, random float64, currentInterval time.Duration) time.Duration { + var delta = randomizationFactor * float64(currentInterval) + var minInterval = float64(currentInterval) - delta + var maxInterval = float64(currentInterval) + delta + + // Get a random value from the range [minInterval, maxInterval]. + // The formula used below has a +1 because if the minInterval is 1 and the maxInterval is 3 then + // we want a 33% chance for selecting either 1, 2 or 3. + return time.Duration(minInterval + (random * (maxInterval - minInterval + 1))) +} diff --git a/cluster-autoscaler/vendor/github.com/cenkalti/backoff/retry.go b/cluster-autoscaler/vendor/github.com/cenkalti/backoff/retry.go new file mode 100644 index 000000000000..e936a506f849 --- /dev/null +++ b/cluster-autoscaler/vendor/github.com/cenkalti/backoff/retry.go @@ -0,0 +1,82 @@ +package backoff + +import "time" + +// An Operation is executing by Retry() or RetryNotify(). +// The operation will be retried using a backoff policy if it returns an error. +type Operation func() error + +// Notify is a notify-on-error function. It receives an operation error and +// backoff delay if the operation failed (with an error). +// +// NOTE that if the backoff policy stated to stop retrying, +// the notify function isn't called. +type Notify func(error, time.Duration) + +// Retry the operation o until it does not return error or BackOff stops. +// o is guaranteed to be run at least once. +// +// If o returns a *PermanentError, the operation is not retried, and the +// wrapped error is returned. +// +// Retry sleeps the goroutine for the duration returned by BackOff after a +// failed operation returns. +func Retry(o Operation, b BackOff) error { return RetryNotify(o, b, nil) } + +// RetryNotify calls notify function with the error and wait duration +// for each failed attempt before sleep. +func RetryNotify(operation Operation, b BackOff, notify Notify) error { + var err error + var next time.Duration + var t *time.Timer + + cb := ensureContext(b) + + b.Reset() + for { + if err = operation(); err == nil { + return nil + } + + if permanent, ok := err.(*PermanentError); ok { + return permanent.Err + } + + if next = cb.NextBackOff(); next == Stop { + return err + } + + if notify != nil { + notify(err, next) + } + + if t == nil { + t = time.NewTimer(next) + defer t.Stop() + } else { + t.Reset(next) + } + + select { + case <-cb.Context().Done(): + return err + case <-t.C: + } + } +} + +// PermanentError signals that the operation should not be retried. +type PermanentError struct { + Err error +} + +func (e *PermanentError) Error() string { + return e.Err.Error() +} + +// Permanent wraps the given err in a *PermanentError. +func Permanent(err error) *PermanentError { + return &PermanentError{ + Err: err, + } +} diff --git a/cluster-autoscaler/vendor/github.com/cenkalti/backoff/ticker.go b/cluster-autoscaler/vendor/github.com/cenkalti/backoff/ticker.go new file mode 100644 index 000000000000..e41084b0eff9 --- /dev/null +++ b/cluster-autoscaler/vendor/github.com/cenkalti/backoff/ticker.go @@ -0,0 +1,82 @@ +package backoff + +import ( + "sync" + "time" +) + +// Ticker holds a channel that delivers `ticks' of a clock at times reported by a BackOff. +// +// Ticks will continue to arrive when the previous operation is still running, +// so operations that take a while to fail could run in quick succession. +type Ticker struct { + C <-chan time.Time + c chan time.Time + b BackOffContext + stop chan struct{} + stopOnce sync.Once +} + +// NewTicker returns a new Ticker containing a channel that will send +// the time at times specified by the BackOff argument. Ticker is +// guaranteed to tick at least once. The channel is closed when Stop +// method is called or BackOff stops. It is not safe to manipulate the +// provided backoff policy (notably calling NextBackOff or Reset) +// while the ticker is running. +func NewTicker(b BackOff) *Ticker { + c := make(chan time.Time) + t := &Ticker{ + C: c, + c: c, + b: ensureContext(b), + stop: make(chan struct{}), + } + t.b.Reset() + go t.run() + return t +} + +// Stop turns off a ticker. After Stop, no more ticks will be sent. +func (t *Ticker) Stop() { + t.stopOnce.Do(func() { close(t.stop) }) +} + +func (t *Ticker) run() { + c := t.c + defer close(c) + + // Ticker is guaranteed to tick at least once. + afterC := t.send(time.Now()) + + for { + if afterC == nil { + return + } + + select { + case tick := <-afterC: + afterC = t.send(tick) + case <-t.stop: + t.c = nil // Prevent future ticks from being sent to the channel. + return + case <-t.b.Context().Done(): + return + } + } +} + +func (t *Ticker) send(tick time.Time) <-chan time.Time { + select { + case t.c <- tick: + case <-t.stop: + return nil + } + + next := t.b.NextBackOff() + if next == Stop { + t.Stop() + return nil + } + + return time.After(next) +} diff --git a/cluster-autoscaler/vendor/github.com/cenkalti/backoff/tries.go b/cluster-autoscaler/vendor/github.com/cenkalti/backoff/tries.go new file mode 100644 index 000000000000..cfeefd9b764c --- /dev/null +++ b/cluster-autoscaler/vendor/github.com/cenkalti/backoff/tries.go @@ -0,0 +1,35 @@ +package backoff + +import "time" + +/* +WithMaxRetries creates a wrapper around another BackOff, which will +return Stop if NextBackOff() has been called too many times since +the last time Reset() was called + +Note: Implementation is not thread-safe. +*/ +func WithMaxRetries(b BackOff, max uint64) BackOff { + return &backOffTries{delegate: b, maxTries: max} +} + +type backOffTries struct { + delegate BackOff + maxTries uint64 + numTries uint64 +} + +func (b *backOffTries) NextBackOff() time.Duration { + if b.maxTries > 0 { + if b.maxTries <= b.numTries { + return Stop + } + b.numTries++ + } + return b.delegate.NextBackOff() +} + +func (b *backOffTries) Reset() { + b.numTries = 0 + b.delegate.Reset() +} diff --git a/cluster-autoscaler/vendor/github.com/coreos/go-oidc/.gitignore b/cluster-autoscaler/vendor/github.com/coreos/go-oidc/.gitignore new file mode 100644 index 000000000000..c96f2f47bc6d --- /dev/null +++ b/cluster-autoscaler/vendor/github.com/coreos/go-oidc/.gitignore @@ -0,0 +1,2 @@ +/bin +/gopath diff --git a/cluster-autoscaler/vendor/github.com/coreos/go-oidc/.travis.yml b/cluster-autoscaler/vendor/github.com/coreos/go-oidc/.travis.yml new file mode 100644 index 000000000000..3fddaaac90e8 --- /dev/null +++ b/cluster-autoscaler/vendor/github.com/coreos/go-oidc/.travis.yml @@ -0,0 +1,16 @@ +language: go + +go: + - "1.12" + - "1.13" + +install: + - go get -v -t github.com/coreos/go-oidc/... + - go get golang.org/x/tools/cmd/cover + - go get golang.org/x/lint/golint + +script: + - ./test + +notifications: + email: false diff --git a/cluster-autoscaler/vendor/github.com/coreos/go-oidc/CONTRIBUTING.md b/cluster-autoscaler/vendor/github.com/coreos/go-oidc/CONTRIBUTING.md new file mode 100644 index 000000000000..6662073a848e --- /dev/null +++ b/cluster-autoscaler/vendor/github.com/coreos/go-oidc/CONTRIBUTING.md @@ -0,0 +1,71 @@ +# How to Contribute + +CoreOS projects are [Apache 2.0 licensed](LICENSE) and accept contributions via +GitHub pull requests. This document outlines some of the conventions on +development workflow, commit message formatting, contact points and other +resources to make it easier to get your contribution accepted. + +# Certificate of Origin + +By contributing to this project you agree to the Developer Certificate of +Origin (DCO). This document was created by the Linux Kernel community and is a +simple statement that you, as a contributor, have the legal right to make the +contribution. See the [DCO](DCO) file for details. + +# Email and Chat + +The project currently uses the general CoreOS email list and IRC channel: +- Email: [coreos-dev](https://groups.google.com/forum/#!forum/coreos-dev) +- IRC: #[coreos](irc://irc.freenode.org:6667/#coreos) IRC channel on freenode.org + +Please avoid emailing maintainers found in the MAINTAINERS file directly. They +are very busy and read the mailing lists. + +## Getting Started + +- Fork the repository on GitHub +- Read the [README](README.md) for build and test instructions +- Play with the project, submit bugs, submit patches! + +## Contribution Flow + +This is a rough outline of what a contributor's workflow looks like: + +- Create a topic branch from where you want to base your work (usually master). +- Make commits of logical units. +- Make sure your commit messages are in the proper format (see below). +- Push your changes to a topic branch in your fork of the repository. +- Make sure the tests pass, and add any new tests as appropriate. +- Submit a pull request to the original repository. + +Thanks for your contributions! + +### Format of the Commit Message + +We follow a rough convention for commit messages that is designed to answer two +questions: what changed and why. The subject line should feature the what and +the body of the commit should describe the why. + +``` +scripts: add the test-cluster command + +this uses tmux to setup a test cluster that you can easily kill and +start for debugging. + +Fixes #38 +``` + +The format can be described more formally as follows: + +``` +: + + + +