[camel-k] branch master updated: Remove vendor directory for good

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[camel-k] branch master updated: Remove vendor directory for good

nferraro
This is an automated email from the ASF dual-hosted git repository.

nferraro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/master by this push:
     new 5a0c0b9  Remove vendor directory for good
5a0c0b9 is described below

commit 5a0c0b9f9fec87856a1c89f5a4587d086ec5e661
Author: Antonin Stefanutti <[hidden email]>
AuthorDate: Fri May 24 16:30:50 2019 +0200

    Remove vendor directory for good
---
 vendor/cloud.google.com/go/AUTHORS                 |    15 -
 vendor/cloud.google.com/go/CONTRIBUTORS            |    40 -
 vendor/cloud.google.com/go/LICENSE                 |   202 -
 .../go/compute/metadata/metadata.go                |   513 -
 vendor/github.com/Masterminds/semver/LICENSE.txt   |    20 -
 vendor/github.com/Masterminds/semver/collection.go |    24 -
 .../github.com/Masterminds/semver/constraints.go   |   426 -
 vendor/github.com/Masterminds/semver/doc.go        |   115 -
 vendor/github.com/Masterminds/semver/version.go    |   421 -
 vendor/github.com/PuerkitoBio/purell/LICENSE       |    12 -
 vendor/github.com/PuerkitoBio/purell/purell.go     |   379 -
 vendor/github.com/PuerkitoBio/urlesc/LICENSE       |    27 -
 vendor/github.com/PuerkitoBio/urlesc/urlesc.go     |   180 -
 vendor/github.com/alecthomas/jsonschema/COPYING    |    19 -
 vendor/github.com/alecthomas/jsonschema/reflect.go |   460 -
 vendor/github.com/appscode/jsonpatch/LICENSE       |   202 -
 vendor/github.com/appscode/jsonpatch/jsonpatch.go  |   336 -
 vendor/github.com/beorn7/perks/LICENSE             |    20 -
 vendor/github.com/beorn7/perks/quantile/stream.go  |   316 -
 .../github.com/coreos/prometheus-operator/LICENSE  |   202 -
 .../github.com/coreos/prometheus-operator/NOTICE   |     5 -
 .../pkg/apis/monitoring/register.go                |    19 -
 .../pkg/apis/monitoring/v1/crd_kinds.go            |    81 -
 .../pkg/apis/monitoring/v1/doc.go                  |    18 -
 .../pkg/apis/monitoring/v1/openapi_generated.go    | 13802 -----
 .../pkg/apis/monitoring/v1/register.go             |    61 -
 .../pkg/apis/monitoring/v1/types.go                |   826 -
 .../apis/monitoring/v1/zz_generated.deepcopy.go    |  1378 -
 vendor/github.com/davecgh/go-spew/LICENSE          |    15 -
 vendor/github.com/davecgh/go-spew/spew/bypass.go   |   145 -
 .../github.com/davecgh/go-spew/spew/bypasssafe.go  |    38 -
 vendor/github.com/davecgh/go-spew/spew/common.go   |   341 -
 vendor/github.com/davecgh/go-spew/spew/config.go   |   306 -
 vendor/github.com/davecgh/go-spew/spew/doc.go      |   211 -
 vendor/github.com/davecgh/go-spew/spew/dump.go     |   509 -
 vendor/github.com/davecgh/go-spew/spew/format.go   |   419 -
 vendor/github.com/davecgh/go-spew/spew/spew.go     |   148 -
 vendor/github.com/emicklei/go-restful/LICENSE      |    22 -
 vendor/github.com/emicklei/go-restful/compress.go  |   123 -
 .../emicklei/go-restful/compressor_cache.go        |   103 -
 .../emicklei/go-restful/compressor_pools.go        |    91 -
 .../github.com/emicklei/go-restful/compressors.go  |    54 -
 vendor/github.com/emicklei/go-restful/constants.go |    30 -
 vendor/github.com/emicklei/go-restful/container.go |   377 -
 .../github.com/emicklei/go-restful/cors_filter.go  |   202 -
 vendor/github.com/emicklei/go-restful/curly.go     |   164 -
 .../github.com/emicklei/go-restful/curly_route.go  |    52 -
 vendor/github.com/emicklei/go-restful/doc.go       |   185 -
 .../emicklei/go-restful/entity_accessors.go        |   162 -
 vendor/github.com/emicklei/go-restful/filter.go    |    35 -
 vendor/github.com/emicklei/go-restful/json.go      |    11 -
 vendor/github.com/emicklei/go-restful/jsoniter.go  |    12 -
 vendor/github.com/emicklei/go-restful/jsr311.go    |   292 -
 vendor/github.com/emicklei/go-restful/log/log.go   |    34 -
 vendor/github.com/emicklei/go-restful/logger.go    |    32 -
 vendor/github.com/emicklei/go-restful/mime.go      |    45 -
 .../emicklei/go-restful/options_filter.go          |    34 -
 vendor/github.com/emicklei/go-restful/parameter.go |   143 -
 .../emicklei/go-restful/path_expression.go         |    74 -
 .../emicklei/go-restful/path_processor.go          |    63 -
 vendor/github.com/emicklei/go-restful/request.go   |   118 -
 vendor/github.com/emicklei/go-restful/response.go  |   250 -
 vendor/github.com/emicklei/go-restful/route.go     |   157 -
 .../emicklei/go-restful/route_builder.go           |   321 -
 vendor/github.com/emicklei/go-restful/router.go    |    20 -
 .../emicklei/go-restful/service_error.go           |    23 -
 .../github.com/emicklei/go-restful/web_service.go  |   290 -
 .../emicklei/go-restful/web_service_container.go   |    39 -
 vendor/github.com/evanphx/json-patch/LICENSE       |    25 -
 vendor/github.com/evanphx/json-patch/merge.go      |   383 -
 vendor/github.com/evanphx/json-patch/patch.go      |   682 -
 vendor/github.com/fatih/structs/LICENSE            |    21 -
 vendor/github.com/fatih/structs/field.go           |   141 -
 vendor/github.com/fatih/structs/structs.go         |   584 -
 vendor/github.com/fatih/structs/tags.go            |    32 -
 vendor/github.com/go-logr/logr/LICENSE             |   201 -
 vendor/github.com/go-logr/logr/logr.go             |   151 -
 vendor/github.com/go-logr/zapr/LICENSE             |   201 -
 vendor/github.com/go-logr/zapr/zapr.go             |   163 -
 vendor/github.com/go-openapi/jsonpointer/LICENSE   |   202 -
 .../github.com/go-openapi/jsonpointer/pointer.go   |   390 -
 vendor/github.com/go-openapi/jsonreference/LICENSE |   202 -
 .../go-openapi/jsonreference/reference.go          |   156 -
 vendor/github.com/go-openapi/spec/LICENSE          |   202 -
 vendor/github.com/go-openapi/spec/bindata.go       |   297 -
 vendor/github.com/go-openapi/spec/cache.go         |    60 -
 vendor/github.com/go-openapi/spec/contact_info.go  |    24 -
 vendor/github.com/go-openapi/spec/debug.go         |    47 -
 vendor/github.com/go-openapi/spec/expander.go      |   650 -
 vendor/github.com/go-openapi/spec/external_docs.go |    24 -
 vendor/github.com/go-openapi/spec/header.go        |   197 -
 vendor/github.com/go-openapi/spec/info.go          |   165 -
 vendor/github.com/go-openapi/spec/items.go         |   237 -
 vendor/github.com/go-openapi/spec/license.go       |    23 -
 vendor/github.com/go-openapi/spec/normalizer.go    |   152 -
 vendor/github.com/go-openapi/spec/operation.go     |   398 -
 vendor/github.com/go-openapi/spec/parameter.go     |   321 -
 vendor/github.com/go-openapi/spec/path_item.go     |    87 -
 vendor/github.com/go-openapi/spec/paths.go         |    97 -
 vendor/github.com/go-openapi/spec/ref.go           |   191 -
 vendor/github.com/go-openapi/spec/response.go      |   131 -
 vendor/github.com/go-openapi/spec/responses.go     |   127 -
 vendor/github.com/go-openapi/spec/schema.go        |   589 -
 vendor/github.com/go-openapi/spec/schema_loader.go |   275 -
 .../github.com/go-openapi/spec/security_scheme.go  |   140 -
 vendor/github.com/go-openapi/spec/spec.go          |    86 -
 vendor/github.com/go-openapi/spec/swagger.go       |   324 -
 vendor/github.com/go-openapi/spec/tag.go           |    75 -
 vendor/github.com/go-openapi/spec/unused.go        |   174 -
 vendor/github.com/go-openapi/spec/xml_object.go    |    68 -
 vendor/github.com/go-openapi/swag/LICENSE          |   202 -
 vendor/github.com/go-openapi/swag/convert.go       |   207 -
 vendor/github.com/go-openapi/swag/convert_types.go |   595 -
 vendor/github.com/go-openapi/swag/doc.go           |    33 -
 vendor/github.com/go-openapi/swag/json.go          |   311 -
 vendor/github.com/go-openapi/swag/loading.go       |    80 -
 vendor/github.com/go-openapi/swag/net.go           |    38 -
 vendor/github.com/go-openapi/swag/path.go          |    59 -
 vendor/github.com/go-openapi/swag/post_go18.go     |    23 -
 vendor/github.com/go-openapi/swag/post_go19.go     |    67 -
 vendor/github.com/go-openapi/swag/pre_go18.go      |    23 -
 vendor/github.com/go-openapi/swag/pre_go19.go      |    69 -
 vendor/github.com/go-openapi/swag/util.go          |   412 -
 vendor/github.com/go-openapi/swag/yaml.go          |   227 -
 vendor/github.com/gobuffalo/envy/LICENSE.txt       |     8 -
 vendor/github.com/gobuffalo/envy/envy.go           |   268 -
 vendor/github.com/gobuffalo/envy/version.go        |     3 -
 vendor/github.com/gogo/protobuf/AUTHORS            |    15 -
 vendor/github.com/gogo/protobuf/CONTRIBUTORS       |    23 -
 vendor/github.com/gogo/protobuf/LICENSE            |    35 -
 vendor/github.com/gogo/protobuf/proto/clone.go     |   258 -
 .../github.com/gogo/protobuf/proto/custom_gogo.go  |    39 -
 vendor/github.com/gogo/protobuf/proto/decode.go    |   427 -
 .../github.com/gogo/protobuf/proto/deprecated.go   |    63 -
 vendor/github.com/gogo/protobuf/proto/discard.go   |   350 -
 vendor/github.com/gogo/protobuf/proto/duration.go  |   100 -
 .../gogo/protobuf/proto/duration_gogo.go           |    49 -
 vendor/github.com/gogo/protobuf/proto/encode.go    |   203 -
 .../github.com/gogo/protobuf/proto/encode_gogo.go  |    33 -
 vendor/github.com/gogo/protobuf/proto/equal.go     |   300 -
 .../github.com/gogo/protobuf/proto/extensions.go   |   604 -
 .../gogo/protobuf/proto/extensions_gogo.go         |   368 -
 vendor/github.com/gogo/protobuf/proto/lib.go       |   967 -
 vendor/github.com/gogo/protobuf/proto/lib_gogo.go  |    50 -
 .../github.com/gogo/protobuf/proto/message_set.go  |   181 -
 .../gogo/protobuf/proto/pointer_reflect.go         |   357 -
 .../gogo/protobuf/proto/pointer_reflect_gogo.go    |    59 -
 .../gogo/protobuf/proto/pointer_unsafe.go          |   308 -
 .../gogo/protobuf/proto/pointer_unsafe_gogo.go     |    56 -
 .../github.com/gogo/protobuf/proto/properties.go   |   599 -
 .../gogo/protobuf/proto/properties_gogo.go         |    36 -
 vendor/github.com/gogo/protobuf/proto/skip_gogo.go |   119 -
 .../gogo/protobuf/proto/table_marshal.go           |  3006 --
 .../gogo/protobuf/proto/table_marshal_gogo.go      |   388 -
 .../github.com/gogo/protobuf/proto/table_merge.go  |   657 -
 .../gogo/protobuf/proto/table_unmarshal.go         |  2245 -
 .../gogo/protobuf/proto/table_unmarshal_gogo.go    |   385 -
 vendor/github.com/gogo/protobuf/proto/text.go      |   928 -
 vendor/github.com/gogo/protobuf/proto/text_gogo.go |    57 -
 .../github.com/gogo/protobuf/proto/text_parser.go  |  1018 -
 vendor/github.com/gogo/protobuf/proto/timestamp.go |   113 -
 .../gogo/protobuf/proto/timestamp_gogo.go          |    49 -
 vendor/github.com/gogo/protobuf/proto/wrappers.go  |  1888 -
 .../gogo/protobuf/proto/wrappers_gogo.go           |   113 -
 .../github.com/gogo/protobuf/sortkeys/sortkeys.go  |   101 -
 vendor/github.com/golang/groupcache/LICENSE        |   191 -
 vendor/github.com/golang/groupcache/lru/lru.go     |   133 -
 vendor/github.com/golang/protobuf/AUTHORS          |     3 -
 vendor/github.com/golang/protobuf/CONTRIBUTORS     |     3 -
 vendor/github.com/golang/protobuf/LICENSE          |    28 -
 vendor/github.com/golang/protobuf/proto/clone.go   |   253 -
 vendor/github.com/golang/protobuf/proto/decode.go  |   428 -
 vendor/github.com/golang/protobuf/proto/discard.go |   350 -
 vendor/github.com/golang/protobuf/proto/encode.go  |   203 -
 vendor/github.com/golang/protobuf/proto/equal.go   |   300 -
 .../github.com/golang/protobuf/proto/extensions.go |   543 -
 vendor/github.com/golang/protobuf/proto/lib.go     |   979 -
 .../golang/protobuf/proto/message_set.go           |   314 -
 .../golang/protobuf/proto/pointer_reflect.go       |   357 -
 .../golang/protobuf/proto/pointer_unsafe.go        |   308 -
 .../github.com/golang/protobuf/proto/properties.go |   544 -
 .../golang/protobuf/proto/table_marshal.go         |  2767 -
 .../golang/protobuf/proto/table_merge.go           |   654 -
 .../golang/protobuf/proto/table_unmarshal.go       |  2051 -
 vendor/github.com/golang/protobuf/proto/text.go    |   843 -
 .../golang/protobuf/proto/text_parser.go           |   880 -
 vendor/github.com/golang/protobuf/ptypes/any.go    |   141 -
 .../golang/protobuf/ptypes/any/any.pb.go           |   191 -
 vendor/github.com/golang/protobuf/ptypes/doc.go    |    35 -
 .../github.com/golang/protobuf/ptypes/duration.go  |   102 -
 .../golang/protobuf/ptypes/duration/duration.pb.go |   159 -
 .../github.com/golang/protobuf/ptypes/timestamp.go |   134 -
 .../protobuf/ptypes/timestamp/timestamp.pb.go      |   175 -
 vendor/github.com/google/btree/LICENSE             |   202 -
 vendor/github.com/google/btree/btree.go            |   890 -
 vendor/github.com/google/btree/btree_mem.go        |    76 -
 vendor/github.com/google/go-cmp/LICENSE            |    27 -
 .../github.com/google/go-cmp/cmp/cmpopts/equate.go |    89 -
 .../github.com/google/go-cmp/cmp/cmpopts/ignore.go |   145 -
 .../github.com/google/go-cmp/cmp/cmpopts/sort.go   |   146 -
 .../google/go-cmp/cmp/cmpopts/sort_go17.go         |    46 -
 .../google/go-cmp/cmp/cmpopts/sort_go18.go         |    31 -
 .../google/go-cmp/cmp/cmpopts/struct_filter.go     |   182 -
 vendor/github.com/google/go-cmp/cmp/compare.go     |   553 -
 .../go-cmp/cmp/internal/diff/debug_disable.go      |    17 -
 .../go-cmp/cmp/internal/diff/debug_enable.go       |   122 -
 .../google/go-cmp/cmp/internal/diff/diff.go        |   363 -
 .../google/go-cmp/cmp/internal/function/func.go    |    49 -
 .../google/go-cmp/cmp/internal/value/format.go     |   277 -
 .../google/go-cmp/cmp/internal/value/sort.go       |   111 -
 vendor/github.com/google/go-cmp/cmp/options.go     |   453 -
 vendor/github.com/google/go-cmp/cmp/path.go        |   309 -
 vendor/github.com/google/go-cmp/cmp/reporter.go    |    53 -
 .../github.com/google/go-cmp/cmp/unsafe_panic.go   |    15 -
 .../github.com/google/go-cmp/cmp/unsafe_reflect.go |    23 -
 .../github.com/google/go-containerregistry/LICENSE |   202 -
 .../google/go-containerregistry/pkg/name/check.go  |    52 -
 .../google/go-containerregistry/pkg/name/digest.go |    91 -
 .../google/go-containerregistry/pkg/name/errors.go |    37 -
 .../google/go-containerregistry/pkg/name/ref.go    |    50 -
 .../go-containerregistry/pkg/name/registry.go      |   144 -
 .../go-containerregistry/pkg/name/repository.go    |    99 -
 .../google/go-containerregistry/pkg/name/tag.go    |   101 -
 vendor/github.com/google/gofuzz/LICENSE            |   202 -
 vendor/github.com/google/gofuzz/doc.go             |    18 -
 vendor/github.com/google/gofuzz/fuzz.go            |   487 -
 vendor/github.com/google/uuid/CONTRIBUTORS         |     9 -
 vendor/github.com/google/uuid/LICENSE              |    27 -
 vendor/github.com/google/uuid/dce.go               |    80 -
 vendor/github.com/google/uuid/doc.go               |    12 -
 vendor/github.com/google/uuid/hash.go              |    53 -
 vendor/github.com/google/uuid/marshal.go           |    37 -
 vendor/github.com/google/uuid/node.go              |    89 -
 vendor/github.com/google/uuid/node_js.go           |    12 -
 vendor/github.com/google/uuid/node_net.go          |    33 -
 vendor/github.com/google/uuid/sql.go               |    59 -
 vendor/github.com/google/uuid/time.go              |   123 -
 vendor/github.com/google/uuid/util.go              |    43 -
 vendor/github.com/google/uuid/uuid.go              |   245 -
 vendor/github.com/google/uuid/version1.go          |    44 -
 vendor/github.com/google/uuid/version4.go          |    38 -
 vendor/github.com/googleapis/gnostic/LICENSE       |   203 -
 .../googleapis/gnostic/OpenAPIv2/OpenAPIv2.go      |  8728 ---
 .../googleapis/gnostic/OpenAPIv2/OpenAPIv2.pb.go   |  4455 --
 .../googleapis/gnostic/compiler/context.go         |    43 -
 .../googleapis/gnostic/compiler/error.go           |    61 -
 .../gnostic/compiler/extension-handler.go          |   101 -
 .../googleapis/gnostic/compiler/helpers.go         |   197 -
 .../github.com/googleapis/gnostic/compiler/main.go |    16 -
 .../googleapis/gnostic/compiler/reader.go          |   175 -
 .../googleapis/gnostic/extensions/extension.pb.go  |   218 -
 .../googleapis/gnostic/extensions/extensions.go    |    82 -
 vendor/github.com/gregjones/httpcache/LICENSE.txt  |     7 -
 .../gregjones/httpcache/diskcache/diskcache.go     |    61 -
 vendor/github.com/gregjones/httpcache/httpcache.go |   551 -
 vendor/github.com/hashicorp/golang-lru/2q.go       |   223 -
 vendor/github.com/hashicorp/golang-lru/LICENSE     |   362 -
 vendor/github.com/hashicorp/golang-lru/arc.go      |   257 -
 vendor/github.com/hashicorp/golang-lru/doc.go      |    21 -
 vendor/github.com/hashicorp/golang-lru/lru.go      |   116 -
 .../hashicorp/golang-lru/simplelru/lru.go          |   161 -
 .../golang-lru/simplelru/lru_interface.go          |    36 -
 vendor/github.com/imdario/mergo/LICENSE            |    28 -
 vendor/github.com/imdario/mergo/doc.go             |    44 -
 vendor/github.com/imdario/mergo/map.go             |   175 -
 vendor/github.com/imdario/mergo/merge.go           |   255 -
 vendor/github.com/imdario/mergo/mergo.go           |    97 -
 .../github.com/inconshreveable/mousetrap/LICENSE   |    13 -
 .../inconshreveable/mousetrap/trap_others.go       |    15 -
 .../inconshreveable/mousetrap/trap_windows.go      |    98 -
 .../inconshreveable/mousetrap/trap_windows_1.4.go  |    46 -
 vendor/github.com/joho/godotenv/LICENCE            |    23 -
 vendor/github.com/joho/godotenv/godotenv.go        |   346 -
 vendor/github.com/jpillora/backoff/LICENSE         |    21 -
 vendor/github.com/jpillora/backoff/backoff.go      |    88 -
 vendor/github.com/json-iterator/go/LICENSE         |    21 -
 vendor/github.com/json-iterator/go/adapter.go      |   150 -
 vendor/github.com/json-iterator/go/any.go          |   321 -
 vendor/github.com/json-iterator/go/any_array.go    |   278 -
 vendor/github.com/json-iterator/go/any_bool.go     |   137 -
 vendor/github.com/json-iterator/go/any_float.go    |    83 -
 vendor/github.com/json-iterator/go/any_int32.go    |    74 -
 vendor/github.com/json-iterator/go/any_int64.go    |    74 -
 vendor/github.com/json-iterator/go/any_invalid.go  |    82 -
 vendor/github.com/json-iterator/go/any_nil.go      |    69 -
 vendor/github.com/json-iterator/go/any_number.go   |   123 -
 vendor/github.com/json-iterator/go/any_object.go   |   374 -
 vendor/github.com/json-iterator/go/any_str.go      |   166 -
 vendor/github.com/json-iterator/go/any_uint32.go   |    74 -
 vendor/github.com/json-iterator/go/any_uint64.go   |    74 -
 vendor/github.com/json-iterator/go/config.go       |   375 -
 vendor/github.com/json-iterator/go/iter.go         |   322 -
 vendor/github.com/json-iterator/go/iter_array.go   |    58 -
 vendor/github.com/json-iterator/go/iter_float.go   |   347 -
 vendor/github.com/json-iterator/go/iter_int.go     |   345 -
 vendor/github.com/json-iterator/go/iter_object.go  |   251 -
 vendor/github.com/json-iterator/go/iter_skip.go    |   129 -
 .../json-iterator/go/iter_skip_sloppy.go           |   144 -
 .../json-iterator/go/iter_skip_strict.go           |    89 -
 vendor/github.com/json-iterator/go/iter_str.go     |   215 -
 vendor/github.com/json-iterator/go/jsoniter.go     |    18 -
 vendor/github.com/json-iterator/go/pool.go         |    42 -
 vendor/github.com/json-iterator/go/reflect.go      |   332 -
 .../github.com/json-iterator/go/reflect_array.go   |   104 -
 .../github.com/json-iterator/go/reflect_dynamic.go |    70 -
 .../json-iterator/go/reflect_extension.go          |   483 -
 .../json-iterator/go/reflect_json_number.go        |   112 -
 .../json-iterator/go/reflect_json_raw_message.go   |    60 -
 vendor/github.com/json-iterator/go/reflect_map.go  |   326 -
 .../json-iterator/go/reflect_marshaler.go          |   218 -
 .../github.com/json-iterator/go/reflect_native.go  |   451 -
 .../json-iterator/go/reflect_optional.go           |   133 -
 .../github.com/json-iterator/go/reflect_slice.go   |    99 -
 .../json-iterator/go/reflect_struct_decoder.go     |  1048 -
 .../json-iterator/go/reflect_struct_encoder.go     |   210 -
 vendor/github.com/json-iterator/go/stream.go       |   211 -
 vendor/github.com/json-iterator/go/stream_float.go |    94 -
 vendor/github.com/json-iterator/go/stream_int.go   |   190 -
 vendor/github.com/json-iterator/go/stream_str.go   |   372 -
 vendor/github.com/knative/build/AUTHORS            |     8 -
 vendor/github.com/knative/build/LICENSE            |   202 -
 .../knative/build/pkg/apis/build/register.go       |    20 -
 .../pkg/apis/build/v1alpha1/build_defaults.go      |    42 -
 .../build/v1alpha1/build_template_interface.go     |    23 -
 .../apis/build/v1alpha1/build_template_types.go    |   115 -
 .../build/v1alpha1/build_template_validation.go    |    87 -
 .../build/pkg/apis/build/v1alpha1/build_types.go   |   339 -
 .../pkg/apis/build/v1alpha1/build_validation.go    |   131 -
 .../build/v1alpha1/cluster_build_template_types.go |    74 -
 .../v1alpha1/cluster_build_template_validation.go  |    24 -
 .../knative/build/pkg/apis/build/v1alpha1/doc.go   |    21 -
 .../pkg/apis/build/v1alpha1/metadata_validation.go |    47 -
 .../build/pkg/apis/build/v1alpha1/register.go      |    59 -
 .../apis/build/v1alpha1/target_path_validation.go  |    69 -
 .../apis/build/v1alpha1/zz_generated.deepcopy.go   |   573 -
 vendor/github.com/knative/eventing/AUTHORS         |     9 -
 vendor/github.com/knative/eventing/LICENSE         |   201 -
 .../knative/eventing/pkg/apis/duck/v1alpha1/doc.go |    21 -
 .../pkg/apis/duck/v1alpha1/subscribable_types.go   |   111 -
 .../apis/duck/v1alpha1/zz_generated.deepcopy.go    |   151 -
 .../knative/eventing/pkg/apis/eventing/register.go |    21 -
 .../pkg/apis/eventing/v1alpha1/channel_defaults.go |    51 -
 .../pkg/apis/eventing/v1alpha1/channel_types.go    |   168 -
 .../apis/eventing/v1alpha1/channel_validation.go   |    66 -
 .../cluster_channel_provisioner_defaults.go        |    27 -
 .../v1alpha1/cluster_channel_provisioner_types.go  |   124 -
 .../cluster_channel_provisioner_validation.go      |    33 -
 .../eventing/pkg/apis/eventing/v1alpha1/doc.go     |    17 -
 .../pkg/apis/eventing/v1alpha1/register.go         |    57 -
 .../subscribable_channelable_validation.go         |   101 -
 .../eventing/v1alpha1/subscription_defaults.go     |    25 -
 .../apis/eventing/v1alpha1/subscription_types.go   |   233 -
 .../eventing/v1alpha1/subscription_validation.go   |   129 -
 .../eventing/v1alpha1/zz_generated.deepcopy.go     |   460 -
 vendor/github.com/knative/pkg/LICENSE              |   201 -
 vendor/github.com/knative/pkg/apis/doc.go          |    18 -
 vendor/github.com/knative/pkg/apis/duck/cached.go  |    72 -
 vendor/github.com/knative/pkg/apis/duck/doc.go     |    23 -
 vendor/github.com/knative/pkg/apis/duck/enqueue.go |    44 -
 .../github.com/knative/pkg/apis/duck/interface.go  |    28 -
 vendor/github.com/knative/pkg/apis/duck/patch.go   |    60 -
 vendor/github.com/knative/pkg/apis/duck/proxy.go   |    74 -
 .../github.com/knative/pkg/apis/duck/register.go   |    21 -
 vendor/github.com/knative/pkg/apis/duck/typed.go   |   141 -
 .../knative/pkg/apis/duck/unstructured.go          |    37 -
 .../pkg/apis/duck/v1alpha1/addressable_types.go    |    95 -
 .../pkg/apis/duck/v1alpha1/condition_set.go        |   388 -
 .../pkg/apis/duck/v1alpha1/conditions_types.go     |   188 -
 .../knative/pkg/apis/duck/v1alpha1/doc.go          |    23 -
 .../apis/duck/v1alpha1/legacy_targetable_types.go  |    95 -
 .../knative/pkg/apis/duck/v1alpha1/register.go     |    59 -
 .../apis/duck/v1alpha1/retired_targetable_types.go |    97 -
 .../apis/duck/v1alpha1/zz_generated.deepcopy.go    |   417 -
 vendor/github.com/knative/pkg/apis/duck/verify.go  |   110 -
 vendor/github.com/knative/pkg/apis/field_error.go  |   353 -
 vendor/github.com/knative/pkg/apis/interfaces.go   |    55 -
 .../github.com/knative/pkg/apis/kind2resource.go   |    47 -
 .../github.com/knative/pkg/apis/volatile_time.go   |    46 -
 .../knative/pkg/apis/zz_generated.deepcopy.go      |    66 -
 vendor/github.com/knative/pkg/changeset/commit.go  |    64 -
 vendor/github.com/knative/pkg/changeset/doc.go     |    23 -
 vendor/github.com/knative/pkg/kmeta/accessor.go    |    94 -
 vendor/github.com/knative/pkg/kmeta/doc.go         |    19 -
 vendor/github.com/knative/pkg/kmeta/labels.go      |   114 -
 .../knative/pkg/kmeta/owner_references.go          |    38 -
 vendor/github.com/knative/pkg/kmp/diff.go          |    65 -
 vendor/github.com/knative/pkg/kmp/doc.go           |    19 -
 vendor/github.com/knative/pkg/logging/config.go    |   187 -
 vendor/github.com/knative/pkg/logging/logger.go    |    57 -
 .../knative/pkg/logging/logkey/constants.go        |    62 -
 .../knative/pkg/logging/zz_generated.deepcopy.go   |    48 -
 vendor/github.com/knative/pkg/webhook/certs.go     |   165 -
 vendor/github.com/knative/pkg/webhook/webhook.go   |   605 -
 vendor/github.com/knative/serving/AUTHORS          |    10 -
 vendor/github.com/knative/serving/LICENSE          |   202 -
 .../serving/pkg/apis/autoscaling/register.go       |    61 -
 .../serving/pkg/apis/networking/register.go        |    40 -
 .../networking/v1alpha1/clusteringress_defaults.go |    88 -
 .../networking/v1alpha1/clusteringress_types.go    |   386 -
 .../v1alpha1/clusteringress_validation.go          |   175 -
 .../serving/pkg/apis/networking/v1alpha1/doc.go    |    24 -
 .../pkg/apis/networking/v1alpha1/register.go       |    53 -
 .../networking/v1alpha1/zz_generated.deepcopy.go   |   368 -
 .../knative/serving/pkg/apis/serving/register.go   |    67 -
 .../pkg/apis/serving/v1alpha1/build_compat.go      |   101 -
 .../serving/v1alpha1/configuration_defaults.go     |    25 -
 .../apis/serving/v1alpha1/configuration_types.go   |   200 -
 .../serving/v1alpha1/configuration_validation.go   |    52 -
 .../serving/pkg/apis/serving/v1alpha1/doc.go       |    23 -
 .../apis/serving/v1alpha1/metadata_validation.go   |   108 -
 .../serving/pkg/apis/serving/v1alpha1/register.go  |    59 -
 .../pkg/apis/serving/v1alpha1/revision_defaults.go |    43 -
 .../pkg/apis/serving/v1alpha1/revision_types.go    |   520 -
 .../apis/serving/v1alpha1/revision_validation.go   |   391 -
 .../pkg/apis/serving/v1alpha1/route_defaults.go    |    24 -
 .../pkg/apis/serving/v1alpha1/route_types.go       |   262 -
 .../pkg/apis/serving/v1alpha1/route_validation.go  |   111 -
 .../pkg/apis/serving/v1alpha1/service_defaults.go  |    31 -
 .../pkg/apis/serving/v1alpha1/service_types.go     |   397 -
 .../apis/serving/v1alpha1/service_validation.go    |   121 -
 .../apis/serving/v1alpha1/zz_generated.deepcopy.go |   673 -
 .../go-windows-terminal-sequences/LICENSE          |     9 -
 .../go-windows-terminal-sequences/sequences.go     |    36 -
 vendor/github.com/magiconair/properties/LICENSE    |    25 -
 vendor/github.com/magiconair/properties/decode.go  |   289 -
 vendor/github.com/magiconair/properties/doc.go     |   156 -
 .../github.com/magiconair/properties/integrate.go  |    34 -
 vendor/github.com/magiconair/properties/lex.go     |   407 -
 vendor/github.com/magiconair/properties/load.go    |   292 -
 vendor/github.com/magiconair/properties/parser.go  |    95 -
 .../github.com/magiconair/properties/properties.go |   833 -
 .../github.com/magiconair/properties/rangecheck.go |    31 -
 vendor/github.com/mailru/easyjson/LICENSE          |     7 -
 vendor/github.com/mailru/easyjson/buffer/pool.go   |   270 -
 .../mailru/easyjson/jlexer/bytestostr.go           |    24 -
 .../mailru/easyjson/jlexer/bytestostr_nounsafe.go  |    13 -
 vendor/github.com/mailru/easyjson/jlexer/error.go  |    15 -
 vendor/github.com/mailru/easyjson/jlexer/lexer.go  |  1181 -
 .../github.com/mailru/easyjson/jwriter/writer.go   |   390 -
 vendor/github.com/markbates/inflect/LICENCE        |     7 -
 vendor/github.com/markbates/inflect/helpers.go     |    19 -
 vendor/github.com/markbates/inflect/inflect.go     |   892 -
 vendor/github.com/markbates/inflect/name.go        |   163 -
 vendor/github.com/markbates/inflect/version.go     |     3 -
 vendor/github.com/mattbaird/jsonpatch/LICENSE      |   202 -
 vendor/github.com/mattbaird/jsonpatch/jsonpatch.go |   257 -
 .../matttproud/golang_protobuf_extensions/LICENSE  |   201 -
 .../matttproud/golang_protobuf_extensions/NOTICE   |     1 -
 .../golang_protobuf_extensions/pbutil/decode.go    |    75 -
 .../golang_protobuf_extensions/pbutil/doc.go       |    16 -
 .../golang_protobuf_extensions/pbutil/encode.go    |    46 -
 vendor/github.com/mitchellh/mapstructure/LICENSE   |    21 -
 .../mitchellh/mapstructure/decode_hooks.go         |   217 -
 vendor/github.com/mitchellh/mapstructure/error.go  |    50 -
 .../mitchellh/mapstructure/mapstructure.go         |  1149 -
 vendor/github.com/modern-go/concurrent/LICENSE     |   201 -
 vendor/github.com/modern-go/concurrent/executor.go |    14 -
 .../github.com/modern-go/concurrent/go_above_19.go |    15 -
 .../github.com/modern-go/concurrent/go_below_19.go |    33 -
 vendor/github.com/modern-go/concurrent/log.go      |    13 -
 .../modern-go/concurrent/unbounded_executor.go     |   119 -
 vendor/github.com/modern-go/reflect2/LICENSE       |   201 -
 .../github.com/modern-go/reflect2/go_above_17.go   |     8 -
 .../github.com/modern-go/reflect2/go_above_19.go   |    14 -
 .../github.com/modern-go/reflect2/go_below_17.go   |     9 -
 .../github.com/modern-go/reflect2/go_below_19.go   |    14 -
 vendor/github.com/modern-go/reflect2/reflect2.go   |   298 -
 .../github.com/modern-go/reflect2/reflect2_amd64.s |     0
 .../github.com/modern-go/reflect2/reflect2_kind.go |    30 -
 .../github.com/modern-go/reflect2/relfect2_386.s   |     0
 .../modern-go/reflect2/relfect2_amd64p32.s         |     0
 .../github.com/modern-go/reflect2/relfect2_arm.s   |     0
 .../github.com/modern-go/reflect2/relfect2_arm64.s |     0
 .../modern-go/reflect2/relfect2_mips64x.s          |     0
 .../github.com/modern-go/reflect2/relfect2_mipsx.s |     0
 .../modern-go/reflect2/relfect2_ppc64x.s           |     0
 .../github.com/modern-go/reflect2/relfect2_s390x.s |     0
 vendor/github.com/modern-go/reflect2/safe_field.go |    58 -
 vendor/github.com/modern-go/reflect2/safe_map.go   |   101 -
 vendor/github.com/modern-go/reflect2/safe_slice.go |    92 -
 .../github.com/modern-go/reflect2/safe_struct.go   |    29 -
 vendor/github.com/modern-go/reflect2/safe_type.go  |    78 -
 vendor/github.com/modern-go/reflect2/type_map.go   |   113 -
 .../github.com/modern-go/reflect2/unsafe_array.go  |    65 -
 .../github.com/modern-go/reflect2/unsafe_eface.go  |    59 -
 .../github.com/modern-go/reflect2/unsafe_field.go  |    74 -
 .../github.com/modern-go/reflect2/unsafe_iface.go  |    64 -
 .../github.com/modern-go/reflect2/unsafe_link.go   |    70 -
 vendor/github.com/modern-go/reflect2/unsafe_map.go |   138 -
 vendor/github.com/modern-go/reflect2/unsafe_ptr.go |    46 -
 .../github.com/modern-go/reflect2/unsafe_slice.go  |   177 -
 .../github.com/modern-go/reflect2/unsafe_struct.go |    59 -
 .../github.com/modern-go/reflect2/unsafe_type.go   |    85 -
 vendor/github.com/openshift/api/LICENSE            |   201 -
 vendor/github.com/openshift/api/apps/v1/doc.go     |     8 -
 .../openshift/api/apps/v1/generated.pb.go          |  6494 ---
 .../github.com/openshift/api/apps/v1/register.go   |    58 -
 vendor/github.com/openshift/api/apps/v1/types.go   |   494 -
 .../api/apps/v1/types_swagger_doc_generated.go     |   284 -
 .../openshift/api/apps/v1/zz_generated.deepcopy.go |   875 -
 .../openshift/api/authorization/v1/codec.go        |   219 -
 .../openshift/api/authorization/v1/doc.go          |     8 -
 .../openshift/api/authorization/v1/generated.pb.go |  9137 ----
 .../openshift/api/authorization/v1/register.go     |   102 -
 .../openshift/api/authorization/v1/types.go        |   663 -
 .../v1/types_swagger_doc_generated.go              |   450 -
 .../api/authorization/v1/zz_generated.deepcopy.go  |  1401 -
 vendor/github.com/openshift/api/build/v1/consts.go |    90 -
 vendor/github.com/openshift/api/build/v1/doc.go    |     8 -
 .../openshift/api/build/v1/generated.pb.go         | 12637 -----
 .../github.com/openshift/api/build/v1/register.go  |    61 -
 vendor/github.com/openshift/api/build/v1/types.go  |  1183 -
 .../api/build/v1/types_swagger_doc_generated.go    |   597 -
 .../api/build/v1/zz_generated.deepcopy.go          |  1841 -
 .../github.com/openshift/api/image/docker10/doc.go |     4 -
 .../openshift/api/image/docker10/dockertypes.go    |    56 -
 .../openshift/api/image/docker10/register.go       |    38 -
 .../api/image/docker10/zz_generated.deepcopy.go    |   118 -
 .../openshift/api/image/dockerpre012/deepcopy.go   |    18 -
 .../openshift/api/image/dockerpre012/doc.go        |     4 -
 .../api/image/dockerpre012/dockertypes.go          |   136 -
 .../openshift/api/image/dockerpre012/register.go   |    37 -
 .../image/dockerpre012/zz_generated.deepcopy.go    |   242 -
 vendor/github.com/openshift/api/image/v1/doc.go    |     8 -
 .../openshift/api/image/v1/generated.pb.go         |  7807 ---
 .../github.com/openshift/api/image/v1/register.go  |    68 -
 vendor/github.com/openshift/api/image/v1/types.go  |   512 -
 .../api/image/v1/types_swagger_doc_generated.go    |   372 -
 .../api/image/v1/zz_generated.deepcopy.go          |   934 -
 .../api/pkg/serialization/serialization.go         |    45 -
 vendor/github.com/openshift/api/route/v1/doc.go    |     8 -
 .../openshift/api/route/v1/generated.pb.go         |  2537 -
 .../github.com/openshift/api/route/v1/register.go  |    47 -
 vendor/github.com/openshift/api/route/v1/types.go  |   255 -
 .../api/route/v1/types_swagger_doc_generated.go    |   129 -
 .../api/route/v1/zz_generated.deepcopy.go          |   341 -
 .../github.com/openshift/api/template/v1/codec.go  |    33 -
 vendor/github.com/openshift/api/template/v1/doc.go |     8 -
 .../openshift/api/template/v1/generated.pb.go      |  3525 --
 .../openshift/api/template/v1/register.go          |    55 -
 .../github.com/openshift/api/template/v1/types.go  |   261 -
 .../api/template/v1/types_swagger_doc_generated.go |   159 -
 .../api/template/v1/zz_generated.deepcopy.go       |   423 -
 .../operator-framework/operator-sdk/LICENSE        |   201 -
 .../operator-sdk/pkg/k8sutil/constants.go          |    34 -
 .../operator-sdk/pkg/k8sutil/k8sutil.go            |   117 -
 .../operator-sdk/pkg/leader/doc.go                 |    54 -
 .../operator-sdk/pkg/leader/leader.go              |   154 -
 .../operator-sdk/pkg/ready/ready.go                |    58 -
 .../operator-sdk/version/version.go                |    21 -
 vendor/github.com/pborman/uuid/CONTRIBUTORS        |     1 -
 vendor/github.com/pborman/uuid/LICENSE             |    27 -
 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 -
 vendor/github.com/pborman/uuid/version1.go         |    23 -
 vendor/github.com/pborman/uuid/version4.go         |    26 -
 vendor/github.com/peterbourgon/diskv/LICENSE       |    19 -
 .../github.com/peterbourgon/diskv/compression.go   |    64 -
 vendor/github.com/peterbourgon/diskv/diskv.go      |   624 -
 vendor/github.com/peterbourgon/diskv/index.go      |   115 -
 vendor/github.com/pkg/errors/LICENSE               |    23 -
 vendor/github.com/pkg/errors/errors.go             |   282 -
 vendor/github.com/pkg/errors/stack.go              |   147 -
 vendor/github.com/pmezard/go-difflib/LICENSE       |    27 -
 .../pmezard/go-difflib/difflib/difflib.go          |   772 -
 vendor/github.com/prometheus/client_golang/LICENSE |   201 -
 vendor/github.com/prometheus/client_golang/NOTICE  |    23 -
 .../client_golang/prometheus/collector.go          |   120 -
 .../prometheus/client_golang/prometheus/counter.go |   277 -
 .../prometheus/client_golang/prometheus/desc.go    |   184 -
 .../prometheus/client_golang/prometheus/doc.go     |   201 -
 .../client_golang/prometheus/expvar_collector.go   |   119 -
 .../prometheus/client_golang/prometheus/fnv.go     |    42 -
 .../prometheus/client_golang/prometheus/gauge.go   |   286 -
 .../client_golang/prometheus/go_collector.go       |   301 -
 .../client_golang/prometheus/histogram.go          |   614 -
 .../prometheus/client_golang/prometheus/http.go    |   504 -
 .../client_golang/prometheus/internal/metric.go    |    85 -
 .../prometheus/client_golang/prometheus/labels.go  |    87 -
 .../prometheus/client_golang/prometheus/metric.go  |   174 -
 .../client_golang/prometheus/observer.go           |    52 -
 .../client_golang/prometheus/process_collector.go  |   204 -
 .../client_golang/prometheus/promhttp/delegator.go |   199 -
 .../prometheus/promhttp/delegator_1_8.go           |   181 -
 .../prometheus/promhttp/delegator_pre_1_8.go       |    44 -
 .../client_golang/prometheus/promhttp/http.go      |   311 -
 .../prometheus/promhttp/instrument_client.go       |    97 -
 .../prometheus/promhttp/instrument_client_1_8.go   |   144 -
 .../prometheus/promhttp/instrument_server.go       |   447 -
 .../client_golang/prometheus/registry.go           |   931 -
 .../prometheus/client_golang/prometheus/summary.go |   626 -
 .../prometheus/client_golang/prometheus/timer.go   |    51 -
 .../prometheus/client_golang/prometheus/untyped.go |    42 -
 .../prometheus/client_golang/prometheus/value.go   |   162 -
 .../prometheus/client_golang/prometheus/vec.go     |   472 -
 .../prometheus/client_golang/prometheus/wrap.go    |   179 -
 vendor/github.com/prometheus/client_model/LICENSE  |   201 -
 vendor/github.com/prometheus/client_model/NOTICE   |     5 -
 .../prometheus/client_model/go/metrics.pb.go       |   629 -
 vendor/github.com/prometheus/common/LICENSE        |   201 -
 vendor/github.com/prometheus/common/NOTICE         |     5 -
 .../github.com/prometheus/common/expfmt/decode.go  |   429 -
 .../github.com/prometheus/common/expfmt/encode.go  |    88 -
 .../github.com/prometheus/common/expfmt/expfmt.go  |    38 -
 vendor/github.com/prometheus/common/expfmt/fuzz.go |    36 -
 .../prometheus/common/expfmt/text_create.go        |   468 -
 .../prometheus/common/expfmt/text_parse.go         |   757 -
 .../internal/bitbucket.org/ww/goautoneg/autoneg.go |   162 -
 vendor/github.com/prometheus/common/model/alert.go |   136 -
 .../prometheus/common/model/fingerprinting.go      |   105 -
 vendor/github.com/prometheus/common/model/fnv.go   |    42 -
 .../github.com/prometheus/common/model/labels.go   |   210 -
 .../github.com/prometheus/common/model/labelset.go |   169 -
 .../github.com/prometheus/common/model/metric.go   |   102 -
 vendor/github.com/prometheus/common/model/model.go |    16 -
 .../prometheus/common/model/signature.go           |   144 -
 .../github.com/prometheus/common/model/silence.go  |   106 -
 vendor/github.com/prometheus/common/model/time.go  |   264 -
 vendor/github.com/prometheus/common/model/value.go |   416 -
 vendor/github.com/prometheus/procfs/LICENSE        |   201 -
 vendor/github.com/prometheus/procfs/NOTICE         |     7 -
 vendor/github.com/prometheus/procfs/buddyinfo.go   |    95 -
 vendor/github.com/prometheus/procfs/diskstats.go   |    81 -
 vendor/github.com/prometheus/procfs/doc.go         |    45 -
 vendor/github.com/prometheus/procfs/fs.go          |    82 -
 .../prometheus/procfs/internal/util/parse.go       |    73 -
 .../procfs/internal/util/sysreadfile_linux.go      |    45 -
 .../prometheus/procfs/iostats/iostats.go           |    67 -
 vendor/github.com/prometheus/procfs/ipvs.go        |   259 -
 vendor/github.com/prometheus/procfs/mdstat.go      |   151 -
 vendor/github.com/prometheus/procfs/mountstats.go  |   616 -
 vendor/github.com/prometheus/procfs/net_dev.go     |   216 -
 vendor/github.com/prometheus/procfs/nfs/nfs.go     |   263 -
 vendor/github.com/prometheus/procfs/nfs/parse.go   |   317 -
 .../github.com/prometheus/procfs/nfs/parse_nfs.go  |    67 -
 .../github.com/prometheus/procfs/nfs/parse_nfsd.go |    89 -
 vendor/github.com/prometheus/procfs/proc.go        |   258 -
 vendor/github.com/prometheus/procfs/proc_io.go     |    65 -
 vendor/github.com/prometheus/procfs/proc_limits.go |   150 -
 vendor/github.com/prometheus/procfs/proc_ns.go     |    68 -
 vendor/github.com/prometheus/procfs/proc_psi.go    |   110 -
 vendor/github.com/prometheus/procfs/proc_stat.go   |   188 -
 vendor/github.com/prometheus/procfs/stat.go        |   232 -
 vendor/github.com/prometheus/procfs/xfrm.go        |   187 -
 vendor/github.com/prometheus/procfs/xfs/parse.go   |   330 -
 vendor/github.com/prometheus/procfs/xfs/xfs.go     |   163 -
 vendor/github.com/radovskyb/watcher/LICENSE        |    27 -
 vendor/github.com/radovskyb/watcher/ishidden.go    |    12 -
 .../radovskyb/watcher/ishidden_windows.go          |    21 -
 vendor/github.com/radovskyb/watcher/samefile.go    |     9 -
 .../radovskyb/watcher/samefile_windows.go          |    12 -
 vendor/github.com/radovskyb/watcher/watcher.go     |   713 -
 vendor/github.com/rogpeppe/go-internal/LICENSE     |    27 -
 .../rogpeppe/go-internal/modfile/gopkgin.go        |    47 -
 .../rogpeppe/go-internal/modfile/print.go          |   164 -
 .../rogpeppe/go-internal/modfile/read.go           |   869 -
 .../rogpeppe/go-internal/modfile/rule.go           |   724 -
 .../rogpeppe/go-internal/module/module.go          |   540 -
 .../rogpeppe/go-internal/semver/semver.go          |   388 -
 vendor/github.com/rs/xid/LICENSE                   |    19 -
 vendor/github.com/rs/xid/hostid_darwin.go          |     9 -
 vendor/github.com/rs/xid/hostid_fallback.go        |     9 -
 vendor/github.com/rs/xid/hostid_freebsd.go         |     9 -
 vendor/github.com/rs/xid/hostid_linux.go           |    10 -
 vendor/github.com/rs/xid/hostid_windows.go         |    38 -
 vendor/github.com/rs/xid/id.go                     |   365 -
 vendor/github.com/scylladb/go-set/LICENSE          |   177 -
 vendor/github.com/scylladb/go-set/strset/strset.go |   279 -
 vendor/github.com/sirupsen/logrus/LICENSE          |    21 -
 vendor/github.com/sirupsen/logrus/alt_exit.go      |    64 -
 vendor/github.com/sirupsen/logrus/doc.go           |    26 -
 vendor/github.com/sirupsen/logrus/entry.go         |   393 -
 vendor/github.com/sirupsen/logrus/exported.go      |   219 -
 vendor/github.com/sirupsen/logrus/formatter.go     |    78 -
 vendor/github.com/sirupsen/logrus/hooks.go         |    34 -
 .../github.com/sirupsen/logrus/json_formatter.go   |   105 -
 vendor/github.com/sirupsen/logrus/logger.go        |   343 -
 vendor/github.com/sirupsen/logrus/logrus.go        |   186 -
 .../sirupsen/logrus/terminal_check_aix.go          |     9 -
 .../sirupsen/logrus/terminal_check_appengine.go    |    11 -
 .../sirupsen/logrus/terminal_check_js.go           |    11 -
 .../sirupsen/logrus/terminal_check_notappengine.go |    19 -
 .../sirupsen/logrus/terminal_check_windows.go      |    20 -
 .../sirupsen/logrus/terminal_notwindows.go         |     8 -
 .../github.com/sirupsen/logrus/terminal_windows.go |    18 -
 .../github.com/sirupsen/logrus/text_formatter.go   |   273 -
 vendor/github.com/sirupsen/logrus/writer.go        |    64 -
 vendor/github.com/spf13/cobra/LICENSE.txt          |   174 -
 vendor/github.com/spf13/cobra/args.go              |    89 -
 vendor/github.com/spf13/cobra/bash_completions.go  |   584 -
 vendor/github.com/spf13/cobra/cobra.go             |   200 -
 vendor/github.com/spf13/cobra/command.go           |  1517 -
 vendor/github.com/spf13/cobra/command_notwin.go    |     5 -
 vendor/github.com/spf13/cobra/command_win.go       |    20 -
 vendor/github.com/spf13/cobra/zsh_completions.go   |   126 -
 vendor/github.com/spf13/pflag/LICENSE              |    28 -
 vendor/github.com/spf13/pflag/bool.go              |    94 -
 vendor/github.com/spf13/pflag/bool_slice.go        |   147 -
 vendor/github.com/spf13/pflag/bytes.go             |   209 -
 vendor/github.com/spf13/pflag/count.go             |    96 -
 vendor/github.com/spf13/pflag/duration.go          |    86 -
 vendor/github.com/spf13/pflag/duration_slice.go    |   128 -
 vendor/github.com/spf13/pflag/flag.go              |  1227 -
 vendor/github.com/spf13/pflag/float32.go           |    88 -
 vendor/github.com/spf13/pflag/float64.go           |    84 -
 vendor/github.com/spf13/pflag/golangflag.go        |   105 -
 vendor/github.com/spf13/pflag/int.go               |    84 -
 vendor/github.com/spf13/pflag/int16.go             |    88 -
 vendor/github.com/spf13/pflag/int32.go             |    88 -
 vendor/github.com/spf13/pflag/int64.go             |    84 -
 vendor/github.com/spf13/pflag/int8.go              |    88 -
 vendor/github.com/spf13/pflag/int_slice.go         |   128 -
 vendor/github.com/spf13/pflag/ip.go                |    94 -
 vendor/github.com/spf13/pflag/ip_slice.go          |   148 -
 vendor/github.com/spf13/pflag/ipmask.go            |   122 -
 vendor/github.com/spf13/pflag/ipnet.go             |    98 -
 vendor/github.com/spf13/pflag/string.go            |    80 -
 vendor/github.com/spf13/pflag/string_array.go      |   103 -
 vendor/github.com/spf13/pflag/string_slice.go      |   149 -
 vendor/github.com/spf13/pflag/string_to_int.go     |   149 -
 vendor/github.com/spf13/pflag/string_to_string.go  |   160 -
 vendor/github.com/spf13/pflag/uint.go              |    88 -
 vendor/github.com/spf13/pflag/uint16.go            |    88 -
 vendor/github.com/spf13/pflag/uint32.go            |    88 -
 vendor/github.com/spf13/pflag/uint64.go            |    88 -
 vendor/github.com/spf13/pflag/uint8.go             |    88 -
 vendor/github.com/spf13/pflag/uint_slice.go        |   126 -
 vendor/github.com/stoewer/go-strcase/LICENSE       |    21 -
 vendor/github.com/stoewer/go-strcase/camel.go      |    37 -
 vendor/github.com/stoewer/go-strcase/doc.go        |     8 -
 vendor/github.com/stoewer/go-strcase/helper.go     |    44 -
 vendor/github.com/stoewer/go-strcase/kebab.go      |     9 -
 vendor/github.com/stoewer/go-strcase/snake.go      |    48 -
 vendor/github.com/stretchr/testify/LICENSE         |    21 -
 .../stretchr/testify/assert/assertion_format.go    |   484 -
 .../stretchr/testify/assert/assertion_forward.go   |   956 -
 .../stretchr/testify/assert/assertions.go          |  1416 -
 vendor/github.com/stretchr/testify/assert/doc.go   |    45 -
 .../github.com/stretchr/testify/assert/errors.go   |    10 -
 .../stretchr/testify/assert/forward_assertions.go  |    16 -
 .../stretchr/testify/assert/http_assertions.go     |   143 -
 vendor/go.uber.org/atomic/LICENSE.txt              |    19 -
 vendor/go.uber.org/atomic/atomic.go                |   351 -
 vendor/go.uber.org/atomic/string.go                |    49 -
 vendor/go.uber.org/multierr/LICENSE.txt            |    19 -
 vendor/go.uber.org/multierr/error.go               |   401 -
 vendor/go.uber.org/zap/LICENSE.txt                 |    19 -
 vendor/go.uber.org/zap/array.go                    |   320 -
 vendor/go.uber.org/zap/buffer/buffer.go            |   115 -
 vendor/go.uber.org/zap/buffer/pool.go              |    49 -
 vendor/go.uber.org/zap/config.go                   |   243 -
 vendor/go.uber.org/zap/doc.go                      |   113 -
 vendor/go.uber.org/zap/encoder.go                  |    75 -
 vendor/go.uber.org/zap/error.go                    |    80 -
 vendor/go.uber.org/zap/field.go                    |   310 -
 vendor/go.uber.org/zap/flag.go                     |    39 -
 vendor/go.uber.org/zap/global.go                   |   169 -
 vendor/go.uber.org/zap/http_handler.go             |    81 -
 .../zap/internal/bufferpool/bufferpool.go          |    31 -
 vendor/go.uber.org/zap/internal/color/color.go     |    44 -
 vendor/go.uber.org/zap/internal/exit/exit.go       |    64 -
 vendor/go.uber.org/zap/level.go                    |   132 -
 vendor/go.uber.org/zap/logger.go                   |   305 -
 vendor/go.uber.org/zap/options.go                  |   109 -
 vendor/go.uber.org/zap/sink.go                     |   161 -
 vendor/go.uber.org/zap/stacktrace.go               |   126 -
 vendor/go.uber.org/zap/sugar.go                    |   304 -
 vendor/go.uber.org/zap/time.go                     |    27 -
 vendor/go.uber.org/zap/writer.go                   |    99 -
 vendor/go.uber.org/zap/zapcore/console_encoder.go  |   147 -
 vendor/go.uber.org/zap/zapcore/core.go             |   113 -
 vendor/go.uber.org/zap/zapcore/doc.go              |    24 -
 vendor/go.uber.org/zap/zapcore/encoder.go          |   348 -
 vendor/go.uber.org/zap/zapcore/entry.go            |   257 -
 vendor/go.uber.org/zap/zapcore/error.go            |   120 -
 vendor/go.uber.org/zap/zapcore/field.go            |   201 -
 vendor/go.uber.org/zap/zapcore/hook.go             |    68 -
 vendor/go.uber.org/zap/zapcore/json_encoder.go     |   502 -
 vendor/go.uber.org/zap/zapcore/level.go            |   175 -
 vendor/go.uber.org/zap/zapcore/level_strings.go    |    46 -
 vendor/go.uber.org/zap/zapcore/marshaler.go        |    53 -
 vendor/go.uber.org/zap/zapcore/memory_encoder.go   |   179 -
 vendor/go.uber.org/zap/zapcore/sampler.go          |   134 -
 vendor/go.uber.org/zap/zapcore/tee.go              |    81 -
 vendor/go.uber.org/zap/zapcore/write_syncer.go     |   123 -
 vendor/golang.org/x/crypto/AUTHORS                 |     3 -
 vendor/golang.org/x/crypto/CONTRIBUTORS            |     3 -
 vendor/golang.org/x/crypto/LICENSE                 |    27 -
 vendor/golang.org/x/crypto/PATENTS                 |    22 -
 .../golang.org/x/crypto/ssh/terminal/terminal.go   |   951 -
 vendor/golang.org/x/crypto/ssh/terminal/util.go    |   114 -
 .../golang.org/x/crypto/ssh/terminal/util_bsd.go   |    12 -
 .../golang.org/x/crypto/ssh/terminal/util_linux.go |    10 -
 .../golang.org/x/crypto/ssh/terminal/util_plan9.go |    58 -
 .../x/crypto/ssh/terminal/util_solaris.go          |   124 -
 .../x/crypto/ssh/terminal/util_windows.go          |   103 -
 vendor/golang.org/x/net/AUTHORS                    |     3 -
 vendor/golang.org/x/net/CONTRIBUTORS               |     3 -
 vendor/golang.org/x/net/LICENSE                    |    27 -
 vendor/golang.org/x/net/PATENTS                    |    22 -
 vendor/golang.org/x/net/context/context.go         |    56 -
 vendor/golang.org/x/net/context/ctxhttp/ctxhttp.go |    71 -
 vendor/golang.org/x/net/context/go17.go            |    72 -
 vendor/golang.org/x/net/context/go19.go            |    20 -
 vendor/golang.org/x/net/context/pre_go17.go        |   300 -
 vendor/golang.org/x/net/context/pre_go19.go        |   109 -
 vendor/golang.org/x/net/http/httpguts/guts.go      |    50 -
 vendor/golang.org/x/net/http/httpguts/httplex.go   |   346 -
 vendor/golang.org/x/net/http2/ciphers.go           |   641 -
 vendor/golang.org/x/net/http2/client_conn_pool.go  |   282 -
 vendor/golang.org/x/net/http2/databuffer.go        |   146 -
 vendor/golang.org/x/net/http2/errors.go            |   133 -
 vendor/golang.org/x/net/http2/flow.go              |    50 -
 vendor/golang.org/x/net/http2/frame.go             |  1614 -
 vendor/golang.org/x/net/http2/go111.go             |    29 -
 vendor/golang.org/x/net/http2/gotrack.go           |   170 -
 vendor/golang.org/x/net/http2/headermap.go         |    88 -
 vendor/golang.org/x/net/http2/hpack/encode.go      |   240 -
 vendor/golang.org/x/net/http2/hpack/hpack.go       |   504 -
 vendor/golang.org/x/net/http2/hpack/huffman.go     |   222 -
 vendor/golang.org/x/net/http2/hpack/tables.go      |   479 -
 vendor/golang.org/x/net/http2/http2.go             |   384 -
 vendor/golang.org/x/net/http2/not_go111.go         |    20 -
 vendor/golang.org/x/net/http2/pipe.go              |   163 -
 vendor/golang.org/x/net/http2/server.go            |  2901 -
 vendor/golang.org/x/net/http2/transport.go         |  2603 -
 vendor/golang.org/x/net/http2/write.go             |   365 -
 vendor/golang.org/x/net/http2/writesched.go        |   242 -
 .../golang.org/x/net/http2/writesched_priority.go  |   452 -
 vendor/golang.org/x/net/http2/writesched_random.go |    72 -
 vendor/golang.org/x/net/idna/idna.go               |   732 -
 vendor/golang.org/x/net/idna/punycode.go           |   203 -
 vendor/golang.org/x/net/idna/tables.go             |  4557 --
 vendor/golang.org/x/net/idna/trie.go               |    72 -
 vendor/golang.org/x/net/idna/trieval.go            |   119 -
 vendor/golang.org/x/oauth2/AUTHORS                 |     3 -
 vendor/golang.org/x/oauth2/CONTRIBUTORS            |     3 -
 vendor/golang.org/x/oauth2/LICENSE                 |    27 -
 vendor/golang.org/x/oauth2/google/appengine.go     |    38 -
 .../golang.org/x/oauth2/google/appengine_gen1.go   |    77 -
 .../x/oauth2/google/appengine_gen2_flex.go         |    27 -
 vendor/golang.org/x/oauth2/google/default.go       |   154 -
 vendor/golang.org/x/oauth2/google/doc.go           |    40 -
 vendor/golang.org/x/oauth2/google/google.go        |   202 -
 vendor/golang.org/x/oauth2/google/jwt.go           |    74 -
 vendor/golang.org/x/oauth2/google/sdk.go           |   201 -
 .../x/oauth2/internal/client_appengine.go          |    13 -
 vendor/golang.org/x/oauth2/internal/doc.go         |     6 -
 vendor/golang.org/x/oauth2/internal/oauth2.go      |    37 -
 vendor/golang.org/x/oauth2/internal/token.go       |   294 -
 vendor/golang.org/x/oauth2/internal/transport.go   |    33 -
 vendor/golang.org/x/oauth2/jws/jws.go              |   182 -
 vendor/golang.org/x/oauth2/jwt/jwt.go              |   170 -
 vendor/golang.org/x/oauth2/oauth2.go               |   381 -
 vendor/golang.org/x/oauth2/token.go                |   178 -
 vendor/golang.org/x/oauth2/transport.go            |   144 -
 vendor/golang.org/x/sys/AUTHORS                    |     3 -
 vendor/golang.org/x/sys/CONTRIBUTORS               |     3 -
 vendor/golang.org/x/sys/LICENSE                    |    27 -
 vendor/golang.org/x/sys/PATENTS                    |    22 -
 vendor/golang.org/x/sys/unix/affinity_linux.go     |   124 -
 vendor/golang.org/x/sys/unix/aliases.go            |    14 -
 vendor/golang.org/x/sys/unix/asm_aix_ppc64.s       |    17 -
 vendor/golang.org/x/sys/unix/asm_darwin_386.s      |    29 -
 vendor/golang.org/x/sys/unix/asm_darwin_amd64.s    |    29 -
 vendor/golang.org/x/sys/unix/asm_darwin_arm.s      |    30 -
 vendor/golang.org/x/sys/unix/asm_darwin_arm64.s    |    30 -
 vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s |    29 -
 vendor/golang.org/x/sys/unix/asm_freebsd_386.s     |    29 -
 vendor/golang.org/x/sys/unix/asm_freebsd_amd64.s   |    29 -
 vendor/golang.org/x/sys/unix/asm_freebsd_arm.s     |    29 -
 vendor/golang.org/x/sys/unix/asm_linux_386.s       |    65 -
 vendor/golang.org/x/sys/unix/asm_linux_amd64.s     |    57 -
 vendor/golang.org/x/sys/unix/asm_linux_arm.s       |    56 -
 vendor/golang.org/x/sys/unix/asm_linux_arm64.s     |    52 -
 vendor/golang.org/x/sys/unix/asm_linux_mips64x.s   |    56 -
 vendor/golang.org/x/sys/unix/asm_linux_mipsx.s     |    54 -
 vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s    |    44 -
 vendor/golang.org/x/sys/unix/asm_linux_s390x.s     |    56 -
 vendor/golang.org/x/sys/unix/asm_netbsd_386.s      |    29 -
 vendor/golang.org/x/sys/unix/asm_netbsd_amd64.s    |    29 -
 vendor/golang.org/x/sys/unix/asm_netbsd_arm.s      |    29 -
 vendor/golang.org/x/sys/unix/asm_openbsd_386.s     |    29 -
 vendor/golang.org/x/sys/unix/asm_openbsd_amd64.s   |    29 -
 vendor/golang.org/x/sys/unix/asm_openbsd_arm.s     |    29 -
 vendor/golang.org/x/sys/unix/asm_solaris_amd64.s   |    17 -
 vendor/golang.org/x/sys/unix/bluetooth_linux.go    |    35 -
 vendor/golang.org/x/sys/unix/cap_freebsd.go        |   195 -
 vendor/golang.org/x/sys/unix/constants.go          |    13 -
 vendor/golang.org/x/sys/unix/dev_aix_ppc.go        |    27 -
 vendor/golang.org/x/sys/unix/dev_aix_ppc64.go      |    29 -
 vendor/golang.org/x/sys/unix/dev_darwin.go         |    24 -
 vendor/golang.org/x/sys/unix/dev_dragonfly.go      |    30 -
 vendor/golang.org/x/sys/unix/dev_freebsd.go        |    30 -
 vendor/golang.org/x/sys/unix/dev_linux.go          |    42 -
 vendor/golang.org/x/sys/unix/dev_netbsd.go         |    29 -
 vendor/golang.org/x/sys/unix/dev_openbsd.go        |    29 -
 vendor/golang.org/x/sys/unix/dirent.go             |    17 -
 vendor/golang.org/x/sys/unix/endian_big.go         |     9 -
 vendor/golang.org/x/sys/unix/endian_little.go      |     9 -
 vendor/golang.org/x/sys/unix/env_unix.go           |    31 -
 vendor/golang.org/x/sys/unix/errors_freebsd_386.go |   227 -
 .../golang.org/x/sys/unix/errors_freebsd_amd64.go  |   227 -
 vendor/golang.org/x/sys/unix/errors_freebsd_arm.go |   226 -
 vendor/golang.org/x/sys/unix/fcntl.go              |    32 -
 vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go  |    13 -
 vendor/golang.org/x/sys/unix/gccgo.go              |    62 -
 vendor/golang.org/x/sys/unix/gccgo_c.c             |    39 -
 vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go  |    20 -
 vendor/golang.org/x/sys/unix/ioctl.go              |    30 -
 vendor/golang.org/x/sys/unix/mkpost.go             |   106 -
 vendor/golang.org/x/sys/unix/openbsd_pledge.go     |   166 -
 vendor/golang.org/x/sys/unix/openbsd_unveil.go     |    44 -
 vendor/golang.org/x/sys/unix/pagesize_unix.go      |    15 -
 vendor/golang.org/x/sys/unix/race.go               |    30 -
 vendor/golang.org/x/sys/unix/race0.go              |    25 -
 vendor/golang.org/x/sys/unix/sockcmsg_linux.go     |    36 -
 vendor/golang.org/x/sys/unix/sockcmsg_unix.go      |   104 -
 vendor/golang.org/x/sys/unix/str.go                |    26 -
 vendor/golang.org/x/sys/unix/syscall.go            |    54 -
 vendor/golang.org/x/sys/unix/syscall_aix.go        |   547 -
 vendor/golang.org/x/sys/unix/syscall_aix_ppc.go    |    34 -
 vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go  |    34 -
 vendor/golang.org/x/sys/unix/syscall_bsd.go        |   624 -
 vendor/golang.org/x/sys/unix/syscall_darwin.go     |   700 -
 vendor/golang.org/x/sys/unix/syscall_darwin_386.go |    68 -
 .../golang.org/x/sys/unix/syscall_darwin_amd64.go  |    68 -
 vendor/golang.org/x/sys/unix/syscall_darwin_arm.go |    66 -
 .../golang.org/x/sys/unix/syscall_darwin_arm64.go  |    68 -
 vendor/golang.org/x/sys/unix/syscall_dragonfly.go  |   531 -
 .../x/sys/unix/syscall_dragonfly_amd64.go          |    52 -
 vendor/golang.org/x/sys/unix/syscall_freebsd.go    |   817 -
 .../golang.org/x/sys/unix/syscall_freebsd_386.go   |    52 -
 .../golang.org/x/sys/unix/syscall_freebsd_amd64.go |    52 -
 .../golang.org/x/sys/unix/syscall_freebsd_arm.go   |    52 -
 vendor/golang.org/x/sys/unix/syscall_linux.go      |  1628 -
 vendor/golang.org/x/sys/unix/syscall_linux_386.go  |   385 -
 .../golang.org/x/sys/unix/syscall_linux_amd64.go   |   175 -
 .../x/sys/unix/syscall_linux_amd64_gc.go           |    13 -
 vendor/golang.org/x/sys/unix/syscall_linux_arm.go  |   259 -
 .../golang.org/x/sys/unix/syscall_linux_arm64.go   |   209 -
 vendor/golang.org/x/sys/unix/syscall_linux_gc.go   |    14 -
 .../golang.org/x/sys/unix/syscall_linux_gc_386.go  |    16 -
 .../x/sys/unix/syscall_linux_gccgo_386.go          |    30 -
 .../x/sys/unix/syscall_linux_gccgo_arm.go          |    20 -
 .../golang.org/x/sys/unix/syscall_linux_mips64x.go |   214 -
 .../golang.org/x/sys/unix/syscall_linux_mipsx.go   |   233 -
 .../golang.org/x/sys/unix/syscall_linux_ppc64x.go  |   151 -
 .../golang.org/x/sys/unix/syscall_linux_riscv64.go |   209 -
 .../golang.org/x/sys/unix/syscall_linux_s390x.go   |   337 -
 .../golang.org/x/sys/unix/syscall_linux_sparc64.go |   146 -
 vendor/golang.org/x/sys/unix/syscall_netbsd.go     |   615 -
 vendor/golang.org/x/sys/unix/syscall_netbsd_386.go |    33 -
 .../golang.org/x/sys/unix/syscall_netbsd_amd64.go  |    33 -
 vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go |    33 -
 vendor/golang.org/x/sys/unix/syscall_openbsd.go    |   392 -
 .../golang.org/x/sys/unix/syscall_openbsd_386.go   |    37 -
 .../golang.org/x/sys/unix/syscall_openbsd_amd64.go |    37 -
 .../golang.org/x/sys/unix/syscall_openbsd_arm.go   |    37 -
 vendor/golang.org/x/sys/unix/syscall_solaris.go    |   730 -
 .../golang.org/x/sys/unix/syscall_solaris_amd64.go |    23 -
 vendor/golang.org/x/sys/unix/syscall_unix.go       |   394 -
 vendor/golang.org/x/sys/unix/syscall_unix_gc.go    |    15 -
 .../x/sys/unix/syscall_unix_gc_ppc64x.go           |    24 -
 vendor/golang.org/x/sys/unix/timestruct.go         |    82 -
 vendor/golang.org/x/sys/unix/types_aix.go          |   236 -
 vendor/golang.org/x/sys/unix/types_darwin.go       |   277 -
 vendor/golang.org/x/sys/unix/types_dragonfly.go    |   263 -
 vendor/golang.org/x/sys/unix/types_freebsd.go      |   356 -
 vendor/golang.org/x/sys/unix/types_netbsd.go       |   289 -
 vendor/golang.org/x/sys/unix/types_openbsd.go      |   276 -
 vendor/golang.org/x/sys/unix/types_solaris.go      |   266 -
 vendor/golang.org/x/sys/unix/xattr_bsd.go          |   240 -
 vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go    |  1372 -
 vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go  |  1373 -
 vendor/golang.org/x/sys/unix/zerrors_darwin_386.go |  1783 -
 .../golang.org/x/sys/unix/zerrors_darwin_amd64.go  |  1783 -
 vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go |  1783 -
 .../golang.org/x/sys/unix/zerrors_darwin_arm64.go  |  1783 -
 .../x/sys/unix/zerrors_dragonfly_amd64.go          |  1650 -
 .../golang.org/x/sys/unix/zerrors_freebsd_386.go   |  1793 -
 .../golang.org/x/sys/unix/zerrors_freebsd_amd64.go |  1794 -
 .../golang.org/x/sys/unix/zerrors_freebsd_arm.go   |  1802 -
 vendor/golang.org/x/sys/unix/zerrors_linux_386.go  |  2704 -
 .../golang.org/x/sys/unix/zerrors_linux_amd64.go   |  2704 -
 vendor/golang.org/x/sys/unix/zerrors_linux_arm.go  |  2710 -
 .../golang.org/x/sys/unix/zerrors_linux_arm64.go   |  2695 -
 vendor/golang.org/x/sys/unix/zerrors_linux_mips.go |  2711 -
 .../golang.org/x/sys/unix/zerrors_linux_mips64.go  |  2711 -
 .../x/sys/unix/zerrors_linux_mips64le.go           |  2711 -
 .../golang.org/x/sys/unix/zerrors_linux_mipsle.go  |  2711 -
 .../golang.org/x/sys/unix/zerrors_linux_ppc64.go   |  2764 -
 .../golang.org/x/sys/unix/zerrors_linux_ppc64le.go |  2764 -
 .../golang.org/x/sys/unix/zerrors_linux_riscv64.go |  2691 -
 .../golang.org/x/sys/unix/zerrors_linux_s390x.go   |  2764 -
 .../golang.org/x/sys/unix/zerrors_linux_sparc64.go |  2150 -
 vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go |  1772 -
 .../golang.org/x/sys/unix/zerrors_netbsd_amd64.go  |  1762 -
 vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go |  1751 -
 .../golang.org/x/sys/unix/zerrors_openbsd_386.go   |  1654 -
 .../golang.org/x/sys/unix/zerrors_openbsd_amd64.go |  1765 -
 .../golang.org/x/sys/unix/zerrors_openbsd_arm.go   |  1656 -
 .../golang.org/x/sys/unix/zerrors_solaris_amd64.go |  1532 -
 vendor/golang.org/x/sys/unix/zptrace386_linux.go   |    80 -
 vendor/golang.org/x/sys/unix/zptracearm_linux.go   |    41 -
 vendor/golang.org/x/sys/unix/zptracemips_linux.go  |    50 -
 .../golang.org/x/sys/unix/zptracemipsle_linux.go   |    50 -
 vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go   |  1450 -
 vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go |  1408 -
 .../golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go |  1162 -
 .../x/sys/unix/zsyscall_aix_ppc64_gccgo.go         |  1042 -
 .../golang.org/x/sys/unix/zsyscall_darwin_386.go   |  1769 -
 .../golang.org/x/sys/unix/zsyscall_darwin_amd64.go |  1769 -
 .../golang.org/x/sys/unix/zsyscall_darwin_arm.go   |  1769 -
 .../golang.org/x/sys/unix/zsyscall_darwin_arm64.go |  1769 -
 .../x/sys/unix/zsyscall_dragonfly_amd64.go         |  1639 -
 .../golang.org/x/sys/unix/zsyscall_freebsd_386.go  |  2015 -
 .../x/sys/unix/zsyscall_freebsd_amd64.go           |  2015 -
 .../golang.org/x/sys/unix/zsyscall_freebsd_arm.go  |  2015 -
 vendor/golang.org/x/sys/unix/zsyscall_linux_386.go |  2182 -
 .../golang.org/x/sys/unix/zsyscall_linux_amd64.go  |  2364 -
 vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go |  2284 -
 .../golang.org/x/sys/unix/zsyscall_linux_arm64.go  |  2191 -
 .../golang.org/x/sys/unix/zsyscall_linux_mips.go   |  2362 -
 .../golang.org/x/sys/unix/zsyscall_linux_mips64.go |  2333 -
 .../x/sys/unix/zsyscall_linux_mips64le.go          |  2333 -
 .../golang.org/x/sys/unix/zsyscall_linux_mipsle.go |  2362 -
 .../golang.org/x/sys/unix/zsyscall_linux_ppc64.go  |  2411 -
 .../x/sys/unix/zsyscall_linux_ppc64le.go           |  2411 -
 .../x/sys/unix/zsyscall_linux_riscv64.go           |  2191 -
 .../golang.org/x/sys/unix/zsyscall_linux_s390x.go  |  2181 -
 .../x/sys/unix/zsyscall_linux_sparc64.go           |  2172 -
 .../golang.org/x/sys/unix/zsyscall_netbsd_386.go   |  1826 -
 .../golang.org/x/sys/unix/zsyscall_netbsd_amd64.go |  1826 -
 .../golang.org/x/sys/unix/zsyscall_netbsd_arm.go   |  1826 -
 .../golang.org/x/sys/unix/zsyscall_openbsd_386.go  |  1692 -
 .../x/sys/unix/zsyscall_openbsd_amd64.go           |  1692 -
 .../golang.org/x/sys/unix/zsyscall_openbsd_arm.go  |  1692 -
 .../x/sys/unix/zsyscall_solaris_amd64.go           |  1953 -
 .../golang.org/x/sys/unix/zsysctl_openbsd_386.go   |   270 -
 .../golang.org/x/sys/unix/zsysctl_openbsd_amd64.go |   270 -
 .../golang.org/x/sys/unix/zsysctl_openbsd_arm.go   |   270 -
 vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go |   436 -
 .../golang.org/x/sys/unix/zsysnum_darwin_amd64.go  |   436 -
 vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go |   436 -
 .../golang.org/x/sys/unix/zsysnum_darwin_arm64.go  |   436 -
 .../x/sys/unix/zsysnum_dragonfly_amd64.go          |   315 -
 .../golang.org/x/sys/unix/zsysnum_freebsd_386.go   |   403 -
 .../golang.org/x/sys/unix/zsysnum_freebsd_amd64.go |   403 -
 .../golang.org/x/sys/unix/zsysnum_freebsd_arm.go   |   403 -
 vendor/golang.org/x/sys/unix/zsysnum_linux_386.go  |   392 -
 .../golang.org/x/sys/unix/zsysnum_linux_amd64.go   |   344 -
 vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go  |   364 -
 .../golang.org/x/sys/unix/zsysnum_linux_arm64.go   |   288 -
 vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go |   377 -
 .../golang.org/x/sys/unix/zsysnum_linux_mips64.go  |   337 -
 .../x/sys/unix/zsysnum_linux_mips64le.go           |   337 -
 .../golang.org/x/sys/unix/zsysnum_linux_mipsle.go  |   377 -
 .../golang.org/x/sys/unix/zsysnum_linux_ppc64.go   |   375 -
 .../golang.org/x/sys/unix/zsysnum_linux_ppc64le.go |   375 -
 .../golang.org/x/sys/unix/zsysnum_linux_riscv64.go |   287 -
 .../golang.org/x/sys/unix/zsysnum_linux_s390x.go   |   337 -
 .../golang.org/x/sys/unix/zsysnum_linux_sparc64.go |   348 -
 vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go |   274 -
 .../golang.org/x/sys/unix/zsysnum_netbsd_amd64.go  |   274 -
 vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go |   274 -
 .../golang.org/x/sys/unix/zsysnum_openbsd_386.go   |   218 -
 .../golang.org/x/sys/unix/zsysnum_openbsd_amd64.go |   218 -
 .../golang.org/x/sys/unix/zsysnum_openbsd_arm.go   |   218 -
 vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go     |   345 -
 vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go   |   354 -
 vendor/golang.org/x/sys/unix/ztypes_darwin_386.go  |   489 -
 .../golang.org/x/sys/unix/ztypes_darwin_amd64.go   |   499 -
 vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go  |   490 -
 .../golang.org/x/sys/unix/ztypes_darwin_arm64.go   |   499 -
 .../x/sys/unix/ztypes_dragonfly_amd64.go           |   469 -
 vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go |   603 -
 .../golang.org/x/sys/unix/ztypes_freebsd_amd64.go  |   602 -
 vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go |   602 -
 vendor/golang.org/x/sys/unix/ztypes_linux_386.go   |  1988 -
 vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go |  2010 -
 vendor/golang.org/x/sys/unix/ztypes_linux_arm.go   |  1978 -
 vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go |  1989 -
 vendor/golang.org/x/sys/unix/ztypes_linux_mips.go  |  1983 -
 .../golang.org/x/sys/unix/ztypes_linux_mips64.go   |  1991 -
 .../golang.org/x/sys/unix/ztypes_linux_mips64le.go |  1991 -
 .../golang.org/x/sys/unix/ztypes_linux_mipsle.go   |  1983 -
 vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go |  1999 -
 .../golang.org/x/sys/unix/ztypes_linux_ppc64le.go  |  1999 -
 .../golang.org/x/sys/unix/ztypes_linux_riscv64.go  |  2016 -
 vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go |  2016 -
 .../golang.org/x/sys/unix/ztypes_linux_sparc64.go  |   690 -
 vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go  |   465 -
 .../golang.org/x/sys/unix/ztypes_netbsd_amd64.go   |   472 -
 vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go  |   470 -
 vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go |   560 -
 .../golang.org/x/sys/unix/ztypes_openbsd_amd64.go  |   560 -
 vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go |   553 -
 .../golang.org/x/sys/unix/ztypes_solaris_amd64.go  |   442 -
 vendor/golang.org/x/sys/windows/aliases.go         |    13 -
 vendor/golang.org/x/sys/windows/asm_windows_386.s  |    13 -
 .../golang.org/x/sys/windows/asm_windows_amd64.s   |    13 -
 vendor/golang.org/x/sys/windows/asm_windows_arm.s  |    11 -
 vendor/golang.org/x/sys/windows/dll_windows.go     |   378 -
 vendor/golang.org/x/sys/windows/env_windows.go     |    29 -
 vendor/golang.org/x/sys/windows/eventlog.go        |    20 -
 vendor/golang.org/x/sys/windows/exec_windows.go    |    97 -
 vendor/golang.org/x/sys/windows/memory_windows.go  |    26 -
 vendor/golang.org/x/sys/windows/mksyscall.go       |     7 -
 vendor/golang.org/x/sys/windows/race.go            |    30 -
 vendor/golang.org/x/sys/windows/race0.go           |    25 -
 .../golang.org/x/sys/windows/security_windows.go   |   478 -
 vendor/golang.org/x/sys/windows/service.go         |   183 -
 vendor/golang.org/x/sys/windows/str.go             |    22 -
 vendor/golang.org/x/sys/windows/syscall.go         |    74 -
 vendor/golang.org/x/sys/windows/syscall_windows.go |  1205 -
 vendor/golang.org/x/sys/windows/types_windows.go   |  1469 -
 .../golang.org/x/sys/windows/types_windows_386.go  |    22 -
 .../x/sys/windows/types_windows_amd64.go           |    22 -
 .../golang.org/x/sys/windows/types_windows_arm.go  |    22 -
 .../golang.org/x/sys/windows/zsyscall_windows.go   |  2700 -
 vendor/golang.org/x/text/AUTHORS                   |     3 -
 vendor/golang.org/x/text/CONTRIBUTORS              |     3 -
 vendor/golang.org/x/text/LICENSE                   |    27 -
 vendor/golang.org/x/text/PATENTS                   |    22 -
 .../golang.org/x/text/secure/bidirule/bidirule.go  |   336 -
 .../x/text/secure/bidirule/bidirule10.0.0.go       |    11 -
 .../x/text/secure/bidirule/bidirule9.0.0.go        |    14 -
 vendor/golang.org/x/text/transform/transform.go    |   705 -
 vendor/golang.org/x/text/unicode/bidi/bidi.go      |   198 -
 vendor/golang.org/x/text/unicode/bidi/bracket.go   |   335 -
 vendor/golang.org/x/text/unicode/bidi/core.go      |  1058 -
 vendor/golang.org/x/text/unicode/bidi/gen.go       |   133 -
 .../golang.org/x/text/unicode/bidi/gen_ranges.go   |    57 -
 .../golang.org/x/text/unicode/bidi/gen_trieval.go  |    64 -
 vendor/golang.org/x/text/unicode/bidi/prop.go      |   206 -
 .../golang.org/x/text/unicode/bidi/tables10.0.0.go |  1815 -
 .../golang.org/x/text/unicode/bidi/tables9.0.0.go  |  1781 -
 vendor/golang.org/x/text/unicode/bidi/trieval.go   |    60 -
 .../golang.org/x/text/unicode/norm/composition.go  |   508 -
 vendor/golang.org/x/text/unicode/norm/forminfo.go  |   273 -
 vendor/golang.org/x/text/unicode/norm/input.go     |   109 -
 vendor/golang.org/x/text/unicode/norm/iter.go      |   457 -
 .../golang.org/x/text/unicode/norm/maketables.go   |   986 -
 vendor/golang.org/x/text/unicode/norm/normalize.go |   609 -
 .../golang.org/x/text/unicode/norm/readwriter.go   |   125 -
 .../golang.org/x/text/unicode/norm/tables10.0.0.go |  7657 ---
 .../golang.org/x/text/unicode/norm/tables9.0.0.go  |  7637 ---
 vendor/golang.org/x/text/unicode/norm/transform.go |    88 -
 vendor/golang.org/x/text/unicode/norm/trie.go      |    54 -
 vendor/golang.org/x/text/unicode/norm/triegen.go   |   117 -
 vendor/golang.org/x/text/width/gen.go              |   115 -
 vendor/golang.org/x/text/width/gen_common.go       |    96 -
 vendor/golang.org/x/text/width/gen_trieval.go      |    34 -
 vendor/golang.org/x/text/width/kind_string.go      |    16 -
 vendor/golang.org/x/text/width/tables10.0.0.go     |  1318 -
 vendor/golang.org/x/text/width/tables9.0.0.go      |  1286 -
 vendor/golang.org/x/text/width/transform.go        |   239 -
 vendor/golang.org/x/text/width/trieval.go          |    30 -
 vendor/golang.org/x/text/width/width.go            |   206 -
 vendor/golang.org/x/time/AUTHORS                   |     3 -
 vendor/golang.org/x/time/CONTRIBUTORS              |     3 -
 vendor/golang.org/x/time/LICENSE                   |    27 -
 vendor/golang.org/x/time/PATENTS                   |    22 -
 vendor/golang.org/x/time/rate/rate.go              |   374 -
 vendor/google.golang.org/appengine/LICENSE         |   202 -
 vendor/google.golang.org/appengine/appengine.go    |   135 -
 vendor/google.golang.org/appengine/appengine_vm.go |    20 -
 vendor/google.golang.org/appengine/errors.go       |    46 -
 vendor/google.golang.org/appengine/identity.go     |   142 -
 vendor/google.golang.org/appengine/internal/api.go |   675 -
 .../appengine/internal/api_classic.go              |   169 -
 .../appengine/internal/api_common.go               |   123 -
 .../google.golang.org/appengine/internal/app_id.go |    28 -
 .../app_identity/app_identity_service.pb.go        |   611 -
 .../appengine/internal/base/api_base.pb.go         |   308 -
 .../internal/datastore/datastore_v3.pb.go          |  4367 --
 .../appengine/internal/identity.go                 |    55 -
 .../appengine/internal/identity_classic.go         |    61 -
 .../appengine/internal/identity_flex.go            |    11 -
 .../appengine/internal/identity_vm.go              |   134 -
 .../appengine/internal/internal.go                 |   110 -
 .../appengine/internal/log/log_service.pb.go       |  1313 -
 .../google.golang.org/appengine/internal/main.go   |    16 -
 .../appengine/internal/main_common.go              |     7 -
 .../appengine/internal/main_vm.go                  |    69 -
 .../appengine/internal/metadata.go                 |    60 -
 .../internal/modules/modules_service.pb.go         |   786 -
 vendor/google.golang.org/appengine/internal/net.go |    56 -
 .../appengine/internal/remote_api/remote_api.pb.go |   361 -
 .../appengine/internal/transaction.go              |   115 -
 .../internal/urlfetch/urlfetch_service.pb.go       |   527 -
 vendor/google.golang.org/appengine/namespace.go    |    25 -
 vendor/google.golang.org/appengine/timeout.go      |    20 -
 .../appengine/urlfetch/urlfetch.go                 |   210 -
 vendor/gopkg.in/inf.v0/LICENSE                     |    28 -
 vendor/gopkg.in/inf.v0/dec.go                      |   615 -
 vendor/gopkg.in/inf.v0/rounder.go                  |   145 -
 vendor/gopkg.in/yaml.v2/LICENSE                    |   201 -
 vendor/gopkg.in/yaml.v2/LICENSE.libyaml            |    31 -
 vendor/gopkg.in/yaml.v2/NOTICE                     |    13 -
 vendor/gopkg.in/yaml.v2/apic.go                    |   739 -
 vendor/gopkg.in/yaml.v2/decode.go                  |   775 -
 vendor/gopkg.in/yaml.v2/emitterc.go                |  1685 -
 vendor/gopkg.in/yaml.v2/encode.go                  |   390 -
 vendor/gopkg.in/yaml.v2/parserc.go                 |  1095 -
 vendor/gopkg.in/yaml.v2/readerc.go                 |   412 -
 vendor/gopkg.in/yaml.v2/resolve.go                 |   258 -
 vendor/gopkg.in/yaml.v2/scannerc.go                |  2696 -
 vendor/gopkg.in/yaml.v2/sorter.go                  |   113 -
 vendor/gopkg.in/yaml.v2/writerc.go                 |    26 -
 vendor/gopkg.in/yaml.v2/yaml.go                    |   466 -
 vendor/gopkg.in/yaml.v2/yamlh.go                   |   738 -
 vendor/gopkg.in/yaml.v2/yamlprivateh.go            |   173 -
 vendor/k8s.io/api/LICENSE                          |   202 -
 vendor/k8s.io/api/admission/v1beta1/doc.go         |    22 -
 .../k8s.io/api/admission/v1beta1/generated.pb.go   |  1390 -
 vendor/k8s.io/api/admission/v1beta1/register.go    |    51 -
 vendor/k8s.io/api/admission/v1beta1/types.go       |   127 -
 .../v1beta1/types_swagger_doc_generated.go         |    73 -
 .../api/admission/v1beta1/zz_generated.deepcopy.go |   125 -
 .../api/admissionregistration/v1alpha1/doc.go      |    25 -
 .../admissionregistration/v1alpha1/generated.pb.go |  1008 -
 .../api/admissionregistration/v1alpha1/register.go |    51 -
 .../api/admissionregistration/v1alpha1/types.go    |   106 -
 .../v1alpha1/types_swagger_doc_generated.go        |    71 -
 .../v1alpha1/zz_generated.deepcopy.go              |   145 -
 .../api/admissionregistration/v1beta1/doc.go       |    25 -
 .../admissionregistration/v1beta1/generated.pb.go  |  2171 -
 .../api/admissionregistration/v1beta1/register.go  |    53 -
 .../api/admissionregistration/v1beta1/types.go     |   306 -
 .../v1beta1/types_swagger_doc_generated.go         |   126 -
 .../v1beta1/zz_generated.deepcopy.go               |   302 -
 vendor/k8s.io/api/apps/v1/doc.go                   |    20 -
 vendor/k8s.io/api/apps/v1/generated.pb.go          |  6924 ---
 vendor/k8s.io/api/apps/v1/register.go              |    60 -
 vendor/k8s.io/api/apps/v1/types.go                 |   826 -
 .../api/apps/v1/types_swagger_doc_generated.go     |   365 -
 vendor/k8s.io/api/apps/v1/zz_generated.deepcopy.go |   772 -
 vendor/k8s.io/api/apps/v1beta1/doc.go              |    20 -
 vendor/k8s.io/api/apps/v1beta1/generated.pb.go     |  5275 --
 vendor/k8s.io/api/apps/v1beta1/register.go         |    58 -
 vendor/k8s.io/api/apps/v1beta1/types.go            |   567 -
 .../apps/v1beta1/types_swagger_doc_generated.go    |   273 -
 .../api/apps/v1beta1/zz_generated.deepcopy.go      |   594 -
 vendor/k8s.io/api/apps/v1beta2/doc.go              |    20 -
 vendor/k8s.io/api/apps/v1beta2/generated.pb.go     |  7567 ---
 vendor/k8s.io/api/apps/v1beta2/register.go         |    61 -
 vendor/k8s.io/api/apps/v1beta2/types.go            |   876 -
 .../apps/v1beta2/types_swagger_doc_generated.go    |   396 -
 .../api/apps/v1beta2/zz_generated.deepcopy.go      |   839 -
 .../k8s.io/api/auditregistration/v1alpha1/doc.go   |    22 -
 .../api/auditregistration/v1alpha1/generated.pb.go |  1685 -
 .../api/auditregistration/v1alpha1/register.go     |    56 -
 .../k8s.io/api/auditregistration/v1alpha1/types.go |   194 -
 .../v1alpha1/types_swagger_doc_generated.go        |   110 -
 .../v1alpha1/zz_generated.deepcopy.go              |   224 -
 vendor/k8s.io/api/authentication/v1/doc.go         |    21 -
 .../k8s.io/api/authentication/v1/generated.pb.go   |  2233 -
 vendor/k8s.io/api/authentication/v1/register.go    |    52 -
 vendor/k8s.io/api/authentication/v1/types.go       |   186 -
 .../v1/types_swagger_doc_generated.go              |   115 -
 .../api/authentication/v1/zz_generated.deepcopy.go |   244 -
 vendor/k8s.io/api/authentication/v1beta1/doc.go    |    21 -
 .../api/authentication/v1beta1/generated.pb.go     |  1388 -
 .../k8s.io/api/authentication/v1beta1/register.go  |    51 -
 vendor/k8s.io/api/authentication/v1beta1/types.go  |   110 -
 .../v1beta1/types_swagger_doc_generated.go         |    74 -
 .../v1beta1/zz_generated.deepcopy.go               |   152 -
 vendor/k8s.io/api/authorization/v1/doc.go          |    22 -
 vendor/k8s.io/api/authorization/v1/generated.pb.go |  3511 --
 vendor/k8s.io/api/authorization/v1/register.go     |    55 -
 vendor/k8s.io/api/authorization/v1/types.go        |   268 -
 .../v1/types_swagger_doc_generated.go              |   173 -
 .../api/authorization/v1/zz_generated.deepcopy.go  |   385 -
 vendor/k8s.io/api/authorization/v1beta1/doc.go     |    22 -
 .../api/authorization/v1beta1/generated.pb.go      |  3511 --
 .../k8s.io/api/authorization/v1beta1/register.go   |    55 -
 vendor/k8s.io/api/authorization/v1beta1/types.go   |   268 -
 .../v1beta1/types_swagger_doc_generated.go         |   173 -
 .../authorization/v1beta1/zz_generated.deepcopy.go |   385 -
 vendor/k8s.io/api/autoscaling/v1/doc.go            |    20 -
 vendor/k8s.io/api/autoscaling/v1/generated.pb.go   |  4691 --
 vendor/k8s.io/api/autoscaling/v1/register.go       |    53 -
 vendor/k8s.io/api/autoscaling/v1/types.go          |   428 -
 .../autoscaling/v1/types_swagger_doc_generated.go  |   250 -
 .../api/autoscaling/v1/zz_generated.deepcopy.go    |   515 -
 vendor/k8s.io/api/autoscaling/v2beta1/doc.go       |    20 -
 .../k8s.io/api/autoscaling/v2beta1/generated.pb.go |  4307 --
 vendor/k8s.io/api/autoscaling/v2beta1/register.go  |    52 -
 vendor/k8s.io/api/autoscaling/v2beta1/types.go     |   405 -
 .../v2beta1/types_swagger_doc_generated.go         |   221 -
 .../autoscaling/v2beta1/zz_generated.deepcopy.go   |   466 -
 vendor/k8s.io/api/autoscaling/v2beta2/doc.go       |    20 -
 .../k8s.io/api/autoscaling/v2beta2/generated.pb.go |  4419 --
 vendor/k8s.io/api/autoscaling/v2beta2/register.go  |    50 -
 vendor/k8s.io/api/autoscaling/v2beta2/types.go     |   393 -
 .../v2beta2/types_swagger_doc_generated.go         |   240 -
 .../autoscaling/v2beta2/zz_generated.deepcopy.go   |   487 -
 vendor/k8s.io/api/batch/v1/doc.go                  |    20 -
 vendor/k8s.io/api/batch/v1/generated.pb.go         |  1627 -
 vendor/k8s.io/api/batch/v1/register.go             |    52 -
 vendor/k8s.io/api/batch/v1/types.go                |   193 -
 .../api/batch/v1/types_swagger_doc_generated.go    |    95 -
 .../k8s.io/api/batch/v1/zz_generated.deepcopy.go   |   188 -
 vendor/k8s.io/api/batch/v1beta1/doc.go             |    20 -
 vendor/k8s.io/api/batch/v1beta1/generated.pb.go    |  1490 -
 vendor/k8s.io/api/batch/v1beta1/register.go        |    53 -
 vendor/k8s.io/api/batch/v1beta1/types.go           |   158 -
 .../batch/v1beta1/types_swagger_doc_generated.go   |    96 -
 .../api/batch/v1beta1/zz_generated.deepcopy.go     |   194 -
 vendor/k8s.io/api/batch/v2alpha1/doc.go            |    20 -
 vendor/k8s.io/api/batch/v2alpha1/generated.pb.go   |  1490 -
 vendor/k8s.io/api/batch/v2alpha1/register.go       |    53 -
 vendor/k8s.io/api/batch/v2alpha1/types.go          |   156 -
 .../batch/v2alpha1/types_swagger_doc_generated.go  |    96 -
 .../api/batch/v2alpha1/zz_generated.deepcopy.go    |   194 -
 vendor/k8s.io/api/certificates/v1beta1/doc.go      |    22 -
 .../api/certificates/v1beta1/generated.pb.go       |  1676 -
 vendor/k8s.io/api/certificates/v1beta1/register.go |    59 -
 vendor/k8s.io/api/certificates/v1beta1/types.go    |   155 -
 .../v1beta1/types_swagger_doc_generated.go         |    74 -
 .../certificates/v1beta1/zz_generated.deepcopy.go  |   197 -
 vendor/k8s.io/api/coordination/v1beta1/doc.go      |    22 -
 .../api/coordination/v1beta1/generated.pb.go       |   864 -
 vendor/k8s.io/api/coordination/v1beta1/register.go |    53 -
 vendor/k8s.io/api/coordination/v1beta1/types.go    |    74 -
 .../v1beta1/types_swagger_doc_generated.go         |    63 -
 .../coordination/v1beta1/zz_generated.deepcopy.go  |   124 -
 .../k8s.io/api/core/v1/annotation_key_constants.go |   100 -
 vendor/k8s.io/api/core/v1/doc.go                   |    21 -
 vendor/k8s.io/api/core/v1/generated.pb.go          | 52455 -------------------
 vendor/k8s.io/api/core/v1/objectreference.go       |    33 -
 vendor/k8s.io/api/core/v1/register.go              |    99 -
 vendor/k8s.io/api/core/v1/resource.go              |    56 -
 vendor/k8s.io/api/core/v1/taint.go                 |    33 -
 vendor/k8s.io/api/core/v1/toleration.go            |    56 -
 vendor/k8s.io/api/core/v1/types.go                 |  5361 --
 .../api/core/v1/types_swagger_doc_generated.go     |  2346 -
 vendor/k8s.io/api/core/v1/zz_generated.deepcopy.go |  5430 --
 vendor/k8s.io/api/events/v1beta1/doc.go            |    22 -
 vendor/k8s.io/api/events/v1beta1/generated.pb.go   |  1287 -
 vendor/k8s.io/api/events/v1beta1/register.go       |    53 -
 vendor/k8s.io/api/events/v1beta1/types.go          |   122 -
 .../events/v1beta1/types_swagger_doc_generated.go  |    73 -
 .../api/events/v1beta1/zz_generated.deepcopy.go    |   117 -
 vendor/k8s.io/api/extensions/v1beta1/doc.go        |    20 -
 .../k8s.io/api/extensions/v1beta1/generated.pb.go  | 12298 -----
 vendor/k8s.io/api/extensions/v1beta1/register.go   |    66 -
 vendor/k8s.io/api/extensions/v1beta1/types.go      |  1360 -
 .../v1beta1/types_swagger_doc_generated.go         |   640 -
 .../extensions/v1beta1/zz_generated.deepcopy.go    |  1445 -
 vendor/k8s.io/api/networking/v1/doc.go             |    21 -
 vendor/k8s.io/api/networking/v1/generated.pb.go    |  1849 -
 vendor/k8s.io/api/networking/v1/register.go        |    53 -
 vendor/k8s.io/api/networking/v1/types.go           |   203 -
 .../networking/v1/types_swagger_doc_generated.go   |   113 -
 .../api/networking/v1/zz_generated.deepcopy.go     |   262 -
 vendor/k8s.io/api/policy/v1beta1/doc.go            |    23 -
 vendor/k8s.io/api/policy/v1beta1/generated.pb.go   |  4324 --
 vendor/k8s.io/api/policy/v1beta1/register.go       |    56 -
 vendor/k8s.io/api/policy/v1beta1/types.go          |   454 -
 .../policy/v1beta1/types_swagger_doc_generated.go  |   222 -
 .../api/policy/v1beta1/zz_generated.deepcopy.go    |   488 -
 vendor/k8s.io/api/rbac/v1/doc.go                   |    22 -
 vendor/k8s.io/api/rbac/v1/generated.pb.go          |  2729 -
 vendor/k8s.io/api/rbac/v1/register.go              |    58 -
 vendor/k8s.io/api/rbac/v1/types.go                 |   235 -
 .../api/rbac/v1/types_swagger_doc_generated.go     |   158 -
 vendor/k8s.io/api/rbac/v1/zz_generated.deepcopy.go |   389 -
 vendor/k8s.io/api/rbac/v1alpha1/doc.go             |    22 -
 vendor/k8s.io/api/rbac/v1alpha1/generated.pb.go    |  2730 -
 vendor/k8s.io/api/rbac/v1alpha1/register.go        |    58 -
 vendor/k8s.io/api/rbac/v1alpha1/types.go           |   237 -
 .../rbac/v1alpha1/types_swagger_doc_generated.go   |   158 -
 .../api/rbac/v1alpha1/zz_generated.deepcopy.go     |   389 -
 vendor/k8s.io/api/rbac/v1beta1/doc.go              |    22 -
 vendor/k8s.io/api/rbac/v1beta1/generated.pb.go     |  2729 -
 vendor/k8s.io/api/rbac/v1beta1/register.go         |    58 -
 vendor/k8s.io/api/rbac/v1beta1/types.go            |   235 -
 .../rbac/v1beta1/types_swagger_doc_generated.go    |   158 -
 .../api/rbac/v1beta1/zz_generated.deepcopy.go      |   389 -
 vendor/k8s.io/api/scheduling/v1alpha1/doc.go       |    22 -
 .../k8s.io/api/scheduling/v1alpha1/generated.pb.go |   621 -
 vendor/k8s.io/api/scheduling/v1alpha1/register.go  |    52 -
 vendor/k8s.io/api/scheduling/v1alpha1/types.go     |    66 -
 .../v1alpha1/types_swagger_doc_generated.go        |    52 -
 .../scheduling/v1alpha1/zz_generated.deepcopy.go   |    84 -
 vendor/k8s.io/api/scheduling/v1beta1/doc.go        |    22 -
 .../k8s.io/api/scheduling/v1beta1/generated.pb.go  |   621 -
 vendor/k8s.io/api/scheduling/v1beta1/register.go   |    52 -
 vendor/k8s.io/api/scheduling/v1beta1/types.go      |    66 -
 .../v1beta1/types_swagger_doc_generated.go         |    52 -
 .../scheduling/v1beta1/zz_generated.deepcopy.go    |    84 -
 vendor/k8s.io/api/settings/v1alpha1/doc.go         |    22 -
 .../k8s.io/api/settings/v1alpha1/generated.pb.go   |   910 -
 vendor/k8s.io/api/settings/v1alpha1/register.go    |    52 -
 vendor/k8s.io/api/settings/v1alpha1/types.go       |    70 -
 .../v1alpha1/types_swagger_doc_generated.go        |    61 -
 .../api/settings/v1alpha1/zz_generated.deepcopy.go |   131 -
 vendor/k8s.io/api/storage/v1/doc.go                |    21 -
 vendor/k8s.io/api/storage/v1/generated.pb.go       |  2246 -
 vendor/k8s.io/api/storage/v1/register.go           |    56 -
 vendor/k8s.io/api/storage/v1/types.go              |   211 -
 .../api/storage/v1/types_swagger_doc_generated.go  |   119 -
 .../k8s.io/api/storage/v1/zz_generated.deepcopy.go |   268 -
 vendor/k8s.io/api/storage/v1alpha1/doc.go          |    21 -
 vendor/k8s.io/api/storage/v1alpha1/generated.pb.go |  1503 -
 vendor/k8s.io/api/storage/v1alpha1/register.go     |    50 -
 vendor/k8s.io/api/storage/v1alpha1/types.go        |   126 -
 .../v1alpha1/types_swagger_doc_generated.go        |    93 -
 .../api/storage/v1alpha1/zz_generated.deepcopy.go  |   174 -
 vendor/k8s.io/api/storage/v1beta1/doc.go           |    21 -
 vendor/k8s.io/api/storage/v1beta1/generated.pb.go  |  2246 -
 vendor/k8s.io/api/storage/v1beta1/register.go      |    56 -
 vendor/k8s.io/api/storage/v1beta1/types.go         |   211 -
 .../storage/v1beta1/types_swagger_doc_generated.go |   119 -
 .../api/storage/v1beta1/zz_generated.deepcopy.go   |   268 -
 vendor/k8s.io/apimachinery/LICENSE                 |   202 -
 .../apimachinery/pkg/api/equality/semantic.go      |    49 -
 vendor/k8s.io/apimachinery/pkg/api/errors/doc.go   |    18 -
 .../k8s.io/apimachinery/pkg/api/errors/errors.go   |   605 -
 vendor/k8s.io/apimachinery/pkg/api/meta/doc.go     |    19 -
 vendor/k8s.io/apimachinery/pkg/api/meta/errors.go  |   121 -
 .../pkg/api/meta/firsthit_restmapper.go            |    97 -
 vendor/k8s.io/apimachinery/pkg/api/meta/help.go    |   205 -
 .../k8s.io/apimachinery/pkg/api/meta/interfaces.go |   134 -
 vendor/k8s.io/apimachinery/pkg/api/meta/lazy.go    |   104 -
 vendor/k8s.io/apimachinery/pkg/api/meta/meta.go    |   650 -
 .../apimachinery/pkg/api/meta/multirestmapper.go   |   210 -
 .../k8s.io/apimachinery/pkg/api/meta/priority.go   |   222 -
 .../k8s.io/apimachinery/pkg/api/meta/restmapper.go |   518 -
 .../k8s.io/apimachinery/pkg/api/resource/amount.go |   299 -
 .../apimachinery/pkg/api/resource/generated.pb.go  |    75 -
 .../k8s.io/apimachinery/pkg/api/resource/math.go   |   314 -
 .../apimachinery/pkg/api/resource/quantity.go      |   738 -
 .../pkg/api/resource/quantity_proto.go             |   284 -
 .../apimachinery/pkg/api/resource/scale_int.go     |    95 -
 .../k8s.io/apimachinery/pkg/api/resource/suffix.go |   198 -
 .../pkg/api/resource/zz_generated.deepcopy.go      |    27 -
 .../k8s.io/apimachinery/pkg/api/validation/doc.go  |    18 -
 .../apimachinery/pkg/api/validation/generic.go     |    85 -
 .../apimachinery/pkg/api/validation/objectmeta.go  |   308 -
 .../pkg/apis/meta/internalversion/conversion.go    |    54 -
 .../pkg/apis/meta/internalversion/doc.go           |    20 -
 .../pkg/apis/meta/internalversion/register.go      |   113 -
 .../pkg/apis/meta/internalversion/types.go         |    70 -
 .../internalversion/zz_generated.conversion.go     |   143 -
 .../meta/internalversion/zz_generated.deepcopy.go  |    96 -
 .../pkg/apis/meta/v1/controller_ref.go             |    54 -
 .../apimachinery/pkg/apis/meta/v1/conversion.go    |   319 -
 vendor/k8s.io/apimachinery/pkg/apis/meta/v1/doc.go |    23 -
 .../apimachinery/pkg/apis/meta/v1/duration.go      |    50 -
 .../apimachinery/pkg/apis/meta/v1/generated.pb.go  |  8311 ---
 .../apimachinery/pkg/apis/meta/v1/group_version.go |   148 -
 .../apimachinery/pkg/apis/meta/v1/helpers.go       |   234 -
 .../k8s.io/apimachinery/pkg/apis/meta/v1/labels.go |    55 -
 .../k8s.io/apimachinery/pkg/apis/meta/v1/meta.go   |   170 -
 .../apimachinery/pkg/apis/meta/v1/micro_time.go    |   183 -
 .../pkg/apis/meta/v1/micro_time_proto.go           |    72 -
 .../apimachinery/pkg/apis/meta/v1/register.go      |    97 -
 .../k8s.io/apimachinery/pkg/apis/meta/v1/time.go   |   185 -
 .../apimachinery/pkg/apis/meta/v1/time_proto.go    |    92 -
 .../k8s.io/apimachinery/pkg/apis/meta/v1/types.go  |  1009 -
 .../apis/meta/v1/types_swagger_doc_generated.go    |   350 -
 .../pkg/apis/meta/v1/unstructured/helpers.go       |   451 -
 .../pkg/apis/meta/v1/unstructured/unstructured.go  |   452 -
 .../apis/meta/v1/unstructured/unstructured_list.go |   188 -
 .../meta/v1/unstructured/zz_generated.deepcopy.go  |    55 -
 .../pkg/apis/meta/v1/validation/validation.go      |   110 -
 .../k8s.io/apimachinery/pkg/apis/meta/v1/watch.go  |    89 -
 .../pkg/apis/meta/v1/zz_generated.deepcopy.go      |   961 -
 .../pkg/apis/meta/v1/zz_generated.defaults.go      |    32 -
 .../pkg/apis/meta/v1beta1/conversion.go            |    27 -
 .../apimachinery/pkg/apis/meta/v1beta1/deepcopy.go |    44 -
 .../apimachinery/pkg/apis/meta/v1beta1/doc.go      |    23 -
 .../pkg/apis/meta/v1beta1/generated.pb.go          |   613 -
 .../apimachinery/pkg/apis/meta/v1beta1/register.go |    57 -
 .../apimachinery/pkg/apis/meta/v1beta1/types.go    |   161 -
 .../meta/v1beta1/types_swagger_doc_generated.go    |   104 -
 .../pkg/apis/meta/v1beta1/zz_generated.deepcopy.go |   189 -
 .../pkg/apis/meta/v1beta1/zz_generated.defaults.go |    32 -
 .../apimachinery/pkg/conversion/converter.go       |   898 -
 .../apimachinery/pkg/conversion/deep_equal.go      |    36 -
 vendor/k8s.io/apimachinery/pkg/conversion/doc.go   |    24 -
 .../k8s.io/apimachinery/pkg/conversion/helper.go   |    39 -
 .../pkg/conversion/queryparams/convert.go          |   198 -
 .../apimachinery/pkg/conversion/queryparams/doc.go |    19 -
 vendor/k8s.io/apimachinery/pkg/fields/doc.go       |    19 -
 vendor/k8s.io/apimachinery/pkg/fields/fields.go    |    62 -
 .../k8s.io/apimachinery/pkg/fields/requirements.go |    30 -
 vendor/k8s.io/apimachinery/pkg/fields/selector.go  |   476 -
 vendor/k8s.io/apimachinery/pkg/labels/doc.go       |    19 -
 vendor/k8s.io/apimachinery/pkg/labels/labels.go    |   181 -
 vendor/k8s.io/apimachinery/pkg/labels/selector.go  |   891 -
 .../pkg/labels/zz_generated.deepcopy.go            |    42 -
 vendor/k8s.io/apimachinery/pkg/runtime/codec.go    |   332 -
 .../k8s.io/apimachinery/pkg/runtime/codec_check.go |    48 -
 .../k8s.io/apimachinery/pkg/runtime/conversion.go  |   113 -
 .../k8s.io/apimachinery/pkg/runtime/converter.go   |   805 -
 vendor/k8s.io/apimachinery/pkg/runtime/doc.go      |    51 -
 vendor/k8s.io/apimachinery/pkg/runtime/embedded.go |   142 -
 vendor/k8s.io/apimachinery/pkg/runtime/error.go    |   122 -
 .../k8s.io/apimachinery/pkg/runtime/extension.go   |    51 -
 .../apimachinery/pkg/runtime/generated.pb.go       |   753 -
 vendor/k8s.io/apimachinery/pkg/runtime/helper.go   |   212 -
 .../k8s.io/apimachinery/pkg/runtime/interfaces.go  |   252 -
 vendor/k8s.io/apimachinery/pkg/runtime/register.go |    61 -
 .../pkg/runtime/schema/generated.pb.go             |    63 -
 .../pkg/runtime/schema/group_version.go            |   300 -
 .../apimachinery/pkg/runtime/schema/interfaces.go  |    40 -
 vendor/k8s.io/apimachinery/pkg/runtime/scheme.go   |   754 -
 .../apimachinery/pkg/runtime/scheme_builder.go     |    48 -
 .../pkg/runtime/serializer/codec_factory.go        |   237 -
 .../pkg/runtime/serializer/json/json.go            |   303 -
 .../pkg/runtime/serializer/json/meta.go            |    63 -
 .../pkg/runtime/serializer/negotiated_codec.go     |    43 -
 .../pkg/runtime/serializer/protobuf/doc.go         |    18 -
 .../pkg/runtime/serializer/protobuf/protobuf.go    |   459 -
 .../pkg/runtime/serializer/protobuf_extension.go   |    48 -
 .../runtime/serializer/recognizer/recognizer.go    |   127 -
 .../pkg/runtime/serializer/streaming/streaming.go  |   137 -
 .../runtime/serializer/versioning/versioning.go    |   282 -
 .../pkg/runtime/swagger_doc_generator.go           |   262 -
 vendor/k8s.io/apimachinery/pkg/runtime/types.go    |   137 -
 .../k8s.io/apimachinery/pkg/runtime/types_proto.go |    69 -
 .../pkg/runtime/zz_generated.deepcopy.go           |   108 -
 .../k8s.io/apimachinery/pkg/selection/operator.go  |    33 -
 vendor/k8s.io/apimachinery/pkg/types/doc.go        |    18 -
 .../apimachinery/pkg/types/namespacedname.go       |    43 -
 vendor/k8s.io/apimachinery/pkg/types/nodename.go   |    43 -
 vendor/k8s.io/apimachinery/pkg/types/patch.go      |    28 -
 vendor/k8s.io/apimachinery/pkg/types/uid.go        |    22 -
 vendor/k8s.io/apimachinery/pkg/util/cache/cache.go |    83 -
 .../apimachinery/pkg/util/cache/lruexpirecache.go  |   102 -
 vendor/k8s.io/apimachinery/pkg/util/clock/clock.go |   348 -
 vendor/k8s.io/apimachinery/pkg/util/diff/diff.go   |   313 -
 vendor/k8s.io/apimachinery/pkg/util/errors/doc.go  |    18 -
 .../k8s.io/apimachinery/pkg/util/errors/errors.go  |   201 -
 .../k8s.io/apimachinery/pkg/util/framer/framer.go  |   167 -
 .../apimachinery/pkg/util/intstr/generated.pb.go   |   362 -
 .../k8s.io/apimachinery/pkg/util/intstr/intstr.go  |   184 -
 vendor/k8s.io/apimachinery/pkg/util/json/json.go   |   119 -
 .../apimachinery/pkg/util/mergepatch/errors.go     |   102 -
 .../apimachinery/pkg/util/mergepatch/util.go       |   133 -
 .../apimachinery/pkg/util/naming/from_stack.go     |    93 -
 vendor/k8s.io/apimachinery/pkg/util/net/http.go    |   442 -
 .../k8s.io/apimachinery/pkg/util/net/interface.go  |   416 -
 .../k8s.io/apimachinery/pkg/util/net/port_range.go |   149 -
 .../k8s.io/apimachinery/pkg/util/net/port_split.go |    77 -
 vendor/k8s.io/apimachinery/pkg/util/net/util.go    |    56 -
 .../apimachinery/pkg/util/runtime/runtime.go       |   173 -
 vendor/k8s.io/apimachinery/pkg/util/sets/byte.go   |   203 -
 vendor/k8s.io/apimachinery/pkg/util/sets/doc.go    |    20 -
 vendor/k8s.io/apimachinery/pkg/util/sets/empty.go  |    23 -
 vendor/k8s.io/apimachinery/pkg/util/sets/int.go    |   203 -
 vendor/k8s.io/apimachinery/pkg/util/sets/int64.go  |   203 -
 vendor/k8s.io/apimachinery/pkg/util/sets/string.go |   203 -
 .../apimachinery/pkg/util/strategicpatch/errors.go |    49 -
 .../apimachinery/pkg/util/strategicpatch/meta.go   |   194 -
 .../apimachinery/pkg/util/strategicpatch/patch.go  |  2174 -
 .../apimachinery/pkg/util/strategicpatch/types.go  |   193 -
 vendor/k8s.io/apimachinery/pkg/util/uuid/uuid.go   |    43 -
 .../pkg/util/validation/field/errors.go            |   259 -
 .../apimachinery/pkg/util/validation/field/path.go |    91 -
 .../apimachinery/pkg/util/validation/validation.go |   407 -
 vendor/k8s.io/apimachinery/pkg/util/wait/doc.go    |    19 -
 vendor/k8s.io/apimachinery/pkg/util/wait/wait.go   |   405 -
 .../k8s.io/apimachinery/pkg/util/yaml/decoder.go   |   346 -
 vendor/k8s.io/apimachinery/pkg/version/doc.go      |    20 -
 vendor/k8s.io/apimachinery/pkg/version/helpers.go  |    88 -
 vendor/k8s.io/apimachinery/pkg/version/types.go    |    37 -
 vendor/k8s.io/apimachinery/pkg/watch/doc.go        |    19 -
 vendor/k8s.io/apimachinery/pkg/watch/filter.go     |   105 -
 vendor/k8s.io/apimachinery/pkg/watch/mux.go        |   260 -
 .../k8s.io/apimachinery/pkg/watch/streamwatcher.go |   119 -
 vendor/k8s.io/apimachinery/pkg/watch/watch.go      |   317 -
 .../pkg/watch/zz_generated.deepcopy.go             |    40 -
 .../third_party/forked/golang/json/fields.go       |   513 -
 .../forked/golang/reflect/deep_equal.go            |   388 -
 vendor/k8s.io/client-go/LICENSE                    |   202 -
 .../k8s.io/client-go/discovery/cached_discovery.go |   295 -
 .../k8s.io/client-go/discovery/discovery_client.go |   472 -
 vendor/k8s.io/client-go/discovery/doc.go           |    19 -
 vendor/k8s.io/client-go/discovery/helper.go        |   125 -
 vendor/k8s.io/client-go/discovery/round_tripper.go |    62 -
 vendor/k8s.io/client-go/dynamic/interface.go       |    59 -
 vendor/k8s.io/client-go/dynamic/scheme.go          |    98 -
 vendor/k8s.io/client-go/dynamic/simple.go          |   326 -
 vendor/k8s.io/client-go/kubernetes/clientset.go    |   668 -
 vendor/k8s.io/client-go/kubernetes/doc.go          |    20 -
 vendor/k8s.io/client-go/kubernetes/import.go       |    19 -
 vendor/k8s.io/client-go/kubernetes/scheme/doc.go   |    20 -
 .../k8s.io/client-go/kubernetes/scheme/register.go |   118 -
 .../v1alpha1/admissionregistration_client.go       |    90 -
 .../typed/admissionregistration/v1alpha1/doc.go    |    20 -
 .../v1alpha1/generated_expansion.go                |    21 -
 .../v1alpha1/initializerconfiguration.go           |   164 -
 .../v1beta1/admissionregistration_client.go        |    95 -
 .../typed/admissionregistration/v1beta1/doc.go     |    20 -
 .../v1beta1/generated_expansion.go                 |    23 -
 .../v1beta1/mutatingwebhookconfiguration.go        |   164 -
 .../v1beta1/validatingwebhookconfiguration.go      |   164 -
 .../kubernetes/typed/apps/v1/apps_client.go        |   110 -
 .../kubernetes/typed/apps/v1/controllerrevision.go |   174 -
 .../kubernetes/typed/apps/v1/daemonset.go          |   191 -
 .../kubernetes/typed/apps/v1/deployment.go         |   223 -
 .../client-go/kubernetes/typed/apps/v1/doc.go      |    20 -
 .../typed/apps/v1/generated_expansion.go           |    29 -
 .../kubernetes/typed/apps/v1/replicaset.go         |   223 -
 .../kubernetes/typed/apps/v1/statefulset.go        |   223 -
 .../kubernetes/typed/apps/v1beta1/apps_client.go   |   100 -
 .../typed/apps/v1beta1/controllerrevision.go       |   174 -
 .../kubernetes/typed/apps/v1beta1/deployment.go    |   191 -
 .../client-go/kubernetes/typed/apps/v1beta1/doc.go |    20 -
 .../typed/apps/v1beta1/generated_expansion.go      |    25 -
 .../kubernetes/typed/apps/v1beta1/statefulset.go   |   191 -
 .../kubernetes/typed/apps/v1beta2/apps_client.go   |   110 -
 .../typed/apps/v1beta2/controllerrevision.go       |   174 -
 .../kubernetes/typed/apps/v1beta2/daemonset.go     |   191 -
 .../kubernetes/typed/apps/v1beta2/deployment.go    |   191 -
 .../client-go/kubernetes/typed/apps/v1beta2/doc.go |    20 -
 .../typed/apps/v1beta2/generated_expansion.go      |    29 -
 .../kubernetes/typed/apps/v1beta2/replicaset.go    |   191 -
 .../kubernetes/typed/apps/v1beta2/statefulset.go   |   222 -
 .../v1alpha1/auditregistration_client.go           |    90 -
 .../typed/auditregistration/v1alpha1/auditsink.go  |   164 -
 .../typed/auditregistration/v1alpha1/doc.go        |    20 -
 .../v1alpha1/generated_expansion.go                |    21 -
 .../authentication/v1/authentication_client.go     |    90 -
 .../kubernetes/typed/authentication/v1/doc.go      |    20 -
 .../typed/authentication/v1/generated_expansion.go |    19 -
 .../typed/authentication/v1/tokenreview.go         |    46 -
 .../authentication/v1/tokenreview_expansion.go     |    35 -
 .../v1beta1/authentication_client.go               |    90 -
 .../kubernetes/typed/authentication/v1beta1/doc.go |    20 -
 .../authentication/v1beta1/generated_expansion.go  |    19 -
 .../typed/authentication/v1beta1/tokenreview.go    |    46 -
 .../v1beta1/tokenreview_expansion.go               |    35 -
 .../typed/authorization/v1/authorization_client.go |   105 -
 .../kubernetes/typed/authorization/v1/doc.go       |    20 -
 .../typed/authorization/v1/generated_expansion.go  |    19 -
 .../authorization/v1/localsubjectaccessreview.go   |    48 -
 .../v1/localsubjectaccessreview_expansion.go       |    36 -
 .../authorization/v1/selfsubjectaccessreview.go    |    46 -
 .../v1/selfsubjectaccessreview_expansion.go        |    35 -
 .../authorization/v1/selfsubjectrulesreview.go     |    46 -
 .../v1/selfsubjectrulesreview_expansion.go         |    35 -
 .../typed/authorization/v1/subjectaccessreview.go  |    46 -
 .../v1/subjectaccessreview_expansion.go            |    36 -
 .../authorization/v1beta1/authorization_client.go  |   105 -
 .../kubernetes/typed/authorization/v1beta1/doc.go  |    20 -
 .../authorization/v1beta1/generated_expansion.go   |    19 -
 .../v1beta1/localsubjectaccessreview.go            |    48 -
 .../v1beta1/localsubjectaccessreview_expansion.go  |    36 -
 .../v1beta1/selfsubjectaccessreview.go             |    46 -
 .../v1beta1/selfsubjectaccessreview_expansion.go   |    35 -
 .../v1beta1/selfsubjectrulesreview.go              |    46 -
 .../v1beta1/selfsubjectrulesreview_expansion.go    |    35 -
 .../authorization/v1beta1/subjectaccessreview.go   |    46 -
 .../v1beta1/subjectaccessreview_expansion.go       |    36 -
 .../typed/autoscaling/v1/autoscaling_client.go     |    90 -
 .../kubernetes/typed/autoscaling/v1/doc.go         |    20 -
 .../typed/autoscaling/v1/generated_expansion.go    |    21 -
 .../autoscaling/v1/horizontalpodautoscaler.go      |   191 -
 .../autoscaling/v2beta1/autoscaling_client.go      |    90 -
 .../kubernetes/typed/autoscaling/v2beta1/doc.go    |    20 -
 .../autoscaling/v2beta1/generated_expansion.go     |    21 -
 .../autoscaling/v2beta1/horizontalpodautoscaler.go |   191 -
 .../autoscaling/v2beta2/autoscaling_client.go      |    90 -
 .../kubernetes/typed/autoscaling/v2beta2/doc.go    |    20 -
 .../autoscaling/v2beta2/generated_expansion.go     |    21 -
 .../autoscaling/v2beta2/horizontalpodautoscaler.go |   191 -
 .../kubernetes/typed/batch/v1/batch_client.go      |    90 -
 .../client-go/kubernetes/typed/batch/v1/doc.go     |    20 -
 .../typed/batch/v1/generated_expansion.go          |    21 -
 .../client-go/kubernetes/typed/batch/v1/job.go     |   191 -
 .../kubernetes/typed/batch/v1beta1/batch_client.go |    90 -
 .../kubernetes/typed/batch/v1beta1/cronjob.go      |   191 -
 .../kubernetes/typed/batch/v1beta1/doc.go          |    20 -
 .../typed/batch/v1beta1/generated_expansion.go     |    21 -
 .../typed/batch/v2alpha1/batch_client.go           |    90 -
 .../kubernetes/typed/batch/v2alpha1/cronjob.go     |   191 -
 .../kubernetes/typed/batch/v2alpha1/doc.go         |    20 -
 .../typed/batch/v2alpha1/generated_expansion.go    |    21 -
 .../certificates/v1beta1/certificates_client.go    |    90 -
 .../v1beta1/certificatesigningrequest.go           |   180 -
 .../v1beta1/certificatesigningrequest_expansion.go |    37 -
 .../kubernetes/typed/certificates/v1beta1/doc.go   |    20 -
 .../certificates/v1beta1/generated_expansion.go    |    19 -
 .../coordination/v1beta1/coordination_client.go    |    90 -
 .../kubernetes/typed/coordination/v1beta1/doc.go   |    20 -
 .../coordination/v1beta1/generated_expansion.go    |    21 -
 .../kubernetes/typed/coordination/v1beta1/lease.go |   174 -
 .../kubernetes/typed/core/v1/componentstatus.go    |   164 -
 .../kubernetes/typed/core/v1/configmap.go          |   174 -
 .../kubernetes/typed/core/v1/core_client.go        |   165 -
 .../client-go/kubernetes/typed/core/v1/doc.go      |    20 -
 .../kubernetes/typed/core/v1/endpoints.go          |   174 -
 .../client-go/kubernetes/typed/core/v1/event.go    |   174 -
 .../kubernetes/typed/core/v1/event_expansion.go    |   164 -
 .../typed/core/v1/generated_expansion.go           |    39 -
 .../kubernetes/typed/core/v1/limitrange.go         |   174 -
 .../kubernetes/typed/core/v1/namespace.go          |   164 -
 .../typed/core/v1/namespace_expansion.go           |    31 -
 .../client-go/kubernetes/typed/core/v1/node.go     |   180 -
 .../kubernetes/typed/core/v1/node_expansion.go     |    43 -
 .../kubernetes/typed/core/v1/persistentvolume.go   |   180 -
 .../typed/core/v1/persistentvolumeclaim.go         |   191 -
 .../client-go/kubernetes/typed/core/v1/pod.go      |   191 -
 .../kubernetes/typed/core/v1/pod_expansion.go      |    45 -
 .../kubernetes/typed/core/v1/podtemplate.go        |   174 -
 .../typed/core/v1/replicationcontroller.go         |   223 -
 .../kubernetes/typed/core/v1/resourcequota.go      |   191 -
 .../client-go/kubernetes/typed/core/v1/secret.go   |   174 -
 .../client-go/kubernetes/typed/core/v1/service.go  |   174 -
 .../kubernetes/typed/core/v1/service_expansion.go  |    41 -
 .../kubernetes/typed/core/v1/serviceaccount.go     |   174 -
 .../typed/core/v1/serviceaccount_expansion.go      |    41 -
 .../kubernetes/typed/events/v1beta1/doc.go         |    20 -
 .../kubernetes/typed/events/v1beta1/event.go       |   174 -
 .../typed/events/v1beta1/events_client.go          |    90 -
 .../typed/events/v1beta1/generated_expansion.go    |    21 -
 .../typed/extensions/v1beta1/daemonset.go          |   191 -
 .../typed/extensions/v1beta1/deployment.go         |   222 -
 .../extensions/v1beta1/deployment_expansion.go     |    29 -
 .../kubernetes/typed/extensions/v1beta1/doc.go     |    20 -
 .../typed/extensions/v1beta1/extensions_client.go  |   110 -
 .../extensions/v1beta1/generated_expansion.go      |    27 -
 .../kubernetes/typed/extensions/v1beta1/ingress.go |   191 -
 .../typed/extensions/v1beta1/podsecuritypolicy.go  |   164 -
 .../typed/extensions/v1beta1/replicaset.go         |   222 -
 .../kubernetes/typed/networking/v1/doc.go          |    20 -
 .../typed/networking/v1/generated_expansion.go     |    21 -
 .../typed/networking/v1/networking_client.go       |    90 -
 .../typed/networking/v1/networkpolicy.go           |   174 -
 .../kubernetes/typed/policy/v1beta1/doc.go         |    20 -
 .../kubernetes/typed/policy/v1beta1/eviction.go    |    48 -
 .../typed/policy/v1beta1/eviction_expansion.go     |    38 -
 .../typed/policy/v1beta1/generated_expansion.go    |    23 -
 .../typed/policy/v1beta1/poddisruptionbudget.go    |   191 -
 .../typed/policy/v1beta1/podsecuritypolicy.go      |   164 -
 .../typed/policy/v1beta1/policy_client.go          |   100 -
 .../kubernetes/typed/rbac/v1/clusterrole.go        |   164 -
 .../kubernetes/typed/rbac/v1/clusterrolebinding.go |   164 -
 .../client-go/kubernetes/typed/rbac/v1/doc.go      |    20 -
 .../typed/rbac/v1/generated_expansion.go           |    27 -
 .../kubernetes/typed/rbac/v1/rbac_client.go        |   105 -
 .../client-go/kubernetes/typed/rbac/v1/role.go     |   174 -
 .../kubernetes/typed/rbac/v1/rolebinding.go        |   174 -
 .../kubernetes/typed/rbac/v1alpha1/clusterrole.go  |   164 -
 .../typed/rbac/v1alpha1/clusterrolebinding.go      |   164 -
 .../kubernetes/typed/rbac/v1alpha1/doc.go          |    20 -
 .../typed/rbac/v1alpha1/generated_expansion.go     |    27 -
 .../kubernetes/typed/rbac/v1alpha1/rbac_client.go  |   105 -
 .../kubernetes/typed/rbac/v1alpha1/role.go         |   174 -
 .../kubernetes/typed/rbac/v1alpha1/rolebinding.go  |   174 -
 .../kubernetes/typed/rbac/v1beta1/clusterrole.go   |   164 -
 .../typed/rbac/v1beta1/clusterrolebinding.go       |   164 -
 .../client-go/kubernetes/typed/rbac/v1beta1/doc.go |    20 -
 .../typed/rbac/v1beta1/generated_expansion.go      |    27 -
 .../kubernetes/typed/rbac/v1beta1/rbac_client.go   |   105 -
 .../kubernetes/typed/rbac/v1beta1/role.go          |   174 -
 .../kubernetes/typed/rbac/v1beta1/rolebinding.go   |   174 -
 .../kubernetes/typed/scheduling/v1alpha1/doc.go    |    20 -
 .../scheduling/v1alpha1/generated_expansion.go     |    21 -
 .../typed/scheduling/v1alpha1/priorityclass.go     |   164 -
 .../typed/scheduling/v1alpha1/scheduling_client.go |    90 -
 .../kubernetes/typed/scheduling/v1beta1/doc.go     |    20 -
 .../scheduling/v1beta1/generated_expansion.go      |    21 -
 .../typed/scheduling/v1beta1/priorityclass.go      |   164 -
 .../typed/scheduling/v1beta1/scheduling_client.go  |    90 -
 .../kubernetes/typed/settings/v1alpha1/doc.go      |    20 -
 .../typed/settings/v1alpha1/generated_expansion.go |    21 -
 .../typed/settings/v1alpha1/podpreset.go           |   174 -
 .../typed/settings/v1alpha1/settings_client.go     |    90 -
 .../client-go/kubernetes/typed/storage/v1/doc.go   |    20 -
 .../typed/storage/v1/generated_expansion.go        |    23 -
 .../kubernetes/typed/storage/v1/storage_client.go  |    95 -
 .../kubernetes/typed/storage/v1/storageclass.go    |   164 -
 .../typed/storage/v1/volumeattachment.go           |   180 -
 .../kubernetes/typed/storage/v1alpha1/doc.go       |    20 -
 .../typed/storage/v1alpha1/generated_expansion.go  |    21 -
 .../typed/storage/v1alpha1/storage_client.go       |    90 -
 .../typed/storage/v1alpha1/volumeattachment.go     |   180 -
 .../kubernetes/typed/storage/v1beta1/doc.go        |    20 -
 .../typed/storage/v1beta1/generated_expansion.go   |    23 -
 .../typed/storage/v1beta1/storage_client.go        |    95 -
 .../typed/storage/v1beta1/storageclass.go          |   164 -
 .../typed/storage/v1beta1/volumeattachment.go      |   180 -
 .../client-go/pkg/apis/clientauthentication/doc.go |    20 -
 .../pkg/apis/clientauthentication/register.go      |    50 -
 .../pkg/apis/clientauthentication/types.go         |    77 -
 .../pkg/apis/clientauthentication/v1alpha1/doc.go  |    24 -
 .../apis/clientauthentication/v1alpha1/register.go |    55 -
 .../apis/clientauthentication/v1alpha1/types.go    |    78 -
 .../v1alpha1/zz_generated.conversion.go            |   176 -
 .../v1alpha1/zz_generated.deepcopy.go              |   128 -
 .../v1alpha1/zz_generated.defaults.go              |    32 -
 .../clientauthentication/v1beta1/conversion.go     |    26 -
 .../pkg/apis/clientauthentication/v1beta1/doc.go   |    24 -
 .../apis/clientauthentication/v1beta1/register.go  |    55 -
 .../pkg/apis/clientauthentication/v1beta1/types.go |    59 -
 .../v1beta1/zz_generated.conversion.go             |   142 -
 .../v1beta1/zz_generated.deepcopy.go               |    92 -
 .../v1beta1/zz_generated.defaults.go               |    32 -
 .../clientauthentication/zz_generated.deepcopy.go  |   128 -
 vendor/k8s.io/client-go/pkg/version/base.go        |    63 -
 vendor/k8s.io/client-go/pkg/version/doc.go         |    21 -
 vendor/k8s.io/client-go/pkg/version/version.go     |    42 -
 .../client-go/plugin/pkg/client/auth/exec/exec.go  |   361 -
 .../client-go/plugin/pkg/client/auth/gcp/gcp.go    |   383 -
 vendor/k8s.io/client-go/rest/client.go             |   258 -
 vendor/k8s.io/client-go/rest/config.go             |   472 -
 vendor/k8s.io/client-go/rest/plugin.go             |    73 -
 vendor/k8s.io/client-go/rest/request.go            |  1201 -
 vendor/k8s.io/client-go/rest/transport.go          |   116 -
 vendor/k8s.io/client-go/rest/url_utils.go          |    97 -
 vendor/k8s.io/client-go/rest/urlbackoff.go         |   107 -
 vendor/k8s.io/client-go/rest/watch/decoder.go      |    72 -
 vendor/k8s.io/client-go/rest/watch/encoder.go      |    56 -
 .../k8s.io/client-go/rest/zz_generated.deepcopy.go |    52 -
 .../client-go/restmapper/category_expansion.go     |   119 -
 vendor/k8s.io/client-go/restmapper/discovery.go    |   339 -
 vendor/k8s.io/client-go/restmapper/shortcut.go     |   172 -
 vendor/k8s.io/client-go/testing/actions.go         |   671 -
 vendor/k8s.io/client-go/testing/fake.go            |   213 -
 vendor/k8s.io/client-go/testing/fixture.go         |   547 -
 .../third_party/forked/golang/template/exec.go     |    94 -
 .../third_party/forked/golang/template/funcs.go    |   599 -
 vendor/k8s.io/client-go/tools/auth/clientauth.go   |   125 -
 vendor/k8s.io/client-go/tools/cache/controller.go  |   394 -
 vendor/k8s.io/client-go/tools/cache/delta_fifo.go  |   651 -
 vendor/k8s.io/client-go/tools/cache/doc.go         |    24 -
 .../client-go/tools/cache/expiration_cache.go      |   208 -
 .../tools/cache/expiration_cache_fakes.go          |    54 -
 .../client-go/tools/cache/fake_custom_store.go     |   102 -
 vendor/k8s.io/client-go/tools/cache/fifo.go        |   358 -
 vendor/k8s.io/client-go/tools/cache/heap.go        |   323 -
 vendor/k8s.io/client-go/tools/cache/index.go       |    87 -
 vendor/k8s.io/client-go/tools/cache/listers.go     |   160 -
 vendor/k8s.io/client-go/tools/cache/listwatch.go   |   104 -
 .../k8s.io/client-go/tools/cache/mutation_cache.go |   261 -
 .../client-go/tools/cache/mutation_detector.go     |   130 -
 vendor/k8s.io/client-go/tools/cache/reflector.go   |   378 -
 .../client-go/tools/cache/reflector_metrics.go     |   119 -
 .../client-go/tools/cache/shared_informer.go       |   597 -
 vendor/k8s.io/client-go/tools/cache/store.go       |   244 -
 .../client-go/tools/cache/thread_safe_store.go     |   304 -
 .../k8s.io/client-go/tools/cache/undelta_store.go  |    83 -
 vendor/k8s.io/client-go/tools/clientcmd/api/doc.go |    19 -
 .../client-go/tools/clientcmd/api/helpers.go       |   188 -
 .../client-go/tools/clientcmd/api/latest/latest.go |    61 -
 .../client-go/tools/clientcmd/api/register.go      |    46 -
 .../k8s.io/client-go/tools/clientcmd/api/types.go  |   218 -
 .../client-go/tools/clientcmd/api/v1/conversion.go |   244 -
 .../k8s.io/client-go/tools/clientcmd/api/v1/doc.go |    19 -
 .../client-go/tools/clientcmd/api/v1/register.go   |    56 -
 .../client-go/tools/clientcmd/api/v1/types.go      |   203 -
 .../clientcmd/api/v1/zz_generated.deepcopy.go      |   348 -
 .../tools/clientcmd/api/zz_generated.deepcopy.go   |   324 -
 .../client-go/tools/clientcmd/auth_loaders.go      |   111 -
 .../client-go/tools/clientcmd/client_config.go     |   569 -
 vendor/k8s.io/client-go/tools/clientcmd/config.go  |   490 -
 vendor/k8s.io/client-go/tools/clientcmd/doc.go     |    37 -
 vendor/k8s.io/client-go/tools/clientcmd/flag.go    |    49 -
 vendor/k8s.io/client-go/tools/clientcmd/helpers.go |    35 -
 vendor/k8s.io/client-go/tools/clientcmd/loader.go  |   633 -
 .../tools/clientcmd/merged_client_builder.go       |   168 -
 .../k8s.io/client-go/tools/clientcmd/overrides.go  |   247 -
 .../k8s.io/client-go/tools/clientcmd/validation.go |   298 -
 .../tools/leaderelection/healthzadaptor.go         |    69 -
 .../tools/leaderelection/leaderelection.go         |   336 -
 .../leaderelection/resourcelock/configmaplock.go   |   109 -
 .../leaderelection/resourcelock/endpointslock.go   |   104 -
 .../tools/leaderelection/resourcelock/interface.go |   102 -
 vendor/k8s.io/client-go/tools/metrics/metrics.go   |    61 -
 vendor/k8s.io/client-go/tools/pager/pager.go       |   117 -
 vendor/k8s.io/client-go/tools/record/doc.go        |    18 -
 vendor/k8s.io/client-go/tools/record/event.go      |   322 -
 .../k8s.io/client-go/tools/record/events_cache.go  |   462 -
 vendor/k8s.io/client-go/tools/record/fake.go       |    58 -
 vendor/k8s.io/client-go/tools/reference/ref.go     |   126 -
 vendor/k8s.io/client-go/transport/cache.go         |   117 -
 vendor/k8s.io/client-go/transport/config.go        |   115 -
 .../k8s.io/client-go/transport/round_trippers.go   |   564 -
 vendor/k8s.io/client-go/transport/token_source.go  |   140 -
 vendor/k8s.io/client-go/transport/transport.go     |   169 -
 .../k8s.io/client-go/util/buffer/ring_growing.go   |    72 -
 vendor/k8s.io/client-go/util/cert/cert.go          |   269 -
 vendor/k8s.io/client-go/util/cert/csr.go           |    75 -
 vendor/k8s.io/client-go/util/cert/io.go            |   193 -
 vendor/k8s.io/client-go/util/cert/pem.go           |   269 -
 .../client-go/util/connrotation/connrotation.go    |   105 -
 .../k8s.io/client-go/util/flowcontrol/backoff.go   |   149 -
 .../k8s.io/client-go/util/flowcontrol/throttle.go  |   143 -
 vendor/k8s.io/client-go/util/homedir/homedir.go    |    47 -
 vendor/k8s.io/client-go/util/integer/integer.go    |    67 -
 vendor/k8s.io/client-go/util/jsonpath/doc.go       |    20 -
 vendor/k8s.io/client-go/util/jsonpath/jsonpath.go  |   517 -
 vendor/k8s.io/client-go/util/jsonpath/node.go      |   255 -
 vendor/k8s.io/client-go/util/jsonpath/parser.go    |   525 -
 vendor/k8s.io/client-go/util/retry/util.go         |    79 -
 .../util/workqueue/default_rate_limiters.go        |   211 -
 .../client-go/util/workqueue/delaying_queue.go     |   255 -
 vendor/k8s.io/client-go/util/workqueue/doc.go      |    26 -
 vendor/k8s.io/client-go/util/workqueue/metrics.go  |   258 -
 .../client-go/util/workqueue/parallelizer.go       |    71 -
 vendor/k8s.io/client-go/util/workqueue/queue.go    |   212 -
 .../util/workqueue/rate_limitting_queue.go         |    69 -
 vendor/k8s.io/klog/LICENSE                         |   191 -
 vendor/k8s.io/klog/klog.go                         |  1273 -
 vendor/k8s.io/klog/klog_file.go                    |   139 -
 vendor/k8s.io/kube-openapi/LICENSE                 |   202 -
 vendor/k8s.io/kube-openapi/pkg/common/common.go    |   174 -
 vendor/k8s.io/kube-openapi/pkg/common/doc.go       |    19 -
 vendor/k8s.io/kube-openapi/pkg/util/proto/doc.go   |    19 -
 .../k8s.io/kube-openapi/pkg/util/proto/document.go |   318 -
 .../k8s.io/kube-openapi/pkg/util/proto/openapi.go  |   278 -
 vendor/sigs.k8s.io/controller-runtime/LICENSE      |   201 -
 .../controller-runtime/pkg/cache/cache.go          |   121 -
 .../controller-runtime/pkg/cache/informer_cache.go |   178 -
 .../pkg/cache/internal/cache_reader.go             |   187 -
 .../pkg/cache/internal/deleg_map.go                |    96 -
 .../pkg/cache/internal/informers_map.go            |   281 -
 .../pkg/client/apiutil/apimachinery.go             |    88 -
 .../controller-runtime/pkg/client/client.go        |   162 -
 .../controller-runtime/pkg/client/client_cache.go  |   145 -
 .../controller-runtime/pkg/client/config/config.go |    95 -
 .../controller-runtime/pkg/client/config/doc.go    |    18 -
 .../controller-runtime/pkg/client/fake/client.go   |   192 -
 .../controller-runtime/pkg/client/fake/doc.go      |    27 -
 .../controller-runtime/pkg/client/interfaces.go    |   292 -
 .../controller-runtime/pkg/client/split.go         |    59 -
 .../controller-runtime/pkg/client/typed_client.go  |   133 -
 .../pkg/client/unstructured_client.go              |   162 -
 .../pkg/controller/controller.go                   |    94 -
 .../controller/controllerutil/controllerutil.go    |   178 -
 .../pkg/controller/controllerutil/doc.go           |    20 -
 .../controller-runtime/pkg/controller/doc.go       |    25 -
 .../controller-runtime/pkg/event/doc.go            |    25 -
 .../controller-runtime/pkg/event/event.go          |    73 -
 .../controller-runtime/pkg/handler/doc.go          |    36 -
 .../controller-runtime/pkg/handler/enqueue.go      |    91 -
 .../pkg/handler/enqueue_mapped.go                  |    94 -
 .../pkg/handler/enqueue_owner.go                   |   165 -
 .../controller-runtime/pkg/handler/eventhandler.go |   104 -
 .../pkg/internal/controller/controller.go          |   252 -
 .../pkg/internal/controller/metrics/metrics.go     |    59 -
 .../pkg/internal/recorder/recorder.go              |    61 -
 .../controller-runtime/pkg/leaderelection/doc.go   |    20 -
 .../pkg/leaderelection/leader_election.go          |   109 -
 .../controller-runtime/pkg/manager/doc.go          |    21 -
 .../controller-runtime/pkg/manager/internal.go     |   291 -
 .../controller-runtime/pkg/manager/manager.go      |   294 -
 .../controller-runtime/pkg/manager/testutil.go     |    25 -
 .../pkg/metrics/client_go_adapter.go               |   299 -
 .../controller-runtime/pkg/metrics/doc.go          |    20 -
 .../controller-runtime/pkg/metrics/listener.go     |    47 -
 .../controller-runtime/pkg/metrics/registry.go     |    23 -
 .../controller-runtime/pkg/patch/doc.go            |    33 -
 .../controller-runtime/pkg/patch/patch.go          |    45 -
 .../controller-runtime/pkg/predicate/doc.go        |    20 -
 .../controller-runtime/pkg/predicate/predicate.go  |   118 -
 .../controller-runtime/pkg/reconcile/doc.go        |    21 -
 .../controller-runtime/pkg/reconcile/reconcile.go  |    92 -
 .../controller-runtime/pkg/recorder/recorder.go    |    27 -
 .../controller-runtime/pkg/runtime/inject/doc.go   |    22 -
 .../pkg/runtime/inject/inject.go                   |   131 -
 .../controller-runtime/pkg/runtime/log/deleg.go    |   126 -
 .../pkg/runtime/log/kube_helpers.go                |   129 -
 .../controller-runtime/pkg/runtime/log/log.go      |    85 -
 .../controller-runtime/pkg/runtime/log/null.go     |    60 -
 .../pkg/runtime/scheme/scheme.go                   |    56 -
 .../controller-runtime/pkg/runtime/signals/doc.go  |    18 -
 .../pkg/runtime/signals/signal.go                  |    43 -
 .../pkg/runtime/signals/signal_posix.go            |    26 -
 .../pkg/runtime/signals/signal_windows.go          |    23 -
 .../controller-runtime/pkg/source/doc.go           |    22 -
 .../pkg/source/internal/eventsource.go             |   177 -
 .../controller-runtime/pkg/source/source.go        |   281 -
 .../pkg/webhook/admission/decode.go                |    48 -
 .../pkg/webhook/admission/doc.go                   |   101 -
 .../pkg/webhook/admission/http.go                  |   115 -
 .../pkg/webhook/admission/response.go              |    70 -
 .../pkg/webhook/admission/types/types.go           |    44 -
 .../pkg/webhook/admission/webhook.go               |   259 -
 .../pkg/webhook/internal/metrics/metrics.go        |    51 -
 .../pkg/webhook/types/webhook.go                   |    28 -
 vendor/sigs.k8s.io/yaml/LICENSE                    |    50 -
 vendor/sigs.k8s.io/yaml/fields.go                  |   502 -
 vendor/sigs.k8s.io/yaml/yaml.go                    |   319 -
 vendor/sigs.k8s.io/yaml/yaml_go110.go              |    14 -
 2000 files changed, 768126 deletions(-)

diff --git a/vendor/cloud.google.com/go/AUTHORS b/vendor/cloud.google.com/go/AUTHORS
deleted file mode 100644
index c364af1..0000000
--- a/vendor/cloud.google.com/go/AUTHORS
+++ /dev/null
@@ -1,15 +0,0 @@
-# This is the official list of cloud authors for copyright purposes.
-# This file is distinct from the CONTRIBUTORS files.
-# See the latter for an explanation.
-
-# Names should be added to this file as:
-# Name or Organization <email address>
-# The email address is not required for organizations.
-
-Filippo Valsorda <[hidden email]>
-Google Inc.
-Ingo Oeser <[hidden email]>
-Palm Stone Games, Inc.
-Paweł Knap <[hidden email]>
-Péter Szilágyi <[hidden email]>
-Tyler Treat <[hidden email]>
diff --git a/vendor/cloud.google.com/go/CONTRIBUTORS b/vendor/cloud.google.com/go/CONTRIBUTORS
deleted file mode 100644
index 3b3cbed..0000000
--- a/vendor/cloud.google.com/go/CONTRIBUTORS
+++ /dev/null
@@ -1,40 +0,0 @@
-# People who have agreed to one of the CLAs and can contribute patches.
-# The AUTHORS file lists the copyright holders; this file
-# lists people.  For example, Google employees are listed here
-# but not in AUTHORS, because Google holds the copyright.
-#
-# https://developers.google.com/open-source/cla/individual
-# https://developers.google.com/open-source/cla/corporate
-#
-# Names should be added to this file as:
-#     Name <email address>
-
-# Keep the list alphabetically sorted.
-
-Alexis Hunt <[hidden email]>
-Andreas Litt <[hidden email]>
-Andrew Gerrand <[hidden email]>
-Brad Fitzpatrick <[hidden email]>
-Burcu Dogan <[hidden email]>
-Dave Day <[hidden email]>
-David Sansome <[hidden email]>
-David Symonds <[hidden email]>
-Filippo Valsorda <[hidden email]>
-Glenn Lewis <[hidden email]>
-Ingo Oeser <[hidden email]>
-James Hall <[hidden email]>
-Johan Euphrosine <[hidden email]>
-Jonathan Amsterdam <[hidden email]>
-Kunpei Sakai <[hidden email]>
-Luna Duclos <[hidden email]>
-Magnus Hiie <[hidden email]>
-Mario Castro <[hidden email]>
-Michael McGreevy <[hidden email]>
-Omar Jarjur <[hidden email]>
-Paweł Knap <[hidden email]>
-Péter Szilágyi <[hidden email]>
-Sarah Adams <[hidden email]>
-Thanatat Tamtan <[hidden email]>
-Toby Burress <[hidden email]>
-Tuo Shan <[hidden email]>
-Tyler Treat <[hidden email]>
diff --git a/vendor/cloud.google.com/go/LICENSE b/vendor/cloud.google.com/go/LICENSE
deleted file mode 100644
index d645695..0000000
--- a/vendor/cloud.google.com/go/LICENSE
+++ /dev/null
@@ -1,202 +0,0 @@
-
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   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.
diff --git a/vendor/cloud.google.com/go/compute/metadata/metadata.go b/vendor/cloud.google.com/go/compute/metadata/metadata.go
deleted file mode 100644
index 125b703..0000000
--- a/vendor/cloud.google.com/go/compute/metadata/metadata.go
+++ /dev/null
@@ -1,513 +0,0 @@
-// Copyright 2014 Google LLC
-//
-// 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 metadata provides access to Google Compute Engine (GCE)
-// metadata and API service accounts.
-//
-// This package is a wrapper around the GCE metadata service,
-// as documented at https://developers.google.com/compute/docs/metadata.
-package metadata // import "cloud.google.com/go/compute/metadata"
-
-import (
- "context"
- "encoding/json"
- "fmt"
- "io/ioutil"
- "net"
- "net/http"
- "net/url"
- "os"
- "runtime"
- "strings"
- "sync"
- "time"
-)
-
-const (
- // metadataIP is the documented metadata server IP address.
- metadataIP = "169.254.169.254"
-
- // metadataHostEnv is the environment variable specifying the
- // GCE metadata hostname.  If empty, the default value of
- // metadataIP ("169.254.169.254") is used instead.
- // This is variable name is not defined by any spec, as far as
- // I know; it was made up for the Go package.
- metadataHostEnv = "GCE_METADATA_HOST"
-
- userAgent = "gcloud-golang/0.1"
-)
-
-type cachedValue struct {
- k    string
- trim bool
- mu   sync.Mutex
- v    string
-}
-
-var (
- projID  = &cachedValue{k: "project/project-id", trim: true}
- projNum = &cachedValue{k: "project/numeric-project-id", trim: true}
- instID  = &cachedValue{k: "instance/id", trim: true}
-)
-
-var (
- defaultClient = &Client{hc: &http.Client{
- Transport: &http.Transport{
- Dial: (&net.Dialer{
- Timeout:   2 * time.Second,
- KeepAlive: 30 * time.Second,
- }).Dial,
- ResponseHeaderTimeout: 2 * time.Second,
- },
- }}
- subscribeClient = &Client{hc: &http.Client{
- Transport: &http.Transport{
- Dial: (&net.Dialer{
- Timeout:   2 * time.Second,
- KeepAlive: 30 * time.Second,
- }).Dial,
- },
- }}
-)
-
-// NotDefinedError is returned when requested metadata is not defined.
-//
-// The underlying string is the suffix after "/computeMetadata/v1/".
-//
-// This error is not returned if the value is defined to be the empty
-// string.
-type NotDefinedError string
-
-func (suffix NotDefinedError) Error() string {
- return fmt.Sprintf("metadata: GCE metadata %q not defined", string(suffix))
-}
-
-func (c *cachedValue) get(cl *Client) (v string, err error) {
- defer c.mu.Unlock()
- c.mu.Lock()
- if c.v != "" {
- return c.v, nil
- }
- if c.trim {
- v, err = cl.getTrimmed(c.k)
- } else {
- v, err = cl.Get(c.k)
- }
- if err == nil {
- c.v = v
- }
- return
-}
-
-var (
- onGCEOnce sync.Once
- onGCE     bool
-)
-
-// OnGCE reports whether this process is running on Google Compute Engine.
-func OnGCE() bool {
- onGCEOnce.Do(initOnGCE)
- return onGCE
-}
-
-func initOnGCE() {
- onGCE = testOnGCE()
-}
-
-func testOnGCE() bool {
- // The user explicitly said they're on GCE, so trust them.
- if os.Getenv(metadataHostEnv) != "" {
- return true
- }
-
- ctx, cancel := context.WithCancel(context.Background())
- defer cancel()
-
- resc := make(chan bool, 2)
-
- // Try two strategies in parallel.
- // See https://github.com/googleapis/google-cloud-go/issues/194
- go func() {
- req, _ := http.NewRequest("GET", "http://"+metadataIP, nil)
- req.Header.Set("User-Agent", userAgent)
- res, err := defaultClient.hc.Do(req.WithContext(ctx))
- if err != nil {
- resc <- false
- return
- }
- defer res.Body.Close()
- resc <- res.Header.Get("Metadata-Flavor") == "Google"
- }()
-
- go func() {
- addrs, err := net.LookupHost("metadata.google.internal")
- if err != nil || len(addrs) == 0 {
- resc <- false
- return
- }
- resc <- strsContains(addrs, metadataIP)
- }()
-
- tryHarder := systemInfoSuggestsGCE()
- if tryHarder {
- res := <-resc
- if res {
- // The first strategy succeeded, so let's use it.
- return true
- }
- // Wait for either the DNS or metadata server probe to
- // contradict the other one and say we are running on
- // GCE. Give it a lot of time to do so, since the system
- // info already suggests we're running on a GCE BIOS.
- timer := time.NewTimer(5 * time.Second)
- defer timer.Stop()
- select {
- case res = <-resc:
- return res
- case <-timer.C:
- // Too slow. Who knows what this system is.
- return false
- }
- }
-
- // There's no hint from the system info that we're running on
- // GCE, so use the first probe's result as truth, whether it's
- // true or false. The goal here is to optimize for speed for
- // users who are NOT running on GCE. We can't assume that
- // either a DNS lookup or an HTTP request to a blackholed IP
- // address is fast. Worst case this should return when the
- // metaClient's Transport.ResponseHeaderTimeout or
- // Transport.Dial.Timeout fires (in two seconds).
- return <-resc
-}
-
-// systemInfoSuggestsGCE reports whether the local system (without
-// doing network requests) suggests that we're running on GCE. If this
-// returns true, testOnGCE tries a bit harder to reach its metadata
-// server.
-func systemInfoSuggestsGCE() bool {
- if runtime.GOOS != "linux" {
- // We don't have any non-Linux clues available, at least yet.
- return false
- }
- slurp, _ := ioutil.ReadFile("/sys/class/dmi/id/product_name")
- name := strings.TrimSpace(string(slurp))
- return name == "Google" || name == "Google Compute Engine"
-}
-
-// Subscribe calls Client.Subscribe on a client designed for subscribing (one with no
-// ResponseHeaderTimeout).
-func Subscribe(suffix string, fn func(v string, ok bool) error) error {
- return subscribeClient.Subscribe(suffix, fn)
-}
-
-// Get calls Client.Get on the default client.
-func Get(suffix string) (string, error) { return defaultClient.Get(suffix) }
-
-// ProjectID returns the current instance's project ID string.
-func ProjectID() (string, error) { return defaultClient.ProjectID() }
-
-// NumericProjectID returns the current instance's numeric project ID.
-func NumericProjectID() (string, error) { return defaultClient.NumericProjectID() }
-
-// InternalIP returns the instance's primary internal IP address.
-func InternalIP() (string, error) { return defaultClient.InternalIP() }
-
-// ExternalIP returns the instance's primary external (public) IP address.
-func ExternalIP() (string, error) { return defaultClient.ExternalIP() }
-
-// Hostname returns the instance's hostname. This will be of the form
-// "<instanceID>.c.<projID>.internal".
-func Hostname() (string, error) { return defaultClient.Hostname() }
-
-// InstanceTags returns the list of user-defined instance tags,
-// assigned when initially creating a GCE instance.
-func InstanceTags() ([]string, error) { return defaultClient.InstanceTags() }
-
-// InstanceID returns the current VM's numeric instance ID.
-func InstanceID() (string, error) { return defaultClient.InstanceID() }
-
-// InstanceName returns the current VM's instance ID string.
-func InstanceName() (string, error) { return defaultClient.InstanceName() }
-
-// Zone returns the current VM's zone, such as "us-central1-b".
-func Zone() (string, error) { return defaultClient.Zone() }
-
-// InstanceAttributes calls Client.InstanceAttributes on the default client.
-func InstanceAttributes() ([]string, error) { return defaultClient.InstanceAttributes() }
-
-// ProjectAttributes calls Client.ProjectAttributes on the default client.
-func ProjectAttributes() ([]string, error) { return defaultClient.ProjectAttributes() }
-
-// InstanceAttributeValue calls Client.InstanceAttributeValue on the default client.
-func InstanceAttributeValue(attr string) (string, error) {
- return defaultClient.InstanceAttributeValue(attr)
-}
-
-// ProjectAttributeValue calls Client.ProjectAttributeValue on the default client.
-func ProjectAttributeValue(attr string) (string, error) {
- return defaultClient.ProjectAttributeValue(attr)
-}
-
-// Scopes calls Client.Scopes on the default client.
-func Scopes(serviceAccount string) ([]string, error) { return defaultClient.Scopes(serviceAccount) }
-
-func strsContains(ss []string, s string) bool {
- for _, v := range ss {
- if v == s {
- return true
- }
- }
- return false
-}
-
-// A Client provides metadata.
-type Client struct {
- hc *http.Client
-}
-
-// NewClient returns a Client that can be used to fetch metadata. All HTTP requests
-// will use the given http.Client instead of the default client.
-func NewClient(c *http.Client) *Client {
- return &Client{hc: c}
-}
-
-// getETag returns a value from the metadata service as well as the associated ETag.
-// This func is otherwise equivalent to Get.
-func (c *Client) getETag(suffix string) (value, etag string, err error) {
- // Using a fixed IP makes it very difficult to spoof the metadata service in
- // a container, which is an important use-case for local testing of cloud
- // deployments. To enable spoofing of the metadata service, the environment
- // variable GCE_METADATA_HOST is first inspected to decide where metadata
- // requests shall go.
- host := os.Getenv(metadataHostEnv)
- if host == "" {
- // Using 169.254.169.254 instead of "metadata" here because Go
- // binaries built with the "netgo" tag and without cgo won't
- // know the search suffix for "metadata" is
- // ".google.internal", and this IP address is documented as
- // being stable anyway.
- host = metadataIP
- }
- u := "http://" + host + "/computeMetadata/v1/" + suffix
- req, _ := http.NewRequest("GET", u, nil)
- req.Header.Set("Metadata-Flavor", "Google")
- req.Header.Set("User-Agent", userAgent)
- res, err := c.hc.Do(req)
- if err != nil {
- return "", "", err
- }
- defer res.Body.Close()
- if res.StatusCode == http.StatusNotFound {
- return "", "", NotDefinedError(suffix)
- }
- all, err := ioutil.ReadAll(res.Body)
- if err != nil {
- return "", "", err
- }
- if res.StatusCode != 200 {
- return "", "", &Error{Code: res.StatusCode, Message: string(all)}
- }
- return string(all), res.Header.Get("Etag"), nil
-}
-
-// Get returns a value from the metadata service.
-// The suffix is appended to "http://${GCE_METADATA_HOST}/computeMetadata/v1/".
-//
-// If the GCE_METADATA_HOST environment variable is not defined, a default of
-// 169.254.169.254 will be used instead.
-//
-// If the requested metadata is not defined, the returned error will
-// be of type NotDefinedError.
-func (c *Client) Get(suffix string) (string, error) {
- val, _, err := c.getETag(suffix)
- return val, err
-}
-
-func (c *Client) getTrimmed(suffix string) (s string, err error) {
- s, err = c.Get(suffix)
- s = strings.TrimSpace(s)
- return
-}
-
-func (c *Client) lines(suffix string) ([]string, error) {
- j, err := c.Get(suffix)
- if err != nil {
- return nil, err
- }
- s := strings.Split(strings.TrimSpace(j), "\n")
- for i := range s {
- s[i] = strings.TrimSpace(s[i])
- }
- return s, nil
-}
-
-// ProjectID returns the current instance's project ID string.
-func (c *Client) ProjectID() (string, error) { return projID.get(c) }
-
-// NumericProjectID returns the current instance's numeric project ID.
-func (c *Client) NumericProjectID() (string, error) { return projNum.get(c) }
-
-// InstanceID returns the current VM's numeric instance ID.
-func (c *Client) InstanceID() (string, error) { return instID.get(c) }
-
-// InternalIP returns the instance's primary internal IP address.
-func (c *Client) InternalIP() (string, error) {
- return c.getTrimmed("instance/network-interfaces/0/ip")
-}
-
-// ExternalIP returns the instance's primary external (public) IP address.
-func (c *Client) ExternalIP() (string, error) {
- return c.getTrimmed("instance/network-interfaces/0/access-configs/0/external-ip")
-}
-
-// Hostname returns the instance's hostname. This will be of the form
-// "<instanceID>.c.<projID>.internal".
-func (c *Client) Hostname() (string, error) {
- return c.getTrimmed("instance/hostname")
-}
-
-// InstanceTags returns the list of user-defined instance tags,
-// assigned when initially creating a GCE instance.
-func (c *Client) InstanceTags() ([]string, error) {
- var s []string
- j, err := c.Get("instance/tags")
- if err != nil {
- return nil, err
- }
- if err := json.NewDecoder(strings.NewReader(j)).Decode(&s); err != nil {
- return nil, err
- }
- return s, nil
-}
-
-// InstanceName returns the current VM's instance ID string.
-func (c *Client) InstanceName() (string, error) {
- host, err := c.Hostname()
- if err != nil {
- return "", err
- }
- return strings.Split(host, ".")[0], nil
-}
-
-// Zone returns the current VM's zone, such as "us-central1-b".
-func (c *Client) Zone() (string, error) {
- zone, err := c.getTrimmed("instance/zone")
- // zone is of the form "projects/<projNum>/zones/<zoneName>".
- if err != nil {
- return "", err
- }
- return zone[strings.LastIndex(zone, "/")+1:], nil
-}
-
-// InstanceAttributes returns the list of user-defined attributes,
-// assigned when initially creating a GCE VM instance. The value of an
-// attribute can be obtained with InstanceAttributeValue.
-func (c *Client) InstanceAttributes() ([]string, error) { return c.lines("instance/attributes/") }
-
-// ProjectAttributes returns the list of user-defined attributes
-// applying to the project as a whole, not just this VM.  The value of
-// an attribute can be obtained with ProjectAttributeValue.
-func (c *Client) ProjectAttributes() ([]string, error) { return c.lines("project/attributes/") }
-
-// InstanceAttributeValue returns the value of the provided VM
-// instance attribute.
-//
-// If the requested attribute is not defined, the returned error will
-// be of type NotDefinedError.
-//
-// InstanceAttributeValue may return ("", nil) if the attribute was
-// defined to be the empty string.
-func (c *Client) InstanceAttributeValue(attr string) (string, error) {
- return c.Get("instance/attributes/" + attr)
-}
-
-// ProjectAttributeValue returns the value of the provided
-// project attribute.
-//
-// If the requested attribute is not defined, the returned error will
-// be of type NotDefinedError.
-//
-// ProjectAttributeValue may return ("", nil) if the attribute was
-// defined to be the empty string.
-func (c *Client) ProjectAttributeValue(attr string) (string, error) {
- return c.Get("project/attributes/" + attr)
-}
-
-// Scopes returns the service account scopes for the given account.
-// The account may be empty or the string "default" to use the instance's
-// main account.
-func (c *Client) Scopes(serviceAccount string) ([]string, error) {
- if serviceAccount == "" {
- serviceAccount = "default"
- }
- return c.lines("instance/service-accounts/" + serviceAccount + "/scopes")
-}
-
-// Subscribe subscribes to a value from the metadata service.
-// The suffix is appended to "http://${GCE_METADATA_HOST}/computeMetadata/v1/".
-// The suffix may contain query parameters.
-//
-// Subscribe calls fn with the latest metadata value indicated by the provided
-// suffix. If the metadata value is deleted, fn is called with the empty string
-// and ok false. Subscribe blocks until fn returns a non-nil error or the value
-// is deleted. Subscribe returns the error value returned from the last call to
-// fn, which may be nil when ok == false.
-func (c *Client) Subscribe(suffix string, fn func(v string, ok bool) error) error {
- const failedSubscribeSleep = time.Second * 5
-
- // First check to see if the metadata value exists at all.
- val, lastETag, err := c.getETag(suffix)
- if err != nil {
- return err
- }
-
- if err := fn(val, true); err != nil {
- return err
- }
-
- ok := true
- if strings.ContainsRune(suffix, '?') {
- suffix += "&wait_for_change=true&last_etag="
- } else {
- suffix += "?wait_for_change=true&last_etag="
- }
- for {
- val, etag, err := c.getETag(suffix + url.QueryEscape(lastETag))
- if err != nil {
- if _, deleted := err.(NotDefinedError); !deleted {
- time.Sleep(failedSubscribeSleep)
- continue // Retry on other errors.
- }
- ok = false
- }
- lastETag = etag
-
- if err := fn(val, ok); err != nil || !ok {
- return err
- }
- }
-}
-
-// Error contains an error response from the server.
-type Error struct {
- // Code is the HTTP response status code.
- Code int
- // Message is the server response message.
- Message string
-}
-
-func (e *Error) Error() string {
- return fmt.Sprintf("compute: Received %d `%s`", e.Code, e.Message)
-}
diff --git a/vendor/github.com/Masterminds/semver/LICENSE.txt b/vendor/github.com/Masterminds/semver/LICENSE.txt
deleted file mode 100644
index 0da4aea..0000000
--- a/vendor/github.com/Masterminds/semver/LICENSE.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-The Masterminds
-Copyright (C) 2014-2015, Matt Butcher and Matt Farina
-
-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/vendor/github.com/Masterminds/semver/collection.go b/vendor/github.com/Masterminds/semver/collection.go
deleted file mode 100644
index a782358..0000000
--- a/vendor/github.com/Masterminds/semver/collection.go
+++ /dev/null
@@ -1,24 +0,0 @@
-package semver
-
-// Collection is a collection of Version instances and implements the sort
-// interface. See the sort package for more details.
-// https://golang.org/pkg/sort/
-type Collection []*Version
-
-// Len returns the length of a collection. The number of Version instances
-// on the slice.
-func (c Collection) Len() int {
- return len(c)
-}
-
-// Less is needed for the sort interface to compare two Version objects on the
-// slice. If checks if one is less than the other.
-func (c Collection) Less(i, j int) bool {
- return c[i].LessThan(c[j])
-}
-
-// Swap is needed for the sort interface to replace the Version objects
-// at two different positions in the slice.
-func (c Collection) Swap(i, j int) {
- c[i], c[j] = c[j], c[i]
-}
diff --git a/vendor/github.com/Masterminds/semver/constraints.go b/vendor/github.com/Masterminds/semver/constraints.go
deleted file mode 100644
index a41a6a7..0000000
--- a/vendor/github.com/Masterminds/semver/constraints.go
+++ /dev/null
@@ -1,426 +0,0 @@
-package semver
-
-import (
- "errors"
- "fmt"
- "regexp"
- "strings"
-)
-
-// Constraints is one or more constraint that a semantic version can be
-// checked against.
-type Constraints struct {
- constraints [][]*constraint
-}
-
-// NewConstraint returns a Constraints instance that a Version instance can
-// be checked against. If there is a parse error it will be returned.
-func NewConstraint(c string) (*Constraints, error) {
-
- // Rewrite - ranges into a comparison operation.
- c = rewriteRange(c)
-
- ors := strings.Split(c, "||")
- or := make([][]*constraint, len(ors))
- for k, v := range ors {
- cs := strings.Split(v, ",")
- result := make([]*constraint, len(cs))
- for i, s := range cs {
- pc, err := parseConstraint(s)
- if err != nil {
- return nil, err
- }
-
- result[i] = pc
- }
- or[k] = result
- }
-
- o := &Constraints{constraints: or}
- return o, nil
-}
-
-// Check tests if a version satisfies the constraints.
-func (cs Constraints) Check(v *Version) bool {
- // loop over the ORs and check the inner ANDs
- for _, o := range cs.constraints {
- joy := true
- for _, c := range o {
- if !c.check(v) {
- joy = false
- break
- }
- }
-
- if joy {
- return true
- }
- }
-
- return false
-}
-
-// Validate checks if a version satisfies a constraint. If not a slice of
-// reasons for the failure are returned in addition to a bool.
-func (cs Constraints) Validate(v *Version) (bool, []error) {
- // loop over the ORs and check the inner ANDs
- var e []error
- for _, o := range cs.constraints {
- joy := true
- for _, c := range o {
- if !c.check(v) {
- em := fmt.Errorf(c.msg, v, c.orig)
- e = append(e, em)
- joy = false
- }
- }
-
- if joy {
- return true, []error{}
- }
- }
-
- return false, e
-}
-
-var constraintOps map[string]cfunc
-var constraintMsg map[string]string
-var constraintRegex *regexp.Regexp
-
-func init() {
- constraintOps = map[string]cfunc{
- "":   constraintTildeOrEqual,
- "=":  constraintTildeOrEqual,
- "!=": constraintNotEqual,
- ">":  constraintGreaterThan,
- "<":  constraintLessThan,
- ">=": constraintGreaterThanEqual,
- "=>": constraintGreaterThanEqual,
- "<=": constraintLessThanEqual,
- "=<": constraintLessThanEqual,
- "~":  constraintTilde,
- "~>": constraintTilde,
- "^":  constraintCaret,
- }
-
- constraintMsg = map[string]string{
- "":   "%s is not equal to %s",
- "=":  "%s is not equal to %s",
- "!=": "%s is equal to %s",
- ">":  "%s is less than or equal to %s",
- "<":  "%s is greater than or equal to %s",
- ">=": "%s is less than %s",
- "=>": "%s is less than %s",
- "<=": "%s is greater than %s",
- "=<": "%s is greater than %s",
- "~":  "%s does not have same major and minor version as %s",
- "~>": "%s does not have same major and minor version as %s",
- "^":  "%s does not have same major version as %s",
- }
-
- ops := make([]string, 0, len(constraintOps))
- for k := range constraintOps {
- ops = append(ops, regexp.QuoteMeta(k))
- }
-
- constraintRegex = regexp.MustCompile(fmt.Sprintf(
- `^\s*(%s)\s*(%s)\s*$`,
- strings.Join(ops, "|"),
- cvRegex))
-
- constraintRangeRegex = regexp.MustCompile(fmt.Sprintf(
- `\s*(%s)\s+-\s+(%s)\s*`,
- cvRegex, cvRegex))
-}
-
-// An individual constraint
-type constraint struct {
- // The callback function for the restraint. It performs the logic for
- // the constraint.
- function cfunc
-
- msg string
-
- // The version used in the constraint check. For example, if a constraint
- // is '<= 2.0.0' the con a version instance representing 2.0.0.
- con *Version
-
- // The original parsed version (e.g., 4.x from != 4.x)
- orig string
-
- // When an x is used as part of the version (e.g., 1.x)
- minorDirty bool
- dirty      bool
- patchDirty bool
-}
-
-// Check if a version meets the constraint
-func (c *constraint) check(v *Version) bool {
- return c.function(v, c)
-}
-
-type cfunc func(v *Version, c *constraint) bool
-
-func parseConstraint(c string) (*constraint, error) {
- m := constraintRegex.FindStringSubmatch(c)
- if m == nil {
- return nil, fmt.Errorf("improper constraint: %s", c)
- }
-
- ver := m[2]
- orig := ver
- minorDirty := false
- patchDirty := false
- dirty := false
- if isX(m[3]) {
- ver = "0.0.0"
- dirty = true
- } else if isX(strings.TrimPrefix(m[4], ".")) || m[4] == "" {
- minorDirty = true
- dirty = true
- ver = fmt.Sprintf("%s.0.0%s", m[3], m[6])
- } else if isX(strings.TrimPrefix(m[5], ".")) {
- dirty = true
- patchDirty = true
- ver = fmt.Sprintf("%s%s.0%s", m[3], m[4], m[6])
- }
-
- con, err := NewVersion(ver)
- if err != nil {
-
- // The constraintRegex should catch any regex parsing errors. So,
- // we should never get here.
- return nil, errors.New("constraint Parser Error")
- }
-
- cs := &constraint{
- function:   constraintOps[m[1]],
- msg:        constraintMsg[m[1]],
- con:        con,
- orig:       orig,
- minorDirty: minorDirty,
- patchDirty: patchDirty,
- dirty:      dirty,
- }
- return cs, nil
-}
-
-// Constraint functions
-func constraintNotEqual(v *Version, c *constraint) bool {
- if c.dirty {
-
- // If there is a pre-release on the version but the constraint isn't looking
- // for them assume that pre-releases are not compatible. See issue 21 for
- // more details.
- if v.Prerelease() != "" && c.con.Prerelease() == "" {
- return false
- }
-
- if c.con.Major() != v.Major() {
- return true
- }
- if c.con.Minor() != v.Minor() && !c.minorDirty {
- return true
- } else if c.minorDirty {
- return false
- }
-
- return false
- }
-
- return !v.Equal(c.con)
-}
-
-func constraintGreaterThan(v *Version, c *constraint) bool {
-
- // An edge case the constraint is 0.0.0 and the version is 0.0.0-someprerelease
- // exists. This that case.
- if !isNonZero(c.con) && isNonZero(v) {
- return true
- }
-
- // If there is a pre-release on the version but the constraint isn't looking
- // for them assume that pre-releases are not compatible. See issue 21 for
- // more details.
- if v.Prerelease() != "" && c.con.Prerelease() == "" {
- return false
- }
-
- return v.Compare(c.con) == 1
-}
-
-func constraintLessThan(v *Version, c *constraint) bool {
- // If there is a pre-release on the version but the constraint isn't looking
- // for them assume that pre-releases are not compatible. See issue 21 for
- // more details.
- if v.Prerelease() != "" && c.con.Prerelease() == "" {
- return false
- }
-
- if !c.dirty {
- return v.Compare(c.con) < 0
- }
-
- if v.Major() > c.con.Major() {
- return false
- } else if v.Minor() > c.con.Minor() && !c.minorDirty {
- return false
- }
-
- return true
-}
-
-func constraintGreaterThanEqual(v *Version, c *constraint) bool {
- // An edge case the constraint is 0.0.0 and the version is 0.0.0-someprerelease
- // exists. This that case.
- if !isNonZero(c.con) && isNonZero(v) {
- return true
- }
-
- // If there is a pre-release on the version but the constraint isn't looking
- // for them assume that pre-releases are not compatible. See issue 21 for
- // more details.
- if v.Prerelease() != "" && c.con.Prerelease() == "" {
- return false
- }
-
- return v.Compare(c.con) >= 0
-}
-
-func constraintLessThanEqual(v *Version, c *constraint) bool {
- // If there is a pre-release on the version but the constraint isn't looking
- // for them assume that pre-releases are not compatible. See issue 21 for
- // more details.
- if v.Prerelease() != "" && c.con.Prerelease() == "" {
- return false
- }
-
- if !c.dirty {
- return v.Compare(c.con) <= 0
- }
-
- if v.Major() > c.con.Major() {
- return false
- } else if v.Minor() > c.con.Minor() && !c.minorDirty {
- return false
- }
-
- return true
-}
-
-// ~*, ~>* --> >= 0.0.0 (any)
-// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0, <3.0.0
-// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0, <2.1.0
-// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0, <1.3.0
-// ~1.2.3, ~>1.2.3 --> >=1.2.3, <1.3.0
-// ~1.2.0, ~>1.2.0 --> >=1.2.0, <1.3.0
-func constraintTilde(v *Version, c *constraint) bool {
- // If there is a pre-release on the version but the constraint isn't looking
- // for them assume that pre-releases are not compatible. See issue 21 for
- // more details.
- if v.Prerelease() != "" && c.con.Prerelease() == "" {
- return false
- }
-
- if v.LessThan(c.con) {
- return false
- }
-
- // ~0.0.0 is a special case where all constraints are accepted. It's
- // equivalent to >= 0.0.0.
- if c.con.Major() == 0 && c.con.Minor() == 0 && c.con.Patch() == 0 &&
- !c.minorDirty && !c.patchDirty {
- return true
- }
-
- if v.Major() != c.con.Major() {
- return false
- }
-
- if v.Minor() != c.con.Minor() && !c.minorDirty {
- return false
- }
-
- return true
-}
-
-// When there is a .x (dirty) status it automatically opts in to ~. Otherwise
-// it's a straight =
-func constraintTildeOrEqual(v *Version, c *constraint) bool {
- // If there is a pre-release on the version but the constraint isn't looking
- // for them assume that pre-releases are not compatible. See issue 21 for
- // more details.
- if v.Prerelease() != "" && c.con.Prerelease() == "" {
- return false
- }
-
- if c.dirty {
- c.msg = constraintMsg["~"]
- return constraintTilde(v, c)
- }
-
- return v.Equal(c.con)
-}
-
-// ^* --> (any)
-// ^2, ^2.x, ^2.x.x --> >=2.0.0, <3.0.0
-// ^2.0, ^2.0.x --> >=2.0.0, <3.0.0
-// ^1.2, ^1.2.x --> >=1.2.0, <2.0.0
-// ^1.2.3 --> >=1.2.3, <2.0.0
-// ^1.2.0 --> >=1.2.0, <2.0.0
-func constraintCaret(v *Version, c *constraint) bool {
- // If there is a pre-release on the version but the constraint isn't looking
- // for them assume that pre-releases are not compatible. See issue 21 for
- // more details.
- if v.Prerelease() != "" && c.con.Prerelease() == "" {
- return false
- }
-
- if v.LessThan(c.con) {
- return false
- }
-
- if v.Major() != c.con.Major() {
- return false
- }
-
- return true
-}
-
-var constraintRangeRegex *regexp.Regexp
-
-const cvRegex string = `v?([0-9|x|X|\*]+)(\.[0-9|x|X|\*]+)?(\.[0-9|x|X|\*]+)?` +
- `(-([0-9A-Za-z\-]+(\.[0-9A-Za-z\-]+)*))?` +
- `(\+([0-9A-Za-z\-]+(\.[0-9A-Za-z\-]+)*))?`
-
-func isX(x string) bool {
- switch x {
- case "x", "*", "X":
- return true
- default:
- return false
- }
-}
-
-func rewriteRange(i string) string {
- m := constraintRangeRegex.FindAllStringSubmatch(i, -1)
- if m == nil {
- return i
- }
- o := i
- for _, v := range m {
- t := fmt.Sprintf(">= %s, <= %s", v[1], v[11])
- o = strings.Replace(o, v[0], t, 1)
- }
-
- return o
-}
-
-// Detect if a version is not zero (0.0.0)
-func isNonZero(v *Version) bool {
- if v.Major() != 0 || v.Minor() != 0 || v.Patch() != 0 || v.Prerelease() != "" {
- return true
- }
-
- return false
-}
diff --git a/vendor/github.com/Masterminds/semver/doc.go b/vendor/github.com/Masterminds/semver/doc.go
deleted file mode 100644
index e00f65e..0000000
--- a/vendor/github.com/Masterminds/semver/doc.go
+++ /dev/null
@@ -1,115 +0,0 @@
-/*
-Package semver provides the ability to work with Semantic Versions (http://semver.org) in Go.
-
-Specifically it provides the ability to:
-
-    * Parse semantic versions
-    * Sort semantic versions
-    * Check if a semantic version fits within a set of constraints
-    * Optionally work with a `v` prefix
-
-Parsing Semantic Versions
-
-To parse a semantic version use the `NewVersion` function. For example,
-
-    v, err := semver.NewVersion("1.2.3-beta.1+build345")
-
-If there is an error the version wasn't parseable. The version object has methods
-to get the parts of the version, compare it to other versions, convert the
-version back into a string, and get the original string. For more details
-please see the documentation at https://godoc.org/github.com/Masterminds/semver.
-
-Sorting Semantic Versions
-
-A set of versions can be sorted using the `sort` package from the standard library.
-For example,
-
-    raw := []string{"1.2.3", "1.0", "1.3", "2", "0.4.2",}
-    vs := make([]*semver.Version, len(raw))
- for i, r := range raw {
- v, err := semver.NewVersion(r)
- if err != nil {
- t.Errorf("Error parsing version: %s", err)
- }
-
- vs[i] = v
- }
-
- sort.Sort(semver.Collection(vs))
-
-Checking Version Constraints
-
-Checking a version against version constraints is one of the most featureful
-parts of the package.
-
-    c, err := semver.NewConstraint(">= 1.2.3")
-    if err != nil {
-        // Handle constraint not being parseable.
-    }
-
-    v, _ := semver.NewVersion("1.3")
-    if err != nil {
-        // Handle version not being parseable.
-    }
-    // Check if the version meets the constraints. The a variable will be true.
-    a := c.Check(v)
-
-Basic Comparisons
-
-There are two elements to the comparisons. First, a comparison string is a list
-of comma separated and comparisons. These are then separated by || separated or
-comparisons. For example, `">= 1.2, < 3.0.0 || >= 4.2.3"` is looking for a
-comparison that's greater than or equal to 1.2 and less than 3.0.0 or is
-greater than or equal to 4.2.3.
-
-The basic comparisons are:
-
-    * `=`: equal (aliased to no operator)
-    * `!=`: not equal
-    * `>`: greater than
-    * `<`: less than
-    * `>=`: greater than or equal to
-    * `<=`: less than or equal to
-
-Hyphen Range Comparisons
-
-There are multiple methods to handle ranges and the first is hyphens ranges.
-These look like:
-
-    * `1.2 - 1.4.5` which is equivalent to `>= 1.2, <= 1.4.5`
-    * `2.3.4 - 4.5` which is equivalent to `>= 2.3.4, <= 4.5`
-
-Wildcards In Comparisons
-
-The `x`, `X`, and `*` characters can be used as a wildcard character. This works
-for all comparison operators. When used on the `=` operator it falls
-back to the pack level comparison (see tilde below). For example,
-
-    * `1.2.x` is equivalent to `>= 1.2.0, < 1.3.0`
-    * `>= 1.2.x` is equivalent to `>= 1.2.0`
-    * `<= 2.x` is equivalent to `<= 3`
-    * `*` is equivalent to `>= 0.0.0`
-
-Tilde Range Comparisons (Patch)
-
-The tilde (`~`) comparison operator is for patch level ranges when a minor
-version is specified and major level changes when the minor number is missing.
-For example,
-
-    * `~1.2.3` is equivalent to `>= 1.2.3, < 1.3.0`
-    * `~1` is equivalent to `>= 1, < 2`
-    * `~2.3` is equivalent to `>= 2.3, < 2.4`
-    * `~1.2.x` is equivalent to `>= 1.2.0, < 1.3.0`
-    * `~1.x` is equivalent to `>= 1, < 2`
-
-Caret Range Comparisons (Major)
-
-The caret (`^`) comparison operator is for major level changes. This is useful
-when comparisons of API versions as a major change is API breaking. For example,
-
-    * `^1.2.3` is equivalent to `>= 1.2.3, < 2.0.0`
-    * `^1.2.x` is equivalent to `>= 1.2.0, < 2.0.0`
-    * `^2.3` is equivalent to `>= 2.3, < 3`
-    * `^2.x` is equivalent to `>= 2.0.0, < 3`
-*/
-package semver
diff --git a/vendor/github.com/Masterminds/semver/version.go b/vendor/github.com/Masterminds/semver/version.go
deleted file mode 100644
index 9d22ea6..0000000
--- a/vendor/github.com/Masterminds/semver/version.go
+++ /dev/null
@@ -1,421 +0,0 @@
-package semver
-
-import (
- "bytes"
- "encoding/json"
- "errors"
- "fmt"
- "regexp"
- "strconv"
- "strings"
-)
-
-// The compiled version of the regex created at init() is cached here so it
-// only needs to be created once.
-var versionRegex *regexp.Regexp
-var validPrereleaseRegex *regexp.Regexp
-
-var (
- // ErrInvalidSemVer is returned a version is found to be invalid when
- // being parsed.
- ErrInvalidSemVer = errors.New("Invalid Semantic Version")
-
- // ErrInvalidMetadata is returned when the metadata is an invalid format
- ErrInvalidMetadata = errors.New("Invalid Metadata string")
-
- // ErrInvalidPrerelease is returned when the pre-release is an invalid format
- ErrInvalidPrerelease = errors.New("Invalid Prerelease string")
-)
-
-// SemVerRegex is the regular expression used to parse a semantic version.
-const SemVerRegex string = `v?([0-9]+)(\.[0-9]+)?(\.[0-9]+)?` +
- `(-([0-9A-Za-z\-]+(\.[0-9A-Za-z\-]+)*))?` +
- `(\+([0-9A-Za-z\-]+(\.[0-9A-Za-z\-]+)*))?`
-
-// ValidPrerelease is the regular expression which validates
-// both prerelease and metadata values.
-const ValidPrerelease string = `^([0-9A-Za-z\-]+(\.[0-9A-Za-z\-]+)*)`
-
-// Version represents a single semantic version.
-type Version struct {
- major, minor, patch int64
- pre                 string
- metadata            string
- original            string
-}
-
-func init() {
- versionRegex = regexp.MustCompile("^" + SemVerRegex + "$")
- validPrereleaseRegex = regexp.MustCompile(ValidPrerelease)
-}
-
-// NewVersion parses a given version and returns an instance of Version or
-// an error if unable to parse the version.
-func NewVersion(v string) (*Version, error) {
- m := versionRegex.FindStringSubmatch(v)
- if m == nil {
- return nil, ErrInvalidSemVer
- }
-
- sv := &Version{
- metadata: m[8],
- pre:      m[5],
- original: v,
- }
-
- var temp int64
- temp, err := strconv.ParseInt(m[1], 10, 64)
- if err != nil {
- return nil, fmt.Errorf("Error parsing version segment: %s", err)
- }
- sv.major = temp
-
- if m[2] != "" {
- temp, err = strconv.ParseInt(strings.TrimPrefix(m[2], "."), 10, 64)
- if err != nil {
- return nil, fmt.Errorf("Error parsing version segment: %s", err)
- }
- sv.minor = temp
- } else {
- sv.minor = 0
- }
-
- if m[3] != "" {
- temp, err = strconv.ParseInt(strings.TrimPrefix(m[3], "."), 10, 64)
- if err != nil {
- return nil, fmt.Errorf("Error parsing version segment: %s", err)
- }
- sv.patch = temp
- } else {
- sv.patch = 0
- }
-
- return sv, nil
-}
-
-// MustParse parses a given version and panics on error.
-func MustParse(v string) *Version {
- sv, err := NewVersion(v)
- if err != nil {
- panic(err)
- }
- return sv
-}
-
-// String converts a Version object to a string.
-// Note, if the original version contained a leading v this version will not.
-// See the Original() method to retrieve the original value. Semantic Versions
-// don't contain a leading v per the spec. Instead it's optional on
-// impelementation.
-func (v *Version) String() string {
- var buf bytes.Buffer
-
- fmt.Fprintf(&buf, "%d.%d.%d", v.major, v.minor, v.patch)
- if v.pre != "" {
- fmt.Fprintf(&buf, "-%s", v.pre)
- }
- if v.metadata != "" {
- fmt.Fprintf(&buf, "+%s", v.metadata)
- }
-
- return buf.String()
-}
-
-// Original returns the original value passed in to be parsed.
-func (v *Version) Original() string {
- return v.original
-}
-
-// Major returns the major version.
-func (v *Version) Major() int64 {
- return v.major
-}
-
-// Minor returns the minor version.
-func (v *Version) Minor() int64 {
- return v.minor
-}
-
-// Patch returns the patch version.
-func (v *Version) Patch() int64 {
- return v.patch
-}
-
-// Prerelease returns the pre-release version.
-func (v *Version) Prerelease() string {
- return v.pre
-}
-
-// Metadata returns the metadata on the version.
-func (v *Version) Metadata() string {
- return v.metadata
-}
-
-// originalVPrefix returns the original 'v' prefix if any.
-func (v *Version) originalVPrefix() string {
-
- // Note, only lowercase v is supported as a prefix by the parser.
- if v.original != "" && v.original[:1] == "v" {
- return v.original[:1]
- }
- return ""
-}
-
-// IncPatch produces the next patch version.
-// If the current version does not have prerelease/metadata information,
-// it unsets metadata and prerelease values, increments patch number.
-// If the current version has any of prerelease or metadata information,
-// it unsets both values and keeps curent patch value
-func (v Version) IncPatch() Version {
- vNext := v
- // according to http://semver.org/#spec-item-9
- // Pre-release versions have a lower precedence than the associated normal version.
- // according to http://semver.org/#spec-item-10
- // Build metadata SHOULD be ignored when determining version precedence.
- if v.pre != "" {
- vNext.metadata = ""
- vNext.pre = ""
- } else {
- vNext.metadata = ""
- vNext.pre = ""
- vNext.patch = v.patch + 1
- }
- vNext.original = v.originalVPrefix() + "" + vNext.String()
- return vNext
-}
-
-// IncMinor produces the next minor version.
-// Sets patch to 0.
-// Increments minor number.
-// Unsets metadata.
-// Unsets prerelease status.
-func (v Version) IncMinor() Version {
- vNext := v
- vNext.metadata = ""
- vNext.pre = ""
- vNext.patch = 0
- vNext.minor = v.minor + 1
- vNext.original = v.originalVPrefix() + "" + vNext.String()
- return vNext
-}
-
-// IncMajor produces the next major version.
-// Sets patch to 0.
-// Sets minor to 0.
-// Increments major number.
-// Unsets metadata.
-// Unsets prerelease status.
-func (v Version) IncMajor() Version {
- vNext := v
- vNext.metadata = ""
- vNext.pre = ""
- vNext.patch = 0
- vNext.minor = 0
- vNext.major = v.major + 1
- vNext.original = v.originalVPrefix() + "" + vNext.String()
- return vNext
-}
-
-// SetPrerelease defines the prerelease value.
-// Value must not include the required 'hypen' prefix.
-func (v Version) SetPrerelease(prerelease string) (Version, error) {
- vNext := v
- if len(prerelease) > 0 && !validPrereleaseRegex.MatchString(prerelease) {
- return vNext, ErrInvalidPrerelease
- }
- vNext.pre = prerelease
- vNext.original = v.originalVPrefix() + "" + vNext.String()
- return vNext, nil
-}
-
-// SetMetadata defines metadata value.
-// Value must not include the required 'plus' prefix.
-func (v Version) SetMetadata(metadata string) (Version, error) {
- vNext := v
- if len(metadata) > 0 && !validPrereleaseRegex.MatchString(metadata) {
- return vNext, ErrInvalidMetadata
- }
- vNext.metadata = metadata
- vNext.original = v.originalVPrefix() + "" + vNext.String()
- return vNext, nil
-}
-
-// LessThan tests if one version is less than another one.
-func (v *Version) LessThan(o *Version) bool {
- return v.Compare(o) < 0
-}
-
-// GreaterThan tests if one version is greater than another one.
-func (v *Version) GreaterThan(o *Version) bool {
- return v.Compare(o) > 0
-}
-
-// Equal tests if two versions are equal to each other.
-// Note, versions can be equal with different metadata since metadata
-// is not considered part of the comparable version.
-func (v *Version) Equal(o *Version) bool {
- return v.Compare(o) == 0
-}
-
-// Compare compares this version to another one. It returns -1, 0, or 1 if
-// the version smaller, equal, or larger than the other version.
-//
-// Versions are compared by X.Y.Z. Build metadata is ignored. Prerelease is
-// lower than the version without a prerelease.
-func (v *Version) Compare(o *Version) int {
- // Compare the major, minor, and patch version for differences. If a
- // difference is found return the comparison.
- if d := compareSegment(v.Major(), o.Major()); d != 0 {
- return d
- }
- if d := compareSegment(v.Minor(), o.Minor()); d != 0 {
- return d
- }
- if d := compareSegment(v.Patch(), o.Patch()); d != 0 {
- return d
- }
-
- // At this point the major, minor, and patch versions are the same.
- ps := v.pre
- po := o.Prerelease()
-
- if ps == "" && po == "" {
- return 0
- }
- if ps == "" {
- return 1
- }
- if po == "" {
- return -1
- }
-
- return comparePrerelease(ps, po)
-}
-
-// UnmarshalJSON implements JSON.Unmarshaler interface.
-func (v *Version) UnmarshalJSON(b []byte) error {
- var s string
- if err := json.Unmarshal(b, &s); err != nil {
- return err
- }
- temp, err := NewVersion(s)
- if err != nil {
- return err
- }
- v.major = temp.major
- v.minor = temp.minor
- v.patch = temp.patch
- v.pre = temp.pre
- v.metadata = temp.metadata
- v.original = temp.original
- temp = nil
- return nil
-}
-
-// MarshalJSON implements JSON.Marshaler interface.
-func (v *Version) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.String())
-}
-
-func compareSegment(v, o int64) int {
- if v < o {
- return -1
- }
- if v > o {
- return 1
- }
-
- return 0
-}
-
-func comparePrerelease(v, o string) int {
-
- // split the prelease versions by their part. The separator, per the spec,
- // is a .
- sparts := strings.Split(v, ".")
- oparts := strings.Split(o, ".")
-
- // Find the longer length of the parts to know how many loop iterations to
- // go through.
- slen := len(sparts)
- olen := len(oparts)
-
- l := slen
- if olen > slen {
- l = olen
- }
-
- // Iterate over each part of the prereleases to compare the differences.
- for i := 0; i < l; i++ {
- // Since the lentgh of the parts can be different we need to create
- // a placeholder. This is to avoid out of bounds issues.
- stemp := ""
- if i < slen {
- stemp = sparts[i]
- }
-
- otemp := ""
- if i < olen {
- otemp = oparts[i]
- }
-
- d := comparePrePart(stemp, otemp)
- if d != 0 {
- return d
- }
- }
-
- // Reaching here means two versions are of equal value but have different
- // metadata (the part following a +). They are not identical in string form
- // but the version comparison finds them to be equal.
- return 0
-}
-
-func comparePrePart(s, o string) int {
- // Fastpath if they are equal
- if s == o {
- return 0
- }
-
- // When s or o are empty we can use the other in an attempt to determine
- // the response.
- if s == "" {
- if o != "" {
- return -1
- }
- return 1
- }
-
- if o == "" {
- if s != "" {
- return 1
- }
- return -1
- }
-
- // When comparing strings "99" is greater than "103". To handle
- // cases like this we need to detect numbers and compare them.
-
- oi, n1 := strconv.ParseInt(o, 10, 64)
- si, n2 := strconv.ParseInt(s, 10, 64)
-
- // The case where both are strings compare the strings
- if n1 != nil && n2 != nil {
- if s > o {
- return 1
- }
- return -1
- } else if n1 != nil {
- // o is a string and s is a number
- return -1
- } else if n2 != nil {
- // s is a string and o is a number
- return 1
- }
- // Both are numbers
- if si > oi {
- return 1
- }
- return -1
-
-}
diff --git a/vendor/github.com/PuerkitoBio/purell/LICENSE b/vendor/github.com/PuerkitoBio/purell/LICENSE
deleted file mode 100644
index 4b9986d..0000000
--- a/vendor/github.com/PuerkitoBio/purell/LICENSE
+++ /dev/null
@@ -1,12 +0,0 @@
-Copyright (c) 2012, Martin Angers
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
-* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-
-* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
-
-* Neither the name of the author nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROF [...]
diff --git a/vendor/github.com/PuerkitoBio/purell/purell.go b/vendor/github.com/PuerkitoBio/purell/purell.go
deleted file mode 100644
index 6d0fc19..0000000
--- a/vendor/github.com/PuerkitoBio/purell/purell.go
+++ /dev/null
@@ -1,379 +0,0 @@
-/*
-Package purell offers URL normalization as described on the wikipedia page:
-http://en.wikipedia.org/wiki/URL_normalization
-*/
-package purell
-
-import (
- "bytes"
- "fmt"
- "net/url"
- "regexp"
- "sort"
- "strconv"
- "strings"
-
- "github.com/PuerkitoBio/urlesc"
- "golang.org/x/net/idna"
- "golang.org/x/text/unicode/norm"
- "golang.org/x/text/width"
-)
-
-// A set of normalization flags determines how a URL will
-// be normalized.
-type NormalizationFlags uint
-
-const (
- // Safe normalizations
- FlagLowercaseScheme           NormalizationFlags = 1 << iota // HTTP://host -> http://host, applied by default in Go1.1
- FlagLowercaseHost                                            // http://HOST -> http://host
- FlagUppercaseEscapes                                         // http://host/t%ef -> http://host/t%EF
- FlagDecodeUnnecessaryEscapes                                 // http://host/t%41 -> http://host/tA
- FlagEncodeNecessaryEscapes                                   // http://host/!"#$ -> http://host/%21%22#$
- FlagRemoveDefaultPort                                        // http://host:80 -> http://host
- FlagRemoveEmptyQuerySeparator                                // http://host/path? -> http://host/path
-
- // Usually safe normalizations
- FlagRemoveTrailingSlash // http://host/path/ -> http://host/path
- FlagAddTrailingSlash    // http://host/path -> http://host/path/ (should choose only one of these add/remove trailing slash flags)
- FlagRemoveDotSegments   // http://host/path/./a/b/../c -> http://host/path/a/c
-
- // Unsafe normalizations
- FlagRemoveDirectoryIndex   // http://host/path/index.html -> http://host/path/
- FlagRemoveFragment         // http://host/path#fragment -> http://host/path
- FlagForceHTTP              // https://host -> http://host
- FlagRemoveDuplicateSlashes // http://host/path//a///b -> http://host/path/a/b
- FlagRemoveWWW              // http://www.host/ -> http://host/
- FlagAddWWW                 // http://host/ -> http://www.host/ (should choose only one of these add/remove WWW flags)
- FlagSortQuery              // http://host/path?c=3&b=2&a=1&b=1 -> http://host/path?a=1&b=1&b=2&c=3
-
- // Normalizations not in the wikipedia article, required to cover tests cases
- // submitted by jehiah
- FlagDecodeDWORDHost           // http://1113982867 -> http://66.102.7.147
- FlagDecodeOctalHost           // http://0102.0146.07.0223 -> http://66.102.7.147
- FlagDecodeHexHost             // http://0x42660793 -> http://66.102.7.147
- FlagRemoveUnnecessaryHostDots // http://.host../path -> http://host/path
- FlagRemoveEmptyPortSeparator  // http://host:/path -> http://host/path
-
- // Convenience set of safe normalizations
- FlagsSafe NormalizationFlags = FlagLowercaseHost | FlagLowercaseScheme | FlagUppercaseEscapes | FlagDecodeUnnecessaryEscapes | FlagEncodeNecessaryEscapes | FlagRemoveDefaultPort | FlagRemoveEmptyQuerySeparator
-
- // For convenience sets, "greedy" uses the "remove trailing slash" and "remove www. prefix" flags,
- // while "non-greedy" uses the "add (or keep) the trailing slash" and "add www. prefix".
-
- // Convenience set of usually safe normalizations (includes FlagsSafe)
- FlagsUsuallySafeGreedy    NormalizationFlags = FlagsSafe | FlagRemoveTrailingSlash | FlagRemoveDotSegments
- FlagsUsuallySafeNonGreedy NormalizationFlags = FlagsSafe | FlagAddTrailingSlash | FlagRemoveDotSegments
-
- // Convenience set of unsafe normalizations (includes FlagsUsuallySafe)
- FlagsUnsafeGreedy    NormalizationFlags = FlagsUsuallySafeGreedy | FlagRemoveDirectoryIndex | FlagRemoveFragment | FlagForceHTTP | FlagRemoveDuplicateSlashes | FlagRemoveWWW | FlagSortQuery
- FlagsUnsafeNonGreedy NormalizationFlags = FlagsUsuallySafeNonGreedy | FlagRemoveDirectoryIndex | FlagRemoveFragment | FlagForceHTTP | FlagRemoveDuplicateSlashes | FlagAddWWW | FlagSortQuery
-
- // Convenience set of all available flags
- FlagsAllGreedy    = FlagsUnsafeGreedy | FlagDecodeDWORDHost | FlagDecodeOctalHost | FlagDecodeHexHost | FlagRemoveUnnecessaryHostDots | FlagRemoveEmptyPortSeparator
- FlagsAllNonGreedy = FlagsUnsafeNonGreedy | FlagDecodeDWORDHost | FlagDecodeOctalHost | FlagDecodeHexHost | FlagRemoveUnnecessaryHostDots | FlagRemoveEmptyPortSeparator
-)
-
-const (
- defaultHttpPort  = ":80"
- defaultHttpsPort = ":443"
-)
-
-// Regular expressions used by the normalizations
-var rxPort = regexp.MustCompile(`(:\d+)/?$`)
-var rxDirIndex = regexp.MustCompile(`(^|/)((?:default|index)\.\w{1,4})$`)
-var rxDupSlashes = regexp.MustCompile(`/{2,}`)
-var rxDWORDHost = regexp.MustCompile(`^(\d+)((?:\.+)?(?:\:\d*)?)$`)
-var rxOctalHost = regexp.MustCompile(`^(0\d*)\.(0\d*)\.(0\d*)\.(0\d*)((?:\.+)?(?:\:\d*)?)$`)
-var rxHexHost = regexp.MustCompile(`^0x([0-9A-Fa-f]+)((?:\.+)?(?:\:\d*)?)$`)
-var rxHostDots = regexp.MustCompile(`^(.+?)(:\d+)?$`)
-var rxEmptyPort = regexp.MustCompile(`:+$`)
-
-// Map of flags to implementation function.
-// FlagDecodeUnnecessaryEscapes has no action, since it is done automatically
-// by parsing the string as an URL. Same for FlagUppercaseEscapes and FlagRemoveEmptyQuerySeparator.
-
-// Since maps have undefined traversing order, make a slice of ordered keys
-var flagsOrder = []NormalizationFlags{
- FlagLowercaseScheme,
- FlagLowercaseHost,
- FlagRemoveDefaultPort,
- FlagRemoveDirectoryIndex,
- FlagRemoveDotSegments,
- FlagRemoveFragment,
- FlagForceHTTP, // Must be after remove default port (because https=443/http=80)
- FlagRemoveDuplicateSlashes,
- FlagRemoveWWW,
- FlagAddWWW,
- FlagSortQuery,
- FlagDecodeDWORDHost,
- FlagDecodeOctalHost,
- FlagDecodeHexHost,
- FlagRemoveUnnecessaryHostDots,
- FlagRemoveEmptyPortSeparator,
- FlagRemoveTrailingSlash, // These two (add/remove trailing slash) must be last
- FlagAddTrailingSlash,
-}
-
-// ... and then the map, where order is unimportant
-var flags = map[NormalizationFlags]func(*url.URL){
- FlagLowercaseScheme:           lowercaseScheme,
- FlagLowercaseHost:             lowercaseHost,
- FlagRemoveDefaultPort:         removeDefaultPort,
- FlagRemoveDirectoryIndex:      removeDirectoryIndex,
- FlagRemoveDotSegments:         removeDotSegments,
- FlagRemoveFragment:            removeFragment,
- FlagForceHTTP:                 forceHTTP,
- FlagRemoveDuplicateSlashes:    removeDuplicateSlashes,
- FlagRemoveWWW:                 removeWWW,
- FlagAddWWW:                    addWWW,
- FlagSortQuery:                 sortQuery,
- FlagDecodeDWORDHost:           decodeDWORDHost,
- FlagDecodeOctalHost:           decodeOctalHost,
- FlagDecodeHexHost:             decodeHexHost,
- FlagRemoveUnnecessaryHostDots: removeUnncessaryHostDots,
- FlagRemoveEmptyPortSeparator:  removeEmptyPortSeparator,
- FlagRemoveTrailingSlash:       removeTrailingSlash,
- FlagAddTrailingSlash:          addTrailingSlash,
-}
-
-// MustNormalizeURLString returns the normalized string, and panics if an error occurs.
-// It takes an URL string as input, as well as the normalization flags.
-func MustNormalizeURLString(u string, f NormalizationFlags) string {
- result, e := NormalizeURLString(u, f)
- if e != nil {
- panic(e)
- }
- return result
-}
-
-// NormalizeURLString returns the normalized string, or an error if it can't be parsed into an URL object.
-// It takes an URL string as input, as well as the normalization flags.
-func NormalizeURLString(u string, f NormalizationFlags) (string, error) {
- parsed, err := url.Parse(u)
- if err != nil {
- return "", err
- }
-
- if f&FlagLowercaseHost == FlagLowercaseHost {
- parsed.Host = strings.ToLower(parsed.Host)
- }
-
- // The idna package doesn't fully conform to RFC 5895
- // (https://tools.ietf.org/html/rfc5895), so we do it here.
- // Taken from Go 1.8 cycle source, courtesy of bradfitz.
- // TODO: Remove when (if?) idna package conforms to RFC 5895.
- parsed.Host = width.Fold.String(parsed.Host)
- parsed.Host = norm.NFC.String(parsed.Host)
- if parsed.Host, err = idna.ToASCII(parsed.Host); err != nil {
- return "", err
- }
-
- return NormalizeURL(parsed, f), nil
-}
-
-// NormalizeURL returns the normalized string.
-// It takes a parsed URL object as input, as well as the normalization flags.
-func NormalizeURL(u *url.URL, f NormalizationFlags) string {
- for _, k := range flagsOrder {
- if f&k == k {
- flags[k](u)
- }
- }
- return urlesc.Escape(u)
-}
-
-func lowercaseScheme(u *url.URL) {
- if len(u.Scheme) > 0 {
- u.Scheme = strings.ToLower(u.Scheme)
- }
-}
-
-func lowercaseHost(u *url.URL) {
- if len(u.Host) > 0 {
- u.Host = strings.ToLower(u.Host)
- }
-}
-
-func removeDefaultPort(u *url.URL) {
- if len(u.Host) > 0 {
- scheme := strings.ToLower(u.Scheme)
- u.Host = rxPort.ReplaceAllStringFunc(u.Host, func(val string) string {
- if (scheme == "http" && val == defaultHttpPort) || (scheme == "https" && val == defaultHttpsPort) {
- return ""
- }
- return val
- })
- }
-}
-
-func removeTrailingSlash(u *url.URL) {
- if l := len(u.Path); l > 0 {
- if strings.HasSuffix(u.Path, "/") {
- u.Path = u.Path[:l-1]
- }
- } else if l = len(u.Host); l > 0 {
- if strings.HasSuffix(u.Host, "/") {
- u.Host = u.Host[:l-1]
- }
- }
-}
-
-func addTrailingSlash(u *url.URL) {
- if l := len(u.Path); l > 0 {
- if !strings.HasSuffix(u.Path, "/") {
- u.Path += "/"
- }
- } else if l = len(u.Host); l > 0 {
- if !strings.HasSuffix(u.Host, "/") {
- u.Host += "/"
- }
- }
-}
-
-func removeDotSegments(u *url.URL) {
- if len(u.Path) > 0 {
- var dotFree []string
- var lastIsDot bool
-
- sections := strings.Split(u.Path, "/")
- for _, s := range sections {
- if s == ".." {
- if len(dotFree) > 0 {
- dotFree = dotFree[:len(dotFree)-1]
- }
- } else if s != "." {
- dotFree = append(dotFree, s)
- }
- lastIsDot = (s == "." || s == "..")
- }
- // Special case if host does not end with / and new path does not begin with /
- u.Path = strings.Join(dotFree, "/")
- if u.Host != "" && !strings.HasSuffix(u.Host, "/") && !strings.HasPrefix(u.Path, "/") {
- u.Path = "/" + u.Path
- }
- // Special case if the last segment was a dot, make sure the path ends with a slash
- if lastIsDot && !strings.HasSuffix(u.Path, "/") {
- u.Path += "/"
- }
- }
-}
-
-func removeDirectoryIndex(u *url.URL) {
- if len(u.Path) > 0 {
- u.Path = rxDirIndex.ReplaceAllString(u.Path, "$1")
- }
-}
-
-func removeFragment(u *url.URL) {
- u.Fragment = ""
-}
-
-func forceHTTP(u *url.URL) {
- if strings.ToLower(u.Scheme) == "https" {
- u.Scheme = "http"
- }
-}
-
-func removeDuplicateSlashes(u *url.URL) {
- if len(u.Path) > 0 {
- u.Path = rxDupSlashes.ReplaceAllString(u.Path, "/")
- }
-}
-
-func removeWWW(u *url.URL) {
- if len(u.Host) > 0 && strings.HasPrefix(strings.ToLower(u.Host), "www.") {
- u.Host = u.Host[4:]
- }
-}
-
-func addWWW(u *url.URL) {
- if len(u.Host) > 0 && !strings.HasPrefix(strings.ToLower(u.Host), "www.") {
- u.Host = "www." + u.Host
- }
-}
-
-func sortQuery(u *url.URL) {
- q := u.Query()
-
- if len(q) > 0 {
- arKeys := make([]string, len(q))
- i := 0
- for k := range q {
- arKeys[i] = k
- i++
- }
- sort.Strings(arKeys)
- buf := new(bytes.Buffer)
- for _, k := range arKeys {
- sort.Strings(q[k])
- for _, v := range q[k] {
- if buf.Len() > 0 {
- buf.WriteRune('&')
- }
- buf.WriteString(fmt.Sprintf("%s=%s", k, urlesc.QueryEscape(v)))
- }
- }
-
- // Rebuild the raw query string
- u.RawQuery = buf.String()
- }
-}
-
-func decodeDWORDHost(u *url.URL) {
- if len(u.Host) > 0 {
- if matches := rxDWORDHost.FindStringSubmatch(u.Host); len(matches) > 2 {
- var parts [4]int64
-
- dword, _ := strconv.ParseInt(matches[1], 10, 0)
- for i, shift := range []uint{24, 16, 8, 0} {
- parts[i] = dword >> shift & 0xFF
- }
- u.Host = fmt.Sprintf("%d.%d.%d.%d%s", parts[0], parts[1], parts[2], parts[3], matches[2])
- }
- }
-}
-
-func decodeOctalHost(u *url.URL) {
- if len(u.Host) > 0 {
- if matches := rxOctalHost.FindStringSubmatch(u.Host); len(matches) > 5 {
- var parts [4]int64
-
- for i := 1; i <= 4; i++ {
- parts[i-1], _ = strconv.ParseInt(matches[i], 8, 0)
- }
- u.Host = fmt.Sprintf("%d.%d.%d.%d%s", parts[0], parts[1], parts[2], parts[3], matches[5])
- }
- }
-}
-
-func decodeHexHost(u *url.URL) {
- if len(u.Host) > 0 {
- if matches := rxHexHost.FindStringSubmatch(u.Host); len(matches) > 2 {
- // Conversion is safe because of regex validation
- parsed, _ := strconv.ParseInt(matches[1], 16, 0)
- // Set host as DWORD (base 10) encoded host
- u.Host = fmt.Sprintf("%d%s", parsed, matches[2])
- // The rest is the same as decoding a DWORD host
- decodeDWORDHost(u)
- }
- }
-}
-
-func removeUnncessaryHostDots(u *url.URL) {
- if len(u.Host) > 0 {
- if matches := rxHostDots.FindStringSubmatch(u.Host); len(matches) > 1 {
- // Trim the leading and trailing dots
- u.Host = strings.Trim(matches[1], ".")
- if len(matches) > 2 {
- u.Host += matches[2]
- }
- }
- }
-}
-
-func removeEmptyPortSeparator(u *url.URL) {
- if len(u.Host) > 0 {
- u.Host = rxEmptyPort.ReplaceAllString(u.Host, "")
- }
-}
diff --git a/vendor/github.com/PuerkitoBio/urlesc/LICENSE b/vendor/github.com/PuerkitoBio/urlesc/LICENSE
deleted file mode 100644
index 7448756..0000000
--- a/vendor/github.com/PuerkitoBio/urlesc/LICENSE
+++ /dev/null
@@ -1,27 +0,0 @@
-Copyright (c) 2012 The Go Authors. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
-   * Redistributions of source code must retain the above copyright
-notice, this list of conditions and the following disclaimer.
-   * Redistributions in binary form must reproduce the above
-copyright notice, this list of conditions and the following disclaimer
-in the documentation and/or other materials provided with the
-distribution.
-   * Neither the name of Google Inc. nor the names of its
-contributors may be used to endorse or promote products derived from
-this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/vendor/github.com/PuerkitoBio/urlesc/urlesc.go b/vendor/github.com/PuerkitoBio/urlesc/urlesc.go
deleted file mode 100644
index 1b84624..0000000
--- a/vendor/github.com/PuerkitoBio/urlesc/urlesc.go
+++ /dev/null
@@ -1,180 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Package urlesc implements query escaping as per RFC 3986.
-// It contains some parts of the net/url package, modified so as to allow
-// some reserved characters incorrectly escaped by net/url.
-// See https://github.com/golang/go/issues/5684
-package urlesc
-
-import (
- "bytes"
- "net/url"
- "strings"
-)
-
-type encoding int
-
-const (
- encodePath encoding = 1 + iota
- encodeUserPassword
- encodeQueryComponent
- encodeFragment
-)
-
-// Return true if the specified character should be escaped when
-// appearing in a URL string, according to RFC 3986.
-func shouldEscape(c byte, mode encoding) bool {
- // §2.3 Unreserved characters (alphanum)
- if 'A' <= c && c <= 'Z' || 'a' <= c && c <= 'z' || '0' <= c && c <= '9' {
- return false
- }
-
- switch c {
- case '-', '.', '_', '~': // §2.3 Unreserved characters (mark)
- return false
-
- // §2.2 Reserved characters (reserved)
- case ':', '/', '?', '#', '[', ']', '@', // gen-delims
- '!', '$', '&', '\'', '(', ')', '*', '+', ',', ';', '=': // sub-delims
- // Different sections of the URL allow a few of
- // the reserved characters to appear unescaped.
- switch mode {
- case encodePath: // §3.3
- // The RFC allows sub-delims and : @.
- // '/', '[' and ']' can be used to assign meaning to individual path
- // segments.  This package only manipulates the path as a whole,
- // so we allow those as well.  That leaves only ? and # to escape.
- return c == '?' || c == '#'
-
- case encodeUserPassword: // §3.2.1
- // The RFC allows : and sub-delims in
- // userinfo.  The parsing of userinfo treats ':' as special so we must escape
- // all the gen-delims.
- return c == ':' || c == '/' || c == '?' || c == '#' || c == '[' || c == ']' || c == '@'
-
- case encodeQueryComponent: // §3.4
- // The RFC allows / and ?.
- return c != '/' && c != '?'
-
- case encodeFragment: // §4.1
- // The RFC text is silent but the grammar allows
- // everything, so escape nothing but #
- return c == '#'
- }
- }
-
- // Everything else must be escaped.
- return true
-}
-
-// QueryEscape escapes the string so it can be safely placed
-// inside a URL query.
-func QueryEscape(s string) string {
- return escape(s, encodeQueryComponent)
-}
-
-func escape(s string, mode encoding) string {
- spaceCount, hexCount := 0, 0
- for i := 0; i < len(s); i++ {
- c := s[i]
- if shouldEscape(c, mode) {
- if c == ' ' && mode == encodeQueryComponent {
- spaceCount++
- } else {
- hexCount++
- }
- }
- }
-
- if spaceCount == 0 && hexCount == 0 {
- return s
- }
-
- t := make([]byte, len(s)+2*hexCount)
- j := 0
- for i := 0; i < len(s); i++ {
- switch c := s[i]; {
- case c == ' ' && mode == encodeQueryComponent:
- t[j] = '+'
- j++
- case shouldEscape(c, mode):
- t[j] = '%'
- t[j+1] = "0123456789ABCDEF"[c>>4]
- t[j+2] = "0123456789ABCDEF"[c&15]
- j += 3
- default:
- t[j] = s[i]
- j++
- }
- }
- return string(t)
-}
-
-var uiReplacer = strings.NewReplacer(
- "%21", "!",
- "%27", "'",
- "%28", "(",
- "%29", ")",
- "%2A", "*",
-)
-
-// unescapeUserinfo unescapes some characters that need not to be escaped as per RFC3986.
-func unescapeUserinfo(s string) string {
- return uiReplacer.Replace(s)
-}
-
-// Escape reassembles the URL into a valid URL string.
-// The general form of the result is one of:
-//
-// scheme:opaque
-// scheme://userinfo@host/path?query#fragment
-//
-// If u.Opaque is non-empty, String uses the first form;
-// otherwise it uses the second form.
-//
-// In the second form, the following rules apply:
-// - if u.Scheme is empty, scheme: is omitted.
-// - if u.User is nil, userinfo@ is omitted.
-// - if u.Host is empty, host/ is omitted.
-// - if u.Scheme and u.Host are empty and u.User is nil,
-//   the entire scheme://userinfo@host/ is omitted.
-// - if u.Host is non-empty and u.Path begins with a /,
-//   the form host/path does not add its own /.
-// - if u.RawQuery is empty, ?query is omitted.
-// - if u.Fragment is empty, #fragment is omitted.
-func Escape(u *url.URL) string {
- var buf bytes.Buffer
- if u.Scheme != "" {
- buf.WriteString(u.Scheme)
- buf.WriteByte(':')
- }
- if u.Opaque != "" {
- buf.WriteString(u.Opaque)
- } else {
- if u.Scheme != "" || u.Host != "" || u.User != nil {
- buf.WriteString("//")
- if ui := u.User; ui != nil {
- buf.WriteString(unescapeUserinfo(ui.String()))
- buf.WriteByte('@')
- }
- if h := u.Host; h != "" {
- buf.WriteString(h)
- }
- }
- if u.Path != "" && u.Path[0] != '/' && u.Host != "" {
- buf.WriteByte('/')
- }
- buf.WriteString(escape(u.Path, encodePath))
- }
- if u.RawQuery != "" {
- buf.WriteByte('?')
- buf.WriteString(u.RawQuery)
- }
- if u.Fragment != "" {
- buf.WriteByte('#')
- buf.WriteString(escape(u.Fragment, encodeFragment))
- }
- return buf.String()
-}
diff --git a/vendor/github.com/alecthomas/jsonschema/COPYING b/vendor/github.com/alecthomas/jsonschema/COPYING
deleted file mode 100644
index 2993ec0..0000000
--- a/vendor/github.com/alecthomas/jsonschema/COPYING
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (C) 2014 Alec Thomas
-
-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/vendor/github.com/alecthomas/jsonschema/reflect.go b/vendor/github.com/alecthomas/jsonschema/reflect.go
deleted file mode 100644
index bbeedc3..0000000
--- a/vendor/github.com/alecthomas/jsonschema/reflect.go
+++ /dev/null
@@ -1,460 +0,0 @@
-// Package jsonschema uses reflection to generate JSON Schemas from Go types [1].
-//
-// If json tags are present on struct fields, they will be used to infer
-// property names and if a property is required (omitempty is present).
-//
-// [1] http://json-schema.org/latest/json-schema-validation.html
-package jsonschema
-
-import (
- "encoding/json"
- "net"
- "net/url"
- "reflect"
- "strconv"
- "strings"
- "time"
-)
-
-// Version is the JSON Schema version.
-// If extending JSON Schema with custom values use a custom URI.
-// RFC draft-wright-json-schema-00, section 6
-var Version = "http://json-schema.org/draft-04/schema#"
-
-// Schema is the root schema.
-// RFC draft-wright-json-schema-00, section 4.5
-type Schema struct {
- *Type
- Definitions Definitions `json:"definitions,omitempty"`
-}
-
-// Type represents a JSON Schema object type.
-type Type struct {
- // RFC draft-wright-json-schema-00
- Version string `json:"$schema,omitempty"` // section 6.1
- Ref     string `json:"$ref,omitempty"`    // section 7
- // RFC draft-wright-json-schema-validation-00, section 5
- MultipleOf           int              `json:"multipleOf,omitempty"`           // section 5.1
- Maximum              int              `json:"maximum,omitempty"`              // section 5.2
- ExclusiveMaximum     bool             `json:"exclusiveMaximum,omitempty"`     // section 5.3
- Minimum              int              `json:"minimum,omitempty"`              // section 5.4
- ExclusiveMinimum     bool             `json:"exclusiveMinimum,omitempty"`     // section 5.5
- MaxLength            int              `json:"maxLength,omitempty"`            // section 5.6
- MinLength            int              `json:"minLength,omitempty"`            // section 5.7
- Pattern              string           `json:"pattern,omitempty"`              // section 5.8
- AdditionalItems      *Type            `json:"additionalItems,omitempty"`      // section 5.9
- Items                *Type            `json:"items,omitempty"`                // section 5.9
- MaxItems             int              `json:"maxItems,omitempty"`             // section 5.10
- MinItems             int              `json:"minItems,omitempty"`             // section 5.11
- UniqueItems          bool             `json:"uniqueItems,omitempty"`          // section 5.12
- MaxProperties        int              `json:"maxProperties,omitempty"`        // section 5.13
- MinProperties        int              `json:"minProperties,omitempty"`        // section 5.14
- Required             []string         `json:"required,omitempty"`             // section 5.15
- Properties           map[string]*Type `json:"properties,omitempty"`           // section 5.16
- PatternProperties    map[string]*Type `json:"patternProperties,omitempty"`    // section 5.17
- AdditionalProperties json.RawMessage  `json:"additionalProperties,omitempty"` // section 5.18
- Dependencies         map[string]*Type `json:"dependencies,omitempty"`         // section 5.19
- Enum                 []interface{}    `json:"enum,omitempty"`                 // section 5.20
- Type                 string           `json:"type,omitempty"`                 // section 5.21
- AllOf                []*Type          `json:"allOf,omitempty"`                // section 5.22
- AnyOf                []*Type          `json:"anyOf,omitempty"`                // section 5.23
- OneOf                []*Type          `json:"oneOf,omitempty"`                // section 5.24
- Not                  *Type            `json:"not,omitempty"`                  // section 5.25
- Definitions          Definitions      `json:"definitions,omitempty"`          // section 5.26
- // RFC draft-wright-json-schema-validation-00, section 6, 7
- Title       string      `json:"title,omitempty"`       // section 6.1
- Description string      `json:"description,omitempty"` // section 6.1
- Default     interface{} `json:"default,omitempty"`     // section 6.2
- Format      string      `json:"format,omitempty"`      // section 7
- // RFC draft-wright-json-schema-hyperschema-00, section 4
- Media          *Type  `json:"media,omitempty"`          // section 4.3
- BinaryEncoding string `json:"binaryEncoding,omitempty"` // section 4.3
-}
-
-// Reflect reflects to Schema from a value using the default Reflector
-func Reflect(v interface{}) *Schema {
- return ReflectFromType(reflect.TypeOf(v))
-}
-
-// ReflectFromType generates root schema using the default Reflector
-func ReflectFromType(t reflect.Type) *Schema {
- r := &Reflector{}
- return r.ReflectFromType(t)
-}
-
-// A Reflector reflects values into a Schema.
-type Reflector struct {
- // AllowAdditionalProperties will cause the Reflector to generate a schema
- // with additionalProperties to 'true' for all struct types. This means
- // the presence of additional keys in JSON objects will not cause validation
- // to fail. Note said additional keys will simply be dropped when the
- // validated JSON is unmarshaled.
- AllowAdditionalProperties bool
-
- // RequiredFromJSONSchemaTags will cause the Reflector to generate a schema
- // that requires any key tagged with `jsonschema:required`, overriding the
- // default of requiring any key *not* tagged with `json:,omitempty`.
- RequiredFromJSONSchemaTags bool
-
- // ExpandedStruct will cause the toplevel definitions of the schema not
- // be referenced itself to a definition.
- ExpandedStruct bool
-}
-
-// Reflect reflects to Schema from a value.
-func (r *Reflector) Reflect(v interface{}) *Schema {
- return r.ReflectFromType(reflect.TypeOf(v))
-}
-
-// ReflectFromType generates root schema
-func (r *Reflector) ReflectFromType(t reflect.Type) *Schema {
- definitions := Definitions{}
- if r.ExpandedStruct {
- st := &Type{
- Version:              Version,
- Type:                 "object",
- Properties:           map[string]*Type{},
- AdditionalProperties: []byte("false"),
- }
- if r.AllowAdditionalProperties {
- st.AdditionalProperties = []byte("true")
- }
- r.reflectStructFields(st, definitions, t)
- r.reflectStruct(definitions, t)
- delete(definitions, t.Name())
- return &Schema{Type: st, Definitions: definitions}
- }
-
- s := &Schema{
- Type:        r.reflectTypeToSchema(definitions, t),
- Definitions: definitions,
- }
- return s
-}
-
-// Definitions hold schema definitions.
-// http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.26
-// RFC draft-wright-json-schema-validation-00, section 5.26
-type Definitions map[string]*Type
-
-// Available Go defined types for JSON Schema Validation.
-// RFC draft-wright-json-schema-validation-00, section 7.3
-var (
- timeType = reflect.TypeOf(time.Time{}) // date-time RFC section 7.3.1
- ipType   = reflect.TypeOf(net.IP{})    // ipv4 and ipv6 RFC section 7.3.4, 7.3.5
- uriType  = reflect.TypeOf(url.URL{})   // uri RFC section 7.3.6
-)
-
-// Byte slices will be encoded as base64
-var byteSliceType = reflect.TypeOf([]byte(nil))
-
-// Go code generated from protobuf enum types should fulfil this interface.
-type protoEnum interface {
- EnumDescriptor() ([]byte, []int)
-}
-
-var protoEnumType = reflect.TypeOf((*protoEnum)(nil)).Elem()
-
-func (r *Reflector) reflectTypeToSchema(definitions Definitions, t reflect.Type) *Type {
- // Already added to definitions?
- if _, ok := definitions[t.Name()]; ok {
- return &Type{Ref: "#/definitions/" + t.Name()}
- }
-
- // jsonpb will marshal protobuf enum options as either strings or integers.
- // It will unmarshal either.
- if t.Implements(protoEnumType) {
- return &Type{OneOf: []*Type{
- {Type: "string"},
- {Type: "integer"},
- }}
- }
-
- // Defined format types for JSON Schema Validation
- // RFC draft-wright-json-schema-validation-00, section 7.3
- // TODO email RFC section 7.3.2, hostname RFC section 7.3.3, uriref RFC section 7.3.7
- switch t {
- case ipType:
- // TODO differentiate ipv4 and ipv6 RFC section 7.3.4, 7.3.5
- return &Type{Type: "string", Format: "ipv4"} // ipv4 RFC section 7.3.4
- }
-
- switch t.Kind() {
- case reflect.Struct:
-
- switch t {
- case timeType: // date-time RFC section 7.3.1
- return &Type{Type: "string", Format: "date-time"}
- case uriType: // uri RFC section 7.3.6
- return &Type{Type: "string", Format: "uri"}
- default:
- return r.reflectStruct(definitions, t)
- }
-
- case reflect.Map:
- rt := &Type{
- Type: "object",
- PatternProperties: map[string]*Type{
- ".*": r.reflectTypeToSchema(definitions, t.Elem()),
- },
- }
- delete(rt.PatternProperties, "additionalProperties")
- return rt
-
- case reflect.Slice, reflect.Array:
- returnType := &Type{}
- if t.Kind() == reflect.Array {
- returnType.MinItems = t.Len()
- returnType.MaxItems = returnType.MinItems
- }
- switch t {
- case byteSliceType:
- returnType.Type = "string"
- returnType.Media = &Type{BinaryEncoding: "base64"}
- return returnType
- default:
- returnType.Type = "array"
- returnType.Items = r.reflectTypeToSchema(definitions, t.Elem())
- return returnType
- }
-
- case reflect.Interface:
- return &Type{
- Type:                 "object",
- AdditionalProperties: []byte("true"),
- }
-
- case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64,
- reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64:
- return &Type{Type: "integer"}
-
- case reflect.Float32, reflect.Float64:
- return &Type{Type: "number"}
-
- case reflect.Bool:
- return &Type{Type: "boolean"}
-
- case reflect.String:
- return &Type{Type: "string"}
-
- case reflect.Ptr:
- return r.reflectTypeToSchema(definitions, t.Elem())
- }
- panic("unsupported type " + t.String())
-}
-
-// Refects a struct to a JSON Schema type.
-func (r *Reflector) reflectStruct(definitions Definitions, t reflect.Type) *Type {
- st := &Type{
- Type:                 "object",
- Properties:           map[string]*Type{},
- AdditionalProperties: []byte("false"),
- }
- if r.AllowAdditionalProperties {
- st.AdditionalProperties = []byte("true")
- }
- definitions[t.Name()] = st
- r.reflectStructFields(st, definitions, t)
-
- return &Type{
- Version: Version,
- Ref:     "#/definitions/" + t.Name(),
- }
-}
-
-func (r *Reflector) reflectStructFields(st *Type, definitions Definitions, t reflect.Type) {
- if t.Kind() == reflect.Ptr {
- t = t.Elem()
- }
- for i := 0; i < t.NumField(); i++ {
- f := t.Field(i)
- // anonymous and exported type should be processed recursively
- // current type should inherit properties of anonymous one
- if f.Anonymous && f.PkgPath == "" {
- r.reflectStructFields(st, definitions, f.Type)
- continue
- }
-
- name, required := r.reflectFieldName(f)
- if name == "" {
- continue
- }
- property := r.reflectTypeToSchema(definitions, f.Type)
- property.structKeywordsFromTags(f)
- st.Properties[name] = property
- if required {
- st.Required = append(st.Required, name)
- }
- }
-}
-
-func (t *Type) structKeywordsFromTags(f reflect.StructField) {
- tags := strings.Split(f.Tag.Get("jsonschema"), ",")
- switch t.Type {
- case "string":
- t.stringKeywords(tags)
- case "number":
- t.numbericKeywords(tags)
- case "integer":
- t.numbericKeywords(tags)
- case "array":
- t.arrayKeywords(tags)
- }
-}
-
-// read struct tags for string type keyworks
-func (t *Type) stringKeywords(tags []string) {
- for _, tag := range tags {
- nameValue := strings.Split(tag, "=")
- if len(nameValue) == 2 {
- name, val := nameValue[0], nameValue[1]
- switch name {
- case "minLength":
- i, _ := strconv.Atoi(val)
- t.MinLength = i
- case "maxLength":
- i, _ := strconv.Atoi(val)
- t.MaxLength = i
- case "pattern":
- t.Pattern = val
- case "format":
- switch val {
- case "date-time", "email", "hostname", "ipv4", "ipv6", "uri":
- t.Format = val
- break
- }
- }
- }
- }
-}
-
-// read struct tags for numberic type keyworks
-func (t *Type) numbericKeywords(tags []string) {
- for _, tag := range tags {
- nameValue := strings.Split(tag, "=")
- if len(nameValue) == 2 {
- name, val := nameValue[0], nameValue[1]
- switch name {
- case "multipleOf":
- i, _ := strconv.Atoi(val)
- t.MultipleOf = i
- case "minimum":
- i, _ := strconv.Atoi(val)
- t.Minimum = i
- case "maximum":
- i, _ := strconv.Atoi(val)
- t.Maximum = i
- case "exclusiveMaximum":
- b, _ := strconv.ParseBool(val)
- t.ExclusiveMaximum = b
- case "exclusiveMinimum":
- b, _ := strconv.ParseBool(val)
- t.ExclusiveMinimum = b
- }
- }
- }
-}
-
-// read struct tags for object type keyworks
-// func (t *Type) objectKeywords(tags []string) {
-//     for _, tag := range tags{
-//         nameValue := strings.Split(tag, "=")
-//         name, val := nameValue[0], nameValue[1]
-//         switch name{
-//             case "dependencies":
-//                 t.Dependencies = val
-//                 break;
-//             case "patternProperties":
-//                 t.PatternProperties = val
-//                 break;
-//         }
-//     }
-// }
-
-// read struct tags for array type keyworks
-func (t *Type) arrayKeywords(tags []string) {
- for _, tag := range tags {
- nameValue := strings.Split(tag, "=")
- if len(nameValue) == 2 {
- name, val := nameValue[0], nameValue[1]
- switch name {
- case "minItems":
- i, _ := strconv.Atoi(val)
- t.MinItems = i
- case "maxItems":
- i, _ := strconv.Atoi(val)
- t.MaxItems = i
- case "uniqueItems":
- t.UniqueItems = true
- }
- }
- }
-}
-
-func requiredFromJSONTags(tags []string) bool {
- if ignoredByJSONTags(tags) {
- return false
- }
-
- for _, tag := range tags[1:] {
- if tag == "omitempty" {
- return false
- }
- }
- return true
-}
-
-func requiredFromJSONSchemaTags(tags []string) bool {
- if ignoredByJSONSchemaTags(tags) {
- return false
- }
- for _, tag := range tags {
- if tag == "required" {
- return true
- }
- }
- return false
-}
-
-func ignoredByJSONTags(tags []string) bool {
- return tags[0] == "-"
-}
-
-func ignoredByJSONSchemaTags(tags []string) bool {
- return tags[0] == "-"
-}
-
-func (r *Reflector) reflectFieldName(f reflect.StructField) (string, bool) {
- if f.PkgPath != "" { // unexported field, ignore it
- return "", false
- }
-
- jsonTags, exist := f.Tag.Lookup("json")
- if !exist {
- jsonTags = f.Tag.Get("yaml")
- }
-
- jsonTagsList := strings.Split(jsonTags, ",")
-
- if ignoredByJSONTags(jsonTagsList) {
- return "", false
- }
-
- jsonSchemaTags := strings.Split(f.Tag.Get("jsonschema"), ",")
- if ignoredByJSONSchemaTags(jsonSchemaTags) {
- return "", false
- }
-
- name := f.Name
- required := requiredFromJSONTags(jsonTagsList)
-
- if r.RequiredFromJSONSchemaTags {
- required = requiredFromJSONSchemaTags(jsonSchemaTags)
- }
-
- if jsonTagsList[0] != "" {
- name = jsonTagsList[0]
- }
-
- return name, required
-}
diff --git a/vendor/github.com/appscode/jsonpatch/LICENSE b/vendor/github.com/appscode/jsonpatch/LICENSE
deleted file mode 100644
index 8f71f43..0000000
--- a/vendor/github.com/appscode/jsonpatch/LICENSE
+++ /dev/null
@@ -1,202 +0,0 @@
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "{}"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright {yyyy} {name of copyright owner}
-
-   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.
-
diff --git a/vendor/github.com/appscode/jsonpatch/jsonpatch.go b/vendor/github.com/appscode/jsonpatch/jsonpatch.go
deleted file mode 100644
index 3e69894..0000000
--- a/vendor/github.com/appscode/jsonpatch/jsonpatch.go
+++ /dev/null
@@ -1,336 +0,0 @@
-package jsonpatch
-
-import (
- "bytes"
- "encoding/json"
- "fmt"
- "reflect"
- "strings"
-)
-
-var errBadJSONDoc = fmt.Errorf("invalid JSON Document")
-
-type JsonPatchOperation = Operation
-
-type Operation struct {
- Operation string      `json:"op"`
- Path      string      `json:"path"`
- Value     interface{} `json:"value,omitempty"`
-}
-
-func (j *Operation) Json() string {
- b, _ := json.Marshal(j)
- return string(b)
-}
-
-func (j *Operation) MarshalJSON() ([]byte, error) {
- var b bytes.Buffer
- b.WriteString("{")
- b.WriteString(fmt.Sprintf(`"op":"%s"`, j.Operation))
- b.WriteString(fmt.Sprintf(`,"path":"%s"`, j.Path))
- // Consider omitting Value for non-nullable operations.
- if j.Value != nil || j.Operation == "replace" || j.Operation == "add" {
- v, err := json.Marshal(j.Value)
- if err != nil {
- return nil, err
- }
- b.WriteString(`,"value":`)
- b.Write(v)
- }
- b.WriteString("}")
- return b.Bytes(), nil
-}
-
-type ByPath []Operation
-
-func (a ByPath) Len() int           { return len(a) }
-func (a ByPath) Swap(i, j int)      { a[i], a[j] = a[j], a[i] }
-func (a ByPath) Less(i, j int) bool { return a[i].Path < a[j].Path }
-
-func NewPatch(operation, path string, value interface{}) Operation {
- return Operation{Operation: operation, Path: path, Value: value}
-}
-
-// CreatePatch creates a patch as specified in http://jsonpatch.com/
-//
-// 'a' is original, 'b' is the modified document. Both are to be given as json encoded content.
-// The function will return an array of JsonPatchOperations
-//
-// An error will be returned if any of the two documents are invalid.
-func CreatePatch(a, b []byte) ([]Operation, error) {
- aI := map[string]interface{}{}
- bI := map[string]interface{}{}
- err := json.Unmarshal(a, &aI)
- if err != nil {
- return nil, errBadJSONDoc
- }
- err = json.Unmarshal(b, &bI)
- if err != nil {
- return nil, errBadJSONDoc
- }
- return diff(aI, bI, "", []Operation{})
-}
-
-// Returns true if the values matches (must be json types)
-// The types of the values must match, otherwise it will always return false
-// If two map[string]interface{} are given, all elements must match.
-func matchesValue(av, bv interface{}) bool {
- if reflect.TypeOf(av) != reflect.TypeOf(bv) {
- return false
- }
- switch at := av.(type) {
- case string:
- bt, ok := bv.(string)
- if ok && bt == at {
- return true
- }
- case float64:
- bt, ok := bv.(float64)
- if ok && bt == at {
- return true
- }
- case bool:
- bt, ok := bv.(bool)
- if ok && bt == at {
- return true
- }
- case map[string]interface{}:
- bt, ok := bv.(map[string]interface{})
- if !ok {
- return false
- }
- for key := range at {
- if !matchesValue(at[key], bt[key]) {
- return false
- }
- }
- for key := range bt {
- if !matchesValue(at[key], bt[key]) {
- return false
- }
- }
- return true
- case []interface{}:
- bt, ok := bv.([]interface{})
- if !ok {
- return false
- }
- if len(bt) != len(at) {
- return false
- }
- for key := range at {
- if !matchesValue(at[key], bt[key]) {
- return false
- }
- }
- for key := range bt {
- if !matchesValue(at[key], bt[key]) {
- return false
- }
- }
- return true
- }
- return false
-}
-
-// From http://tools.ietf.org/html/rfc6901#section-4 :
-//
-// Evaluation of each reference token begins by decoding any escaped
-// character sequence.  This is performed by first transforming any
-// occurrence of the sequence '~1' to '/', and then transforming any
-// occurrence of the sequence '~0' to '~'.
-//   TODO decode support:
-//   var rfc6901Decoder = strings.NewReplacer("~1", "/", "~0", "~")
-
-var rfc6901Encoder = strings.NewReplacer("~", "~0", "/", "~1")
-
-func makePath(path string, newPart interface{}) string {
- key := rfc6901Encoder.Replace(fmt.Sprintf("%v", newPart))
- if path == "" {
- return "/" + key
- }
- if strings.HasSuffix(path, "/") {
- return path + key
- }
- return path + "/" + key
-}
-
-// diff returns the (recursive) difference between a and b as an array of JsonPatchOperations.
-func diff(a, b map[string]interface{}, path string, patch []Operation) ([]Operation, error) {
- for key, bv := range b {
- p := makePath(path, key)
- av, ok := a[key]
- // value was added
- if !ok {
- patch = append(patch, NewPatch("add", p, bv))
- continue
- }
- // Types are the same, compare values
- var err error
- patch, err = handleValues(av, bv, p, patch)
- if err != nil {
- return nil, err
- }
- }
- // Now add all deleted values as nil
- for key := range a {
- _, found := b[key]
- if !found {
- p := makePath(path, key)
-
- patch = append(patch, NewPatch("remove", p, nil))
- }
- }
- return patch, nil
-}
-
-func handleValues(av, bv interface{}, p string, patch []Operation) ([]Operation, error) {
- {
- at := reflect.TypeOf(av)
- bt := reflect.TypeOf(bv)
- if at == nil && bt == nil {
- // do nothing
- return patch, nil
- } else if at == nil && bt != nil {
- return append(patch, NewPatch("add", p, bv)), nil
- } else if at != bt {
- // If types have changed, replace completely (preserves null in destination)
- return append(patch, NewPatch("replace", p, bv)), nil
- }
- }
-
- var err error
- switch at := av.(type) {
- case map[string]interface{}:
- bt := bv.(map[string]interface{})
- patch, err = diff(at, bt, p, patch)
- if err != nil {
- return nil, err
- }
- case string, float64, bool:
- if !matchesValue(av, bv) {
- patch = append(patch, NewPatch("replace", p, bv))
- }
- case []interface{}:
- bt := bv.([]interface{})
- if isSimpleArray(at) && isSimpleArray(bt) {
- patch = append(patch, compareEditDistance(at, bt, p)...)
- } else {
- n := min(len(at), len(bt))
- for i := len(at) - 1; i >= n; i-- {
- patch = append(patch, NewPatch("remove", makePath(p, i), nil))
- }
- for i := n; i < len(bt); i++ {
- patch = append(patch, NewPatch("add", makePath(p, i), bt[i]))
- }
- for i := 0; i < n; i++ {
- var err error
- patch, err = handleValues(at[i], bt[i], makePath(p, i), patch)
- if err != nil {
- return nil, err
- }
- }
- }
- default:
- panic(fmt.Sprintf("Unknown type:%T ", av))
- }
- return patch, nil
-}
-
-func isBasicType(a interface{}) bool {
- switch a.(type) {
- case string, float64, bool:
- default:
- return false
- }
- return true
-}
-
-func isSimpleArray(a []interface{}) bool {
- for i := range a {
- switch a[i].(type) {
- case string, float64, bool:
- default:
- val := reflect.ValueOf(a[i])
- if val.Kind() == reflect.Map {
- for _, k := range val.MapKeys() {
- av := val.MapIndex(k)
- if av.Kind() == reflect.Ptr || av.Kind() == reflect.Interface {
- if av.IsNil() {
- continue
- }
- av = av.Elem()
- }
- if av.Kind() != reflect.String && av.Kind() != reflect.Float64 && av.Kind() != reflect.Bool {
- return false
- }
- }
- return true
- }
- return false
- }
- }
- return true
-}
-
-// https://en.wikipedia.org/wiki/Wagner%E2%80%93Fischer_algorithm
-// Adapted from https://github.com/texttheater/golang-levenshtein
-func compareEditDistance(s, t []interface{}, p string) []Operation {
- m := len(s)
- n := len(t)
-
- d := make([][]int, m+1)
- for i := 0; i <= m; i++ {
- d[i] = make([]int, n+1)
- d[i][0] = i
- }
- for j := 0; j <= n; j++ {
- d[0][j] = j
- }
-
- for j := 1; j <= n; j++ {
- for i := 1; i <= m; i++ {
- if reflect.DeepEqual(s[i-1], t[j-1]) {
- d[i][j] = d[i-1][j-1] // no op required
- } else {
- del := d[i-1][j] + 1
- add := d[i][j-1] + 1
- rep := d[i-1][j-1] + 1
- d[i][j] = min(rep, min(add, del))
- }
- }
- }
-
- return backtrace(s, t, p, m, n, d)
-}
-
-func min(x int, y int) int {
- if y < x {
- return y
- }
- return x
-}
-
-func backtrace(s, t []interface{}, p string, i int, j int, matrix [][]int) []Operation {
- if i > 0 && matrix[i-1][j]+1 == matrix[i][j] {
- op := NewPatch("remove", makePath(p, i-1), nil)
- return append([]Operation{op}, backtrace(s, t, p, i-1, j, matrix)...)
- }
- if j > 0 && matrix[i][j-1]+1 == matrix[i][j] {
- op := NewPatch("add", makePath(p, i), t[j-1])
- return append([]Operation{op}, backtrace(s, t, p, i, j-1, matrix)...)
- }
- if i > 0 && j > 0 && matrix[i-1][j-1]+1 == matrix[i][j] {
- if isBasicType(s[0]) {
- op := NewPatch("replace", makePath(p, i-1), t[j-1])
- return append([]Operation{op}, backtrace(s, t, p, i-1, j-1, matrix)...)
- }
-
- p2, _ := handleValues(s[j-1], t[j-1], makePath(p, i-1), []Operation{})
- return append(p2, backtrace(s, t, p, i-1, j-1, matrix)...)
- }
- if i > 0 && j > 0 && matrix[i-1][j-1] == matrix[i][j] {
- return backtrace(s, t, p, i-1, j-1, matrix)
- }
- return []Operation{}
-}
diff --git a/vendor/github.com/beorn7/perks/LICENSE b/vendor/github.com/beorn7/perks/LICENSE
deleted file mode 100644
index 339177b..0000000
--- a/vendor/github.com/beorn7/perks/LICENSE
+++ /dev/null
@@ -1,20 +0,0 @@
-Copyright (C) 2013 Blake Mizerany
-
-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/vendor/github.com/beorn7/perks/quantile/stream.go b/vendor/github.com/beorn7/perks/quantile/stream.go
deleted file mode 100644
index d7d14f8..0000000
--- a/vendor/github.com/beorn7/perks/quantile/stream.go
+++ /dev/null
@@ -1,316 +0,0 @@
-// Package quantile computes approximate quantiles over an unbounded data
-// stream within low memory and CPU bounds.
-//
-// A small amount of accuracy is traded to achieve the above properties.
-//
-// Multiple streams can be merged before calling Query to generate a single set
-// of results. This is meaningful when the streams represent the same type of
-// data. See Merge and Samples.
-//
-// For more detailed information about the algorithm used, see:
-//
-// Effective Computation of Biased Quantiles over Data Streams
-//
-// http://www.cs.rutgers.edu/~muthu/bquant.pdf
-package quantile
-
-import (
- "math"
- "sort"
-)
-
-// Sample holds an observed value and meta information for compression. JSON
-// tags have been added for convenience.
-type Sample struct {
- Value float64 `json:",string"`
- Width float64 `json:",string"`
- Delta float64 `json:",string"`
-}
-
-// Samples represents a slice of samples. It implements sort.Interface.
-type Samples []Sample
-
-func (a Samples) Len() int           { return len(a) }
-func (a Samples) Less(i, j int) bool { return a[i].Value < a[j].Value }
-func (a Samples) Swap(i, j int)      { a[i], a[j] = a[j], a[i] }
-
-type invariant func(s *stream, r float64) float64
-
-// NewLowBiased returns an initialized Stream for low-biased quantiles
-// (e.g. 0.01, 0.1, 0.5) where the needed quantiles are not known a priori, but
-// error guarantees can still be given even for the lower ranks of the data
-// distribution.
-//
-// The provided epsilon is a relative error, i.e. the true quantile of a value
-// returned by a query is guaranteed to be within (1±Epsilon)*Quantile.
-//
-// See http://www.cs.rutgers.edu/~muthu/bquant.pdf for time, space, and error
-// properties.
-func NewLowBiased(epsilon float64) *Stream {
- ƒ := func(s *stream, r float64) float64 {
- return 2 * epsilon * r
- }
- return newStream(ƒ)
-}
-
-// NewHighBiased returns an initialized Stream for high-biased quantiles
-// (e.g. 0.01, 0.1, 0.5) where the needed quantiles are not known a priori, but
-// error guarantees can still be given even for the higher ranks of the data
-// distribution.
-//
-// The provided epsilon is a relative error, i.e. the true quantile of a value
-// returned by a query is guaranteed to be within 1-(1±Epsilon)*(1-Quantile).
-//
-// See http://www.cs.rutgers.edu/~muthu/bquant.pdf for time, space, and error
-// properties.
-func NewHighBiased(epsilon float64) *Stream {
- ƒ := func(s *stream, r float64) float64 {
- return 2 * epsilon * (s.n - r)
- }
- return newStream(ƒ)
-}
-
-// NewTargeted returns an initialized Stream concerned with a particular set of
-// quantile values that are supplied a priori. Knowing these a priori reduces
-// space and computation time. The targets map maps the desired quantiles to
-// their absolute errors, i.e. the true quantile of a value returned by a query
-// is guaranteed to be within (Quantile±Epsilon).
-//
-// See http://www.cs.rutgers.edu/~muthu/bquant.pdf for time, space, and error properties.
-func NewTargeted(targetMap map[float64]float64) *Stream {
- // Convert map to slice to avoid slow iterations on a map.
- // ƒ is called on the hot path, so converting the map to a slice
- // beforehand results in significant CPU savings.
- targets := targetMapToSlice(targetMap)
-
- ƒ := func(s *stream, r float64) float64 {
- var m = math.MaxFloat64
- var f float64
- for _, t := range targets {
- if t.quantile*s.n <= r {
- f = (2 * t.epsilon * r) / t.quantile
- } else {
- f = (2 * t.epsilon * (s.n - r)) / (1 - t.quantile)
- }
- if f < m {
- m = f
- }
- }
- return m
- }
- return newStream(ƒ)
-}
-
-type target struct {
- quantile float64
- epsilon  float64
-}
-
-func targetMapToSlice(targetMap map[float64]float64) []target {
- targets := make([]target, 0, len(targetMap))
-
- for quantile, epsilon := range targetMap {
- t := target{
- quantile: quantile,
- epsilon:  epsilon,
- }
- targets = append(targets, t)
- }
-
- return targets
-}
-
-// Stream computes quantiles for a stream of float64s. It is not thread-safe by
-// design. Take care when using across multiple goroutines.
-type Stream struct {
- *stream
- b      Samples
- sorted bool
-}
-
-func newStream(ƒ invariant) *Stream {
- x := &stream{ƒ: ƒ}
- return &Stream{x, make(Samples, 0, 500), true}
-}
-
-// Insert inserts v into the stream.
-func (s *Stream) Insert(v float64) {
- s.insert(Sample{Value: v, Width: 1})
-}
-
-func (s *Stream) insert(sample Sample) {
- s.b = append(s.b, sample)
- s.sorted = false
- if len(s.b) == cap(s.b) {
- s.flush()
- }
-}
-
-// Query returns the computed qth percentiles value. If s was created with
-// NewTargeted, and q is not in the set of quantiles provided a priori, Query
-// will return an unspecified result.
-func (s *Stream) Query(q float64) float64 {
- if !s.flushed() {
- // Fast path when there hasn't been enough data for a flush;
- // this also yields better accuracy for small sets of data.
- l := len(s.b)
- if l == 0 {
- return 0
- }
- i := int(math.Ceil(float64(l) * q))
- if i > 0 {
- i -= 1
- }
- s.maybeSort()
- return s.b[i].Value
- }
- s.flush()
- return s.stream.query(q)
-}
-
-// Merge merges samples into the underlying streams samples. This is handy when
-// merging multiple streams from separate threads, database shards, etc.
-//
-// ATTENTION: This method is broken and does not yield correct results. The
-// underlying algorithm is not capable of merging streams correctly.
-func (s *Stream) Merge(samples Samples) {
- sort.Sort(samples)
- s.stream.merge(samples)
-}
-
-// Reset reinitializes and clears the list reusing the samples buffer memory.
-func (s *Stream) Reset() {
- s.stream.reset()
- s.b = s.b[:0]
-}
-
-// Samples returns stream samples held by s.
-func (s *Stream) Samples() Samples {
- if !s.flushed() {
- return s.b
- }
- s.flush()
- return s.stream.samples()
-}
-
-// Count returns the total number of samples observed in the stream
-// since initialization.
-func (s *Stream) Count() int {
- return len(s.b) + s.stream.count()
-}
-
-func (s *Stream) flush() {
- s.maybeSort()
- s.stream.merge(s.b)
- s.b = s.b[:0]
-}
-
-func (s *Stream) maybeSort() {
- if !s.sorted {
- s.sorted = true
- sort.Sort(s.b)
- }
-}
-
-func (s *Stream) flushed() bool {
- return len(s.stream.l) > 0
-}
-
-type stream struct {
- n float64
- l []Sample
- ƒ invariant
-}
-
-func (s *stream) reset() {
- s.l = s.l[:0]
- s.n = 0
-}
-
-func (s *stream) insert(v float64) {
- s.merge(Samples{{v, 1, 0}})
-}
-
-func (s *stream) merge(samples Samples) {
- // TODO(beorn7): This tries to merge not only individual samples, but
- // whole summaries. The paper doesn't mention merging summaries at
- // all. Unittests show that the merging is inaccurate. Find out how to
- // do merges properly.
- var r float64
- i := 0
- for _, sample := range samples {
- for ; i < len(s.l); i++ {
- c := s.l[i]
- if c.Value > sample.Value {
- // Insert at position i.
- s.l = append(s.l, Sample{})
- copy(s.l[i+1:], s.l[i:])
- s.l[i] = Sample{
- sample.Value,
- sample.Width,
- math.Max(sample.Delta, math.Floor(s.ƒ(s, r))-1),
- // TODO(beorn7): How to calculate delta correctly?
- }
- i++
- goto inserted
- }
- r += c.Width
- }
- s.l = append(s.l, Sample{sample.Value, sample.Width, 0})
- i++
- inserted:
- s.n += sample.Width
- r += sample.Width
- }
- s.compress()
-}
-
-func (s *stream) count() int {
- return int(s.n)
-}
-
-func (s *stream) query(q float64) float64 {
- t := math.Ceil(q * s.n)
- t += math.Ceil(s.ƒ(s, t) / 2)
- p := s.l[0]
- var r float64
- for _, c := range s.l[1:] {
- r += p.Width
- if r+c.Width+c.Delta > t {
- return p.Value
- }
- p = c
- }
- return p.Value
-}
-
-func (s *stream) compress() {
- if len(s.l) < 2 {
- return
- }
- x := s.l[len(s.l)-1]
- xi := len(s.l) - 1
- r := s.n - 1 - x.Width
-
- for i := len(s.l) - 2; i >= 0; i-- {
- c := s.l[i]
- if c.Width+x.Width+x.Delta <= s.ƒ(s, r) {
- x.Width += c.Width
- s.l[xi] = x
- // Remove element at i.
- copy(s.l[i:], s.l[i+1:])
- s.l = s.l[:len(s.l)-1]
- xi -= 1
- } else {
- x = c
- xi = i
- }
- r -= c.Width
- }
-}
-
-func (s *stream) samples() Samples {
- samples := make(Samples, len(s.l))
- copy(samples, s.l)
- return samples
-}
diff --git a/vendor/github.com/coreos/prometheus-operator/LICENSE b/vendor/github.com/coreos/prometheus-operator/LICENSE
deleted file mode 100644
index e06d208..0000000
--- a/vendor/github.com/coreos/prometheus-operator/LICENSE
+++ /dev/null
@@ -1,202 +0,0 @@
-Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "{}"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright {yyyy} {name of copyright owner}
-
-   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.
-
diff --git a/vendor/github.com/coreos/prometheus-operator/NOTICE b/vendor/github.com/coreos/prometheus-operator/NOTICE
deleted file mode 100644
index e520005..0000000
--- a/vendor/github.com/coreos/prometheus-operator/NOTICE
+++ /dev/null
@@ -1,5 +0,0 @@
-CoreOS Project
-Copyright 2015 CoreOS, Inc
-
-This product includes software developed at CoreOS, Inc.
-(http://www.coreos.com/).
diff --git a/vendor/github.com/coreos/prometheus-operator/pkg/apis/monitoring/register.go b/vendor/github.com/coreos/prometheus-operator/pkg/apis/monitoring/register.go
deleted file mode 100644
index a9914fb..0000000
--- a/vendor/github.com/coreos/prometheus-operator/pkg/apis/monitoring/register.go
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright 2018 The prometheus-operator 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 monitoring
-
-const (
- GroupName = "monitoring.coreos.com"
-)
diff --git a/vendor/github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1/crd_kinds.go b/vendor/github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1/crd_kinds.go
deleted file mode 100644
index 8e3ab87..0000000
--- a/vendor/github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1/crd_kinds.go
+++ /dev/null
@@ -1,81 +0,0 @@
-// Copyright 2018 The prometheus-operator 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 v1
-
-import (
- "fmt"
- "strings"
-)
-
-type CrdKind struct {
- Kind     string
- Plural   string
- SpecName string
-}
-
-type CrdKinds struct {
- KindsString    string
- Prometheus     CrdKind
- Alertmanager   CrdKind
- ServiceMonitor CrdKind
- PrometheusRule CrdKind
-}
-
-var DefaultCrdKinds = CrdKinds{
- KindsString:    "",
- Prometheus:     CrdKind{Plural: PrometheusName, Kind: PrometheusesKind, SpecName: "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Prometheus"},
- ServiceMonitor: CrdKind{Plural: ServiceMonitorName, Kind: ServiceMonitorsKind, SpecName: "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ServiceMonitor"},
- Alertmanager:   CrdKind{Plural: AlertmanagerName, Kind: AlertmanagersKind, SpecName: "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Alertmanager"},
- PrometheusRule: CrdKind{Plural: PrometheusRuleName, Kind: PrometheusRuleKind, SpecName: "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusRule"},
-}
-
-// Implement the flag.Value interface
-func (crdkinds *CrdKinds) String() string {
- return crdkinds.KindsString
-}
-
-// Set Implement the flag.Set interface
-func (crdkinds *CrdKinds) Set(value string) error {
- *crdkinds = DefaultCrdKinds
- if value == "" {
- value = fmt.Sprintf("%s=%s:%s,%s=%s:%s,%s=%s:%s,%s=%s:%s",
- PrometheusKindKey, PrometheusesKind, PrometheusName,
- AlertManagerKindKey, AlertmanagersKind, AlertmanagerName,
- ServiceMonitorKindKey, ServiceMonitorsKind, ServiceMonitorName,
- PrometheusRuleKindKey, PrometheusRuleKind, PrometheusRuleName,
- )
- }
- splited := strings.Split(value, ",")
- for _, pair := range splited {
- sp := strings.Split(pair, "=")
- kind := strings.Split(sp[1], ":")
- crdKind := CrdKind{Plural: kind[1], Kind: kind[0]}
- switch kindKey := sp[0]; kindKey {
- case PrometheusKindKey:
- (*crdkinds).Prometheus = crdKind
- case ServiceMonitorKindKey:
- (*crdkinds).ServiceMonitor = crdKind
- case AlertManagerKindKey:
- (*crdkinds).Alertmanager = crdKind
- case PrometheusRuleKindKey:
- (*crdkinds).PrometheusRule = crdKind
- default:
- fmt.Printf("Warning: unknown kind: %s... ignoring", kindKey)
- }
-
- }
- (*crdkinds).KindsString = value
- return nil
-}
diff --git a/vendor/github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1/doc.go b/vendor/github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1/doc.go
deleted file mode 100644
index 64c4725..0000000
--- a/vendor/github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1/doc.go
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright 2017 The prometheus-operator 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
-// +groupName=monitoring.coreos.com
-
-package v1
diff --git a/vendor/github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1/openapi_generated.go b/vendor/github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1/openapi_generated.go
deleted file mode 100644
index bf4f6ae..0000000
--- a/vendor/github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1/openapi_generated.go
+++ /dev/null
@@ -1,13802 +0,0 @@
-// +build !ignore_autogenerated
-
-// Copyright 2018 The prometheus-operator 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 openapi-gen. DO NOT EDIT.
-
-// This file was autogenerated by openapi-gen. Do not edit it manually!
-
-package v1
-
-import (
- spec "github.com/go-openapi/spec"
- v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
- common "k8s.io/kube-openapi/pkg/common"
-)
-
-func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition {
- return map[string]common.OpenAPIDefinition{
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.APIServerConfig":       schema_pkg_apis_monitoring_v1_APIServerConfig(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertingSpec":          schema_pkg_apis_monitoring_v1_AlertingSpec(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Alertmanager":          schema_pkg_apis_monitoring_v1_Alertmanager(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertmanagerEndpoints": schema_pkg_apis_monitoring_v1_AlertmanagerEndpoints(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertmanagerList":      schema_pkg_apis_monitoring_v1_AlertmanagerList(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertmanagerSpec":      schema_pkg_apis_monitoring_v1_AlertmanagerSpec(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertmanagerStatus":    schema_pkg_apis_monitoring_v1_AlertmanagerStatus(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.BasicAuth":             schema_pkg_apis_monitoring_v1_BasicAuth(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Endpoint":              schema_pkg_apis_monitoring_v1_Endpoint(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.NamespaceSelector":     schema_pkg_apis_monitoring_v1_NamespaceSelector(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Prometheus":            schema_pkg_apis_monitoring_v1_Prometheus(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusList":        schema_pkg_apis_monitoring_v1_PrometheusList(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusRule":        schema_pkg_apis_monitoring_v1_PrometheusRule(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusRuleList":    schema_pkg_apis_monitoring_v1_PrometheusRuleList(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusRuleSpec":    schema_pkg_apis_monitoring_v1_PrometheusRuleSpec(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusSpec":        schema_pkg_apis_monitoring_v1_PrometheusSpec(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusStatus":      schema_pkg_apis_monitoring_v1_PrometheusStatus(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.QuerySpec":             schema_pkg_apis_monitoring_v1_QuerySpec(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.QueueConfig":           schema_pkg_apis_monitoring_v1_QueueConfig(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RelabelConfig":         schema_pkg_apis_monitoring_v1_RelabelConfig(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RemoteReadSpec":        schema_pkg_apis_monitoring_v1_RemoteReadSpec(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RemoteWriteSpec":       schema_pkg_apis_monitoring_v1_RemoteWriteSpec(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Rule":                  schema_pkg_apis_monitoring_v1_Rule(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RuleGroup":             schema_pkg_apis_monitoring_v1_RuleGroup(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ServiceMonitor":        schema_pkg_apis_monitoring_v1_ServiceMonitor(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ServiceMonitorList":    schema_pkg_apis_monitoring_v1_ServiceMonitorList(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ServiceMonitorSpec":    schema_pkg_apis_monitoring_v1_ServiceMonitorSpec(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.StorageSpec":           schema_pkg_apis_monitoring_v1_StorageSpec(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.TLSConfig":             schema_pkg_apis_monitoring_v1_TLSConfig(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ThanosGCSSpec":         schema_pkg_apis_monitoring_v1_ThanosGCSSpec(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ThanosS3Spec":          schema_pkg_apis_monitoring_v1_ThanosS3Spec(ref),
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ThanosSpec":            schema_pkg_apis_monitoring_v1_ThanosSpec(ref),
- "k8s.io/api/core/v1.AWSElasticBlockStoreVolumeSource":                                schema_k8sio_api_core_v1_AWSElasticBlockStoreVolumeSource(ref),
- "k8s.io/api/core/v1.Affinity":                                    schema_k8sio_api_core_v1_Affinity(ref),
- "k8s.io/api/core/v1.AttachedVolume":                              schema_k8sio_api_core_v1_AttachedVolume(ref),
- "k8s.io/api/core/v1.AvoidPods":                                   schema_k8sio_api_core_v1_AvoidPods(ref),
- "k8s.io/api/core/v1.AzureDiskVolumeSource":                       schema_k8sio_api_core_v1_AzureDiskVolumeSource(ref),
- "k8s.io/api/core/v1.AzureFilePersistentVolumeSource":             schema_k8sio_api_core_v1_AzureFilePersistentVolumeSource(ref),
- "k8s.io/api/core/v1.AzureFileVolumeSource":                       schema_k8sio_api_core_v1_AzureFileVolumeSource(ref),
- "k8s.io/api/core/v1.Binding":                                     schema_k8sio_api_core_v1_Binding(ref),
- "k8s.io/api/core/v1.CSIPersistentVolumeSource":                   schema_k8sio_api_core_v1_CSIPersistentVolumeSource(ref),
- "k8s.io/api/core/v1.Capabilities":                                schema_k8sio_api_core_v1_Capabilities(ref),
- "k8s.io/api/core/v1.CephFSPersistentVolumeSource":                schema_k8sio_api_core_v1_CephFSPersistentVolumeSource(ref),
- "k8s.io/api/core/v1.CephFSVolumeSource":                          schema_k8sio_api_core_v1_CephFSVolumeSource(ref),
- "k8s.io/api/core/v1.CinderPersistentVolumeSource":                schema_k8sio_api_core_v1_CinderPersistentVolumeSource(ref),
- "k8s.io/api/core/v1.CinderVolumeSource":                          schema_k8sio_api_core_v1_CinderVolumeSource(ref),
- "k8s.io/api/core/v1.ClientIPConfig":                              schema_k8sio_api_core_v1_ClientIPConfig(ref),
- "k8s.io/api/core/v1.ComponentCondition":                          schema_k8sio_api_core_v1_ComponentCondition(ref),
- "k8s.io/api/core/v1.ComponentStatus":                             schema_k8sio_api_core_v1_ComponentStatus(ref),
- "k8s.io/api/core/v1.ComponentStatusList":                         schema_k8sio_api_core_v1_ComponentStatusList(ref),
- "k8s.io/api/core/v1.ConfigMap":                                   schema_k8sio_api_core_v1_ConfigMap(ref),
- "k8s.io/api/core/v1.ConfigMapEnvSource":                          schema_k8sio_api_core_v1_ConfigMapEnvSource(ref),
- "k8s.io/api/core/v1.ConfigMapKeySelector":                        schema_k8sio_api_core_v1_ConfigMapKeySelector(ref),
- "k8s.io/api/core/v1.ConfigMapList":                               schema_k8sio_api_core_v1_ConfigMapList(ref),
- "k8s.io/api/core/v1.ConfigMapNodeConfigSource":                   schema_k8sio_api_core_v1_ConfigMapNodeConfigSource(ref),
- "k8s.io/api/core/v1.ConfigMapProjection":                         schema_k8sio_api_core_v1_ConfigMapProjection(ref),
- "k8s.io/api/core/v1.ConfigMapVolumeSource":                       schema_k8sio_api_core_v1_ConfigMapVolumeSource(ref),
- "k8s.io/api/core/v1.Container":                                   schema_k8sio_api_core_v1_Container(ref),
- "k8s.io/api/core/v1.ContainerImage":                              schema_k8sio_api_core_v1_ContainerImage(ref),
- "k8s.io/api/core/v1.ContainerPort":                               schema_k8sio_api_core_v1_ContainerPort(ref),
- "k8s.io/api/core/v1.ContainerState":                              schema_k8sio_api_core_v1_ContainerState(ref),
- "k8s.io/api/core/v1.ContainerStateRunning":                       schema_k8sio_api_core_v1_ContainerStateRunning(ref),
- "k8s.io/api/core/v1.ContainerStateTerminated":                    schema_k8sio_api_core_v1_ContainerStateTerminated(ref),
- "k8s.io/api/core/v1.ContainerStateWaiting":                       schema_k8sio_api_core_v1_ContainerStateWaiting(ref),
- "k8s.io/api/core/v1.ContainerStatus":                             schema_k8sio_api_core_v1_ContainerStatus(ref),
- "k8s.io/api/core/v1.DaemonEndpoint":                              schema_k8sio_api_core_v1_DaemonEndpoint(ref),
- "k8s.io/api/core/v1.DownwardAPIProjection":                       schema_k8sio_api_core_v1_DownwardAPIProjection(ref),
- "k8s.io/api/core/v1.DownwardAPIVolumeFile":                       schema_k8sio_api_core_v1_DownwardAPIVolumeFile(ref),
- "k8s.io/api/core/v1.DownwardAPIVolumeSource":                     schema_k8sio_api_core_v1_DownwardAPIVolumeSource(ref),
- "k8s.io/api/core/v1.EmptyDirVolumeSource":                        schema_k8sio_api_core_v1_EmptyDirVolumeSource(ref),
- "k8s.io/api/core/v1.EndpointAddress":                             schema_k8sio_api_core_v1_EndpointAddress(ref),
- "k8s.io/api/core/v1.EndpointPort":                                schema_k8sio_api_core_v1_EndpointPort(ref),
- "k8s.io/api/core/v1.EndpointSubset":                              schema_k8sio_api_core_v1_EndpointSubset(ref),
- "k8s.io/api/core/v1.Endpoints":                                   schema_k8sio_api_core_v1_Endpoints(ref),
- "k8s.io/api/core/v1.EndpointsList":                               schema_k8sio_api_core_v1_EndpointsList(ref),
- "k8s.io/api/core/v1.EnvFromSource":                               schema_k8sio_api_core_v1_EnvFromSource(ref),
- "k8s.io/api/core/v1.EnvVar":                                      schema_k8sio_api_core_v1_EnvVar(ref),
- "k8s.io/api/core/v1.EnvVarSource":                                schema_k8sio_api_core_v1_EnvVarSource(ref),
- "k8s.io/api/core/v1.Event":                                       schema_k8sio_api_core_v1_Event(ref),
- "k8s.io/api/core/v1.EventList":                                   schema_k8sio_api_core_v1_EventList(ref),
- "k8s.io/api/core/v1.EventSeries":                                 schema_k8sio_api_core_v1_EventSeries(ref),
- "k8s.io/api/core/v1.EventSource":                                 schema_k8sio_api_core_v1_EventSource(ref),
- "k8s.io/api/core/v1.ExecAction":                                  schema_k8sio_api_core_v1_ExecAction(ref),
- "k8s.io/api/core/v1.FCVolumeSource":                              schema_k8sio_api_core_v1_FCVolumeSource(ref),
- "k8s.io/api/core/v1.FlexPersistentVolumeSource":                  schema_k8sio_api_core_v1_FlexPersistentVolumeSource(ref),
- "k8s.io/api/core/v1.FlexVolumeSource":                            schema_k8sio_api_core_v1_FlexVolumeSource(ref),
- "k8s.io/api/core/v1.FlockerVolumeSource":                         schema_k8sio_api_core_v1_FlockerVolumeSource(ref),
- "k8s.io/api/core/v1.GCEPersistentDiskVolumeSource":               schema_k8sio_api_core_v1_GCEPersistentDiskVolumeSource(ref),
- "k8s.io/api/core/v1.GitRepoVolumeSource":                         schema_k8sio_api_core_v1_GitRepoVolumeSource(ref),
- "k8s.io/api/core/v1.GlusterfsVolumeSource":                       schema_k8sio_api_core_v1_GlusterfsVolumeSource(ref),
- "k8s.io/api/core/v1.HTTPGetAction":                               schema_k8sio_api_core_v1_HTTPGetAction(ref),
- "k8s.io/api/core/v1.HTTPHeader":                                  schema_k8sio_api_core_v1_HTTPHeader(ref),
- "k8s.io/api/core/v1.Handler":                                     schema_k8sio_api_core_v1_Handler(ref),
- "k8s.io/api/core/v1.HostAlias":                                   schema_k8sio_api_core_v1_HostAlias(ref),
- "k8s.io/api/core/v1.HostPathVolumeSource":                        schema_k8sio_api_core_v1_HostPathVolumeSource(ref),
- "k8s.io/api/core/v1.ISCSIPersistentVolumeSource":                 schema_k8sio_api_core_v1_ISCSIPersistentVolumeSource(ref),
- "k8s.io/api/core/v1.ISCSIVolumeSource":                           schema_k8sio_api_core_v1_ISCSIVolumeSource(ref),
- "k8s.io/api/core/v1.KeyToPath":                                   schema_k8sio_api_core_v1_KeyToPath(ref),
- "k8s.io/api/core/v1.Lifecycle":                                   schema_k8sio_api_core_v1_Lifecycle(ref),
- "k8s.io/api/core/v1.LimitRange":                                  schema_k8sio_api_core_v1_LimitRange(ref),
- "k8s.io/api/core/v1.LimitRangeItem":                              schema_k8sio_api_core_v1_LimitRangeItem(ref),
- "k8s.io/api/core/v1.LimitRangeList":                              schema_k8sio_api_core_v1_LimitRangeList(ref),
- "k8s.io/api/core/v1.LimitRangeSpec":                              schema_k8sio_api_core_v1_LimitRangeSpec(ref),
- "k8s.io/api/core/v1.List":                                        schema_k8sio_api_core_v1_List(ref),
- "k8s.io/api/core/v1.LoadBalancerIngress":                         schema_k8sio_api_core_v1_LoadBalancerIngress(ref),
- "k8s.io/api/core/v1.LoadBalancerStatus":                          schema_k8sio_api_core_v1_LoadBalancerStatus(ref),
- "k8s.io/api/core/v1.LocalObjectReference":                        schema_k8sio_api_core_v1_LocalObjectReference(ref),
- "k8s.io/api/core/v1.LocalVolumeSource":                           schema_k8sio_api_core_v1_LocalVolumeSource(ref),
- "k8s.io/api/core/v1.NFSVolumeSource":                             schema_k8sio_api_core_v1_NFSVolumeSource(ref),
- "k8s.io/api/core/v1.Namespace":                                   schema_k8sio_api_core_v1_Namespace(ref),
- "k8s.io/api/core/v1.NamespaceList":                               schema_k8sio_api_core_v1_NamespaceList(ref),
- "k8s.io/api/core/v1.NamespaceSpec":                               schema_k8sio_api_core_v1_NamespaceSpec(ref),
- "k8s.io/api/core/v1.NamespaceStatus":                             schema_k8sio_api_core_v1_NamespaceStatus(ref),
- "k8s.io/api/core/v1.Node":                                        schema_k8sio_api_core_v1_Node(ref),
- "k8s.io/api/core/v1.NodeAddress":                                 schema_k8sio_api_core_v1_NodeAddress(ref),
- "k8s.io/api/core/v1.NodeAffinity":                                schema_k8sio_api_core_v1_NodeAffinity(ref),
- "k8s.io/api/core/v1.NodeCondition":                               schema_k8sio_api_core_v1_NodeCondition(ref),
- "k8s.io/api/core/v1.NodeConfigSource":                            schema_k8sio_api_core_v1_NodeConfigSource(ref),
- "k8s.io/api/core/v1.NodeConfigStatus":                            schema_k8sio_api_core_v1_NodeConfigStatus(ref),
- "k8s.io/api/core/v1.NodeDaemonEndpoints":                         schema_k8sio_api_core_v1_NodeDaemonEndpoints(ref),
- "k8s.io/api/core/v1.NodeList":                                    schema_k8sio_api_core_v1_NodeList(ref),
- "k8s.io/api/core/v1.NodeProxyOptions":                            schema_k8sio_api_core_v1_NodeProxyOptions(ref),
- "k8s.io/api/core/v1.NodeResources":                               schema_k8sio_api_core_v1_NodeResources(ref),
- "k8s.io/api/core/v1.NodeSelector":                                schema_k8sio_api_core_v1_NodeSelector(ref),
- "k8s.io/api/core/v1.NodeSelectorRequirement":                     schema_k8sio_api_core_v1_NodeSelectorRequirement(ref),
- "k8s.io/api/core/v1.NodeSelectorTerm":                            schema_k8sio_api_core_v1_NodeSelectorTerm(ref),
- "k8s.io/api/core/v1.NodeSpec":                                    schema_k8sio_api_core_v1_NodeSpec(ref),
- "k8s.io/api/core/v1.NodeStatus":                                  schema_k8sio_api_core_v1_NodeStatus(ref),
- "k8s.io/api/core/v1.NodeSystemInfo":                              schema_k8sio_api_core_v1_NodeSystemInfo(ref),
- "k8s.io/api/core/v1.ObjectFieldSelector":                         schema_k8sio_api_core_v1_ObjectFieldSelector(ref),
- "k8s.io/api/core/v1.ObjectReference":                             schema_k8sio_api_core_v1_ObjectReference(ref),
- "k8s.io/api/core/v1.PersistentVolume":                            schema_k8sio_api_core_v1_PersistentVolume(ref),
- "k8s.io/api/core/v1.PersistentVolumeClaim":                       schema_k8sio_api_core_v1_PersistentVolumeClaim(ref),
- "k8s.io/api/core/v1.PersistentVolumeClaimCondition":              schema_k8sio_api_core_v1_PersistentVolumeClaimCondition(ref),
- "k8s.io/api/core/v1.PersistentVolumeClaimList":                   schema_k8sio_api_core_v1_PersistentVolumeClaimList(ref),
- "k8s.io/api/core/v1.PersistentVolumeClaimSpec":                   schema_k8sio_api_core_v1_PersistentVolumeClaimSpec(ref),
- "k8s.io/api/core/v1.PersistentVolumeClaimStatus":                 schema_k8sio_api_core_v1_PersistentVolumeClaimStatus(ref),
- "k8s.io/api/core/v1.PersistentVolumeClaimVolumeSource":           schema_k8sio_api_core_v1_PersistentVolumeClaimVolumeSource(ref),
- "k8s.io/api/core/v1.PersistentVolumeList":                        schema_k8sio_api_core_v1_PersistentVolumeList(ref),
- "k8s.io/api/core/v1.PersistentVolumeSource":                      schema_k8sio_api_core_v1_PersistentVolumeSource(ref),
- "k8s.io/api/core/v1.PersistentVolumeSpec":                        schema_k8sio_api_core_v1_PersistentVolumeSpec(ref),
- "k8s.io/api/core/v1.PersistentVolumeStatus":                      schema_k8sio_api_core_v1_PersistentVolumeStatus(ref),
- "k8s.io/api/core/v1.PhotonPersistentDiskVolumeSource":            schema_k8sio_api_core_v1_PhotonPersistentDiskVolumeSource(ref),
- "k8s.io/api/core/v1.Pod":                                         schema_k8sio_api_core_v1_Pod(ref),
- "k8s.io/api/core/v1.PodAffinity":                                 schema_k8sio_api_core_v1_PodAffinity(ref),
- "k8s.io/api/core/v1.PodAffinityTerm":                             schema_k8sio_api_core_v1_PodAffinityTerm(ref),
- "k8s.io/api/core/v1.PodAntiAffinity":                             schema_k8sio_api_core_v1_PodAntiAffinity(ref),
- "k8s.io/api/core/v1.PodAttachOptions":                            schema_k8sio_api_core_v1_PodAttachOptions(ref),
- "k8s.io/api/core/v1.PodCondition":                                schema_k8sio_api_core_v1_PodCondition(ref),
- "k8s.io/api/core/v1.PodDNSConfig":                                schema_k8sio_api_core_v1_PodDNSConfig(ref),
- "k8s.io/api/core/v1.PodDNSConfigOption":                          schema_k8sio_api_core_v1_PodDNSConfigOption(ref),
- "k8s.io/api/core/v1.PodExecOptions":                              schema_k8sio_api_core_v1_PodExecOptions(ref),
- "k8s.io/api/core/v1.PodList":                                     schema_k8sio_api_core_v1_PodList(ref),
- "k8s.io/api/core/v1.PodLogOptions":                               schema_k8sio_api_core_v1_PodLogOptions(ref),
- "k8s.io/api/core/v1.PodPortForwardOptions":                       schema_k8sio_api_core_v1_PodPortForwardOptions(ref),
- "k8s.io/api/core/v1.PodProxyOptions":                             schema_k8sio_api_core_v1_PodProxyOptions(ref),
- "k8s.io/api/core/v1.PodReadinessGate":                            schema_k8sio_api_core_v1_PodReadinessGate(ref),
- "k8s.io/api/core/v1.PodSecurityContext":                          schema_k8sio_api_core_v1_PodSecurityContext(ref),
- "k8s.io/api/core/v1.PodSignature":                                schema_k8sio_api_core_v1_PodSignature(ref),
- "k8s.io/api/core/v1.PodSpec":                                     schema_k8sio_api_core_v1_PodSpec(ref),
- "k8s.io/api/core/v1.PodStatus":                                   schema_k8sio_api_core_v1_PodStatus(ref),
- "k8s.io/api/core/v1.PodStatusResult":                             schema_k8sio_api_core_v1_PodStatusResult(ref),
- "k8s.io/api/core/v1.PodTemplate":                                 schema_k8sio_api_core_v1_PodTemplate(ref),
- "k8s.io/api/core/v1.PodTemplateList":                             schema_k8sio_api_core_v1_PodTemplateList(ref),
- "k8s.io/api/core/v1.PodTemplateSpec":                             schema_k8sio_api_core_v1_PodTemplateSpec(ref),
- "k8s.io/api/core/v1.PortworxVolumeSource":                        schema_k8sio_api_core_v1_PortworxVolumeSource(ref),
- "k8s.io/api/core/v1.PreferAvoidPodsEntry":                        schema_k8sio_api_core_v1_PreferAvoidPodsEntry(ref),
- "k8s.io/api/core/v1.PreferredSchedulingTerm":                     schema_k8sio_api_core_v1_PreferredSchedulingTerm(ref),
- "k8s.io/api/core/v1.Probe":                                       schema_k8sio_api_core_v1_Probe(ref),
- "k8s.io/api/core/v1.ProjectedVolumeSource":                       schema_k8sio_api_core_v1_ProjectedVolumeSource(ref),
- "k8s.io/api/core/v1.QuobyteVolumeSource":                         schema_k8sio_api_core_v1_QuobyteVolumeSource(ref),
- "k8s.io/api/core/v1.RBDPersistentVolumeSource":                   schema_k8sio_api_core_v1_RBDPersistentVolumeSource(ref),
- "k8s.io/api/core/v1.RBDVolumeSource":                             schema_k8sio_api_core_v1_RBDVolumeSource(ref),
- "k8s.io/api/core/v1.RangeAllocation":                             schema_k8sio_api_core_v1_RangeAllocation(ref),
- "k8s.io/api/core/v1.ReplicationController":                       schema_k8sio_api_core_v1_ReplicationController(ref),
- "k8s.io/api/core/v1.ReplicationControllerCondition":              schema_k8sio_api_core_v1_ReplicationControllerCondition(ref),
- "k8s.io/api/core/v1.ReplicationControllerList":                   schema_k8sio_api_core_v1_ReplicationControllerList(ref),
- "k8s.io/api/core/v1.ReplicationControllerSpec":                   schema_k8sio_api_core_v1_ReplicationControllerSpec(ref),
- "k8s.io/api/core/v1.ReplicationControllerStatus":                 schema_k8sio_api_core_v1_ReplicationControllerStatus(ref),
- "k8s.io/api/core/v1.ResourceFieldSelector":                       schema_k8sio_api_core_v1_ResourceFieldSelector(ref),
- "k8s.io/api/core/v1.ResourceQuota":                               schema_k8sio_api_core_v1_ResourceQuota(ref),
- "k8s.io/api/core/v1.ResourceQuotaList":                           schema_k8sio_api_core_v1_ResourceQuotaList(ref),
- "k8s.io/api/core/v1.ResourceQuotaSpec":                           schema_k8sio_api_core_v1_ResourceQuotaSpec(ref),
- "k8s.io/api/core/v1.ResourceQuotaStatus":                         schema_k8sio_api_core_v1_ResourceQuotaStatus(ref),
- "k8s.io/api/core/v1.ResourceRequirements":                        schema_k8sio_api_core_v1_ResourceRequirements(ref),
- "k8s.io/api/core/v1.SELinuxOptions":                              schema_k8sio_api_core_v1_SELinuxOptions(ref),
- "k8s.io/api/core/v1.ScaleIOPersistentVolumeSource":               schema_k8sio_api_core_v1_ScaleIOPersistentVolumeSource(ref),
- "k8s.io/api/core/v1.ScaleIOVolumeSource":                         schema_k8sio_api_core_v1_ScaleIOVolumeSource(ref),
- "k8s.io/api/core/v1.ScopeSelector":                               schema_k8sio_api_core_v1_ScopeSelector(ref),
- "k8s.io/api/core/v1.ScopedResourceSelectorRequirement":           schema_k8sio_api_core_v1_ScopedResourceSelectorRequirement(ref),
- "k8s.io/api/core/v1.Secret":                                      schema_k8sio_api_core_v1_Secret(ref),
- "k8s.io/api/core/v1.SecretEnvSource":                             schema_k8sio_api_core_v1_SecretEnvSource(ref),
- "k8s.io/api/core/v1.SecretKeySelector":                           schema_k8sio_api_core_v1_SecretKeySelector(ref),
- "k8s.io/api/core/v1.SecretList":                                  schema_k8sio_api_core_v1_SecretList(ref),
- "k8s.io/api/core/v1.SecretProjection":                            schema_k8sio_api_core_v1_SecretProjection(ref),
- "k8s.io/api/core/v1.SecretReference":                             schema_k8sio_api_core_v1_SecretReference(ref),
- "k8s.io/api/core/v1.SecretVolumeSource":                          schema_k8sio_api_core_v1_SecretVolumeSource(ref),
- "k8s.io/api/core/v1.SecurityContext":                             schema_k8sio_api_core_v1_SecurityContext(ref),
- "k8s.io/api/core/v1.SerializedReference":                         schema_k8sio_api_core_v1_SerializedReference(ref),
- "k8s.io/api/core/v1.Service":                                     schema_k8sio_api_core_v1_Service(ref),
- "k8s.io/api/core/v1.ServiceAccount":                              schema_k8sio_api_core_v1_ServiceAccount(ref),
- "k8s.io/api/core/v1.ServiceAccountList":                          schema_k8sio_api_core_v1_ServiceAccountList(ref),
- "k8s.io/api/core/v1.ServiceAccountTokenProjection":               schema_k8sio_api_core_v1_ServiceAccountTokenProjection(ref),
- "k8s.io/api/core/v1.ServiceList":                                 schema_k8sio_api_core_v1_ServiceList(ref),
- "k8s.io/api/core/v1.ServicePort":                                 schema_k8sio_api_core_v1_ServicePort(ref),
- "k8s.io/api/core/v1.ServiceProxyOptions":                         schema_k8sio_api_core_v1_ServiceProxyOptions(ref),
- "k8s.io/api/core/v1.ServiceSpec":                                 schema_k8sio_api_core_v1_ServiceSpec(ref),
- "k8s.io/api/core/v1.ServiceStatus":                               schema_k8sio_api_core_v1_ServiceStatus(ref),
- "k8s.io/api/core/v1.SessionAffinityConfig":                       schema_k8sio_api_core_v1_SessionAffinityConfig(ref),
- "k8s.io/api/core/v1.StorageOSPersistentVolumeSource":             schema_k8sio_api_core_v1_StorageOSPersistentVolumeSource(ref),
- "k8s.io/api/core/v1.StorageOSVolumeSource":                       schema_k8sio_api_core_v1_StorageOSVolumeSource(ref),
- "k8s.io/api/core/v1.Sysctl":                                      schema_k8sio_api_core_v1_Sysctl(ref),
- "k8s.io/api/core/v1.TCPSocketAction":                             schema_k8sio_api_core_v1_TCPSocketAction(ref),
- "k8s.io/api/core/v1.Taint":                                       schema_k8sio_api_core_v1_Taint(ref),
- "k8s.io/api/core/v1.Toleration":                                  schema_k8sio_api_core_v1_Toleration(ref),
- "k8s.io/api/core/v1.TopologySelectorLabelRequirement":            schema_k8sio_api_core_v1_TopologySelectorLabelRequirement(ref),
- "k8s.io/api/core/v1.TopologySelectorTerm":                        schema_k8sio_api_core_v1_TopologySelectorTerm(ref),
- "k8s.io/api/core/v1.TypedLocalObjectReference":                   schema_k8sio_api_core_v1_TypedLocalObjectReference(ref),
- "k8s.io/api/core/v1.Volume":                                      schema_k8sio_api_core_v1_Volume(ref),
- "k8s.io/api/core/v1.VolumeDevice":                                schema_k8sio_api_core_v1_VolumeDevice(ref),
- "k8s.io/api/core/v1.VolumeMount":                                 schema_k8sio_api_core_v1_VolumeMount(ref),
- "k8s.io/api/core/v1.VolumeNodeAffinity":                          schema_k8sio_api_core_v1_VolumeNodeAffinity(ref),
- "k8s.io/api/core/v1.VolumeProjection":                            schema_k8sio_api_core_v1_VolumeProjection(ref),
- "k8s.io/api/core/v1.VolumeSource":                                schema_k8sio_api_core_v1_VolumeSource(ref),
- "k8s.io/api/core/v1.VsphereVirtualDiskVolumeSource":              schema_k8sio_api_core_v1_VsphereVirtualDiskVolumeSource(ref),
- "k8s.io/api/core/v1.WeightedPodAffinityTerm":                     schema_k8sio_api_core_v1_WeightedPodAffinityTerm(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup":                  schema_pkg_apis_meta_v1_APIGroup(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroupList":              schema_pkg_apis_meta_v1_APIGroupList(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.APIResource":               schema_pkg_apis_meta_v1_APIResource(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.APIResourceList":           schema_pkg_apis_meta_v1_APIResourceList(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.APIVersions":               schema_pkg_apis_meta_v1_APIVersions(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.CreateOptions":             schema_pkg_apis_meta_v1_CreateOptions(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.DeleteOptions":             schema_pkg_apis_meta_v1_DeleteOptions(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.Duration":                  schema_pkg_apis_meta_v1_Duration(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.ExportOptions":             schema_pkg_apis_meta_v1_ExportOptions(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.GetOptions":                schema_pkg_apis_meta_v1_GetOptions(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind":                 schema_pkg_apis_meta_v1_GroupKind(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.GroupResource":             schema_pkg_apis_meta_v1_GroupResource(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersion":              schema_pkg_apis_meta_v1_GroupVersion(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery":  schema_pkg_apis_meta_v1_GroupVersionForDiscovery(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionKind":          schema_pkg_apis_meta_v1_GroupVersionKind(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionResource":      schema_pkg_apis_meta_v1_GroupVersionResource(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.Initializer":               schema_pkg_apis_meta_v1_Initializer(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.Initializers":              schema_pkg_apis_meta_v1_Initializers(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.InternalEvent":             schema_pkg_apis_meta_v1_InternalEvent(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector":             schema_pkg_apis_meta_v1_LabelSelector(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement":  schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.List":                      schema_pkg_apis_meta_v1_List(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta":                  schema_pkg_apis_meta_v1_ListMeta(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.ListOptions":               schema_pkg_apis_meta_v1_ListOptions(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime":                 schema_pkg_apis_meta_v1_MicroTime(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta":                schema_pkg_apis_meta_v1_ObjectMeta(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference":            schema_pkg_apis_meta_v1_OwnerReference(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.Patch":                     schema_pkg_apis_meta_v1_Patch(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions":             schema_pkg_apis_meta_v1_Preconditions(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.RootPaths":                 schema_pkg_apis_meta_v1_RootPaths(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR": schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.Status":                    schema_pkg_apis_meta_v1_Status(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause":               schema_pkg_apis_meta_v1_StatusCause(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails":             schema_pkg_apis_meta_v1_StatusDetails(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.Time":                      schema_pkg_apis_meta_v1_Time(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.Timestamp":                 schema_pkg_apis_meta_v1_Timestamp(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.TypeMeta":                  schema_pkg_apis_meta_v1_TypeMeta(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.UpdateOptions":             schema_pkg_apis_meta_v1_UpdateOptions(ref),
- "k8s.io/apimachinery/pkg/apis/meta/v1.WatchEvent":                schema_pkg_apis_meta_v1_WatchEvent(ref),
- }
-}
-
-func schema_pkg_apis_monitoring_v1_APIServerConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "APIServerConfig defines a host and auth methods to access apiserver. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#kubernetes_sd_config",
- Properties: map[string]spec.Schema{
- "host": {
- SchemaProps: spec.SchemaProps{
- Description: "Host of apiserver. A valid string consisting of a hostname or IP followed by an optional port number",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "basicAuth": {
- SchemaProps: spec.SchemaProps{
- Description: "BasicAuth allow an endpoint to authenticate over basic authentication",
- Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.BasicAuth"),
- },
- },
- "bearerToken": {
- SchemaProps: spec.SchemaProps{
- Description: "Bearer token for accessing apiserver.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "bearerTokenFile": {
- SchemaProps: spec.SchemaProps{
- Description: "File to read bearer token for accessing apiserver.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "tlsConfig": {
- SchemaProps: spec.SchemaProps{
- Description: "TLS Config to use for accessing apiserver.",
- Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.TLSConfig"),
- },
- },
- },
- Required: []string{"host"},
- },
- },
- Dependencies: []string{
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.BasicAuth", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.TLSConfig"},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_AlertingSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "AlertingSpec defines parameters for alerting configuration of Prometheus servers.",
- Properties: map[string]spec.Schema{
- "alertmanagers": {
- SchemaProps: spec.SchemaProps{
- Description: "AlertmanagerEndpoints Prometheus should fire alerts against.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertmanagerEndpoints"),
- },
- },
- },
- },
- },
- },
- Required: []string{"alertmanagers"},
- },
- },
- Dependencies: []string{
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertmanagerEndpoints"},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_Alertmanager(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "Alertmanager describes an Alertmanager cluster.",
- Properties: map[string]spec.Schema{
- "kind": {
- SchemaProps: spec.SchemaProps{
- Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "apiVersion": {
- SchemaProps: spec.SchemaProps{
- Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "spec": {
- SchemaProps: spec.SchemaProps{
- Description: "Specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status",
- Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertmanagerSpec"),
- },
- },
- "status": {
- SchemaProps: spec.SchemaProps{
- Description: "Most recent observed status of the Alertmanager cluster. Read-only. Not included when requesting from the apiserver, only from the Prometheus Operator API itself. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status",
- Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertmanagerStatus"),
- },
- },
- },
- Required: []string{"spec"},
- },
- },
- Dependencies: []string{
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertmanagerSpec", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertmanagerStatus"},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_AlertmanagerEndpoints(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "AlertmanagerEndpoints defines a selection of a single Endpoints object containing alertmanager IPs to fire alerts against.",
- Properties: map[string]spec.Schema{
- "namespace": {
- SchemaProps: spec.SchemaProps{
- Description: "Namespace of Endpoints object.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "name": {
- SchemaProps: spec.SchemaProps{
- Description: "Name of Endpoints object in Namespace.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "port": {
- SchemaProps: spec.SchemaProps{
- Description: "Port the Alertmanager API is exposed on.",
- Ref:         ref("k8s.io/apimachinery/pkg/util/intstr.IntOrString"),
- },
- },
- "scheme": {
- SchemaProps: spec.SchemaProps{
- Description: "Scheme to use when firing alerts.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "pathPrefix": {
- SchemaProps: spec.SchemaProps{
- Description: "Prefix for the HTTP path alerts are pushed to.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "tlsConfig": {
- SchemaProps: spec.SchemaProps{
- Description: "TLS Config to use for alertmanager connection.",
- Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.TLSConfig"),
- },
- },
- "bearerTokenFile": {
- SchemaProps: spec.SchemaProps{
- Description: "BearerTokenFile to read from filesystem to use when authenticating to Alertmanager.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- },
- Required: []string{"namespace", "name", "port"},
- },
- },
- Dependencies: []string{
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.TLSConfig", "k8s.io/apimachinery/pkg/util/intstr.IntOrString"},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_AlertmanagerList(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "AlertmanagerList is a list of Alertmanagers.",
- Properties: map[string]spec.Schema{
- "kind": {
- SchemaProps: spec.SchemaProps{
- Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "apiVersion": {
- SchemaProps: spec.SchemaProps{
- Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "metadata": {
- SchemaProps: spec.SchemaProps{
- Description: "Standard list metadata More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata",
- Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
- },
- },
- "items": {
- SchemaProps: spec.SchemaProps{
- Description: "List of Alertmanagers",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Alertmanager"),
- },
- },
- },
- },
- },
- },
- Required: []string{"items"},
- },
- },
- Dependencies: []string{
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Alertmanager", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_AlertmanagerSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status",
- Properties: map[string]spec.Schema{
- "podMetadata": {
- SchemaProps: spec.SchemaProps{
- Description: "Standard object’s metadata. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata Metadata Labels and Annotations gets propagated to the prometheus pods.",
- Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
- },
- },
- "image": {
- SchemaProps: spec.SchemaProps{
- Description: "Image if specified has precedence over baseImage, tag and sha combinations. Specifying the version is still necessary to ensure the Prometheus Operator knows what version of Alertmanager is being configured.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "version": {
- SchemaProps: spec.SchemaProps{
- Description: "Version the cluster should be on.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "tag": {
- SchemaProps: spec.SchemaProps{
- Description: "Tag of Alertmanager container image to be deployed. Defaults to the value of `version`. Version is ignored if Tag is set.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "sha": {
- SchemaProps: spec.SchemaProps{
- Description: "SHA of Alertmanager container image to be deployed. Defaults to the value of `version`. Similar to a tag, but the SHA explicitly deploys an immutable container image. Version and Tag are ignored if SHA is set.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "baseImage": {
- SchemaProps: spec.SchemaProps{
- Description: "Base image that is used to deploy pods, without tag.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "imagePullSecrets": {
- SchemaProps: spec.SchemaProps{
- Description: "An optional list of references to secrets in the same namespace to use for pulling prometheus and alertmanager images from registries see http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
- },
- },
- },
- },
- },
- "secrets": {
- SchemaProps: spec.SchemaProps{
- Description: "Secrets is a list of Secrets in the same namespace as the Alertmanager object, which shall be mounted into the Alertmanager Pods. The Secrets are mounted into /etc/alertmanager/secrets/<secret-name>.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- },
- },
- },
- "configMaps": {
- SchemaProps: spec.SchemaProps{
- Description: "ConfigMaps is a list of ConfigMaps in the same namespace as the Alertmanager object, which shall be mounted into the Alertmanager Pods. The ConfigMaps are mounted into /etc/alertmanager/configmaps/<configmap-name>.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- },
- },
- },
- "logLevel": {
- SchemaProps: spec.SchemaProps{
- Description: "Log level for Alertmanager to be configured with.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "replicas": {
- SchemaProps: spec.SchemaProps{
- Description: "Size is the expected size of the alertmanager cluster. The controller will eventually make the size of the running cluster equal to the expected size.",
- Type:        []string{"integer"},
- Format:      "int32",
- },
- },
- "retention": {
- SchemaProps: spec.SchemaProps{
- Description: "Time duration Alertmanager shall retain data for. Default is '120h', and must match the regular expression `[0-9]+(ms|s|m|h)` (milliseconds seconds minutes hours).",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "storage": {
- SchemaProps: spec.SchemaProps{
- Description: "Storage is the definition of how storage will be used by the Alertmanager instances.",
- Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.StorageSpec"),
- },
- },
- "externalUrl": {
- SchemaProps: spec.SchemaProps{
- Description: "The external URL the Alertmanager instances will be available under. This is necessary to generate correct URLs. This is necessary if Alertmanager is not served from root of a DNS name.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "routePrefix": {
- SchemaProps: spec.SchemaProps{
- Description: "The route prefix Alertmanager registers HTTP handlers for. This is useful, if using ExternalURL and a proxy is rewriting HTTP routes of a request, and the actual ExternalURL is still true, but the server serves requests under a different route prefix. For example for use with `kubectl proxy`.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "paused": {
- SchemaProps: spec.SchemaProps{
- Description: "If set to true all actions on the underlaying managed objects are not goint to be performed, except for delete actions.",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- "nodeSelector": {
- SchemaProps: spec.SchemaProps{
- Description: "Define which Nodes the Pods are scheduled on.",
- Type:        []string{"object"},
- AdditionalProperties: &spec.SchemaOrBool{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- },
- },
- },
- "resources": {
- SchemaProps: spec.SchemaProps{
- Description: "Define resources requests and limits for single Pods.",
- Ref:         ref("k8s.io/api/core/v1.ResourceRequirements"),
- },
- },
- "affinity": {
- SchemaProps: spec.SchemaProps{
- Description: "If specified, the pod's scheduling constraints.",
- Ref:         ref("k8s.io/api/core/v1.Affinity"),
- },
- },
- "tolerations": {
- SchemaProps: spec.SchemaProps{
- Description: "If specified, the pod's tolerations.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("k8s.io/api/core/v1.Toleration"),
- },
- },
- },
- },
- },
- "securityContext": {
- SchemaProps: spec.SchemaProps{
- Description: "SecurityContext holds pod-level security attributes and common container settings. This defaults to non root user with uid 1000 and gid 2000.",
- Ref:         ref("k8s.io/api/core/v1.PodSecurityContext"),
- },
- },
- "serviceAccountName": {
- SchemaProps: spec.SchemaProps{
- Description: "ServiceAccountName is the name of the ServiceAccount to use to run the Prometheus Pods.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "listenLocal": {
- SchemaProps: spec.SchemaProps{
- Description: "ListenLocal makes the Alertmanager server listen on loopback, so that it does not bind against the Pod IP. Note this is only for the Alertmanager UI, not the gossip communication.",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- "containers": {
- SchemaProps: spec.SchemaProps{
- Description: "Containers allows injecting additional containers. This is meant to allow adding an authentication proxy to an Alertmanager pod.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("k8s.io/api/core/v1.Container"),
- },
- },
- },
- },
- },
- "priorityClassName": {
- SchemaProps: spec.SchemaProps{
- Description: "Priority class assigned to the Pods",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "additionalPeers": {
- SchemaProps: spec.SchemaProps{
- Description: "AdditionalPeers allows injecting a set of additional Alertmanagers to peer with to form a highly available cluster.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- },
- },
- },
- },
- },
- },
- Dependencies: []string{
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.StorageSpec", "k8s.io/api/core/v1.Affinity", "k8s.io/api/core/v1.Container", "k8s.io/api/core/v1.LocalObjectReference", "k8s.io/api/core/v1.PodSecurityContext", "k8s.io/api/core/v1.ResourceRequirements", "k8s.io/api/core/v1.Toleration", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_AlertmanagerStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "AlertmanagerStatus is the most recent observed status of the Alertmanager cluster. Read-only. Not included when requesting from the apiserver, only from the Prometheus Operator API itself. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status",
- Properties: map[string]spec.Schema{
- "paused": {
- SchemaProps: spec.SchemaProps{
- Description: "Represents whether any actions on the underlaying managed objects are being performed. Only delete actions will be performed.",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- "replicas": {
- SchemaProps: spec.SchemaProps{
- Description: "Total number of non-terminated pods targeted by this Alertmanager cluster (their labels match the selector).",
- Type:        []string{"integer"},
- Format:      "int32",
- },
- },
- "updatedReplicas": {
- SchemaProps: spec.SchemaProps{
- Description: "Total number of non-terminated pods targeted by this Alertmanager cluster that have the desired version spec.",
- Type:        []string{"integer"},
- Format:      "int32",
- },
- },
- "availableReplicas": {
- SchemaProps: spec.SchemaProps{
- Description: "Total number of available pods (ready for at least minReadySeconds) targeted by this Alertmanager cluster.",
- Type:        []string{"integer"},
- Format:      "int32",
- },
- },
- "unavailableReplicas": {
- SchemaProps: spec.SchemaProps{
- Description: "Total number of unavailable pods targeted by this Alertmanager cluster.",
- Type:        []string{"integer"},
- Format:      "int32",
- },
- },
- },
- Required: []string{"paused", "replicas", "updatedReplicas", "availableReplicas", "unavailableReplicas"},
- },
- },
- Dependencies: []string{},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_BasicAuth(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "BasicAuth allow an endpoint to authenticate over basic authentication More info: https://prometheus.io/docs/operating/configuration/#endpoints",
- Properties: map[string]spec.Schema{
- "username": {
- SchemaProps: spec.SchemaProps{
- Description: "The secret that contains the username for authenticate",
- Ref:         ref("k8s.io/api/core/v1.SecretKeySelector"),
- },
- },
- "password": {
- SchemaProps: spec.SchemaProps{
- Description: "The secret that contains the password for authenticate",
- Ref:         ref("k8s.io/api/core/v1.SecretKeySelector"),
- },
- },
- },
- },
- },
- Dependencies: []string{
- "k8s.io/api/core/v1.SecretKeySelector"},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_Endpoint(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "Endpoint defines a scrapeable endpoint serving Prometheus metrics.",
- Properties: map[string]spec.Schema{
- "port": {
- SchemaProps: spec.SchemaProps{
- Description: "Name of the service port this endpoint refers to. Mutually exclusive with targetPort.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "targetPort": {
- SchemaProps: spec.SchemaProps{
- Description: "Name or number of the target port of the endpoint. Mutually exclusive with port.",
- Ref:         ref("k8s.io/apimachinery/pkg/util/intstr.IntOrString"),
- },
- },
- "path": {
- SchemaProps: spec.SchemaProps{
- Description: "HTTP path to scrape for metrics.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "scheme": {
- SchemaProps: spec.SchemaProps{
- Description: "HTTP scheme to use for scraping.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "params": {
- SchemaProps: spec.SchemaProps{
- Description: "Optional HTTP URL parameters",
- Type:        []string{"object"},
- AdditionalProperties: &spec.SchemaOrBool{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type: []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- },
- },
- },
- },
- },
- },
- "interval": {
- SchemaProps: spec.SchemaProps{
- Description: "Interval at which metrics should be scraped",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "scrapeTimeout": {
- SchemaProps: spec.SchemaProps{
- Description: "Timeout after which the scrape is ended",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "tlsConfig": {
- SchemaProps: spec.SchemaProps{
- Description: "TLS configuration to use when scraping the endpoint",
- Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.TLSConfig"),
- },
- },
- "bearerTokenFile": {
- SchemaProps: spec.SchemaProps{
- Description: "File to read bearer token for scraping targets.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "honorLabels": {
- SchemaProps: spec.SchemaProps{
- Description: "HonorLabels chooses the metric's labels on collisions with target labels.",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- "basicAuth": {
- SchemaProps: spec.SchemaProps{
- Description: "BasicAuth allow an endpoint to authenticate over basic authentication More info: https://prometheus.io/docs/operating/configuration/#endpoints",
- Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.BasicAuth"),
- },
- },
- "metricRelabelings": {
- SchemaProps: spec.SchemaProps{
- Description: "MetricRelabelConfigs to apply to samples before ingestion.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RelabelConfig"),
- },
- },
- },
- },
- },
- "relabelings": {
- SchemaProps: spec.SchemaProps{
- Description: "RelabelConfigs to apply to samples before ingestion. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#<relabel_config>",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RelabelConfig"),
- },
- },
- },
- },
- },
- "proxyUrl": {
- SchemaProps: spec.SchemaProps{
- Description: "ProxyURL eg http://proxyserver:2195 Directs scrapes to proxy through this endpoint.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- },
- },
- },
- Dependencies: []string{
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.BasicAuth", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RelabelConfig", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.TLSConfig", "k8s.io/apimachinery/pkg/util/intstr.IntOrString"},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_NamespaceSelector(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "NamespaceSelector is a selector for selecting either all namespaces or a list of namespaces.",
- Properties: map[string]spec.Schema{
- "any": {
- SchemaProps: spec.SchemaProps{
- Description: "Boolean describing whether all namespaces are selected in contrast to a list restricting them.",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- "matchNames": {
- SchemaProps: spec.SchemaProps{
- Description: "List of namespace names.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- },
- },
- },
- },
- },
- },
- Dependencies: []string{},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_Prometheus(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "Prometheus defines a Prometheus deployment.",
- Properties: map[string]spec.Schema{
- "kind": {
- SchemaProps: spec.SchemaProps{
- Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "apiVersion": {
- SchemaProps: spec.SchemaProps{
- Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "spec": {
- SchemaProps: spec.SchemaProps{
- Description: "Specification of the desired behavior of the Prometheus cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status",
- Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusSpec"),
- },
- },
- "status": {
- SchemaProps: spec.SchemaProps{
- Description: "Most recent observed status of the Prometheus cluster. Read-only. Not included when requesting from the apiserver, only from the Prometheus Operator API itself. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status",
- Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusStatus"),
- },
- },
- },
- Required: []string{"spec"},
- },
- },
- Dependencies: []string{
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusSpec", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusStatus"},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_PrometheusList(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "PrometheusList is a list of Prometheuses.",
- Properties: map[string]spec.Schema{
- "kind": {
- SchemaProps: spec.SchemaProps{
- Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "apiVersion": {
- SchemaProps: spec.SchemaProps{
- Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "metadata": {
- SchemaProps: spec.SchemaProps{
- Description: "Standard list metadata More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata",
- Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
- },
- },
- "items": {
- SchemaProps: spec.SchemaProps{
- Description: "List of Prometheuses",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Prometheus"),
- },
- },
- },
- },
- },
- },
- Required: []string{"items"},
- },
- },
- Dependencies: []string{
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Prometheus", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_PrometheusRule(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "PrometheusRule defines alerting rules for a Prometheus instance",
- Properties: map[string]spec.Schema{
- "kind": {
- SchemaProps: spec.SchemaProps{
- Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "apiVersion": {
- SchemaProps: spec.SchemaProps{
- Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "metadata": {
- SchemaProps: spec.SchemaProps{
- Description: "Standard object’s metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
- Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
- },
- },
- "spec": {
- SchemaProps: spec.SchemaProps{
- Description: "Specification of desired alerting rule definitions for Prometheus.",
- Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusRuleSpec"),
- },
- },
- },
- Required: []string{"spec"},
- },
- },
- Dependencies: []string{
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusRuleSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_PrometheusRuleList(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "PrometheusRuleList is a list of PrometheusRules.",
- Properties: map[string]spec.Schema{
- "kind": {
- SchemaProps: spec.SchemaProps{
- Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "apiVersion": {
- SchemaProps: spec.SchemaProps{
- Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "metadata": {
- SchemaProps: spec.SchemaProps{
- Description: "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
- Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
- },
- },
- "items": {
- SchemaProps: spec.SchemaProps{
- Description: "List of Rules",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusRule"),
- },
- },
- },
- },
- },
- },
- Required: []string{"items"},
- },
- },
- Dependencies: []string{
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusRule", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_PrometheusRuleSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "PrometheusRuleSpec contains specification parameters for a Rule.",
- Properties: map[string]spec.Schema{
- "groups": {
- SchemaProps: spec.SchemaProps{
- Description: "Content of Prometheus rule file",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RuleGroup"),
- },
- },
- },
- },
- },
- },
- },
- },
- Dependencies: []string{
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RuleGroup"},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_PrometheusSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "PrometheusSpec is a specification of the desired behavior of the Prometheus cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status",
- Properties: map[string]spec.Schema{
- "podMetadata": {
- SchemaProps: spec.SchemaProps{
- Description: "Standard object’s metadata. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata Metadata Labels and Annotations gets propagated to the prometheus pods.",
- Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
- },
- },
- "serviceMonitorSelector": {
- SchemaProps: spec.SchemaProps{
- Description: "ServiceMonitors to be selected for target discovery.",
- Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
- },
- },
- "serviceMonitorNamespaceSelector": {
- SchemaProps: spec.SchemaProps{
- Description: "Namespaces to be selected for ServiceMonitor discovery. If nil, only check own namespace.",
- Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
- },
- },
- "version": {
- SchemaProps: spec.SchemaProps{
- Description: "Version of Prometheus to be deployed.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "tag": {
- SchemaProps: spec.SchemaProps{
- Description: "Tag of Prometheus container image to be deployed. Defaults to the value of `version`. Version is ignored if Tag is set.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "sha": {
- SchemaProps: spec.SchemaProps{
- Description: "SHA of Prometheus container image to be deployed. Defaults to the value of `version`. Similar to a tag, but the SHA explicitly deploys an immutable container image. Version and Tag are ignored if SHA is set.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "paused": {
- SchemaProps: spec.SchemaProps{
- Description: "When a Prometheus deployment is paused, no actions except for deletion will be performed on the underlying objects.",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- "image": {
- SchemaProps: spec.SchemaProps{
- Description: "Image if specified has precedence over baseImage, tag and sha combinations. Specifying the version is still necessary to ensure the Prometheus Operator knows what version of Prometheus is being configured.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "baseImage": {
- SchemaProps: spec.SchemaProps{
- Description: "Base image to use for a Prometheus deployment.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "imagePullSecrets": {
- SchemaProps: spec.SchemaProps{
- Description: "An optional list of references to secrets in the same namespace to use for pulling prometheus and alertmanager images from registries see http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
- },
- },
- },
- },
- },
- "replicas": {
- SchemaProps: spec.SchemaProps{
- Description: "Number of instances to deploy for a Prometheus deployment.",
- Type:        []string{"integer"},
- Format:      "int32",
- },
- },
- "retention": {
- SchemaProps: spec.SchemaProps{
- Description: "Time duration Prometheus shall retain data for. Default is '24h', and must match the regular expression `[0-9]+(ms|s|m|h|d|w|y)` (milliseconds seconds minutes hours days weeks years).",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "logLevel": {
- SchemaProps: spec.SchemaProps{
- Description: "Log level for Prometheus to be configured with.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "scrapeInterval": {
- SchemaProps: spec.SchemaProps{
- Description: "Interval between consecutive scrapes.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "evaluationInterval": {
- SchemaProps: spec.SchemaProps{
- Description: "Interval between consecutive evaluations.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "externalLabels": {
- SchemaProps: spec.SchemaProps{
- Description: "The labels to add to any time series or alerts when communicating with external systems (federation, remote storage, Alertmanager).",
- Type:        []string{"object"},
- AdditionalProperties: &spec.SchemaOrBool{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- },
- },
- },
- "externalUrl": {
- SchemaProps: spec.SchemaProps{
- Description: "The external URL the Prometheus instances will be available under. This is necessary to generate correct URLs. This is necessary if Prometheus is not served from root of a DNS name.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "routePrefix": {
- SchemaProps: spec.SchemaProps{
- Description: "The route prefix Prometheus registers HTTP handlers for. This is useful, if using ExternalURL and a proxy is rewriting HTTP routes of a request, and the actual ExternalURL is still true, but the server serves requests under a different route prefix. For example for use with `kubectl proxy`.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "query": {
- SchemaProps: spec.SchemaProps{
- Description: "QuerySpec defines the query command line flags when starting Prometheus.",
- Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.QuerySpec"),
- },
- },
- "storage": {
- SchemaProps: spec.SchemaProps{
- Description: "Storage spec to specify how storage shall be used.",
- Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.StorageSpec"),
- },
- },
- "ruleSelector": {
- SchemaProps: spec.SchemaProps{
- Description: "A selector to select which PrometheusRules to mount for loading alerting rules from. Until (excluding) Prometheus Operator v0.24.0 Prometheus Operator will migrate any legacy rule ConfigMaps to PrometheusRule custom resources selected by RuleSelector. Make sure it does not match any config maps that you do not want to be migrated.",
- Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
- },
- },
- "ruleNamespaceSelector": {
- SchemaProps: spec.SchemaProps{
- Description: "Namespaces to be selected for PrometheusRules discovery. If unspecified, only the same namespace as the Prometheus object is in is used.",
- Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
- },
- },
- "alerting": {
- SchemaProps: spec.SchemaProps{
- Description: "Define details regarding alerting.",
- Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertingSpec"),
- },
- },
- "resources": {
- SchemaProps: spec.SchemaProps{
- Description: "Define resources requests and limits for single Pods.",
- Ref:         ref("k8s.io/api/core/v1.ResourceRequirements"),
- },
- },
- "nodeSelector": {
- SchemaProps: spec.SchemaProps{
- Description: "Define which Nodes the Pods are scheduled on.",
- Type:        []string{"object"},
- AdditionalProperties: &spec.SchemaOrBool{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- },
- },
- },
- "serviceAccountName": {
- SchemaProps: spec.SchemaProps{
- Description: "ServiceAccountName is the name of the ServiceAccount to use to run the Prometheus Pods.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "secrets": {
- SchemaProps: spec.SchemaProps{
- Description: "Secrets is a list of Secrets in the same namespace as the Prometheus object, which shall be mounted into the Prometheus Pods. The Secrets are mounted into /etc/prometheus/secrets/<secret-name>.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- },
- },
- },
- "configMaps": {
- SchemaProps: spec.SchemaProps{
- Description: "ConfigMaps is a list of ConfigMaps in the same namespace as the Prometheus object, which shall be mounted into the Prometheus Pods. The ConfigMaps are mounted into /etc/prometheus/configmaps/<configmap-name>.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- },
- },
- },
- "affinity": {
- SchemaProps: spec.SchemaProps{
- Description: "If specified, the pod's scheduling constraints.",
- Ref:         ref("k8s.io/api/core/v1.Affinity"),
- },
- },
- "tolerations": {
- SchemaProps: spec.SchemaProps{
- Description: "If specified, the pod's tolerations.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("k8s.io/api/core/v1.Toleration"),
- },
- },
- },
- },
- },
- "remoteWrite": {
- SchemaProps: spec.SchemaProps{
- Description: "If specified, the remote_write spec. This is an experimental feature, it may change in any upcoming release in a breaking way.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RemoteWriteSpec"),
- },
- },
- },
- },
- },
- "remoteRead": {
- SchemaProps: spec.SchemaProps{
- Description: "If specified, the remote_read spec. This is an experimental feature, it may change in any upcoming release in a breaking way.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RemoteReadSpec"),
- },
- },
- },
- },
- },
- "securityContext": {
- SchemaProps: spec.SchemaProps{
- Description: "SecurityContext holds pod-level security attributes and common container settings. This defaults to non root user with uid 1000 and gid 2000 for Prometheus >v2.0 and default PodSecurityContext for other versions.",
- Ref:         ref("k8s.io/api/core/v1.PodSecurityContext"),
- },
- },
- "listenLocal": {
- SchemaProps: spec.SchemaProps{
- Description: "ListenLocal makes the Prometheus server listen on loopback, so that it does not bind against the Pod IP.",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- "containers": {
- SchemaProps: spec.SchemaProps{
- Description: "Containers allows injecting additional containers. This is meant to allow adding an authentication proxy to a Prometheus pod.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("k8s.io/api/core/v1.Container"),
- },
- },
- },
- },
- },
- "additionalScrapeConfigs": {
- SchemaProps: spec.SchemaProps{
- Description: "AdditionalScrapeConfigs allows specifying a key of a Secret containing additional Prometheus scrape configurations. Scrape configurations specified are appended to the configurations generated by the Prometheus Operator. Job configurations specified must have the form as specified in the official Prometheus documentation: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#<scrape_config>. As scrape configs are appended, the user is responsible  [...]
- Ref:         ref("k8s.io/api/core/v1.SecretKeySelector"),
- },
- },
- "additionalAlertRelabelConfigs": {
- SchemaProps: spec.SchemaProps{
- Description: "AdditionalAlertRelabelConfigs allows specifying a key of a Secret containing additional Prometheus alert relabel configurations. Alert relabel configurations specified are appended to the configurations generated by the Prometheus Operator. Alert relabel configurations specified must have the form as specified in the official Prometheus documentation: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#alert_relabel_configs. As alert relabel con [...]
- Ref:         ref("k8s.io/api/core/v1.SecretKeySelector"),
- },
- },
- "additionalAlertManagerConfigs": {
- SchemaProps: spec.SchemaProps{
- Description: "AdditionalAlertManagerConfigs allows specifying a key of a Secret containing additional Prometheus AlertManager configurations. AlertManager configurations specified are appended to the configurations generated by the Prometheus Operator. Job configurations specified must have the form as specified in the official Prometheus documentation: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#<alertmanager_config>. As AlertManager configs are appe [...]
- Ref:         ref("k8s.io/api/core/v1.SecretKeySelector"),
- },
- },
- "apiserverConfig": {
- SchemaProps: spec.SchemaProps{
- Description: "APIServerConfig allows specifying a host and auth methods to access apiserver. If left empty, Prometheus is assumed to run inside of the cluster and will discover API servers automatically and use the pod's CA certificate and bearer token file at /var/run/secrets/kubernetes.io/serviceaccount/.",
- Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.APIServerConfig"),
- },
- },
- "thanos": {
- SchemaProps: spec.SchemaProps{
- Description: "Thanos configuration allows configuring various aspects of a Prometheus server in a Thanos environment.\n\nThis section is experimental, it may change significantly without deprecation notice in any release.\n\nThis is experimental and may change significantly without backward compatibility in any release.",
- Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ThanosSpec"),
- },
- },
- "priorityClassName": {
- SchemaProps: spec.SchemaProps{
- Description: "Priority class assigned to the Pods",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- },
- },
- },
- Dependencies: []string{
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.APIServerConfig", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertingSpec", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.QuerySpec", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RemoteReadSpec", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RemoteWriteSpec", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.StorageSpec", "github.com/coreos/prom [...]
- }
-}
-
-func schema_pkg_apis_monitoring_v1_PrometheusStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "PrometheusStatus is the most recent observed status of the Prometheus cluster. Read-only. Not included when requesting from the apiserver, only from the Prometheus Operator API itself. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status",
- Properties: map[string]spec.Schema{
- "paused": {
- SchemaProps: spec.SchemaProps{
- Description: "Represents whether any actions on the underlaying managed objects are being performed. Only delete actions will be performed.",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- "replicas": {
- SchemaProps: spec.SchemaProps{
- Description: "Total number of non-terminated pods targeted by this Prometheus deployment (their labels match the selector).",
- Type:        []string{"integer"},
- Format:      "int32",
- },
- },
- "updatedReplicas": {
- SchemaProps: spec.SchemaProps{
- Description: "Total number of non-terminated pods targeted by this Prometheus deployment that have the desired version spec.",
- Type:        []string{"integer"},
- Format:      "int32",
- },
- },
- "availableReplicas": {
- SchemaProps: spec.SchemaProps{
- Description: "Total number of available pods (ready for at least minReadySeconds) targeted by this Prometheus deployment.",
- Type:        []string{"integer"},
- Format:      "int32",
- },
- },
- "unavailableReplicas": {
- SchemaProps: spec.SchemaProps{
- Description: "Total number of unavailable pods targeted by this Prometheus deployment.",
- Type:        []string{"integer"},
- Format:      "int32",
- },
- },
- },
- Required: []string{"paused", "replicas", "updatedReplicas", "availableReplicas", "unavailableReplicas"},
- },
- },
- Dependencies: []string{},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_QuerySpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "QuerySpec defines the query command line flags when starting Prometheus.",
- Properties: map[string]spec.Schema{
- "lookbackDelta": {
- SchemaProps: spec.SchemaProps{
- Description: "The delta difference allowed for retrieving metrics during expression evaluations.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "maxConcurrency": {
- SchemaProps: spec.SchemaProps{
- Description: "Number of concurrent queries that can be run at once.",
- Type:        []string{"integer"},
- Format:      "int32",
- },
- },
- "timeout": {
- SchemaProps: spec.SchemaProps{
- Description: "Maximum time a query may take before being aborted.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- },
- },
- },
- Dependencies: []string{},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_QueueConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "QueueConfig allows the tuning of remote_write queue_config parameters. This object is referenced in the RemoteWriteSpec object.",
- Properties: map[string]spec.Schema{
- "capacity": {
- SchemaProps: spec.SchemaProps{
- Description: "Capacity is the number of samples to buffer per shard before we start dropping them.",
- Type:        []string{"integer"},
- Format:      "int32",
- },
- },
- "maxShards": {
- SchemaProps: spec.SchemaProps{
- Description: "MaxShards is the maximum number of shards, i.e. amount of concurrency.",
- Type:        []string{"integer"},
- Format:      "int32",
- },
- },
- "maxSamplesPerSend": {
- SchemaProps: spec.SchemaProps{
- Description: "MaxSamplesPerSend is the maximum number of samples per send.",
- Type:        []string{"integer"},
- Format:      "int32",
- },
- },
- "batchSendDeadline": {
- SchemaProps: spec.SchemaProps{
- Description: "BatchSendDeadline is the maximum time a sample will wait in buffer.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "maxRetries": {
- SchemaProps: spec.SchemaProps{
- Description: "MaxRetries is the maximum number of times to retry a batch on recoverable errors.",
- Type:        []string{"integer"},
- Format:      "int32",
- },
- },
- "minBackoff": {
- SchemaProps: spec.SchemaProps{
- Description: "MinBackoff is the initial retry delay. Gets doubled for every retry.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "maxBackoff": {
- SchemaProps: spec.SchemaProps{
- Description: "MaxBackoff is the maximum retry delay.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- },
- },
- },
- Dependencies: []string{},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_RelabelConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "RelabelConfig allows dynamic rewriting of the label set, being applied to samples before ingestion. It defines `<metric_relabel_configs>`-section of Prometheus configuration. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs",
- Properties: map[string]spec.Schema{
- "sourceLabels": {
- SchemaProps: spec.SchemaProps{
- Description: "The source labels select values from existing labels. Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- },
- },
- },
- "separator": {
- SchemaProps: spec.SchemaProps{
- Description: "Separator placed between concatenated source label values. default is ';'.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "targetLabel": {
- SchemaProps: spec.SchemaProps{
- Description: "Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "regex": {
- SchemaProps: spec.SchemaProps{
- Description: "Regular expression against which the extracted value is matched. defailt is '(.*)'",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "modulus": {
- SchemaProps: spec.SchemaProps{
- Description: "Modulus to take of the hash of the source label values.",
- Type:        []string{"integer"},
- Format:      "int64",
- },
- },
- "replacement": {
- SchemaProps: spec.SchemaProps{
- Description: "Replacement value against which a regex replace is performed if the regular expression matches. Regex capture groups are available. Default is '$1'",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "action": {
- SchemaProps: spec.SchemaProps{
- Description: "Action to perform based on regex matching. Default is 'replace'",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- },
- },
- },
- Dependencies: []string{},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_RemoteReadSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "RemoteReadSpec defines the remote_read configuration for prometheus.",
- Properties: map[string]spec.Schema{
- "url": {
- SchemaProps: spec.SchemaProps{
- Description: "The URL of the endpoint to send samples to.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "requiredMatchers": {
- SchemaProps: spec.SchemaProps{
- Description: "An optional list of equality matchers which have to be present in a selector to query the remote read endpoint.",
- Type:        []string{"object"},
- AdditionalProperties: &spec.SchemaOrBool{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- },
- },
- },
- "remoteTimeout": {
- SchemaProps: spec.SchemaProps{
- Description: "Timeout for requests to the remote read endpoint.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "readRecent": {
- SchemaProps: spec.SchemaProps{
- Description: "Whether reads should be made for queries for time ranges that the local storage should have complete data for.",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- "basicAuth": {
- SchemaProps: spec.SchemaProps{
- Description: "BasicAuth for the URL.",
- Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.BasicAuth"),
- },
- },
- "bearerToken": {
- SchemaProps: spec.SchemaProps{
- Description: "bearer token for remote read.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "bearerTokenFile": {
- SchemaProps: spec.SchemaProps{
- Description: "File to read bearer token for remote read.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "tlsConfig": {
- SchemaProps: spec.SchemaProps{
- Description: "TLS Config to use for remote read.",
- Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.TLSConfig"),
- },
- },
- "proxyUrl": {
- SchemaProps: spec.SchemaProps{
- Description: "Optional ProxyURL",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- },
- Required: []string{"url"},
- },
- },
- Dependencies: []string{
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.BasicAuth", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.TLSConfig"},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_RemoteWriteSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "RemoteWriteSpec defines the remote_write configuration for prometheus.",
- Properties: map[string]spec.Schema{
- "url": {
- SchemaProps: spec.SchemaProps{
- Description: "The URL of the endpoint to send samples to.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "remoteTimeout": {
- SchemaProps: spec.SchemaProps{
- Description: "Timeout for requests to the remote write endpoint.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "writeRelabelConfigs": {
- SchemaProps: spec.SchemaProps{
- Description: "The list of remote write relabel configurations.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RelabelConfig"),
- },
- },
- },
- },
- },
- "basicAuth": {
- SchemaProps: spec.SchemaProps{
- Description: "BasicAuth for the URL.",
- Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.BasicAuth"),
- },
- },
- "bearerToken": {
- SchemaProps: spec.SchemaProps{
- Description: "File to read bearer token for remote write.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "bearerTokenFile": {
- SchemaProps: spec.SchemaProps{
- Description: "File to read bearer token for remote write.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "tlsConfig": {
- SchemaProps: spec.SchemaProps{
- Description: "TLS Config to use for remote write.",
- Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.TLSConfig"),
- },
- },
- "proxyUrl": {
- SchemaProps: spec.SchemaProps{
- Description: "Optional ProxyURL",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "queueConfig": {
- SchemaProps: spec.SchemaProps{
- Description: "QueueConfig allows tuning of the remote write queue parameters.",
- Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.QueueConfig"),
- },
- },
- },
- Required: []string{"url"},
- },
- },
- Dependencies: []string{
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.BasicAuth", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.QueueConfig", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RelabelConfig", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.TLSConfig"},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_Rule(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "Rule describes an alerting or recording rule.",
- Properties: map[string]spec.Schema{
- "record": {
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- "alert": {
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- "expr": {
- SchemaProps: spec.SchemaProps{
- Ref: ref("k8s.io/apimachinery/pkg/util/intstr.IntOrString"),
- },
- },
- "for": {
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- "labels": {
- SchemaProps: spec.SchemaProps{
- Type: []string{"object"},
- AdditionalProperties: &spec.SchemaOrBool{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- },
- },
- },
- "annotations": {
- SchemaProps: spec.SchemaProps{
- Type: []string{"object"},
- AdditionalProperties: &spec.SchemaOrBool{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- },
- },
- },
- },
- Required: []string{"expr"},
- },
- },
- Dependencies: []string{
- "k8s.io/apimachinery/pkg/util/intstr.IntOrString"},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_RuleGroup(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "RuleGroup is a list of sequentially evaluated recording and alerting rules.",
- Properties: map[string]spec.Schema{
- "name": {
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- "interval": {
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- "rules": {
- SchemaProps: spec.SchemaProps{
- Type: []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Rule"),
- },
- },
- },
- },
- },
- },
- Required: []string{"name", "rules"},
- },
- },
- Dependencies: []string{
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Rule"},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_ServiceMonitor(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "ServiceMonitor defines monitoring for a set of services.",
- Properties: map[string]spec.Schema{
- "kind": {
- SchemaProps: spec.SchemaProps{
- Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "apiVersion": {
- SchemaProps: spec.SchemaProps{
- Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "spec": {
- SchemaProps: spec.SchemaProps{
- Description: "Specification of desired Service selection for target discrovery by Prometheus.",
- Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ServiceMonitorSpec"),
- },
- },
- },
- Required: []string{"spec"},
- },
- },
- Dependencies: []string{
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ServiceMonitorSpec"},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_ServiceMonitorList(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "ServiceMonitorList is a list of ServiceMonitors.",
- Properties: map[string]spec.Schema{
- "kind": {
- SchemaProps: spec.SchemaProps{
- Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "apiVersion": {
- SchemaProps: spec.SchemaProps{
- Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "metadata": {
- SchemaProps: spec.SchemaProps{
- Description: "Standard list metadata More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata",
- Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
- },
- },
- "items": {
- SchemaProps: spec.SchemaProps{
- Description: "List of ServiceMonitors",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ServiceMonitor"),
- },
- },
- },
- },
- },
- },
- Required: []string{"items"},
- },
- },
- Dependencies: []string{
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ServiceMonitor", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_ServiceMonitorSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "ServiceMonitorSpec contains specification parameters for a ServiceMonitor.",
- Properties: map[string]spec.Schema{
- "jobLabel": {
- SchemaProps: spec.SchemaProps{
- Description: "The label to use to retrieve the job name from.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "targetLabels": {
- SchemaProps: spec.SchemaProps{
- Description: "TargetLabels transfers labels on the Kubernetes Service onto the target.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- },
- },
- },
- "podTargetLabels": {
- SchemaProps: spec.SchemaProps{
- Description: "PodTargetLabels transfers labels on the Kubernetes Pod onto the target.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- },
- },
- },
- "endpoints": {
- SchemaProps: spec.SchemaProps{
- Description: "A list of endpoints allowed as part of this ServiceMonitor.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Endpoint"),
- },
- },
- },
- },
- },
- "selector": {
- SchemaProps: spec.SchemaProps{
- Description: "Selector to select Endpoints objects.",
- Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
- },
- },
- "namespaceSelector": {
- SchemaProps: spec.SchemaProps{
- Description: "Selector to select which namespaces the Endpoints objects are discovered from.",
- Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.NamespaceSelector"),
- },
- },
- "sampleLimit": {
- SchemaProps: spec.SchemaProps{
- Description: "SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.",
- Type:        []string{"integer"},
- Format:      "int64",
- },
- },
- },
- Required: []string{"endpoints", "selector"},
- },
- },
- Dependencies: []string{
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Endpoint", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.NamespaceSelector", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_StorageSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "StorageSpec defines the configured storage for a group Prometheus servers. If neither `emptyDir` nor `volumeClaimTemplate` is specified, then by default an [EmptyDir](https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) will be used.",
- Properties: map[string]spec.Schema{
- "emptyDir": {
- SchemaProps: spec.SchemaProps{
- Description: "EmptyDirVolumeSource to be used by the Prometheus StatefulSets. If specified, used in place of any volumeClaimTemplate. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir",
- Ref:         ref("k8s.io/api/core/v1.EmptyDirVolumeSource"),
- },
- },
- "volumeClaimTemplate": {
- SchemaProps: spec.SchemaProps{
- Description: "A PVC spec to be used by the Prometheus StatefulSets.",
- Ref:         ref("k8s.io/api/core/v1.PersistentVolumeClaim"),
- },
- },
- },
- },
- },
- Dependencies: []string{
- "k8s.io/api/core/v1.EmptyDirVolumeSource", "k8s.io/api/core/v1.PersistentVolumeClaim"},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_TLSConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "TLSConfig specifies TLS configuration parameters.",
- Properties: map[string]spec.Schema{
- "caFile": {
- SchemaProps: spec.SchemaProps{
- Description: "The CA cert to use for the targets.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "certFile": {
- SchemaProps: spec.SchemaProps{
- Description: "The client cert file for the targets.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "keyFile": {
- SchemaProps: spec.SchemaProps{
- Description: "The client key file for the targets.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "serverName": {
- SchemaProps: spec.SchemaProps{
- Description: "Used to verify the hostname for the targets.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "insecureSkipVerify": {
- SchemaProps: spec.SchemaProps{
- Description: "Disable target certificate validation.",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- },
- },
- },
- Dependencies: []string{},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_ThanosGCSSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "ThanosGCSSpec defines parameters for use of Google Cloud Storage (GCS) with Thanos.",
- Properties: map[string]spec.Schema{
- "bucket": {
- SchemaProps: spec.SchemaProps{
- Description: "Google Cloud Storage bucket name for stored blocks. If empty it won't store any block inside Google Cloud Storage.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "credentials": {
- SchemaProps: spec.SchemaProps{
- Description: "Secret to access our Bucket.",
- Ref:         ref("k8s.io/api/core/v1.SecretKeySelector"),
- },
- },
- },
- },
- },
- Dependencies: []string{
- "k8s.io/api/core/v1.SecretKeySelector"},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_ThanosS3Spec(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "ThanosS3Spec defines parameters for of AWS Simple Storage Service (S3) with Thanos. (S3 compatible services apply as well)",
- Properties: map[string]spec.Schema{
- "bucket": {
- SchemaProps: spec.SchemaProps{
- Description: "S3-Compatible API bucket name for stored blocks.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "endpoint": {
- SchemaProps: spec.SchemaProps{
- Description: "S3-Compatible API endpoint for stored blocks.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "accessKey": {
- SchemaProps: spec.SchemaProps{
- Description: "AccessKey for an S3-Compatible API.",
- Ref:         ref("k8s.io/api/core/v1.SecretKeySelector"),
- },
- },
- "secretKey": {
- SchemaProps: spec.SchemaProps{
- Description: "SecretKey for an S3-Compatible API.",
- Ref:         ref("k8s.io/api/core/v1.SecretKeySelector"),
- },
- },
- "insecure": {
- SchemaProps: spec.SchemaProps{
- Description: "Whether to use an insecure connection with an S3-Compatible API.",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- "signatureVersion2": {
- SchemaProps: spec.SchemaProps{
- Description: "Whether to use S3 Signature Version 2; otherwise Signature Version 4 will be used.",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- "encryptsse": {
- SchemaProps: spec.SchemaProps{
- Description: "Whether to use Server Side Encryption",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- },
- },
- },
- Dependencies: []string{
- "k8s.io/api/core/v1.SecretKeySelector"},
- }
-}
-
-func schema_pkg_apis_monitoring_v1_ThanosSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "ThanosSpec defines parameters for a Prometheus server within a Thanos deployment.",
- Properties: map[string]spec.Schema{
- "peers": {
- SchemaProps: spec.SchemaProps{
- Description: "Peers is a DNS name for Thanos to discover peers through.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "image": {
- SchemaProps: spec.SchemaProps{
- Description: "Image if specified has precedence over baseImage, tag and sha combinations. Specifying the version is still necessary to ensure the Prometheus Operator knows what version of Thanos is being configured.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "version": {
- SchemaProps: spec.SchemaProps{
- Description: "Version describes the version of Thanos to use.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "tag": {
- SchemaProps: spec.SchemaProps{
- Description: "Tag of Thanos sidecar container image to be deployed. Defaults to the value of `version`. Version is ignored if Tag is set.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "sha": {
- SchemaProps: spec.SchemaProps{
- Description: "SHA of Thanos container image to be deployed. Defaults to the value of `version`. Similar to a tag, but the SHA explicitly deploys an immutable container image. Version and Tag are ignored if SHA is set.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "baseImage": {
- SchemaProps: spec.SchemaProps{
- Description: "Thanos base image if other than default.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "resources": {
- SchemaProps: spec.SchemaProps{
- Description: "Resources defines the resource requirements for the Thanos sidecar. If not provided, no requests/limits will be set",
- Ref:         ref("k8s.io/api/core/v1.ResourceRequirements"),
- },
- },
- "gcs": {
- SchemaProps: spec.SchemaProps{
- Description: "GCS configures use of GCS in Thanos.",
- Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ThanosGCSSpec"),
- },
- },
- "s3": {
- SchemaProps: spec.SchemaProps{
- Description: "S3 configures use of S3 in Thanos.",
- Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ThanosS3Spec"),
- },
- },
- },
- },
- },
- Dependencies: []string{
- "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ThanosGCSSpec", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ThanosS3Spec", "k8s.io/api/core/v1.ResourceRequirements"},
- }
-}
-
-func schema_k8sio_api_core_v1_AWSElasticBlockStoreVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.",
- Properties: map[string]spec.Schema{
- "volumeID": {
- SchemaProps: spec.SchemaProps{
- Description: "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "fsType": {
- SchemaProps: spec.SchemaProps{
- Description: "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "partition": {
- SchemaProps: spec.SchemaProps{
- Description: "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).",
- Type:        []string{"integer"},
- Format:      "int32",
- },
- },
- "readOnly": {
- SchemaProps: spec.SchemaProps{
- Description: "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- },
- Required: []string{"volumeID"},
- },
- },
- Dependencies: []string{},
- }
-}
-
-func schema_k8sio_api_core_v1_Affinity(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "Affinity is a group of affinity scheduling rules.",
- Properties: map[string]spec.Schema{
- "nodeAffinity": {
- SchemaProps: spec.SchemaProps{
- Description: "Describes node affinity scheduling rules for the pod.",
- Ref:         ref("k8s.io/api/core/v1.NodeAffinity"),
- },
- },
- "podAffinity": {
- SchemaProps: spec.SchemaProps{
- Description: "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).",
- Ref:         ref("k8s.io/api/core/v1.PodAffinity"),
- },
- },
- "podAntiAffinity": {
- SchemaProps: spec.SchemaProps{
- Description: "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).",
- Ref:         ref("k8s.io/api/core/v1.PodAntiAffinity"),
- },
- },
- },
- },
- },
- Dependencies: []string{
- "k8s.io/api/core/v1.NodeAffinity", "k8s.io/api/core/v1.PodAffinity", "k8s.io/api/core/v1.PodAntiAffinity"},
- }
-}
-
-func schema_k8sio_api_core_v1_AttachedVolume(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "AttachedVolume describes a volume attached to a node",
- Properties: map[string]spec.Schema{
- "name": {
- SchemaProps: spec.SchemaProps{
- Description: "Name of the attached volume",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "devicePath": {
- SchemaProps: spec.SchemaProps{
- Description: "DevicePath represents the device path where the volume should be available",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- },
- Required: []string{"name", "devicePath"},
- },
- },
- Dependencies: []string{},
- }
-}
-
-func schema_k8sio_api_core_v1_AvoidPods(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "AvoidPods describes pods that should avoid this node. This is the value for a Node annotation with key scheduler.alpha.kubernetes.io/preferAvoidPods and will eventually become a field of NodeStatus.",
- Properties: map[string]spec.Schema{
- "preferAvoidPods": {
- SchemaProps: spec.SchemaProps{
- Description: "Bounded-sized list of signatures of pods that should avoid this node, sorted in timestamp order from oldest to newest. Size of the slice is unspecified.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("k8s.io/api/core/v1.PreferAvoidPodsEntry"),
- },
- },
- },
- },
- },
- },
- },
- },
- Dependencies: []string{
- "k8s.io/api/core/v1.PreferAvoidPodsEntry"},
- }
-}
-
-func schema_k8sio_api_core_v1_AzureDiskVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.",
- Properties: map[string]spec.Schema{
- "diskName": {
- SchemaProps: spec.SchemaProps{
- Description: "The Name of the data disk in the blob storage",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "diskURI": {
- SchemaProps: spec.SchemaProps{
- Description: "The URI the data disk in the blob storage",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "cachingMode": {
- SchemaProps: spec.SchemaProps{
- Description: "Host Caching mode: None, Read Only, Read Write.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "fsType": {
- SchemaProps: spec.SchemaProps{
- Description: "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "readOnly": {
- SchemaProps: spec.SchemaProps{
- Description: "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- "kind": {
- SchemaProps: spec.SchemaProps{
- Description: "Expected values Shared: multiple blob disks per storage account  Dedicated: single blob disk per storage account  Managed: azure managed data disk (only in managed availability set). defaults to shared",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- },
- Required: []string{"diskName", "diskURI"},
- },
- },
- Dependencies: []string{},
- }
-}
-
-func schema_k8sio_api_core_v1_AzureFilePersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.",
- Properties: map[string]spec.Schema{
- "secretName": {
- SchemaProps: spec.SchemaProps{
- Description: "the name of secret that contains Azure Storage Account Name and Key",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "shareName": {
- SchemaProps: spec.SchemaProps{
- Description: "Share Name",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "readOnly": {
- SchemaProps: spec.SchemaProps{
- Description: "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- "secretNamespace": {
- SchemaProps: spec.SchemaProps{
- Description: "the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- },
- Required: []string{"secretName", "shareName"},
- },
- },
- Dependencies: []string{},
- }
-}
-
-func schema_k8sio_api_core_v1_AzureFileVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.",
- Properties: map[string]spec.Schema{
- "secretName": {
- SchemaProps: spec.SchemaProps{
- Description: "the name of secret that contains Azure Storage Account Name and Key",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "shareName": {
- SchemaProps: spec.SchemaProps{
- Description: "Share Name",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "readOnly": {
- SchemaProps: spec.SchemaProps{
- Description: "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- },
- Required: []string{"secretName", "shareName"},
- },
- },
- Dependencies: []string{},
- }
-}
-
-func schema_k8sio_api_core_v1_Binding(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.",
- Properties: map[string]spec.Schema{
- "kind": {
- SchemaProps: spec.SchemaProps{
- Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "apiVersion": {
- SchemaProps: spec.SchemaProps{
- Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "metadata": {
- SchemaProps: spec.SchemaProps{
- Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
- Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
- },
- },
- "target": {
- SchemaProps: spec.SchemaProps{
- Description: "The target object that you want to bind to the standard object.",
- Ref:         ref("k8s.io/api/core/v1.ObjectReference"),
- },
- },
- },
- Required: []string{"target"},
- },
- },
- Dependencies: []string{
- "k8s.io/api/core/v1.ObjectReference", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
- }
-}
-
-func schema_k8sio_api_core_v1_CSIPersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "Represents storage that is managed by an external CSI volume driver (Beta feature)",
- Properties: map[string]spec.Schema{
- "driver": {
- SchemaProps: spec.SchemaProps{
- Description: "Driver is the name of the driver to use for this volume. Required.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "volumeHandle": {
- SchemaProps: spec.SchemaProps{
- Description: "VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "readOnly": {
- SchemaProps: spec.SchemaProps{
- Description: "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- "fsType": {
- SchemaProps: spec.SchemaProps{
- Description: "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\".",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "volumeAttributes": {
- SchemaProps: spec.SchemaProps{
- Description: "Attributes of the volume to publish.",
- Type:        []string{"object"},
- AdditionalProperties: &spec.SchemaOrBool{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- },
- },
- },
- "controllerPublishSecretRef": {
- SchemaProps: spec.SchemaProps{
- Description: "ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and  may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.",
- Ref:         ref("k8s.io/api/core/v1.SecretReference"),
- },
- },
- "nodeStageSecretRef": {
- SchemaProps: spec.SchemaProps{
- Description: "NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and  may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.",
- Ref:         ref("k8s.io/api/core/v1.SecretReference"),
- },
- },
- "nodePublishSecretRef": {
- SchemaProps: spec.SchemaProps{
- Description: "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and  may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.",
- Ref:         ref("k8s.io/api/core/v1.SecretReference"),
- },
- },
- },
- Required: []string{"driver", "volumeHandle"},
- },
- },
- Dependencies: []string{
- "k8s.io/api/core/v1.SecretReference"},
- }
-}
-
-func schema_k8sio_api_core_v1_Capabilities(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "Adds and removes POSIX capabilities from running containers.",
- Properties: map[string]spec.Schema{
- "add": {
- SchemaProps: spec.SchemaProps{
- Description: "Added capabilities",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- },
- },
- },
- "drop": {
- SchemaProps: spec.SchemaProps{
- Description: "Removed capabilities",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- },
- },
- },
- },
- },
- },
- Dependencies: []string{},
- }
-}
-
-func schema_k8sio_api_core_v1_CephFSPersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.",
- Properties: map[string]spec.Schema{
- "monitors": {
- SchemaProps: spec.SchemaProps{
- Description: "Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- },
- },
- },
- "path": {
- SchemaProps: spec.SchemaProps{
- Description: "Optional: Used as the mounted root, rather than the full Ceph tree, default is /",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "user": {
- SchemaProps: spec.SchemaProps{
- Description: "Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "secretFile": {
- SchemaProps: spec.SchemaProps{
- Description: "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "secretRef": {
- SchemaProps: spec.SchemaProps{
- Description: "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
- Ref:         ref("k8s.io/api/core/v1.SecretReference"),
- },
- },
- "readOnly": {
- SchemaProps: spec.SchemaProps{
- Description: "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- },
- Required: []string{"monitors"},
- },
- },
- Dependencies: []string{
- "k8s.io/api/core/v1.SecretReference"},
- }
-}
-
-func schema_k8sio_api_core_v1_CephFSVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.",
- Properties: map[string]spec.Schema{
- "monitors": {
- SchemaProps: spec.SchemaProps{
- Description: "Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- },
- },
- },
- "path": {
- SchemaProps: spec.SchemaProps{
- Description: "Optional: Used as the mounted root, rather than the full Ceph tree, default is /",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "user": {
- SchemaProps: spec.SchemaProps{
- Description: "Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "secretFile": {
- SchemaProps: spec.SchemaProps{
- Description: "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "secretRef": {
- SchemaProps: spec.SchemaProps{
- Description: "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
- Ref:         ref("k8s.io/api/core/v1.LocalObjectReference"),
- },
- },
- "readOnly": {
- SchemaProps: spec.SchemaProps{
- Description: "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- },
- Required: []string{"monitors"},
- },
- },
- Dependencies: []string{
- "k8s.io/api/core/v1.LocalObjectReference"},
- }
-}
-
-func schema_k8sio_api_core_v1_CinderPersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.",
- Properties: map[string]spec.Schema{
- "volumeID": {
- SchemaProps: spec.SchemaProps{
- Description: "volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "fsType": {
- SchemaProps: spec.SchemaProps{
- Description: "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "readOnly": {
- SchemaProps: spec.SchemaProps{
- Description: "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- "secretRef": {
- SchemaProps: spec.SchemaProps{
- Description: "Optional: points to a secret object containing parameters used to connect to OpenStack.",
- Ref:         ref("k8s.io/api/core/v1.SecretReference"),
- },
- },
- },
- Required: []string{"volumeID"},
- },
- },
- Dependencies: []string{
- "k8s.io/api/core/v1.SecretReference"},
- }
-}
-
-func schema_k8sio_api_core_v1_CinderVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.",
- Properties: map[string]spec.Schema{
- "volumeID": {
- SchemaProps: spec.SchemaProps{
- Description: "volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "fsType": {
- SchemaProps: spec.SchemaProps{
- Description: "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "readOnly": {
- SchemaProps: spec.SchemaProps{
- Description: "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- "secretRef": {
- SchemaProps: spec.SchemaProps{
- Description: "Optional: points to a secret object containing parameters used to connect to OpenStack.",
- Ref:         ref("k8s.io/api/core/v1.LocalObjectReference"),
- },
- },
- },
- Required: []string{"volumeID"},
- },
- },
- Dependencies: []string{
- "k8s.io/api/core/v1.LocalObjectReference"},
- }
-}
-
-func schema_k8sio_api_core_v1_ClientIPConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "ClientIPConfig represents the configurations of Client IP based session affinity.",
- Properties: map[string]spec.Schema{
- "timeoutSeconds": {
- SchemaProps: spec.SchemaProps{
- Description: "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).",
- Type:        []string{"integer"},
- Format:      "int32",
- },
- },
- },
- },
- },
- Dependencies: []string{},
- }
-}
-
-func schema_k8sio_api_core_v1_ComponentCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "Information about the condition of a component.",
- Properties: map[string]spec.Schema{
- "type": {
- SchemaProps: spec.SchemaProps{
- Description: "Type of condition for a component. Valid value: \"Healthy\"",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "status": {
- SchemaProps: spec.SchemaProps{
- Description: "Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\".",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "message": {
- SchemaProps: spec.SchemaProps{
- Description: "Message about the condition for a component. For example, information about a health check.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "error": {
- SchemaProps: spec.SchemaProps{
- Description: "Condition error code for a component. For example, a health check error code.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- },
- Required: []string{"type", "status"},
- },
- },
- Dependencies: []string{},
- }
-}
-
-func schema_k8sio_api_core_v1_ComponentStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "ComponentStatus (and ComponentStatusList) holds the cluster validation info.",
- Properties: map[string]spec.Schema{
- "kind": {
- SchemaProps: spec.SchemaProps{
- Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "apiVersion": {
- SchemaProps: spec.SchemaProps{
- Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "metadata": {
- SchemaProps: spec.SchemaProps{
- Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
- Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
- },
- },
- "conditions": {
- VendorExtensible: spec.VendorExtensible{
- Extensions: spec.Extensions{
- "x-kubernetes-patch-merge-key": "type",
- "x-kubernetes-patch-strategy":  "merge",
- },
- },
- SchemaProps: spec.SchemaProps{
- Description: "List of component conditions observed",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("k8s.io/api/core/v1.ComponentCondition"),
- },
- },
- },
- },
- },
- },
- },
- },
- Dependencies: []string{
- "k8s.io/api/core/v1.ComponentCondition", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
- }
-}
-
-func schema_k8sio_api_core_v1_ComponentStatusList(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "Status of all the conditions for the component as a list of ComponentStatus objects.",
- Properties: map[string]spec.Schema{
- "kind": {
- SchemaProps: spec.SchemaProps{
- Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "apiVersion": {
- SchemaProps: spec.SchemaProps{
- Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "metadata": {
- SchemaProps: spec.SchemaProps{
- Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
- Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
- },
- },
- "items": {
- SchemaProps: spec.SchemaProps{
- Description: "List of ComponentStatus objects.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("k8s.io/api/core/v1.ComponentStatus"),
- },
- },
- },
- },
- },
- },
- Required: []string{"items"},
- },
- },
- Dependencies: []string{
- "k8s.io/api/core/v1.ComponentStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
- }
-}
-
-func schema_k8sio_api_core_v1_ConfigMap(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "ConfigMap holds configuration data for pods to consume.",
- Properties: map[string]spec.Schema{
- "kind": {
- SchemaProps: spec.SchemaProps{
- Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "apiVersion": {
- SchemaProps: spec.SchemaProps{
- Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "metadata": {
- SchemaProps: spec.SchemaProps{
- Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
- Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
- },
- },
- "data": {
- SchemaProps: spec.SchemaProps{
- Description: "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.",
- Type:        []string{"object"},
- AdditionalProperties: &spec.SchemaOrBool{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- },
- },
- },
- "binaryData": {
- SchemaProps: spec.SchemaProps{
- Description: "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.",
- Type:        []string{"object"},
- AdditionalProperties: &spec.SchemaOrBool{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "byte",
- },
- },
- },
- },
- },
- },
- },
- },
- Dependencies: []string{
- "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
- }
-}
-
-func schema_k8sio_api_core_v1_ConfigMapEnvSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.",
- Properties: map[string]spec.Schema{
- "name": {
- SchemaProps: spec.SchemaProps{
- Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "optional": {
- SchemaProps: spec.SchemaProps{
- Description: "Specify whether the ConfigMap must be defined",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- },
- },
- },
- Dependencies: []string{},
- }
-}
-
-func schema_k8sio_api_core_v1_ConfigMapKeySelector(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "Selects a key from a ConfigMap.",
- Properties: map[string]spec.Schema{
- "name": {
- SchemaProps: spec.SchemaProps{
- Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "key": {
- SchemaProps: spec.SchemaProps{
- Description: "The key to select.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "optional": {
- SchemaProps: spec.SchemaProps{
- Description: "Specify whether the ConfigMap or it's key must be defined",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- },
- Required: []string{"key"},
- },
- },
- Dependencies: []string{},
- }
-}
-
-func schema_k8sio_api_core_v1_ConfigMapList(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "ConfigMapList is a resource containing a list of ConfigMap objects.",
- Properties: map[string]spec.Schema{
- "kind": {
- SchemaProps: spec.SchemaProps{
- Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "apiVersion": {
- SchemaProps: spec.SchemaProps{
- Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "metadata": {
- SchemaProps: spec.SchemaProps{
- Description: "More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
- Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
- },
- },
- "items": {
- SchemaProps: spec.SchemaProps{
- Description: "Items is the list of ConfigMaps.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("k8s.io/api/core/v1.ConfigMap"),
- },
- },
- },
- },
- },
- },
- Required: []string{"items"},
- },
- },
- Dependencies: []string{
- "k8s.io/api/core/v1.ConfigMap", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
- }
-}
-
-func schema_k8sio_api_core_v1_ConfigMapNodeConfigSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node.",
- Properties: map[string]spec.Schema{
- "namespace": {
- SchemaProps: spec.SchemaProps{
- Description: "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "name": {
- SchemaProps: spec.SchemaProps{
- Description: "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "uid": {
- SchemaProps: spec.SchemaProps{
- Description: "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "resourceVersion": {
- SchemaProps: spec.SchemaProps{
- Description: "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "kubeletConfigKey": {
- SchemaProps: spec.SchemaProps{
- Description: "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- },
- Required: []string{"namespace", "name", "kubeletConfigKey"},
- },
- },
- Dependencies: []string{},
- }
-}
-
-func schema_k8sio_api_core_v1_ConfigMapProjection(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.",
- Properties: map[string]spec.Schema{
- "name": {
- SchemaProps: spec.SchemaProps{
- Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "items": {
- SchemaProps: spec.SchemaProps{
- Description: "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start [...]
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("k8s.io/api/core/v1.KeyToPath"),
- },
- },
- },
- },
- },
- "optional": {
- SchemaProps: spec.SchemaProps{
- Description: "Specify whether the ConfigMap or it's keys must be defined",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- },
- },
- },
- Dependencies: []string{
- "k8s.io/api/core/v1.KeyToPath"},
- }
-}
-
-func schema_k8sio_api_core_v1_ConfigMapVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.",
- Properties: map[string]spec.Schema{
- "name": {
- SchemaProps: spec.SchemaProps{
- Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "items": {
- SchemaProps: spec.SchemaProps{
- Description: "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start [...]
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("k8s.io/api/core/v1.KeyToPath"),
- },
- },
- },
- },
- },
- "defaultMode": {
- SchemaProps: spec.SchemaProps{
- Description: "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
- Type:        []string{"integer"},
- Format:      "int32",
- },
- },
- "optional": {
- SchemaProps: spec.SchemaProps{
- Description: "Specify whether the ConfigMap or it's keys must be defined",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- },
- },
- },
- Dependencies: []string{
- "k8s.io/api/core/v1.KeyToPath"},
- }
-}
-
-func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "A single application container that you want to run within a pod.",
- Properties: map[string]spec.Schema{
- "name": {
- SchemaProps: spec.SchemaProps{
- Description: "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "image": {
- SchemaProps: spec.SchemaProps{
- Description: "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "command": {
- SchemaProps: spec.SchemaProps{
- Description: "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More inf [...]
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- },
- },
- },
- "args": {
- SchemaProps: spec.SchemaProps{
- Description: "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/ [...]
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- },
- },
- },
- "workingDir": {
- SchemaProps: spec.SchemaProps{
- Description: "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "ports": {
- VendorExtensible: spec.VendorExtensible{
- Extensions: spec.Extensions{
- "x-kubernetes-patch-merge-key": "containerPort",
- "x-kubernetes-patch-strategy":  "merge",
- },
- },
- SchemaProps: spec.SchemaProps{
- Description: "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("k8s.io/api/core/v1.ContainerPort"),
- },
- },
- },
- },
- },
- "envFrom": {
- SchemaProps: spec.SchemaProps{
- Description: "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("k8s.io/api/core/v1.EnvFromSource"),
- },
- },
- },
- },
- },
- "env": {
- VendorExtensible: spec.VendorExtensible{
- Extensions: spec.Extensions{
- "x-kubernetes-patch-merge-key": "name",
- "x-kubernetes-patch-strategy":  "merge",
- },
- },
- SchemaProps: spec.SchemaProps{
- Description: "List of environment variables to set in the container. Cannot be updated.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("k8s.io/api/core/v1.EnvVar"),
- },
- },
- },
- },
- },
- "resources": {
- SchemaProps: spec.SchemaProps{
- Description: "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/",
- Ref:         ref("k8s.io/api/core/v1.ResourceRequirements"),
- },
- },
- "volumeMounts": {
- VendorExtensible: spec.VendorExtensible{
- Extensions: spec.Extensions{
- "x-kubernetes-patch-merge-key": "mountPath",
- "x-kubernetes-patch-strategy":  "merge",
- },
- },
- SchemaProps: spec.SchemaProps{
- Description: "Pod volumes to mount into the container's filesystem. Cannot be updated.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("k8s.io/api/core/v1.VolumeMount"),
- },
- },
- },
- },
- },
- "volumeDevices": {
- VendorExtensible: spec.VendorExtensible{
- Extensions: spec.Extensions{
- "x-kubernetes-patch-merge-key": "devicePath",
- "x-kubernetes-patch-strategy":  "merge",
- },
- },
- SchemaProps: spec.SchemaProps{
- Description: "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Ref: ref("k8s.io/api/core/v1.VolumeDevice"),
- },
- },
- },
- },
- },
- "livenessProbe": {
- SchemaProps: spec.SchemaProps{
- Description: "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes",
- Ref:         ref("k8s.io/api/core/v1.Probe"),
- },
- },
- "readinessProbe": {
- SchemaProps: spec.SchemaProps{
- Description: "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes",
- Ref:         ref("k8s.io/api/core/v1.Probe"),
- },
- },
- "lifecycle": {
- SchemaProps: spec.SchemaProps{
- Description: "Actions that the management system should take in response to container lifecycle events. Cannot be updated.",
- Ref:         ref("k8s.io/api/core/v1.Lifecycle"),
- },
- },
- "terminationMessagePath": {
- SchemaProps: spec.SchemaProps{
- Description: "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "terminationMessagePolicy": {
- SchemaProps: spec.SchemaProps{
- Description: "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "imagePullPolicy": {
- SchemaProps: spec.SchemaProps{
- Description: "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images",
- Type:        []string{"string"},
- Format:      "",
- },
- },
- "securityContext": {
- SchemaProps: spec.SchemaProps{
- Description: "Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
- Ref:         ref("k8s.io/api/core/v1.SecurityContext"),
- },
- },
- "stdin": {
- SchemaProps: spec.SchemaProps{
- Description: "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- "stdinOnce": {
- SchemaProps: spec.SchemaProps{
- Description: "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this fla [...]
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- "tty": {
- SchemaProps: spec.SchemaProps{
- Description: "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.",
- Type:        []string{"boolean"},
- Format:      "",
- },
- },
- },
- Required: []string{"name"},
- },
- },
- Dependencies: []string{
- "k8s.io/api/core/v1.ContainerPort", "k8s.io/api/core/v1.EnvFromSource", "k8s.io/api/core/v1.EnvVar", "k8s.io/api/core/v1.Lifecycle", "k8s.io/api/core/v1.Probe", "k8s.io/api/core/v1.ResourceRequirements", "k8s.io/api/core/v1.SecurityContext", "k8s.io/api/core/v1.VolumeDevice", "k8s.io/api/core/v1.VolumeMount"},
- }
-}
-
-func schema_k8sio_api_core_v1_ContainerImage(ref common.ReferenceCallback) common.OpenAPIDefinition {
- return common.OpenAPIDefinition{
- Schema: spec.Schema{
- SchemaProps: spec.SchemaProps{
- Description: "Describe a container image",
- Properties: map[string]spec.Schema{
- "names": {
- SchemaProps: spec.SchemaProps{
- Description: "Names by which this image is known. e.g. [\"k8s.gcr.io/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]",
- Type:        []string{"array"},
- Items: &spec.SchemaOrArray{
- Schema: &spec.Schema{
- SchemaProps: spec.SchemaProps{
- Type:   []string{"string"},
- Format: "",
- },
- },
- },
- },
- },
- "sizeBytes": {
- SchemaProps: spec.SchemaProps{
- Description: "The size of the image in bytes.",
... 772118 lines suppressed ...