1
0
mirror of https://github.com/ceph/ceph-csi.git synced 2025-06-14 18:53:35 +00:00

Updated vednor files

This commit is contained in:
Serguei Bezverkhi
2018-02-15 08:50:31 -05:00
parent 18a4ce4439
commit 1f1e8cea37
3299 changed files with 834 additions and 1051200 deletions
vendor
github.com
PuerkitoBio
container-storage-interface
emicklei
ghodss
go-openapi
jsonpointer
jsonreference
spec
swag
gogo
protobuf
.gitignore.mailmap.travis.ymlAUTHORSCONTRIBUTORSGOLANG_CONTRIBUTORSLICENSEMakefileREADMEReadme.md
_conformance
bench.md
codec
custom_types.mdextensions.md
gogoproto
gogoreplace
install-protobuf.sh
io
jsonpb
plugin
proto
protobuf
protoc-gen-combo
protoc-gen-gofast
protoc-gen-gogo
protoc-gen-gogofast
protoc-gen-gogofaster
protoc-gen-gogoslick
protoc-gen-gogotypes
protoc-gen-gostring
protoc-min-version
sortkeys
test
.gitignoreMakefile
asymetric-issue125
bug_test.go
casttype
castvalue
combos
custom-dash-type
custom
custombytesnonstruct
dashfilename
data
defaultconflict
embedconflict
empty-issue70
enumcustomname
enumdecl
enumdecl_all
enumprefix
enumstringer
example
extension_test.go
filedotname
fuzztests
group
importdedup
indeximport-issue72
int64support
issue260
issue261
issue262
issue312
issue322
issue330
issue34
issue42order
issue8
jsonpb-gogo
mapdefaults
mapsproto2
mixbench
moredefaults
nopackage
oneof
oneof3
oneofembed
packed
proto3extension
protosize
registration
required
sizerconflict
sizeunderscore
stdtypes
t.go
tags
theproto3
thetest.pb.gothetest.protothetestpb_test.go
typedecl
typedecl_all
typedeclimport
types
unmarshalmerge
unrecognized
unrecognizedgroup
uuid.gouuid_test.go
types
vanity
version
google
googleapis
gnostic
.gitignore.travis-install.sh.travis.ymlCOMPILE-PROTOS.shCONTRIBUTING.mdLICENSEMakefile
OpenAPIv2
OpenAPIv3
README.md
apps
compiler
discovery
examples
extensions
generate-gnostic
gnostic.gognostic_test.go
jsonschema
jsonwriter
plugins
printer
surface
test
tools
README.md
format-schema
j2y2j
gregjones
json-iterator
go
.codecov.yml.gitignore.travis.ymlLICENSEREADME.mdcompatible_test.goexample_test.go
extra
feature_adapter.gofeature_any.gofeature_any_array.gofeature_any_bool.gofeature_any_float.gofeature_any_int32.gofeature_any_int64.gofeature_any_invalid.gofeature_any_nil.gofeature_any_number.gofeature_any_object.gofeature_any_string.gofeature_any_uint32.gofeature_any_uint64.gofeature_config.gofeature_iter.gofeature_iter_array.gofeature_iter_float.gofeature_iter_int.gofeature_iter_object.gofeature_iter_skip.gofeature_iter_skip_sloppy.gofeature_iter_skip_strict.gofeature_iter_string.gofeature_json_number.gofeature_pool.gofeature_reflect.gofeature_reflect_array.gofeature_reflect_extension.gofeature_reflect_map.gofeature_reflect_native.gofeature_reflect_object.gofeature_reflect_slice.gofeature_reflect_struct_decoder.gofeature_stream.gofeature_stream_float.gofeature_stream_int.gofeature_stream_string.gofuzzy_mode_convert_table.mdjsoniter.gojsoniter_1dot8_only_test.gojsoniter_adapter_test.gojsoniter_alias_test.gojsoniter_any_array_test.gojsoniter_any_bool_test.gojsoniter_any_float_test.gojsoniter_any_int_test.gojsoniter_any_map_test.gojsoniter_any_null_test.gojsoniter_any_object_test.gojsoniter_any_string_test.gojsoniter_array_test.gojsoniter_bool_test.gojsoniter_customize_test.gojsoniter_demo_test.gojsoniter_encode_interface_test.gojsoniter_enum_marshaler_test.gojsoniter_fixed_array_test.gojsoniter_float_test.gojsoniter_int_test.gojsoniter_interface_test.gojsoniter_invalid_test.gojsoniter_io_test.gojsoniter_iterator_test.gojsoniter_large_file_test.gojsoniter_map_test.gojsoniter_must_be_valid_test.gojsoniter_nested_test.gojsoniter_null_test.gojsoniter_object_test.gojsoniter_optional_test.gojsoniter_raw_message_test.gojsoniter_reader_test.gojsoniter_reflect_native_test.gojsoniter_skip_test.gojsoniter_sloppy_test.gojsoniter_stream_test.gojsoniter_string_test.gojsoniter_struct_decoder_test.gojsoniter_struct_encoder_test.gojsoniter_wrap_test.go
output_tests
array
builtins
caseless_unmarshal
json_marshal
map
map_key_text_marshal
marshal_fail_case.go
partial_unmarshal
slice
struct
alias
anonymous
no_overlap
overlap
different_levels
ignore_deeper_level
same_level_1_both_tagged
same_level_1_no_tags
same_level_1_tagged
same_level_2_both_tagged
same_level_2_no_tags
same_level_2_tagged
array
empty
empty_alias
everything
float64
float64_alias
float64s
float64s_alias
int32
int32_alias
int32s
int32s_alias
int64
map
int32_ptr_string
int32_string
int32_struct_strings
string_ptr_string
string_string
string_struct_strings
ptr_float64
ptr_float64_alias
ptr_int32
ptr_int32_alias
ptr_ptr_struct_empty
ptr_ptr_struct_strings
ptr_string
ptr_string_alias
ptr_struct_empty
ptr_struct_strings
ptrs_float64
ptrs_int32
ptrs_string
slice
string
string_alias
strings
strings_alias
struct
struct_tags
text_marshal
skip_tests
test.shunmarshal_input_test.go
juju
kubernetes-csi
mailru
petar
peterbourgon
spf13
gopkg.in
k8s.io
api
Godeps
LICENSEOWNERSREADME.md
admission
admissionregistration
apps
authentication
authorization
autoscaling
batch
certificates
code-of-conduct.md
core
events
extensions
imagepolicy
networking
policy
rbac
scheduling
settings
storage
apimachinery
client-go
.github
.travis.ymlCHANGELOG.md
Godeps
INSTALL.mdLICENSEOWNERSREADME.md
discovery
dynamic
examples
README.md
create-update-delete-deployment
in-cluster-client-configuration
out-of-cluster-client-configuration
workqueue
informers
BUILD
admissionregistration
apps
autoscaling
batch
certificates
core
events
extensions
factory.gogeneric.go
internalinterfaces
networking
policy
rbac
scheduling
settings
storage
kubernetes
BUILDclientset.godoc.go
fake
import.go
scheme
typed
admissionregistration
apps
authentication
authorization
autoscaling
batch
certificates
core
events
extensions
networking
policy
rbac
scheduling
settings
storage
listers
admissionregistration
apps
authentication
authorization
autoscaling
batch
certificates
core
events
extensions
imagepolicy
networking
policy
rbac
scheduling
settings
storage
pkg
plugin
rest
scale
testing
third_party
forked
golang
tools
transport
util
kube-openapi

@ -1,86 +0,0 @@
// Copyright 2015 go-swagger maintainers
//
// 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 spec
import "encoding/json"
//go:generate curl -L --progress -o ./schemas/v2/schema.json http://swagger.io/v2/schema.json
//go:generate curl -L --progress -o ./schemas/jsonschema-draft-04.json http://json-schema.org/draft-04/schema
//go:generate go-bindata -pkg=spec -prefix=./schemas -ignore=.*\.md ./schemas/...
//go:generate perl -pi -e s,Json,JSON,g bindata.go
const (
// SwaggerSchemaURL the url for the swagger 2.0 schema to validate specs
SwaggerSchemaURL = "http://swagger.io/v2/schema.json#"
// JSONSchemaURL the url for the json schema schema
JSONSchemaURL = "http://json-schema.org/draft-04/schema#"
)
var (
jsonSchema *Schema
swaggerSchema *Schema
)
func init() {
jsonSchema = MustLoadJSONSchemaDraft04()
swaggerSchema = MustLoadSwagger20Schema()
}
// MustLoadJSONSchemaDraft04 panics when Swagger20Schema returns an error
func MustLoadJSONSchemaDraft04() *Schema {
d, e := JSONSchemaDraft04()
if e != nil {
panic(e)
}
return d
}
// JSONSchemaDraft04 loads the json schema document for json shema draft04
func JSONSchemaDraft04() (*Schema, error) {
b, err := Asset("jsonschema-draft-04.json")
if err != nil {
return nil, err
}
schema := new(Schema)
if err := json.Unmarshal(b, schema); err != nil {
return nil, err
}
return schema, nil
}
// MustLoadSwagger20Schema panics when Swagger20Schema returns an error
func MustLoadSwagger20Schema() *Schema {
d, e := Swagger20Schema()
if e != nil {
panic(e)
}
return d
}
// Swagger20Schema loads the swagger 2.0 schema from the embedded assets
func Swagger20Schema() (*Schema, error) {
b, err := Asset("v2/schema.json")
if err != nil {
return nil, err
}
schema := new(Schema)
if err := json.Unmarshal(b, schema); err != nil {
return nil, err
}
return schema, nil
}