Update dependenciess

Exclude minio-go for now (pin to 3.x.y).
This commit is contained in:
Alexander Neumann 2017-12-03 21:01:25 +01:00
parent 9d0f13c4c0
commit 946c8399e2
2985 changed files with 1008107 additions and 118934 deletions

View file

@ -127,8 +127,8 @@ type Input struct {
}
func (s *Input) MarshalJSON() ([]byte, error) {
type noMethod Input
raw := noMethod(*s)
type NoMethod Input
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -156,8 +156,8 @@ type InputInput struct {
}
func (s *InputInput) MarshalJSON() ([]byte, error) {
type noMethod InputInput
raw := noMethod(*s)
type NoMethod InputInput
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -203,18 +203,18 @@ type Output struct {
}
func (s *Output) MarshalJSON() ([]byte, error) {
type noMethod Output
raw := noMethod(*s)
type NoMethod Output
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
func (s *Output) UnmarshalJSON(data []byte) error {
type noMethod Output
type NoMethod Output
var s1 struct {
OutputValue gensupport.JSONFloat64 `json:"outputValue"`
*noMethod
*NoMethod
}
s1.noMethod = (*noMethod)(s)
s1.NoMethod = (*NoMethod)(s)
if err := json.Unmarshal(data, &s1); err != nil {
return err
}
@ -247,18 +247,18 @@ type OutputOutputMulti struct {
}
func (s *OutputOutputMulti) MarshalJSON() ([]byte, error) {
type noMethod OutputOutputMulti
raw := noMethod(*s)
type NoMethod OutputOutputMulti
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
func (s *OutputOutputMulti) UnmarshalJSON(data []byte) error {
type noMethod OutputOutputMulti
type NoMethod OutputOutputMulti
var s1 struct {
Score gensupport.JSONFloat64 `json:"score"`
*noMethod
*NoMethod
}
s1.noMethod = (*noMethod)(s)
s1.NoMethod = (*NoMethod)(s)
if err := json.Unmarshal(data, &s1); err != nil {
return err
}
@ -309,8 +309,8 @@ type Training struct {
}
func (s *Training) MarshalJSON() ([]byte, error) {
type noMethod Training
raw := noMethod(*s)
type NoMethod Training
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -376,20 +376,20 @@ type TrainingModelInfo struct {
}
func (s *TrainingModelInfo) MarshalJSON() ([]byte, error) {
type noMethod TrainingModelInfo
raw := noMethod(*s)
type NoMethod TrainingModelInfo
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
func (s *TrainingModelInfo) UnmarshalJSON(data []byte) error {
type noMethod TrainingModelInfo
type NoMethod TrainingModelInfo
var s1 struct {
ClassWeightedAccuracy gensupport.JSONFloat64 `json:"classWeightedAccuracy"`
ClassificationAccuracy gensupport.JSONFloat64 `json:"classificationAccuracy"`
MeanSquaredError gensupport.JSONFloat64 `json:"meanSquaredError"`
*noMethod
*NoMethod
}
s1.noMethod = (*noMethod)(s)
s1.NoMethod = (*NoMethod)(s)
if err := json.Unmarshal(data, &s1); err != nil {
return err
}
@ -424,8 +424,8 @@ type Update struct {
}
func (s *Update) MarshalJSON() ([]byte, error) {
type noMethod Update
raw := noMethod(*s)
type NoMethod Update
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -529,7 +529,7 @@ func (c *HostedmodelsPredictCall) Do(opts ...googleapi.CallOption) (*Output, err
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -764,7 +764,7 @@ func (c *TrainingGetCall) Do(opts ...googleapi.CallOption) (*Training, error) {
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -889,7 +889,7 @@ func (c *TrainingInsertCall) Do(opts ...googleapi.CallOption) (*Training, error)
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -1014,7 +1014,7 @@ func (c *TrainingPredictCall) Do(opts ...googleapi.CallOption) (*Output, error)
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -1147,7 +1147,7 @@ func (c *TrainingUpdateCall) Do(opts ...googleapi.CallOption) (*Training, error)
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil