You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2018/10/02 09:48:58 UTC

[camel-k] 01/01: Added vendor directory to avoid dep ensure

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

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

commit d3a47e7a85e2ddddd6a62e60d1d32a1518e4ffb9
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Oct 2 11:48:10 2018 +0200

    Added vendor directory to avoid dep ensure
---
 .gitignore                                         |     3 -
 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                |   503 +
 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/beorn7/perks/LICENSE             |    20 +
 vendor/github.com/beorn7/perks/quantile/stream.go  |   316 +
 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 |   371 +
 .../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    |   293 +
 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     |   149 +
 .../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/ghodss/yaml/LICENSE              |    50 +
 vendor/github.com/ghodss/yaml/fields.go            |   501 +
 vendor/github.com/ghodss/yaml/yaml.go              |   277 +
 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       |   260 +
 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      |  1227 +
 vendor/github.com/go-openapi/spec/external_docs.go |    24 +
 vendor/github.com/go-openapi/spec/header.go        |   193 +
 vendor/github.com/go-openapi/spec/info.go          |   168 +
 vendor/github.com/go-openapi/spec/items.go         |   233 +
 vendor/github.com/go-openapi/spec/license.go       |    23 +
 vendor/github.com/go-openapi/spec/operation.go     |   259 +
 vendor/github.com/go-openapi/spec/parameter.go     |   302 +
 vendor/github.com/go-openapi/spec/path_item.go     |    90 +
 vendor/github.com/go-openapi/spec/paths.go         |    97 +
 vendor/github.com/go-openapi/spec/ref.go           |   167 +
 vendor/github.com/go-openapi/spec/response.go      |   134 +
 vendor/github.com/go-openapi/spec/responses.go     |   127 +
 vendor/github.com/go-openapi/spec/schema.go        |   636 +
 .../github.com/go-openapi/spec/security_scheme.go  |   143 +
 vendor/github.com/go-openapi/spec/spec.go          |    86 +
 vendor/github.com/go-openapi/spec/swagger.go       |   318 +
 vendor/github.com/go-openapi/spec/tag.go           |    74 +
 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       |   203 +
 vendor/github.com/go-openapi/swag/convert_types.go |   595 +
 vendor/github.com/go-openapi/swag/json.go          |   314 +
 vendor/github.com/go-openapi/swag/loading.go       |    80 +
 vendor/github.com/go-openapi/swag/net.go           |    24 +
 vendor/github.com/go-openapi/swag/path.go          |    59 +
 vendor/github.com/go-openapi/swag/post_go18.go     |     9 +
 vendor/github.com/go-openapi/swag/post_go19.go     |    53 +
 vendor/github.com/go-openapi/swag/pre_go18.go      |     9 +
 vendor/github.com/go-openapi/swag/pre_go19.go      |    55 +
 vendor/github.com/go-openapi/swag/util.go          |   376 +
 vendor/github.com/go-openapi/swag/yaml.go          |   228 +
 vendor/github.com/gogo/protobuf/AUTHORS            |    15 +
 vendor/github.com/gogo/protobuf/CONTRIBUTORS       |    23 +
 .../github.com/gogo/protobuf/GOLANG_CONTRIBUTORS   |     5 +
 vendor/github.com/gogo/protobuf/LICENSE            |    36 +
 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    |   428 +
 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    |   221 +
 .../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       |   921 +
 vendor/github.com/gogo/protobuf/proto/lib_gogo.go  |    50 +
 .../github.com/gogo/protobuf/proto/message_set.go  |   314 +
 .../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   |   600 +
 .../gogo/protobuf/proto/properties_gogo.go         |    36 +
 vendor/github.com/gogo/protobuf/proto/skip_gogo.go |   119 +
 .../gogo/protobuf/proto/table_marshal.go           |  2799 +
 .../gogo/protobuf/proto/table_marshal_gogo.go      |   388 +
 .../github.com/gogo/protobuf/proto/table_merge.go  |   657 +
 .../gogo/protobuf/proto/table_unmarshal.go         |  2048 +
 .../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  |   998 +
 vendor/github.com/gogo/protobuf/proto/timestamp.go |   113 +
 .../gogo/protobuf/proto/timestamp_gogo.go          |    49 +
 .../github.com/gogo/protobuf/sortkeys/sortkeys.go  |   101 +
 vendor/github.com/golang/glog/LICENSE              |   191 +
 vendor/github.com/golang/glog/glog.go              |  1180 +
 vendor/github.com/golang/glog/glog_file.go         |   124 +
 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/gofuzz/LICENSE            |   202 +
 vendor/github.com/google/gofuzz/doc.go             |    18 +
 vendor/github.com/google/gofuzz/fuzz.go            |   487 +
 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/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      |   110 +
 .../hashicorp/golang-lru/simplelru/lru.go          |   161 +
 .../golang-lru/simplelru/lru_interface.go          |    36 +
 vendor/github.com/howeyc/gopass/LICENSE.txt        |    15 +
 vendor/github.com/howeyc/gopass/pass.go            |   110 +
 vendor/github.com/howeyc/gopass/terminal.go        |    25 +
 .../github.com/howeyc/gopass/terminal_solaris.go   |    69 +
 vendor/github.com/imdario/mergo/LICENSE            |    28 +
 vendor/github.com/imdario/mergo/doc.go             |    44 +
 vendor/github.com/imdario/mergo/map.go             |   174 +
 vendor/github.com/imdario/mergo/merge.go           |   252 +
 vendor/github.com/imdario/mergo/mergo.go           |    97 +
 .../github.com/imdario/mergo/testdata/license.yml  |     4 +
 .../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/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/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 +
 .../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/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   |   103 +
 .../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/k8sclient/client.go           |   179 +
 .../operator-sdk/pkg/sdk/action.go                 |   182 +
 .../operator-framework/operator-sdk/pkg/sdk/api.go |    73 +
 .../operator-sdk/pkg/sdk/handler.go                |    29 +
 .../operator-sdk/pkg/sdk/informer-sync.go          |   124 +
 .../operator-sdk/pkg/sdk/informer.go               |   136 +
 .../pkg/sdk/internal/metrics/metrics.go            |    88 +
 .../operator-sdk/pkg/sdk/metrics.go                |    43 +
 .../operator-sdk/pkg/sdk/query-opt.go              |    86 +
 .../operator-sdk/pkg/sdk/query.go                  |    76 +
 .../operator-sdk/pkg/sdk/types.go                  |    29 +
 .../operator-sdk/pkg/sdk/watch-opt.go              |    56 +
 .../operator-sdk/pkg/util/k8sutil/constants.go     |    35 +
 .../operator-sdk/pkg/util/k8sutil/k8sutil.go       |   208 +
 .../operator-sdk/version/version.go                |    19 +
 vendor/github.com/pkg/errors/LICENSE               |    23 +
 vendor/github.com/pkg/errors/errors.go             |   269 +
 vendor/github.com/pkg/errors/stack.go              |   178 +
 vendor/github.com/pmezard/go-difflib/LICENSE       |    27 +
 .../pmezard/go-difflib/difflib/difflib.go          |   772 +
 .../github.com/prometheus/client_golang/AUTHORS.md |    18 +
 vendor/github.com/prometheus/client_golang/LICENSE |   201 +
 vendor/github.com/prometheus/client_golang/NOTICE  |    23 +
 .../client_golang/prometheus/collector.go          |    75 +
 .../prometheus/client_golang/prometheus/counter.go |   172 +
 .../prometheus/client_golang/prometheus/desc.go    |   205 +
 .../prometheus/client_golang/prometheus/doc.go     |   181 +
 .../client_golang/prometheus/expvar_collector.go   |   119 +
 .../prometheus/client_golang/prometheus/fnv.go     |    29 +
 .../prometheus/client_golang/prometheus/gauge.go   |   140 +
 .../client_golang/prometheus/go_collector.go       |   263 +
 .../client_golang/prometheus/histogram.go          |   444 +
 .../prometheus/client_golang/prometheus/http.go    |   490 +
 .../prometheus/client_golang/prometheus/metric.go  |   166 +
 .../client_golang/prometheus/process_collector.go  |   142 +
 .../client_golang/prometheus/promhttp/http.go      |   201 +
 .../client_golang/prometheus/registry.go           |   806 +
 .../prometheus/client_golang/prometheus/summary.go |   534 +
 .../prometheus/client_golang/prometheus/untyped.go |   138 +
 .../prometheus/client_golang/prometheus/value.go   |   234 +
 .../prometheus/client_golang/prometheus/vec.go     |   404 +
 vendor/github.com/prometheus/client_model/LICENSE  |   201 +
 vendor/github.com/prometheus/client_model/NOTICE   |     5 +
 .../prometheus/client_model/go/metrics.pb.go       |   629 +
 .../prometheus/client_model/ruby/LICENSE           |   201 +
 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        |   303 +
 .../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   |   103 +
 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/doc.go         |    45 +
 vendor/github.com/prometheus/procfs/fs.go          |    82 +
 .../prometheus/procfs/internal/util/parse.go       |    46 +
 vendor/github.com/prometheus/procfs/ipvs.go        |   259 +
 vendor/github.com/prometheus/procfs/mdstat.go      |   151 +
 vendor/github.com/prometheus/procfs/mountstats.go  |   606 +
 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        |   238 +
 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_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/samefile.go    |     9 +
 .../radovskyb/watcher/samefile_windows.go          |    12 +
 vendor/github.com/radovskyb/watcher/watcher.go     |   621 +
 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/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         |   300 +
 vendor/github.com/sirupsen/logrus/exported.go      |   201 +
 vendor/github.com/sirupsen/logrus/formatter.go     |    51 +
 vendor/github.com/sirupsen/logrus/hooks.go         |    34 +
 .../github.com/sirupsen/logrus/json_formatter.go   |    89 +
 vendor/github.com/sirupsen/logrus/logger.go        |   337 +
 vendor/github.com/sirupsen/logrus/logrus.go        |   143 +
 vendor/github.com/sirupsen/logrus/terminal_bsd.go  |    10 +
 .../sirupsen/logrus/terminal_check_appengine.go    |    11 +
 .../sirupsen/logrus/terminal_check_notappengine.go |    19 +
 .../github.com/sirupsen/logrus/terminal_linux.go   |    14 +
 .../github.com/sirupsen/logrus/text_formatter.go   |   195 +
 vendor/github.com/sirupsen/logrus/writer.go        |    62 +
 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 +
 .../spf13/cobra/cobra/cmd/testdata/LICENSE.golden  |   202 +
 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              |  1224 +
 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/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         |    22 +
 .../stretchr/testify/assert/assertion_format.go    |   484 +
 .../stretchr/testify/assert/assertion_forward.go   |   956 +
 .../stretchr/testify/assert/assertions.go          |  1394 +
 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/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 |    74 +
 .../x/net/context/ctxhttp/ctxhttp_pre17.go         |   147 +
 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 +
 .../golang.org/x/net/http2/configure_transport.go  |    82 +
 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             |    26 +
 vendor/golang.org/x/net/http2/go16.go              |    16 +
 vendor/golang.org/x/net/http2/go17.go              |   121 +
 vendor/golang.org/x/net/http2/go17_not18.go        |    36 +
 vendor/golang.org/x/net/http2/go18.go              |    56 +
 vendor/golang.org/x/net/http2/go19.go              |    16 +
 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       |   496 +
 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         |    17 +
 vendor/golang.org/x/net/http2/not_go16.go          |    21 +
 vendor/golang.org/x/net/http2/not_go17.go          |    95 +
 vendor/golang.org/x/net/http2/not_go18.go          |    29 +
 vendor/golang.org/x/net/http2/not_go19.go          |    16 +
 vendor/golang.org/x/net/http2/pipe.go              |   163 +
 vendor/golang.org/x/net/http2/server.go            |  2890 +
 vendor/golang.org/x/net/http2/transport.go         |  2453 +
 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     |    89 +
 .../golang.org/x/oauth2/google/appengine_hook.go   |    14 +
 .../x/oauth2/google/appengineflex_hook.go          |    11 +
 vendor/golang.org/x/oauth2/google/default.go       |   115 +
 vendor/golang.org/x/oauth2/google/doc_go19.go      |    42 +
 vendor/golang.org/x/oauth2/google/doc_not_go19.go  |    43 +
 vendor/golang.org/x/oauth2/google/go19.go          |    57 +
 vendor/golang.org/x/oauth2/google/google.go        |   192 +
 vendor/golang.org/x/oauth2/google/jwt.go           |    74 +
 vendor/golang.org/x/oauth2/google/not_go19.go      |    54 +
 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       |   272 +
 vendor/golang.org/x/oauth2/internal/transport.go   |    34 +
 vendor/golang.org/x/oauth2/jws/jws.go              |   182 +
 vendor/golang.org/x/oauth2/jwt/jwt.go              |   162 +
 vendor/golang.org/x/oauth2/oauth2.go               |   362 +
 vendor/golang.org/x/oauth2/token.go                |   175 +
 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_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    |    56 +
 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        |    37 +
 vendor/golang.org/x/sys/unix/dev_aix_ppc64.go      |    39 +
 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             |    98 +
 vendor/golang.org/x/sys/unix/openbsd_pledge.go     |    95 +
 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        |   562 +
 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  |   523 +
 .../x/sys/unix/syscall_dragonfly_amd64.go          |    52 +
 vendor/golang.org/x/sys/unix/syscall_freebsd.go    |   535 +
 .../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      |  1600 +
 vendor/golang.org/x/sys/unix/syscall_linux_386.go  |   385 +
 .../golang.org/x/sys/unix/syscall_linux_amd64.go   |   162 +
 .../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   |   212 +
 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  |   138 +
 .../golang.org/x/sys/unix/syscall_linux_riscv64.go |   212 +
 .../golang.org/x/sys/unix/syscall_linux_s390x.go   |   324 +
 .../golang.org/x/sys/unix/syscall_linux_sparc64.go |   146 +
 vendor/golang.org/x/sys/unix/syscall_netbsd.go     |   580 +
 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    |   368 +
 .../golang.org/x/sys/unix/syscall_openbsd_386.go   |    33 +
 .../golang.org/x/sys/unix/syscall_openbsd_amd64.go |    37 +
 .../golang.org/x/sys/unix/syscall_openbsd_arm.go   |    33 +
 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 +
 vendor/golang.org/x/sys/unix/timestruct.go         |    82 +
 vendor/golang.org/x/sys/unix/types_aix.go          |   229 +
 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      |   385 +
 vendor/golang.org/x/sys/unix/types_netbsd.go       |   281 +
 vendor/golang.org/x/sys/unix/types_openbsd.go      |   265 +
 vendor/golang.org/x/sys/unix/types_solaris.go      |   266 +
 vendor/golang.org/x/sys/unix/xattr_bsd.go          |   231 +
 vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go    |  1360 +
 vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go  |  1361 +
 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          |  1616 +
 .../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  |  2638 +
 .../golang.org/x/sys/unix/zerrors_linux_amd64.go   |  2638 +
 vendor/golang.org/x/sys/unix/zerrors_linux_arm.go  |  2644 +
 .../golang.org/x/sys/unix/zerrors_linux_arm64.go   |  2629 +
 vendor/golang.org/x/sys/unix/zerrors_linux_mips.go |  2645 +
 .../golang.org/x/sys/unix/zerrors_linux_mips64.go  |  2645 +
 .../x/sys/unix/zerrors_linux_mips64le.go           |  2645 +
 .../golang.org/x/sys/unix/zerrors_linux_mipsle.go  |  2645 +
 .../golang.org/x/sys/unix/zerrors_linux_ppc64.go   |  2698 +
 .../golang.org/x/sys/unix/zerrors_linux_ppc64le.go |  2698 +
 .../golang.org/x/sys/unix/zerrors_linux_riscv64.go |  2625 +
 .../golang.org/x/sys/unix/zerrors_linux_s390x.go   |  2698 +
 .../golang.org/x/sys/unix/zerrors_linux_sparc64.go |  2142 +
 vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go |  1732 +
 .../golang.org/x/sys/unix/zerrors_netbsd_amd64.go  |  1722 +
 vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go |  1711 +
 .../golang.org/x/sys/unix/zerrors_openbsd_386.go   |  1628 +
 .../golang.org/x/sys/unix/zerrors_openbsd_amd64.go |  1735 +
 .../golang.org/x/sys/unix/zerrors_openbsd_arm.go   |  1630 +
 .../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   |  1495 +
 vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go |  1495 +
 .../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         |  1508 +
 .../golang.org/x/sys/unix/zsyscall_freebsd_386.go  |  1935 +
 .../x/sys/unix/zsyscall_freebsd_amd64.go           |  1935 +
 .../golang.org/x/sys/unix/zsyscall_freebsd_arm.go  |  1935 +
 vendor/golang.org/x/sys/unix/zsyscall_linux_386.go |  2105 +
 .../golang.org/x/sys/unix/zsyscall_linux_amd64.go  |  2272 +
 vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go |  2207 +
 .../golang.org/x/sys/unix/zsyscall_linux_arm64.go  |  2114 +
 .../golang.org/x/sys/unix/zsyscall_linux_mips.go   |  2285 +
 .../golang.org/x/sys/unix/zsyscall_linux_mips64.go |  2256 +
 .../x/sys/unix/zsyscall_linux_mips64le.go          |  2256 +
 .../golang.org/x/sys/unix/zsyscall_linux_mipsle.go |  2285 +
 .../golang.org/x/sys/unix/zsyscall_linux_ppc64.go  |  2319 +
 .../x/sys/unix/zsyscall_linux_ppc64le.go           |  2319 +
 .../x/sys/unix/zsyscall_linux_riscv64.go           |  2114 +
 .../golang.org/x/sys/unix/zsyscall_linux_s390x.go  |  2089 +
 .../x/sys/unix/zsyscall_linux_sparc64.go           |  2172 +
 .../golang.org/x/sys/unix/zsyscall_netbsd_386.go   |  1653 +
 .../golang.org/x/sys/unix/zsyscall_netbsd_amd64.go |  1653 +
 .../golang.org/x/sys/unix/zsyscall_netbsd_arm.go   |  1653 +
 .../golang.org/x/sys/unix/zsyscall_openbsd_386.go  |  1508 +
 .../x/sys/unix/zsyscall_openbsd_amd64.go           |  1508 +
 .../golang.org/x/sys/unix/zsyscall_openbsd_arm.go  |  1508 +
 .../x/sys/unix/zsyscall_solaris_amd64.go           |  1697 +
 .../golang.org/x/sys/unix/zsysctl_openbsd_386.go   |   270 +
 .../golang.org/x/sys/unix/zsysctl_openbsd_amd64.go |   257 +
 .../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  |   363 +
 .../golang.org/x/sys/unix/zsysnum_linux_arm64.go   |   287 +
 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 |   286 +
 .../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   |   207 +
 .../golang.org/x/sys/unix/zsysnum_openbsd_amd64.go |   218 +
 .../golang.org/x/sys/unix/zsysnum_openbsd_arm.go   |   213 +
 vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go     |   306 +
 vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go   |   313 +
 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 |   536 +
 .../golang.org/x/sys/unix/ztypes_freebsd_amd64.go  |   539 +
 vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go |   539 +
 vendor/golang.org/x/sys/unix/ztypes_linux_386.go   |  1884 +
 vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go |  1906 +
 vendor/golang.org/x/sys/unix/ztypes_linux_arm.go   |  1874 +
 vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go |  1885 +
 vendor/golang.org/x/sys/unix/ztypes_linux_mips.go  |  1879 +
 .../golang.org/x/sys/unix/ztypes_linux_mips64.go   |  1887 +
 .../golang.org/x/sys/unix/ztypes_linux_mips64le.go |  1887 +
 .../golang.org/x/sys/unix/ztypes_linux_mipsle.go   |  1879 +
 vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go |  1895 +
 .../golang.org/x/sys/unix/ztypes_linux_ppc64le.go  |  1895 +
 .../golang.org/x/sys/unix/ztypes_linux_riscv64.go  |  1912 +
 vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go |  1912 +
 .../golang.org/x/sys/unix/ztypes_linux_sparc64.go  |   690 +
 vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go  |   448 +
 .../golang.org/x/sys/unix/ztypes_netbsd_amd64.go   |   455 +
 vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go  |   453 +
 vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go |   467 +
 .../golang.org/x/sys/unix/ztypes_openbsd_amd64.go  |   467 +
 vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go |   460 +
 .../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/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/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 +
 vendor/golang.org/x/text/collate/build/builder.go  |   702 +
 vendor/golang.org/x/text/collate/build/colelem.go  |   294 +
 vendor/golang.org/x/text/collate/build/contract.go |   309 +
 vendor/golang.org/x/text/collate/build/order.go    |   393 +
 vendor/golang.org/x/text/collate/build/table.go    |    81 +
 vendor/golang.org/x/text/collate/build/trie.go     |   290 +
 vendor/golang.org/x/text/collate/collate.go        |   403 +
 vendor/golang.org/x/text/collate/index.go          |    32 +
 vendor/golang.org/x/text/collate/maketables.go     |   553 +
 vendor/golang.org/x/text/collate/option.go         |   239 +
 vendor/golang.org/x/text/collate/sort.go           |    81 +
 vendor/golang.org/x/text/collate/tables.go         | 73789 +++++++++++++++++++
 .../golang.org/x/text/internal/colltab/collelem.go |   371 +
 .../golang.org/x/text/internal/colltab/colltab.go  |   105 +
 .../golang.org/x/text/internal/colltab/contract.go |   145 +
 vendor/golang.org/x/text/internal/colltab/iter.go  |   178 +
 .../golang.org/x/text/internal/colltab/numeric.go  |   236 +
 vendor/golang.org/x/text/internal/colltab/table.go |   275 +
 vendor/golang.org/x/text/internal/colltab/trie.go  |   159 +
 .../golang.org/x/text/internal/colltab/weighter.go |    31 +
 vendor/golang.org/x/text/internal/gen/code.go      |   369 +
 vendor/golang.org/x/text/internal/gen/gen.go       |   333 +
 vendor/golang.org/x/text/internal/tag/tag.go       |   100 +
 .../golang.org/x/text/internal/triegen/compact.go  |    58 +
 vendor/golang.org/x/text/internal/triegen/print.go |   251 +
 .../golang.org/x/text/internal/triegen/triegen.go  |   494 +
 vendor/golang.org/x/text/internal/ucd/ucd.go       |   371 +
 vendor/golang.org/x/text/language/common.go        |    16 +
 vendor/golang.org/x/text/language/coverage.go      |   197 +
 vendor/golang.org/x/text/language/doc.go           |   102 +
 vendor/golang.org/x/text/language/gen.go           |  1712 +
 vendor/golang.org/x/text/language/gen_common.go    |    20 +
 vendor/golang.org/x/text/language/gen_index.go     |   162 +
 vendor/golang.org/x/text/language/go1_1.go         |    38 +
 vendor/golang.org/x/text/language/go1_2.go         |    11 +
 vendor/golang.org/x/text/language/index.go         |   783 +
 vendor/golang.org/x/text/language/language.go      |   907 +
 vendor/golang.org/x/text/language/lookup.go        |   396 +
 vendor/golang.org/x/text/language/match.go         |   933 +
 vendor/golang.org/x/text/language/parse.go         |   859 +
 vendor/golang.org/x/text/language/tables.go        |  3686 +
 vendor/golang.org/x/text/language/tags.go          |   143 +
 .../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 +
 vendor/golang.org/x/text/unicode/cldr/base.go      |   105 +
 vendor/golang.org/x/text/unicode/cldr/cldr.go      |   130 +
 vendor/golang.org/x/text/unicode/cldr/collate.go   |   359 +
 vendor/golang.org/x/text/unicode/cldr/decode.go    |   171 +
 vendor/golang.org/x/text/unicode/cldr/makexml.go   |   400 +
 vendor/golang.org/x/text/unicode/cldr/resolve.go   |   602 +
 vendor/golang.org/x/text/unicode/cldr/slice.go     |   144 +
 vendor/golang.org/x/text/unicode/cldr/xml.go       |  1494 +
 .../golang.org/x/text/unicode/norm/composition.go  |   508 +
 vendor/golang.org/x/text/unicode/norm/forminfo.go  |   259 +
 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   |   976 +
 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 |  7653 ++
 .../golang.org/x/text/unicode/norm/tables9.0.0.go  |  7633 ++
 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/unicode/rangetable/gen.go |   115 +
 .../golang.org/x/text/unicode/rangetable/merge.go  |   260 +
 .../x/text/unicode/rangetable/rangetable.go        |    70 +
 .../x/text/unicode/rangetable/tables10.0.0.go      |  6378 ++
 .../x/text/unicode/rangetable/tables9.0.0.go       |  5737 ++
 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              |   384 +
 vendor/golang.org/x/time/rate/rate_go16.go         |    21 +
 vendor/golang.org/x/time/rate/rate_go17.go         |    21 +
 vendor/golang.org/x/tools/AUTHORS                  |     3 +
 vendor/golang.org/x/tools/CONTRIBUTORS             |     3 +
 vendor/golang.org/x/tools/LICENSE                  |    27 +
 vendor/golang.org/x/tools/PATENTS                  |    22 +
 vendor/golang.org/x/tools/cmd/getgo/LICENSE        |    27 +
 .../golang.org/x/tools/go/ast/astutil/enclosing.go |   627 +
 .../golang.org/x/tools/go/ast/astutil/imports.go   |   471 +
 .../golang.org/x/tools/go/ast/astutil/rewrite.go   |   477 +
 vendor/golang.org/x/tools/go/ast/astutil/util.go   |    14 +
 vendor/golang.org/x/tools/imports/fix.go           |  1141 +
 vendor/golang.org/x/tools/imports/imports.go       |   310 +
 vendor/golang.org/x/tools/imports/mkindex.go       |   173 +
 vendor/golang.org/x/tools/imports/mkstdlib.go      |   107 +
 vendor/golang.org/x/tools/imports/sortimports.go   |   230 +
 vendor/golang.org/x/tools/imports/zstdlib.go       |  9734 +++
 .../x/tools/internal/fastwalk/fastwalk.go          |   191 +
 .../internal/fastwalk/fastwalk_dirent_fileno.go    |    13 +
 .../tools/internal/fastwalk/fastwalk_dirent_ino.go |    14 +
 .../x/tools/internal/fastwalk/fastwalk_portable.go |    29 +
 .../x/tools/internal/fastwalk/fastwalk_unix.go     |   123 +
 .../x/tools/third_party/moduleloader/LICENSE       |    22 +
 .../x/tools/third_party/typescript/LICENSE         |    55 +
 .../x/tools/third_party/webcomponents/LICENSE      |    27 +
 vendor/google.golang.org/appengine/LICENSE         |   202 +
 vendor/google.golang.org/appengine/appengine.go    |   113 +
 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 |   660 +
 .../appengine/internal/api_classic.go              |   169 +
 .../appengine/internal/api_common.go               |   123 +
 .../appengine/internal/api_pre17.go                |   682 +
 .../google.golang.org/appengine/internal/app_id.go |    28 +
 .../app_identity/app_identity_service.pb.go        |   385 +
 .../appengine/internal/base/api_base.pb.go         |   176 +
 .../internal/datastore/datastore_v3.pb.go          |  3244 +
 .../appengine/internal/identity.go                 |    14 +
 .../appengine/internal/identity_classic.go         |    57 +
 .../appengine/internal/identity_vm.go              |   101 +
 .../appengine/internal/internal.go                 |   110 +
 .../appengine/internal/log/log_service.pb.go       |  1039 +
 .../google.golang.org/appengine/internal/main.go   |    15 +
 .../appengine/internal/main_vm.go                  |    48 +
 .../appengine/internal/metadata.go                 |    61 +
 .../internal/modules/modules_service.pb.go         |   454 +
 vendor/google.golang.org/appengine/internal/net.go |    56 +
 .../appengine/internal/remote_api/remote_api.pb.go |   287 +
 .../appengine/internal/transaction.go              |   115 +
 .../internal/urlfetch/urlfetch_service.pb.go       |   433 +
 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                  |   362 +
 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 +
 .../api/admissionregistration/v1alpha1/doc.go      |    25 +
 .../admissionregistration/v1alpha1/generated.pb.go |  1028 +
 .../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  |  2150 +
 .../api/admissionregistration/v1beta1/register.go  |    53 +
 .../api/admissionregistration/v1beta1/types.go     |   283 +
 .../v1beta1/types_swagger_doc_generated.go         |   125 +
 .../v1beta1/zz_generated.deepcopy.go               |   317 +
 vendor/k8s.io/api/apps/v1/doc.go                   |    20 +
 vendor/k8s.io/api/apps/v1/generated.pb.go          |  6945 ++
 vendor/k8s.io/api/apps/v1/register.go              |    60 +
 vendor/k8s.io/api/apps/v1/types.go                 |   819 +
 .../api/apps/v1/types_swagger_doc_generated.go     |   365 +
 vendor/k8s.io/api/apps/v1/zz_generated.deepcopy.go |   856 +
 vendor/k8s.io/api/apps/v1beta1/doc.go              |    20 +
 vendor/k8s.io/api/apps/v1beta1/generated.pb.go     |  5291 ++
 vendor/k8s.io/api/apps/v1beta1/register.go         |    58 +
 vendor/k8s.io/api/apps/v1beta1/types.go            |   568 +
 .../apps/v1beta1/types_swagger_doc_generated.go    |   273 +
 .../api/apps/v1beta1/zz_generated.deepcopy.go      |   658 +
 vendor/k8s.io/api/apps/v1beta2/doc.go              |    20 +
 vendor/k8s.io/api/apps/v1beta2/generated.pb.go     |  7586 ++
 vendor/k8s.io/api/apps/v1beta2/register.go         |    61 +
 vendor/k8s.io/api/apps/v1beta2/types.go            |   877 +
 .../apps/v1beta2/types_swagger_doc_generated.go    |   396 +
 .../api/apps/v1beta2/zz_generated.deepcopy.go      |   923 +
 vendor/k8s.io/api/authentication/v1/doc.go         |    20 +
 .../k8s.io/api/authentication/v1/generated.pb.go   |  2148 +
 vendor/k8s.io/api/authentication/v1/register.go    |    52 +
 vendor/k8s.io/api/authentication/v1/types.go       |   168 +
 .../v1/types_swagger_doc_generated.go              |   113 +
 .../api/authentication/v1/zz_generated.deepcopy.go |   239 +
 vendor/k8s.io/api/authentication/v1beta1/doc.go    |    20 +
 .../api/authentication/v1beta1/generated.pb.go     |  1302 +
 .../k8s.io/api/authentication/v1beta1/register.go  |    51 +
 vendor/k8s.io/api/authentication/v1beta1/types.go  |    92 +
 .../v1beta1/types_swagger_doc_generated.go         |    72 +
 .../v1beta1/zz_generated.deepcopy.go               |   139 +
 vendor/k8s.io/api/authorization/v1/doc.go          |    21 +
 vendor/k8s.io/api/authorization/v1/generated.pb.go |  3528 +
 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  |   398 +
 vendor/k8s.io/api/authorization/v1beta1/doc.go     |    21 +
 .../api/authorization/v1beta1/generated.pb.go      |  3529 +
 .../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 |   398 +
 vendor/k8s.io/api/autoscaling/v1/doc.go            |    20 +
 vendor/k8s.io/api/autoscaling/v1/generated.pb.go   |  4420 ++
 vendor/k8s.io/api/autoscaling/v1/register.go       |    53 +
 vendor/k8s.io/api/autoscaling/v1/types.go          |   396 +
 .../autoscaling/v1/types_swagger_doc_generated.go  |   244 +
 .../api/autoscaling/v1/zz_generated.deepcopy.go    |   569 +
 vendor/k8s.io/api/autoscaling/v2beta1/doc.go       |    20 +
 .../k8s.io/api/autoscaling/v2beta1/generated.pb.go |  4036 +
 vendor/k8s.io/api/autoscaling/v2beta1/register.go  |    52 +
 vendor/k8s.io/api/autoscaling/v2beta1/types.go     |   372 +
 .../v2beta1/types_swagger_doc_generated.go         |   215 +
 .../autoscaling/v2beta1/zz_generated.deepcopy.go   |   512 +
 vendor/k8s.io/api/batch/v1/doc.go                  |    20 +
 vendor/k8s.io/api/batch/v1/generated.pb.go         |  1615 +
 vendor/k8s.io/api/batch/v1/register.go             |    52 +
 vendor/k8s.io/api/batch/v1/types.go                |   181 +
 .../api/batch/v1/types_swagger_doc_generated.go    |    94 +
 .../k8s.io/api/batch/v1/zz_generated.deepcopy.go   |   215 +
 vendor/k8s.io/api/batch/v1beta1/doc.go             |    20 +
 vendor/k8s.io/api/batch/v1beta1/generated.pb.go    |  1509 +
 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     |   214 +
 vendor/k8s.io/api/batch/v2alpha1/doc.go            |    20 +
 vendor/k8s.io/api/batch/v2alpha1/generated.pb.go   |  1510 +
 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    |   214 +
 vendor/k8s.io/api/certificates/v1beta1/doc.go      |    21 +
 .../api/certificates/v1beta1/generated.pb.go       |  1693 +
 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  |   194 +
 .../k8s.io/api/core/v1/annotation_key_constants.go |    88 +
 vendor/k8s.io/api/core/v1/doc.go                   |    21 +
 vendor/k8s.io/api/core/v1/generated.pb.go          | 51129 +++++++++++++
 vendor/k8s.io/api/core/v1/meta.go                  |   108 +
 vendor/k8s.io/api/core/v1/objectreference.go       |    33 +
 vendor/k8s.io/api/core/v1/register.go              |   100 +
 vendor/k8s.io/api/core/v1/resource.go              |    63 +
 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                 |  5292 ++
 .../api/core/v1/types_swagger_doc_generated.go     |  2264 +
 vendor/k8s.io/api/core/v1/zz_generated.deepcopy.go |  5972 ++
 vendor/k8s.io/api/events/v1beta1/doc.go            |    21 +
 vendor/k8s.io/api/events/v1beta1/generated.pb.go   |  1306 +
 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    |   125 +
 vendor/k8s.io/api/extensions/v1beta1/doc.go        |    20 +
 .../k8s.io/api/extensions/v1beta1/generated.pb.go  | 12513 ++++
 vendor/k8s.io/api/extensions/v1beta1/register.go   |    66 +
 vendor/k8s.io/api/extensions/v1beta1/types.go      |  1292 +
 .../v1beta1/types_swagger_doc_generated.go         |   644 +
 .../extensions/v1beta1/zz_generated.deepcopy.go    |  1588 +
 vendor/k8s.io/api/networking/v1/doc.go             |    20 +
 vendor/k8s.io/api/networking/v1/generated.pb.go    |  1869 +
 vendor/k8s.io/api/networking/v1/register.go        |    53 +
 vendor/k8s.io/api/networking/v1/types.go           |   196 +
 .../networking/v1/types_swagger_doc_generated.go   |   113 +
 .../api/networking/v1/zz_generated.deepcopy.go     |   282 +
 vendor/k8s.io/api/policy/v1beta1/doc.go            |    23 +
 vendor/k8s.io/api/policy/v1beta1/generated.pb.go   |  3916 +
 vendor/k8s.io/api/policy/v1beta1/register.go       |    56 +
 vendor/k8s.io/api/policy/v1beta1/types.go          |   368 +
 .../policy/v1beta1/types_swagger_doc_generated.go  |   207 +
 .../api/policy/v1beta1/zz_generated.deepcopy.go    |   475 +
 vendor/k8s.io/api/rbac/v1/doc.go                   |    21 +
 vendor/k8s.io/api/rbac/v1/generated.pb.go          |  2749 +
 vendor/k8s.io/api/rbac/v1/register.go              |    58 +
 vendor/k8s.io/api/rbac/v1/types.go                 |   233 +
 .../api/rbac/v1/types_swagger_doc_generated.go     |   158 +
 vendor/k8s.io/api/rbac/v1/zz_generated.deepcopy.go |   393 +
 vendor/k8s.io/api/rbac/v1alpha1/doc.go             |    21 +
 vendor/k8s.io/api/rbac/v1alpha1/generated.pb.go    |  2750 +
 vendor/k8s.io/api/rbac/v1alpha1/register.go        |    58 +
 vendor/k8s.io/api/rbac/v1alpha1/types.go           |   235 +
 .../rbac/v1alpha1/types_swagger_doc_generated.go   |   158 +
 .../api/rbac/v1alpha1/zz_generated.deepcopy.go     |   393 +
 vendor/k8s.io/api/rbac/v1beta1/doc.go              |    21 +
 vendor/k8s.io/api/rbac/v1beta1/generated.pb.go     |  2750 +
 vendor/k8s.io/api/rbac/v1beta1/register.go         |    58 +
 vendor/k8s.io/api/rbac/v1beta1/types.go            |   233 +
 .../rbac/v1beta1/types_swagger_doc_generated.go    |   158 +
 .../api/rbac/v1beta1/zz_generated.deepcopy.go      |   393 +
 vendor/k8s.io/api/scheduling/v1alpha1/doc.go       |    21 +
 .../k8s.io/api/scheduling/v1alpha1/generated.pb.go |   641 +
 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/settings/v1alpha1/doc.go         |    21 +
 .../k8s.io/api/settings/v1alpha1/generated.pb.go   |   930 +
 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                |    20 +
 vendor/k8s.io/api/storage/v1/generated.pb.go       |   926 +
 vendor/k8s.io/api/storage/v1/register.go           |    53 +
 vendor/k8s.io/api/storage/v1/types.go              |    98 +
 .../api/storage/v1/types_swagger_doc_generated.go  |    55 +
 .../k8s.io/api/storage/v1/zz_generated.deepcopy.go |   124 +
 vendor/k8s.io/api/storage/v1alpha1/doc.go          |    20 +
 vendor/k8s.io/api/storage/v1alpha1/generated.pb.go |  1523 +
 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  |   186 +
 vendor/k8s.io/api/storage/v1beta1/doc.go           |    20 +
 vendor/k8s.io/api/storage/v1beta1/generated.pb.go  |  2211 +
 vendor/k8s.io/api/storage/v1beta1/register.go      |    56 +
 vendor/k8s.io/api/storage/v1beta1/types.go         |   205 +
 .../storage/v1beta1/types_swagger_doc_generated.go |   118 +
 .../api/storage/v1beta1/zz_generated.deepcopy.go   |   285 +
 vendor/k8s.io/apimachinery/LICENSE                 |   202 +
 vendor/k8s.io/apimachinery/pkg/api/errors/doc.go   |    18 +
 .../k8s.io/apimachinery/pkg/api/errors/errors.go   |   567 +
 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 |   149 +
 vendor/k8s.io/apimachinery/pkg/api/meta/lazy.go    |   121 +
 vendor/k8s.io/apimachinery/pkg/api/meta/meta.go    |   653 +
 .../apimachinery/pkg/api/meta/multirestmapper.go   |   210 +
 .../k8s.io/apimachinery/pkg/api/meta/priority.go   |   222 +
 .../k8s.io/apimachinery/pkg/api/meta/restmapper.go |   548 +
 .../apimachinery/pkg/api/meta/unstructured.go      |    47 +
 .../k8s.io/apimachinery/pkg/api/resource/amount.go |   299 +
 .../apimachinery/pkg/api/resource/generated.pb.go  |    77 +
 .../k8s.io/apimachinery/pkg/api/resource/math.go   |   314 +
 .../apimachinery/pkg/api/resource/quantity.go      |   789 +
 .../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 +
 .../pkg/apis/meta/internalversion/conversion.go    |    77 +
 .../pkg/apis/meta/internalversion/doc.go           |    20 +
 .../pkg/apis/meta/internalversion/register.go      |   105 +
 .../pkg/apis/meta/internalversion/types.go         |    70 +
 .../internalversion/zz_generated.conversion.go     |   118 +
 .../meta/internalversion/zz_generated.deepcopy.go  |   106 +
 .../pkg/apis/meta/v1/controller_ref.go             |    54 +
 .../apimachinery/pkg/apis/meta/v1/conversion.go    |   306 +
 vendor/k8s.io/apimachinery/pkg/apis/meta/v1/doc.go |    22 +
 .../apimachinery/pkg/apis/meta/v1/duration.go      |    47 +
 .../apimachinery/pkg/apis/meta/v1/generated.pb.go  |  7961 ++
 .../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   |   216 +
 .../apimachinery/pkg/apis/meta/v1/micro_time.go    |   180 +
 .../pkg/apis/meta/v1/micro_time_proto.go           |    72 +
 .../apimachinery/pkg/apis/meta/v1/register.go      |    93 +
 .../k8s.io/apimachinery/pkg/apis/meta/v1/time.go   |   182 +
 .../apimachinery/pkg/apis/meta/v1/time_proto.go    |    92 +
 .../k8s.io/apimachinery/pkg/apis/meta/v1/types.go  |   949 +
 .../apis/meta/v1/types_swagger_doc_generated.go    |   330 +
 .../pkg/apis/meta/v1/unstructured/helpers.go       |   475 +
 .../pkg/apis/meta/v1/unstructured/unstructured.go  |   379 +
 .../apis/meta/v1/unstructured/unstructured_list.go |   189 +
 .../meta/v1/unstructured/zz_generated.deepcopy.go  |    55 +
 .../k8s.io/apimachinery/pkg/apis/meta/v1/watch.go  |    89 +
 .../pkg/apis/meta/v1/zz_generated.deepcopy.go      |   950 +
 .../pkg/apis/meta/v1/zz_generated.defaults.go      |    32 +
 .../pkg/apis/meta/v1beta1/conversion.go            |    27 +
 .../apimachinery/pkg/apis/meta/v1beta1/deepcopy.go |    61 +
 .../apimachinery/pkg/apis/meta/v1beta1/doc.go      |    22 +
 .../pkg/apis/meta/v1beta1/generated.pb.go          |   633 +
 .../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 |   190 +
 .../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          |   195 +
 .../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  |   455 +
 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  |   879 +
 .../pkg/labels/zz_generated.deepcopy.go            |    42 +
 vendor/k8s.io/apimachinery/pkg/runtime/codec.go    |   330 +
 .../k8s.io/apimachinery/pkg/runtime/codec_check.go |    48 +
 .../k8s.io/apimachinery/pkg/runtime/conversion.go  |   113 +
 .../k8s.io/apimachinery/pkg/runtime/converter.go   |   793 +
 vendor/k8s.io/apimachinery/pkg/runtime/doc.go      |    45 +
 vendor/k8s.io/apimachinery/pkg/runtime/embedded.go |   142 +
 vendor/k8s.io/apimachinery/pkg/runtime/error.go    |   113 +
 .../k8s.io/apimachinery/pkg/runtime/extension.go   |    51 +
 .../apimachinery/pkg/runtime/generated.pb.go       |   773 +
 vendor/k8s.io/apimachinery/pkg/runtime/helper.go   |   212 +
 .../k8s.io/apimachinery/pkg/runtime/interfaces.go  |   249 +
 vendor/k8s.io/apimachinery/pkg/runtime/register.go |    61 +
 .../pkg/runtime/schema/generated.pb.go             |    65 +
 .../pkg/runtime/schema/group_version.go            |   301 +
 .../apimachinery/pkg/runtime/schema/interfaces.go  |    40 +
 vendor/k8s.io/apimachinery/pkg/runtime/scheme.go   |   622 +
 .../apimachinery/pkg/runtime/scheme_builder.go     |    48 +
 .../pkg/runtime/serializer/codec_factory.go        |   237 +
 .../pkg/runtime/serializer/json/json.go            |   276 +
 .../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    |   448 +
 .../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    |   259 +
 .../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           |   112 +
 .../k8s.io/apimachinery/pkg/selection/operator.go  |    33 +
 vendor/k8s.io/apimachinery/pkg/types/doc.go        |    18 +
 .../apimachinery/pkg/types/namespacedname.go       |    60 +
 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 |   327 +
 vendor/k8s.io/apimachinery/pkg/util/diff/diff.go   |   273 +
 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   |   381 +
 .../k8s.io/apimachinery/pkg/util/intstr/intstr.go  |   173 +
 vendor/k8s.io/apimachinery/pkg/util/json/json.go   |   119 +
 vendor/k8s.io/apimachinery/pkg/util/net/http.go    |   422 +
 .../k8s.io/apimachinery/pkg/util/net/interface.go  |   392 +
 .../k8s.io/apimachinery/pkg/util/net/port_range.go |   113 +
 .../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       |   163 +
 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 +
 .../pkg/util/validation/field/errors.go            |   259 +
 .../apimachinery/pkg/util/validation/field/path.go |    91 +
 .../apimachinery/pkg/util/validation/validation.go |   391 +
 vendor/k8s.io/apimachinery/pkg/util/wait/doc.go    |    19 +
 vendor/k8s.io/apimachinery/pkg/util/wait/wait.go   |   385 +
 .../k8s.io/apimachinery/pkg/util/yaml/decoder.go   |   346 +
 vendor/k8s.io/apimachinery/pkg/version/doc.go      |    19 +
 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     |   109 +
 vendor/k8s.io/apimachinery/pkg/watch/mux.go        |   264 +
 .../k8s.io/apimachinery/pkg/watch/streamwatcher.go |   119 +
 vendor/k8s.io/apimachinery/pkg/watch/until.go      |    87 +
 vendor/k8s.io/apimachinery/pkg/watch/watch.go      |   270 +
 .../pkg/watch/zz_generated.deepcopy.go             |    42 +
 .../forked/golang/reflect/deep_equal.go            |   388 +
 vendor/k8s.io/client-go/LICENSE                    |   202 +
 .../k8s.io/client-go/discovery/cached/memcache.go  |   179 +
 .../k8s.io/client-go/discovery/discovery_client.go |   418 +
 vendor/k8s.io/client-go/discovery/helper.go        |   121 +
 vendor/k8s.io/client-go/discovery/restmapper.go    |   333 +
 vendor/k8s.io/client-go/discovery/unstructured.go  |    95 +
 vendor/k8s.io/client-go/dynamic/client.go          |   379 +
 vendor/k8s.io/client-go/dynamic/client_pool.go     |   122 +
 vendor/k8s.io/client-go/dynamic/dynamic_util.go    |    96 +
 vendor/k8s.io/client-go/kubernetes/clientset.go    |   598 +
 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 |   108 +
 .../v1alpha1/admissionregistration_client.go       |    90 +
 .../typed/admissionregistration/v1alpha1/doc.go    |    20 +
 .../v1alpha1/generated_expansion.go                |    21 +
 .../v1alpha1/initializerconfiguration.go           |   147 +
 .../v1beta1/admissionregistration_client.go        |    95 +
 .../typed/admissionregistration/v1beta1/doc.go     |    20 +
 .../v1beta1/generated_expansion.go                 |    23 +
 .../v1beta1/mutatingwebhookconfiguration.go        |   147 +
 .../v1beta1/validatingwebhookconfiguration.go      |   147 +
 .../kubernetes/typed/apps/v1/apps_client.go        |   110 +
 .../kubernetes/typed/apps/v1/controllerrevision.go |   157 +
 .../kubernetes/typed/apps/v1/daemonset.go          |   174 +
 .../kubernetes/typed/apps/v1/deployment.go         |   174 +
 .../client-go/kubernetes/typed/apps/v1/doc.go      |    20 +
 .../typed/apps/v1/generated_expansion.go           |    29 +
 .../kubernetes/typed/apps/v1/replicaset.go         |   174 +
 .../kubernetes/typed/apps/v1/statefulset.go        |   174 +
 .../kubernetes/typed/apps/v1beta1/apps_client.go   |   105 +
 .../typed/apps/v1beta1/controllerrevision.go       |   157 +
 .../kubernetes/typed/apps/v1beta1/deployment.go    |   174 +
 .../client-go/kubernetes/typed/apps/v1beta1/doc.go |    20 +
 .../typed/apps/v1beta1/generated_expansion.go      |    27 +
 .../kubernetes/typed/apps/v1beta1/scale.go         |    48 +
 .../kubernetes/typed/apps/v1beta1/statefulset.go   |   174 +
 .../kubernetes/typed/apps/v1beta2/apps_client.go   |   115 +
 .../typed/apps/v1beta2/controllerrevision.go       |   157 +
 .../kubernetes/typed/apps/v1beta2/daemonset.go     |   174 +
 .../kubernetes/typed/apps/v1beta2/deployment.go    |   174 +
 .../client-go/kubernetes/typed/apps/v1beta2/doc.go |    20 +
 .../typed/apps/v1beta2/generated_expansion.go      |    31 +
 .../kubernetes/typed/apps/v1beta2/replicaset.go    |   174 +
 .../kubernetes/typed/apps/v1beta2/scale.go         |    48 +
 .../kubernetes/typed/apps/v1beta2/statefulset.go   |   205 +
 .../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      |   174 +
 .../autoscaling/v2beta1/autoscaling_client.go      |    90 +
 .../kubernetes/typed/autoscaling/v2beta1/doc.go    |    20 +
 .../autoscaling/v2beta1/generated_expansion.go     |    21 +
 .../autoscaling/v2beta1/horizontalpodautoscaler.go |   174 +
 .../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     |   174 +
 .../kubernetes/typed/batch/v1beta1/batch_client.go |    90 +
 .../kubernetes/typed/batch/v1beta1/cronjob.go      |   174 +
 .../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     |   174 +
 .../kubernetes/typed/batch/v2alpha1/doc.go         |    20 +
 .../typed/batch/v2alpha1/generated_expansion.go    |    21 +
 .../certificates/v1beta1/certificates_client.go    |    90 +
 .../v1beta1/certificatesigningrequest.go           |   163 +
 .../v1beta1/certificatesigningrequest_expansion.go |    37 +
 .../kubernetes/typed/certificates/v1beta1/doc.go   |    20 +
 .../certificates/v1beta1/generated_expansion.go    |    19 +
 .../kubernetes/typed/core/v1/componentstatus.go    |   147 +
 .../kubernetes/typed/core/v1/configmap.go          |   157 +
 .../kubernetes/typed/core/v1/core_client.go        |   165 +
 .../client-go/kubernetes/typed/core/v1/doc.go      |    20 +
 .../kubernetes/typed/core/v1/endpoints.go          |   157 +
 .../client-go/kubernetes/typed/core/v1/event.go    |   157 +
 .../kubernetes/typed/core/v1/event_expansion.go    |   164 +
 .../typed/core/v1/generated_expansion.go           |    39 +
 .../kubernetes/typed/core/v1/limitrange.go         |   157 +
 .../kubernetes/typed/core/v1/namespace.go          |   163 +
 .../typed/core/v1/namespace_expansion.go           |    31 +
 .../client-go/kubernetes/typed/core/v1/node.go     |   163 +
 .../kubernetes/typed/core/v1/node_expansion.go     |    43 +
 .../kubernetes/typed/core/v1/persistentvolume.go   |   163 +
 .../typed/core/v1/persistentvolumeclaim.go         |   174 +
 .../client-go/kubernetes/typed/core/v1/pod.go      |   174 +
 .../kubernetes/typed/core/v1/pod_expansion.go      |    45 +
 .../kubernetes/typed/core/v1/podtemplate.go        |   157 +
 .../typed/core/v1/replicationcontroller.go         |   206 +
 .../kubernetes/typed/core/v1/resourcequota.go      |   174 +
 .../client-go/kubernetes/typed/core/v1/secret.go   |   157 +
 .../client-go/kubernetes/typed/core/v1/service.go  |   174 +
 .../kubernetes/typed/core/v1/service_expansion.go  |    41 +
 .../kubernetes/typed/core/v1/serviceaccount.go     |   157 +
 .../typed/core/v1/serviceaccount_expansion.go      |    41 +
 .../kubernetes/typed/events/v1beta1/doc.go         |    20 +
 .../kubernetes/typed/events/v1beta1/event.go       |   157 +
 .../typed/events/v1beta1/events_client.go          |    90 +
 .../typed/events/v1beta1/generated_expansion.go    |    21 +
 .../typed/extensions/v1beta1/daemonset.go          |   174 +
 .../typed/extensions/v1beta1/deployment.go         |   205 +
 .../extensions/v1beta1/deployment_expansion.go     |    29 +
 .../kubernetes/typed/extensions/v1beta1/doc.go     |    20 +
 .../typed/extensions/v1beta1/extensions_client.go  |   115 +
 .../extensions/v1beta1/generated_expansion.go      |    27 +
 .../kubernetes/typed/extensions/v1beta1/ingress.go |   174 +
 .../typed/extensions/v1beta1/podsecuritypolicy.go  |   147 +
 .../typed/extensions/v1beta1/replicaset.go         |   205 +
 .../kubernetes/typed/extensions/v1beta1/scale.go   |    48 +
 .../typed/extensions/v1beta1/scale_expansion.go    |    65 +
 .../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           |   157 +
 .../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    |   174 +
 .../typed/policy/v1beta1/podsecuritypolicy.go      |   147 +
 .../typed/policy/v1beta1/policy_client.go          |   100 +
 .../kubernetes/typed/rbac/v1/clusterrole.go        |   147 +
 .../kubernetes/typed/rbac/v1/clusterrolebinding.go |   147 +
 .../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     |   157 +
 .../kubernetes/typed/rbac/v1/rolebinding.go        |   157 +
 .../kubernetes/typed/rbac/v1alpha1/clusterrole.go  |   147 +
 .../typed/rbac/v1alpha1/clusterrolebinding.go      |   147 +
 .../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         |   157 +
 .../kubernetes/typed/rbac/v1alpha1/rolebinding.go  |   157 +
 .../kubernetes/typed/rbac/v1beta1/clusterrole.go   |   147 +
 .../typed/rbac/v1beta1/clusterrolebinding.go       |   147 +
 .../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          |   157 +
 .../kubernetes/typed/rbac/v1beta1/rolebinding.go   |   157 +
 .../kubernetes/typed/scheduling/v1alpha1/doc.go    |    20 +
 .../scheduling/v1alpha1/generated_expansion.go     |    21 +
 .../typed/scheduling/v1alpha1/priorityclass.go     |   147 +
 .../typed/scheduling/v1alpha1/scheduling_client.go |    90 +
 .../kubernetes/typed/settings/v1alpha1/doc.go      |    20 +
 .../typed/settings/v1alpha1/generated_expansion.go |    21 +
 .../typed/settings/v1alpha1/podpreset.go           |   157 +
 .../typed/settings/v1alpha1/settings_client.go     |    90 +
 .../client-go/kubernetes/typed/storage/v1/doc.go   |    20 +
 .../typed/storage/v1/generated_expansion.go        |    21 +
 .../kubernetes/typed/storage/v1/storage_client.go  |    90 +
 .../kubernetes/typed/storage/v1/storageclass.go    |   147 +
 .../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     |   163 +
 .../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          |   147 +
 .../typed/storage/v1beta1/volumeattachment.go      |   163 +
 .../client-go/pkg/apis/clientauthentication/doc.go |    19 +
 .../pkg/apis/clientauthentication/register.go      |    50 +
 .../pkg/apis/clientauthentication/types.go         |    70 +
 .../pkg/apis/clientauthentication/v1alpha1/doc.go  |    23 +
 .../apis/clientauthentication/v1alpha1/register.go |    55 +
 .../apis/clientauthentication/v1alpha1/types.go    |    70 +
 .../v1alpha1/zz_generated.conversion.go            |   141 +
 .../v1alpha1/zz_generated.deepcopy.go              |   137 +
 .../v1alpha1/zz_generated.defaults.go              |    32 +
 .../clientauthentication/zz_generated.deepcopy.go  |   137 +
 vendor/k8s.io/client-go/pkg/version/base.go        |    63 +
 vendor/k8s.io/client-go/pkg/version/doc.go         |    20 +
 vendor/k8s.io/client-go/pkg/version/version.go     |    42 +
 .../client-go/plugin/pkg/client/auth/exec/exec.go  |   280 +
 .../client-go/plugin/pkg/client/auth/gcp/gcp.go    |   364 +
 vendor/k8s.io/client-go/rest/client.go             |   258 +
 vendor/k8s.io/client-go/rest/config.go             |   458 +
 vendor/k8s.io/client-go/rest/plugin.go             |    73 +
 vendor/k8s.io/client-go/rest/request.go            |  1133 +
 vendor/k8s.io/client-go/rest/transport.go          |   115 +
 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 +
 .../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  |   659 +
 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   |   188 +
 .../k8s.io/client-go/tools/cache/mutation_cache.go |   261 +
 .../client-go/tools/cache/mutation_detector.go     |   127 +
 vendor/k8s.io/client-go/tools/cache/reflector.go   |   449 +
 .../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 |    18 +
 .../client-go/tools/clientcmd/api/helpers.go       |   183 +
 .../client-go/tools/clientcmd/api/latest/latest.go |    66 +
 .../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 |   227 +
 .../k8s.io/client-go/tools/clientcmd/api/v1/doc.go |    18 +
 .../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      |   353 +
 .../tools/clientcmd/api/zz_generated.deepcopy.go   |   320 +
 .../client-go/tools/clientcmd/auth_loaders.go      |   106 +
 .../client-go/tools/clientcmd/client_config.go     |   553 +
 vendor/k8s.io/client-go/tools/clientcmd/config.go  |   472 +
 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  |   617 +
 .../tools/clientcmd/merged_client_builder.go       |   169 +
 .../k8s.io/client-go/tools/clientcmd/overrides.go  |   247 +
 .../k8s.io/client-go/tools/clientcmd/validation.go |   298 +
 vendor/k8s.io/client-go/tools/metrics/metrics.go   |    61 +
 vendor/k8s.io/client-go/tools/pager/pager.go       |   118 +
 vendor/k8s.io/client-go/tools/reference/ref.go     |   122 +
 vendor/k8s.io/client-go/transport/cache.go         |   113 +
 vendor/k8s.io/client-go/transport/config.go        |   101 +
 .../k8s.io/client-go/transport/round_trippers.go   |   424 +
 vendor/k8s.io/client-go/transport/transport.go     |   141 +
 .../k8s.io/client-go/util/buffer/ring_growing.go   |    72 +
 vendor/k8s.io/client-go/util/cert/cert.go          |   245 +
 vendor/k8s.io/client-go/util/cert/csr.go           |    75 +
 vendor/k8s.io/client-go/util/cert/io.go            |   158 +
 vendor/k8s.io/client-go/util/cert/pem.go           |   269 +
 .../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     |   257 +
 vendor/k8s.io/client-go/util/workqueue/doc.go      |    26 +
 vendor/k8s.io/client-go/util/workqueue/metrics.go  |   195 +
 .../client-go/util/workqueue/parallelizer.go       |    52 +
 vendor/k8s.io/client-go/util/workqueue/queue.go    |   172 +
 .../util/workqueue/rate_limitting_queue.go         |    69 +
 .../.github/PULL_REQUEST_TEMPLATE.md               |     2 +
 vendor/k8s.io/code-generator/CONTRIBUTING.md       |     7 +
 vendor/k8s.io/code-generator/Godeps/Godeps.json    |   270 +
 vendor/k8s.io/code-generator/Godeps/OWNERS         |     2 +
 vendor/k8s.io/code-generator/Godeps/Readme         |     5 +
 vendor/k8s.io/code-generator/LICENSE               |   202 +
 vendor/k8s.io/code-generator/OWNERS                |     8 +
 vendor/k8s.io/code-generator/README.md             |    24 +
 .../_examples/apiserver/apis/example/doc.go        |    19 +
 .../apiserver/apis/example/install/install.go      |    43 +
 .../_examples/apiserver/apis/example/register.go   |    45 +
 .../_examples/apiserver/apis/example/types.go      |    44 +
 .../_examples/apiserver/apis/example/v1/doc.go     |    20 +
 .../apiserver/apis/example/v1/register.go          |    59 +
 .../_examples/apiserver/apis/example/v1/types.go   |    47 +
 .../apis/example/v1/zz_generated.conversion.go     |   114 +
 .../apis/example/v1/zz_generated.deepcopy.go       |   101 +
 .../apis/example/v1/zz_generated.defaults.go       |    32 +
 .../apis/example/zz_generated.deepcopy.go          |   101 +
 .../_examples/apiserver/apis/example2/doc.go       |    20 +
 .../apiserver/apis/example2/install/install.go     |    43 +
 .../_examples/apiserver/apis/example2/register.go  |    45 +
 .../_examples/apiserver/apis/example2/types.go     |    44 +
 .../_examples/apiserver/apis/example2/v1/doc.go    |    21 +
 .../apiserver/apis/example2/v1/register.go         |    59 +
 .../_examples/apiserver/apis/example2/v1/types.go  |    47 +
 .../apis/example2/v1/zz_generated.conversion.go    |   114 +
 .../apis/example2/v1/zz_generated.deepcopy.go      |   101 +
 .../apis/example2/v1/zz_generated.defaults.go      |    32 +
 .../apis/example2/zz_generated.deepcopy.go         |   101 +
 .../clientset/internalversion/clientset.go         |   106 +
 .../apiserver/clientset/internalversion/doc.go     |    20 +
 .../internalversion/fake/clientset_generated.go    |    83 +
 .../clientset/internalversion/fake/doc.go          |    20 +
 .../clientset/internalversion/fake/register.go     |    56 +
 .../clientset/internalversion/scheme/doc.go        |    20 +
 .../clientset/internalversion/scheme/register.go   |    50 +
 .../typed/example/internalversion/doc.go           |    20 +
 .../example/internalversion/example_client.go      |   101 +
 .../typed/example/internalversion/fake/doc.go      |    20 +
 .../internalversion/fake/fake_example_client.go    |    40 +
 .../example/internalversion/fake/fake_testtype.go  |   140 +
 .../example/internalversion/generated_expansion.go |    21 +
 .../typed/example/internalversion/testtype.go      |   174 +
 .../typed/example2/internalversion/doc.go          |    20 +
 .../example2/internalversion/example2_client.go    |   101 +
 .../typed/example2/internalversion/fake/doc.go     |    20 +
 .../internalversion/fake/fake_example2_client.go   |    40 +
 .../example2/internalversion/fake/fake_testtype.go |   140 +
 .../internalversion/generated_expansion.go         |    21 +
 .../typed/example2/internalversion/testtype.go     |   174 +
 .../apiserver/clientset/versioned/clientset.go     |   122 +
 .../_examples/apiserver/clientset/versioned/doc.go |    20 +
 .../versioned/fake/clientset_generated.go          |    93 +
 .../apiserver/clientset/versioned/fake/doc.go      |    20 +
 .../apiserver/clientset/versioned/fake/register.go |    56 +
 .../apiserver/clientset/versioned/scheme/doc.go    |    20 +
 .../clientset/versioned/scheme/register.go         |    56 +
 .../clientset/versioned/typed/example/v1/doc.go    |    20 +
 .../versioned/typed/example/v1/example_client.go   |    90 +
 .../versioned/typed/example/v1/fake/doc.go         |    20 +
 .../typed/example/v1/fake/fake_example_client.go   |    40 +
 .../typed/example/v1/fake/fake_testtype.go         |   140 +
 .../typed/example/v1/generated_expansion.go        |    21 +
 .../versioned/typed/example/v1/testtype.go         |   174 +
 .../clientset/versioned/typed/example2/v1/doc.go   |    20 +
 .../versioned/typed/example2/v1/example2_client.go |    90 +
 .../versioned/typed/example2/v1/fake/doc.go        |    20 +
 .../typed/example2/v1/fake/fake_example2_client.go |    40 +
 .../typed/example2/v1/fake/fake_testtype.go        |   140 +
 .../typed/example2/v1/generated_expansion.go       |    21 +
 .../versioned/typed/example2/v1/testtype.go        |   174 +
 .../externalversions/example/interface.go          |    46 +
 .../externalversions/example/v1/interface.go       |    45 +
 .../externalversions/example/v1/testtype.go        |    89 +
 .../externalversions/example2/interface.go         |    46 +
 .../externalversions/example2/v1/interface.go      |    45 +
 .../externalversions/example2/v1/testtype.go       |    89 +
 .../informers/externalversions/factory.go          |   137 +
 .../informers/externalversions/generic.go          |    67 +
 .../internalinterfaces/factory_interfaces.go       |    38 +
 .../informers/internalversion/example/interface.go |    46 +
 .../example/internalversion/interface.go           |    45 +
 .../example/internalversion/testtype.go            |    89 +
 .../internalversion/example2/interface.go          |    46 +
 .../example2/internalversion/interface.go          |    45 +
 .../example2/internalversion/testtype.go           |    89 +
 .../apiserver/informers/internalversion/factory.go |   137 +
 .../apiserver/informers/internalversion/generic.go |    67 +
 .../internalinterfaces/factory_interfaces.go       |    38 +
 .../example/internalversion/expansion_generated.go |    27 +
 .../listers/example/internalversion/testtype.go    |    94 +
 .../listers/example/v1/expansion_generated.go      |    27 +
 .../apiserver/listers/example/v1/testtype.go       |    94 +
 .../internalversion/expansion_generated.go         |    27 +
 .../listers/example2/internalversion/testtype.go   |    94 +
 .../listers/example2/v1/expansion_generated.go     |    27 +
 .../apiserver/listers/example2/v1/testtype.go      |    94 +
 .../_examples/crd/apis/example/v1/doc.go           |    19 +
 .../_examples/crd/apis/example/v1/register.go      |    59 +
 .../_examples/crd/apis/example/v1/types.go         |    47 +
 .../crd/apis/example/v1/zz_generated.deepcopy.go   |   101 +
 .../_examples/crd/apis/example2/v1/doc.go          |    20 +
 .../_examples/crd/apis/example2/v1/register.go     |    59 +
 .../_examples/crd/apis/example2/v1/types.go        |    47 +
 .../crd/apis/example2/v1/zz_generated.deepcopy.go  |   101 +
 .../_examples/crd/clientset/versioned/clientset.go |   122 +
 .../_examples/crd/clientset/versioned/doc.go       |    20 +
 .../versioned/fake/clientset_generated.go          |    93 +
 .../_examples/crd/clientset/versioned/fake/doc.go  |    20 +
 .../crd/clientset/versioned/fake/register.go       |    56 +
 .../crd/clientset/versioned/scheme/doc.go          |    20 +
 .../crd/clientset/versioned/scheme/register.go     |    56 +
 .../clientset/versioned/typed/example/v1/doc.go    |    20 +
 .../versioned/typed/example/v1/example_client.go   |    90 +
 .../versioned/typed/example/v1/fake/doc.go         |    20 +
 .../typed/example/v1/fake/fake_example_client.go   |    40 +
 .../typed/example/v1/fake/fake_testtype.go         |   140 +
 .../typed/example/v1/generated_expansion.go        |    21 +
 .../versioned/typed/example/v1/testtype.go         |   174 +
 .../clientset/versioned/typed/example2/v1/doc.go   |    20 +
 .../versioned/typed/example2/v1/example2_client.go |    90 +
 .../versioned/typed/example2/v1/fake/doc.go        |    20 +
 .../typed/example2/v1/fake/fake_example2_client.go |    40 +
 .../typed/example2/v1/fake/fake_testtype.go        |   140 +
 .../typed/example2/v1/generated_expansion.go       |    21 +
 .../versioned/typed/example2/v1/testtype.go        |   174 +
 .../externalversions/example/interface.go          |    46 +
 .../externalversions/example/v1/interface.go       |    45 +
 .../externalversions/example/v1/testtype.go        |    89 +
 .../externalversions/example2/interface.go         |    46 +
 .../externalversions/example2/v1/interface.go      |    45 +
 .../externalversions/example2/v1/testtype.go       |    89 +
 .../crd/informers/externalversions/factory.go      |   137 +
 .../crd/informers/externalversions/generic.go      |    67 +
 .../internalinterfaces/factory_interfaces.go       |    38 +
 .../crd/listers/example/v1/expansion_generated.go  |    27 +
 .../_examples/crd/listers/example/v1/testtype.go   |    94 +
 .../crd/listers/example2/v1/expansion_generated.go |    27 +
 .../_examples/crd/listers/example2/v1/testtype.go  |    94 +
 vendor/k8s.io/code-generator/cmd/client-gen/BUILD  |    45 +
 vendor/k8s.io/code-generator/cmd/client-gen/OWNERS |     8 +
 .../k8s.io/code-generator/cmd/client-gen/README.md |     4 +
 .../code-generator/cmd/client-gen/args/BUILD       |    46 +
 .../code-generator/cmd/client-gen/args/args.go     |   120 +
 .../cmd/client-gen/args/gvpackages.go              |   183 +
 .../code-generator/cmd/client-gen/args/gvtype.go   |   110 +
 .../code-generator/cmd/client-gen/generators/BUILD |    50 +
 .../cmd/client-gen/generators/client_generator.go  |   426 +
 .../cmd/client-gen/generators/fake/BUILD           |    40 +
 .../generators/fake/fake_client_generator.go       |   130 +
 .../fake/generator_fake_for_clientset.go           |   172 +
 .../generators/fake/generator_fake_for_group.go    |   130 +
 .../generators/fake/generator_fake_for_type.go     |   494 +
 .../generators/generator_for_clientset.go          |   194 +
 .../generators/generator_for_expansion.go          |    54 +
 .../client-gen/generators/generator_for_group.go   |   252 +
 .../client-gen/generators/generator_for_type.go    |   579 +
 .../cmd/client-gen/generators/scheme/BUILD         |    32 +
 .../generators/scheme/generator_for_scheme.go      |   191 +
 .../cmd/client-gen/generators/tags.go              |    32 +
 .../cmd/client-gen/generators/util/BUILD           |    33 +
 .../cmd/client-gen/generators/util/tags.go         |   341 +
 .../k8s.io/code-generator/cmd/client-gen/main.go   |    65 +
 .../code-generator/cmd/client-gen/path/BUILD       |    25 +
 .../code-generator/cmd/client-gen/path/path.go     |    31 +
 .../code-generator/cmd/client-gen/types/BUILD      |    36 +
 .../code-generator/cmd/client-gen/types/helpers.go |   123 +
 .../code-generator/cmd/client-gen/types/types.go   |    78 +
 .../k8s.io/code-generator/cmd/conversion-gen/BUILD |    43 +
 .../code-generator/cmd/conversion-gen/args/BUILD   |    26 +
 .../code-generator/cmd/conversion-gen/args/args.go |    83 +
 .../cmd/conversion-gen/generators/BUILD            |    33 +
 .../cmd/conversion-gen/generators/conversion.go    |   960 +
 .../code-generator/cmd/conversion-gen/main.go      |    76 +
 .../k8s.io/code-generator/cmd/deepcopy-gen/BUILD   |    42 +
 .../code-generator/cmd/deepcopy-gen/args/BUILD     |    27 +
 .../code-generator/cmd/deepcopy-gen/args/args.go   |    54 +
 .../k8s.io/code-generator/cmd/deepcopy-gen/main.go |    84 +
 .../k8s.io/code-generator/cmd/defaulter-gen/BUILD  |    42 +
 .../code-generator/cmd/defaulter-gen/args/BUILD    |    27 +
 .../code-generator/cmd/defaulter-gen/args/args.go  |    54 +
 .../code-generator/cmd/defaulter-gen/main.go       |    83 +
 .../code-generator/cmd/go-to-protobuf/.gitignore   |     1 +
 .../k8s.io/code-generator/cmd/go-to-protobuf/BUILD |    39 +
 .../code-generator/cmd/go-to-protobuf/OWNERS       |     4 +
 .../code-generator/cmd/go-to-protobuf/main.go      |    39 +
 .../cmd/go-to-protobuf/protobuf/BUILD              |    51 +
 .../cmd/go-to-protobuf/protobuf/cmd.go             |   349 +
 .../cmd/go-to-protobuf/protobuf/generator.go       |   769 +
 .../cmd/go-to-protobuf/protobuf/import_tracker.go  |    50 +
 .../cmd/go-to-protobuf/protobuf/namer.go           |   205 +
 .../cmd/go-to-protobuf/protobuf/package.go         |   215 +
 .../cmd/go-to-protobuf/protobuf/parser.go          |   452 +
 .../cmd/go-to-protobuf/protobuf/tags.go            |    33 +
 .../cmd/go-to-protobuf/protoc-gen-gogo/BUILD       |    37 +
 .../cmd/go-to-protobuf/protoc-gen-gogo/main.go     |    32 +
 .../code-generator/cmd/import-boss/.gitignore      |     1 +
 vendor/k8s.io/code-generator/cmd/import-boss/BUILD |    37 +
 .../k8s.io/code-generator/cmd/import-boss/main.go  |    89 +
 .../k8s.io/code-generator/cmd/informer-gen/BUILD   |    43 +
 .../code-generator/cmd/informer-gen/args/BUILD     |    27 +
 .../code-generator/cmd/informer-gen/args/args.go   |    77 +
 .../cmd/informer-gen/generators/BUILD              |    45 +
 .../cmd/informer-gen/generators/factory.go         |   208 +
 .../informer-gen/generators/factoryinterface.go    |    88 +
 .../cmd/informer-gen/generators/generic.go         |   180 +
 .../cmd/informer-gen/generators/groupinterface.go  |   118 +
 .../cmd/informer-gen/generators/informer.go        |   186 +
 .../cmd/informer-gen/generators/packages.go        |   352 +
 .../cmd/informer-gen/generators/tags.go            |    33 +
 .../cmd/informer-gen/generators/types.go           |    41 +
 .../informer-gen/generators/versioninterface.go    |   109 +
 .../k8s.io/code-generator/cmd/informer-gen/main.go |    62 +
 .../cmd/lister-gen/.import-restrictions            |     1 +
 vendor/k8s.io/code-generator/cmd/lister-gen/BUILD  |    43 +
 .../code-generator/cmd/lister-gen/args/BUILD       |    27 +
 .../code-generator/cmd/lister-gen/args/args.go     |    56 +
 .../code-generator/cmd/lister-gen/generators/BUILD |    38 +
 .../cmd/lister-gen/generators/expansion.go         |    67 +
 .../cmd/lister-gen/generators/lister.go            |   371 +
 .../cmd/lister-gen/generators/tags.go              |    33 +
 .../k8s.io/code-generator/cmd/lister-gen/main.go   |    59 +
 vendor/k8s.io/code-generator/cmd/openapi-gen/BUILD |    42 +
 .../k8s.io/code-generator/cmd/openapi-gen/README   |    13 +
 .../code-generator/cmd/openapi-gen/args/BUILD      |    26 +
 .../code-generator/cmd/openapi-gen/args/args.go    |    53 +
 .../k8s.io/code-generator/cmd/openapi-gen/main.go  |    61 +
 .../k8s.io/code-generator/cmd/set-gen/.gitignore   |     1 +
 vendor/k8s.io/code-generator/cmd/set-gen/BUILD     |    41 +
 vendor/k8s.io/code-generator/cmd/set-gen/main.go   |    55 +
 vendor/k8s.io/code-generator/code-of-conduct.md    |     3 +
 vendor/k8s.io/code-generator/generate-groups.sh    |    86 +
 .../code-generator/generate-internal-groups.sh     |   109 +
 vendor/k8s.io/code-generator/hack/BUILD            |    18 +
 .../k8s.io/code-generator/hack/boilerplate.go.txt  |    16 +
 .../k8s.io/code-generator/hack/update-codegen.sh   |    32 +
 .../k8s.io/code-generator/hack/verify-codegen.sh   |    53 +
 vendor/k8s.io/code-generator/pkg/util/BUILD        |    22 +
 vendor/k8s.io/code-generator/pkg/util/build.go     |    61 +
 .../third_party/forked/golang/reflect/BUILD        |    25 +
 .../third_party/forked/golang/reflect/type.go      |    91 +
 vendor/k8s.io/gengo/LICENSE                        |   202 +
 vendor/k8s.io/gengo/args/args.go                   |   199 +
 .../examples/deepcopy-gen/generators/deepcopy.go   |   905 +
 .../examples/defaulter-gen/generators/defaulter.go |   828 +
 vendor/k8s.io/gengo/examples/set-gen/sets/byte.go  |   203 +
 vendor/k8s.io/gengo/examples/set-gen/sets/doc.go   |    20 +
 vendor/k8s.io/gengo/examples/set-gen/sets/empty.go |    23 +
 vendor/k8s.io/gengo/examples/set-gen/sets/int.go   |   203 +
 vendor/k8s.io/gengo/examples/set-gen/sets/int64.go |   203 +
 .../k8s.io/gengo/examples/set-gen/sets/string.go   |   203 +
 vendor/k8s.io/gengo/generator/default_generator.go |    62 +
 vendor/k8s.io/gengo/generator/default_package.go   |    72 +
 vendor/k8s.io/gengo/generator/doc.go               |    31 +
 vendor/k8s.io/gengo/generator/error_tracker.go     |    50 +
 vendor/k8s.io/gengo/generator/execute.go           |   312 +
 vendor/k8s.io/gengo/generator/generator.go         |   219 +
 vendor/k8s.io/gengo/generator/import_tracker.go    |    64 +
 vendor/k8s.io/gengo/generator/snippet_writer.go    |   154 +
 vendor/k8s.io/gengo/namer/doc.go                   |    31 +
 vendor/k8s.io/gengo/namer/import_tracker.go        |   112 +
 vendor/k8s.io/gengo/namer/namer.go                 |   383 +
 vendor/k8s.io/gengo/namer/order.go                 |    69 +
 vendor/k8s.io/gengo/namer/plural_namer.go          |   120 +
 vendor/k8s.io/gengo/parser/doc.go                  |    19 +
 vendor/k8s.io/gengo/parser/parse.go                |   813 +
 vendor/k8s.io/gengo/types/comments.go              |    82 +
 vendor/k8s.io/gengo/types/doc.go                   |    19 +
 vendor/k8s.io/gengo/types/flatten.go               |    57 +
 vendor/k8s.io/gengo/types/types.go                 |   499 +
 vendor/k8s.io/kube-openapi/LICENSE                 |   202 +
 .../kube-openapi/cmd/openapi-gen/args/args.go      |    73 +
 vendor/k8s.io/kube-openapi/pkg/common/common.go    |   168 +
 vendor/k8s.io/kube-openapi/pkg/common/doc.go       |    19 +
 .../kube-openapi/pkg/generators/api_linter.go      |   100 +
 .../kube-openapi/pkg/generators/extension.go       |   182 +
 .../k8s.io/kube-openapi/pkg/generators/openapi.go  |   704 +
 .../kube-openapi/pkg/generators/rules/doc.go       |    23 +
 .../pkg/generators/rules/names_match.go            |   172 +
 vendor/k8s.io/kube-openapi/pkg/util/sets/empty.go  |    27 +
 vendor/k8s.io/kube-openapi/pkg/util/sets/string.go |   207 +
 1921 files changed, 809826 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index 00e62a3..4663a71 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,9 +8,6 @@
 # Unuseful file
 /deploy/operator.yaml
 
-# We do not stage vendor directory
-/vendor
-
 # IDEs
 .idea
 *.iml
diff --git a/vendor/cloud.google.com/go/AUTHORS b/vendor/cloud.google.com/go/AUTHORS
new file mode 100644
index 0000000..c364af1
--- /dev/null
+++ b/vendor/cloud.google.com/go/AUTHORS
@@ -0,0 +1,15 @@
+# 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 <hi...@filippo.io>
+Google Inc.
+Ingo Oeser <ni...@googlemail.com>
+Palm Stone Games, Inc.
+Paweł Knap <pa...@gmail.com>
+Péter Szilágyi <pe...@gmail.com>
+Tyler Treat <tt...@gmail.com>
diff --git a/vendor/cloud.google.com/go/CONTRIBUTORS b/vendor/cloud.google.com/go/CONTRIBUTORS
new file mode 100644
index 0000000..3b3cbed
--- /dev/null
+++ b/vendor/cloud.google.com/go/CONTRIBUTORS
@@ -0,0 +1,40 @@
+# 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 <le...@google.com>
+Andreas Litt <an...@gmail.com>
+Andrew Gerrand <ad...@golang.org>
+Brad Fitzpatrick <br...@golang.org>
+Burcu Dogan <jb...@google.com>
+Dave Day <dj...@golang.org>
+David Sansome <me...@davidsansome.com>
+David Symonds <ds...@golang.org>
+Filippo Valsorda <hi...@filippo.io>
+Glenn Lewis <gm...@google.com>
+Ingo Oeser <ni...@googlemail.com>
+James Hall <ja...@shopify.com>
+Johan Euphrosine <pr...@google.com>
+Jonathan Amsterdam <jb...@google.com>
+Kunpei Sakai <na...@gmail.com>
+Luna Duclos <lu...@palmstonegames.com>
+Magnus Hiie <ma...@gmail.com>
+Mario Castro <ma...@gmail.com>
+Michael McGreevy <mc...@golang.org>
+Omar Jarjur <oj...@google.com>
+Paweł Knap <pa...@gmail.com>
+Péter Szilágyi <pe...@gmail.com>
+Sarah Adams <sh...@google.com>
+Thanatat Tamtan <ac...@gmail.com>
+Toby Burress <ku...@google.com>
+Tuo Shan <sh...@google.com>
+Tyler Treat <tt...@gmail.com>
diff --git a/vendor/cloud.google.com/go/LICENSE b/vendor/cloud.google.com/go/LICENSE
new file mode 100644
index 0000000..d645695
--- /dev/null
+++ b/vendor/cloud.google.com/go/LICENSE
@@ -0,0 +1,202 @@
+
+                                 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
new file mode 100644
index 0000000..9d0660b
--- /dev/null
+++ b/vendor/cloud.google.com/go/compute/metadata/metadata.go
@@ -0,0 +1,503 @@
+// 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 (
+	"encoding/json"
+	"fmt"
+	"io/ioutil"
+	"net"
+	"net/http"
+	"net/url"
+	"os"
+	"runtime"
+	"strings"
+	"sync"
+	"time"
+
+	"golang.org/x/net/context"
+	"golang.org/x/net/context/ctxhttp"
+)
+
+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/GoogleCloudPlatform/google-cloud-go/issues/194
+	go func() {
+		req, _ := http.NewRequest("GET", "http://"+metadataIP, nil)
+		req.Header.Set("User-Agent", userAgent)
+		res, err := ctxhttp.Do(ctx, defaultClient.hc, req)
+		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
+	}
+	url := "http://" + host + "/computeMetadata/v1/" + suffix
+	req, _ := http.NewRequest("GET", url, 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)
+	}
+	if res.StatusCode != 200 {
+		return "", "", fmt.Errorf("status code %d trying to fetch %s", res.StatusCode, url)
+	}
+	all, err := ioutil.ReadAll(res.Body)
+	if err != nil {
+		return "", "", err
+	}
+	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
+		}
+	}
+}
diff --git a/vendor/github.com/PuerkitoBio/purell/LICENSE b/vendor/github.com/PuerkitoBio/purell/LICENSE
new file mode 100644
index 0000000..4b9986d
--- /dev/null
+++ b/vendor/github.com/PuerkitoBio/purell/LICENSE
@@ -0,0 +1,12 @@
+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
new file mode 100644
index 0000000..645e1b7
--- /dev/null
+++ b/vendor/github.com/PuerkitoBio/purell/purell.go
@@ -0,0 +1,379 @@
+/*
+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
new file mode 100644
index 0000000..7448756
--- /dev/null
+++ b/vendor/github.com/PuerkitoBio/urlesc/LICENSE
@@ -0,0 +1,27 @@
+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
new file mode 100644
index 0000000..1b84624
--- /dev/null
+++ b/vendor/github.com/PuerkitoBio/urlesc/urlesc.go
@@ -0,0 +1,180 @@
+// 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/beorn7/perks/LICENSE b/vendor/github.com/beorn7/perks/LICENSE
new file mode 100644
index 0000000..339177b
--- /dev/null
+++ b/vendor/github.com/beorn7/perks/LICENSE
@@ -0,0 +1,20 @@
+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
new file mode 100644
index 0000000..d7d14f8
--- /dev/null
+++ b/vendor/github.com/beorn7/perks/quantile/stream.go
@@ -0,0 +1,316 @@
+// 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/davecgh/go-spew/LICENSE b/vendor/github.com/davecgh/go-spew/LICENSE
new file mode 100644
index 0000000..bc52e96
--- /dev/null
+++ b/vendor/github.com/davecgh/go-spew/LICENSE
@@ -0,0 +1,15 @@
+ISC License
+
+Copyright (c) 2012-2016 Dave Collins <da...@davec.name>
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/vendor/github.com/davecgh/go-spew/spew/bypass.go b/vendor/github.com/davecgh/go-spew/spew/bypass.go
new file mode 100644
index 0000000..7929947
--- /dev/null
+++ b/vendor/github.com/davecgh/go-spew/spew/bypass.go
@@ -0,0 +1,145 @@
+// Copyright (c) 2015-2016 Dave Collins <da...@davec.name>
+//
+// Permission to use, copy, modify, and distribute this software for any
+// purpose with or without fee is hereby granted, provided that the above
+// copyright notice and this permission notice appear in all copies.
+//
+// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+// ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+// NOTE: Due to the following build constraints, this file will only be compiled
+// when the code is not running on Google App Engine, compiled by GopherJS, and
+// "-tags safe" is not added to the go build command line.  The "disableunsafe"
+// tag is deprecated and thus should not be used.
+// Go versions prior to 1.4 are disabled because they use a different layout
+// for interfaces which make the implementation of unsafeReflectValue more complex.
+// +build !js,!appengine,!safe,!disableunsafe,go1.4
+
+package spew
+
+import (
+	"reflect"
+	"unsafe"
+)
+
+const (
+	// UnsafeDisabled is a build-time constant which specifies whether or
+	// not access to the unsafe package is available.
+	UnsafeDisabled = false
+
+	// ptrSize is the size of a pointer on the current arch.
+	ptrSize = unsafe.Sizeof((*byte)(nil))
+)
+
+type flag uintptr
+
+var (
+	// flagRO indicates whether the value field of a reflect.Value
+	// is read-only.
+	flagRO flag
+
+	// flagAddr indicates whether the address of the reflect.Value's
+	// value may be taken.
+	flagAddr flag
+)
+
+// flagKindMask holds the bits that make up the kind
+// part of the flags field. In all the supported versions,
+// it is in the lower 5 bits.
+const flagKindMask = flag(0x1f)
+
+// Different versions of Go have used different
+// bit layouts for the flags type. This table
+// records the known combinations.
+var okFlags = []struct {
+	ro, addr flag
+}{{
+	// From Go 1.4 to 1.5
+	ro:   1 << 5,
+	addr: 1 << 7,
+}, {
+	// Up to Go tip.
+	ro:   1<<5 | 1<<6,
+	addr: 1 << 8,
+}}
+
+var flagValOffset = func() uintptr {
+	field, ok := reflect.TypeOf(reflect.Value{}).FieldByName("flag")
+	if !ok {
+		panic("reflect.Value has no flag field")
+	}
+	return field.Offset
+}()
+
+// flagField returns a pointer to the flag field of a reflect.Value.
+func flagField(v *reflect.Value) *flag {
+	return (*flag)(unsafe.Pointer(uintptr(unsafe.Pointer(v)) + flagValOffset))
+}
+
+// unsafeReflectValue converts the passed reflect.Value into a one that bypasses
+// the typical safety restrictions preventing access to unaddressable and
+// unexported data.  It works by digging the raw pointer to the underlying
+// value out of the protected value and generating a new unprotected (unsafe)
+// reflect.Value to it.
+//
+// This allows us to check for implementations of the Stringer and error
+// interfaces to be used for pretty printing ordinarily unaddressable and
+// inaccessible values such as unexported struct fields.
+func unsafeReflectValue(v reflect.Value) reflect.Value {
+	if !v.IsValid() || (v.CanInterface() && v.CanAddr()) {
+		return v
+	}
+	flagFieldPtr := flagField(&v)
+	*flagFieldPtr &^= flagRO
+	*flagFieldPtr |= flagAddr
+	return v
+}
+
+// Sanity checks against future reflect package changes
+// to the type or semantics of the Value.flag field.
+func init() {
+	field, ok := reflect.TypeOf(reflect.Value{}).FieldByName("flag")
+	if !ok {
+		panic("reflect.Value has no flag field")
+	}
+	if field.Type.Kind() != reflect.TypeOf(flag(0)).Kind() {
+		panic("reflect.Value flag field has changed kind")
+	}
+	type t0 int
+	var t struct {
+		A t0
+		// t0 will have flagEmbedRO set.
+		t0
+		// a will have flagStickyRO set
+		a t0
+	}
+	vA := reflect.ValueOf(t).FieldByName("A")
+	va := reflect.ValueOf(t).FieldByName("a")
+	vt0 := reflect.ValueOf(t).FieldByName("t0")
+
+	// Infer flagRO from the difference between the flags
+	// for the (otherwise identical) fields in t.
+	flagPublic := *flagField(&vA)
+	flagWithRO := *flagField(&va) | *flagField(&vt0)
+	flagRO = flagPublic ^ flagWithRO
+
+	// Infer flagAddr from the difference between a value
+	// taken from a pointer and not.
+	vPtrA := reflect.ValueOf(&t).Elem().FieldByName("A")
+	flagNoPtr := *flagField(&vA)
+	flagPtr := *flagField(&vPtrA)
+	flagAddr = flagNoPtr ^ flagPtr
+
+	// Check that the inferred flags tally with one of the known versions.
+	for _, f := range okFlags {
+		if flagRO == f.ro && flagAddr == f.addr {
+			return
+		}
+	}
+	panic("reflect.Value read-only flag has changed semantics")
+}
diff --git a/vendor/github.com/davecgh/go-spew/spew/bypasssafe.go b/vendor/github.com/davecgh/go-spew/spew/bypasssafe.go
new file mode 100644
index 0000000..205c28d
--- /dev/null
+++ b/vendor/github.com/davecgh/go-spew/spew/bypasssafe.go
@@ -0,0 +1,38 @@
+// Copyright (c) 2015-2016 Dave Collins <da...@davec.name>
+//
+// Permission to use, copy, modify, and distribute this software for any
+// purpose with or without fee is hereby granted, provided that the above
+// copyright notice and this permission notice appear in all copies.
+//
+// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+// ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+// NOTE: Due to the following build constraints, this file will only be compiled
+// when the code is running on Google App Engine, compiled by GopherJS, or
+// "-tags safe" is added to the go build command line.  The "disableunsafe"
+// tag is deprecated and thus should not be used.
+// +build js appengine safe disableunsafe !go1.4
+
+package spew
+
+import "reflect"
+
+const (
+	// UnsafeDisabled is a build-time constant which specifies whether or
+	// not access to the unsafe package is available.
+	UnsafeDisabled = true
+)
+
+// unsafeReflectValue typically converts the passed reflect.Value into a one
+// that bypasses the typical safety restrictions preventing access to
+// unaddressable and unexported data.  However, doing this relies on access to
+// the unsafe package.  This is a stub version which simply returns the passed
+// reflect.Value when the unsafe package is not available.
+func unsafeReflectValue(v reflect.Value) reflect.Value {
+	return v
+}
diff --git a/vendor/github.com/davecgh/go-spew/spew/common.go b/vendor/github.com/davecgh/go-spew/spew/common.go
new file mode 100644
index 0000000..1be8ce9
--- /dev/null
+++ b/vendor/github.com/davecgh/go-spew/spew/common.go
@@ -0,0 +1,341 @@
+/*
+ * Copyright (c) 2013-2016 Dave Collins <da...@davec.name>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package spew
+
+import (
+	"bytes"
+	"fmt"
+	"io"
+	"reflect"
+	"sort"
+	"strconv"
+)
+
+// Some constants in the form of bytes to avoid string overhead.  This mirrors
+// the technique used in the fmt package.
+var (
+	panicBytes            = []byte("(PANIC=")
+	plusBytes             = []byte("+")
+	iBytes                = []byte("i")
+	trueBytes             = []byte("true")
+	falseBytes            = []byte("false")
+	interfaceBytes        = []byte("(interface {})")
+	commaNewlineBytes     = []byte(",\n")
+	newlineBytes          = []byte("\n")
+	openBraceBytes        = []byte("{")
+	openBraceNewlineBytes = []byte("{\n")
+	closeBraceBytes       = []byte("}")
+	asteriskBytes         = []byte("*")
+	colonBytes            = []byte(":")
+	colonSpaceBytes       = []byte(": ")
+	openParenBytes        = []byte("(")
+	closeParenBytes       = []byte(")")
+	spaceBytes            = []byte(" ")
+	pointerChainBytes     = []byte("->")
+	nilAngleBytes         = []byte("<nil>")
+	maxNewlineBytes       = []byte("<max depth reached>\n")
+	maxShortBytes         = []byte("<max>")
+	circularBytes         = []byte("<already shown>")
+	circularShortBytes    = []byte("<shown>")
+	invalidAngleBytes     = []byte("<invalid>")
+	openBracketBytes      = []byte("[")
+	closeBracketBytes     = []byte("]")
+	percentBytes          = []byte("%")
+	precisionBytes        = []byte(".")
+	openAngleBytes        = []byte("<")
+	closeAngleBytes       = []byte(">")
+	openMapBytes          = []byte("map[")
+	closeMapBytes         = []byte("]")
+	lenEqualsBytes        = []byte("len=")
+	capEqualsBytes        = []byte("cap=")
+)
+
+// hexDigits is used to map a decimal value to a hex digit.
+var hexDigits = "0123456789abcdef"
+
+// catchPanic handles any panics that might occur during the handleMethods
+// calls.
+func catchPanic(w io.Writer, v reflect.Value) {
+	if err := recover(); err != nil {
+		w.Write(panicBytes)
+		fmt.Fprintf(w, "%v", err)
+		w.Write(closeParenBytes)
+	}
+}
+
+// handleMethods attempts to call the Error and String methods on the underlying
+// type the passed reflect.Value represents and outputes the result to Writer w.
+//
+// It handles panics in any called methods by catching and displaying the error
+// as the formatted value.
+func handleMethods(cs *ConfigState, w io.Writer, v reflect.Value) (handled bool) {
+	// We need an interface to check if the type implements the error or
+	// Stringer interface.  However, the reflect package won't give us an
+	// interface on certain things like unexported struct fields in order
+	// to enforce visibility rules.  We use unsafe, when it's available,
+	// to bypass these restrictions since this package does not mutate the
+	// values.
+	if !v.CanInterface() {
+		if UnsafeDisabled {
+			return false
+		}
+
+		v = unsafeReflectValue(v)
+	}
+
+	// Choose whether or not to do error and Stringer interface lookups against
+	// the base type or a pointer to the base type depending on settings.
+	// Technically calling one of these methods with a pointer receiver can
+	// mutate the value, however, types which choose to satisify an error or
+	// Stringer interface with a pointer receiver should not be mutating their
+	// state inside these interface methods.
+	if !cs.DisablePointerMethods && !UnsafeDisabled && !v.CanAddr() {
+		v = unsafeReflectValue(v)
+	}
+	if v.CanAddr() {
+		v = v.Addr()
+	}
+
+	// Is it an error or Stringer?
+	switch iface := v.Interface().(type) {
+	case error:
+		defer catchPanic(w, v)
+		if cs.ContinueOnMethod {
+			w.Write(openParenBytes)
+			w.Write([]byte(iface.Error()))
+			w.Write(closeParenBytes)
+			w.Write(spaceBytes)
+			return false
+		}
+
+		w.Write([]byte(iface.Error()))
+		return true
+
+	case fmt.Stringer:
+		defer catchPanic(w, v)
+		if cs.ContinueOnMethod {
+			w.Write(openParenBytes)
+			w.Write([]byte(iface.String()))
+			w.Write(closeParenBytes)
+			w.Write(spaceBytes)
+			return false
+		}
+		w.Write([]byte(iface.String()))
+		return true
+	}
+	return false
+}
+
+// printBool outputs a boolean value as true or false to Writer w.
+func printBool(w io.Writer, val bool) {
+	if val {
+		w.Write(trueBytes)
+	} else {
+		w.Write(falseBytes)
+	}
+}
+
+// printInt outputs a signed integer value to Writer w.
+func printInt(w io.Writer, val int64, base int) {
+	w.Write([]byte(strconv.FormatInt(val, base)))
+}
+
+// printUint outputs an unsigned integer value to Writer w.
+func printUint(w io.Writer, val uint64, base int) {
+	w.Write([]byte(strconv.FormatUint(val, base)))
+}
+
+// printFloat outputs a floating point value using the specified precision,
+// which is expected to be 32 or 64bit, to Writer w.
+func printFloat(w io.Writer, val float64, precision int) {
+	w.Write([]byte(strconv.FormatFloat(val, 'g', -1, precision)))
+}
+
+// printComplex outputs a complex value using the specified float precision
+// for the real and imaginary parts to Writer w.
+func printComplex(w io.Writer, c complex128, floatPrecision int) {
+	r := real(c)
+	w.Write(openParenBytes)
+	w.Write([]byte(strconv.FormatFloat(r, 'g', -1, floatPrecision)))
+	i := imag(c)
+	if i >= 0 {
+		w.Write(plusBytes)
+	}
+	w.Write([]byte(strconv.FormatFloat(i, 'g', -1, floatPrecision)))
+	w.Write(iBytes)
+	w.Write(closeParenBytes)
+}
+
+// printHexPtr outputs a uintptr formatted as hexadecimal with a leading '0x'
+// prefix to Writer w.
+func printHexPtr(w io.Writer, p uintptr) {
+	// Null pointer.
+	num := uint64(p)
+	if num == 0 {
+		w.Write(nilAngleBytes)
+		return
+	}
+
+	// Max uint64 is 16 bytes in hex + 2 bytes for '0x' prefix
+	buf := make([]byte, 18)
+
+	// It's simpler to construct the hex string right to left.
+	base := uint64(16)
+	i := len(buf) - 1
+	for num >= base {
+		buf[i] = hexDigits[num%base]
+		num /= base
+		i--
+	}
+	buf[i] = hexDigits[num]
+
+	// Add '0x' prefix.
+	i--
+	buf[i] = 'x'
+	i--
+	buf[i] = '0'
+
+	// Strip unused leading bytes.
+	buf = buf[i:]
+	w.Write(buf)
+}
+
+// valuesSorter implements sort.Interface to allow a slice of reflect.Value
+// elements to be sorted.
+type valuesSorter struct {
+	values  []reflect.Value
+	strings []string // either nil or same len and values
+	cs      *ConfigState
+}
+
+// newValuesSorter initializes a valuesSorter instance, which holds a set of
+// surrogate keys on which the data should be sorted.  It uses flags in
+// ConfigState to decide if and how to populate those surrogate keys.
+func newValuesSorter(values []reflect.Value, cs *ConfigState) sort.Interface {
+	vs := &valuesSorter{values: values, cs: cs}
+	if canSortSimply(vs.values[0].Kind()) {
+		return vs
+	}
+	if !cs.DisableMethods {
+		vs.strings = make([]string, len(values))
+		for i := range vs.values {
+			b := bytes.Buffer{}
+			if !handleMethods(cs, &b, vs.values[i]) {
+				vs.strings = nil
+				break
+			}
+			vs.strings[i] = b.String()
+		}
+	}
+	if vs.strings == nil && cs.SpewKeys {
+		vs.strings = make([]string, len(values))
+		for i := range vs.values {
+			vs.strings[i] = Sprintf("%#v", vs.values[i].Interface())
+		}
+	}
+	return vs
+}
+
+// canSortSimply tests whether a reflect.Kind is a primitive that can be sorted
+// directly, or whether it should be considered for sorting by surrogate keys
+// (if the ConfigState allows it).
+func canSortSimply(kind reflect.Kind) bool {
+	// This switch parallels valueSortLess, except for the default case.
+	switch kind {
+	case reflect.Bool:
+		return true
+	case reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Int:
+		return true
+	case reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uint:
+		return true
+	case reflect.Float32, reflect.Float64:
+		return true
+	case reflect.String:
+		return true
+	case reflect.Uintptr:
+		return true
+	case reflect.Array:
+		return true
+	}
+	return false
+}
+
+// Len returns the number of values in the slice.  It is part of the
+// sort.Interface implementation.
+func (s *valuesSorter) Len() int {
+	return len(s.values)
+}
+
+// Swap swaps the values at the passed indices.  It is part of the
+// sort.Interface implementation.
+func (s *valuesSorter) Swap(i, j int) {
+	s.values[i], s.values[j] = s.values[j], s.values[i]
+	if s.strings != nil {
+		s.strings[i], s.strings[j] = s.strings[j], s.strings[i]
+	}
+}
+
+// valueSortLess returns whether the first value should sort before the second
+// value.  It is used by valueSorter.Less as part of the sort.Interface
+// implementation.
+func valueSortLess(a, b reflect.Value) bool {
+	switch a.Kind() {
+	case reflect.Bool:
+		return !a.Bool() && b.Bool()
+	case reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Int:
+		return a.Int() < b.Int()
+	case reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uint:
+		return a.Uint() < b.Uint()
+	case reflect.Float32, reflect.Float64:
+		return a.Float() < b.Float()
+	case reflect.String:
+		return a.String() < b.String()
+	case reflect.Uintptr:
+		return a.Uint() < b.Uint()
+	case reflect.Array:
+		// Compare the contents of both arrays.
+		l := a.Len()
+		for i := 0; i < l; i++ {
+			av := a.Index(i)
+			bv := b.Index(i)
+			if av.Interface() == bv.Interface() {
+				continue
+			}
+			return valueSortLess(av, bv)
+		}
+	}
+	return a.String() < b.String()
+}
+
+// Less returns whether the value at index i should sort before the
+// value at index j.  It is part of the sort.Interface implementation.
+func (s *valuesSorter) Less(i, j int) bool {
+	if s.strings == nil {
+		return valueSortLess(s.values[i], s.values[j])
+	}
+	return s.strings[i] < s.strings[j]
+}
+
+// sortValues is a sort function that handles both native types and any type that
+// can be converted to error or Stringer.  Other inputs are sorted according to
+// their Value.String() value to ensure display stability.
+func sortValues(values []reflect.Value, cs *ConfigState) {
+	if len(values) == 0 {
+		return
+	}
+	sort.Sort(newValuesSorter(values, cs))
+}
diff --git a/vendor/github.com/davecgh/go-spew/spew/config.go b/vendor/github.com/davecgh/go-spew/spew/config.go
new file mode 100644
index 0000000..2e3d22f
--- /dev/null
+++ b/vendor/github.com/davecgh/go-spew/spew/config.go
@@ -0,0 +1,306 @@
+/*
+ * Copyright (c) 2013-2016 Dave Collins <da...@davec.name>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package spew
+
+import (
+	"bytes"
+	"fmt"
+	"io"
+	"os"
+)
+
+// ConfigState houses the configuration options used by spew to format and
+// display values.  There is a global instance, Config, that is used to control
+// all top-level Formatter and Dump functionality.  Each ConfigState instance
+// provides methods equivalent to the top-level functions.
+//
+// The zero value for ConfigState provides no indentation.  You would typically
+// want to set it to a space or a tab.
+//
+// Alternatively, you can use NewDefaultConfig to get a ConfigState instance
+// with default settings.  See the documentation of NewDefaultConfig for default
+// values.
+type ConfigState struct {
+	// Indent specifies the string to use for each indentation level.  The
+	// global config instance that all top-level functions use set this to a
+	// single space by default.  If you would like more indentation, you might
+	// set this to a tab with "\t" or perhaps two spaces with "  ".
+	Indent string
+
+	// MaxDepth controls the maximum number of levels to descend into nested
+	// data structures.  The default, 0, means there is no limit.
+	//
+	// NOTE: Circular data structures are properly detected, so it is not
+	// necessary to set this value unless you specifically want to limit deeply
+	// nested data structures.
+	MaxDepth int
+
+	// DisableMethods specifies whether or not error and Stringer interfaces are
+	// invoked for types that implement them.
+	DisableMethods bool
+
+	// DisablePointerMethods specifies whether or not to check for and invoke
+	// error and Stringer interfaces on types which only accept a pointer
+	// receiver when the current type is not a pointer.
+	//
+	// NOTE: This might be an unsafe action since calling one of these methods
+	// with a pointer receiver could technically mutate the value, however,
+	// in practice, types which choose to satisify an error or Stringer
+	// interface with a pointer receiver should not be mutating their state
+	// inside these interface methods.  As a result, this option relies on
+	// access to the unsafe package, so it will not have any effect when
+	// running in environments without access to the unsafe package such as
+	// Google App Engine or with the "safe" build tag specified.
+	DisablePointerMethods bool
+
+	// DisablePointerAddresses specifies whether to disable the printing of
+	// pointer addresses. This is useful when diffing data structures in tests.
+	DisablePointerAddresses bool
+
+	// DisableCapacities specifies whether to disable the printing of capacities
+	// for arrays, slices, maps and channels. This is useful when diffing
+	// data structures in tests.
+	DisableCapacities bool
+
+	// ContinueOnMethod specifies whether or not recursion should continue once
+	// a custom error or Stringer interface is invoked.  The default, false,
+	// means it will print the results of invoking the custom error or Stringer
+	// interface and return immediately instead of continuing to recurse into
+	// the internals of the data type.
+	//
+	// NOTE: This flag does not have any effect if method invocation is disabled
+	// via the DisableMethods or DisablePointerMethods options.
+	ContinueOnMethod bool
+
+	// SortKeys specifies map keys should be sorted before being printed. Use
+	// this to have a more deterministic, diffable output.  Note that only
+	// native types (bool, int, uint, floats, uintptr and string) and types
+	// that support the error or Stringer interfaces (if methods are
+	// enabled) are supported, with other types sorted according to the
+	// reflect.Value.String() output which guarantees display stability.
+	SortKeys bool
+
+	// SpewKeys specifies that, as a last resort attempt, map keys should
+	// be spewed to strings and sorted by those strings.  This is only
+	// considered if SortKeys is true.
+	SpewKeys bool
+}
+
+// Config is the active configuration of the top-level functions.
+// The configuration can be changed by modifying the contents of spew.Config.
+var Config = ConfigState{Indent: " "}
+
+// Errorf is a wrapper for fmt.Errorf that treats each argument as if it were
+// passed with a Formatter interface returned by c.NewFormatter.  It returns
+// the formatted string as a value that satisfies error.  See NewFormatter
+// for formatting details.
+//
+// This function is shorthand for the following syntax:
+//
+//	fmt.Errorf(format, c.NewFormatter(a), c.NewFormatter(b))
+func (c *ConfigState) Errorf(format string, a ...interface{}) (err error) {
+	return fmt.Errorf(format, c.convertArgs(a)...)
+}
+
+// Fprint is a wrapper for fmt.Fprint that treats each argument as if it were
+// passed with a Formatter interface returned by c.NewFormatter.  It returns
+// the number of bytes written and any write error encountered.  See
+// NewFormatter for formatting details.
+//
+// This function is shorthand for the following syntax:
+//
+//	fmt.Fprint(w, c.NewFormatter(a), c.NewFormatter(b))
+func (c *ConfigState) Fprint(w io.Writer, a ...interface{}) (n int, err error) {
+	return fmt.Fprint(w, c.convertArgs(a)...)
+}
+
+// Fprintf is a wrapper for fmt.Fprintf that treats each argument as if it were
+// passed with a Formatter interface returned by c.NewFormatter.  It returns
+// the number of bytes written and any write error encountered.  See
+// NewFormatter for formatting details.
+//
+// This function is shorthand for the following syntax:
+//
+//	fmt.Fprintf(w, format, c.NewFormatter(a), c.NewFormatter(b))
+func (c *ConfigState) Fprintf(w io.Writer, format string, a ...interface{}) (n int, err error) {
+	return fmt.Fprintf(w, format, c.convertArgs(a)...)
+}
+
+// Fprintln is a wrapper for fmt.Fprintln that treats each argument as if it
+// passed with a Formatter interface returned by c.NewFormatter.  See
+// NewFormatter for formatting details.
+//
+// This function is shorthand for the following syntax:
+//
+//	fmt.Fprintln(w, c.NewFormatter(a), c.NewFormatter(b))
+func (c *ConfigState) Fprintln(w io.Writer, a ...interface{}) (n int, err error) {
+	return fmt.Fprintln(w, c.convertArgs(a)...)
+}
+
+// Print is a wrapper for fmt.Print that treats each argument as if it were
+// passed with a Formatter interface returned by c.NewFormatter.  It returns
+// the number of bytes written and any write error encountered.  See
+// NewFormatter for formatting details.
+//
+// This function is shorthand for the following syntax:
+//
+//	fmt.Print(c.NewFormatter(a), c.NewFormatter(b))
+func (c *ConfigState) Print(a ...interface{}) (n int, err error) {
+	return fmt.Print(c.convertArgs(a)...)
+}
+
+// Printf is a wrapper for fmt.Printf that treats each argument as if it were
+// passed with a Formatter interface returned by c.NewFormatter.  It returns
+// the number of bytes written and any write error encountered.  See
+// NewFormatter for formatting details.
+//
+// This function is shorthand for the following syntax:
+//
+//	fmt.Printf(format, c.NewFormatter(a), c.NewFormatter(b))
+func (c *ConfigState) Printf(format string, a ...interface{}) (n int, err error) {
+	return fmt.Printf(format, c.convertArgs(a)...)
+}
+
+// Println is a wrapper for fmt.Println that treats each argument as if it were
+// passed with a Formatter interface returned by c.NewFormatter.  It returns
+// the number of bytes written and any write error encountered.  See
+// NewFormatter for formatting details.
+//
+// This function is shorthand for the following syntax:
+//
+//	fmt.Println(c.NewFormatter(a), c.NewFormatter(b))
+func (c *ConfigState) Println(a ...interface{}) (n int, err error) {
+	return fmt.Println(c.convertArgs(a)...)
+}
+
+// Sprint is a wrapper for fmt.Sprint that treats each argument as if it were
+// passed with a Formatter interface returned by c.NewFormatter.  It returns
+// the resulting string.  See NewFormatter for formatting details.
+//
+// This function is shorthand for the following syntax:
+//
+//	fmt.Sprint(c.NewFormatter(a), c.NewFormatter(b))
+func (c *ConfigState) Sprint(a ...interface{}) string {
+	return fmt.Sprint(c.convertArgs(a)...)
+}
+
+// Sprintf is a wrapper for fmt.Sprintf that treats each argument as if it were
+// passed with a Formatter interface returned by c.NewFormatter.  It returns
+// the resulting string.  See NewFormatter for formatting details.
+//
+// This function is shorthand for the following syntax:
+//
+//	fmt.Sprintf(format, c.NewFormatter(a), c.NewFormatter(b))
+func (c *ConfigState) Sprintf(format string, a ...interface{}) string {
+	return fmt.Sprintf(format, c.convertArgs(a)...)
+}
+
+// Sprintln is a wrapper for fmt.Sprintln that treats each argument as if it
+// were passed with a Formatter interface returned by c.NewFormatter.  It
+// returns the resulting string.  See NewFormatter for formatting details.
+//
+// This function is shorthand for the following syntax:
+//
+//	fmt.Sprintln(c.NewFormatter(a), c.NewFormatter(b))
+func (c *ConfigState) Sprintln(a ...interface{}) string {
+	return fmt.Sprintln(c.convertArgs(a)...)
+}
+
+/*
+NewFormatter returns a custom formatter that satisfies the fmt.Formatter
+interface.  As a result, it integrates cleanly with standard fmt package
+printing functions.  The formatter is useful for inline printing of smaller data
+types similar to the standard %v format specifier.
+
+The custom formatter only responds to the %v (most compact), %+v (adds pointer
+addresses), %#v (adds types), and %#+v (adds types and pointer addresses) verb
+combinations.  Any other verbs such as %x and %q will be sent to the the
+standard fmt package for formatting.  In addition, the custom formatter ignores
+the width and precision arguments (however they will still work on the format
+specifiers not handled by the custom formatter).
+
+Typically this function shouldn't be called directly.  It is much easier to make
+use of the custom formatter by calling one of the convenience functions such as
+c.Printf, c.Println, or c.Printf.
+*/
+func (c *ConfigState) NewFormatter(v interface{}) fmt.Formatter {
+	return newFormatter(c, v)
+}
+
+// Fdump formats and displays the passed arguments to io.Writer w.  It formats
+// exactly the same as Dump.
+func (c *ConfigState) Fdump(w io.Writer, a ...interface{}) {
+	fdump(c, w, a...)
+}
+
+/*
+Dump displays the passed parameters to standard out with newlines, customizable
+indentation, and additional debug information such as complete types and all
+pointer addresses used to indirect to the final value.  It provides the
+following features over the built-in printing facilities provided by the fmt
+package:
+
+	* Pointers are dereferenced and followed
+	* Circular data structures are detected and handled properly
+	* Custom Stringer/error interfaces are optionally invoked, including
+	  on unexported types
+	* Custom types which only implement the Stringer/error interfaces via
+	  a pointer receiver are optionally invoked when passing non-pointer
+	  variables
+	* Byte arrays and slices are dumped like the hexdump -C command which
+	  includes offsets, byte values in hex, and ASCII output
+
+The configuration options are controlled by modifying the public members
+of c.  See ConfigState for options documentation.
+
+See Fdump if you would prefer dumping to an arbitrary io.Writer or Sdump to
+get the formatted result as a string.
+*/
+func (c *ConfigState) Dump(a ...interface{}) {
+	fdump(c, os.Stdout, a...)
+}
+
+// Sdump returns a string with the passed arguments formatted exactly the same
+// as Dump.
+func (c *ConfigState) Sdump(a ...interface{}) string {
+	var buf bytes.Buffer
+	fdump(c, &buf, a...)
+	return buf.String()
+}
+
+// convertArgs accepts a slice of arguments and returns a slice of the same
+// length with each argument converted to a spew Formatter interface using
+// the ConfigState associated with s.
+func (c *ConfigState) convertArgs(args []interface{}) (formatters []interface{}) {
+	formatters = make([]interface{}, len(args))
+	for index, arg := range args {
+		formatters[index] = newFormatter(c, arg)
+	}
+	return formatters
+}
+
+// NewDefaultConfig returns a ConfigState with the following default settings.
+//
+// 	Indent: " "
+// 	MaxDepth: 0
+// 	DisableMethods: false
+// 	DisablePointerMethods: false
+// 	ContinueOnMethod: false
+// 	SortKeys: false
+func NewDefaultConfig() *ConfigState {
+	return &ConfigState{Indent: " "}
+}
diff --git a/vendor/github.com/davecgh/go-spew/spew/doc.go b/vendor/github.com/davecgh/go-spew/spew/doc.go
new file mode 100644
index 0000000..aacaac6
--- /dev/null
+++ b/vendor/github.com/davecgh/go-spew/spew/doc.go
@@ -0,0 +1,211 @@
+/*
+ * Copyright (c) 2013-2016 Dave Collins <da...@davec.name>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+/*
+Package spew implements a deep pretty printer for Go data structures to aid in
+debugging.
+
+A quick overview of the additional features spew provides over the built-in
+printing facilities for Go data types are as follows:
+
+	* Pointers are dereferenced and followed
+	* Circular data structures are detected and handled properly
+	* Custom Stringer/error interfaces are optionally invoked, including
+	  on unexported types
+	* Custom types which only implement the Stringer/error interfaces via
+	  a pointer receiver are optionally invoked when passing non-pointer
+	  variables
+	* Byte arrays and slices are dumped like the hexdump -C command which
+	  includes offsets, byte values in hex, and ASCII output (only when using
+	  Dump style)
+
+There are two different approaches spew allows for dumping Go data structures:
+
+	* Dump style which prints with newlines, customizable indentation,
+	  and additional debug information such as types and all pointer addresses
+	  used to indirect to the final value
+	* A custom Formatter interface that integrates cleanly with the standard fmt
+	  package and replaces %v, %+v, %#v, and %#+v to provide inline printing
+	  similar to the default %v while providing the additional functionality
+	  outlined above and passing unsupported format verbs such as %x and %q
+	  along to fmt
+
+Quick Start
+
+This section demonstrates how to quickly get started with spew.  See the
+sections below for further details on formatting and configuration options.
+
+To dump a variable with full newlines, indentation, type, and pointer
+information use Dump, Fdump, or Sdump:
+	spew.Dump(myVar1, myVar2, ...)
+	spew.Fdump(someWriter, myVar1, myVar2, ...)
+	str := spew.Sdump(myVar1, myVar2, ...)
+
+Alternatively, if you would prefer to use format strings with a compacted inline
+printing style, use the convenience wrappers Printf, Fprintf, etc with
+%v (most compact), %+v (adds pointer addresses), %#v (adds types), or
+%#+v (adds types and pointer addresses):
+	spew.Printf("myVar1: %v -- myVar2: %+v", myVar1, myVar2)
+	spew.Printf("myVar3: %#v -- myVar4: %#+v", myVar3, myVar4)
+	spew.Fprintf(someWriter, "myVar1: %v -- myVar2: %+v", myVar1, myVar2)
+	spew.Fprintf(someWriter, "myVar3: %#v -- myVar4: %#+v", myVar3, myVar4)
+
+Configuration Options
+
+Configuration of spew is handled by fields in the ConfigState type.  For
+convenience, all of the top-level functions use a global state available
+via the spew.Config global.
+
+It is also possible to create a ConfigState instance that provides methods
+equivalent to the top-level functions.  This allows concurrent configuration
+options.  See the ConfigState documentation for more details.
+
+The following configuration options are available:
+	* Indent
+		String to use for each indentation level for Dump functions.
+		It is a single space by default.  A popular alternative is "\t".
+
+	* MaxDepth
+		Maximum number of levels to descend into nested data structures.
+		There is no limit by default.
+
+	* DisableMethods
+		Disables invocation of error and Stringer interface methods.
+		Method invocation is enabled by default.
+
+	* DisablePointerMethods
+		Disables invocation of error and Stringer interface methods on types
+		which only accept pointer receivers from non-pointer variables.
+		Pointer method invocation is enabled by default.
+
+	* DisablePointerAddresses
+		DisablePointerAddresses specifies whether to disable the printing of
+		pointer addresses. This is useful when diffing data structures in tests.
+
+	* DisableCapacities
+		DisableCapacities specifies whether to disable the printing of
+		capacities for arrays, slices, maps and channels. This is useful when
+		diffing data structures in tests.
+
+	* ContinueOnMethod
+		Enables recursion into types after invoking error and Stringer interface
+		methods. Recursion after method invocation is disabled by default.
+
+	* SortKeys
+		Specifies map keys should be sorted before being printed. Use
+		this to have a more deterministic, diffable output.  Note that
+		only native types (bool, int, uint, floats, uintptr and string)
+		and types which implement error or Stringer interfaces are
+		supported with other types sorted according to the
+		reflect.Value.String() output which guarantees display
+		stability.  Natural map order is used by default.
+
+	* SpewKeys
+		Specifies that, as a last resort attempt, map keys should be
+		spewed to strings and sorted by those strings.  This is only
+		considered if SortKeys is true.
+
+Dump Usage
+
+Simply call spew.Dump with a list of variables you want to dump:
+
+	spew.Dump(myVar1, myVar2, ...)
+
+You may also call spew.Fdump if you would prefer to output to an arbitrary
+io.Writer.  For example, to dump to standard error:
+
+	spew.Fdump(os.Stderr, myVar1, myVar2, ...)
+
+A third option is to call spew.Sdump to get the formatted output as a string:
+
+	str := spew.Sdump(myVar1, myVar2, ...)
+
+Sample Dump Output
+
+See the Dump example for details on the setup of the types and variables being
+shown here.
+
+	(main.Foo) {
+	 unexportedField: (*main.Bar)(0xf84002e210)({
+	  flag: (main.Flag) flagTwo,
+	  data: (uintptr) <nil>
+	 }),
+	 ExportedField: (map[interface {}]interface {}) (len=1) {
+	  (string) (len=3) "one": (bool) true
+	 }
+	}
+
+Byte (and uint8) arrays and slices are displayed uniquely like the hexdump -C
+command as shown.
+	([]uint8) (len=32 cap=32) {
+	 00000000  11 12 13 14 15 16 17 18  19 1a 1b 1c 1d 1e 1f 20  |............... |
+	 00000010  21 22 23 24 25 26 27 28  29 2a 2b 2c 2d 2e 2f 30  |!"#$%&'()*+,-./0|
+	 00000020  31 32                                             |12|
+	}
+
+Custom Formatter
+
+Spew provides a custom formatter that implements the fmt.Formatter interface
+so that it integrates cleanly with standard fmt package printing functions. The
+formatter is useful for inline printing of smaller data types similar to the
+standard %v format specifier.
+
+The custom formatter only responds to the %v (most compact), %+v (adds pointer
+addresses), %#v (adds types), or %#+v (adds types and pointer addresses) verb
+combinations.  Any other verbs such as %x and %q will be sent to the the
+standard fmt package for formatting.  In addition, the custom formatter ignores
+the width and precision arguments (however they will still work on the format
+specifiers not handled by the custom formatter).
+
+Custom Formatter Usage
+
+The simplest way to make use of the spew custom formatter is to call one of the
+convenience functions such as spew.Printf, spew.Println, or spew.Printf.  The
+functions have syntax you are most likely already familiar with:
+
+	spew.Printf("myVar1: %v -- myVar2: %+v", myVar1, myVar2)
+	spew.Printf("myVar3: %#v -- myVar4: %#+v", myVar3, myVar4)
+	spew.Println(myVar, myVar2)
+	spew.Fprintf(os.Stderr, "myVar1: %v -- myVar2: %+v", myVar1, myVar2)
+	spew.Fprintf(os.Stderr, "myVar3: %#v -- myVar4: %#+v", myVar3, myVar4)
+
+See the Index for the full list convenience functions.
+
+Sample Formatter Output
+
+Double pointer to a uint8:
+	  %v: <**>5
+	 %+v: <**>(0xf8400420d0->0xf8400420c8)5
+	 %#v: (**uint8)5
+	%#+v: (**uint8)(0xf8400420d0->0xf8400420c8)5
+
+Pointer to circular struct with a uint8 field and a pointer to itself:
+	  %v: <*>{1 <*><shown>}
+	 %+v: <*>(0xf84003e260){ui8:1 c:<*>(0xf84003e260)<shown>}
+	 %#v: (*main.circular){ui8:(uint8)1 c:(*main.circular)<shown>}
+	%#+v: (*main.circular)(0xf84003e260){ui8:(uint8)1 c:(*main.circular)(0xf84003e260)<shown>}
+
+See the Printf example for details on the setup of variables being shown
+here.
+
+Errors
+
+Since it is possible for custom Stringer/error interfaces to panic, spew
+detects them and handles them internally by printing the panic information
+inline with the output.  Since spew is intended to provide deep pretty printing
+capabilities on structures, it intentionally does not return any errors.
+*/
+package spew
diff --git a/vendor/github.com/davecgh/go-spew/spew/dump.go b/vendor/github.com/davecgh/go-spew/spew/dump.go
new file mode 100644
index 0000000..f78d89f
--- /dev/null
+++ b/vendor/github.com/davecgh/go-spew/spew/dump.go
@@ -0,0 +1,509 @@
+/*
+ * Copyright (c) 2013-2016 Dave Collins <da...@davec.name>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package spew
+
+import (
+	"bytes"
+	"encoding/hex"
+	"fmt"
+	"io"
+	"os"
+	"reflect"
+	"regexp"
+	"strconv"
+	"strings"
+)
+
+var (
+	// uint8Type is a reflect.Type representing a uint8.  It is used to
+	// convert cgo types to uint8 slices for hexdumping.
+	uint8Type = reflect.TypeOf(uint8(0))
+
+	// cCharRE is a regular expression that matches a cgo char.
+	// It is used to detect character arrays to hexdump them.
+	cCharRE = regexp.MustCompile(`^.*\._Ctype_char$`)
+
+	// cUnsignedCharRE is a regular expression that matches a cgo unsigned
+	// char.  It is used to detect unsigned character arrays to hexdump
+	// them.
+	cUnsignedCharRE = regexp.MustCompile(`^.*\._Ctype_unsignedchar$`)
+
+	// cUint8tCharRE is a regular expression that matches a cgo uint8_t.
+	// It is used to detect uint8_t arrays to hexdump them.
+	cUint8tCharRE = regexp.MustCompile(`^.*\._Ctype_uint8_t$`)
+)
+
+// dumpState contains information about the state of a dump operation.
+type dumpState struct {
+	w                io.Writer
+	depth            int
+	pointers         map[uintptr]int
+	ignoreNextType   bool
+	ignoreNextIndent bool
+	cs               *ConfigState
+}
+
+// indent performs indentation according to the depth level and cs.Indent
+// option.
+func (d *dumpState) indent() {
+	if d.ignoreNextIndent {
+		d.ignoreNextIndent = false
+		return
+	}
+	d.w.Write(bytes.Repeat([]byte(d.cs.Indent), d.depth))
+}
+
+// unpackValue returns values inside of non-nil interfaces when possible.
+// This is useful for data types like structs, arrays, slices, and maps which
+// can contain varying types packed inside an interface.
+func (d *dumpState) unpackValue(v reflect.Value) reflect.Value {
+	if v.Kind() == reflect.Interface && !v.IsNil() {
+		v = v.Elem()
+	}
+	return v
+}
+
+// dumpPtr handles formatting of pointers by indirecting them as necessary.
+func (d *dumpState) dumpPtr(v reflect.Value) {
+	// Remove pointers at or below the current depth from map used to detect
+	// circular refs.
+	for k, depth := range d.pointers {
+		if depth >= d.depth {
+			delete(d.pointers, k)
+		}
+	}
+
+	// Keep list of all dereferenced pointers to show later.
+	pointerChain := make([]uintptr, 0)
+
+	// Figure out how many levels of indirection there are by dereferencing
+	// pointers and unpacking interfaces down the chain while detecting circular
+	// references.
+	nilFound := false
+	cycleFound := false
+	indirects := 0
+	ve := v
+	for ve.Kind() == reflect.Ptr {
+		if ve.IsNil() {
+			nilFound = true
+			break
+		}
+		indirects++
+		addr := ve.Pointer()
+		pointerChain = append(pointerChain, addr)
+		if pd, ok := d.pointers[addr]; ok && pd < d.depth {
+			cycleFound = true
+			indirects--
+			break
+		}
+		d.pointers[addr] = d.depth
+
+		ve = ve.Elem()
+		if ve.Kind() == reflect.Interface {
+			if ve.IsNil() {
+				nilFound = true
+				break
+			}
+			ve = ve.Elem()
+		}
+	}
+
+	// Display type information.
+	d.w.Write(openParenBytes)
+	d.w.Write(bytes.Repeat(asteriskBytes, indirects))
+	d.w.Write([]byte(ve.Type().String()))
+	d.w.Write(closeParenBytes)
+
+	// Display pointer information.
+	if !d.cs.DisablePointerAddresses && len(pointerChain) > 0 {
+		d.w.Write(openParenBytes)
+		for i, addr := range pointerChain {
+			if i > 0 {
+				d.w.Write(pointerChainBytes)
+			}
+			printHexPtr(d.w, addr)
+		}
+		d.w.Write(closeParenBytes)
+	}
+
+	// Display dereferenced value.
+	d.w.Write(openParenBytes)
+	switch {
+	case nilFound:
+		d.w.Write(nilAngleBytes)
+
+	case cycleFound:
+		d.w.Write(circularBytes)
+
+	default:
+		d.ignoreNextType = true
+		d.dump(ve)
+	}
+	d.w.Write(closeParenBytes)
+}
+
+// dumpSlice handles formatting of arrays and slices.  Byte (uint8 under
+// reflection) arrays and slices are dumped in hexdump -C fashion.
+func (d *dumpState) dumpSlice(v reflect.Value) {
+	// Determine whether this type should be hex dumped or not.  Also,
+	// for types which should be hexdumped, try to use the underlying data
+	// first, then fall back to trying to convert them to a uint8 slice.
+	var buf []uint8
+	doConvert := false
+	doHexDump := false
+	numEntries := v.Len()
+	if numEntries > 0 {
+		vt := v.Index(0).Type()
+		vts := vt.String()
+		switch {
+		// C types that need to be converted.
+		case cCharRE.MatchString(vts):
+			fallthrough
+		case cUnsignedCharRE.MatchString(vts):
+			fallthrough
+		case cUint8tCharRE.MatchString(vts):
+			doConvert = true
+
+		// Try to use existing uint8 slices and fall back to converting
+		// and copying if that fails.
+		case vt.Kind() == reflect.Uint8:
+			// We need an addressable interface to convert the type
+			// to a byte slice.  However, the reflect package won't
+			// give us an interface on certain things like
+			// unexported struct fields in order to enforce
+			// visibility rules.  We use unsafe, when available, to
+			// bypass these restrictions since this package does not
+			// mutate the values.
+			vs := v
+			if !vs.CanInterface() || !vs.CanAddr() {
+				vs = unsafeReflectValue(vs)
+			}
+			if !UnsafeDisabled {
+				vs = vs.Slice(0, numEntries)
+
+				// Use the existing uint8 slice if it can be
+				// type asserted.
+				iface := vs.Interface()
+				if slice, ok := iface.([]uint8); ok {
+					buf = slice
+					doHexDump = true
+					break
+				}
+			}
+
+			// The underlying data needs to be converted if it can't
+			// be type asserted to a uint8 slice.
+			doConvert = true
+		}
+
+		// Copy and convert the underlying type if needed.
+		if doConvert && vt.ConvertibleTo(uint8Type) {
+			// Convert and copy each element into a uint8 byte
+			// slice.
+			buf = make([]uint8, numEntries)
+			for i := 0; i < numEntries; i++ {
+				vv := v.Index(i)
+				buf[i] = uint8(vv.Convert(uint8Type).Uint())
+			}
+			doHexDump = true
+		}
+	}
+
+	// Hexdump the entire slice as needed.
+	if doHexDump {
+		indent := strings.Repeat(d.cs.Indent, d.depth)
+		str := indent + hex.Dump(buf)
+		str = strings.Replace(str, "\n", "\n"+indent, -1)
+		str = strings.TrimRight(str, d.cs.Indent)
+		d.w.Write([]byte(str))
+		return
+	}
+
+	// Recursively call dump for each item.
+	for i := 0; i < numEntries; i++ {
+		d.dump(d.unpackValue(v.Index(i)))
+		if i < (numEntries - 1) {
+			d.w.Write(commaNewlineBytes)
+		} else {
+			d.w.Write(newlineBytes)
+		}
+	}
+}
+
+// dump is the main workhorse for dumping a value.  It uses the passed reflect
+// value to figure out what kind of object we are dealing with and formats it
+// appropriately.  It is a recursive function, however circular data structures
+// are detected and handled properly.
+func (d *dumpState) dump(v reflect.Value) {
+	// Handle invalid reflect values immediately.
+	kind := v.Kind()
+	if kind == reflect.Invalid {
+		d.w.Write(invalidAngleBytes)
+		return
+	}
+
+	// Handle pointers specially.
+	if kind == reflect.Ptr {
+		d.indent()
+		d.dumpPtr(v)
+		return
+	}
+
+	// Print type information unless already handled elsewhere.
+	if !d.ignoreNextType {
+		d.indent()
+		d.w.Write(openParenBytes)
+		d.w.Write([]byte(v.Type().String()))
+		d.w.Write(closeParenBytes)
+		d.w.Write(spaceBytes)
+	}
+	d.ignoreNextType = false
+
+	// Display length and capacity if the built-in len and cap functions
+	// work with the value's kind and the len/cap itself is non-zero.
+	valueLen, valueCap := 0, 0
+	switch v.Kind() {
+	case reflect.Array, reflect.Slice, reflect.Chan:
+		valueLen, valueCap = v.Len(), v.Cap()
+	case reflect.Map, reflect.String:
+		valueLen = v.Len()
+	}
+	if valueLen != 0 || !d.cs.DisableCapacities && valueCap != 0 {
+		d.w.Write(openParenBytes)
+		if valueLen != 0 {
+			d.w.Write(lenEqualsBytes)
+			printInt(d.w, int64(valueLen), 10)
+		}
+		if !d.cs.DisableCapacities && valueCap != 0 {
+			if valueLen != 0 {
+				d.w.Write(spaceBytes)
+			}
+			d.w.Write(capEqualsBytes)
+			printInt(d.w, int64(valueCap), 10)
+		}
+		d.w.Write(closeParenBytes)
+		d.w.Write(spaceBytes)
+	}
+
+	// Call Stringer/error interfaces if they exist and the handle methods flag
+	// is enabled
+	if !d.cs.DisableMethods {
+		if (kind != reflect.Invalid) && (kind != reflect.Interface) {
+			if handled := handleMethods(d.cs, d.w, v); handled {
+				return
+			}
+		}
+	}
+
+	switch kind {
+	case reflect.Invalid:
+		// Do nothing.  We should never get here since invalid has already
+		// been handled above.
+
+	case reflect.Bool:
+		printBool(d.w, v.Bool())
+
+	case reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Int:
+		printInt(d.w, v.Int(), 10)
+
+	case reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uint:
+		printUint(d.w, v.Uint(), 10)
+
+	case reflect.Float32:
+		printFloat(d.w, v.Float(), 32)
+
+	case reflect.Float64:
+		printFloat(d.w, v.Float(), 64)
+
+	case reflect.Complex64:
+		printComplex(d.w, v.Complex(), 32)
+
+	case reflect.Complex128:
+		printComplex(d.w, v.Complex(), 64)
+
+	case reflect.Slice:
+		if v.IsNil() {
+			d.w.Write(nilAngleBytes)
+			break
+		}
+		fallthrough
+
+	case reflect.Array:
+		d.w.Write(openBraceNewlineBytes)
+		d.depth++
+		if (d.cs.MaxDepth != 0) && (d.depth > d.cs.MaxDepth) {
+			d.indent()
+			d.w.Write(maxNewlineBytes)
+		} else {
+			d.dumpSlice(v)
+		}
+		d.depth--
+		d.indent()
+		d.w.Write(closeBraceBytes)
+
+	case reflect.String:
+		d.w.Write([]byte(strconv.Quote(v.String())))
+
+	case reflect.Interface:
+		// The only time we should get here is for nil interfaces due to
+		// unpackValue calls.
+		if v.IsNil() {
+			d.w.Write(nilAngleBytes)
+		}
+
+	case reflect.Ptr:
+		// Do nothing.  We should never get here since pointers have already
+		// been handled above.
+
+	case reflect.Map:
+		// nil maps should be indicated as different than empty maps
+		if v.IsNil() {
+			d.w.Write(nilAngleBytes)
+			break
+		}
+
+		d.w.Write(openBraceNewlineBytes)
+		d.depth++
+		if (d.cs.MaxDepth != 0) && (d.depth > d.cs.MaxDepth) {
+			d.indent()
+			d.w.Write(maxNewlineBytes)
+		} else {
+			numEntries := v.Len()
+			keys := v.MapKeys()
+			if d.cs.SortKeys {
+				sortValues(keys, d.cs)
+			}
+			for i, key := range keys {
+				d.dump(d.unpackValue(key))
+				d.w.Write(colonSpaceBytes)
+				d.ignoreNextIndent = true
+				d.dump(d.unpackValue(v.MapIndex(key)))
+				if i < (numEntries - 1) {
+					d.w.Write(commaNewlineBytes)
+				} else {
+					d.w.Write(newlineBytes)
+				}
+			}
+		}
+		d.depth--
+		d.indent()
+		d.w.Write(closeBraceBytes)
+
+	case reflect.Struct:
+		d.w.Write(openBraceNewlineBytes)
+		d.depth++
+		if (d.cs.MaxDepth != 0) && (d.depth > d.cs.MaxDepth) {
+			d.indent()
+			d.w.Write(maxNewlineBytes)
+		} else {
+			vt := v.Type()
+			numFields := v.NumField()
+			for i := 0; i < numFields; i++ {
+				d.indent()
+				vtf := vt.Field(i)
+				d.w.Write([]byte(vtf.Name))
+				d.w.Write(colonSpaceBytes)
+				d.ignoreNextIndent = true
+				d.dump(d.unpackValue(v.Field(i)))
+				if i < (numFields - 1) {
+					d.w.Write(commaNewlineBytes)
+				} else {
+					d.w.Write(newlineBytes)
+				}
+			}
+		}
+		d.depth--
+		d.indent()
+		d.w.Write(closeBraceBytes)
+
+	case reflect.Uintptr:
+		printHexPtr(d.w, uintptr(v.Uint()))
+
+	case reflect.UnsafePointer, reflect.Chan, reflect.Func:
+		printHexPtr(d.w, v.Pointer())
+
+	// There were not any other types at the time this code was written, but
+	// fall back to letting the default fmt package handle it in case any new
+	// types are added.
+	default:
+		if v.CanInterface() {
+			fmt.Fprintf(d.w, "%v", v.Interface())
+		} else {
+			fmt.Fprintf(d.w, "%v", v.String())
+		}
+	}
+}
+
+// fdump is a helper function to consolidate the logic from the various public
+// methods which take varying writers and config states.
+func fdump(cs *ConfigState, w io.Writer, a ...interface{}) {
+	for _, arg := range a {
+		if arg == nil {
+			w.Write(interfaceBytes)
+			w.Write(spaceBytes)
+			w.Write(nilAngleBytes)
+			w.Write(newlineBytes)
+			continue
+		}
+
+		d := dumpState{w: w, cs: cs}
+		d.pointers = make(map[uintptr]int)
+		d.dump(reflect.ValueOf(arg))
+		d.w.Write(newlineBytes)
+	}
+}
+
+// Fdump formats and displays the passed arguments to io.Writer w.  It formats
+// exactly the same as Dump.
+func Fdump(w io.Writer, a ...interface{}) {
+	fdump(&Config, w, a...)
+}
+
+// Sdump returns a string with the passed arguments formatted exactly the same
+// as Dump.
+func Sdump(a ...interface{}) string {
+	var buf bytes.Buffer
+	fdump(&Config, &buf, a...)
+	return buf.String()
+}
+
+/*
+Dump displays the passed parameters to standard out with newlines, customizable
+indentation, and additional debug information such as complete types and all
+pointer addresses used to indirect to the final value.  It provides the
+following features over the built-in printing facilities provided by the fmt
+package:
+
+	* Pointers are dereferenced and followed
+	* Circular data structures are detected and handled properly
+	* Custom Stringer/error interfaces are optionally invoked, including
+	  on unexported types
+	* Custom types which only implement the Stringer/error interfaces via
+	  a pointer receiver are optionally invoked when passing non-pointer
+	  variables
+	* Byte arrays and slices are dumped like the hexdump -C command which
+	  includes offsets, byte values in hex, and ASCII output
+
+The configuration options are controlled by an exported package global,
+spew.Config.  See ConfigState for options documentation.
+
+See Fdump if you would prefer dumping to an arbitrary io.Writer or Sdump to
+get the formatted result as a string.
+*/
+func Dump(a ...interface{}) {
+	fdump(&Config, os.Stdout, a...)
+}
diff --git a/vendor/github.com/davecgh/go-spew/spew/format.go b/vendor/github.com/davecgh/go-spew/spew/format.go
new file mode 100644
index 0000000..b04edb7
--- /dev/null
+++ b/vendor/github.com/davecgh/go-spew/spew/format.go
@@ -0,0 +1,419 @@
+/*
+ * Copyright (c) 2013-2016 Dave Collins <da...@davec.name>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package spew
+
+import (
+	"bytes"
+	"fmt"
+	"reflect"
+	"strconv"
+	"strings"
+)
+
+// supportedFlags is a list of all the character flags supported by fmt package.
+const supportedFlags = "0-+# "
+
+// formatState implements the fmt.Formatter interface and contains information
+// about the state of a formatting operation.  The NewFormatter function can
+// be used to get a new Formatter which can be used directly as arguments
+// in standard fmt package printing calls.
+type formatState struct {
+	value          interface{}
+	fs             fmt.State
+	depth          int
+	pointers       map[uintptr]int
+	ignoreNextType bool
+	cs             *ConfigState
+}
+
+// buildDefaultFormat recreates the original format string without precision
+// and width information to pass in to fmt.Sprintf in the case of an
+// unrecognized type.  Unless new types are added to the language, this
+// function won't ever be called.
+func (f *formatState) buildDefaultFormat() (format string) {
+	buf := bytes.NewBuffer(percentBytes)
+
+	for _, flag := range supportedFlags {
+		if f.fs.Flag(int(flag)) {
+			buf.WriteRune(flag)
+		}
+	}
+
+	buf.WriteRune('v')
+
+	format = buf.String()
+	return format
+}
+
+// constructOrigFormat recreates the original format string including precision
+// and width information to pass along to the standard fmt package.  This allows
+// automatic deferral of all format strings this package doesn't support.
+func (f *formatState) constructOrigFormat(verb rune) (format string) {
+	buf := bytes.NewBuffer(percentBytes)
+
+	for _, flag := range supportedFlags {
+		if f.fs.Flag(int(flag)) {
+			buf.WriteRune(flag)
+		}
+	}
+
+	if width, ok := f.fs.Width(); ok {
+		buf.WriteString(strconv.Itoa(width))
+	}
+
+	if precision, ok := f.fs.Precision(); ok {
+		buf.Write(precisionBytes)
+		buf.WriteString(strconv.Itoa(precision))
+	}
+
+	buf.WriteRune(verb)
+
+	format = buf.String()
+	return format
+}
+
+// unpackValue returns values inside of non-nil interfaces when possible and
+// ensures that types for values which have been unpacked from an interface
+// are displayed when the show types flag is also set.
+// This is useful for data types like structs, arrays, slices, and maps which
+// can contain varying types packed inside an interface.
+func (f *formatState) unpackValue(v reflect.Value) reflect.Value {
+	if v.Kind() == reflect.Interface {
+		f.ignoreNextType = false
+		if !v.IsNil() {
+			v = v.Elem()
+		}
+	}
+	return v
+}
+
+// formatPtr handles formatting of pointers by indirecting them as necessary.
+func (f *formatState) formatPtr(v reflect.Value) {
+	// Display nil if top level pointer is nil.
+	showTypes := f.fs.Flag('#')
+	if v.IsNil() && (!showTypes || f.ignoreNextType) {
+		f.fs.Write(nilAngleBytes)
+		return
+	}
+
+	// Remove pointers at or below the current depth from map used to detect
+	// circular refs.
+	for k, depth := range f.pointers {
+		if depth >= f.depth {
+			delete(f.pointers, k)
+		}
+	}
+
+	// Keep list of all dereferenced pointers to possibly show later.
+	pointerChain := make([]uintptr, 0)
+
+	// Figure out how many levels of indirection there are by derferencing
+	// pointers and unpacking interfaces down the chain while detecting circular
+	// references.
+	nilFound := false
+	cycleFound := false
+	indirects := 0
+	ve := v
+	for ve.Kind() == reflect.Ptr {
+		if ve.IsNil() {
+			nilFound = true
+			break
+		}
+		indirects++
+		addr := ve.Pointer()
+		pointerChain = append(pointerChain, addr)
+		if pd, ok := f.pointers[addr]; ok && pd < f.depth {
+			cycleFound = true
+			indirects--
+			break
+		}
+		f.pointers[addr] = f.depth
+
+		ve = ve.Elem()
+		if ve.Kind() == reflect.Interface {
+			if ve.IsNil() {
+				nilFound = true
+				break
+			}
+			ve = ve.Elem()
+		}
+	}
+
+	// Display type or indirection level depending on flags.
+	if showTypes && !f.ignoreNextType {
+		f.fs.Write(openParenBytes)
+		f.fs.Write(bytes.Repeat(asteriskBytes, indirects))
+		f.fs.Write([]byte(ve.Type().String()))
+		f.fs.Write(closeParenBytes)
+	} else {
+		if nilFound || cycleFound {
+			indirects += strings.Count(ve.Type().String(), "*")
+		}
+		f.fs.Write(openAngleBytes)
+		f.fs.Write([]byte(strings.Repeat("*", indirects)))
+		f.fs.Write(closeAngleBytes)
+	}
+
+	// Display pointer information depending on flags.
+	if f.fs.Flag('+') && (len(pointerChain) > 0) {
+		f.fs.Write(openParenBytes)
+		for i, addr := range pointerChain {
+			if i > 0 {
+				f.fs.Write(pointerChainBytes)
+			}
+			printHexPtr(f.fs, addr)
+		}
+		f.fs.Write(closeParenBytes)
+	}
+
+	// Display dereferenced value.
+	switch {
+	case nilFound:
+		f.fs.Write(nilAngleBytes)
+
+	case cycleFound:
+		f.fs.Write(circularShortBytes)
+
+	default:
+		f.ignoreNextType = true
+		f.format(ve)
+	}
+}
+
+// format is the main workhorse for providing the Formatter interface.  It
+// uses the passed reflect value to figure out what kind of object we are
+// dealing with and formats it appropriately.  It is a recursive function,
+// however circular data structures are detected and handled properly.
+func (f *formatState) format(v reflect.Value) {
+	// Handle invalid reflect values immediately.
+	kind := v.Kind()
+	if kind == reflect.Invalid {
+		f.fs.Write(invalidAngleBytes)
+		return
+	}
+
+	// Handle pointers specially.
+	if kind == reflect.Ptr {
+		f.formatPtr(v)
+		return
+	}
+
+	// Print type information unless already handled elsewhere.
+	if !f.ignoreNextType && f.fs.Flag('#') {
+		f.fs.Write(openParenBytes)
+		f.fs.Write([]byte(v.Type().String()))
+		f.fs.Write(closeParenBytes)
+	}
+	f.ignoreNextType = false
+
+	// Call Stringer/error interfaces if they exist and the handle methods
+	// flag is enabled.
+	if !f.cs.DisableMethods {
+		if (kind != reflect.Invalid) && (kind != reflect.Interface) {
+			if handled := handleMethods(f.cs, f.fs, v); handled {
+				return
+			}
+		}
+	}
+
+	switch kind {
+	case reflect.Invalid:
+		// Do nothing.  We should never get here since invalid has already
+		// been handled above.
+
+	case reflect.Bool:
+		printBool(f.fs, v.Bool())
+
+	case reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Int:
+		printInt(f.fs, v.Int(), 10)
+
+	case reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uint:
+		printUint(f.fs, v.Uint(), 10)
+
+	case reflect.Float32:
+		printFloat(f.fs, v.Float(), 32)
+
+	case reflect.Float64:
+		printFloat(f.fs, v.Float(), 64)
+
+	case reflect.Complex64:
+		printComplex(f.fs, v.Complex(), 32)
+
+	case reflect.Complex128:
+		printComplex(f.fs, v.Complex(), 64)
+
+	case reflect.Slice:
+		if v.IsNil() {
+			f.fs.Write(nilAngleBytes)
+			break
+		}
+		fallthrough
+
+	case reflect.Array:
+		f.fs.Write(openBracketBytes)
+		f.depth++
+		if (f.cs.MaxDepth != 0) && (f.depth > f.cs.MaxDepth) {
+			f.fs.Write(maxShortBytes)
+		} else {
+			numEntries := v.Len()
+			for i := 0; i < numEntries; i++ {
+				if i > 0 {
+					f.fs.Write(spaceBytes)
+				}
+				f.ignoreNextType = true
+				f.format(f.unpackValue(v.Index(i)))
+			}
+		}
+		f.depth--
+		f.fs.Write(closeBracketBytes)
+
+	case reflect.String:
+		f.fs.Write([]byte(v.String()))
+
+	case reflect.Interface:
+		// The only time we should get here is for nil interfaces due to
+		// unpackValue calls.
+		if v.IsNil() {
+			f.fs.Write(nilAngleBytes)
+		}
+
+	case reflect.Ptr:
+		// Do nothing.  We should never get here since pointers have already
+		// been handled above.
+
+	case reflect.Map:
+		// nil maps should be indicated as different than empty maps
+		if v.IsNil() {
+			f.fs.Write(nilAngleBytes)
+			break
+		}
+
+		f.fs.Write(openMapBytes)
+		f.depth++
+		if (f.cs.MaxDepth != 0) && (f.depth > f.cs.MaxDepth) {
+			f.fs.Write(maxShortBytes)
+		} else {
+			keys := v.MapKeys()
+			if f.cs.SortKeys {
+				sortValues(keys, f.cs)
+			}
+			for i, key := range keys {
+				if i > 0 {
+					f.fs.Write(spaceBytes)
+				}
+				f.ignoreNextType = true
+				f.format(f.unpackValue(key))
+				f.fs.Write(colonBytes)
+				f.ignoreNextType = true
+				f.format(f.unpackValue(v.MapIndex(key)))
+			}
+		}
+		f.depth--
+		f.fs.Write(closeMapBytes)
+
+	case reflect.Struct:
+		numFields := v.NumField()
+		f.fs.Write(openBraceBytes)
+		f.depth++
+		if (f.cs.MaxDepth != 0) && (f.depth > f.cs.MaxDepth) {
+			f.fs.Write(maxShortBytes)
+		} else {
+			vt := v.Type()
+			for i := 0; i < numFields; i++ {
+				if i > 0 {
+					f.fs.Write(spaceBytes)
+				}
+				vtf := vt.Field(i)
+				if f.fs.Flag('+') || f.fs.Flag('#') {
+					f.fs.Write([]byte(vtf.Name))
+					f.fs.Write(colonBytes)
+				}
+				f.format(f.unpackValue(v.Field(i)))
+			}
+		}
+		f.depth--
+		f.fs.Write(closeBraceBytes)
+
+	case reflect.Uintptr:
+		printHexPtr(f.fs, uintptr(v.Uint()))
+
+	case reflect.UnsafePointer, reflect.Chan, reflect.Func:
+		printHexPtr(f.fs, v.Pointer())
+
+	// There were not any other types at the time this code was written, but
+	// fall back to letting the default fmt package handle it if any get added.
+	default:
+		format := f.buildDefaultFormat()
+		if v.CanInterface() {
+			fmt.Fprintf(f.fs, format, v.Interface())
+		} else {
+			fmt.Fprintf(f.fs, format, v.String())
+		}
+	}
+}
+
+// Format satisfies the fmt.Formatter interface. See NewFormatter for usage
+// details.
+func (f *formatState) Format(fs fmt.State, verb rune) {
+	f.fs = fs
+
+	// Use standard formatting for verbs that are not v.
+	if verb != 'v' {
+		format := f.constructOrigFormat(verb)
+		fmt.Fprintf(fs, format, f.value)
+		return
+	}
+
+	if f.value == nil {
+		if fs.Flag('#') {
+			fs.Write(interfaceBytes)
+		}
+		fs.Write(nilAngleBytes)
+		return
+	}
+
+	f.format(reflect.ValueOf(f.value))
+}
+
+// newFormatter is a helper function to consolidate the logic from the various
+// public methods which take varying config states.
+func newFormatter(cs *ConfigState, v interface{}) fmt.Formatter {
+	fs := &formatState{value: v, cs: cs}
+	fs.pointers = make(map[uintptr]int)
+	return fs
+}
+
+/*
+NewFormatter returns a custom formatter that satisfies the fmt.Formatter
+interface.  As a result, it integrates cleanly with standard fmt package
+printing functions.  The formatter is useful for inline printing of smaller data
+types similar to the standard %v format specifier.
+
+The custom formatter only responds to the %v (most compact), %+v (adds pointer
+addresses), %#v (adds types), or %#+v (adds types and pointer addresses) verb
+combinations.  Any other verbs such as %x and %q will be sent to the the
+standard fmt package for formatting.  In addition, the custom formatter ignores
+the width and precision arguments (however they will still work on the format
+specifiers not handled by the custom formatter).
+
+Typically this function shouldn't be called directly.  It is much easier to make
+use of the custom formatter by calling one of the convenience functions such as
+Printf, Println, or Fprintf.
+*/
+func NewFormatter(v interface{}) fmt.Formatter {
+	return newFormatter(&Config, v)
+}
diff --git a/vendor/github.com/davecgh/go-spew/spew/spew.go b/vendor/github.com/davecgh/go-spew/spew/spew.go
new file mode 100644
index 0000000..32c0e33
--- /dev/null
+++ b/vendor/github.com/davecgh/go-spew/spew/spew.go
@@ -0,0 +1,148 @@
+/*
+ * Copyright (c) 2013-2016 Dave Collins <da...@davec.name>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package spew
+
+import (
+	"fmt"
+	"io"
+)
+
+// Errorf is a wrapper for fmt.Errorf that treats each argument as if it were
+// passed with a default Formatter interface returned by NewFormatter.  It
+// returns the formatted string as a value that satisfies error.  See
+// NewFormatter for formatting details.
+//
+// This function is shorthand for the following syntax:
+//
+//	fmt.Errorf(format, spew.NewFormatter(a), spew.NewFormatter(b))
+func Errorf(format string, a ...interface{}) (err error) {
+	return fmt.Errorf(format, convertArgs(a)...)
+}
+
+// Fprint is a wrapper for fmt.Fprint that treats each argument as if it were
+// passed with a default Formatter interface returned by NewFormatter.  It
+// returns the number of bytes written and any write error encountered.  See
+// NewFormatter for formatting details.
+//
+// This function is shorthand for the following syntax:
+//
+//	fmt.Fprint(w, spew.NewFormatter(a), spew.NewFormatter(b))
+func Fprint(w io.Writer, a ...interface{}) (n int, err error) {
+	return fmt.Fprint(w, convertArgs(a)...)
+}
+
+// Fprintf is a wrapper for fmt.Fprintf that treats each argument as if it were
+// passed with a default Formatter interface returned by NewFormatter.  It
+// returns the number of bytes written and any write error encountered.  See
+// NewFormatter for formatting details.
+//
+// This function is shorthand for the following syntax:
+//
+//	fmt.Fprintf(w, format, spew.NewFormatter(a), spew.NewFormatter(b))
+func Fprintf(w io.Writer, format string, a ...interface{}) (n int, err error) {
+	return fmt.Fprintf(w, format, convertArgs(a)...)
+}
+
+// Fprintln is a wrapper for fmt.Fprintln that treats each argument as if it
+// passed with a default Formatter interface returned by NewFormatter.  See
+// NewFormatter for formatting details.
+//
+// This function is shorthand for the following syntax:
+//
+//	fmt.Fprintln(w, spew.NewFormatter(a), spew.NewFormatter(b))
+func Fprintln(w io.Writer, a ...interface{}) (n int, err error) {
+	return fmt.Fprintln(w, convertArgs(a)...)
+}
+
+// Print is a wrapper for fmt.Print that treats each argument as if it were
+// passed with a default Formatter interface returned by NewFormatter.  It
+// returns the number of bytes written and any write error encountered.  See
+// NewFormatter for formatting details.
+//
+// This function is shorthand for the following syntax:
+//
+//	fmt.Print(spew.NewFormatter(a), spew.NewFormatter(b))
+func Print(a ...interface{}) (n int, err error) {
+	return fmt.Print(convertArgs(a)...)
+}
+
+// Printf is a wrapper for fmt.Printf that treats each argument as if it were
+// passed with a default Formatter interface returned by NewFormatter.  It
+// returns the number of bytes written and any write error encountered.  See
+// NewFormatter for formatting details.
+//
+// This function is shorthand for the following syntax:
+//
+//	fmt.Printf(format, spew.NewFormatter(a), spew.NewFormatter(b))
+func Printf(format string, a ...interface{}) (n int, err error) {
+	return fmt.Printf(format, convertArgs(a)...)
+}
+
+// Println is a wrapper for fmt.Println that treats each argument as if it were
+// passed with a default Formatter interface returned by NewFormatter.  It
+// returns the number of bytes written and any write error encountered.  See
+// NewFormatter for formatting details.
+//
+// This function is shorthand for the following syntax:
+//
+//	fmt.Println(spew.NewFormatter(a), spew.NewFormatter(b))
+func Println(a ...interface{}) (n int, err error) {
+	return fmt.Println(convertArgs(a)...)
+}
+
+// Sprint is a wrapper for fmt.Sprint that treats each argument as if it were
+// passed with a default Formatter interface returned by NewFormatter.  It
+// returns the resulting string.  See NewFormatter for formatting details.
+//
+// This function is shorthand for the following syntax:
+//
+//	fmt.Sprint(spew.NewFormatter(a), spew.NewFormatter(b))
+func Sprint(a ...interface{}) string {
+	return fmt.Sprint(convertArgs(a)...)
+}
+
+// Sprintf is a wrapper for fmt.Sprintf that treats each argument as if it were
+// passed with a default Formatter interface returned by NewFormatter.  It
+// returns the resulting string.  See NewFormatter for formatting details.
+//
+// This function is shorthand for the following syntax:
+//
+//	fmt.Sprintf(format, spew.NewFormatter(a), spew.NewFormatter(b))
+func Sprintf(format string, a ...interface{}) string {
+	return fmt.Sprintf(format, convertArgs(a)...)
+}
+
+// Sprintln is a wrapper for fmt.Sprintln that treats each argument as if it
+// were passed with a default Formatter interface returned by NewFormatter.  It
+// returns the resulting string.  See NewFormatter for formatting details.
+//
+// This function is shorthand for the following syntax:
+//
+//	fmt.Sprintln(spew.NewFormatter(a), spew.NewFormatter(b))
+func Sprintln(a ...interface{}) string {
+	return fmt.Sprintln(convertArgs(a)...)
+}
+
+// convertArgs accepts a slice of arguments and returns a slice of the same
+// length with each argument converted to a default spew Formatter interface.
+func convertArgs(args []interface{}) (formatters []interface{}) {
+	formatters = make([]interface{}, len(args))
+	for index, arg := range args {
+		formatters[index] = NewFormatter(arg)
+	}
+	return formatters
+}
diff --git a/vendor/github.com/emicklei/go-restful/LICENSE b/vendor/github.com/emicklei/go-restful/LICENSE
new file mode 100644
index 0000000..ece7ec6
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/LICENSE
@@ -0,0 +1,22 @@
+Copyright (c) 2012,2013 Ernest Micklei
+
+MIT License
+
+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.
\ No newline at end of file
diff --git a/vendor/github.com/emicklei/go-restful/compress.go b/vendor/github.com/emicklei/go-restful/compress.go
new file mode 100644
index 0000000..220b377
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/compress.go
@@ -0,0 +1,123 @@
+package restful
+
+// Copyright 2013 Ernest Micklei. All rights reserved.
+// Use of this source code is governed by a license
+// that can be found in the LICENSE file.
+
+import (
+	"bufio"
+	"compress/gzip"
+	"compress/zlib"
+	"errors"
+	"io"
+	"net"
+	"net/http"
+	"strings"
+)
+
+// OBSOLETE : use restful.DefaultContainer.EnableContentEncoding(true) to change this setting.
+var EnableContentEncoding = false
+
+// CompressingResponseWriter is a http.ResponseWriter that can perform content encoding (gzip and zlib)
+type CompressingResponseWriter struct {
+	writer     http.ResponseWriter
+	compressor io.WriteCloser
+	encoding   string
+}
+
+// Header is part of http.ResponseWriter interface
+func (c *CompressingResponseWriter) Header() http.Header {
+	return c.writer.Header()
+}
+
+// WriteHeader is part of http.ResponseWriter interface
+func (c *CompressingResponseWriter) WriteHeader(status int) {
+	c.writer.WriteHeader(status)
+}
+
+// Write is part of http.ResponseWriter interface
+// It is passed through the compressor
+func (c *CompressingResponseWriter) Write(bytes []byte) (int, error) {
+	if c.isCompressorClosed() {
+		return -1, errors.New("Compressing error: tried to write data using closed compressor")
+	}
+	return c.compressor.Write(bytes)
+}
+
+// CloseNotify is part of http.CloseNotifier interface
+func (c *CompressingResponseWriter) CloseNotify() <-chan bool {
+	return c.writer.(http.CloseNotifier).CloseNotify()
+}
+
+// Close the underlying compressor
+func (c *CompressingResponseWriter) Close() error {
+	if c.isCompressorClosed() {
+		return errors.New("Compressing error: tried to close already closed compressor")
+	}
+
+	c.compressor.Close()
+	if ENCODING_GZIP == c.encoding {
+		currentCompressorProvider.ReleaseGzipWriter(c.compressor.(*gzip.Writer))
+	}
+	if ENCODING_DEFLATE == c.encoding {
+		currentCompressorProvider.ReleaseZlibWriter(c.compressor.(*zlib.Writer))
+	}
+	// gc hint needed?
+	c.compressor = nil
+	return nil
+}
+
+func (c *CompressingResponseWriter) isCompressorClosed() bool {
+	return nil == c.compressor
+}
+
+// Hijack implements the Hijacker interface
+// This is especially useful when combining Container.EnabledContentEncoding
+// in combination with websockets (for instance gorilla/websocket)
+func (c *CompressingResponseWriter) Hijack() (net.Conn, *bufio.ReadWriter, error) {
+	hijacker, ok := c.writer.(http.Hijacker)
+	if !ok {
+		return nil, nil, errors.New("ResponseWriter doesn't support Hijacker interface")
+	}
+	return hijacker.Hijack()
+}
+
+// WantsCompressedResponse reads the Accept-Encoding header to see if and which encoding is requested.
+func wantsCompressedResponse(httpRequest *http.Request) (bool, string) {
+	header := httpRequest.Header.Get(HEADER_AcceptEncoding)
+	gi := strings.Index(header, ENCODING_GZIP)
+	zi := strings.Index(header, ENCODING_DEFLATE)
+	// use in order of appearance
+	if gi == -1 {
+		return zi != -1, ENCODING_DEFLATE
+	} else if zi == -1 {
+		return gi != -1, ENCODING_GZIP
+	} else {
+		if gi < zi {
+			return true, ENCODING_GZIP
+		}
+		return true, ENCODING_DEFLATE
+	}
+}
+
+// NewCompressingResponseWriter create a CompressingResponseWriter for a known encoding = {gzip,deflate}
+func NewCompressingResponseWriter(httpWriter http.ResponseWriter, encoding string) (*CompressingResponseWriter, error) {
+	httpWriter.Header().Set(HEADER_ContentEncoding, encoding)
+	c := new(CompressingResponseWriter)
+	c.writer = httpWriter
+	var err error
+	if ENCODING_GZIP == encoding {
+		w := currentCompressorProvider.AcquireGzipWriter()
+		w.Reset(httpWriter)
+		c.compressor = w
+		c.encoding = ENCODING_GZIP
+	} else if ENCODING_DEFLATE == encoding {
+		w := currentCompressorProvider.AcquireZlibWriter()
+		w.Reset(httpWriter)
+		c.compressor = w
+		c.encoding = ENCODING_DEFLATE
+	} else {
+		return nil, errors.New("Unknown encoding:" + encoding)
+	}
+	return c, err
+}
diff --git a/vendor/github.com/emicklei/go-restful/compressor_cache.go b/vendor/github.com/emicklei/go-restful/compressor_cache.go
new file mode 100644
index 0000000..ee42601
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/compressor_cache.go
@@ -0,0 +1,103 @@
+package restful
+
+// Copyright 2015 Ernest Micklei. All rights reserved.
+// Use of this source code is governed by a license
+// that can be found in the LICENSE file.
+
+import (
+	"compress/gzip"
+	"compress/zlib"
+)
+
+// BoundedCachedCompressors is a CompressorProvider that uses a cache with a fixed amount
+// of writers and readers (resources).
+// If a new resource is acquired and all are in use, it will return a new unmanaged resource.
+type BoundedCachedCompressors struct {
+	gzipWriters     chan *gzip.Writer
+	gzipReaders     chan *gzip.Reader
+	zlibWriters     chan *zlib.Writer
+	writersCapacity int
+	readersCapacity int
+}
+
+// NewBoundedCachedCompressors returns a new, with filled cache,  BoundedCachedCompressors.
+func NewBoundedCachedCompressors(writersCapacity, readersCapacity int) *BoundedCachedCompressors {
+	b := &BoundedCachedCompressors{
+		gzipWriters:     make(chan *gzip.Writer, writersCapacity),
+		gzipReaders:     make(chan *gzip.Reader, readersCapacity),
+		zlibWriters:     make(chan *zlib.Writer, writersCapacity),
+		writersCapacity: writersCapacity,
+		readersCapacity: readersCapacity,
+	}
+	for ix := 0; ix < writersCapacity; ix++ {
+		b.gzipWriters <- newGzipWriter()
+		b.zlibWriters <- newZlibWriter()
+	}
+	for ix := 0; ix < readersCapacity; ix++ {
+		b.gzipReaders <- newGzipReader()
+	}
+	return b
+}
+
+// AcquireGzipWriter returns an resettable *gzip.Writer. Needs to be released.
+func (b *BoundedCachedCompressors) AcquireGzipWriter() *gzip.Writer {
+	var writer *gzip.Writer
+	select {
+	case writer, _ = <-b.gzipWriters:
+	default:
+		// return a new unmanaged one
+		writer = newGzipWriter()
+	}
+	return writer
+}
+
+// ReleaseGzipWriter accepts a writer (does not have to be one that was cached)
+// only when the cache has room for it. It will ignore it otherwise.
+func (b *BoundedCachedCompressors) ReleaseGzipWriter(w *gzip.Writer) {
+	// forget the unmanaged ones
+	if len(b.gzipWriters) < b.writersCapacity {
+		b.gzipWriters <- w
+	}
+}
+
+// AcquireGzipReader returns a *gzip.Reader. Needs to be released.
+func (b *BoundedCachedCompressors) AcquireGzipReader() *gzip.Reader {
+	var reader *gzip.Reader
+	select {
+	case reader, _ = <-b.gzipReaders:
+	default:
+		// return a new unmanaged one
+		reader = newGzipReader()
+	}
+	return reader
+}
+
+// ReleaseGzipReader accepts a reader (does not have to be one that was cached)
+// only when the cache has room for it. It will ignore it otherwise.
+func (b *BoundedCachedCompressors) ReleaseGzipReader(r *gzip.Reader) {
+	// forget the unmanaged ones
+	if len(b.gzipReaders) < b.readersCapacity {
+		b.gzipReaders <- r
+	}
+}
+
+// AcquireZlibWriter returns an resettable *zlib.Writer. Needs to be released.
+func (b *BoundedCachedCompressors) AcquireZlibWriter() *zlib.Writer {
+	var writer *zlib.Writer
+	select {
+	case writer, _ = <-b.zlibWriters:
+	default:
+		// return a new unmanaged one
+		writer = newZlibWriter()
+	}
+	return writer
+}
+
+// ReleaseZlibWriter accepts a writer (does not have to be one that was cached)
+// only when the cache has room for it. It will ignore it otherwise.
+func (b *BoundedCachedCompressors) ReleaseZlibWriter(w *zlib.Writer) {
+	// forget the unmanaged ones
+	if len(b.zlibWriters) < b.writersCapacity {
+		b.zlibWriters <- w
+	}
+}
diff --git a/vendor/github.com/emicklei/go-restful/compressor_pools.go b/vendor/github.com/emicklei/go-restful/compressor_pools.go
new file mode 100644
index 0000000..d866ce6
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/compressor_pools.go
@@ -0,0 +1,91 @@
+package restful
+
+// Copyright 2015 Ernest Micklei. All rights reserved.
+// Use of this source code is governed by a license
+// that can be found in the LICENSE file.
+
+import (
+	"bytes"
+	"compress/gzip"
+	"compress/zlib"
+	"sync"
+)
+
+// SyncPoolCompessors is a CompressorProvider that use the standard sync.Pool.
+type SyncPoolCompessors struct {
+	GzipWriterPool *sync.Pool
+	GzipReaderPool *sync.Pool
+	ZlibWriterPool *sync.Pool
+}
+
+// NewSyncPoolCompessors returns a new ("empty") SyncPoolCompessors.
+func NewSyncPoolCompessors() *SyncPoolCompessors {
+	return &SyncPoolCompessors{
+		GzipWriterPool: &sync.Pool{
+			New: func() interface{} { return newGzipWriter() },
+		},
+		GzipReaderPool: &sync.Pool{
+			New: func() interface{} { return newGzipReader() },
+		},
+		ZlibWriterPool: &sync.Pool{
+			New: func() interface{} { return newZlibWriter() },
+		},
+	}
+}
+
+func (s *SyncPoolCompessors) AcquireGzipWriter() *gzip.Writer {
+	return s.GzipWriterPool.Get().(*gzip.Writer)
+}
+
+func (s *SyncPoolCompessors) ReleaseGzipWriter(w *gzip.Writer) {
+	s.GzipWriterPool.Put(w)
+}
+
+func (s *SyncPoolCompessors) AcquireGzipReader() *gzip.Reader {
+	return s.GzipReaderPool.Get().(*gzip.Reader)
+}
+
+func (s *SyncPoolCompessors) ReleaseGzipReader(r *gzip.Reader) {
+	s.GzipReaderPool.Put(r)
+}
+
+func (s *SyncPoolCompessors) AcquireZlibWriter() *zlib.Writer {
+	return s.ZlibWriterPool.Get().(*zlib.Writer)
+}
+
+func (s *SyncPoolCompessors) ReleaseZlibWriter(w *zlib.Writer) {
+	s.ZlibWriterPool.Put(w)
+}
+
+func newGzipWriter() *gzip.Writer {
+	// create with an empty bytes writer; it will be replaced before using the gzipWriter
+	writer, err := gzip.NewWriterLevel(new(bytes.Buffer), gzip.BestSpeed)
+	if err != nil {
+		panic(err.Error())
+	}
+	return writer
+}
+
+func newGzipReader() *gzip.Reader {
+	// create with an empty reader (but with GZIP header); it will be replaced before using the gzipReader
+	// we can safely use currentCompressProvider because it is set on package initialization.
+	w := currentCompressorProvider.AcquireGzipWriter()
+	defer currentCompressorProvider.ReleaseGzipWriter(w)
+	b := new(bytes.Buffer)
+	w.Reset(b)
+	w.Flush()
+	w.Close()
+	reader, err := gzip.NewReader(bytes.NewReader(b.Bytes()))
+	if err != nil {
+		panic(err.Error())
+	}
+	return reader
+}
+
+func newZlibWriter() *zlib.Writer {
+	writer, err := zlib.NewWriterLevel(new(bytes.Buffer), gzip.BestSpeed)
+	if err != nil {
+		panic(err.Error())
+	}
+	return writer
+}
diff --git a/vendor/github.com/emicklei/go-restful/compressors.go b/vendor/github.com/emicklei/go-restful/compressors.go
new file mode 100644
index 0000000..9db4a8c
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/compressors.go
@@ -0,0 +1,54 @@
+package restful
+
+// Copyright 2015 Ernest Micklei. All rights reserved.
+// Use of this source code is governed by a license
+// that can be found in the LICENSE file.
+
+import (
+	"compress/gzip"
+	"compress/zlib"
+)
+
+// CompressorProvider describes a component that can provider compressors for the std methods.
+type CompressorProvider interface {
+	// Returns a *gzip.Writer which needs to be released later.
+	// Before using it, call Reset().
+	AcquireGzipWriter() *gzip.Writer
+
+	// Releases an acquired *gzip.Writer.
+	ReleaseGzipWriter(w *gzip.Writer)
+
+	// Returns a *gzip.Reader which needs to be released later.
+	AcquireGzipReader() *gzip.Reader
+
+	// Releases an acquired *gzip.Reader.
+	ReleaseGzipReader(w *gzip.Reader)
+
+	// Returns a *zlib.Writer which needs to be released later.
+	// Before using it, call Reset().
+	AcquireZlibWriter() *zlib.Writer
+
+	// Releases an acquired *zlib.Writer.
+	ReleaseZlibWriter(w *zlib.Writer)
+}
+
+// DefaultCompressorProvider is the actual provider of compressors (zlib or gzip).
+var currentCompressorProvider CompressorProvider
+
+func init() {
+	currentCompressorProvider = NewSyncPoolCompessors()
+}
+
+// CurrentCompressorProvider returns the current CompressorProvider.
+// It is initialized using a SyncPoolCompessors.
+func CurrentCompressorProvider() CompressorProvider {
+	return currentCompressorProvider
+}
+
+// SetCompressorProvider sets the actual provider of compressors (zlib or gzip).
+func SetCompressorProvider(p CompressorProvider) {
+	if p == nil {
+		panic("cannot set compressor provider to nil")
+	}
+	currentCompressorProvider = p
+}
diff --git a/vendor/github.com/emicklei/go-restful/constants.go b/vendor/github.com/emicklei/go-restful/constants.go
new file mode 100644
index 0000000..203439c
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/constants.go
@@ -0,0 +1,30 @@
+package restful
+
+// Copyright 2013 Ernest Micklei. All rights reserved.
+// Use of this source code is governed by a license
+// that can be found in the LICENSE file.
+
+const (
+	MIME_XML   = "application/xml"          // Accept or Content-Type used in Consumes() and/or Produces()
+	MIME_JSON  = "application/json"         // Accept or Content-Type used in Consumes() and/or Produces()
+	MIME_OCTET = "application/octet-stream" // If Content-Type is not present in request, use the default
+
+	HEADER_Allow                         = "Allow"
+	HEADER_Accept                        = "Accept"
+	HEADER_Origin                        = "Origin"
+	HEADER_ContentType                   = "Content-Type"
+	HEADER_LastModified                  = "Last-Modified"
+	HEADER_AcceptEncoding                = "Accept-Encoding"
+	HEADER_ContentEncoding               = "Content-Encoding"
+	HEADER_AccessControlExposeHeaders    = "Access-Control-Expose-Headers"
+	HEADER_AccessControlRequestMethod    = "Access-Control-Request-Method"
+	HEADER_AccessControlRequestHeaders   = "Access-Control-Request-Headers"
+	HEADER_AccessControlAllowMethods     = "Access-Control-Allow-Methods"
+	HEADER_AccessControlAllowOrigin      = "Access-Control-Allow-Origin"
+	HEADER_AccessControlAllowCredentials = "Access-Control-Allow-Credentials"
+	HEADER_AccessControlAllowHeaders     = "Access-Control-Allow-Headers"
+	HEADER_AccessControlMaxAge           = "Access-Control-Max-Age"
+
+	ENCODING_GZIP    = "gzip"
+	ENCODING_DEFLATE = "deflate"
+)
diff --git a/vendor/github.com/emicklei/go-restful/container.go b/vendor/github.com/emicklei/go-restful/container.go
new file mode 100644
index 0000000..b4ad153
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/container.go
@@ -0,0 +1,371 @@
+package restful
+
+// Copyright 2013 Ernest Micklei. All rights reserved.
+// Use of this source code is governed by a license
+// that can be found in the LICENSE file.
+
+import (
+	"bytes"
+	"errors"
+	"fmt"
+	"net/http"
+	"os"
+	"runtime"
+	"strings"
+	"sync"
+
+	"github.com/emicklei/go-restful/log"
+)
+
+// Container holds a collection of WebServices and a http.ServeMux to dispatch http requests.
+// The requests are further dispatched to routes of WebServices using a RouteSelector
+type Container struct {
+	webServicesLock        sync.RWMutex
+	webServices            []*WebService
+	ServeMux               *http.ServeMux
+	isRegisteredOnRoot     bool
+	containerFilters       []FilterFunction
+	doNotRecover           bool // default is true
+	recoverHandleFunc      RecoverHandleFunction
+	serviceErrorHandleFunc ServiceErrorHandleFunction
+	router                 RouteSelector // default is a CurlyRouter (RouterJSR311 is a slower alternative)
+	contentEncodingEnabled bool          // default is false
+}
+
+// NewContainer creates a new Container using a new ServeMux and default router (CurlyRouter)
+func NewContainer() *Container {
+	return &Container{
+		webServices:            []*WebService{},
+		ServeMux:               http.NewServeMux(),
+		isRegisteredOnRoot:     false,
+		containerFilters:       []FilterFunction{},
+		doNotRecover:           true,
+		recoverHandleFunc:      logStackOnRecover,
+		serviceErrorHandleFunc: writeServiceError,
+		router:                 CurlyRouter{},
+		contentEncodingEnabled: false}
+}
+
+// RecoverHandleFunction declares functions that can be used to handle a panic situation.
+// The first argument is what recover() returns. The second must be used to communicate an error response.
+type RecoverHandleFunction func(interface{}, http.ResponseWriter)
+
+// RecoverHandler changes the default function (logStackOnRecover) to be called
+// when a panic is detected. DoNotRecover must be have its default value (=false).
+func (c *Container) RecoverHandler(handler RecoverHandleFunction) {
+	c.recoverHandleFunc = handler
+}
+
+// ServiceErrorHandleFunction declares functions that can be used to handle a service error situation.
+// The first argument is the service error, the second is the request that resulted in the error and
+// the third must be used to communicate an error response.
+type ServiceErrorHandleFunction func(ServiceError, *Request, *Response)
+
+// ServiceErrorHandler changes the default function (writeServiceError) to be called
+// when a ServiceError is detected.
+func (c *Container) ServiceErrorHandler(handler ServiceErrorHandleFunction) {
+	c.serviceErrorHandleFunc = handler
+}
+
+// DoNotRecover controls whether panics will be caught to return HTTP 500.
+// If set to true, Route functions are responsible for handling any error situation.
+// Default value is true.
+func (c *Container) DoNotRecover(doNot bool) {
+	c.doNotRecover = doNot
+}
+
+// Router changes the default Router (currently CurlyRouter)
+func (c *Container) Router(aRouter RouteSelector) {
+	c.router = aRouter
+}
+
+// EnableContentEncoding (default=false) allows for GZIP or DEFLATE encoding of responses.
+func (c *Container) EnableContentEncoding(enabled bool) {
+	c.contentEncodingEnabled = enabled
+}
+
+// Add a WebService to the Container. It will detect duplicate root paths and exit in that case.
+func (c *Container) Add(service *WebService) *Container {
+	c.webServicesLock.Lock()
+	defer c.webServicesLock.Unlock()
+
+	// if rootPath was not set then lazy initialize it
+	if len(service.rootPath) == 0 {
+		service.Path("/")
+	}
+
+	// cannot have duplicate root paths
+	for _, each := range c.webServices {
+		if each.RootPath() == service.RootPath() {
+			log.Printf("[restful] WebService with duplicate root path detected:['%v']", each)
+			os.Exit(1)
+		}
+	}
+
+	// If not registered on root then add specific mapping
+	if !c.isRegisteredOnRoot {
+		c.isRegisteredOnRoot = c.addHandler(service, c.ServeMux)
+	}
+	c.webServices = append(c.webServices, service)
+	return c
+}
+
+// addHandler may set a new HandleFunc for the serveMux
+// this function must run inside the critical region protected by the webServicesLock.
+// returns true if the function was registered on root ("/")
+func (c *Container) addHandler(service *WebService, serveMux *http.ServeMux) bool {
+	pattern := fixedPrefixPath(service.RootPath())
+	// check if root path registration is needed
+	if "/" == pattern || "" == pattern {
+		serveMux.HandleFunc("/", c.dispatch)
+		return true
+	}
+	// detect if registration already exists
+	alreadyMapped := false
+	for _, each := range c.webServices {
+		if each.RootPath() == service.RootPath() {
+			alreadyMapped = true
+			break
+		}
+	}
+	if !alreadyMapped {
+		serveMux.HandleFunc(pattern, c.dispatch)
+		if !strings.HasSuffix(pattern, "/") {
+			serveMux.HandleFunc(pattern+"/", c.dispatch)
+		}
+	}
+	return false
+}
+
+func (c *Container) Remove(ws *WebService) error {
+	if c.ServeMux == http.DefaultServeMux {
+		errMsg := fmt.Sprintf("[restful] cannot remove a WebService from a Container using the DefaultServeMux: ['%v']", ws)
+		log.Print(errMsg)
+		return errors.New(errMsg)
+	}
+	c.webServicesLock.Lock()
+	defer c.webServicesLock.Unlock()
+	// build a new ServeMux and re-register all WebServices
+	newServeMux := http.NewServeMux()
+	newServices := []*WebService{}
+	newIsRegisteredOnRoot := false
+	for _, each := range c.webServices {
+		if each.rootPath != ws.rootPath {
+			// If not registered on root then add specific mapping
+			if !newIsRegisteredOnRoot {
+				newIsRegisteredOnRoot = c.addHandler(each, newServeMux)
+			}
+			newServices = append(newServices, each)
+		}
+	}
+	c.webServices, c.ServeMux, c.isRegisteredOnRoot = newServices, newServeMux, newIsRegisteredOnRoot
+	return nil
+}
+
+// logStackOnRecover is the default RecoverHandleFunction and is called
+// when DoNotRecover is false and the recoverHandleFunc is not set for the container.
+// Default implementation logs the stacktrace and writes the stacktrace on the response.
+// This may be a security issue as it exposes sourcecode information.
+func logStackOnRecover(panicReason interface{}, httpWriter http.ResponseWriter) {
+	var buffer bytes.Buffer
+	buffer.WriteString(fmt.Sprintf("[restful] recover from panic situation: - %v\r\n", panicReason))
+	for i := 2; ; i += 1 {
+		_, file, line, ok := runtime.Caller(i)
+		if !ok {
+			break
+		}
+		buffer.WriteString(fmt.Sprintf("    %s:%d\r\n", file, line))
+	}
+	log.Print(buffer.String())
+	httpWriter.WriteHeader(http.StatusInternalServerError)
+	httpWriter.Write(buffer.Bytes())
+}
+
+// writeServiceError is the default ServiceErrorHandleFunction and is called
+// when a ServiceError is returned during route selection. Default implementation
+// calls resp.WriteErrorString(err.Code, err.Message)
+func writeServiceError(err ServiceError, req *Request, resp *Response) {
+	resp.WriteErrorString(err.Code, err.Message)
+}
+
+// Dispatch the incoming Http Request to a matching WebService.
+func (c *Container) Dispatch(httpWriter http.ResponseWriter, httpRequest *http.Request) {
+	if httpWriter == nil {
+		panic("httpWriter cannot be nil")
+	}
+	if httpRequest == nil {
+		panic("httpRequest cannot be nil")
+	}
+	c.dispatch(httpWriter, httpRequest)
+}
+
+// Dispatch the incoming Http Request to a matching WebService.
+func (c *Container) dispatch(httpWriter http.ResponseWriter, httpRequest *http.Request) {
+	writer := httpWriter
+
+	// CompressingResponseWriter should be closed after all operations are done
+	defer func() {
+		if compressWriter, ok := writer.(*CompressingResponseWriter); ok {
+			compressWriter.Close()
+		}
+	}()
+
+	// Instal panic recovery unless told otherwise
+	if !c.doNotRecover { // catch all for 500 response
+		defer func() {
+			if r := recover(); r != nil {
+				c.recoverHandleFunc(r, writer)
+				return
+			}
+		}()
+	}
+
+	// Detect if compression is needed
+	// assume without compression, test for override
+	if c.contentEncodingEnabled {
+		doCompress, encoding := wantsCompressedResponse(httpRequest)
+		if doCompress {
+			var err error
+			writer, err = NewCompressingResponseWriter(httpWriter, encoding)
+			if err != nil {
+				log.Print("[restful] unable to install compressor: ", err)
+				httpWriter.WriteHeader(http.StatusInternalServerError)
+				return
+			}
+		}
+	}
+	// Find best match Route ; err is non nil if no match was found
+	var webService *WebService
+	var route *Route
+	var err error
+	func() {
+		c.webServicesLock.RLock()
+		defer c.webServicesLock.RUnlock()
+		webService, route, err = c.router.SelectRoute(
+			c.webServices,
+			httpRequest)
+	}()
+	if err != nil {
+		// a non-200 response has already been written
+		// run container filters anyway ; they should not touch the response...
+		chain := FilterChain{Filters: c.containerFilters, Target: func(req *Request, resp *Response) {
+			switch err.(type) {
+			case ServiceError:
+				ser := err.(ServiceError)
+				c.serviceErrorHandleFunc(ser, req, resp)
+			}
+			// TODO
+		}}
+		chain.ProcessFilter(NewRequest(httpRequest), NewResponse(writer))
+		return
+	}
+	pathProcessor, routerProcessesPath := c.router.(PathProcessor)
+	if !routerProcessesPath {
+		pathProcessor = defaultPathProcessor{}
+	}
+	pathParams := pathProcessor.ExtractParameters(route, webService, httpRequest.URL.Path)
+	wrappedRequest, wrappedResponse := route.wrapRequestResponse(writer, httpRequest, pathParams)
+	// pass through filters (if any)
+	if len(c.containerFilters)+len(webService.filters)+len(route.Filters) > 0 {
+		// compose filter chain
+		allFilters := []FilterFunction{}
+		allFilters = append(allFilters, c.containerFilters...)
+		allFilters = append(allFilters, webService.filters...)
+		allFilters = append(allFilters, route.Filters...)
+		chain := FilterChain{Filters: allFilters, Target: func(req *Request, resp *Response) {
+			// handle request by route after passing all filters
+			route.Function(wrappedRequest, wrappedResponse)
+		}}
+		chain.ProcessFilter(wrappedRequest, wrappedResponse)
+	} else {
+		// no filters, handle request by route
+		route.Function(wrappedRequest, wrappedResponse)
+	}
+}
+
+// fixedPrefixPath returns the fixed part of the partspec ; it may include template vars {}
+func fixedPrefixPath(pathspec string) string {
+	varBegin := strings.Index(pathspec, "{")
+	if -1 == varBegin {
+		return pathspec
+	}
+	return pathspec[:varBegin]
+}
+
+// ServeHTTP implements net/http.Handler therefore a Container can be a Handler in a http.Server
+func (c *Container) ServeHTTP(httpwriter http.ResponseWriter, httpRequest *http.Request) {
+	c.ServeMux.ServeHTTP(httpwriter, httpRequest)
+}
+
+// Handle registers the handler for the given pattern. If a handler already exists for pattern, Handle panics.
+func (c *Container) Handle(pattern string, handler http.Handler) {
+	c.ServeMux.Handle(pattern, handler)
+}
+
+// HandleWithFilter registers the handler for the given pattern.
+// Container's filter chain is applied for handler.
+// If a handler already exists for pattern, HandleWithFilter panics.
+func (c *Container) HandleWithFilter(pattern string, handler http.Handler) {
+	f := func(httpResponse http.ResponseWriter, httpRequest *http.Request) {
+		if len(c.containerFilters) == 0 {
+			handler.ServeHTTP(httpResponse, httpRequest)
+			return
+		}
+
+		chain := FilterChain{Filters: c.containerFilters, Target: func(req *Request, resp *Response) {
+			handler.ServeHTTP(httpResponse, httpRequest)
+		}}
+		chain.ProcessFilter(NewRequest(httpRequest), NewResponse(httpResponse))
+	}
+
+	c.Handle(pattern, http.HandlerFunc(f))
+}
+
+// Filter appends a container FilterFunction. These are called before dispatching
+// a http.Request to a WebService from the container
+func (c *Container) Filter(filter FilterFunction) {
+	c.containerFilters = append(c.containerFilters, filter)
+}
+
+// RegisteredWebServices returns the collections of added WebServices
+func (c *Container) RegisteredWebServices() []*WebService {
+	c.webServicesLock.RLock()
+	defer c.webServicesLock.RUnlock()
+	result := make([]*WebService, len(c.webServices))
+	for ix := range c.webServices {
+		result[ix] = c.webServices[ix]
+	}
+	return result
+}
+
+// computeAllowedMethods returns a list of HTTP methods that are valid for a Request
+func (c *Container) computeAllowedMethods(req *Request) []string {
+	// Go through all RegisteredWebServices() and all its Routes to collect the options
+	methods := []string{}
+	requestPath := req.Request.URL.Path
+	for _, ws := range c.RegisteredWebServices() {
+		matches := ws.pathExpr.Matcher.FindStringSubmatch(requestPath)
+		if matches != nil {
+			finalMatch := matches[len(matches)-1]
+			for _, rt := range ws.Routes() {
+				matches := rt.pathExpr.Matcher.FindStringSubmatch(finalMatch)
+				if matches != nil {
+					lastMatch := matches[len(matches)-1]
+					if lastMatch == "" || lastMatch == "/" { // do not include if value is neither empty nor ‘/’.
+						methods = append(methods, rt.Method)
+					}
+				}
+			}
+		}
+	}
+	// methods = append(methods, "OPTIONS")  not sure about this
+	return methods
+}
+
+// newBasicRequestResponse creates a pair of Request,Response from its http versions.
+// It is basic because no parameter or (produces) content-type information is given.
+func newBasicRequestResponse(httpWriter http.ResponseWriter, httpRequest *http.Request) (*Request, *Response) {
+	resp := NewResponse(httpWriter)
+	resp.requestAccept = httpRequest.Header.Get(HEADER_Accept)
+	return NewRequest(httpRequest), resp
+}
diff --git a/vendor/github.com/emicklei/go-restful/cors_filter.go b/vendor/github.com/emicklei/go-restful/cors_filter.go
new file mode 100644
index 0000000..1efeef0
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/cors_filter.go
@@ -0,0 +1,202 @@
+package restful
+
+// Copyright 2013 Ernest Micklei. All rights reserved.
+// Use of this source code is governed by a license
+// that can be found in the LICENSE file.
+
+import (
+	"regexp"
+	"strconv"
+	"strings"
+)
+
+// CrossOriginResourceSharing is used to create a Container Filter that implements CORS.
+// Cross-origin resource sharing (CORS) is a mechanism that allows JavaScript on a web page
+// to make XMLHttpRequests to another domain, not the domain the JavaScript originated from.
+//
+// http://en.wikipedia.org/wiki/Cross-origin_resource_sharing
+// http://enable-cors.org/server.html
+// http://www.html5rocks.com/en/tutorials/cors/#toc-handling-a-not-so-simple-request
+type CrossOriginResourceSharing struct {
+	ExposeHeaders  []string // list of Header names
+	AllowedHeaders []string // list of Header names
+	AllowedDomains []string // list of allowed values for Http Origin. An allowed value can be a regular expression to support subdomain matching. If empty all are allowed.
+	AllowedMethods []string
+	MaxAge         int // number of seconds before requiring new Options request
+	CookiesAllowed bool
+	Container      *Container
+
+	allowedOriginPatterns []*regexp.Regexp // internal field for origin regexp check.
+}
+
+// Filter is a filter function that implements the CORS flow as documented on http://enable-cors.org/server.html
+// and http://www.html5rocks.com/static/images/cors_server_flowchart.png
+func (c CrossOriginResourceSharing) Filter(req *Request, resp *Response, chain *FilterChain) {
+	origin := req.Request.Header.Get(HEADER_Origin)
+	if len(origin) == 0 {
+		if trace {
+			traceLogger.Print("no Http header Origin set")
+		}
+		chain.ProcessFilter(req, resp)
+		return
+	}
+	if !c.isOriginAllowed(origin) { // check whether this origin is allowed
+		if trace {
+			traceLogger.Printf("HTTP Origin:%s is not part of %v, neither matches any part of %v", origin, c.AllowedDomains, c.allowedOriginPatterns)
+		}
+		chain.ProcessFilter(req, resp)
+		return
+	}
+	if req.Request.Method != "OPTIONS" {
+		c.doActualRequest(req, resp)
+		chain.ProcessFilter(req, resp)
+		return
+	}
+	if acrm := req.Request.Header.Get(HEADER_AccessControlRequestMethod); acrm != "" {
+		c.doPreflightRequest(req, resp)
+	} else {
+		c.doActualRequest(req, resp)
+		chain.ProcessFilter(req, resp)
+		return
+	}
+}
+
+func (c CrossOriginResourceSharing) doActualRequest(req *Request, resp *Response) {
+	c.setOptionsHeaders(req, resp)
+	// continue processing the response
+}
+
+func (c *CrossOriginResourceSharing) doPreflightRequest(req *Request, resp *Response) {
+	if len(c.AllowedMethods) == 0 {
+		if c.Container == nil {
+			c.AllowedMethods = DefaultContainer.computeAllowedMethods(req)
+		} else {
+			c.AllowedMethods = c.Container.computeAllowedMethods(req)
+		}
+	}
+
+	acrm := req.Request.Header.Get(HEADER_AccessControlRequestMethod)
+	if !c.isValidAccessControlRequestMethod(acrm, c.AllowedMethods) {
+		if trace {
+			traceLogger.Printf("Http header %s:%s is not in %v",
+				HEADER_AccessControlRequestMethod,
+				acrm,
+				c.AllowedMethods)
+		}
+		return
+	}
+	acrhs := req.Request.Header.Get(HEADER_AccessControlRequestHeaders)
+	if len(acrhs) > 0 {
+		for _, each := range strings.Split(acrhs, ",") {
+			if !c.isValidAccessControlRequestHeader(strings.Trim(each, " ")) {
+				if trace {
+					traceLogger.Printf("Http header %s:%s is not in %v",
+						HEADER_AccessControlRequestHeaders,
+						acrhs,
+						c.AllowedHeaders)
+				}
+				return
+			}
+		}
+	}
+	resp.AddHeader(HEADER_AccessControlAllowMethods, strings.Join(c.AllowedMethods, ","))
+	resp.AddHeader(HEADER_AccessControlAllowHeaders, acrhs)
+	c.setOptionsHeaders(req, resp)
+
+	// return http 200 response, no body
+}
+
+func (c CrossOriginResourceSharing) setOptionsHeaders(req *Request, resp *Response) {
+	c.checkAndSetExposeHeaders(resp)
+	c.setAllowOriginHeader(req, resp)
+	c.checkAndSetAllowCredentials(resp)
+	if c.MaxAge > 0 {
+		resp.AddHeader(HEADER_AccessControlMaxAge, strconv.Itoa(c.MaxAge))
+	}
+}
+
+func (c CrossOriginResourceSharing) isOriginAllowed(origin string) bool {
+	if len(origin) == 0 {
+		return false
+	}
+	if len(c.AllowedDomains) == 0 {
+		return true
+	}
+
+	allowed := false
+	for _, domain := range c.AllowedDomains {
+		if domain == origin {
+			allowed = true
+			break
+		}
+	}
+
+	if !allowed {
+		if len(c.allowedOriginPatterns) == 0 {
+			// compile allowed domains to allowed origin patterns
+			allowedOriginRegexps, err := compileRegexps(c.AllowedDomains)
+			if err != nil {
+				return false
+			}
+			c.allowedOriginPatterns = allowedOriginRegexps
+		}
+
+		for _, pattern := range c.allowedOriginPatterns {
+			if allowed = pattern.MatchString(origin); allowed {
+				break
+			}
+		}
+	}
+
+	return allowed
+}
+
+func (c CrossOriginResourceSharing) setAllowOriginHeader(req *Request, resp *Response) {
+	origin := req.Request.Header.Get(HEADER_Origin)
+	if c.isOriginAllowed(origin) {
+		resp.AddHeader(HEADER_AccessControlAllowOrigin, origin)
+	}
+}
+
+func (c CrossOriginResourceSharing) checkAndSetExposeHeaders(resp *Response) {
+	if len(c.ExposeHeaders) > 0 {
+		resp.AddHeader(HEADER_AccessControlExposeHeaders, strings.Join(c.ExposeHeaders, ","))
+	}
+}
+
+func (c CrossOriginResourceSharing) checkAndSetAllowCredentials(resp *Response) {
+	if c.CookiesAllowed {
+		resp.AddHeader(HEADER_AccessControlAllowCredentials, "true")
+	}
+}
+
+func (c CrossOriginResourceSharing) isValidAccessControlRequestMethod(method string, allowedMethods []string) bool {
+	for _, each := range allowedMethods {
+		if each == method {
+			return true
+		}
+	}
+	return false
+}
+
+func (c CrossOriginResourceSharing) isValidAccessControlRequestHeader(header string) bool {
+	for _, each := range c.AllowedHeaders {
+		if strings.ToLower(each) == strings.ToLower(header) {
+			return true
+		}
+	}
+	return false
+}
+
+// Take a list of strings and compile them into a list of regular expressions.
+func compileRegexps(regexpStrings []string) ([]*regexp.Regexp, error) {
+	regexps := []*regexp.Regexp{}
+	for _, regexpStr := range regexpStrings {
+		r, err := regexp.Compile(regexpStr)
+		if err != nil {
+			return regexps, err
+		}
+		regexps = append(regexps, r)
+	}
+	return regexps, nil
+}
diff --git a/vendor/github.com/emicklei/go-restful/curly.go b/vendor/github.com/emicklei/go-restful/curly.go
new file mode 100644
index 0000000..79f1f5a
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/curly.go
@@ -0,0 +1,164 @@
+package restful
+
+// Copyright 2013 Ernest Micklei. All rights reserved.
+// Use of this source code is governed by a license
+// that can be found in the LICENSE file.
+
+import (
+	"net/http"
+	"regexp"
+	"sort"
+	"strings"
+)
+
+// CurlyRouter expects Routes with paths that contain zero or more parameters in curly brackets.
+type CurlyRouter struct{}
+
+// SelectRoute is part of the Router interface and returns the best match
+// for the WebService and its Route for the given Request.
+func (c CurlyRouter) SelectRoute(
+	webServices []*WebService,
+	httpRequest *http.Request) (selectedService *WebService, selected *Route, err error) {
+
+	requestTokens := tokenizePath(httpRequest.URL.Path)
+
+	detectedService := c.detectWebService(requestTokens, webServices)
+	if detectedService == nil {
+		if trace {
+			traceLogger.Printf("no WebService was found to match URL path:%s\n", httpRequest.URL.Path)
+		}
+		return nil, nil, NewError(http.StatusNotFound, "404: Page Not Found")
+	}
+	candidateRoutes := c.selectRoutes(detectedService, requestTokens)
+	if len(candidateRoutes) == 0 {
+		if trace {
+			traceLogger.Printf("no Route in WebService with path %s was found to match URL path:%s\n", detectedService.rootPath, httpRequest.URL.Path)
+		}
+		return detectedService, nil, NewError(http.StatusNotFound, "404: Page Not Found")
+	}
+	selectedRoute, err := c.detectRoute(candidateRoutes, httpRequest)
+	if selectedRoute == nil {
+		return detectedService, nil, err
+	}
+	return detectedService, selectedRoute, nil
+}
+
+// selectRoutes return a collection of Route from a WebService that matches the path tokens from the request.
+func (c CurlyRouter) selectRoutes(ws *WebService, requestTokens []string) sortableCurlyRoutes {
+	candidates := sortableCurlyRoutes{}
+	for _, each := range ws.routes {
+		matches, paramCount, staticCount := c.matchesRouteByPathTokens(each.pathParts, requestTokens)
+		if matches {
+			candidates.add(curlyRoute{each, paramCount, staticCount}) // TODO make sure Routes() return pointers?
+		}
+	}
+	sort.Sort(sort.Reverse(candidates))
+	return candidates
+}
+
+// matchesRouteByPathTokens computes whether it matches, howmany parameters do match and what the number of static path elements are.
+func (c CurlyRouter) matchesRouteByPathTokens(routeTokens, requestTokens []string) (matches bool, paramCount int, staticCount int) {
+	if len(routeTokens) < len(requestTokens) {
+		// proceed in matching only if last routeToken is wildcard
+		count := len(routeTokens)
+		if count == 0 || !strings.HasSuffix(routeTokens[count-1], "*}") {
+			return false, 0, 0
+		}
+		// proceed
+	}
+	for i, routeToken := range routeTokens {
+		if i == len(requestTokens) {
+			// reached end of request path
+			return false, 0, 0
+		}
+		requestToken := requestTokens[i]
+		if strings.HasPrefix(routeToken, "{") {
+			paramCount++
+			if colon := strings.Index(routeToken, ":"); colon != -1 {
+				// match by regex
+				matchesToken, matchesRemainder := c.regularMatchesPathToken(routeToken, colon, requestToken)
+				if !matchesToken {
+					return false, 0, 0
+				}
+				if matchesRemainder {
+					break
+				}
+			}
+		} else { // no { prefix
+			if requestToken != routeToken {
+				return false, 0, 0
+			}
+			staticCount++
+		}
+	}
+	return true, paramCount, staticCount
+}
+
+// regularMatchesPathToken tests whether the regular expression part of routeToken matches the requestToken or all remaining tokens
+// format routeToken is {someVar:someExpression}, e.g. {zipcode:[\d][\d][\d][\d][A-Z][A-Z]}
+func (c CurlyRouter) regularMatchesPathToken(routeToken string, colon int, requestToken string) (matchesToken bool, matchesRemainder bool) {
+	regPart := routeToken[colon+1 : len(routeToken)-1]
+	if regPart == "*" {
+		if trace {
+			traceLogger.Printf("wildcard parameter detected in route token %s that matches %s\n", routeToken, requestToken)
+		}
+		return true, true
+	}
+	matched, err := regexp.MatchString(regPart, requestToken)
+	return (matched && err == nil), false
+}
+
+var jsr311Router = RouterJSR311{}
+
+// detectRoute selectes from a list of Route the first match by inspecting both the Accept and Content-Type
+// headers of the Request. See also RouterJSR311 in jsr311.go
+func (c CurlyRouter) detectRoute(candidateRoutes sortableCurlyRoutes, httpRequest *http.Request) (*Route, error) {
+	// tracing is done inside detectRoute
+	return jsr311Router.detectRoute(candidateRoutes.routes(), httpRequest)
+}
+
+// detectWebService returns the best matching webService given the list of path tokens.
+// see also computeWebserviceScore
+func (c CurlyRouter) detectWebService(requestTokens []string, webServices []*WebService) *WebService {
+	var best *WebService
+	score := -1
+	for _, each := range webServices {
+		matches, eachScore := c.computeWebserviceScore(requestTokens, each.pathExpr.tokens)
+		if matches && (eachScore > score) {
+			best = each
+			score = eachScore
+		}
+	}
+	return best
+}
+
+// computeWebserviceScore returns whether tokens match and
+// the weighted score of the longest matching consecutive tokens from the beginning.
+func (c CurlyRouter) computeWebserviceScore(requestTokens []string, tokens []string) (bool, int) {
+	if len(tokens) > len(requestTokens) {
+		return false, 0
+	}
+	score := 0
+	for i := 0; i < len(tokens); i++ {
+		each := requestTokens[i]
+		other := tokens[i]
+		if len(each) == 0 && len(other) == 0 {
+			score++
+			continue
+		}
+		if len(other) > 0 && strings.HasPrefix(other, "{") {
+			// no empty match
+			if len(each) == 0 {
+				return false, score
+			}
+			score += 1
+		} else {
+			// not a parameter
+			if each != other {
+				return false, score
+			}
+			score += (len(tokens) - i) * 10 //fuzzy
+		}
+	}
+	return true, score
+}
diff --git a/vendor/github.com/emicklei/go-restful/curly_route.go b/vendor/github.com/emicklei/go-restful/curly_route.go
new file mode 100644
index 0000000..296f946
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/curly_route.go
@@ -0,0 +1,52 @@
+package restful
+
+// Copyright 2013 Ernest Micklei. All rights reserved.
+// Use of this source code is governed by a license
+// that can be found in the LICENSE file.
+
+// curlyRoute exits for sorting Routes by the CurlyRouter based on number of parameters and number of static path elements.
+type curlyRoute struct {
+	route       Route
+	paramCount  int
+	staticCount int
+}
+
+type sortableCurlyRoutes []curlyRoute
+
+func (s *sortableCurlyRoutes) add(route curlyRoute) {
+	*s = append(*s, route)
+}
+
+func (s sortableCurlyRoutes) routes() (routes []Route) {
+	for _, each := range s {
+		routes = append(routes, each.route) // TODO change return type
+	}
+	return routes
+}
+
+func (s sortableCurlyRoutes) Len() int {
+	return len(s)
+}
+func (s sortableCurlyRoutes) Swap(i, j int) {
+	s[i], s[j] = s[j], s[i]
+}
+func (s sortableCurlyRoutes) Less(i, j int) bool {
+	ci := s[i]
+	cj := s[j]
+
+	// primary key
+	if ci.staticCount < cj.staticCount {
+		return true
+	}
+	if ci.staticCount > cj.staticCount {
+		return false
+	}
+	// secundary key
+	if ci.paramCount < cj.paramCount {
+		return true
+	}
+	if ci.paramCount > cj.paramCount {
+		return false
+	}
+	return ci.route.Path < cj.route.Path
+}
diff --git a/vendor/github.com/emicklei/go-restful/doc.go b/vendor/github.com/emicklei/go-restful/doc.go
new file mode 100644
index 0000000..f7c16b0
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/doc.go
@@ -0,0 +1,185 @@
+/*
+Package restful , a lean package for creating REST-style WebServices without magic.
+
+WebServices and Routes
+
+A WebService has a collection of Route objects that dispatch incoming Http Requests to a function calls.
+Typically, a WebService has a root path (e.g. /users) and defines common MIME types for its routes.
+WebServices must be added to a container (see below) in order to handler Http requests from a server.
+
+A Route is defined by a HTTP method, an URL path and (optionally) the MIME types it consumes (Content-Type) and produces (Accept).
+This package has the logic to find the best matching Route and if found, call its Function.
+
+	ws := new(restful.WebService)
+	ws.
+		Path("/users").
+		Consumes(restful.MIME_JSON, restful.MIME_XML).
+		Produces(restful.MIME_JSON, restful.MIME_XML)
+
+	ws.Route(ws.GET("/{user-id}").To(u.findUser))  // u is a UserResource
+
+	...
+
+	// GET http://localhost:8080/users/1
+	func (u UserResource) findUser(request *restful.Request, response *restful.Response) {
+		id := request.PathParameter("user-id")
+		...
+	}
+
+The (*Request, *Response) arguments provide functions for reading information from the request and writing information back to the response.
+
+See the example https://github.com/emicklei/go-restful/blob/master/examples/restful-user-resource.go with a full implementation.
+
+Regular expression matching Routes
+
+A Route parameter can be specified using the format "uri/{var[:regexp]}" or the special version "uri/{var:*}" for matching the tail of the path.
+For example, /persons/{name:[A-Z][A-Z]} can be used to restrict values for the parameter "name" to only contain capital alphabetic characters.
+Regular expressions must use the standard Go syntax as described in the regexp package. (https://code.google.com/p/re2/wiki/Syntax)
+This feature requires the use of a CurlyRouter.
+
+Containers
+
+A Container holds a collection of WebServices, Filters and a http.ServeMux for multiplexing http requests.
+Using the statements "restful.Add(...) and restful.Filter(...)" will register WebServices and Filters to the Default Container.
+The Default container of go-restful uses the http.DefaultServeMux.
+You can create your own Container and create a new http.Server for that particular container.
+
+	container := restful.NewContainer()
+	server := &http.Server{Addr: ":8081", Handler: container}
+
+Filters
+
+A filter dynamically intercepts requests and responses to transform or use the information contained in the requests or responses.
+You can use filters to perform generic logging, measurement, authentication, redirect, set response headers etc.
+In the restful package there are three hooks into the request,response flow where filters can be added.
+Each filter must define a FilterFunction:
+
+	func (req *restful.Request, resp *restful.Response, chain *restful.FilterChain)
+
+Use the following statement to pass the request,response pair to the next filter or RouteFunction
+
+	chain.ProcessFilter(req, resp)
+
+Container Filters
+
+These are processed before any registered WebService.
+
+	// install a (global) filter for the default container (processed before any webservice)
+	restful.Filter(globalLogging)
+
+WebService Filters
+
+These are processed before any Route of a WebService.
+
+	// install a webservice filter (processed before any route)
+	ws.Filter(webserviceLogging).Filter(measureTime)
+
+
+Route Filters
+
+These are processed before calling the function associated with the Route.
+
+	// install 2 chained route filters (processed before calling findUser)
+	ws.Route(ws.GET("/{user-id}").Filter(routeLogging).Filter(NewCountFilter().routeCounter).To(findUser))
+
+See the example https://github.com/emicklei/go-restful/blob/master/examples/restful-filters.go with full implementations.
+
+Response Encoding
+
+Two encodings are supported: gzip and deflate. To enable this for all responses:
+
+	restful.DefaultContainer.EnableContentEncoding(true)
+
+If a Http request includes the Accept-Encoding header then the response content will be compressed using the specified encoding.
+Alternatively, you can create a Filter that performs the encoding and install it per WebService or Route.
+
+See the example https://github.com/emicklei/go-restful/blob/master/examples/restful-encoding-filter.go
+
+OPTIONS support
+
+By installing a pre-defined container filter, your Webservice(s) can respond to the OPTIONS Http request.
+
+	Filter(OPTIONSFilter())
+
+CORS
+
+By installing the filter of a CrossOriginResourceSharing (CORS), your WebService(s) can handle CORS requests.
+
+	cors := CrossOriginResourceSharing{ExposeHeaders: []string{"X-My-Header"}, CookiesAllowed: false, Container: DefaultContainer}
+	Filter(cors.Filter)
+
+Error Handling
+
+Unexpected things happen. If a request cannot be processed because of a failure, your service needs to tell via the response what happened and why.
+For this reason HTTP status codes exist and it is important to use the correct code in every exceptional situation.
+
+	400: Bad Request
+
+If path or query parameters are not valid (content or type) then use http.StatusBadRequest.
+
+	404: Not Found
+
+Despite a valid URI, the resource requested may not be available
+
+	500: Internal Server Error
+
+If the application logic could not process the request (or write the response) then use http.StatusInternalServerError.
+
+	405: Method Not Allowed
+
+The request has a valid URL but the method (GET,PUT,POST,...) is not allowed.
+
+	406: Not Acceptable
+
+The request does not have or has an unknown Accept Header set for this operation.
+
+	415: Unsupported Media Type
+
+The request does not have or has an unknown Content-Type Header set for this operation.
+
+ServiceError
+
+In addition to setting the correct (error) Http status code, you can choose to write a ServiceError message on the response.
+
+Performance options
+
+This package has several options that affect the performance of your service. It is important to understand them and how you can change it.
+
+	restful.DefaultContainer.DoNotRecover(false)
+
+DoNotRecover controls whether panics will be caught to return HTTP 500.
+If set to false, the container will recover from panics.
+Default value is true
+
+	restful.SetCompressorProvider(NewBoundedCachedCompressors(20, 20))
+
+If content encoding is enabled then the default strategy for getting new gzip/zlib writers and readers is to use a sync.Pool.
+Because writers are expensive structures, performance is even more improved when using a preloaded cache. You can also inject your own implementation.
+
+Trouble shooting
+
+This package has the means to produce detail logging of the complete Http request matching process and filter invocation.
+Enabling this feature requires you to set an implementation of restful.StdLogger (e.g. log.Logger) instance such as:
+
+	restful.TraceLogger(log.New(os.Stdout, "[restful] ", log.LstdFlags|log.Lshortfile))
+
+Logging
+
+The restful.SetLogger() method allows you to override the logger used by the package. By default restful
+uses the standard library `log` package and logs to stdout. Different logging packages are supported as
+long as they conform to `StdLogger` interface defined in the `log` sub-package, writing an adapter for your
+preferred package is simple.
+
+Resources
+
+[project]: https://github.com/emicklei/go-restful
+
+[examples]: https://github.com/emicklei/go-restful/blob/master/examples
+
+[design]:  http://ernestmicklei.com/2012/11/11/go-restful-api-design/
+
+[showcases]: https://github.com/emicklei/mora, https://github.com/emicklei/landskape
+
+(c) 2012-2015, http://ernestmicklei.com. MIT License
+*/
+package restful
diff --git a/vendor/github.com/emicklei/go-restful/entity_accessors.go b/vendor/github.com/emicklei/go-restful/entity_accessors.go
new file mode 100644
index 0000000..66dfc82
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/entity_accessors.go
@@ -0,0 +1,162 @@
+package restful
+
+// Copyright 2015 Ernest Micklei. All rights reserved.
+// Use of this source code is governed by a license
+// that can be found in the LICENSE file.
+
+import (
+	"encoding/xml"
+	"strings"
+	"sync"
+)
+
+// EntityReaderWriter can read and write values using an encoding such as JSON,XML.
+type EntityReaderWriter interface {
+	// Read a serialized version of the value from the request.
+	// The Request may have a decompressing reader. Depends on Content-Encoding.
+	Read(req *Request, v interface{}) error
+
+	// Write a serialized version of the value on the response.
+	// The Response may have a compressing writer. Depends on Accept-Encoding.
+	// status should be a valid Http Status code
+	Write(resp *Response, status int, v interface{}) error
+}
+
+// entityAccessRegistry is a singleton
+var entityAccessRegistry = &entityReaderWriters{
+	protection: new(sync.RWMutex),
+	accessors:  map[string]EntityReaderWriter{},
+}
+
+// entityReaderWriters associates MIME to an EntityReaderWriter
+type entityReaderWriters struct {
+	protection *sync.RWMutex
+	accessors  map[string]EntityReaderWriter
+}
+
+func init() {
+	RegisterEntityAccessor(MIME_JSON, NewEntityAccessorJSON(MIME_JSON))
+	RegisterEntityAccessor(MIME_XML, NewEntityAccessorXML(MIME_XML))
+}
+
+// RegisterEntityAccessor add/overrides the ReaderWriter for encoding content with this MIME type.
+func RegisterEntityAccessor(mime string, erw EntityReaderWriter) {
+	entityAccessRegistry.protection.Lock()
+	defer entityAccessRegistry.protection.Unlock()
+	entityAccessRegistry.accessors[mime] = erw
+}
+
+// NewEntityAccessorJSON returns a new EntityReaderWriter for accessing JSON content.
+// This package is already initialized with such an accessor using the MIME_JSON contentType.
+func NewEntityAccessorJSON(contentType string) EntityReaderWriter {
+	return entityJSONAccess{ContentType: contentType}
+}
+
+// NewEntityAccessorXML returns a new EntityReaderWriter for accessing XML content.
+// This package is already initialized with such an accessor using the MIME_XML contentType.
+func NewEntityAccessorXML(contentType string) EntityReaderWriter {
+	return entityXMLAccess{ContentType: contentType}
+}
+
+// accessorAt returns the registered ReaderWriter for this MIME type.
+func (r *entityReaderWriters) accessorAt(mime string) (EntityReaderWriter, bool) {
+	r.protection.RLock()
+	defer r.protection.RUnlock()
+	er, ok := r.accessors[mime]
+	if !ok {
+		// retry with reverse lookup
+		// more expensive but we are in an exceptional situation anyway
+		for k, v := range r.accessors {
+			if strings.Contains(mime, k) {
+				return v, true
+			}
+		}
+	}
+	return er, ok
+}
+
+// entityXMLAccess is a EntityReaderWriter for XML encoding
+type entityXMLAccess struct {
+	// This is used for setting the Content-Type header when writing
+	ContentType string
+}
+
+// Read unmarshalls the value from XML
+func (e entityXMLAccess) Read(req *Request, v interface{}) error {
+	return xml.NewDecoder(req.Request.Body).Decode(v)
+}
+
+// Write marshalls the value to JSON and set the Content-Type Header.
+func (e entityXMLAccess) Write(resp *Response, status int, v interface{}) error {
+	return writeXML(resp, status, e.ContentType, v)
+}
+
+// writeXML marshalls the value to JSON and set the Content-Type Header.
+func writeXML(resp *Response, status int, contentType string, v interface{}) error {
+	if v == nil {
+		resp.WriteHeader(status)
+		// do not write a nil representation
+		return nil
+	}
+	if resp.prettyPrint {
+		// pretty output must be created and written explicitly
+		output, err := xml.MarshalIndent(v, " ", " ")
+		if err != nil {
+			return err
+		}
+		resp.Header().Set(HEADER_ContentType, contentType)
+		resp.WriteHeader(status)
+		_, err = resp.Write([]byte(xml.Header))
+		if err != nil {
+			return err
+		}
+		_, err = resp.Write(output)
+		return err
+	}
+	// not-so-pretty
+	resp.Header().Set(HEADER_ContentType, contentType)
+	resp.WriteHeader(status)
+	return xml.NewEncoder(resp).Encode(v)
+}
+
+// entityJSONAccess is a EntityReaderWriter for JSON encoding
+type entityJSONAccess struct {
+	// This is used for setting the Content-Type header when writing
+	ContentType string
+}
+
+// Read unmarshalls the value from JSON
+func (e entityJSONAccess) Read(req *Request, v interface{}) error {
+	decoder := NewDecoder(req.Request.Body)
+	decoder.UseNumber()
+	return decoder.Decode(v)
+}
+
+// Write marshalls the value to JSON and set the Content-Type Header.
+func (e entityJSONAccess) Write(resp *Response, status int, v interface{}) error {
+	return writeJSON(resp, status, e.ContentType, v)
+}
+
+// write marshalls the value to JSON and set the Content-Type Header.
+func writeJSON(resp *Response, status int, contentType string, v interface{}) error {
+	if v == nil {
+		resp.WriteHeader(status)
+		// do not write a nil representation
+		return nil
+	}
+	if resp.prettyPrint {
+		// pretty output must be created and written explicitly
+		output, err := MarshalIndent(v, "", " ")
+		if err != nil {
+			return err
+		}
+		resp.Header().Set(HEADER_ContentType, contentType)
+		resp.WriteHeader(status)
+		_, err = resp.Write(output)
+		return err
+	}
+	// not-so-pretty
+	resp.Header().Set(HEADER_ContentType, contentType)
+	resp.WriteHeader(status)
+	return NewEncoder(resp).Encode(v)
+}
diff --git a/vendor/github.com/emicklei/go-restful/filter.go b/vendor/github.com/emicklei/go-restful/filter.go
new file mode 100644
index 0000000..c23bfb5
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/filter.go
@@ -0,0 +1,35 @@
+package restful
+
+// Copyright 2013 Ernest Micklei. All rights reserved.
+// Use of this source code is governed by a license
+// that can be found in the LICENSE file.
+
+// FilterChain is a request scoped object to process one or more filters before calling the target RouteFunction.
+type FilterChain struct {
+	Filters []FilterFunction // ordered list of FilterFunction
+	Index   int              // index into filters that is currently in progress
+	Target  RouteFunction    // function to call after passing all filters
+}
+
+// ProcessFilter passes the request,response pair through the next of Filters.
+// Each filter can decide to proceed to the next Filter or handle the Response itself.
+func (f *FilterChain) ProcessFilter(request *Request, response *Response) {
+	if f.Index < len(f.Filters) {
+		f.Index++
+		f.Filters[f.Index-1](request, response, f)
+	} else {
+		f.Target(request, response)
+	}
+}
+
+// FilterFunction definitions must call ProcessFilter on the FilterChain to pass on the control and eventually call the RouteFunction
+type FilterFunction func(*Request, *Response, *FilterChain)
+
+// NoBrowserCacheFilter is a filter function to set HTTP headers that disable browser caching
+// See examples/restful-no-cache-filter.go for usage
+func NoBrowserCacheFilter(req *Request, resp *Response, chain *FilterChain) {
+	resp.Header().Set("Cache-Control", "no-cache, no-store, must-revalidate") // HTTP 1.1.
+	resp.Header().Set("Pragma", "no-cache")                                   // HTTP 1.0.
+	resp.Header().Set("Expires", "0")                                         // Proxies.
+	chain.ProcessFilter(req, resp)
+}
diff --git a/vendor/github.com/emicklei/go-restful/json.go b/vendor/github.com/emicklei/go-restful/json.go
new file mode 100644
index 0000000..8711651
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/json.go
@@ -0,0 +1,11 @@
+// +build !jsoniter
+
+package restful
+
+import "encoding/json"
+
+var (
+	MarshalIndent = json.MarshalIndent
+	NewDecoder    = json.NewDecoder
+	NewEncoder    = json.NewEncoder
+)
diff --git a/vendor/github.com/emicklei/go-restful/jsoniter.go b/vendor/github.com/emicklei/go-restful/jsoniter.go
new file mode 100644
index 0000000..11b8f8a
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/jsoniter.go
@@ -0,0 +1,12 @@
+// +build jsoniter
+
+package restful
+
+import "github.com/json-iterator/go"
+
+var (
+	json          = jsoniter.ConfigCompatibleWithStandardLibrary
+	MarshalIndent = json.MarshalIndent
+	NewDecoder    = json.NewDecoder
+	NewEncoder    = json.NewEncoder
+)
diff --git a/vendor/github.com/emicklei/go-restful/jsr311.go b/vendor/github.com/emicklei/go-restful/jsr311.go
new file mode 100644
index 0000000..4360b49
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/jsr311.go
@@ -0,0 +1,293 @@
+package restful
+
+// Copyright 2013 Ernest Micklei. All rights reserved.
+// Use of this source code is governed by a license
+// that can be found in the LICENSE file.
+
+import (
+	"errors"
+	"fmt"
+	"net/http"
+	"sort"
+)
+
+// RouterJSR311 implements the flow for matching Requests to Routes (and consequently Resource Functions)
+// as specified by the JSR311 http://jsr311.java.net/nonav/releases/1.1/spec/spec.html.
+// RouterJSR311 implements the Router interface.
+// Concept of locators is not implemented.
+type RouterJSR311 struct{}
+
+// SelectRoute is part of the Router interface and returns the best match
+// for the WebService and its Route for the given Request.
+func (r RouterJSR311) SelectRoute(
+	webServices []*WebService,
+	httpRequest *http.Request) (selectedService *WebService, selectedRoute *Route, err error) {
+
+	// Identify the root resource class (WebService)
+	dispatcher, finalMatch, err := r.detectDispatcher(httpRequest.URL.Path, webServices)
+	if err != nil {
+		return nil, nil, NewError(http.StatusNotFound, "")
+	}
+	// Obtain the set of candidate methods (Routes)
+	routes := r.selectRoutes(dispatcher, finalMatch)
+	if len(routes) == 0 {
+		return dispatcher, nil, NewError(http.StatusNotFound, "404: Page Not Found")
+	}
+
+	// Identify the method (Route) that will handle the request
+	route, ok := r.detectRoute(routes, httpRequest)
+	return dispatcher, route, ok
+}
+
+// ExtractParameters is used to obtain the path parameters from the route using the same matching
+// engine as the JSR 311 router.
+func (r RouterJSR311) ExtractParameters(route *Route, webService *WebService, urlPath string) map[string]string {
+	webServiceExpr := webService.pathExpr
+	webServiceMatches := webServiceExpr.Matcher.FindStringSubmatch(urlPath)
+	pathParameters := r.extractParams(webServiceExpr, webServiceMatches)
+	routeExpr := route.pathExpr
+	routeMatches := routeExpr.Matcher.FindStringSubmatch(webServiceMatches[len(webServiceMatches)-1])
+	routeParams := r.extractParams(routeExpr, routeMatches)
+	for key, value := range routeParams {
+		pathParameters[key] = value
+	}
+	return pathParameters
+}
+
+func (RouterJSR311) extractParams(pathExpr *pathExpression, matches []string) map[string]string {
+	params := map[string]string{}
+	for i := 1; i < len(matches); i++ {
+		if len(pathExpr.VarNames) >= i {
+			params[pathExpr.VarNames[i-1]] = matches[i]
+		}
+	}
+	return params
+}
+
+// http://jsr311.java.net/nonav/releases/1.1/spec/spec3.html#x3-360003.7.2
+func (r RouterJSR311) detectRoute(routes []Route, httpRequest *http.Request) (*Route, error) {
+	ifOk := []Route{}
+	for _, each := range routes {
+		ok := true
+		for _, fn := range each.If {
+			if !fn(httpRequest) {
+				ok = false
+				break
+			}
+		}
+		if ok {
+			ifOk = append(ifOk, each)
+		}
+	}
+	if len(ifOk) == 0 {
+		if trace {
+			traceLogger.Printf("no Route found (from %d) that passes conditional checks", len(routes))
+		}
+		return nil, NewError(http.StatusNotFound, "404: Not Found")
+	}
+
+	// http method
+	methodOk := []Route{}
+	for _, each := range ifOk {
+		if httpRequest.Method == each.Method {
+			methodOk = append(methodOk, each)
+		}
+	}
+	if len(methodOk) == 0 {
+		if trace {
+			traceLogger.Printf("no Route found (in %d routes) that matches HTTP method %s\n", len(routes), httpRequest.Method)
+		}
+		return nil, NewError(http.StatusMethodNotAllowed, "405: Method Not Allowed")
+	}
+	inputMediaOk := methodOk
+
+	// content-type
+	contentType := httpRequest.Header.Get(HEADER_ContentType)
+	inputMediaOk = []Route{}
+	for _, each := range methodOk {
+		if each.matchesContentType(contentType) {
+			inputMediaOk = append(inputMediaOk, each)
+		}
+	}
+	if len(inputMediaOk) == 0 {
+		if trace {
+			traceLogger.Printf("no Route found (from %d) that matches HTTP Content-Type: %s\n", len(methodOk), contentType)
+		}
+		return nil, NewError(http.StatusUnsupportedMediaType, "415: Unsupported Media Type")
+	}
+
+	// accept
+	outputMediaOk := []Route{}
+	accept := httpRequest.Header.Get(HEADER_Accept)
+	if len(accept) == 0 {
+		accept = "*/*"
+	}
+	for _, each := range inputMediaOk {
+		if each.matchesAccept(accept) {
+			outputMediaOk = append(outputMediaOk, each)
+		}
+	}
+	if len(outputMediaOk) == 0 {
+		if trace {
+			traceLogger.Printf("no Route found (from %d) that matches HTTP Accept: %s\n", len(inputMediaOk), accept)
+		}
+		return nil, NewError(http.StatusNotAcceptable, "406: Not Acceptable")
+	}
+	// return r.bestMatchByMedia(outputMediaOk, contentType, accept), nil
+	return &outputMediaOk[0], nil
+}
+
+// http://jsr311.java.net/nonav/releases/1.1/spec/spec3.html#x3-360003.7.2
+// n/m > n/* > */*
+func (r RouterJSR311) bestMatchByMedia(routes []Route, contentType string, accept string) *Route {
+	// TODO
+	return &routes[0]
+}
+
+// http://jsr311.java.net/nonav/releases/1.1/spec/spec3.html#x3-360003.7.2  (step 2)
+func (r RouterJSR311) selectRoutes(dispatcher *WebService, pathRemainder string) []Route {
+	filtered := &sortableRouteCandidates{}
+	for _, each := range dispatcher.Routes() {
+		pathExpr := each.pathExpr
+		matches := pathExpr.Matcher.FindStringSubmatch(pathRemainder)
+		if matches != nil {
+			lastMatch := matches[len(matches)-1]
+			if len(lastMatch) == 0 || lastMatch == "/" { // do not include if value is neither empty nor ‘/’.
+				filtered.candidates = append(filtered.candidates,
+					routeCandidate{each, len(matches) - 1, pathExpr.LiteralCount, pathExpr.VarCount})
+			}
+		}
+	}
+	if len(filtered.candidates) == 0 {
+		if trace {
+			traceLogger.Printf("WebService on path %s has no routes that match URL path remainder:%s\n", dispatcher.rootPath, pathRemainder)
+		}
+		return []Route{}
+	}
+	sort.Sort(sort.Reverse(filtered))
+
+	// select other routes from candidates whoes expression matches rmatch
+	matchingRoutes := []Route{filtered.candidates[0].route}
+	for c := 1; c < len(filtered.candidates); c++ {
+		each := filtered.candidates[c]
+		if each.route.pathExpr.Matcher.MatchString(pathRemainder) {
+			matchingRoutes = append(matchingRoutes, each.route)
+		}
+	}
+	return matchingRoutes
+}
+
+// http://jsr311.java.net/nonav/releases/1.1/spec/spec3.html#x3-360003.7.2 (step 1)
+func (r RouterJSR311) detectDispatcher(requestPath string, dispatchers []*WebService) (*WebService, string, error) {
+	filtered := &sortableDispatcherCandidates{}
+	for _, each := range dispatchers {
+		matches := each.pathExpr.Matcher.FindStringSubmatch(requestPath)
+		if matches != nil {
+			filtered.candidates = append(filtered.candidates,
+				dispatcherCandidate{each, matches[len(matches)-1], len(matches), each.pathExpr.LiteralCount, each.pathExpr.VarCount})
+		}
+	}
+	if len(filtered.candidates) == 0 {
+		if trace {
+			traceLogger.Printf("no WebService was found to match URL path:%s\n", requestPath)
+		}
+		return nil, "", errors.New("not found")
+	}
+	sort.Sort(sort.Reverse(filtered))
+	return filtered.candidates[0].dispatcher, filtered.candidates[0].finalMatch, nil
+}
+
+// Types and functions to support the sorting of Routes
+
+type routeCandidate struct {
+	route           Route
+	matchesCount    int // the number of capturing groups
+	literalCount    int // the number of literal characters (means those not resulting from template variable substitution)
+	nonDefaultCount int // the number of capturing groups with non-default regular expressions (i.e. not ‘([^  /]+?)’)
+}
+
+func (r routeCandidate) expressionToMatch() string {
+	return r.route.pathExpr.Source
+}
+
+func (r routeCandidate) String() string {
+	return fmt.Sprintf("(m=%d,l=%d,n=%d)", r.matchesCount, r.literalCount, r.nonDefaultCount)
+}
+
+type sortableRouteCandidates struct {
+	candidates []routeCandidate
+}
+
+func (rcs *sortableRouteCandidates) Len() int {
+	return len(rcs.candidates)
+}
+func (rcs *sortableRouteCandidates) Swap(i, j int) {
+	rcs.candidates[i], rcs.candidates[j] = rcs.candidates[j], rcs.candidates[i]
+}
+func (rcs *sortableRouteCandidates) Less(i, j int) bool {
+	ci := rcs.candidates[i]
+	cj := rcs.candidates[j]
+	// primary key
+	if ci.literalCount < cj.literalCount {
+		return true
+	}
+	if ci.literalCount > cj.literalCount {
+		return false
+	}
+	// secundary key
+	if ci.matchesCount < cj.matchesCount {
+		return true
+	}
+	if ci.matchesCount > cj.matchesCount {
+		return false
+	}
+	// tertiary key
+	if ci.nonDefaultCount < cj.nonDefaultCount {
+		return true
+	}
+	if ci.nonDefaultCount > cj.nonDefaultCount {
+		return false
+	}
+	// quaternary key ("source" is interpreted as Path)
+	return ci.route.Path < cj.route.Path
+}
+
+// Types and functions to support the sorting of Dispatchers
+
+type dispatcherCandidate struct {
+	dispatcher      *WebService
+	finalMatch      string
+	matchesCount    int // the number of capturing groups
+	literalCount    int // the number of literal characters (means those not resulting from template variable substitution)
+	nonDefaultCount int // the number of capturing groups with non-default regular expressions (i.e. not ‘([^  /]+?)’)
+}
+type sortableDispatcherCandidates struct {
+	candidates []dispatcherCandidate
+}
+
+func (dc *sortableDispatcherCandidates) Len() int {
+	return len(dc.candidates)
+}
+func (dc *sortableDispatcherCandidates) Swap(i, j int) {
+	dc.candidates[i], dc.candidates[j] = dc.candidates[j], dc.candidates[i]
+}
+func (dc *sortableDispatcherCandidates) Less(i, j int) bool {
+	ci := dc.candidates[i]
+	cj := dc.candidates[j]
+	// primary key
+	if ci.matchesCount < cj.matchesCount {
+		return true
+	}
+	if ci.matchesCount > cj.matchesCount {
+		return false
+	}
+	// secundary key
+	if ci.literalCount < cj.literalCount {
+		return true
+	}
+	if ci.literalCount > cj.literalCount {
+		return false
+	}
+	// tertiary key
+	return ci.nonDefaultCount < cj.nonDefaultCount
+}
diff --git a/vendor/github.com/emicklei/go-restful/log/log.go b/vendor/github.com/emicklei/go-restful/log/log.go
new file mode 100644
index 0000000..6cd44c7
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/log/log.go
@@ -0,0 +1,34 @@
+package log
+
+import (
+	stdlog "log"
+	"os"
+)
+
+// StdLogger corresponds to a minimal subset of the interface satisfied by stdlib log.Logger
+type StdLogger interface {
+	Print(v ...interface{})
+	Printf(format string, v ...interface{})
+}
+
+var Logger StdLogger
+
+func init() {
+	// default Logger
+	SetLogger(stdlog.New(os.Stderr, "[restful] ", stdlog.LstdFlags|stdlog.Lshortfile))
+}
+
+// SetLogger sets the logger for this package
+func SetLogger(customLogger StdLogger) {
+	Logger = customLogger
+}
+
+// Print delegates to the Logger
+func Print(v ...interface{}) {
+	Logger.Print(v...)
+}
+
+// Printf delegates to the Logger
+func Printf(format string, v ...interface{}) {
+	Logger.Printf(format, v...)
+}
diff --git a/vendor/github.com/emicklei/go-restful/logger.go b/vendor/github.com/emicklei/go-restful/logger.go
new file mode 100644
index 0000000..6595df0
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/logger.go
@@ -0,0 +1,32 @@
+package restful
+
+// Copyright 2014 Ernest Micklei. All rights reserved.
+// Use of this source code is governed by a license
+// that can be found in the LICENSE file.
+import (
+	"github.com/emicklei/go-restful/log"
+)
+
+var trace bool = false
+var traceLogger log.StdLogger
+
+func init() {
+	traceLogger = log.Logger // use the package logger by default
+}
+
+// TraceLogger enables detailed logging of Http request matching and filter invocation. Default no logger is set.
+// You may call EnableTracing() directly to enable trace logging to the package-wide logger.
+func TraceLogger(logger log.StdLogger) {
+	traceLogger = logger
+	EnableTracing(logger != nil)
+}
+
+// SetLogger exposes the setter for the global logger on the top-level package
+func SetLogger(customLogger log.StdLogger) {
+	log.SetLogger(customLogger)
+}
+
+// EnableTracing can be used to Trace logging on and off.
+func EnableTracing(enabled bool) {
+	trace = enabled
+}
diff --git a/vendor/github.com/emicklei/go-restful/mime.go b/vendor/github.com/emicklei/go-restful/mime.go
new file mode 100644
index 0000000..d7ea2b6
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/mime.go
@@ -0,0 +1,45 @@
+package restful
+
+import (
+	"strconv"
+	"strings"
+)
+
+type mime struct {
+	media   string
+	quality float64
+}
+
+// insertMime adds a mime to a list and keeps it sorted by quality.
+func insertMime(l []mime, e mime) []mime {
+	for i, each := range l {
+		// if current mime has lower quality then insert before
+		if e.quality > each.quality {
+			left := append([]mime{}, l[0:i]...)
+			return append(append(left, e), l[i:]...)
+		}
+	}
+	return append(l, e)
+}
+
+// sortedMimes returns a list of mime sorted (desc) by its specified quality.
+func sortedMimes(accept string) (sorted []mime) {
+	for _, each := range strings.Split(accept, ",") {
+		typeAndQuality := strings.Split(strings.Trim(each, " "), ";")
+		if len(typeAndQuality) == 1 {
+			sorted = insertMime(sorted, mime{typeAndQuality[0], 1.0})
+		} else {
+			// take factor
+			parts := strings.Split(typeAndQuality[1], "=")
+			if len(parts) == 2 {
+				f, err := strconv.ParseFloat(parts[1], 64)
+				if err != nil {
+					traceLogger.Printf("unable to parse quality in %s, %v", each, err)
+				} else {
+					sorted = insertMime(sorted, mime{typeAndQuality[0], f})
+				}
+			}
+		}
+	}
+	return
+}
diff --git a/vendor/github.com/emicklei/go-restful/options_filter.go b/vendor/github.com/emicklei/go-restful/options_filter.go
new file mode 100644
index 0000000..5c1b342
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/options_filter.go
@@ -0,0 +1,34 @@
+package restful
+
+import "strings"
+
+// Copyright 2013 Ernest Micklei. All rights reserved.
+// Use of this source code is governed by a license
+// that can be found in the LICENSE file.
+
+// OPTIONSFilter is a filter function that inspects the Http Request for the OPTIONS method
+// and provides the response with a set of allowed methods for the request URL Path.
+// As for any filter, you can also install it for a particular WebService within a Container.
+// Note: this filter is not needed when using CrossOriginResourceSharing (for CORS).
+func (c *Container) OPTIONSFilter(req *Request, resp *Response, chain *FilterChain) {
+	if "OPTIONS" != req.Request.Method {
+		chain.ProcessFilter(req, resp)
+		return
+	}
+
+	archs := req.Request.Header.Get(HEADER_AccessControlRequestHeaders)
+	methods := strings.Join(c.computeAllowedMethods(req), ",")
+	origin := req.Request.Header.Get(HEADER_Origin)
+
+	resp.AddHeader(HEADER_Allow, methods)
+	resp.AddHeader(HEADER_AccessControlAllowOrigin, origin)
+	resp.AddHeader(HEADER_AccessControlAllowHeaders, archs)
+	resp.AddHeader(HEADER_AccessControlAllowMethods, methods)
+}
+
+// OPTIONSFilter is a filter function that inspects the Http Request for the OPTIONS method
+// and provides the response with a set of allowed methods for the request URL Path.
+// Note: this filter is not needed when using CrossOriginResourceSharing (for CORS).
+func OPTIONSFilter() FilterFunction {
+	return DefaultContainer.OPTIONSFilter
+}
diff --git a/vendor/github.com/emicklei/go-restful/parameter.go b/vendor/github.com/emicklei/go-restful/parameter.go
new file mode 100644
index 0000000..e879330
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/parameter.go
@@ -0,0 +1,143 @@
+package restful
+
+// Copyright 2013 Ernest Micklei. All rights reserved.
+// Use of this source code is governed by a license
+// that can be found in the LICENSE file.
+
+const (
+	// PathParameterKind = indicator of Request parameter type "path"
+	PathParameterKind = iota
+
+	// QueryParameterKind = indicator of Request parameter type "query"
+	QueryParameterKind
+
+	// BodyParameterKind = indicator of Request parameter type "body"
+	BodyParameterKind
+
+	// HeaderParameterKind = indicator of Request parameter type "header"
+	HeaderParameterKind
+
+	// FormParameterKind = indicator of Request parameter type "form"
+	FormParameterKind
+
+	// CollectionFormatCSV comma separated values `foo,bar`
+	CollectionFormatCSV = CollectionFormat("csv")
+
+	// CollectionFormatSSV space separated values `foo bar`
+	CollectionFormatSSV = CollectionFormat("ssv")
+
+	// CollectionFormatTSV tab separated values `foo\tbar`
+	CollectionFormatTSV = CollectionFormat("tsv")
+
+	// CollectionFormatPipes pipe separated values `foo|bar`
+	CollectionFormatPipes = CollectionFormat("pipes")
+
+	// CollectionFormatMulti corresponds to multiple parameter instances instead of multiple values for a single
+	// instance `foo=bar&foo=baz`. This is valid only for QueryParameters and FormParameters
+	CollectionFormatMulti = CollectionFormat("multi")
+)
+
+type CollectionFormat string
+
+func (cf CollectionFormat) String() string {
+	return string(cf)
+}
+
+// Parameter is for documententing the parameter used in a Http Request
+// ParameterData kinds are Path,Query and Body
+type Parameter struct {
+	data *ParameterData
+}
+
+// ParameterData represents the state of a Parameter.
+// It is made public to make it accessible to e.g. the Swagger package.
+type ParameterData struct {
+	Name, Description, DataType, DataFormat string
+	Kind                                    int
+	Required                                bool
+	AllowableValues                         map[string]string
+	AllowMultiple                           bool
+	DefaultValue                            string
+	CollectionFormat                        string
+}
+
+// Data returns the state of the Parameter
+func (p *Parameter) Data() ParameterData {
+	return *p.data
+}
+
+// Kind returns the parameter type indicator (see const for valid values)
+func (p *Parameter) Kind() int {
+	return p.data.Kind
+}
+
+func (p *Parameter) bePath() *Parameter {
+	p.data.Kind = PathParameterKind
+	return p
+}
+func (p *Parameter) beQuery() *Parameter {
+	p.data.Kind = QueryParameterKind
+	return p
+}
+func (p *Parameter) beBody() *Parameter {
+	p.data.Kind = BodyParameterKind
+	return p
+}
+
+func (p *Parameter) beHeader() *Parameter {
+	p.data.Kind = HeaderParameterKind
+	return p
+}
+
+func (p *Parameter) beForm() *Parameter {
+	p.data.Kind = FormParameterKind
+	return p
+}
+
+// Required sets the required field and returns the receiver
+func (p *Parameter) Required(required bool) *Parameter {
+	p.data.Required = required
+	return p
+}
+
+// AllowMultiple sets the allowMultiple field and returns the receiver
+func (p *Parameter) AllowMultiple(multiple bool) *Parameter {
+	p.data.AllowMultiple = multiple
+	return p
+}
+
+// AllowableValues sets the allowableValues field and returns the receiver
+func (p *Parameter) AllowableValues(values map[string]string) *Parameter {
+	p.data.AllowableValues = values
+	return p
+}
+
+// DataType sets the dataType field and returns the receiver
+func (p *Parameter) DataType(typeName string) *Parameter {
+	p.data.DataType = typeName
+	return p
+}
+
+// DataFormat sets the dataFormat field for Swagger UI
+func (p *Parameter) DataFormat(formatName string) *Parameter {
+	p.data.DataFormat = formatName
+	return p
+}
+
+// DefaultValue sets the default value field and returns the receiver
+func (p *Parameter) DefaultValue(stringRepresentation string) *Parameter {
+	p.data.DefaultValue = stringRepresentation
+	return p
+}
+
+// Description sets the description value field and returns the receiver
+func (p *Parameter) Description(doc string) *Parameter {
+	p.data.Description = doc
+	return p
+}
+
+// CollectionFormat sets the collection format for an array type
+func (p *Parameter) CollectionFormat(format CollectionFormat) *Parameter {
+	p.data.CollectionFormat = format.String()
+	return p
+}
diff --git a/vendor/github.com/emicklei/go-restful/path_expression.go b/vendor/github.com/emicklei/go-restful/path_expression.go
new file mode 100644
index 0000000..95a9a25
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/path_expression.go
@@ -0,0 +1,74 @@
+package restful
+
+// Copyright 2013 Ernest Micklei. All rights reserved.
+// Use of this source code is governed by a license
+// that can be found in the LICENSE file.
+
+import (
+	"bytes"
+	"fmt"
+	"regexp"
+	"strings"
+)
+
+// PathExpression holds a compiled path expression (RegExp) needed to match against
+// Http request paths and to extract path parameter values.
+type pathExpression struct {
+	LiteralCount int      // the number of literal characters (means those not resulting from template variable substitution)
+	VarNames     []string // the names of parameters (enclosed by {}) in the path
+	VarCount     int      // the number of named parameters (enclosed by {}) in the path
+	Matcher      *regexp.Regexp
+	Source       string // Path as defined by the RouteBuilder
+	tokens       []string
+}
+
+// NewPathExpression creates a PathExpression from the input URL path.
+// Returns an error if the path is invalid.
+func newPathExpression(path string) (*pathExpression, error) {
+	expression, literalCount, varNames, varCount, tokens := templateToRegularExpression(path)
+	compiled, err := regexp.Compile(expression)
+	if err != nil {
+		return nil, err
+	}
+	return &pathExpression{literalCount, varNames, varCount, compiled, expression, tokens}, nil
+}
+
+// http://jsr311.java.net/nonav/releases/1.1/spec/spec3.html#x3-370003.7.3
+func templateToRegularExpression(template string) (expression string, literalCount int, varNames []string, varCount int, tokens []string) {
+	var buffer bytes.Buffer
+	buffer.WriteString("^")
+	//tokens = strings.Split(template, "/")
+	tokens = tokenizePath(template)
+	for _, each := range tokens {
+		if each == "" {
+			continue
+		}
+		buffer.WriteString("/")
+		if strings.HasPrefix(each, "{") {
+			// check for regular expression in variable
+			colon := strings.Index(each, ":")
+			var varName string
+			if colon != -1 {
+				// extract expression
+				varName = strings.TrimSpace(each[1:colon])
+				paramExpr := strings.TrimSpace(each[colon+1 : len(each)-1])
+				if paramExpr == "*" { // special case
+					buffer.WriteString("(.*)")
+				} else {
+					buffer.WriteString(fmt.Sprintf("(%s)", paramExpr)) // between colon and closing moustache
+				}
+			} else {
+				// plain var
+				varName = strings.TrimSpace(each[1 : len(each)-1])
+				buffer.WriteString("([^/]+?)")
+			}
+			varNames = append(varNames, varName)
+			varCount += 1
+		} else {
+			literalCount += len(each)
+			encoded := each // TODO URI encode
+			buffer.WriteString(regexp.QuoteMeta(encoded))
+		}
+	}
+	return strings.TrimRight(buffer.String(), "/") + "(/.*)?$", literalCount, varNames, varCount, tokens
+}
diff --git a/vendor/github.com/emicklei/go-restful/path_processor.go b/vendor/github.com/emicklei/go-restful/path_processor.go
new file mode 100644
index 0000000..357c723
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/path_processor.go
@@ -0,0 +1,63 @@
+package restful
+
+import (
+	"bytes"
+	"strings"
+)
+
+// Copyright 2018 Ernest Micklei. All rights reserved.
+// Use of this source code is governed by a license
+// that can be found in the LICENSE file.
+
+// PathProcessor is extra behaviour that a Router can provide to extract path parameters from the path.
+// If a Router does not implement this interface then the default behaviour will be used.
+type PathProcessor interface {
+	// ExtractParameters gets the path parameters defined in the route and webService from the urlPath
+	ExtractParameters(route *Route, webService *WebService, urlPath string) map[string]string
+}
+
+type defaultPathProcessor struct{}
+
+// Extract the parameters from the request url path
+func (d defaultPathProcessor) ExtractParameters(r *Route, _ *WebService, urlPath string) map[string]string {
+	urlParts := tokenizePath(urlPath)
+	pathParameters := map[string]string{}
+	for i, key := range r.pathParts {
+		var value string
+		if i >= len(urlParts) {
+			value = ""
+		} else {
+			value = urlParts[i]
+		}
+		if strings.HasPrefix(key, "{") { // path-parameter
+			if colon := strings.Index(key, ":"); colon != -1 {
+				// extract by regex
+				regPart := key[colon+1 : len(key)-1]
+				keyPart := key[1:colon]
+				if regPart == "*" {
+					pathParameters[keyPart] = untokenizePath(i, urlParts)
+					break
+				} else {
+					pathParameters[keyPart] = value
+				}
+			} else {
+				// without enclosing {}
+				pathParameters[key[1:len(key)-1]] = value
+			}
+		}
+	}
+	return pathParameters
+}
+
+// Untokenize back into an URL path using the slash separator
+func untokenizePath(offset int, parts []string) string {
+	var buffer bytes.Buffer
+	for p := offset; p < len(parts); p++ {
+		buffer.WriteString(parts[p])
+		// do not end
+		if p < len(parts)-1 {
+			buffer.WriteString("/")
+		}
+	}
+	return buffer.String()
+}
diff --git a/vendor/github.com/emicklei/go-restful/request.go b/vendor/github.com/emicklei/go-restful/request.go
new file mode 100644
index 0000000..a20730f
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/request.go
@@ -0,0 +1,118 @@
+package restful
+
+// Copyright 2013 Ernest Micklei. All rights reserved.
+// Use of this source code is governed by a license
+// that can be found in the LICENSE file.
+
+import (
+	"compress/zlib"
+	"net/http"
+)
+
+var defaultRequestContentType string
+
+// Request is a wrapper for a http Request that provides convenience methods
+type Request struct {
+	Request           *http.Request
+	pathParameters    map[string]string
+	attributes        map[string]interface{} // for storing request-scoped values
+	selectedRoutePath string                 // root path + route path that matched the request, e.g. /meetings/{id}/attendees
+}
+
+func NewRequest(httpRequest *http.Request) *Request {
+	return &Request{
+		Request:        httpRequest,
+		pathParameters: map[string]string{},
+		attributes:     map[string]interface{}{},
+	} // empty parameters, attributes
+}
+
+// If ContentType is missing or */* is given then fall back to this type, otherwise
+// a "Unable to unmarshal content of type:" response is returned.
+// Valid values are restful.MIME_JSON and restful.MIME_XML
+// Example:
+// 	restful.DefaultRequestContentType(restful.MIME_JSON)
+func DefaultRequestContentType(mime string) {
+	defaultRequestContentType = mime
+}
+
+// PathParameter accesses the Path parameter value by its name
+func (r *Request) PathParameter(name string) string {
+	return r.pathParameters[name]
+}
+
+// PathParameters accesses the Path parameter values
+func (r *Request) PathParameters() map[string]string {
+	return r.pathParameters
+}
+
+// QueryParameter returns the (first) Query parameter value by its name
+func (r *Request) QueryParameter(name string) string {
+	return r.Request.FormValue(name)
+}
+
+// QueryParameters returns the all the query parameters values by name
+func (r *Request) QueryParameters(name string) []string {
+	return r.Request.URL.Query()[name]
+}
+
+// BodyParameter parses the body of the request (once for typically a POST or a PUT) and returns the value of the given name or an error.
+func (r *Request) BodyParameter(name string) (string, error) {
+	err := r.Request.ParseForm()
+	if err != nil {
+		return "", err
+	}
+	return r.Request.PostFormValue(name), nil
+}
+
+// HeaderParameter returns the HTTP Header value of a Header name or empty if missing
+func (r *Request) HeaderParameter(name string) string {
+	return r.Request.Header.Get(name)
+}
+
+// ReadEntity checks the Accept header and reads the content into the entityPointer.
+func (r *Request) ReadEntity(entityPointer interface{}) (err error) {
+	contentType := r.Request.Header.Get(HEADER_ContentType)
+	contentEncoding := r.Request.Header.Get(HEADER_ContentEncoding)
+
+	// check if the request body needs decompression
+	if ENCODING_GZIP == contentEncoding {
+		gzipReader := currentCompressorProvider.AcquireGzipReader()
+		defer currentCompressorProvider.ReleaseGzipReader(gzipReader)
+		gzipReader.Reset(r.Request.Body)
+		r.Request.Body = gzipReader
+	} else if ENCODING_DEFLATE == contentEncoding {
+		zlibReader, err := zlib.NewReader(r.Request.Body)
+		if err != nil {
+			return err
+		}
+		r.Request.Body = zlibReader
+	}
+
+	// lookup the EntityReader, use defaultRequestContentType if needed and provided
+	entityReader, ok := entityAccessRegistry.accessorAt(contentType)
+	if !ok {
+		if len(defaultRequestContentType) != 0 {
+			entityReader, ok = entityAccessRegistry.accessorAt(defaultRequestContentType)
+		}
+		if !ok {
+			return NewError(http.StatusBadRequest, "Unable to unmarshal content of type:"+contentType)
+		}
+	}
+	return entityReader.Read(r, entityPointer)
+}
+
+// SetAttribute adds or replaces the attribute with the given value.
+func (r *Request) SetAttribute(name string, value interface{}) {
+	r.attributes[name] = value
+}
+
+// Attribute returns the value associated to the given name. Returns nil if absent.
+func (r Request) Attribute(name string) interface{} {
+	return r.attributes[name]
+}
+
+// SelectedRoutePath root path + route path that matched the request, e.g. /meetings/{id}/attendees
+func (r Request) SelectedRoutePath() string {
+	return r.selectedRoutePath
+}
diff --git a/vendor/github.com/emicklei/go-restful/response.go b/vendor/github.com/emicklei/go-restful/response.go
new file mode 100644
index 0000000..4d987d1
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/response.go
@@ -0,0 +1,250 @@
+package restful
+
+// Copyright 2013 Ernest Micklei. All rights reserved.
+// Use of this source code is governed by a license
+// that can be found in the LICENSE file.
+
+import (
+	"bufio"
+	"errors"
+	"net"
+	"net/http"
+)
+
+// DefaultResponseMimeType is DEPRECATED, use DefaultResponseContentType(mime)
+var DefaultResponseMimeType string
+
+//PrettyPrintResponses controls the indentation feature of XML and JSON serialization
+var PrettyPrintResponses = true
+
+// Response is a wrapper on the actual http ResponseWriter
+// It provides several convenience methods to prepare and write response content.
+type Response struct {
+	http.ResponseWriter
+	requestAccept string        // mime-type what the Http Request says it wants to receive
+	routeProduces []string      // mime-types what the Route says it can produce
+	statusCode    int           // HTTP status code that has been written explicitly (if zero then net/http has written 200)
+	contentLength int           // number of bytes written for the response body
+	prettyPrint   bool          // controls the indentation feature of XML and JSON serialization. It is initialized using var PrettyPrintResponses.
+	err           error         // err property is kept when WriteError is called
+	hijacker      http.Hijacker // if underlying ResponseWriter supports it
+}
+
+// NewResponse creates a new response based on a http ResponseWriter.
+func NewResponse(httpWriter http.ResponseWriter) *Response {
+	hijacker, _ := httpWriter.(http.Hijacker)
+	return &Response{ResponseWriter: httpWriter, routeProduces: []string{}, statusCode: http.StatusOK, prettyPrint: PrettyPrintResponses, hijacker: hijacker}
+}
+
+// DefaultResponseContentType set a default.
+// If Accept header matching fails, fall back to this type.
+// Valid values are restful.MIME_JSON and restful.MIME_XML
+// Example:
+// 	restful.DefaultResponseContentType(restful.MIME_JSON)
+func DefaultResponseContentType(mime string) {
+	DefaultResponseMimeType = mime
+}
+
+// InternalServerError writes the StatusInternalServerError header.
+// DEPRECATED, use WriteErrorString(http.StatusInternalServerError,reason)
+func (r Response) InternalServerError() Response {
+	r.WriteHeader(http.StatusInternalServerError)
+	return r
+}
+
+// Hijack implements the http.Hijacker interface.  This expands
+// the Response to fulfill http.Hijacker if the underlying
+// http.ResponseWriter supports it.
+func (r *Response) Hijack() (net.Conn, *bufio.ReadWriter, error) {
+	if r.hijacker == nil {
+		return nil, nil, errors.New("http.Hijacker not implemented by underlying http.ResponseWriter")
+	}
+	return r.hijacker.Hijack()
+}
+
+// PrettyPrint changes whether this response must produce pretty (line-by-line, indented) JSON or XML output.
+func (r *Response) PrettyPrint(bePretty bool) {
+	r.prettyPrint = bePretty
+}
+
+// AddHeader is a shortcut for .Header().Add(header,value)
+func (r Response) AddHeader(header string, value string) Response {
+	r.Header().Add(header, value)
+	return r
+}
+
+// SetRequestAccepts tells the response what Mime-type(s) the HTTP request said it wants to accept. Exposed for testing.
+func (r *Response) SetRequestAccepts(mime string) {
+	r.requestAccept = mime
+}
+
+// EntityWriter returns the registered EntityWriter that the entity (requested resource)
+// can write according to what the request wants (Accept) and what the Route can produce or what the restful defaults say.
+// If called before WriteEntity and WriteHeader then a false return value can be used to write a 406: Not Acceptable.
+func (r *Response) EntityWriter() (EntityReaderWriter, bool) {
+	sorted := sortedMimes(r.requestAccept)
+	for _, eachAccept := range sorted {
+		for _, eachProduce := range r.routeProduces {
+			if eachProduce == eachAccept.media {
+				if w, ok := entityAccessRegistry.accessorAt(eachAccept.media); ok {
+					return w, true
+				}
+			}
+		}
+		if eachAccept.media == "*/*" {
+			for _, each := range r.routeProduces {
+				if w, ok := entityAccessRegistry.accessorAt(each); ok {
+					return w, true
+				}
+			}
+		}
+	}
+	// if requestAccept is empty
+	writer, ok := entityAccessRegistry.accessorAt(r.requestAccept)
+	if !ok {
+		// if not registered then fallback to the defaults (if set)
+		if DefaultResponseMimeType == MIME_JSON {
+			return entityAccessRegistry.accessorAt(MIME_JSON)
+		}
+		if DefaultResponseMimeType == MIME_XML {
+			return entityAccessRegistry.accessorAt(MIME_XML)
+		}
+		// Fallback to whatever the route says it can produce.
+		// https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
+		for _, each := range r.routeProduces {
+			if w, ok := entityAccessRegistry.accessorAt(each); ok {
+				return w, true
+			}
+		}
+		if trace {
+			traceLogger.Printf("no registered EntityReaderWriter found for %s", r.requestAccept)
+		}
+	}
+	return writer, ok
+}
+
+// WriteEntity calls WriteHeaderAndEntity with Http Status OK (200)
+func (r *Response) WriteEntity(value interface{}) error {
+	return r.WriteHeaderAndEntity(http.StatusOK, value)
+}
+
+// WriteHeaderAndEntity marshals the value using the representation denoted by the Accept Header and the registered EntityWriters.
+// If no Accept header is specified (or */*) then respond with the Content-Type as specified by the first in the Route.Produces.
+// If an Accept header is specified then respond with the Content-Type as specified by the first in the Route.Produces that is matched with the Accept header.
+// If the value is nil then no response is send except for the Http status. You may want to call WriteHeader(http.StatusNotFound) instead.
+// If there is no writer available that can represent the value in the requested MIME type then Http Status NotAcceptable is written.
+// Current implementation ignores any q-parameters in the Accept Header.
+// Returns an error if the value could not be written on the response.
+func (r *Response) WriteHeaderAndEntity(status int, value interface{}) error {
+	writer, ok := r.EntityWriter()
+	if !ok {
+		r.WriteHeader(http.StatusNotAcceptable)
+		return nil
+	}
+	return writer.Write(r, status, value)
+}
+
+// WriteAsXml is a convenience method for writing a value in xml (requires Xml tags on the value)
+// It uses the standard encoding/xml package for marshalling the value ; not using a registered EntityReaderWriter.
+func (r *Response) WriteAsXml(value interface{}) error {
+	return writeXML(r, http.StatusOK, MIME_XML, value)
+}
+
+// WriteHeaderAndXml is a convenience method for writing a status and value in xml (requires Xml tags on the value)
+// It uses the standard encoding/xml package for marshalling the value ; not using a registered EntityReaderWriter.
+func (r *Response) WriteHeaderAndXml(status int, value interface{}) error {
+	return writeXML(r, status, MIME_XML, value)
+}
+
+// WriteAsJson is a convenience method for writing a value in json.
+// It uses the standard encoding/json package for marshalling the value ; not using a registered EntityReaderWriter.
+func (r *Response) WriteAsJson(value interface{}) error {
+	return writeJSON(r, http.StatusOK, MIME_JSON, value)
+}
+
+// WriteJson is a convenience method for writing a value in Json with a given Content-Type.
+// It uses the standard encoding/json package for marshalling the value ; not using a registered EntityReaderWriter.
+func (r *Response) WriteJson(value interface{}, contentType string) error {
+	return writeJSON(r, http.StatusOK, contentType, value)
+}
+
+// WriteHeaderAndJson is a convenience method for writing the status and a value in Json with a given Content-Type.
+// It uses the standard encoding/json package for marshalling the value ; not using a registered EntityReaderWriter.
+func (r *Response) WriteHeaderAndJson(status int, value interface{}, contentType string) error {
+	return writeJSON(r, status, contentType, value)
+}
+
+// WriteError write the http status and the error string on the response.
+func (r *Response) WriteError(httpStatus int, err error) error {
+	r.err = err
+	return r.WriteErrorString(httpStatus, err.Error())
+}
+
+// WriteServiceError is a convenience method for a responding with a status and a ServiceError
+func (r *Response) WriteServiceError(httpStatus int, err ServiceError) error {
+	r.err = err
+	return r.WriteHeaderAndEntity(httpStatus, err)
+}
+
+// WriteErrorString is a convenience method for an error status with the actual error
+func (r *Response) WriteErrorString(httpStatus int, errorReason string) error {
+	if r.err == nil {
+		// if not called from WriteError
+		r.err = errors.New(errorReason)
+	}
+	r.WriteHeader(httpStatus)
+	if _, err := r.Write([]byte(errorReason)); err != nil {
+		return err
+	}
+	return nil
+}
+
+// Flush implements http.Flusher interface, which sends any buffered data to the client.
+func (r *Response) Flush() {
+	if f, ok := r.ResponseWriter.(http.Flusher); ok {
+		f.Flush()
+	} else if trace {
+		traceLogger.Printf("ResponseWriter %v doesn't support Flush", r)
+	}
+}
+
+// WriteHeader is overridden to remember the Status Code that has been written.
+// Changes to the Header of the response have no effect after this.
+func (r *Response) WriteHeader(httpStatus int) {
+	r.statusCode = httpStatus
+	r.ResponseWriter.WriteHeader(httpStatus)
+}
+
+// StatusCode returns the code that has been written using WriteHeader.
+func (r Response) StatusCode() int {
+	if 0 == r.statusCode {
+		// no status code has been written yet; assume OK
+		return http.StatusOK
+	}
+	return r.statusCode
+}
+
+// Write writes the data to the connection as part of an HTTP reply.
+// Write is part of http.ResponseWriter interface.
+func (r *Response) Write(bytes []byte) (int, error) {
+	written, err := r.ResponseWriter.Write(bytes)
+	r.contentLength += written
+	return written, err
+}
+
+// ContentLength returns the number of bytes written for the response content.
+// Note that this value is only correct if all data is written through the Response using its Write* methods.
+// Data written directly using the underlying http.ResponseWriter is not accounted for.
+func (r Response) ContentLength() int {
+	return r.contentLength
+}
+
+// CloseNotify is part of http.CloseNotifier interface
+func (r Response) CloseNotify() <-chan bool {
+	return r.ResponseWriter.(http.CloseNotifier).CloseNotify()
+}
+
+// Error returns the err created by WriteError
+func (r Response) Error() error {
+	return r.err
+}
diff --git a/vendor/github.com/emicklei/go-restful/route.go b/vendor/github.com/emicklei/go-restful/route.go
new file mode 100644
index 0000000..f72bf98
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/route.go
@@ -0,0 +1,149 @@
+package restful
+
+// Copyright 2013 Ernest Micklei. All rights reserved.
+// Use of this source code is governed by a license
+// that can be found in the LICENSE file.
+
+import (
+	"net/http"
+	"strings"
+)
+
+// RouteFunction declares the signature of a function that can be bound to a Route.
+type RouteFunction func(*Request, *Response)
+
+// RouteSelectionConditionFunction declares the signature of a function that
+// can be used to add extra conditional logic when selecting whether the route
+// matches the HTTP request.
+type RouteSelectionConditionFunction func(httpRequest *http.Request) bool
+
+// Route binds a HTTP Method,Path,Consumes combination to a RouteFunction.
+type Route struct {
+	Method   string
+	Produces []string
+	Consumes []string
+	Path     string // webservice root path + described path
+	Function RouteFunction
+	Filters  []FilterFunction
+	If       []RouteSelectionConditionFunction
+
+	// cached values for dispatching
+	relativePath string
+	pathParts    []string
+	pathExpr     *pathExpression // cached compilation of relativePath as RegExp
+
+	// documentation
+	Doc                     string
+	Notes                   string
+	Operation               string
+	ParameterDocs           []*Parameter
+	ResponseErrors          map[int]ResponseError
+	ReadSample, WriteSample interface{} // structs that model an example request or response payload
+
+	// Extra information used to store custom information about the route.
+	Metadata map[string]interface{}
+
+	// marks a route as deprecated
+	Deprecated bool
+}
+
+// Initialize for Route
+func (r *Route) postBuild() {
+	r.pathParts = tokenizePath(r.Path)
+}
+
+// Create Request and Response from their http versions
+func (r *Route) wrapRequestResponse(httpWriter http.ResponseWriter, httpRequest *http.Request, pathParams map[string]string) (*Request, *Response) {
+	wrappedRequest := NewRequest(httpRequest)
+	wrappedRequest.pathParameters = pathParams
+	wrappedRequest.selectedRoutePath = r.Path
+	wrappedResponse := NewResponse(httpWriter)
+	wrappedResponse.requestAccept = httpRequest.Header.Get(HEADER_Accept)
+	wrappedResponse.routeProduces = r.Produces
+	return wrappedRequest, wrappedResponse
+}
+
+// dispatchWithFilters call the function after passing through its own filters
+func (r *Route) dispatchWithFilters(wrappedRequest *Request, wrappedResponse *Response) {
+	if len(r.Filters) > 0 {
+		chain := FilterChain{Filters: r.Filters, Target: r.Function}
+		chain.ProcessFilter(wrappedRequest, wrappedResponse)
+	} else {
+		// unfiltered
+		r.Function(wrappedRequest, wrappedResponse)
+	}
+}
+
+// Return whether the mimeType matches to what this Route can produce.
+func (r Route) matchesAccept(mimeTypesWithQuality string) bool {
+	parts := strings.Split(mimeTypesWithQuality, ",")
+	for _, each := range parts {
+		var withoutQuality string
+		if strings.Contains(each, ";") {
+			withoutQuality = strings.Split(each, ";")[0]
+		} else {
+			withoutQuality = each
+		}
+		// trim before compare
+		withoutQuality = strings.Trim(withoutQuality, " ")
+		if withoutQuality == "*/*" {
+			return true
+		}
+		for _, producibleType := range r.Produces {
+			if producibleType == "*/*" || producibleType == withoutQuality {
+				return true
+			}
+		}
+	}
+	return false
+}
+
+// Return whether this Route can consume content with a type specified by mimeTypes (can be empty).
+func (r Route) matchesContentType(mimeTypes string) bool {
+
+	if len(r.Consumes) == 0 {
+		// did not specify what it can consume ;  any media type (“*/*”) is assumed
+		return true
+	}
+
+	if len(mimeTypes) == 0 {
+		// idempotent methods with (most-likely or guaranteed) empty content match missing Content-Type
+		m := r.Method
+		if m == "GET" || m == "HEAD" || m == "OPTIONS" || m == "DELETE" || m == "TRACE" {
+			return true
+		}
+		// proceed with default
+		mimeTypes = MIME_OCTET
+	}
+
+	parts := strings.Split(mimeTypes, ",")
+	for _, each := range parts {
+		var contentType string
+		if strings.Contains(each, ";") {
+			contentType = strings.Split(each, ";")[0]
+		} else {
+			contentType = each
+		}
+		// trim before compare
+		contentType = strings.Trim(contentType, " ")
+		for _, consumeableType := range r.Consumes {
+			if consumeableType == "*/*" || consumeableType == contentType {
+				return true
+			}
+		}
+	}
+	return false
+}
+
+// Tokenize an URL path using the slash separator ; the result does not have empty tokens
+func tokenizePath(path string) []string {
+	if "/" == path {
+		return []string{}
+	}
+	return strings.Split(strings.Trim(path, "/"), "/")
+}
+
+// for debugging
+func (r Route) String() string {
+	return r.Method + " " + r.Path
+}
diff --git a/vendor/github.com/emicklei/go-restful/route_builder.go b/vendor/github.com/emicklei/go-restful/route_builder.go
new file mode 100644
index 0000000..4ebecbd
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/route_builder.go
@@ -0,0 +1,321 @@
+package restful
+
+// Copyright 2013 Ernest Micklei. All rights reserved.
+// Use of this source code is governed by a license
+// that can be found in the LICENSE file.
+
+import (
+	"fmt"
+	"os"
+	"reflect"
+	"runtime"
+	"strings"
+	"sync/atomic"
+
+	"github.com/emicklei/go-restful/log"
+)
+
+// RouteBuilder is a helper to construct Routes.
+type RouteBuilder struct {
+	rootPath    string
+	currentPath string
+	produces    []string
+	consumes    []string
+	httpMethod  string        // required
+	function    RouteFunction // required
+	filters     []FilterFunction
+	conditions  []RouteSelectionConditionFunction
+
+	typeNameHandleFunc TypeNameHandleFunction // required
+
+	// documentation
+	doc                     string
+	notes                   string
+	operation               string
+	readSample, writeSample interface{}
+	parameters              []*Parameter
+	errorMap                map[int]ResponseError
+	metadata                map[string]interface{}
+	deprecated              bool
+}
+
+// Do evaluates each argument with the RouteBuilder itself.
+// This allows you to follow DRY principles without breaking the fluent programming style.
+// Example:
+// 		ws.Route(ws.DELETE("/{name}").To(t.deletePerson).Do(Returns200, Returns500))
+//
+//		func Returns500(b *RouteBuilder) {
+//			b.Returns(500, "Internal Server Error", restful.ServiceError{})
+//		}
+func (b *RouteBuilder) Do(oneArgBlocks ...func(*RouteBuilder)) *RouteBuilder {
+	for _, each := range oneArgBlocks {
+		each(b)
+	}
+	return b
+}
+
+// To bind the route to a function.
+// If this route is matched with the incoming Http Request then call this function with the *Request,*Response pair. Required.
+func (b *RouteBuilder) To(function RouteFunction) *RouteBuilder {
+	b.function = function
+	return b
+}
+
+// Method specifies what HTTP method to match. Required.
+func (b *RouteBuilder) Method(method string) *RouteBuilder {
+	b.httpMethod = method
+	return b
+}
+
+// Produces specifies what MIME types can be produced ; the matched one will appear in the Content-Type Http header.
+func (b *RouteBuilder) Produces(mimeTypes ...string) *RouteBuilder {
+	b.produces = mimeTypes
+	return b
+}
+
+// Consumes specifies what MIME types can be consumes ; the Accept Http header must matched any of these
+func (b *RouteBuilder) Consumes(mimeTypes ...string) *RouteBuilder {
+	b.consumes = mimeTypes
+	return b
+}
+
+// Path specifies the relative (w.r.t WebService root path) URL path to match. Default is "/".
+func (b *RouteBuilder) Path(subPath string) *RouteBuilder {
+	b.currentPath = subPath
+	return b
+}
+
+// Doc tells what this route is all about. Optional.
+func (b *RouteBuilder) Doc(documentation string) *RouteBuilder {
+	b.doc = documentation
+	return b
+}
+
+// Notes is a verbose explanation of the operation behavior. Optional.
+func (b *RouteBuilder) Notes(notes string) *RouteBuilder {
+	b.notes = notes
+	return b
+}
+
+// Reads tells what resource type will be read from the request payload. Optional.
+// A parameter of type "body" is added ,required is set to true and the dataType is set to the qualified name of the sample's type.
+func (b *RouteBuilder) Reads(sample interface{}, optionalDescription ...string) *RouteBuilder {
+	fn := b.typeNameHandleFunc
+	if fn == nil {
+		fn = reflectTypeName
+	}
+	typeAsName := fn(sample)
+	description := ""
+	if len(optionalDescription) > 0 {
+		description = optionalDescription[0]
+	}
+	b.readSample = sample
+	bodyParameter := &Parameter{&ParameterData{Name: "body", Description: description}}
+	bodyParameter.beBody()
+	bodyParameter.Required(true)
+	bodyParameter.DataType(typeAsName)
+	b.Param(bodyParameter)
+	return b
+}
+
+// ParameterNamed returns a Parameter already known to the RouteBuilder. Returns nil if not.
+// Use this to modify or extend information for the Parameter (through its Data()).
+func (b RouteBuilder) ParameterNamed(name string) (p *Parameter) {
+	for _, each := range b.parameters {
+		if each.Data().Name == name {
+			return each
+		}
+	}
+	return p
+}
+
+// Writes tells what resource type will be written as the response payload. Optional.
+func (b *RouteBuilder) Writes(sample interface{}) *RouteBuilder {
+	b.writeSample = sample
+	return b
+}
+
+// Param allows you to document the parameters of the Route. It adds a new Parameter (does not check for duplicates).
+func (b *RouteBuilder) Param(parameter *Parameter) *RouteBuilder {
+	if b.parameters == nil {
+		b.parameters = []*Parameter{}
+	}
+	b.parameters = append(b.parameters, parameter)
+	return b
+}
+
+// Operation allows you to document what the actual method/function call is of the Route.
+// Unless called, the operation name is derived from the RouteFunction set using To(..).
+func (b *RouteBuilder) Operation(name string) *RouteBuilder {
+	b.operation = name
+	return b
+}
+
+// ReturnsError is deprecated, use Returns instead.
+func (b *RouteBuilder) ReturnsError(code int, message string, model interface{}) *RouteBuilder {
+	log.Print("ReturnsError is deprecated, use Returns instead.")
+	return b.Returns(code, message, model)
+}
+
+// Returns allows you to document what responses (errors or regular) can be expected.
+// The model parameter is optional ; either pass a struct instance or use nil if not applicable.
+func (b *RouteBuilder) Returns(code int, message string, model interface{}) *RouteBuilder {
+	err := ResponseError{
+		Code:      code,
+		Message:   message,
+		Model:     model,
+		IsDefault: false,
+	}
+	// lazy init because there is no NewRouteBuilder (yet)
+	if b.errorMap == nil {
+		b.errorMap = map[int]ResponseError{}
+	}
+	b.errorMap[code] = err
+	return b
+}
+
+// DefaultReturns is a special Returns call that sets the default of the response ; the code is zero.
+func (b *RouteBuilder) DefaultReturns(message string, model interface{}) *RouteBuilder {
+	b.Returns(0, message, model)
+	// Modify the ResponseError just added/updated
+	re := b.errorMap[0]
+	// errorMap is initialized
+	b.errorMap[0] = ResponseError{
+		Code:      re.Code,
+		Message:   re.Message,
+		Model:     re.Model,
+		IsDefault: true,
+	}
+	return b
+}
+
+// Metadata adds or updates a key=value pair to the metadata map.
+func (b *RouteBuilder) Metadata(key string, value interface{}) *RouteBuilder {
+	if b.metadata == nil {
+		b.metadata = map[string]interface{}{}
+	}
+	b.metadata[key] = value
+	return b
+}
+
+// Deprecate sets the value of deprecated to true.  Deprecated routes have a special UI treatment to warn against use
+func (b *RouteBuilder) Deprecate() *RouteBuilder {
+	b.deprecated = true
+	return b
+}
+
+// ResponseError represents a response; not necessarily an error.
+type ResponseError struct {
+	Code      int
+	Message   string
+	Model     interface{}
+	IsDefault bool
+}
+
+func (b *RouteBuilder) servicePath(path string) *RouteBuilder {
+	b.rootPath = path
+	return b
+}
+
+// Filter appends a FilterFunction to the end of filters for this Route to build.
+func (b *RouteBuilder) Filter(filter FilterFunction) *RouteBuilder {
+	b.filters = append(b.filters, filter)
+	return b
+}
+
+// If sets a condition function that controls matching the Route based on custom logic.
+// The condition function is provided the HTTP request and should return true if the route
+// should be considered.
+//
+// Efficiency note: the condition function is called before checking the method, produces, and
+// consumes criteria, so that the correct HTTP status code can be returned.
+//
+// Lifecycle note: no filter functions have been called prior to calling the condition function,
+// so the condition function should not depend on any context that might be set up by container
+// or route filters.
+func (b *RouteBuilder) If(condition RouteSelectionConditionFunction) *RouteBuilder {
+	b.conditions = append(b.conditions, condition)
+	return b
+}
+
+// If no specific Route path then set to rootPath
+// If no specific Produces then set to rootProduces
+// If no specific Consumes then set to rootConsumes
+func (b *RouteBuilder) copyDefaults(rootProduces, rootConsumes []string) {
+	if len(b.produces) == 0 {
+		b.produces = rootProduces
+	}
+	if len(b.consumes) == 0 {
+		b.consumes = rootConsumes
+	}
+}
+
+// typeNameHandler sets the function that will convert types to strings in the parameter
+// and model definitions.
+func (b *RouteBuilder) typeNameHandler(handler TypeNameHandleFunction) *RouteBuilder {
+	b.typeNameHandleFunc = handler
+	return b
+}
+
+// Build creates a new Route using the specification details collected by the RouteBuilder
+func (b *RouteBuilder) Build() Route {
+	pathExpr, err := newPathExpression(b.currentPath)
+	if err != nil {
+		log.Printf("[restful] Invalid path:%s because:%v", b.currentPath, err)
+		os.Exit(1)
+	}
+	if b.function == nil {
+		log.Printf("[restful] No function specified for route:" + b.currentPath)
+		os.Exit(1)
+	}
+	operationName := b.operation
+	if len(operationName) == 0 && b.function != nil {
+		// extract from definition
+		operationName = nameOfFunction(b.function)
+	}
+	route := Route{
+		Method:         b.httpMethod,
+		Path:           concatPath(b.rootPath, b.currentPath),
+		Produces:       b.produces,
+		Consumes:       b.consumes,
+		Function:       b.function,
+		Filters:        b.filters,
+		If:             b.conditions,
+		relativePath:   b.currentPath,
+		pathExpr:       pathExpr,
+		Doc:            b.doc,
+		Notes:          b.notes,
+		Operation:      operationName,
+		ParameterDocs:  b.parameters,
+		ResponseErrors: b.errorMap,
+		ReadSample:     b.readSample,
+		WriteSample:    b.writeSample,
+		Metadata:       b.metadata,
+		Deprecated:     b.deprecated}
+	route.postBuild()
+	return route
+}
+
+func concatPath(path1, path2 string) string {
+	return strings.TrimRight(path1, "/") + "/" + strings.TrimLeft(path2, "/")
+}
+
+var anonymousFuncCount int32
+
+// nameOfFunction returns the short name of the function f for documentation.
+// It uses a runtime feature for debugging ; its value may change for later Go versions.
+func nameOfFunction(f interface{}) string {
+	fun := runtime.FuncForPC(reflect.ValueOf(f).Pointer())
+	tokenized := strings.Split(fun.Name(), ".")
+	last := tokenized[len(tokenized)-1]
+	last = strings.TrimSuffix(last, ")·fm") // < Go 1.5
+	last = strings.TrimSuffix(last, ")-fm") // Go 1.5
+	last = strings.TrimSuffix(last, "·fm")  // < Go 1.5
+	last = strings.TrimSuffix(last, "-fm")  // Go 1.5
+	if last == "func1" {                    // this could mean conflicts in API docs
+		val := atomic.AddInt32(&anonymousFuncCount, 1)
+		last = "func" + fmt.Sprintf("%d", val)
+		atomic.StoreInt32(&anonymousFuncCount, val)
+	}
+	return last
+}
diff --git a/vendor/github.com/emicklei/go-restful/router.go b/vendor/github.com/emicklei/go-restful/router.go
new file mode 100644
index 0000000..19078af
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/router.go
@@ -0,0 +1,20 @@
+package restful
+
+// Copyright 2013 Ernest Micklei. All rights reserved.
+// Use of this source code is governed by a license
+// that can be found in the LICENSE file.
+
+import "net/http"
+
+// A RouteSelector finds the best matching Route given the input HTTP Request
+// RouteSelectors can optionally also implement the PathProcessor interface to also calculate the
+// path parameters after the route has been selected.
+type RouteSelector interface {
+
+	// SelectRoute finds a Route given the input HTTP Request and a list of WebServices.
+	// It returns a selected Route and its containing WebService or an error indicating
+	// a problem.
+	SelectRoute(
+		webServices []*WebService,
+		httpRequest *http.Request) (selectedService *WebService, selected *Route, err error)
+}
diff --git a/vendor/github.com/emicklei/go-restful/service_error.go b/vendor/github.com/emicklei/go-restful/service_error.go
new file mode 100644
index 0000000..62d1108
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/service_error.go
@@ -0,0 +1,23 @@
+package restful
+
+// Copyright 2013 Ernest Micklei. All rights reserved.
+// Use of this source code is governed by a license
+// that can be found in the LICENSE file.
+
+import "fmt"
+
+// ServiceError is a transport object to pass information about a non-Http error occurred in a WebService while processing a request.
+type ServiceError struct {
+	Code    int
+	Message string
+}
+
+// NewError returns a ServiceError using the code and reason
+func NewError(code int, message string) ServiceError {
+	return ServiceError{Code: code, Message: message}
+}
+
+// Error returns a text representation of the service error
+func (s ServiceError) Error() string {
+	return fmt.Sprintf("[ServiceError:%v] %v", s.Code, s.Message)
+}
diff --git a/vendor/github.com/emicklei/go-restful/web_service.go b/vendor/github.com/emicklei/go-restful/web_service.go
new file mode 100644
index 0000000..f7e18a5
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/web_service.go
@@ -0,0 +1,290 @@
+package restful
+
+import (
+	"errors"
+	"os"
+	"reflect"
+	"sync"
+
+	"github.com/emicklei/go-restful/log"
+)
+
+// Copyright 2013 Ernest Micklei. All rights reserved.
+// Use of this source code is governed by a license
+// that can be found in the LICENSE file.
+
+// WebService holds a collection of Route values that bind a Http Method + URL Path to a function.
+type WebService struct {
+	rootPath       string
+	pathExpr       *pathExpression // cached compilation of rootPath as RegExp
+	routes         []Route
+	produces       []string
+	consumes       []string
+	pathParameters []*Parameter
+	filters        []FilterFunction
+	documentation  string
+	apiVersion     string
+
+	typeNameHandleFunc TypeNameHandleFunction
+
+	dynamicRoutes bool
+
+	// protects 'routes' if dynamic routes are enabled
+	routesLock sync.RWMutex
+}
+
+func (w *WebService) SetDynamicRoutes(enable bool) {
+	w.dynamicRoutes = enable
+}
+
+// TypeNameHandleFunction declares functions that can handle translating the name of a sample object
+// into the restful documentation for the service.
+type TypeNameHandleFunction func(sample interface{}) string
+
+// TypeNameHandler sets the function that will convert types to strings in the parameter
+// and model definitions. If not set, the web service will invoke
+// reflect.TypeOf(object).String().
+func (w *WebService) TypeNameHandler(handler TypeNameHandleFunction) *WebService {
+	w.typeNameHandleFunc = handler
+	return w
+}
+
+// reflectTypeName is the default TypeNameHandleFunction and for a given object
+// returns the name that Go identifies it with (e.g. "string" or "v1.Object") via
+// the reflection API.
+func reflectTypeName(sample interface{}) string {
+	return reflect.TypeOf(sample).String()
+}
+
+// compilePathExpression ensures that the path is compiled into a RegEx for those routers that need it.
+func (w *WebService) compilePathExpression() {
+	compiled, err := newPathExpression(w.rootPath)
+	if err != nil {
+		log.Printf("[restful] invalid path:%s because:%v", w.rootPath, err)
+		os.Exit(1)
+	}
+	w.pathExpr = compiled
+}
+
+// ApiVersion sets the API version for documentation purposes.
+func (w *WebService) ApiVersion(apiVersion string) *WebService {
+	w.apiVersion = apiVersion
+	return w
+}
+
+// Version returns the API version for documentation purposes.
+func (w *WebService) Version() string { return w.apiVersion }
+
+// Path specifies the root URL template path of the WebService.
+// All Routes will be relative to this path.
+func (w *WebService) Path(root string) *WebService {
+	w.rootPath = root
+	if len(w.rootPath) == 0 {
+		w.rootPath = "/"
+	}
+	w.compilePathExpression()
+	return w
+}
+
+// Param adds a PathParameter to document parameters used in the root path.
+func (w *WebService) Param(parameter *Parameter) *WebService {
+	if w.pathParameters == nil {
+		w.pathParameters = []*Parameter{}
+	}
+	w.pathParameters = append(w.pathParameters, parameter)
+	return w
+}
+
+// PathParameter creates a new Parameter of kind Path for documentation purposes.
+// It is initialized as required with string as its DataType.
+func (w *WebService) PathParameter(name, description string) *Parameter {
+	return PathParameter(name, description)
+}
+
+// PathParameter creates a new Parameter of kind Path for documentation purposes.
+// It is initialized as required with string as its DataType.
+func PathParameter(name, description string) *Parameter {
+	p := &Parameter{&ParameterData{Name: name, Description: description, Required: true, DataType: "string"}}
+	p.bePath()
+	return p
+}
+
+// QueryParameter creates a new Parameter of kind Query for documentation purposes.
+// It is initialized as not required with string as its DataType.
+func (w *WebService) QueryParameter(name, description string) *Parameter {
+	return QueryParameter(name, description)
+}
+
+// QueryParameter creates a new Parameter of kind Query for documentation purposes.
+// It is initialized as not required with string as its DataType.
+func QueryParameter(name, description string) *Parameter {
+	p := &Parameter{&ParameterData{Name: name, Description: description, Required: false, DataType: "string", CollectionFormat: CollectionFormatCSV.String()}}
+	p.beQuery()
+	return p
+}
+
+// BodyParameter creates a new Parameter of kind Body for documentation purposes.
+// It is initialized as required without a DataType.
+func (w *WebService) BodyParameter(name, description string) *Parameter {
+	return BodyParameter(name, description)
+}
+
+// BodyParameter creates a new Parameter of kind Body for documentation purposes.
+// It is initialized as required without a DataType.
+func BodyParameter(name, description string) *Parameter {
+	p := &Parameter{&ParameterData{Name: name, Description: description, Required: true}}
+	p.beBody()
+	return p
+}
+
+// HeaderParameter creates a new Parameter of kind (Http) Header for documentation purposes.
+// It is initialized as not required with string as its DataType.
+func (w *WebService) HeaderParameter(name, description string) *Parameter {
+	return HeaderParameter(name, description)
+}
+
+// HeaderParameter creates a new Parameter of kind (Http) Header for documentation purposes.
+// It is initialized as not required with string as its DataType.
+func HeaderParameter(name, description string) *Parameter {
+	p := &Parameter{&ParameterData{Name: name, Description: description, Required: false, DataType: "string"}}
+	p.beHeader()
+	return p
+}
+
+// FormParameter creates a new Parameter of kind Form (using application/x-www-form-urlencoded) for documentation purposes.
+// It is initialized as required with string as its DataType.
+func (w *WebService) FormParameter(name, description string) *Parameter {
+	return FormParameter(name, description)
+}
+
+// FormParameter creates a new Parameter of kind Form (using application/x-www-form-urlencoded) for documentation purposes.
+// It is initialized as required with string as its DataType.
+func FormParameter(name, description string) *Parameter {
+	p := &Parameter{&ParameterData{Name: name, Description: description, Required: false, DataType: "string"}}
+	p.beForm()
+	return p
+}
+
+// Route creates a new Route using the RouteBuilder and add to the ordered list of Routes.
+func (w *WebService) Route(builder *RouteBuilder) *WebService {
+	w.routesLock.Lock()
+	defer w.routesLock.Unlock()
+	builder.copyDefaults(w.produces, w.consumes)
+	w.routes = append(w.routes, builder.Build())
+	return w
+}
+
+// RemoveRoute removes the specified route, looks for something that matches 'path' and 'method'
+func (w *WebService) RemoveRoute(path, method string) error {
+	if !w.dynamicRoutes {
+		return errors.New("dynamic routes are not enabled.")
+	}
+	w.routesLock.Lock()
+	defer w.routesLock.Unlock()
+	newRoutes := make([]Route, (len(w.routes) - 1))
+	current := 0
+	for ix := range w.routes {
+		if w.routes[ix].Method == method && w.routes[ix].Path == path {
+			continue
+		}
+		newRoutes[current] = w.routes[ix]
+		current = current + 1
+	}
+	w.routes = newRoutes
+	return nil
+}
+
+// Method creates a new RouteBuilder and initialize its http method
+func (w *WebService) Method(httpMethod string) *RouteBuilder {
+	return new(RouteBuilder).typeNameHandler(w.typeNameHandleFunc).servicePath(w.rootPath).Method(httpMethod)
+}
+
+// Produces specifies that this WebService can produce one or more MIME types.
+// Http requests must have one of these values set for the Accept header.
+func (w *WebService) Produces(contentTypes ...string) *WebService {
+	w.produces = contentTypes
+	return w
+}
+
+// Consumes specifies that this WebService can consume one or more MIME types.
+// Http requests must have one of these values set for the Content-Type header.
+func (w *WebService) Consumes(accepts ...string) *WebService {
+	w.consumes = accepts
+	return w
+}
+
+// Routes returns the Routes associated with this WebService
+func (w *WebService) Routes() []Route {
+	if !w.dynamicRoutes {
+		return w.routes
+	}
+	// Make a copy of the array to prevent concurrency problems
+	w.routesLock.RLock()
+	defer w.routesLock.RUnlock()
+	result := make([]Route, len(w.routes))
+	for ix := range w.routes {
+		result[ix] = w.routes[ix]
+	}
+	return result
+}
+
+// RootPath returns the RootPath associated with this WebService. Default "/"
+func (w *WebService) RootPath() string {
+	return w.rootPath
+}
+
+// PathParameters return the path parameter names for (shared among its Routes)
+func (w *WebService) PathParameters() []*Parameter {
+	return w.pathParameters
+}
+
+// Filter adds a filter function to the chain of filters applicable to all its Routes
+func (w *WebService) Filter(filter FilterFunction) *WebService {
+	w.filters = append(w.filters, filter)
+	return w
+}
+
+// Doc is used to set the documentation of this service.
+func (w *WebService) Doc(plainText string) *WebService {
+	w.documentation = plainText
+	return w
+}
+
+// Documentation returns it.
+func (w *WebService) Documentation() string {
+	return w.documentation
+}
+
+/*
+	Convenience methods
+*/
+
+// HEAD is a shortcut for .Method("HEAD").Path(subPath)
+func (w *WebService) HEAD(subPath string) *RouteBuilder {
+	return new(RouteBuilder).typeNameHandler(w.typeNameHandleFunc).servicePath(w.rootPath).Method("HEAD").Path(subPath)
+}
+
+// GET is a shortcut for .Method("GET").Path(subPath)
+func (w *WebService) GET(subPath string) *RouteBuilder {
+	return new(RouteBuilder).typeNameHandler(w.typeNameHandleFunc).servicePath(w.rootPath).Method("GET").Path(subPath)
+}
+
+// POST is a shortcut for .Method("POST").Path(subPath)
+func (w *WebService) POST(subPath string) *RouteBuilder {
+	return new(RouteBuilder).typeNameHandler(w.typeNameHandleFunc).servicePath(w.rootPath).Method("POST").Path(subPath)
+}
+
+// PUT is a shortcut for .Method("PUT").Path(subPath)
+func (w *WebService) PUT(subPath string) *RouteBuilder {
+	return new(RouteBuilder).typeNameHandler(w.typeNameHandleFunc).servicePath(w.rootPath).Method("PUT").Path(subPath)
+}
+
+// PATCH is a shortcut for .Method("PATCH").Path(subPath)
+func (w *WebService) PATCH(subPath string) *RouteBuilder {
+	return new(RouteBuilder).typeNameHandler(w.typeNameHandleFunc).servicePath(w.rootPath).Method("PATCH").Path(subPath)
+}
+
+// DELETE is a shortcut for .Method("DELETE").Path(subPath)
+func (w *WebService) DELETE(subPath string) *RouteBuilder {
+	return new(RouteBuilder).typeNameHandler(w.typeNameHandleFunc).servicePath(w.rootPath).Method("DELETE").Path(subPath)
+}
diff --git a/vendor/github.com/emicklei/go-restful/web_service_container.go b/vendor/github.com/emicklei/go-restful/web_service_container.go
new file mode 100644
index 0000000..c9d31b0
--- /dev/null
+++ b/vendor/github.com/emicklei/go-restful/web_service_container.go
@@ -0,0 +1,39 @@
+package restful
+
+// Copyright 2013 Ernest Micklei. All rights reserved.
+// Use of this source code is governed by a license
+// that can be found in the LICENSE file.
+
+import (
+	"net/http"
+)
+
+// DefaultContainer is a restful.Container that uses http.DefaultServeMux
+var DefaultContainer *Container
+
+func init() {
+	DefaultContainer = NewContainer()
+	DefaultContainer.ServeMux = http.DefaultServeMux
+}
+
+// If set the true then panics will not be caught to return HTTP 500.
+// In that case, Route functions are responsible for handling any error situation.
+// Default value is false = recover from panics. This has performance implications.
+// OBSOLETE ; use restful.DefaultContainer.DoNotRecover(true)
+var DoNotRecover = false
+
+// Add registers a new WebService add it to the DefaultContainer.
+func Add(service *WebService) {
+	DefaultContainer.Add(service)
+}
+
+// Filter appends a container FilterFunction from the DefaultContainer.
+// These are called before dispatching a http.Request to a WebService.
+func Filter(filter FilterFunction) {
+	DefaultContainer.Filter(filter)
+}
+
+// RegisteredWebServices returns the collections of WebServices from the DefaultContainer
+func RegisteredWebServices() []*WebService {
+	return DefaultContainer.RegisteredWebServices()
+}
diff --git a/vendor/github.com/ghodss/yaml/LICENSE b/vendor/github.com/ghodss/yaml/LICENSE
new file mode 100644
index 0000000..7805d36
--- /dev/null
+++ b/vendor/github.com/ghodss/yaml/LICENSE
@@ -0,0 +1,50 @@
+The MIT License (MIT)
+
+Copyright (c) 2014 Sam Ghods
+
+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.
+
+
+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/ghodss/yaml/fields.go b/vendor/github.com/ghodss/yaml/fields.go
new file mode 100644
index 0000000..5860074
--- /dev/null
+++ b/vendor/github.com/ghodss/yaml/fields.go
@@ -0,0 +1,501 @@
+// Copyright 2013 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 yaml
+
+import (
+	"bytes"
+	"encoding"
+	"encoding/json"
+	"reflect"
+	"sort"
+	"strings"
+	"sync"
+	"unicode"
+	"unicode/utf8"
+)
+
+// indirect walks down v allocating pointers as needed,
+// until it gets to a non-pointer.
+// if it encounters an Unmarshaler, indirect stops and returns that.
+// if decodingNull is true, indirect stops at the last pointer so it can be set to nil.
+func indirect(v reflect.Value, decodingNull bool) (json.Unmarshaler, encoding.TextUnmarshaler, reflect.Value) {
+	// If v is a named type and is addressable,
+	// start with its address, so that if the type has pointer methods,
+	// we find them.
+	if v.Kind() != reflect.Ptr && v.Type().Name() != "" && v.CanAddr() {
+		v = v.Addr()
+	}
+	for {
+		// Load value from interface, but only if the result will be
+		// usefully addressable.
+		if v.Kind() == reflect.Interface && !v.IsNil() {
+			e := v.Elem()
+			if e.Kind() == reflect.Ptr && !e.IsNil() && (!decodingNull || e.Elem().Kind() == reflect.Ptr) {
+				v = e
+				continue
+			}
+		}
+
+		if v.Kind() != reflect.Ptr {
+			break
+		}
+
+		if v.Elem().Kind() != reflect.Ptr && decodingNull && v.CanSet() {
+			break
+		}
+		if v.IsNil() {
+			if v.CanSet() {
+				v.Set(reflect.New(v.Type().Elem()))
+			} else {
+				v = reflect.New(v.Type().Elem())
+			}
+		}
+		if v.Type().NumMethod() > 0 {
+			if u, ok := v.Interface().(json.Unmarshaler); ok {
+				return u, nil, reflect.Value{}
+			}
+			if u, ok := v.Interface().(encoding.TextUnmarshaler); ok {
+				return nil, u, reflect.Value{}
+			}
+		}
+		v = v.Elem()
+	}
+	return nil, nil, v
+}
+
+// A field represents a single field found in a struct.
+type field struct {
+	name      string
+	nameBytes []byte                 // []byte(name)
+	equalFold func(s, t []byte) bool // bytes.EqualFold or equivalent
+
+	tag       bool
+	index     []int
+	typ       reflect.Type
+	omitEmpty bool
+	quoted    bool
+}
+
+func fillField(f field) field {
+	f.nameBytes = []byte(f.name)
+	f.equalFold = foldFunc(f.nameBytes)
+	return f
+}
+
+// byName sorts field by name, breaking ties with depth,
+// then breaking ties with "name came from json tag", then
+// breaking ties with index sequence.
+type byName []field
+
+func (x byName) Len() int { return len(x) }
+
+func (x byName) Swap(i, j int) { x[i], x[j] = x[j], x[i] }
+
+func (x byName) Less(i, j int) bool {
+	if x[i].name != x[j].name {
+		return x[i].name < x[j].name
+	}
+	if len(x[i].index) != len(x[j].index) {
+		return len(x[i].index) < len(x[j].index)
+	}
+	if x[i].tag != x[j].tag {
+		return x[i].tag
+	}
+	return byIndex(x).Less(i, j)
+}
+
+// byIndex sorts field by index sequence.
+type byIndex []field
+
+func (x byIndex) Len() int { return len(x) }
+
+func (x byIndex) Swap(i, j int) { x[i], x[j] = x[j], x[i] }
+
+func (x byIndex) Less(i, j int) bool {
+	for k, xik := range x[i].index {
+		if k >= len(x[j].index) {
+			return false
+		}
+		if xik != x[j].index[k] {
+			return xik < x[j].index[k]
+		}
+	}
+	return len(x[i].index) < len(x[j].index)
+}
+
+// typeFields returns a list of fields that JSON should recognize for the given type.
+// The algorithm is breadth-first search over the set of structs to include - the top struct
+// and then any reachable anonymous structs.
+func typeFields(t reflect.Type) []field {
+	// Anonymous fields to explore at the current level and the next.
+	current := []field{}
+	next := []field{{typ: t}}
+
+	// Count of queued names for current level and the next.
+	count := map[reflect.Type]int{}
+	nextCount := map[reflect.Type]int{}
+
+	// Types already visited at an earlier level.
+	visited := map[reflect.Type]bool{}
+
+	// Fields found.
+	var fields []field
+
+	for len(next) > 0 {
+		current, next = next, current[:0]
+		count, nextCount = nextCount, map[reflect.Type]int{}
+
+		for _, f := range current {
+			if visited[f.typ] {
+				continue
+			}
+			visited[f.typ] = true
+
+			// Scan f.typ for fields to include.
+			for i := 0; i < f.typ.NumField(); i++ {
+				sf := f.typ.Field(i)
+				if sf.PkgPath != "" { // unexported
+					continue
+				}
+				tag := sf.Tag.Get("json")
+				if tag == "-" {
+					continue
+				}
+				name, opts := parseTag(tag)
+				if !isValidTag(name) {
+					name = ""
+				}
+				index := make([]int, len(f.index)+1)
+				copy(index, f.index)
+				index[len(f.index)] = i
+
+				ft := sf.Type
+				if ft.Name() == "" && ft.Kind() == reflect.Ptr {
+					// Follow pointer.
+					ft = ft.Elem()
+				}
+
+				// Record found field and index sequence.
+				if name != "" || !sf.Anonymous || ft.Kind() != reflect.Struct {
+					tagged := name != ""
+					if name == "" {
+						name = sf.Name
+					}
+					fields = append(fields, fillField(field{
+						name:      name,
+						tag:       tagged,
+						index:     index,
+						typ:       ft,
+						omitEmpty: opts.Contains("omitempty"),
+						quoted:    opts.Contains("string"),
+					}))
+					if count[f.typ] > 1 {
+						// If there were multiple instances, add a second,
+						// so that the annihilation code will see a duplicate.
+						// It only cares about the distinction between 1 or 2,
+						// so don't bother generating any more copies.
+						fields = append(fields, fields[len(fields)-1])
+					}
+					continue
+				}
+
+				// Record new anonymous struct to explore in next round.
+				nextCount[ft]++
+				if nextCount[ft] == 1 {
+					next = append(next, fillField(field{name: ft.Name(), index: index, typ: ft}))
+				}
+			}
+		}
+	}
+
+	sort.Sort(byName(fields))
+
+	// Delete all fields that are hidden by the Go rules for embedded fields,
+	// except that fields with JSON tags are promoted.
+
+	// The fields are sorted in primary order of name, secondary order
+	// of field index length. Loop over names; for each name, delete
+	// hidden fields by choosing the one dominant field that survives.
+	out := fields[:0]
+	for advance, i := 0, 0; i < len(fields); i += advance {
+		// One iteration per name.
+		// Find the sequence of fields with the name of this first field.
+		fi := fields[i]
+		name := fi.name
+		for advance = 1; i+advance < len(fields); advance++ {
+			fj := fields[i+advance]
+			if fj.name != name {
+				break
+			}
+		}
+		if advance == 1 { // Only one field with this name
+			out = append(out, fi)
+			continue
+		}
+		dominant, ok := dominantField(fields[i : i+advance])
+		if ok {
+			out = append(out, dominant)
+		}
+	}
+
+	fields = out
+	sort.Sort(byIndex(fields))
+
+	return fields
+}
+
+// dominantField looks through the fields, all of which are known to
+// have the same name, to find the single field that dominates the
+// others using Go's embedding rules, modified by the presence of
+// JSON tags. If there are multiple top-level fields, the boolean
+// will be false: This condition is an error in Go and we skip all
+// the fields.
+func dominantField(fields []field) (field, bool) {
+	// The fields are sorted in increasing index-length order. The winner
+	// must therefore be one with the shortest index length. Drop all
+	// longer entries, which is easy: just truncate the slice.
+	length := len(fields[0].index)
+	tagged := -1 // Index of first tagged field.
+	for i, f := range fields {
+		if len(f.index) > length {
+			fields = fields[:i]
+			break
+		}
+		if f.tag {
+			if tagged >= 0 {
+				// Multiple tagged fields at the same level: conflict.
+				// Return no field.
+				return field{}, false
+			}
+			tagged = i
+		}
+	}
+	if tagged >= 0 {
+		return fields[tagged], true
+	}
+	// All remaining fields have the same length. If there's more than one,
+	// we have a conflict (two fields named "X" at the same level) and we
+	// return no field.
+	if len(fields) > 1 {
+		return field{}, false
+	}
+	return fields[0], true
+}
+
+var fieldCache struct {
+	sync.RWMutex
+	m map[reflect.Type][]field
+}
+
+// cachedTypeFields is like typeFields but uses a cache to avoid repeated work.
+func cachedTypeFields(t reflect.Type) []field {
+	fieldCache.RLock()
+	f := fieldCache.m[t]
+	fieldCache.RUnlock()
+	if f != nil {
+		return f
+	}
+
+	// Compute fields without lock.
+	// Might duplicate effort but won't hold other computations back.
+	f = typeFields(t)
+	if f == nil {
+		f = []field{}
+	}
+
+	fieldCache.Lock()
+	if fieldCache.m == nil {
+		fieldCache.m = map[reflect.Type][]field{}
+	}
+	fieldCache.m[t] = f
+	fieldCache.Unlock()
+	return f
+}
+
+func isValidTag(s string) bool {
+	if s == "" {
+		return false
+	}
+	for _, c := range s {
+		switch {
+		case strings.ContainsRune("!#$%&()*+-./:<=>?@[]^_{|}~ ", c):
+			// Backslash and quote chars are reserved, but
... 813269 lines suppressed ...