Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
5c102a46
Unverified
Commit
5c102a46
authored
Jun 04, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Jun 04, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #78180 from dougm/vsphere-token-auth-godeps
Backport of #78137: godeps: update vmware/govmomi to v0.20.1
parents
051c16a0
93263cd9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
71 additions
and
68 deletions
+71
-68
Godeps.json
Godeps/Godeps.json
+66
-66
signer.go
vendor/github.com/vmware/govmomi/sts/signer.go
+5
-2
No files found.
Godeps/Godeps.json
View file @
5c102a46
...
...
@@ -3319,168 +3319,168 @@
},
{
"ImportPath"
:
"github.com/vmware/govmomi"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/find"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/list"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/lookup"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/lookup/methods"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/lookup/simulator"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/lookup/types"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/nfc"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/object"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/pbm"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/pbm/methods"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/pbm/types"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/property"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/session"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/simulator"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/simulator/esx"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/simulator/vpx"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/sts"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/sts/internal"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/sts/simulator"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/task"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/vapi/internal"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/vapi/rest"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/vapi/simulator"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/vapi/tags"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/vim25"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/vim25/debug"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/vim25/methods"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/vim25/mo"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/vim25/progress"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/vim25/soap"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/vim25/types"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/govmomi/vim25/xml"
,
"Comment"
:
"v0.20.
0
"
,
"Rev"
:
"
bdf05b6cab86b1e9f40ee80a4d2cb07a0c25ef78
"
"Comment"
:
"v0.20.
1
"
,
"Rev"
:
"
4514987f2ddb8875c44cff1d5a24c59425fa6b92
"
},
{
"ImportPath"
:
"github.com/vmware/photon-controller-go-sdk/SSPI"
,
...
...
vendor/github.com/vmware/govmomi/sts/signer.go
View file @
5c102a46
...
...
@@ -265,8 +265,11 @@ func (s *Signer) SignRequest(req *http.Request) error {
}
bhash
:=
sha256
.
New
()
.
Sum
(
body
)
// Port in the signature must be that of the reverse proxy port, vCenter's default is port 80
port
:=
"80"
// TODO: get from lookup service
port
:=
req
.
URL
.
Port
()
if
port
==
""
{
port
=
"80"
// Default port for the "Host" header on the server side
}
var
buf
bytes
.
Buffer
msg
:=
[]
string
{
nonce
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment