pkg/vendor/github.com/go-openapi/swag
Dave Protasowski eaa823c765
bump k8s to v1.20.7 (#2145)
* bump k8s deps to v1.20.7

* fix migrator test pkg

* dynamicclient now expects List types to be declare either via a scheme or manually

* fix error message comparison

* drop excess vendor licenses

* Using the injection fake dynamic client will preserve pre-1.20 behaviour

This is accomplished by preprocessing the scheme/fixtures and declaring
a custom scheme were we map our types & lists to unstructured.* types

* revert webhook factory changes

* ensure objects to the dynamic client are unstructured

* seed the default dynamic client with k8s scheme

* include duckv1 types in default fake dynamic client scheme

* use default k8s scheme
looks like eventing adds to this scheme but we should import the correct one vs the one from the  fake package

* drop duckv1 from default scheme

* set APIVersion/Kind if empty

* refactor ToUnstructured helper to a new package
2021-06-10 06:56:43 -07:00
..
.editorconfig Switch to Go modules (#1179) 2020-04-28 12:43:51 -07:00
.gitignore Switch to Go modules (#1179) 2020-04-28 12:43:51 -07:00
.golangci.yml bump k8s to v1.20.7 (#2145) 2021-06-10 06:56:43 -07:00
.travis.yml bump k8s to v1.20.7 (#2145) 2021-06-10 06:56:43 -07:00
CODE_OF_CONDUCT.md Switch to Go modules (#1179) 2020-04-28 12:43:51 -07:00
LICENSE adding tools to master in prep for go mod. (#1251) 2020-04-27 12:00:51 -07:00
README.md bump k8s to v1.20.7 (#2145) 2021-06-10 06:56:43 -07:00
convert.go [master] Auto-update dependencies (#1290) 2020-05-05 08:42:44 -07:00
convert_types.go bump k8s to v1.20.7 (#2145) 2021-06-10 06:56:43 -07:00
doc.go adding tools to master in prep for go mod. (#1251) 2020-04-27 12:00:51 -07:00
go.mod bump k8s to v1.20.7 (#2145) 2021-06-10 06:56:43 -07:00
go.sum bump k8s to v1.20.7 (#2145) 2021-06-10 06:56:43 -07:00
json.go [master] Auto-update dependencies (#1290) 2020-05-05 08:42:44 -07:00
loading.go bump k8s to v1.20.7 (#2145) 2021-06-10 06:56:43 -07:00
name_lexem.go adding tools to master in prep for go mod. (#1251) 2020-04-27 12:00:51 -07:00
net.go adding tools to master in prep for go mod. (#1251) 2020-04-27 12:00:51 -07:00
path.go adding tools to master in prep for go mod. (#1251) 2020-04-27 12:00:51 -07:00
post_go18.go adding tools to master in prep for go mod. (#1251) 2020-04-27 12:00:51 -07:00
post_go19.go adding tools to master in prep for go mod. (#1251) 2020-04-27 12:00:51 -07:00
pre_go18.go adding tools to master in prep for go mod. (#1251) 2020-04-27 12:00:51 -07:00
pre_go19.go adding tools to master in prep for go mod. (#1251) 2020-04-27 12:00:51 -07:00
split.go adding tools to master in prep for go mod. (#1251) 2020-04-27 12:00:51 -07:00
util.go bump k8s to v1.20.7 (#2145) 2021-06-10 06:56:43 -07:00
yaml.go adding tools to master in prep for go mod. (#1251) 2020-04-27 12:00:51 -07:00

README.md

Swag Build Status codecov Slack Status

license GoDoc Go Report Card

Contains a bunch of helper functions for go-openapi and go-swagger projects.

You may also use it standalone for your projects.

  • convert between value and pointers for builtin types
  • convert from string to builtin types (wraps strconv)
  • fast json concatenation
  • search in path
  • load from file or http
  • name mangling

This repo has only few dependencies outside of the standard library:

  • YAML utilities depend on gopkg.in/yaml.v2