mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-07-16 17:33:14 +00:00
change github.com/aws/aws-sdk-go to be the same revision in kubernetes
This commit is contained in:
8
vendor/github.com/aws/aws-sdk-go/private/model/api/operation.go
generated
vendored
8
vendor/github.com/aws/aws-sdk-go/private/model/api/operation.go
generated
vendored
@@ -25,8 +25,6 @@ type Operation struct {
|
||||
Deprecated bool `json:"deprecated"`
|
||||
AuthType string `json:"authtype"`
|
||||
imports map[string]bool
|
||||
|
||||
EventStreamAPI *EventStreamAPI
|
||||
}
|
||||
|
||||
// A HTTPInfo defines the method of HTTP request for the Operation.
|
||||
@@ -134,9 +132,6 @@ func (c *{{ .API.StructName }}) {{ .ExportedName }}Request(` +
|
||||
req.Handlers.Send.Swap(client.LogHTTPResponseHandler.Name, client.LogHTTPResponseHeaderHandler)
|
||||
req.Handlers.Unmarshal.Swap({{ .API.ProtocolPackage }}.UnmarshalHandler.Name, rest.UnmarshalHandler)
|
||||
req.Handlers.Unmarshal.PushBack(output.runEventStreamLoop)
|
||||
{{ if eq .API.Metadata.Protocol "json" -}}
|
||||
req.Handlers.Unmarshal.PushBack(output.unmarshalInitialResponse)
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
return
|
||||
}
|
||||
@@ -257,10 +252,9 @@ func (o *Operation) GoCode() string {
|
||||
var buf bytes.Buffer
|
||||
|
||||
if len(o.OutputRef.Shape.EventStreamsMemberName) != 0 {
|
||||
// TODO need better was of updating protocol unmarshalers
|
||||
o.API.imports["github.com/aws/aws-sdk-go/aws/client"] = true
|
||||
o.API.imports["github.com/aws/aws-sdk-go/private/protocol"] = true
|
||||
o.API.imports["github.com/aws/aws-sdk-go/private/protocol/rest"] = true
|
||||
o.API.imports["github.com/aws/aws-sdk-go/private/protocol/"+o.API.ProtocolPackage()] = true
|
||||
}
|
||||
|
||||
err := tplOperation.Execute(&buf, o)
|
||||
|
||||
Reference in New Issue
Block a user