Commit 0cebc17d authored by liugaoling's avatar liugaoling

authorization

parent b29d08fb
......@@ -7,14 +7,9 @@ import (
func main() {
// utils.HttpLogin("lglhope", "123456789")
authRequestInfo := authz.AuthRequestInfo {
Account: "wln",
Type: "",
Name: "wln/apple",
Service: "CE-Z1",
IP: nil,
Actions: ["pull"],
Labels: nil,
}
var authRequestInfo authz.AuthRequestInfo
authRequestInfo.Account = "wln"
authRequestInfo.Name = "wln/apple"
authRequestInfo.Service = "wln"
utils.HttpAuth(authRequestInfo)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment