...

Text file src/github.com/datawire/ambassador/v2/go.mod

Documentation: github.com/datawire/ambassador/v2

     1module github.com/datawire/ambassador/v2
     2
     3go 1.19
     4
     5// If you're editing this file, there's a few things you should know:
     6//
     7//  1. Avoid the `replace` command as much as possible.  Go only pays
     8//     attention to the `replace` command when it appears in the main
     9//     module, which means that if the `replace` command is required
    10//     for the compile to work, then anything using ambassador.git as
    11//     a library needs to duplicate that `replace` in their go.mod.
    12//     We don't want to burden our users with that if we can avoid it
    13//     (since we encourage them to use the gRPC Go libraries when
    14//     implementing plugin services), and we don't want to deal with
    15//     that ourselves in apro.git.
    16//
    17//     The biggest reason we wouldn't be able to avoid it is if we
    18//     need to pull in a library that has a `replace` in its
    19//     go.mod--just as us adding a `replace` to our go.mod would
    20//     require our dependents to do the same, our dependencies adding
    21//     a `replace` requires us to do the same.  And even then, if
    22//     we're careful we might be able to avoid it.
    23//
    24//  2. If you do add a `replace` command to this file, always include
    25//     a version number to the left of the "=>" (even if you're
    26//     copying the command from a dependnecy and the dependency's
    27//     go.mod doesn't have a version on the left side).  This way we
    28//     don't accidentally keep pinning to an older version after our
    29//     dependency's `replace` goes away.  Sometimes it can be tricky
    30//     to figure out what version to put on the left side; often the
    31//     easiest way to figure it out is to get it working without a
    32//     version, run `go mod vendor`, then grep for "=>" in
    33//     `./vendor/modules.txt`.  If you don't see a "=>" line for that
    34//     replacement in modules.txt, then that's an indicator that we
    35//     don't really need that `replace`, maybe instead using a
    36//     `require`.
    37//
    38//  3. If you do add a `replace` command to this file, you must also
    39//     add it to the go.mod in apro.git (see above for explanation).
    40
    41// Because we (unfortunately) need to require k8s.io/kubernetes, which
    42// is (unfortunately) managed in a way that makes it hostile to being
    43// used as a library (see
    44// https://news.ycombinator.com/item?id=27827389) we need to tell Go
    45// to not try to resolve those bogus/broken v0.0.0 versions.
    46exclude (
    47	k8s.io/api v0.0.0
    48	k8s.io/apiextensions-apiserver v0.0.0
    49	k8s.io/apimachinery v0.0.0
    50	k8s.io/apiserver v0.0.0
    51	k8s.io/cli-runtime v0.0.0
    52	k8s.io/client-go v0.0.0
    53	k8s.io/cloud-provider v0.0.0
    54	k8s.io/cluster-bootstrap v0.0.0
    55	k8s.io/code-generator v0.0.0
    56	k8s.io/component-base v0.0.0
    57	k8s.io/component-helpers v0.0.0
    58	k8s.io/controller-manager v0.0.0
    59	k8s.io/cri-api v0.0.0
    60	k8s.io/csi-translation-lib v0.0.0
    61	k8s.io/kube-aggregator v0.0.0
    62	k8s.io/kube-controller-manager v0.0.0
    63	k8s.io/kube-proxy v0.0.0
    64	k8s.io/kube-scheduler v0.0.0
    65	k8s.io/kubectl v0.0.0
    66	k8s.io/kubelet v0.0.0
    67	k8s.io/legacy-cloud-providers v0.0.0
    68	k8s.io/metrics v0.0.0
    69	k8s.io/mount-utils v0.0.0
    70	k8s.io/sample-apiserver v0.0.0
    71)
    72
    73// Invalid pseudo-version.
    74exclude github.com/go-check/check v1.0.0-20180628173108-788fd7840127
    75
    76// We've got some bug-fixes that we need for conversion-gen and
    77// controller-gen.
    78replace (
    79	k8s.io/code-generator v0.21.9 => github.com/emissary-ingress/code-generator v0.21.10-rc.0.0.20220204004229-4708b255a33a
    80	sigs.k8s.io/controller-tools v0.6.2 => github.com/emissary-ingress/controller-tools v0.6.3-0.20220204053320-db507acbb466
    81)
    82
    83require (
    84	github.com/Masterminds/sprig v2.22.0+incompatible
    85	github.com/argoproj/argo-rollouts v1.1.1
    86	github.com/census-instrumentation/opencensus-proto v0.3.0
    87	github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe
    88	github.com/datawire/dlib v1.3.0
    89	github.com/datawire/dtest v0.0.0-20210928162311-722b199c4c2f
    90	github.com/datawire/go-mkopensource v0.0.0-20220218163159-cc298d9fabc4
    91	github.com/envoyproxy/protoc-gen-validate v0.6.3
    92	github.com/fsnotify/fsnotify v1.5.1
    93	github.com/getkin/kin-openapi v0.89.0
    94	github.com/golang/protobuf v1.5.2
    95	github.com/google/go-cmp v0.5.7
    96	github.com/google/uuid v1.3.0
    97	github.com/gorilla/websocket v1.4.2
    98	github.com/hashicorp/consul/api v1.12.0
    99	github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
   100	github.com/pkg/errors v0.9.1
   101	github.com/pmezard/go-difflib v1.0.0
   102	github.com/prometheus/client_model v0.2.0
   103	github.com/sirupsen/logrus v1.8.1
   104	github.com/spf13/cobra v1.3.0
   105	github.com/spf13/pflag v1.0.5
   106	github.com/stretchr/testify v1.7.0
   107	golang.org/x/mod v0.5.1
   108	golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27
   109	google.golang.org/genproto v0.0.0-20220204002441-d6cc3cc0770e
   110	google.golang.org/grpc v1.44.0
   111	google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.2.0
   112	google.golang.org/protobuf v1.27.1
   113	gopkg.in/yaml.v2 v2.4.0
   114	k8s.io/api v0.21.9
   115	k8s.io/apiextensions-apiserver v0.21.9
   116	k8s.io/apimachinery v0.21.9
   117	k8s.io/cli-runtime v0.21.9
   118	k8s.io/client-go v0.21.9
   119	k8s.io/code-generator v0.21.9
   120	k8s.io/klog/v2 v2.10.0
   121	k8s.io/kube-openapi v0.0.0-20211110012726-3cc51fd1e909
   122	k8s.io/kubectl v0.21.9
   123	k8s.io/kubernetes v1.21.9
   124	k8s.io/metrics v0.21.9
   125	sigs.k8s.io/controller-runtime v0.9.7
   126	sigs.k8s.io/controller-tools v0.6.2
   127	sigs.k8s.io/gateway-api v0.2.0
   128	sigs.k8s.io/yaml v1.3.0
   129)
   130
   131require (
   132	cloud.google.com/go/compute v1.2.0 // indirect
   133	github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
   134	github.com/Azure/go-autorest v14.2.0+incompatible // indirect
   135	github.com/Azure/go-autorest/autorest v0.11.24 // indirect
   136	github.com/Azure/go-autorest/autorest/adal v0.9.18 // indirect
   137	github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
   138	github.com/Azure/go-autorest/logger v0.2.1 // indirect
   139	github.com/Azure/go-autorest/tracing v0.6.0 // indirect
   140	github.com/MakeNowJust/heredoc v1.0.0 // indirect
   141	github.com/Masterminds/goutils v1.1.1 // indirect
   142	github.com/Masterminds/semver v1.5.0 // indirect
   143	github.com/PuerkitoBio/purell v1.1.1 // indirect
   144	github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
   145	github.com/armon/go-metrics v0.3.10 // indirect
   146	github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect
   147	github.com/cncf/xds/go v0.0.0-20220121163655-4a2b9fdd466b // indirect
   148	github.com/davecgh/go-spew v1.1.1 // indirect
   149	github.com/docker/distribution v2.7.1+incompatible // indirect
   150	github.com/emicklei/go-restful v2.15.0+incompatible // indirect
   151	github.com/evanphx/json-patch v5.6.0+incompatible // indirect
   152	github.com/exponent-io/jsonpath v0.0.0-20210407135951-1de76d718b3f // indirect
   153	github.com/fatih/camelcase v1.0.0 // indirect
   154	github.com/fatih/color v1.13.0 // indirect
   155	github.com/ghodss/yaml v1.0.1-0.20190212211648-25d852aebe32 // indirect
   156	github.com/go-errors/errors v1.4.2 // indirect
   157	github.com/go-logr/logr v0.4.0 // indirect
   158	github.com/go-openapi/jsonpointer v0.19.5 // indirect
   159	github.com/go-openapi/jsonreference v0.19.6 // indirect
   160	github.com/go-openapi/spec v0.20.4 // indirect
   161	github.com/go-openapi/swag v0.21.1 // indirect
   162	github.com/gobuffalo/flect v0.2.3 // indirect
   163	github.com/gogo/protobuf v1.3.2 // indirect
   164	github.com/golang-jwt/jwt/v4 v4.2.0 // indirect
   165	github.com/google/btree v1.0.1 // indirect
   166	github.com/google/gofuzz v1.2.0 // indirect
   167	github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
   168	github.com/googleapis/gnostic v0.5.5 // indirect
   169	github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
   170	github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
   171	github.com/hashicorp/go-hclog v1.1.0 // indirect
   172	github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
   173	github.com/hashicorp/go-rootcerts v1.0.2 // indirect
   174	github.com/hashicorp/golang-lru v0.5.4 // indirect
   175	github.com/hashicorp/serf v0.9.7 // indirect
   176	github.com/huandu/xstrings v1.3.2 // indirect
   177	github.com/imdario/mergo v0.3.12 // indirect
   178	github.com/inconshreveable/mousetrap v1.0.0 // indirect
   179	github.com/josharian/intern v1.0.1-0.20211109044230-42b52b674af5 // indirect
   180	github.com/json-iterator/go v1.1.12 // indirect
   181	github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
   182	github.com/mailru/easyjson v0.7.7 // indirect
   183	github.com/mattn/go-colorable v0.1.12 // indirect
   184	github.com/mattn/go-isatty v0.0.14 // indirect
   185	github.com/mitchellh/copystructure v1.2.0 // indirect
   186	github.com/mitchellh/go-homedir v1.1.0 // indirect
   187	github.com/mitchellh/go-wordwrap v1.0.1 // indirect
   188	github.com/mitchellh/mapstructure v1.4.3 // indirect
   189	github.com/mitchellh/reflectwalk v1.0.2 // indirect
   190	github.com/moby/spdystream v0.2.0 // indirect
   191	github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 // indirect
   192	github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
   193	github.com/modern-go/reflect2 v1.0.2 // indirect
   194	github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
   195	github.com/opencontainers/go-digest v1.0.0 // indirect
   196	github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
   197	github.com/russross/blackfriday v1.6.0 // indirect
   198	github.com/xlab/treeprint v1.1.0 // indirect
   199	go.starlark.net v0.0.0-20220203230714-bb14e151c28f // indirect
   200	golang.org/x/crypto v0.0.0-20220131195533-30dcbda58838 // indirect
   201	golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect
   202	golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect
   203	golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
   204	golang.org/x/text v0.3.7 // indirect
   205	golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11 // indirect
   206	golang.org/x/tools v0.1.5 // indirect
   207	golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
   208	google.golang.org/appengine v1.6.7 // indirect
   209	gopkg.in/inf.v0 v0.9.1 // indirect
   210	gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
   211	k8s.io/apiserver v0.21.9 // indirect
   212	k8s.io/component-base v0.21.9 // indirect
   213	k8s.io/gengo v0.0.0-20201214224949-b6c5ce23f027 // indirect
   214	k8s.io/utils v0.0.0-20210802155522-efc7438f0176 // indirect
   215	sigs.k8s.io/kustomize/api v0.8.8 // indirect
   216	sigs.k8s.io/kustomize/kyaml v0.10.17 // indirect
   217	sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect
   218)

View as plain text