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,103 +0,0 @@
package pflag
// -- stringArray Value
type stringArrayValue struct {
value *[]string
changed bool
}
func newStringArrayValue(val []string, p *[]string) *stringArrayValue {
ssv := new(stringArrayValue)
ssv.value = p
*ssv.value = val
return ssv
}
func (s *stringArrayValue) Set(val string) error {
if !s.changed {
*s.value = []string{val}
s.changed = true
} else {
*s.value = append(*s.value, val)
}
return nil
}
func (s *stringArrayValue) Type() string {
return "stringArray"
}
func (s *stringArrayValue) String() string {
str, _ := writeAsCSV(*s.value)
return "[" + str + "]"
}
func stringArrayConv(sval string) (interface{}, error) {
sval = sval[1 : len(sval)-1]
// An empty string would cause a array with one (empty) string
if len(sval) == 0 {
return []string{}, nil
}
return readAsCSV(sval)
}
// GetStringArray return the []string value of a flag with the given name
func (f *FlagSet) GetStringArray(name string) ([]string, error) {
val, err := f.getFlagType(name, "stringArray", stringArrayConv)
if err != nil {
return []string{}, err
}
return val.([]string), nil
}
// StringArrayVar defines a string flag with specified name, default value, and usage string.
// The argument p points to a []string variable in which to store the values of the multiple flags.
// The value of each argument will not try to be separated by comma
func (f *FlagSet) StringArrayVar(p *[]string, name string, value []string, usage string) {
f.VarP(newStringArrayValue(value, p), name, "", usage)
}
// StringArrayVarP is like StringArrayVar, but accepts a shorthand letter that can be used after a single dash.
func (f *FlagSet) StringArrayVarP(p *[]string, name, shorthand string, value []string, usage string) {
f.VarP(newStringArrayValue(value, p), name, shorthand, usage)
}
// StringArrayVar defines a string flag with specified name, default value, and usage string.
// The argument p points to a []string variable in which to store the value of the flag.
// The value of each argument will not try to be separated by comma
func StringArrayVar(p *[]string, name string, value []string, usage string) {
CommandLine.VarP(newStringArrayValue(value, p), name, "", usage)
}
// StringArrayVarP is like StringArrayVar, but accepts a shorthand letter that can be used after a single dash.
func StringArrayVarP(p *[]string, name, shorthand string, value []string, usage string) {
CommandLine.VarP(newStringArrayValue(value, p), name, shorthand, usage)
}
// StringArray defines a string flag with specified name, default value, and usage string.
// The return value is the address of a []string variable that stores the value of the flag.
// The value of each argument will not try to be separated by comma
func (f *FlagSet) StringArray(name string, value []string, usage string) *[]string {
p := []string{}
f.StringArrayVarP(&p, name, "", value, usage)
return &p
}
// StringArrayP is like StringArray, but accepts a shorthand letter that can be used after a single dash.
func (f *FlagSet) StringArrayP(name, shorthand string, value []string, usage string) *[]string {
p := []string{}
f.StringArrayVarP(&p, name, shorthand, value, usage)
return &p
}
// StringArray defines a string flag with specified name, default value, and usage string.
// The return value is the address of a []string variable that stores the value of the flag.
// The value of each argument will not try to be separated by comma
func StringArray(name string, value []string, usage string) *[]string {
return CommandLine.StringArrayP(name, "", value, usage)
}
// StringArrayP is like StringArray, but accepts a shorthand letter that can be used after a single dash.
func StringArrayP(name, shorthand string, value []string, usage string) *[]string {
return CommandLine.StringArrayP(name, shorthand, value, usage)
}