id int32 0 167k | repo stringlengths 5 54 | path stringlengths 4 155 | func_name stringlengths 1 118 | original_string stringlengths 52 85.5k | language stringclasses 1
value | code stringlengths 52 85.5k | code_tokens list | docstring stringlengths 6 2.61k | docstring_tokens list | sha stringlengths 40 40 | url stringlengths 85 252 |
|---|---|---|---|---|---|---|---|---|---|---|---|
23,500 | xanzy/go-cloudstack | cloudstack/NetworkACLService.go | NewCreateNetworkACLParams | func (s *NetworkACLService) NewCreateNetworkACLParams(protocol string) *CreateNetworkACLParams {
p := &CreateNetworkACLParams{}
p.p = make(map[string]interface{})
p.p["protocol"] = protocol
return p
} | go | func (s *NetworkACLService) NewCreateNetworkACLParams(protocol string) *CreateNetworkACLParams {
p := &CreateNetworkACLParams{}
p.p = make(map[string]interface{})
p.p["protocol"] = protocol
return p
} | [
"func",
"(",
"s",
"*",
"NetworkACLService",
")",
"NewCreateNetworkACLParams",
"(",
"protocol",
"string",
")",
"*",
"CreateNetworkACLParams",
"{",
"p",
":=",
"&",
"CreateNetworkACLParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",... | // You should always use this function to get a new CreateNetworkACLParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CreateNetworkACLParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NetworkACLService.go#L180-L185 |
23,501 | xanzy/go-cloudstack | cloudstack/NetworkACLService.go | NewCreateNetworkACLListParams | func (s *NetworkACLService) NewCreateNetworkACLListParams(name string, vpcid string) *CreateNetworkACLListParams {
p := &CreateNetworkACLListParams{}
p.p = make(map[string]interface{})
p.p["name"] = name
p.p["vpcid"] = vpcid
return p
} | go | func (s *NetworkACLService) NewCreateNetworkACLListParams(name string, vpcid string) *CreateNetworkACLListParams {
p := &CreateNetworkACLListParams{}
p.p = make(map[string]interface{})
p.p["name"] = name
p.p["vpcid"] = vpcid
return p
} | [
"func",
"(",
"s",
"*",
"NetworkACLService",
")",
"NewCreateNetworkACLListParams",
"(",
"name",
"string",
",",
"vpcid",
"string",
")",
"*",
"CreateNetworkACLListParams",
"{",
"p",
":=",
"&",
"CreateNetworkACLListParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"mak... | // You should always use this function to get a new CreateNetworkACLListParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CreateNetworkACLListParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NetworkACLService.go#L299-L305 |
23,502 | xanzy/go-cloudstack | cloudstack/NetworkACLService.go | CreateNetworkACLList | func (s *NetworkACLService) CreateNetworkACLList(p *CreateNetworkACLListParams) (*CreateNetworkACLListResponse, error) {
resp, err := s.cs.newRequest("createNetworkACLList", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateNetworkACLListResponse
if err := json.Unmarshal(resp, &r); err != nil {
r... | go | func (s *NetworkACLService) CreateNetworkACLList(p *CreateNetworkACLListParams) (*CreateNetworkACLListResponse, error) {
resp, err := s.cs.newRequest("createNetworkACLList", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateNetworkACLListResponse
if err := json.Unmarshal(resp, &r); err != nil {
r... | [
"func",
"(",
"s",
"*",
"NetworkACLService",
")",
"CreateNetworkACLList",
"(",
"p",
"*",
"CreateNetworkACLListParams",
")",
"(",
"*",
"CreateNetworkACLListResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"... | // Creates a network ACL for the given VPC | [
"Creates",
"a",
"network",
"ACL",
"for",
"the",
"given",
"VPC"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NetworkACLService.go#L308-L340 |
23,503 | xanzy/go-cloudstack | cloudstack/NetworkACLService.go | NewDeleteNetworkACLParams | func (s *NetworkACLService) NewDeleteNetworkACLParams(id string) *DeleteNetworkACLParams {
p := &DeleteNetworkACLParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *NetworkACLService) NewDeleteNetworkACLParams(id string) *DeleteNetworkACLParams {
p := &DeleteNetworkACLParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"NetworkACLService",
")",
"NewDeleteNetworkACLParams",
"(",
"id",
"string",
")",
"*",
"DeleteNetworkACLParams",
"{",
"p",
":=",
"&",
"DeleteNetworkACLParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]"... | // You should always use this function to get a new DeleteNetworkACLParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DeleteNetworkACLParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NetworkACLService.go#L376-L381 |
23,504 | xanzy/go-cloudstack | cloudstack/NetworkACLService.go | NewDeleteNetworkACLListParams | func (s *NetworkACLService) NewDeleteNetworkACLListParams(id string) *DeleteNetworkACLListParams {
p := &DeleteNetworkACLListParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *NetworkACLService) NewDeleteNetworkACLListParams(id string) *DeleteNetworkACLListParams {
p := &DeleteNetworkACLListParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"NetworkACLService",
")",
"NewDeleteNetworkACLListParams",
"(",
"id",
"string",
")",
"*",
"DeleteNetworkACLListParams",
"{",
"p",
":=",
"&",
"DeleteNetworkACLListParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"st... | // You should always use this function to get a new DeleteNetworkACLListParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DeleteNetworkACLListParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NetworkACLService.go#L444-L449 |
23,505 | xanzy/go-cloudstack | cloudstack/NetworkACLService.go | NewListNetworkACLListsParams | func (s *NetworkACLService) NewListNetworkACLListsParams() *ListNetworkACLListsParams {
p := &ListNetworkACLListsParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *NetworkACLService) NewListNetworkACLListsParams() *ListNetworkACLListsParams {
p := &ListNetworkACLListsParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"NetworkACLService",
")",
"NewListNetworkACLListsParams",
"(",
")",
"*",
"ListNetworkACLListsParams",
"{",
"p",
":=",
"&",
"ListNetworkACLListsParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interf... | // You should always use this function to get a new ListNetworkACLListsParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListNetworkACLListsParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NetworkACLService.go#L649-L653 |
23,506 | xanzy/go-cloudstack | cloudstack/NetworkACLService.go | ListNetworkACLLists | func (s *NetworkACLService) ListNetworkACLLists(p *ListNetworkACLListsParams) (*ListNetworkACLListsResponse, error) {
resp, err := s.cs.newRequest("listNetworkACLLists", p.toURLValues())
if err != nil {
return nil, err
}
var r ListNetworkACLListsResponse
if err := json.Unmarshal(resp, &r); err != nil {
return... | go | func (s *NetworkACLService) ListNetworkACLLists(p *ListNetworkACLListsParams) (*ListNetworkACLListsResponse, error) {
resp, err := s.cs.newRequest("listNetworkACLLists", p.toURLValues())
if err != nil {
return nil, err
}
var r ListNetworkACLListsResponse
if err := json.Unmarshal(resp, &r); err != nil {
return... | [
"func",
"(",
"s",
"*",
"NetworkACLService",
")",
"ListNetworkACLLists",
"(",
"p",
"*",
"ListNetworkACLListsParams",
")",
"(",
"*",
"ListNetworkACLListsResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
... | // Lists all network ACLs | [
"Lists",
"all",
"network",
"ACLs"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NetworkACLService.go#L739-L751 |
23,507 | xanzy/go-cloudstack | cloudstack/NetworkACLService.go | NewListNetworkACLsParams | func (s *NetworkACLService) NewListNetworkACLsParams() *ListNetworkACLsParams {
p := &ListNetworkACLsParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *NetworkACLService) NewListNetworkACLsParams() *ListNetworkACLsParams {
p := &ListNetworkACLsParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"NetworkACLService",
")",
"NewListNetworkACLsParams",
"(",
")",
"*",
"ListNetworkACLsParams",
"{",
"p",
":=",
"&",
"ListNetworkACLsParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",... | // You should always use this function to get a new ListNetworkACLsParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListNetworkACLsParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NetworkACLService.go#L966-L970 |
23,508 | xanzy/go-cloudstack | cloudstack/NetworkACLService.go | ListNetworkACLs | func (s *NetworkACLService) ListNetworkACLs(p *ListNetworkACLsParams) (*ListNetworkACLsResponse, error) {
resp, err := s.cs.newRequest("listNetworkACLs", p.toURLValues())
if err != nil {
return nil, err
}
var r ListNetworkACLsResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
retur... | go | func (s *NetworkACLService) ListNetworkACLs(p *ListNetworkACLsParams) (*ListNetworkACLsResponse, error) {
resp, err := s.cs.newRequest("listNetworkACLs", p.toURLValues())
if err != nil {
return nil, err
}
var r ListNetworkACLsResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
retur... | [
"func",
"(",
"s",
"*",
"NetworkACLService",
")",
"ListNetworkACLs",
"(",
"p",
"*",
"ListNetworkACLsParams",
")",
"(",
"*",
"ListNetworkACLsResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",... | // Lists all network ACL items | [
"Lists",
"all",
"network",
"ACL",
"items"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NetworkACLService.go#L1006-L1018 |
23,509 | xanzy/go-cloudstack | cloudstack/NetworkACLService.go | NewReplaceNetworkACLListParams | func (s *NetworkACLService) NewReplaceNetworkACLListParams(aclid string) *ReplaceNetworkACLListParams {
p := &ReplaceNetworkACLListParams{}
p.p = make(map[string]interface{})
p.p["aclid"] = aclid
return p
} | go | func (s *NetworkACLService) NewReplaceNetworkACLListParams(aclid string) *ReplaceNetworkACLListParams {
p := &ReplaceNetworkACLListParams{}
p.p = make(map[string]interface{})
p.p["aclid"] = aclid
return p
} | [
"func",
"(",
"s",
"*",
"NetworkACLService",
")",
"NewReplaceNetworkACLListParams",
"(",
"aclid",
"string",
")",
"*",
"ReplaceNetworkACLListParams",
"{",
"p",
":=",
"&",
"ReplaceNetworkACLListParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",... | // You should always use this function to get a new ReplaceNetworkACLListParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ReplaceNetworkACLListParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NetworkACLService.go#L1089-L1094 |
23,510 | xanzy/go-cloudstack | cloudstack/NetworkACLService.go | ReplaceNetworkACLList | func (s *NetworkACLService) ReplaceNetworkACLList(p *ReplaceNetworkACLListParams) (*ReplaceNetworkACLListResponse, error) {
resp, err := s.cs.newRequest("replaceNetworkACLList", p.toURLValues())
if err != nil {
return nil, err
}
var r ReplaceNetworkACLListResponse
if err := json.Unmarshal(resp, &r); err != nil ... | go | func (s *NetworkACLService) ReplaceNetworkACLList(p *ReplaceNetworkACLListParams) (*ReplaceNetworkACLListResponse, error) {
resp, err := s.cs.newRequest("replaceNetworkACLList", p.toURLValues())
if err != nil {
return nil, err
}
var r ReplaceNetworkACLListResponse
if err := json.Unmarshal(resp, &r); err != nil ... | [
"func",
"(",
"s",
"*",
"NetworkACLService",
")",
"ReplaceNetworkACLList",
"(",
"p",
"*",
"ReplaceNetworkACLListParams",
")",
"(",
"*",
"ReplaceNetworkACLListResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
... | // Replaces ACL associated with a network or private gateway | [
"Replaces",
"ACL",
"associated",
"with",
"a",
"network",
"or",
"private",
"gateway"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NetworkACLService.go#L1097-L1124 |
23,511 | xanzy/go-cloudstack | cloudstack/NetworkACLService.go | NewUpdateNetworkACLItemParams | func (s *NetworkACLService) NewUpdateNetworkACLItemParams(id string) *UpdateNetworkACLItemParams {
p := &UpdateNetworkACLItemParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *NetworkACLService) NewUpdateNetworkACLItemParams(id string) *UpdateNetworkACLItemParams {
p := &UpdateNetworkACLItemParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"NetworkACLService",
")",
"NewUpdateNetworkACLItemParams",
"(",
"id",
"string",
")",
"*",
"UpdateNetworkACLItemParams",
"{",
"p",
":=",
"&",
"UpdateNetworkACLItemParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"st... | // You should always use this function to get a new UpdateNetworkACLItemParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"UpdateNetworkACLItemParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NetworkACLService.go#L1285-L1290 |
23,512 | xanzy/go-cloudstack | cloudstack/NetworkACLService.go | UpdateNetworkACLItem | func (s *NetworkACLService) UpdateNetworkACLItem(p *UpdateNetworkACLItemParams) (*UpdateNetworkACLItemResponse, error) {
resp, err := s.cs.newRequest("updateNetworkACLItem", p.toURLValues())
if err != nil {
return nil, err
}
var r UpdateNetworkACLItemResponse
if err := json.Unmarshal(resp, &r); err != nil {
r... | go | func (s *NetworkACLService) UpdateNetworkACLItem(p *UpdateNetworkACLItemParams) (*UpdateNetworkACLItemResponse, error) {
resp, err := s.cs.newRequest("updateNetworkACLItem", p.toURLValues())
if err != nil {
return nil, err
}
var r UpdateNetworkACLItemResponse
if err := json.Unmarshal(resp, &r); err != nil {
r... | [
"func",
"(",
"s",
"*",
"NetworkACLService",
")",
"UpdateNetworkACLItem",
"(",
"p",
"*",
"UpdateNetworkACLItemParams",
")",
"(",
"*",
"UpdateNetworkACLItemResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"... | // Updates ACL item with specified ID | [
"Updates",
"ACL",
"item",
"with",
"specified",
"ID"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NetworkACLService.go#L1293-L1325 |
23,513 | xanzy/go-cloudstack | cloudstack/NetworkACLService.go | NewUpdateNetworkACLListParams | func (s *NetworkACLService) NewUpdateNetworkACLListParams(id string) *UpdateNetworkACLListParams {
p := &UpdateNetworkACLListParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *NetworkACLService) NewUpdateNetworkACLListParams(id string) *UpdateNetworkACLListParams {
p := &UpdateNetworkACLListParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"NetworkACLService",
")",
"NewUpdateNetworkACLListParams",
"(",
"id",
"string",
")",
"*",
"UpdateNetworkACLListParams",
"{",
"p",
":=",
"&",
"UpdateNetworkACLListParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"st... | // You should always use this function to get a new UpdateNetworkACLListParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"UpdateNetworkACLListParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NetworkACLService.go#L1393-L1398 |
23,514 | xanzy/go-cloudstack | cloudstack/NetworkACLService.go | UpdateNetworkACLList | func (s *NetworkACLService) UpdateNetworkACLList(p *UpdateNetworkACLListParams) (*UpdateNetworkACLListResponse, error) {
resp, err := s.cs.newRequest("updateNetworkACLList", p.toURLValues())
if err != nil {
return nil, err
}
var r UpdateNetworkACLListResponse
if err := json.Unmarshal(resp, &r); err != nil {
r... | go | func (s *NetworkACLService) UpdateNetworkACLList(p *UpdateNetworkACLListParams) (*UpdateNetworkACLListResponse, error) {
resp, err := s.cs.newRequest("updateNetworkACLList", p.toURLValues())
if err != nil {
return nil, err
}
var r UpdateNetworkACLListResponse
if err := json.Unmarshal(resp, &r); err != nil {
r... | [
"func",
"(",
"s",
"*",
"NetworkACLService",
")",
"UpdateNetworkACLList",
"(",
"p",
"*",
"UpdateNetworkACLListParams",
")",
"(",
"*",
"UpdateNetworkACLListResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"... | // Updates network ACL list | [
"Updates",
"network",
"ACL",
"list"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NetworkACLService.go#L1401-L1428 |
23,515 | xanzy/go-cloudstack | cloudstack/BigSwitchBCFService.go | NewAddBigSwitchBcfDeviceParams | func (s *BigSwitchBCFService) NewAddBigSwitchBcfDeviceParams(hostname string, nat bool, password string, physicalnetworkid string, username string) *AddBigSwitchBcfDeviceParams {
p := &AddBigSwitchBcfDeviceParams{}
p.p = make(map[string]interface{})
p.p["hostname"] = hostname
p.p["nat"] = nat
p.p["password"] = pas... | go | func (s *BigSwitchBCFService) NewAddBigSwitchBcfDeviceParams(hostname string, nat bool, password string, physicalnetworkid string, username string) *AddBigSwitchBcfDeviceParams {
p := &AddBigSwitchBcfDeviceParams{}
p.p = make(map[string]interface{})
p.p["hostname"] = hostname
p.p["nat"] = nat
p.p["password"] = pas... | [
"func",
"(",
"s",
"*",
"BigSwitchBCFService",
")",
"NewAddBigSwitchBcfDeviceParams",
"(",
"hostname",
"string",
",",
"nat",
"bool",
",",
"password",
"string",
",",
"physicalnetworkid",
"string",
",",
"username",
"string",
")",
"*",
"AddBigSwitchBcfDeviceParams",
"{"... | // You should always use this function to get a new AddBigSwitchBcfDeviceParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"AddBigSwitchBcfDeviceParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/BigSwitchBCFService.go#L95-L104 |
23,516 | xanzy/go-cloudstack | cloudstack/BigSwitchBCFService.go | AddBigSwitchBcfDevice | func (s *BigSwitchBCFService) AddBigSwitchBcfDevice(p *AddBigSwitchBcfDeviceParams) (*AddBigSwitchBcfDeviceResponse, error) {
resp, err := s.cs.newRequest("addBigSwitchBcfDevice", p.toURLValues())
if err != nil {
return nil, err
}
var r AddBigSwitchBcfDeviceResponse
if err := json.Unmarshal(resp, &r); err != ni... | go | func (s *BigSwitchBCFService) AddBigSwitchBcfDevice(p *AddBigSwitchBcfDeviceParams) (*AddBigSwitchBcfDeviceResponse, error) {
resp, err := s.cs.newRequest("addBigSwitchBcfDevice", p.toURLValues())
if err != nil {
return nil, err
}
var r AddBigSwitchBcfDeviceResponse
if err := json.Unmarshal(resp, &r); err != ni... | [
"func",
"(",
"s",
"*",
"BigSwitchBCFService",
")",
"AddBigSwitchBcfDevice",
"(",
"p",
"*",
"AddBigSwitchBcfDeviceParams",
")",
"(",
"*",
"AddBigSwitchBcfDeviceResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
... | // Adds a BigSwitch BCF Controller device | [
"Adds",
"a",
"BigSwitch",
"BCF",
"Controller",
"device"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/BigSwitchBCFService.go#L107-L139 |
23,517 | xanzy/go-cloudstack | cloudstack/BigSwitchBCFService.go | NewDeleteBigSwitchBcfDeviceParams | func (s *BigSwitchBCFService) NewDeleteBigSwitchBcfDeviceParams(bcfdeviceid string) *DeleteBigSwitchBcfDeviceParams {
p := &DeleteBigSwitchBcfDeviceParams{}
p.p = make(map[string]interface{})
p.p["bcfdeviceid"] = bcfdeviceid
return p
} | go | func (s *BigSwitchBCFService) NewDeleteBigSwitchBcfDeviceParams(bcfdeviceid string) *DeleteBigSwitchBcfDeviceParams {
p := &DeleteBigSwitchBcfDeviceParams{}
p.p = make(map[string]interface{})
p.p["bcfdeviceid"] = bcfdeviceid
return p
} | [
"func",
"(",
"s",
"*",
"BigSwitchBCFService",
")",
"NewDeleteBigSwitchBcfDeviceParams",
"(",
"bcfdeviceid",
"string",
")",
"*",
"DeleteBigSwitchBcfDeviceParams",
"{",
"p",
":=",
"&",
"DeleteBigSwitchBcfDeviceParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"("... | // You should always use this function to get a new DeleteBigSwitchBcfDeviceParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DeleteBigSwitchBcfDeviceParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/BigSwitchBCFService.go#L178-L183 |
23,518 | xanzy/go-cloudstack | cloudstack/BigSwitchBCFService.go | DeleteBigSwitchBcfDevice | func (s *BigSwitchBCFService) DeleteBigSwitchBcfDevice(p *DeleteBigSwitchBcfDeviceParams) (*DeleteBigSwitchBcfDeviceResponse, error) {
resp, err := s.cs.newRequest("deleteBigSwitchBcfDevice", p.toURLValues())
if err != nil {
return nil, err
}
var r DeleteBigSwitchBcfDeviceResponse
if err := json.Unmarshal(resp,... | go | func (s *BigSwitchBCFService) DeleteBigSwitchBcfDevice(p *DeleteBigSwitchBcfDeviceParams) (*DeleteBigSwitchBcfDeviceResponse, error) {
resp, err := s.cs.newRequest("deleteBigSwitchBcfDevice", p.toURLValues())
if err != nil {
return nil, err
}
var r DeleteBigSwitchBcfDeviceResponse
if err := json.Unmarshal(resp,... | [
"func",
"(",
"s",
"*",
"BigSwitchBCFService",
")",
"DeleteBigSwitchBcfDevice",
"(",
"p",
"*",
"DeleteBigSwitchBcfDeviceParams",
")",
"(",
"*",
"DeleteBigSwitchBcfDeviceResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest"... | // delete a BigSwitch BCF Controller device | [
"delete",
"a",
"BigSwitch",
"BCF",
"Controller",
"device"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/BigSwitchBCFService.go#L186-L213 |
23,519 | xanzy/go-cloudstack | cloudstack/BigSwitchBCFService.go | NewListBigSwitchBcfDevicesParams | func (s *BigSwitchBCFService) NewListBigSwitchBcfDevicesParams() *ListBigSwitchBcfDevicesParams {
p := &ListBigSwitchBcfDevicesParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *BigSwitchBCFService) NewListBigSwitchBcfDevicesParams() *ListBigSwitchBcfDevicesParams {
p := &ListBigSwitchBcfDevicesParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"BigSwitchBCFService",
")",
"NewListBigSwitchBcfDevicesParams",
"(",
")",
"*",
"ListBigSwitchBcfDevicesParams",
"{",
"p",
":=",
"&",
"ListBigSwitchBcfDevicesParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
... | // You should always use this function to get a new ListBigSwitchBcfDevicesParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListBigSwitchBcfDevicesParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/BigSwitchBCFService.go#L292-L296 |
23,520 | xanzy/go-cloudstack | cloudstack/BigSwitchBCFService.go | ListBigSwitchBcfDevices | func (s *BigSwitchBCFService) ListBigSwitchBcfDevices(p *ListBigSwitchBcfDevicesParams) (*ListBigSwitchBcfDevicesResponse, error) {
resp, err := s.cs.newRequest("listBigSwitchBcfDevices", p.toURLValues())
if err != nil {
return nil, err
}
var r ListBigSwitchBcfDevicesResponse
if err := json.Unmarshal(resp, &r);... | go | func (s *BigSwitchBCFService) ListBigSwitchBcfDevices(p *ListBigSwitchBcfDevicesParams) (*ListBigSwitchBcfDevicesResponse, error) {
resp, err := s.cs.newRequest("listBigSwitchBcfDevices", p.toURLValues())
if err != nil {
return nil, err
}
var r ListBigSwitchBcfDevicesResponse
if err := json.Unmarshal(resp, &r);... | [
"func",
"(",
"s",
"*",
"BigSwitchBCFService",
")",
"ListBigSwitchBcfDevices",
"(",
"p",
"*",
"ListBigSwitchBcfDevicesParams",
")",
"(",
"*",
"ListBigSwitchBcfDevicesResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
... | // Lists BigSwitch BCF Controller devices | [
"Lists",
"BigSwitch",
"BCF",
"Controller",
"devices"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/BigSwitchBCFService.go#L299-L311 |
23,521 | xanzy/go-cloudstack | cloudstack/ConfigurationService.go | NewListCapabilitiesParams | func (s *ConfigurationService) NewListCapabilitiesParams() *ListCapabilitiesParams {
p := &ListCapabilitiesParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *ConfigurationService) NewListCapabilitiesParams() *ListCapabilitiesParams {
p := &ListCapabilitiesParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"ConfigurationService",
")",
"NewListCapabilitiesParams",
"(",
")",
"*",
"ListCapabilitiesParams",
"{",
"p",
":=",
"&",
"ListCapabilitiesParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
... | // You should always use this function to get a new ListCapabilitiesParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListCapabilitiesParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ConfigurationService.go#L39-L43 |
23,522 | xanzy/go-cloudstack | cloudstack/ConfigurationService.go | NewListConfigurationsParams | func (s *ConfigurationService) NewListConfigurationsParams() *ListConfigurationsParams {
p := &ListConfigurationsParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *ConfigurationService) NewListConfigurationsParams() *ListConfigurationsParams {
p := &ListConfigurationsParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"ConfigurationService",
")",
"NewListConfigurationsParams",
"(",
")",
"*",
"ListConfigurationsParams",
"{",
"p",
":=",
"&",
"ListConfigurationsParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interf... | // You should always use this function to get a new ListConfigurationsParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListConfigurationsParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ConfigurationService.go#L220-L224 |
23,523 | xanzy/go-cloudstack | cloudstack/ConfigurationService.go | ListConfigurations | func (s *ConfigurationService) ListConfigurations(p *ListConfigurationsParams) (*ListConfigurationsResponse, error) {
resp, err := s.cs.newRequest("listConfigurations", p.toURLValues())
if err != nil {
return nil, err
}
var r ListConfigurationsResponse
if err := json.Unmarshal(resp, &r); err != nil {
return n... | go | func (s *ConfigurationService) ListConfigurations(p *ListConfigurationsParams) (*ListConfigurationsResponse, error) {
resp, err := s.cs.newRequest("listConfigurations", p.toURLValues())
if err != nil {
return nil, err
}
var r ListConfigurationsResponse
if err := json.Unmarshal(resp, &r); err != nil {
return n... | [
"func",
"(",
"s",
"*",
"ConfigurationService",
")",
"ListConfigurations",
"(",
"p",
"*",
"ListConfigurationsParams",
")",
"(",
"*",
"ListConfigurationsResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
... | // Lists all configurations. | [
"Lists",
"all",
"configurations",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ConfigurationService.go#L227-L239 |
23,524 | xanzy/go-cloudstack | cloudstack/ConfigurationService.go | NewListDeploymentPlannersParams | func (s *ConfigurationService) NewListDeploymentPlannersParams() *ListDeploymentPlannersParams {
p := &ListDeploymentPlannersParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *ConfigurationService) NewListDeploymentPlannersParams() *ListDeploymentPlannersParams {
p := &ListDeploymentPlannersParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"ConfigurationService",
")",
"NewListDeploymentPlannersParams",
"(",
")",
"*",
"ListDeploymentPlannersParams",
"{",
"p",
":=",
"&",
"ListDeploymentPlannersParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]... | // You should always use this function to get a new ListDeploymentPlannersParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListDeploymentPlannersParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ConfigurationService.go#L304-L308 |
23,525 | xanzy/go-cloudstack | cloudstack/ConfigurationService.go | ListDeploymentPlanners | func (s *ConfigurationService) ListDeploymentPlanners(p *ListDeploymentPlannersParams) (*ListDeploymentPlannersResponse, error) {
resp, err := s.cs.newRequest("listDeploymentPlanners", p.toURLValues())
if err != nil {
return nil, err
}
var r ListDeploymentPlannersResponse
if err := json.Unmarshal(resp, &r); err... | go | func (s *ConfigurationService) ListDeploymentPlanners(p *ListDeploymentPlannersParams) (*ListDeploymentPlannersResponse, error) {
resp, err := s.cs.newRequest("listDeploymentPlanners", p.toURLValues())
if err != nil {
return nil, err
}
var r ListDeploymentPlannersResponse
if err := json.Unmarshal(resp, &r); err... | [
"func",
"(",
"s",
"*",
"ConfigurationService",
")",
"ListDeploymentPlanners",
"(",
"p",
"*",
"ListDeploymentPlannersParams",
")",
"(",
"*",
"ListDeploymentPlannersResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"... | // Lists all DeploymentPlanners available. | [
"Lists",
"all",
"DeploymentPlanners",
"available",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ConfigurationService.go#L311-L323 |
23,526 | xanzy/go-cloudstack | cloudstack/ConfigurationService.go | NewUpdateConfigurationParams | func (s *ConfigurationService) NewUpdateConfigurationParams(name string) *UpdateConfigurationParams {
p := &UpdateConfigurationParams{}
p.p = make(map[string]interface{})
p.p["name"] = name
return p
} | go | func (s *ConfigurationService) NewUpdateConfigurationParams(name string) *UpdateConfigurationParams {
p := &UpdateConfigurationParams{}
p.p = make(map[string]interface{})
p.p["name"] = name
return p
} | [
"func",
"(",
"s",
"*",
"ConfigurationService",
")",
"NewUpdateConfigurationParams",
"(",
"name",
"string",
")",
"*",
"UpdateConfigurationParams",
"{",
"p",
":=",
"&",
"UpdateConfigurationParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"... | // You should always use this function to get a new UpdateConfigurationParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"UpdateConfigurationParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ConfigurationService.go#L436-L441 |
23,527 | xanzy/go-cloudstack | cloudstack/ConfigurationService.go | UpdateConfiguration | func (s *ConfigurationService) UpdateConfiguration(p *UpdateConfigurationParams) (*UpdateConfigurationResponse, error) {
resp, err := s.cs.newRequest("updateConfiguration", p.toURLValues())
if err != nil {
return nil, err
}
var r UpdateConfigurationResponse
if err := json.Unmarshal(resp, &r); err != nil {
ret... | go | func (s *ConfigurationService) UpdateConfiguration(p *UpdateConfigurationParams) (*UpdateConfigurationResponse, error) {
resp, err := s.cs.newRequest("updateConfiguration", p.toURLValues())
if err != nil {
return nil, err
}
var r UpdateConfigurationResponse
if err := json.Unmarshal(resp, &r); err != nil {
ret... | [
"func",
"(",
"s",
"*",
"ConfigurationService",
")",
"UpdateConfiguration",
"(",
"p",
"*",
"UpdateConfigurationParams",
")",
"(",
"*",
"UpdateConfigurationResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"... | // Updates a configuration. | [
"Updates",
"a",
"configuration",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ConfigurationService.go#L444-L456 |
23,528 | xanzy/go-cloudstack | cloudstack/PoolService.go | NewCreateStoragePoolParams | func (s *PoolService) NewCreateStoragePoolParams(name string, url string, zoneid string) *CreateStoragePoolParams {
p := &CreateStoragePoolParams{}
p.p = make(map[string]interface{})
p.p["name"] = name
p.p["url"] = url
p.p["zoneid"] = zoneid
return p
} | go | func (s *PoolService) NewCreateStoragePoolParams(name string, url string, zoneid string) *CreateStoragePoolParams {
p := &CreateStoragePoolParams{}
p.p = make(map[string]interface{})
p.p["name"] = name
p.p["url"] = url
p.p["zoneid"] = zoneid
return p
} | [
"func",
"(",
"s",
"*",
"PoolService",
")",
"NewCreateStoragePoolParams",
"(",
"name",
"string",
",",
"url",
"string",
",",
"zoneid",
"string",
")",
"*",
"CreateStoragePoolParams",
"{",
"p",
":=",
"&",
"CreateStoragePoolParams",
"{",
"}",
"\n",
"p",
".",
"p",... | // You should always use this function to get a new CreateStoragePoolParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CreateStoragePoolParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/PoolService.go#L191-L198 |
23,529 | xanzy/go-cloudstack | cloudstack/PoolService.go | NewDeleteStoragePoolParams | func (s *PoolService) NewDeleteStoragePoolParams(id string) *DeleteStoragePoolParams {
p := &DeleteStoragePoolParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *PoolService) NewDeleteStoragePoolParams(id string) *DeleteStoragePoolParams {
p := &DeleteStoragePoolParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"PoolService",
")",
"NewDeleteStoragePoolParams",
"(",
"id",
"string",
")",
"*",
"DeleteStoragePoolParams",
"{",
"p",
":=",
"&",
"DeleteStoragePoolParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
... | // You should always use this function to get a new DeleteStoragePoolParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DeleteStoragePoolParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/PoolService.go#L280-L285 |
23,530 | xanzy/go-cloudstack | cloudstack/PoolService.go | NewFindStoragePoolsForMigrationParams | func (s *PoolService) NewFindStoragePoolsForMigrationParams(id string) *FindStoragePoolsForMigrationParams {
p := &FindStoragePoolsForMigrationParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *PoolService) NewFindStoragePoolsForMigrationParams(id string) *FindStoragePoolsForMigrationParams {
p := &FindStoragePoolsForMigrationParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"PoolService",
")",
"NewFindStoragePoolsForMigrationParams",
"(",
"id",
"string",
")",
"*",
"FindStoragePoolsForMigrationParams",
"{",
"p",
":=",
"&",
"FindStoragePoolsForMigrationParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"... | // You should always use this function to get a new FindStoragePoolsForMigrationParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"FindStoragePoolsForMigrationParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/PoolService.go#L386-L391 |
23,531 | xanzy/go-cloudstack | cloudstack/PoolService.go | NewListStoragePoolsParams | func (s *PoolService) NewListStoragePoolsParams() *ListStoragePoolsParams {
p := &ListStoragePoolsParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *PoolService) NewListStoragePoolsParams() *ListStoragePoolsParams {
p := &ListStoragePoolsParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"PoolService",
")",
"NewListStoragePoolsParams",
"(",
")",
"*",
"ListStoragePoolsParams",
"{",
"p",
":=",
"&",
"ListStoragePoolsParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
... | // You should always use this function to get a new ListStoragePoolsParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListStoragePoolsParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/PoolService.go#L573-L577 |
23,532 | xanzy/go-cloudstack | cloudstack/PoolService.go | NewUpdateStoragePoolParams | func (s *PoolService) NewUpdateStoragePoolParams(id string) *UpdateStoragePoolParams {
p := &UpdateStoragePoolParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *PoolService) NewUpdateStoragePoolParams(id string) *UpdateStoragePoolParams {
p := &UpdateStoragePoolParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"PoolService",
")",
"NewUpdateStoragePoolParams",
"(",
"id",
"string",
")",
"*",
"UpdateStoragePoolParams",
"{",
"p",
":=",
"&",
"UpdateStoragePoolParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
... | // You should always use this function to get a new UpdateStoragePoolParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"UpdateStoragePoolParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/PoolService.go#L783-L788 |
23,533 | xanzy/go-cloudstack | cloudstack/SwiftService.go | NewAddSwiftParams | func (s *SwiftService) NewAddSwiftParams(url string) *AddSwiftParams {
p := &AddSwiftParams{}
p.p = make(map[string]interface{})
p.p["url"] = url
return p
} | go | func (s *SwiftService) NewAddSwiftParams(url string) *AddSwiftParams {
p := &AddSwiftParams{}
p.p = make(map[string]interface{})
p.p["url"] = url
return p
} | [
"func",
"(",
"s",
"*",
"SwiftService",
")",
"NewAddSwiftParams",
"(",
"url",
"string",
")",
"*",
"AddSwiftParams",
"{",
"p",
":=",
"&",
"AddSwiftParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
"}... | // You should always use this function to get a new AddSwiftParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"AddSwiftParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SwiftService.go#L84-L89 |
23,534 | xanzy/go-cloudstack | cloudstack/SwiftService.go | AddSwift | func (s *SwiftService) AddSwift(p *AddSwiftParams) (*AddSwiftResponse, error) {
resp, err := s.cs.newRequest("addSwift", p.toURLValues())
if err != nil {
return nil, err
}
var r AddSwiftResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
return &r, nil
} | go | func (s *SwiftService) AddSwift(p *AddSwiftParams) (*AddSwiftResponse, error) {
resp, err := s.cs.newRequest("addSwift", p.toURLValues())
if err != nil {
return nil, err
}
var r AddSwiftResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
return &r, nil
} | [
"func",
"(",
"s",
"*",
"SwiftService",
")",
"AddSwift",
"(",
"p",
"*",
"AddSwiftParams",
")",
"(",
"*",
"AddSwiftResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
"p",
".",
"toURLV... | // Adds Swift. | [
"Adds",
"Swift",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SwiftService.go#L92-L104 |
23,535 | xanzy/go-cloudstack | cloudstack/SwiftService.go | NewListSwiftsParams | func (s *SwiftService) NewListSwiftsParams() *ListSwiftsParams {
p := &ListSwiftsParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *SwiftService) NewListSwiftsParams() *ListSwiftsParams {
p := &ListSwiftsParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"SwiftService",
")",
"NewListSwiftsParams",
"(",
")",
"*",
"ListSwiftsParams",
"{",
"p",
":=",
"&",
"ListSwiftsParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
"}",
")",
"\n... | // You should always use this function to get a new ListSwiftsParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListSwiftsParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SwiftService.go#L178-L182 |
23,536 | xanzy/go-cloudstack | cloudstack/SwiftService.go | ListSwifts | func (s *SwiftService) ListSwifts(p *ListSwiftsParams) (*ListSwiftsResponse, error) {
resp, err := s.cs.newRequest("listSwifts", p.toURLValues())
if err != nil {
return nil, err
}
var r ListSwiftsResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
return &r, nil
} | go | func (s *SwiftService) ListSwifts(p *ListSwiftsParams) (*ListSwiftsResponse, error) {
resp, err := s.cs.newRequest("listSwifts", p.toURLValues())
if err != nil {
return nil, err
}
var r ListSwiftsResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
return &r, nil
} | [
"func",
"(",
"s",
"*",
"SwiftService",
")",
"ListSwifts",
"(",
"p",
"*",
"ListSwiftsParams",
")",
"(",
"*",
"ListSwiftsResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
"p",
".",
"... | // List Swift. | [
"List",
"Swift",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SwiftService.go#L221-L233 |
23,537 | xanzy/go-cloudstack | cloudstack/SnapshotService.go | NewCreateSnapshotParams | func (s *SnapshotService) NewCreateSnapshotParams(volumeid string) *CreateSnapshotParams {
p := &CreateSnapshotParams{}
p.p = make(map[string]interface{})
p.p["volumeid"] = volumeid
return p
} | go | func (s *SnapshotService) NewCreateSnapshotParams(volumeid string) *CreateSnapshotParams {
p := &CreateSnapshotParams{}
p.p = make(map[string]interface{})
p.p["volumeid"] = volumeid
return p
} | [
"func",
"(",
"s",
"*",
"SnapshotService",
")",
"NewCreateSnapshotParams",
"(",
"volumeid",
"string",
")",
"*",
"CreateSnapshotParams",
"{",
"p",
":=",
"&",
"CreateSnapshotParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
... | // You should always use this function to get a new CreateSnapshotParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CreateSnapshotParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SnapshotService.go#L131-L136 |
23,538 | xanzy/go-cloudstack | cloudstack/SnapshotService.go | CreateSnapshot | func (s *SnapshotService) CreateSnapshot(p *CreateSnapshotParams) (*CreateSnapshotResponse, error) {
resp, err := s.cs.newRequest("createSnapshot", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateSnapshotResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we hav... | go | func (s *SnapshotService) CreateSnapshot(p *CreateSnapshotParams) (*CreateSnapshotResponse, error) {
resp, err := s.cs.newRequest("createSnapshot", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateSnapshotResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we hav... | [
"func",
"(",
"s",
"*",
"SnapshotService",
")",
"CreateSnapshot",
"(",
"p",
"*",
"CreateSnapshotParams",
")",
"(",
"*",
"CreateSnapshotResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
... | // Creates an instant snapshot of a volume. | [
"Creates",
"an",
"instant",
"snapshot",
"of",
"a",
"volume",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SnapshotService.go#L139-L171 |
23,539 | xanzy/go-cloudstack | cloudstack/SnapshotService.go | NewCreateSnapshotPolicyParams | func (s *SnapshotService) NewCreateSnapshotPolicyParams(intervaltype string, maxsnaps int, schedule string, timezone string, volumeid string) *CreateSnapshotPolicyParams {
p := &CreateSnapshotPolicyParams{}
p.p = make(map[string]interface{})
p.p["intervaltype"] = intervaltype
p.p["maxsnaps"] = maxsnaps
p.p["schedu... | go | func (s *SnapshotService) NewCreateSnapshotPolicyParams(intervaltype string, maxsnaps int, schedule string, timezone string, volumeid string) *CreateSnapshotPolicyParams {
p := &CreateSnapshotPolicyParams{}
p.p = make(map[string]interface{})
p.p["intervaltype"] = intervaltype
p.p["maxsnaps"] = maxsnaps
p.p["schedu... | [
"func",
"(",
"s",
"*",
"SnapshotService",
")",
"NewCreateSnapshotPolicyParams",
"(",
"intervaltype",
"string",
",",
"maxsnaps",
"int",
",",
"schedule",
"string",
",",
"timezone",
"string",
",",
"volumeid",
"string",
")",
"*",
"CreateSnapshotPolicyParams",
"{",
"p"... | // You should always use this function to get a new CreateSnapshotPolicyParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CreateSnapshotPolicyParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SnapshotService.go#L281-L290 |
23,540 | xanzy/go-cloudstack | cloudstack/SnapshotService.go | CreateSnapshotPolicy | func (s *SnapshotService) CreateSnapshotPolicy(p *CreateSnapshotPolicyParams) (*CreateSnapshotPolicyResponse, error) {
resp, err := s.cs.newRequest("createSnapshotPolicy", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateSnapshotPolicyResponse
if err := json.Unmarshal(resp, &r); err != nil {
ret... | go | func (s *SnapshotService) CreateSnapshotPolicy(p *CreateSnapshotPolicyParams) (*CreateSnapshotPolicyResponse, error) {
resp, err := s.cs.newRequest("createSnapshotPolicy", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateSnapshotPolicyResponse
if err := json.Unmarshal(resp, &r); err != nil {
ret... | [
"func",
"(",
"s",
"*",
"SnapshotService",
")",
"CreateSnapshotPolicy",
"(",
"p",
"*",
"CreateSnapshotPolicyParams",
")",
"(",
"*",
"CreateSnapshotPolicyResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",... | // Creates a snapshot policy for the account. | [
"Creates",
"a",
"snapshot",
"policy",
"for",
"the",
"account",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SnapshotService.go#L293-L305 |
23,541 | xanzy/go-cloudstack | cloudstack/SnapshotService.go | NewCreateVMSnapshotParams | func (s *SnapshotService) NewCreateVMSnapshotParams(virtualmachineid string) *CreateVMSnapshotParams {
p := &CreateVMSnapshotParams{}
p.p = make(map[string]interface{})
p.p["virtualmachineid"] = virtualmachineid
return p
} | go | func (s *SnapshotService) NewCreateVMSnapshotParams(virtualmachineid string) *CreateVMSnapshotParams {
p := &CreateVMSnapshotParams{}
p.p = make(map[string]interface{})
p.p["virtualmachineid"] = virtualmachineid
return p
} | [
"func",
"(",
"s",
"*",
"SnapshotService",
")",
"NewCreateVMSnapshotParams",
"(",
"virtualmachineid",
"string",
")",
"*",
"CreateVMSnapshotParams",
"{",
"p",
":=",
"&",
"CreateVMSnapshotParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"st... | // You should always use this function to get a new CreateVMSnapshotParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CreateVMSnapshotParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SnapshotService.go#L388-L393 |
23,542 | xanzy/go-cloudstack | cloudstack/SnapshotService.go | CreateVMSnapshot | func (s *SnapshotService) CreateVMSnapshot(p *CreateVMSnapshotParams) (*CreateVMSnapshotResponse, error) {
resp, err := s.cs.newRequest("createVMSnapshot", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateVMSnapshotResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
//... | go | func (s *SnapshotService) CreateVMSnapshot(p *CreateVMSnapshotParams) (*CreateVMSnapshotResponse, error) {
resp, err := s.cs.newRequest("createVMSnapshot", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateVMSnapshotResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
//... | [
"func",
"(",
"s",
"*",
"SnapshotService",
")",
"CreateVMSnapshot",
"(",
"p",
"*",
"CreateVMSnapshotParams",
")",
"(",
"*",
"CreateVMSnapshotResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
"... | // Creates snapshot for a vm. | [
"Creates",
"snapshot",
"for",
"a",
"vm",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SnapshotService.go#L396-L428 |
23,543 | xanzy/go-cloudstack | cloudstack/SnapshotService.go | NewDeleteSnapshotParams | func (s *SnapshotService) NewDeleteSnapshotParams(id string) *DeleteSnapshotParams {
p := &DeleteSnapshotParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *SnapshotService) NewDeleteSnapshotParams(id string) *DeleteSnapshotParams {
p := &DeleteSnapshotParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"SnapshotService",
")",
"NewDeleteSnapshotParams",
"(",
"id",
"string",
")",
"*",
"DeleteSnapshotParams",
"{",
"p",
":=",
"&",
"DeleteSnapshotParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"int... | // You should always use this function to get a new DeleteSnapshotParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DeleteSnapshotParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SnapshotService.go#L476-L481 |
23,544 | xanzy/go-cloudstack | cloudstack/SnapshotService.go | DeleteSnapshot | func (s *SnapshotService) DeleteSnapshot(p *DeleteSnapshotParams) (*DeleteSnapshotResponse, error) {
resp, err := s.cs.newRequest("deleteSnapshot", p.toURLValues())
if err != nil {
return nil, err
}
var r DeleteSnapshotResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we hav... | go | func (s *SnapshotService) DeleteSnapshot(p *DeleteSnapshotParams) (*DeleteSnapshotResponse, error) {
resp, err := s.cs.newRequest("deleteSnapshot", p.toURLValues())
if err != nil {
return nil, err
}
var r DeleteSnapshotResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we hav... | [
"func",
"(",
"s",
"*",
"SnapshotService",
")",
"DeleteSnapshot",
"(",
"p",
"*",
"DeleteSnapshotParams",
")",
"(",
"*",
"DeleteSnapshotResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
... | // Deletes a snapshot of a disk volume. | [
"Deletes",
"a",
"snapshot",
"of",
"a",
"disk",
"volume",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SnapshotService.go#L484-L511 |
23,545 | xanzy/go-cloudstack | cloudstack/SnapshotService.go | NewDeleteSnapshotPoliciesParams | func (s *SnapshotService) NewDeleteSnapshotPoliciesParams() *DeleteSnapshotPoliciesParams {
p := &DeleteSnapshotPoliciesParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *SnapshotService) NewDeleteSnapshotPoliciesParams() *DeleteSnapshotPoliciesParams {
p := &DeleteSnapshotPoliciesParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"SnapshotService",
")",
"NewDeleteSnapshotPoliciesParams",
"(",
")",
"*",
"DeleteSnapshotPoliciesParams",
"{",
"p",
":=",
"&",
"DeleteSnapshotPoliciesParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
... | // You should always use this function to get a new DeleteSnapshotPoliciesParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DeleteSnapshotPoliciesParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SnapshotService.go#L556-L560 |
23,546 | xanzy/go-cloudstack | cloudstack/SnapshotService.go | DeleteSnapshotPolicies | func (s *SnapshotService) DeleteSnapshotPolicies(p *DeleteSnapshotPoliciesParams) (*DeleteSnapshotPoliciesResponse, error) {
resp, err := s.cs.newRequest("deleteSnapshotPolicies", p.toURLValues())
if err != nil {
return nil, err
}
var r DeleteSnapshotPoliciesResponse
if err := json.Unmarshal(resp, &r); err != n... | go | func (s *SnapshotService) DeleteSnapshotPolicies(p *DeleteSnapshotPoliciesParams) (*DeleteSnapshotPoliciesResponse, error) {
resp, err := s.cs.newRequest("deleteSnapshotPolicies", p.toURLValues())
if err != nil {
return nil, err
}
var r DeleteSnapshotPoliciesResponse
if err := json.Unmarshal(resp, &r); err != n... | [
"func",
"(",
"s",
"*",
"SnapshotService",
")",
"DeleteSnapshotPolicies",
"(",
"p",
"*",
"DeleteSnapshotPoliciesParams",
")",
"(",
"*",
"DeleteSnapshotPoliciesResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
... | // Deletes snapshot policies for the account. | [
"Deletes",
"snapshot",
"policies",
"for",
"the",
"account",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SnapshotService.go#L563-L575 |
23,547 | xanzy/go-cloudstack | cloudstack/SnapshotService.go | NewDeleteVMSnapshotParams | func (s *SnapshotService) NewDeleteVMSnapshotParams(vmsnapshotid string) *DeleteVMSnapshotParams {
p := &DeleteVMSnapshotParams{}
p.p = make(map[string]interface{})
p.p["vmsnapshotid"] = vmsnapshotid
return p
} | go | func (s *SnapshotService) NewDeleteVMSnapshotParams(vmsnapshotid string) *DeleteVMSnapshotParams {
p := &DeleteVMSnapshotParams{}
p.p = make(map[string]interface{})
p.p["vmsnapshotid"] = vmsnapshotid
return p
} | [
"func",
"(",
"s",
"*",
"SnapshotService",
")",
"NewDeleteVMSnapshotParams",
"(",
"vmsnapshotid",
"string",
")",
"*",
"DeleteVMSnapshotParams",
"{",
"p",
":=",
"&",
"DeleteVMSnapshotParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string... | // You should always use this function to get a new DeleteVMSnapshotParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DeleteVMSnapshotParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SnapshotService.go#L626-L631 |
23,548 | xanzy/go-cloudstack | cloudstack/SnapshotService.go | DeleteVMSnapshot | func (s *SnapshotService) DeleteVMSnapshot(p *DeleteVMSnapshotParams) (*DeleteVMSnapshotResponse, error) {
resp, err := s.cs.newRequest("deleteVMSnapshot", p.toURLValues())
if err != nil {
return nil, err
}
var r DeleteVMSnapshotResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
//... | go | func (s *SnapshotService) DeleteVMSnapshot(p *DeleteVMSnapshotParams) (*DeleteVMSnapshotResponse, error) {
resp, err := s.cs.newRequest("deleteVMSnapshot", p.toURLValues())
if err != nil {
return nil, err
}
var r DeleteVMSnapshotResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
//... | [
"func",
"(",
"s",
"*",
"SnapshotService",
")",
"DeleteVMSnapshot",
"(",
"p",
"*",
"DeleteVMSnapshotParams",
")",
"(",
"*",
"DeleteVMSnapshotResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
"... | // Deletes a vmsnapshot. | [
"Deletes",
"a",
"vmsnapshot",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SnapshotService.go#L634-L661 |
23,549 | xanzy/go-cloudstack | cloudstack/SnapshotService.go | NewListSnapshotPoliciesParams | func (s *SnapshotService) NewListSnapshotPoliciesParams() *ListSnapshotPoliciesParams {
p := &ListSnapshotPoliciesParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *SnapshotService) NewListSnapshotPoliciesParams() *ListSnapshotPoliciesParams {
p := &ListSnapshotPoliciesParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"SnapshotService",
")",
"NewListSnapshotPoliciesParams",
"(",
")",
"*",
"ListSnapshotPoliciesParams",
"{",
"p",
":=",
"&",
"ListSnapshotPoliciesParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"inter... | // You should always use this function to get a new ListSnapshotPoliciesParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListSnapshotPoliciesParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SnapshotService.go#L752-L756 |
23,550 | xanzy/go-cloudstack | cloudstack/SnapshotService.go | ListSnapshotPolicies | func (s *SnapshotService) ListSnapshotPolicies(p *ListSnapshotPoliciesParams) (*ListSnapshotPoliciesResponse, error) {
resp, err := s.cs.newRequest("listSnapshotPolicies", p.toURLValues())
if err != nil {
return nil, err
}
var r ListSnapshotPoliciesResponse
if err := json.Unmarshal(resp, &r); err != nil {
ret... | go | func (s *SnapshotService) ListSnapshotPolicies(p *ListSnapshotPoliciesParams) (*ListSnapshotPoliciesResponse, error) {
resp, err := s.cs.newRequest("listSnapshotPolicies", p.toURLValues())
if err != nil {
return nil, err
}
var r ListSnapshotPoliciesResponse
if err := json.Unmarshal(resp, &r); err != nil {
ret... | [
"func",
"(",
"s",
"*",
"SnapshotService",
")",
"ListSnapshotPolicies",
"(",
"p",
"*",
"ListSnapshotPoliciesParams",
")",
"(",
"*",
"ListSnapshotPoliciesResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",... | // Lists snapshot policies. | [
"Lists",
"snapshot",
"policies",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SnapshotService.go#L792-L804 |
23,551 | xanzy/go-cloudstack | cloudstack/SnapshotService.go | NewListSnapshotsParams | func (s *SnapshotService) NewListSnapshotsParams() *ListSnapshotsParams {
p := &ListSnapshotsParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *SnapshotService) NewListSnapshotsParams() *ListSnapshotsParams {
p := &ListSnapshotsParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"SnapshotService",
")",
"NewListSnapshotsParams",
"(",
")",
"*",
"ListSnapshotsParams",
"{",
"p",
":=",
"&",
"ListSnapshotsParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
"}",
... | // You should always use this function to get a new ListSnapshotsParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListSnapshotsParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SnapshotService.go#L1021-L1025 |
23,552 | xanzy/go-cloudstack | cloudstack/SnapshotService.go | ListSnapshots | func (s *SnapshotService) ListSnapshots(p *ListSnapshotsParams) (*ListSnapshotsResponse, error) {
resp, err := s.cs.newRequest("listSnapshots", p.toURLValues())
if err != nil {
return nil, err
}
var r ListSnapshotsResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
return &r, nil
} | go | func (s *SnapshotService) ListSnapshots(p *ListSnapshotsParams) (*ListSnapshotsResponse, error) {
resp, err := s.cs.newRequest("listSnapshots", p.toURLValues())
if err != nil {
return nil, err
}
var r ListSnapshotsResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
return &r, nil
} | [
"func",
"(",
"s",
"*",
"SnapshotService",
")",
"ListSnapshots",
"(",
"p",
"*",
"ListSnapshotsParams",
")",
"(",
"*",
"ListSnapshotsResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
"p"... | // Lists all available snapshots for the account. | [
"Lists",
"all",
"available",
"snapshots",
"for",
"the",
"account",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SnapshotService.go#L1111-L1123 |
23,553 | xanzy/go-cloudstack | cloudstack/SnapshotService.go | NewListVMSnapshotParams | func (s *SnapshotService) NewListVMSnapshotParams() *ListVMSnapshotParams {
p := &ListVMSnapshotParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *SnapshotService) NewListVMSnapshotParams() *ListVMSnapshotParams {
p := &ListVMSnapshotParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"SnapshotService",
")",
"NewListVMSnapshotParams",
"(",
")",
"*",
"ListVMSnapshotParams",
"{",
"p",
":=",
"&",
"ListVMSnapshotParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
"}... | // You should always use this function to get a new ListVMSnapshotParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListVMSnapshotParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SnapshotService.go#L1333-L1337 |
23,554 | xanzy/go-cloudstack | cloudstack/SnapshotService.go | ListVMSnapshot | func (s *SnapshotService) ListVMSnapshot(p *ListVMSnapshotParams) (*ListVMSnapshotResponse, error) {
resp, err := s.cs.newRequest("listVMSnapshot", p.toURLValues())
if err != nil {
return nil, err
}
var r ListVMSnapshotResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
return &r, n... | go | func (s *SnapshotService) ListVMSnapshot(p *ListVMSnapshotParams) (*ListVMSnapshotResponse, error) {
resp, err := s.cs.newRequest("listVMSnapshot", p.toURLValues())
if err != nil {
return nil, err
}
var r ListVMSnapshotResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
return &r, n... | [
"func",
"(",
"s",
"*",
"SnapshotService",
")",
"ListVMSnapshot",
"(",
"p",
"*",
"ListVMSnapshotParams",
")",
"(",
"*",
"ListVMSnapshotResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
... | // List virtual machine snapshot by conditions | [
"List",
"virtual",
"machine",
"snapshot",
"by",
"conditions"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SnapshotService.go#L1376-L1388 |
23,555 | xanzy/go-cloudstack | cloudstack/SnapshotService.go | NewRevertSnapshotParams | func (s *SnapshotService) NewRevertSnapshotParams(id string) *RevertSnapshotParams {
p := &RevertSnapshotParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *SnapshotService) NewRevertSnapshotParams(id string) *RevertSnapshotParams {
p := &RevertSnapshotParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"SnapshotService",
")",
"NewRevertSnapshotParams",
"(",
"id",
"string",
")",
"*",
"RevertSnapshotParams",
"{",
"p",
":=",
"&",
"RevertSnapshotParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"int... | // You should always use this function to get a new RevertSnapshotParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"RevertSnapshotParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SnapshotService.go#L1440-L1445 |
23,556 | xanzy/go-cloudstack | cloudstack/SnapshotService.go | RevertSnapshot | func (s *SnapshotService) RevertSnapshot(p *RevertSnapshotParams) (*RevertSnapshotResponse, error) {
resp, err := s.cs.newRequest("revertSnapshot", p.toURLValues())
if err != nil {
return nil, err
}
var r RevertSnapshotResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we hav... | go | func (s *SnapshotService) RevertSnapshot(p *RevertSnapshotParams) (*RevertSnapshotResponse, error) {
resp, err := s.cs.newRequest("revertSnapshot", p.toURLValues())
if err != nil {
return nil, err
}
var r RevertSnapshotResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we hav... | [
"func",
"(",
"s",
"*",
"SnapshotService",
")",
"RevertSnapshot",
"(",
"p",
"*",
"RevertSnapshotParams",
")",
"(",
"*",
"RevertSnapshotResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
... | // This is supposed to revert a volume snapshot. This command is only supported with KVM so far | [
"This",
"is",
"supposed",
"to",
"revert",
"a",
"volume",
"snapshot",
".",
"This",
"command",
"is",
"only",
"supported",
"with",
"KVM",
"so",
"far"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SnapshotService.go#L1448-L1480 |
23,557 | xanzy/go-cloudstack | cloudstack/SnapshotService.go | NewRevertToVMSnapshotParams | func (s *SnapshotService) NewRevertToVMSnapshotParams(vmsnapshotid string) *RevertToVMSnapshotParams {
p := &RevertToVMSnapshotParams{}
p.p = make(map[string]interface{})
p.p["vmsnapshotid"] = vmsnapshotid
return p
} | go | func (s *SnapshotService) NewRevertToVMSnapshotParams(vmsnapshotid string) *RevertToVMSnapshotParams {
p := &RevertToVMSnapshotParams{}
p.p = make(map[string]interface{})
p.p["vmsnapshotid"] = vmsnapshotid
return p
} | [
"func",
"(",
"s",
"*",
"SnapshotService",
")",
"NewRevertToVMSnapshotParams",
"(",
"vmsnapshotid",
"string",
")",
"*",
"RevertToVMSnapshotParams",
"{",
"p",
":=",
"&",
"RevertToVMSnapshotParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"... | // You should always use this function to get a new RevertToVMSnapshotParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"RevertToVMSnapshotParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SnapshotService.go#L1533-L1538 |
23,558 | xanzy/go-cloudstack | cloudstack/SnapshotService.go | RevertToVMSnapshot | func (s *SnapshotService) RevertToVMSnapshot(p *RevertToVMSnapshotParams) (*RevertToVMSnapshotResponse, error) {
resp, err := s.cs.newRequest("revertToVMSnapshot", p.toURLValues())
if err != nil {
return nil, err
}
var r RevertToVMSnapshotResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, e... | go | func (s *SnapshotService) RevertToVMSnapshot(p *RevertToVMSnapshotParams) (*RevertToVMSnapshotResponse, error) {
resp, err := s.cs.newRequest("revertToVMSnapshot", p.toURLValues())
if err != nil {
return nil, err
}
var r RevertToVMSnapshotResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, e... | [
"func",
"(",
"s",
"*",
"SnapshotService",
")",
"RevertToVMSnapshot",
"(",
"p",
"*",
"RevertToVMSnapshotParams",
")",
"(",
"*",
"RevertToVMSnapshotResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"... | // Revert VM from a vmsnapshot. | [
"Revert",
"VM",
"from",
"a",
"vmsnapshot",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SnapshotService.go#L1541-L1573 |
23,559 | xanzy/go-cloudstack | cloudstack/SnapshotService.go | NewUpdateSnapshotPolicyParams | func (s *SnapshotService) NewUpdateSnapshotPolicyParams() *UpdateSnapshotPolicyParams {
p := &UpdateSnapshotPolicyParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *SnapshotService) NewUpdateSnapshotPolicyParams() *UpdateSnapshotPolicyParams {
p := &UpdateSnapshotPolicyParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"SnapshotService",
")",
"NewUpdateSnapshotPolicyParams",
"(",
")",
"*",
"UpdateSnapshotPolicyParams",
"{",
"p",
":=",
"&",
"UpdateSnapshotPolicyParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"inter... | // You should always use this function to get a new UpdateSnapshotPolicyParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"UpdateSnapshotPolicyParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SnapshotService.go#L1731-L1735 |
23,560 | xanzy/go-cloudstack | cloudstack/SnapshotService.go | UpdateSnapshotPolicy | func (s *SnapshotService) UpdateSnapshotPolicy(p *UpdateSnapshotPolicyParams) (*UpdateSnapshotPolicyResponse, error) {
resp, err := s.cs.newRequest("updateSnapshotPolicy", p.toURLValues())
if err != nil {
return nil, err
}
var r UpdateSnapshotPolicyResponse
if err := json.Unmarshal(resp, &r); err != nil {
ret... | go | func (s *SnapshotService) UpdateSnapshotPolicy(p *UpdateSnapshotPolicyParams) (*UpdateSnapshotPolicyResponse, error) {
resp, err := s.cs.newRequest("updateSnapshotPolicy", p.toURLValues())
if err != nil {
return nil, err
}
var r UpdateSnapshotPolicyResponse
if err := json.Unmarshal(resp, &r); err != nil {
ret... | [
"func",
"(",
"s",
"*",
"SnapshotService",
")",
"UpdateSnapshotPolicy",
"(",
"p",
"*",
"UpdateSnapshotPolicyParams",
")",
"(",
"*",
"UpdateSnapshotPolicyResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",... | // Updates the snapshot policy. | [
"Updates",
"the",
"snapshot",
"policy",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SnapshotService.go#L1738-L1770 |
23,561 | xanzy/go-cloudstack | cloudstack/NicService.go | NewAddIpToNicParams | func (s *NicService) NewAddIpToNicParams(nicid string) *AddIpToNicParams {
p := &AddIpToNicParams{}
p.p = make(map[string]interface{})
p.p["nicid"] = nicid
return p
} | go | func (s *NicService) NewAddIpToNicParams(nicid string) *AddIpToNicParams {
p := &AddIpToNicParams{}
p.p = make(map[string]interface{})
p.p["nicid"] = nicid
return p
} | [
"func",
"(",
"s",
"*",
"NicService",
")",
"NewAddIpToNicParams",
"(",
"nicid",
"string",
")",
"*",
"AddIpToNicParams",
"{",
"p",
":=",
"&",
"AddIpToNicParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{"... | // You should always use this function to get a new AddIpToNicParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"AddIpToNicParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NicService.go#L61-L66 |
23,562 | xanzy/go-cloudstack | cloudstack/NicService.go | AddIpToNic | func (s *NicService) AddIpToNic(p *AddIpToNicParams) (*AddIpToNicResponse, error) {
resp, err := s.cs.newRequest("addIpToNic", p.toURLValues())
if err != nil {
return nil, err
}
var r AddIpToNicResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a async client, we need... | go | func (s *NicService) AddIpToNic(p *AddIpToNicParams) (*AddIpToNicResponse, error) {
resp, err := s.cs.newRequest("addIpToNic", p.toURLValues())
if err != nil {
return nil, err
}
var r AddIpToNicResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a async client, we need... | [
"func",
"(",
"s",
"*",
"NicService",
")",
"AddIpToNic",
"(",
"p",
"*",
"AddIpToNicParams",
")",
"(",
"*",
"AddIpToNicResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
"p",
".",
"to... | // Assigns secondary IP to NIC | [
"Assigns",
"secondary",
"IP",
"to",
"NIC"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NicService.go#L69-L101 |
23,563 | xanzy/go-cloudstack | cloudstack/NicService.go | NewListNicsParams | func (s *NicService) NewListNicsParams(virtualmachineid string) *ListNicsParams {
p := &ListNicsParams{}
p.p = make(map[string]interface{})
p.p["virtualmachineid"] = virtualmachineid
return p
} | go | func (s *NicService) NewListNicsParams(virtualmachineid string) *ListNicsParams {
p := &ListNicsParams{}
p.p = make(map[string]interface{})
p.p["virtualmachineid"] = virtualmachineid
return p
} | [
"func",
"(",
"s",
"*",
"NicService",
")",
"NewListNicsParams",
"(",
"virtualmachineid",
"string",
")",
"*",
"ListNicsParams",
"{",
"p",
":=",
"&",
"ListNicsParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
... | // You should always use this function to get a new ListNicsParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListNicsParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NicService.go#L210-L215 |
23,564 | xanzy/go-cloudstack | cloudstack/NicService.go | ListNics | func (s *NicService) ListNics(p *ListNicsParams) (*ListNicsResponse, error) {
resp, err := s.cs.newRequest("listNics", p.toURLValues())
if err != nil {
return nil, err
}
var r ListNicsResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
return &r, nil
} | go | func (s *NicService) ListNics(p *ListNicsParams) (*ListNicsResponse, error) {
resp, err := s.cs.newRequest("listNics", p.toURLValues())
if err != nil {
return nil, err
}
var r ListNicsResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
return &r, nil
} | [
"func",
"(",
"s",
"*",
"NicService",
")",
"ListNics",
"(",
"p",
"*",
"ListNicsParams",
")",
"(",
"*",
"ListNicsResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
"p",
".",
"toURLVal... | // list the vm nics IP to NIC | [
"list",
"the",
"vm",
"nics",
"IP",
"to",
"NIC"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NicService.go#L218-L230 |
23,565 | xanzy/go-cloudstack | cloudstack/NicService.go | NewRemoveIpFromNicParams | func (s *NicService) NewRemoveIpFromNicParams(id string) *RemoveIpFromNicParams {
p := &RemoveIpFromNicParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *NicService) NewRemoveIpFromNicParams(id string) *RemoveIpFromNicParams {
p := &RemoveIpFromNicParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"NicService",
")",
"NewRemoveIpFromNicParams",
"(",
"id",
"string",
")",
"*",
"RemoveIpFromNicParams",
"{",
"p",
":=",
"&",
"RemoveIpFromNicParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"inter... | // You should always use this function to get a new RemoveIpFromNicParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"RemoveIpFromNicParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NicService.go#L289-L294 |
23,566 | xanzy/go-cloudstack | cloudstack/NicService.go | RemoveIpFromNic | func (s *NicService) RemoveIpFromNic(p *RemoveIpFromNicParams) (*RemoveIpFromNicResponse, error) {
resp, err := s.cs.newRequest("removeIpFromNic", p.toURLValues())
if err != nil {
return nil, err
}
var r RemoveIpFromNicResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we hav... | go | func (s *NicService) RemoveIpFromNic(p *RemoveIpFromNicParams) (*RemoveIpFromNicResponse, error) {
resp, err := s.cs.newRequest("removeIpFromNic", p.toURLValues())
if err != nil {
return nil, err
}
var r RemoveIpFromNicResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we hav... | [
"func",
"(",
"s",
"*",
"NicService",
")",
"RemoveIpFromNic",
"(",
"p",
"*",
"RemoveIpFromNicParams",
")",
"(",
"*",
"RemoveIpFromNicResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
"p... | // Removes secondary IP from the NIC. | [
"Removes",
"secondary",
"IP",
"from",
"the",
"NIC",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NicService.go#L297-L324 |
23,567 | xanzy/go-cloudstack | cloudstack/NicService.go | NewUpdateVmNicIpParams | func (s *NicService) NewUpdateVmNicIpParams(nicid string) *UpdateVmNicIpParams {
p := &UpdateVmNicIpParams{}
p.p = make(map[string]interface{})
p.p["nicid"] = nicid
return p
} | go | func (s *NicService) NewUpdateVmNicIpParams(nicid string) *UpdateVmNicIpParams {
p := &UpdateVmNicIpParams{}
p.p = make(map[string]interface{})
p.p["nicid"] = nicid
return p
} | [
"func",
"(",
"s",
"*",
"NicService",
")",
"NewUpdateVmNicIpParams",
"(",
"nicid",
"string",
")",
"*",
"UpdateVmNicIpParams",
"{",
"p",
":=",
"&",
"UpdateVmNicIpParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interfac... | // You should always use this function to get a new UpdateVmNicIpParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"UpdateVmNicIpParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NicService.go#L368-L373 |
23,568 | xanzy/go-cloudstack | cloudstack/NicService.go | UpdateVmNicIp | func (s *NicService) UpdateVmNicIp(p *UpdateVmNicIpParams) (*UpdateVmNicIpResponse, error) {
resp, err := s.cs.newRequest("updateVmNicIp", p.toURLValues())
if err != nil {
return nil, err
}
var r UpdateVmNicIpResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a async ... | go | func (s *NicService) UpdateVmNicIp(p *UpdateVmNicIpParams) (*UpdateVmNicIpResponse, error) {
resp, err := s.cs.newRequest("updateVmNicIp", p.toURLValues())
if err != nil {
return nil, err
}
var r UpdateVmNicIpResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a async ... | [
"func",
"(",
"s",
"*",
"NicService",
")",
"UpdateVmNicIp",
"(",
"p",
"*",
"UpdateVmNicIpParams",
")",
"(",
"*",
"UpdateVmNicIpResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
"p",
"... | // Update the default Ip of a VM Nic | [
"Update",
"the",
"default",
"Ip",
"of",
"a",
"VM",
"Nic"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NicService.go#L376-L408 |
23,569 | xanzy/go-cloudstack | cloudstack/UserService.go | NewCreateUserParams | func (s *UserService) NewCreateUserParams(account string, email string, firstname string, lastname string, password string, username string) *CreateUserParams {
p := &CreateUserParams{}
p.p = make(map[string]interface{})
p.p["account"] = account
p.p["email"] = email
p.p["firstname"] = firstname
p.p["lastname"] = ... | go | func (s *UserService) NewCreateUserParams(account string, email string, firstname string, lastname string, password string, username string) *CreateUserParams {
p := &CreateUserParams{}
p.p = make(map[string]interface{})
p.p["account"] = account
p.p["email"] = email
p.p["firstname"] = firstname
p.p["lastname"] = ... | [
"func",
"(",
"s",
"*",
"UserService",
")",
"NewCreateUserParams",
"(",
"account",
"string",
",",
"email",
"string",
",",
"firstname",
"string",
",",
"lastname",
"string",
",",
"password",
"string",
",",
"username",
"string",
")",
"*",
"CreateUserParams",
"{",
... | // You should always use this function to get a new CreateUserParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CreateUserParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/UserService.go#L140-L150 |
23,570 | xanzy/go-cloudstack | cloudstack/UserService.go | NewDeleteUserParams | func (s *UserService) NewDeleteUserParams(id string) *DeleteUserParams {
p := &DeleteUserParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *UserService) NewDeleteUserParams(id string) *DeleteUserParams {
p := &DeleteUserParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"UserService",
")",
"NewDeleteUserParams",
"(",
"id",
"string",
")",
"*",
"DeleteUserParams",
"{",
"p",
":=",
"&",
"DeleteUserParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
... | // You should always use this function to get a new DeleteUserParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DeleteUserParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/UserService.go#L220-L225 |
23,571 | xanzy/go-cloudstack | cloudstack/UserService.go | NewDisableUserParams | func (s *UserService) NewDisableUserParams(id string) *DisableUserParams {
p := &DisableUserParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *UserService) NewDisableUserParams(id string) *DisableUserParams {
p := &DisableUserParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"UserService",
")",
"NewDisableUserParams",
"(",
"id",
"string",
")",
"*",
"DisableUserParams",
"{",
"p",
":=",
"&",
"DisableUserParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{... | // You should always use this function to get a new DisableUserParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DisableUserParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/UserService.go#L291-L296 |
23,572 | xanzy/go-cloudstack | cloudstack/UserService.go | NewEnableUserParams | func (s *UserService) NewEnableUserParams(id string) *EnableUserParams {
p := &EnableUserParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *UserService) NewEnableUserParams(id string) *EnableUserParams {
p := &EnableUserParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"UserService",
")",
"NewEnableUserParams",
"(",
"id",
"string",
")",
"*",
"EnableUserParams",
"{",
"p",
":=",
"&",
"EnableUserParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
... | // You should always use this function to get a new EnableUserParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"EnableUserParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/UserService.go#L383-L388 |
23,573 | xanzy/go-cloudstack | cloudstack/UserService.go | NewGetUserParams | func (s *UserService) NewGetUserParams(userapikey string) *GetUserParams {
p := &GetUserParams{}
p.p = make(map[string]interface{})
p.p["userapikey"] = userapikey
return p
} | go | func (s *UserService) NewGetUserParams(userapikey string) *GetUserParams {
p := &GetUserParams{}
p.p = make(map[string]interface{})
p.p["userapikey"] = userapikey
return p
} | [
"func",
"(",
"s",
"*",
"UserService",
")",
"NewGetUserParams",
"(",
"userapikey",
"string",
")",
"*",
"GetUserParams",
"{",
"p",
":=",
"&",
"GetUserParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
... | // You should always use this function to get a new GetUserParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"GetUserParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/UserService.go#L454-L459 |
23,574 | xanzy/go-cloudstack | cloudstack/UserService.go | NewGetVirtualMachineUserDataParams | func (s *UserService) NewGetVirtualMachineUserDataParams(virtualmachineid string) *GetVirtualMachineUserDataParams {
p := &GetVirtualMachineUserDataParams{}
p.p = make(map[string]interface{})
p.p["virtualmachineid"] = virtualmachineid
return p
} | go | func (s *UserService) NewGetVirtualMachineUserDataParams(virtualmachineid string) *GetVirtualMachineUserDataParams {
p := &GetVirtualMachineUserDataParams{}
p.p = make(map[string]interface{})
p.p["virtualmachineid"] = virtualmachineid
return p
} | [
"func",
"(",
"s",
"*",
"UserService",
")",
"NewGetVirtualMachineUserDataParams",
"(",
"virtualmachineid",
"string",
")",
"*",
"GetVirtualMachineUserDataParams",
"{",
"p",
":=",
"&",
"GetVirtualMachineUserDataParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"("... | // You should always use this function to get a new GetVirtualMachineUserDataParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"GetVirtualMachineUserDataParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/UserService.go#L525-L530 |
23,575 | xanzy/go-cloudstack | cloudstack/UserService.go | NewListUsersParams | func (s *UserService) NewListUsersParams() *ListUsersParams {
p := &ListUsersParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *UserService) NewListUsersParams() *ListUsersParams {
p := &ListUsersParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"UserService",
")",
"NewListUsersParams",
"(",
")",
"*",
"ListUsersParams",
"{",
"p",
":=",
"&",
"ListUsersParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
"}",
")",
"\n",
... | // You should always use this function to get a new ListUsersParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListUsersParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/UserService.go#L692-L696 |
23,576 | xanzy/go-cloudstack | cloudstack/UserService.go | NewLockUserParams | func (s *UserService) NewLockUserParams(id string) *LockUserParams {
p := &LockUserParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *UserService) NewLockUserParams(id string) *LockUserParams {
p := &LockUserParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"UserService",
")",
"NewLockUserParams",
"(",
"id",
"string",
")",
"*",
"LockUserParams",
"{",
"p",
":=",
"&",
"LockUserParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
"}",... | // You should always use this function to get a new LockUserParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"LockUserParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/UserService.go#L800-L805 |
23,577 | xanzy/go-cloudstack | cloudstack/UserService.go | NewRegisterUserKeysParams | func (s *UserService) NewRegisterUserKeysParams(id string) *RegisterUserKeysParams {
p := &RegisterUserKeysParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *UserService) NewRegisterUserKeysParams(id string) *RegisterUserKeysParams {
p := &RegisterUserKeysParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"UserService",
")",
"NewRegisterUserKeysParams",
"(",
"id",
"string",
")",
"*",
"RegisterUserKeysParams",
"{",
"p",
":=",
"&",
"RegisterUserKeysParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"i... | // You should always use this function to get a new RegisterUserKeysParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"RegisterUserKeysParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/UserService.go#L871-L876 |
23,578 | xanzy/go-cloudstack | cloudstack/UserService.go | NewUpdateUserParams | func (s *UserService) NewUpdateUserParams(id string) *UpdateUserParams {
p := &UpdateUserParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *UserService) NewUpdateUserParams(id string) *UpdateUserParams {
p := &UpdateUserParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"UserService",
")",
"NewUpdateUserParams",
"(",
"id",
"string",
")",
"*",
"UpdateUserParams",
"{",
"p",
":=",
"&",
"UpdateUserParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
... | // You should always use this function to get a new UpdateUserParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"UpdateUserParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/UserService.go#L1015-L1020 |
23,579 | xanzy/go-cloudstack | cloudstack/HostService.go | NewAddBaremetalHostParams | func (s *HostService) NewAddBaremetalHostParams(hypervisor string, password string, podid string, url string, username string, zoneid string) *AddBaremetalHostParams {
p := &AddBaremetalHostParams{}
p.p = make(map[string]interface{})
p.p["hypervisor"] = hypervisor
p.p["password"] = password
p.p["podid"] = podid
p... | go | func (s *HostService) NewAddBaremetalHostParams(hypervisor string, password string, podid string, url string, username string, zoneid string) *AddBaremetalHostParams {
p := &AddBaremetalHostParams{}
p.p = make(map[string]interface{})
p.p["hypervisor"] = hypervisor
p.p["password"] = password
p.p["podid"] = podid
p... | [
"func",
"(",
"s",
"*",
"HostService",
")",
"NewAddBaremetalHostParams",
"(",
"hypervisor",
"string",
",",
"password",
"string",
",",
"podid",
"string",
",",
"url",
"string",
",",
"username",
"string",
",",
"zoneid",
"string",
")",
"*",
"AddBaremetalHostParams",
... | // You should always use this function to get a new AddBaremetalHostParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"AddBaremetalHostParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/HostService.go#L163-L173 |
23,580 | xanzy/go-cloudstack | cloudstack/HostService.go | NewAddGloboDnsHostParams | func (s *HostService) NewAddGloboDnsHostParams(password string, physicalnetworkid string, url string, username string) *AddGloboDnsHostParams {
p := &AddGloboDnsHostParams{}
p.p = make(map[string]interface{})
p.p["password"] = password
p.p["physicalnetworkid"] = physicalnetworkid
p.p["url"] = url
p.p["username"] ... | go | func (s *HostService) NewAddGloboDnsHostParams(password string, physicalnetworkid string, url string, username string) *AddGloboDnsHostParams {
p := &AddGloboDnsHostParams{}
p.p = make(map[string]interface{})
p.p["password"] = password
p.p["physicalnetworkid"] = physicalnetworkid
p.p["url"] = url
p.p["username"] ... | [
"func",
"(",
"s",
"*",
"HostService",
")",
"NewAddGloboDnsHostParams",
"(",
"password",
"string",
",",
"physicalnetworkid",
"string",
",",
"url",
"string",
",",
"username",
"string",
")",
"*",
"AddGloboDnsHostParams",
"{",
"p",
":=",
"&",
"AddGloboDnsHostParams",
... | // You should always use this function to get a new AddGloboDnsHostParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"AddGloboDnsHostParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/HostService.go#L319-L327 |
23,581 | xanzy/go-cloudstack | cloudstack/HostService.go | AddGloboDnsHost | func (s *HostService) AddGloboDnsHost(p *AddGloboDnsHostParams) (*AddGloboDnsHostResponse, error) {
resp, err := s.cs.newRequest("addGloboDnsHost", p.toURLValues())
if err != nil {
return nil, err
}
var r AddGloboDnsHostResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we ha... | go | func (s *HostService) AddGloboDnsHost(p *AddGloboDnsHostParams) (*AddGloboDnsHostResponse, error) {
resp, err := s.cs.newRequest("addGloboDnsHost", p.toURLValues())
if err != nil {
return nil, err
}
var r AddGloboDnsHostResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we ha... | [
"func",
"(",
"s",
"*",
"HostService",
")",
"AddGloboDnsHost",
"(",
"p",
"*",
"AddGloboDnsHostParams",
")",
"(",
"*",
"AddGloboDnsHostResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
"... | // Adds the GloboDNS external host | [
"Adds",
"the",
"GloboDNS",
"external",
"host"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/HostService.go#L330-L357 |
23,582 | xanzy/go-cloudstack | cloudstack/HostService.go | NewAddHostParams | func (s *HostService) NewAddHostParams(hypervisor string, password string, podid string, url string, username string, zoneid string) *AddHostParams {
p := &AddHostParams{}
p.p = make(map[string]interface{})
p.p["hypervisor"] = hypervisor
p.p["password"] = password
p.p["podid"] = podid
p.p["url"] = url
p.p["usern... | go | func (s *HostService) NewAddHostParams(hypervisor string, password string, podid string, url string, username string, zoneid string) *AddHostParams {
p := &AddHostParams{}
p.p = make(map[string]interface{})
p.p["hypervisor"] = hypervisor
p.p["password"] = password
p.p["podid"] = podid
p.p["url"] = url
p.p["usern... | [
"func",
"(",
"s",
"*",
"HostService",
")",
"NewAddHostParams",
"(",
"hypervisor",
"string",
",",
"password",
"string",
",",
"podid",
"string",
",",
"url",
"string",
",",
"username",
"string",
",",
"zoneid",
"string",
")",
"*",
"AddHostParams",
"{",
"p",
":... | // You should always use this function to get a new AddHostParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"AddHostParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/HostService.go#L490-L500 |
23,583 | xanzy/go-cloudstack | cloudstack/HostService.go | NewAddSecondaryStorageParams | func (s *HostService) NewAddSecondaryStorageParams(url string) *AddSecondaryStorageParams {
p := &AddSecondaryStorageParams{}
p.p = make(map[string]interface{})
p.p["url"] = url
return p
} | go | func (s *HostService) NewAddSecondaryStorageParams(url string) *AddSecondaryStorageParams {
p := &AddSecondaryStorageParams{}
p.p = make(map[string]interface{})
p.p["url"] = url
return p
} | [
"func",
"(",
"s",
"*",
"HostService",
")",
"NewAddSecondaryStorageParams",
"(",
"url",
"string",
")",
"*",
"AddSecondaryStorageParams",
"{",
"p",
":=",
"&",
"AddSecondaryStorageParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
... | // You should always use this function to get a new AddSecondaryStorageParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"AddSecondaryStorageParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/HostService.go#L624-L629 |
23,584 | xanzy/go-cloudstack | cloudstack/HostService.go | NewCancelHostMaintenanceParams | func (s *HostService) NewCancelHostMaintenanceParams(id string) *CancelHostMaintenanceParams {
p := &CancelHostMaintenanceParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *HostService) NewCancelHostMaintenanceParams(id string) *CancelHostMaintenanceParams {
p := &CancelHostMaintenanceParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"HostService",
")",
"NewCancelHostMaintenanceParams",
"(",
"id",
"string",
")",
"*",
"CancelHostMaintenanceParams",
"{",
"p",
":=",
"&",
"CancelHostMaintenanceParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"strin... | // You should always use this function to get a new CancelHostMaintenanceParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CancelHostMaintenanceParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/HostService.go#L682-L687 |
23,585 | xanzy/go-cloudstack | cloudstack/HostService.go | NewDedicateHostParams | func (s *HostService) NewDedicateHostParams(domainid string, hostid string) *DedicateHostParams {
p := &DedicateHostParams{}
p.p = make(map[string]interface{})
p.p["domainid"] = domainid
p.p["hostid"] = hostid
return p
} | go | func (s *HostService) NewDedicateHostParams(domainid string, hostid string) *DedicateHostParams {
p := &DedicateHostParams{}
p.p = make(map[string]interface{})
p.p["domainid"] = domainid
p.p["hostid"] = hostid
return p
} | [
"func",
"(",
"s",
"*",
"HostService",
")",
"NewDedicateHostParams",
"(",
"domainid",
"string",
",",
"hostid",
"string",
")",
"*",
"DedicateHostParams",
"{",
"p",
":=",
"&",
"DedicateHostParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"["... | // You should always use this function to get a new DedicateHostParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DedicateHostParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/HostService.go#L843-L849 |
23,586 | xanzy/go-cloudstack | cloudstack/HostService.go | NewDeleteHostParams | func (s *HostService) NewDeleteHostParams(id string) *DeleteHostParams {
p := &DeleteHostParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *HostService) NewDeleteHostParams(id string) *DeleteHostParams {
p := &DeleteHostParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"HostService",
")",
"NewDeleteHostParams",
"(",
"id",
"string",
")",
"*",
"DeleteHostParams",
"{",
"p",
":=",
"&",
"DeleteHostParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
... | // You should always use this function to get a new DeleteHostParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DeleteHostParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/HostService.go#L945-L950 |
23,587 | xanzy/go-cloudstack | cloudstack/HostService.go | NewDisableOutOfBandManagementForHostParams | func (s *HostService) NewDisableOutOfBandManagementForHostParams(hostid string) *DisableOutOfBandManagementForHostParams {
p := &DisableOutOfBandManagementForHostParams{}
p.p = make(map[string]interface{})
p.p["hostid"] = hostid
return p
} | go | func (s *HostService) NewDisableOutOfBandManagementForHostParams(hostid string) *DisableOutOfBandManagementForHostParams {
p := &DisableOutOfBandManagementForHostParams{}
p.p = make(map[string]interface{})
p.p["hostid"] = hostid
return p
} | [
"func",
"(",
"s",
"*",
"HostService",
")",
"NewDisableOutOfBandManagementForHostParams",
"(",
"hostid",
"string",
")",
"*",
"DisableOutOfBandManagementForHostParams",
"{",
"p",
":=",
"&",
"DisableOutOfBandManagementForHostParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
... | // You should always use this function to get a new DisableOutOfBandManagementForHostParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DisableOutOfBandManagementForHostParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/HostService.go#L1016-L1021 |
23,588 | xanzy/go-cloudstack | cloudstack/HostService.go | DisableOutOfBandManagementForHost | func (s *HostService) DisableOutOfBandManagementForHost(p *DisableOutOfBandManagementForHostParams) (*DisableOutOfBandManagementForHostResponse, error) {
resp, err := s.cs.newRequest("disableOutOfBandManagementForHost", p.toURLValues())
if err != nil {
return nil, err
}
var r DisableOutOfBandManagementForHostRes... | go | func (s *HostService) DisableOutOfBandManagementForHost(p *DisableOutOfBandManagementForHostParams) (*DisableOutOfBandManagementForHostResponse, error) {
resp, err := s.cs.newRequest("disableOutOfBandManagementForHost", p.toURLValues())
if err != nil {
return nil, err
}
var r DisableOutOfBandManagementForHostRes... | [
"func",
"(",
"s",
"*",
"HostService",
")",
"DisableOutOfBandManagementForHost",
"(",
"p",
"*",
"DisableOutOfBandManagementForHostParams",
")",
"(",
"*",
"DisableOutOfBandManagementForHostResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
... | // Disables out-of-band management for a host | [
"Disables",
"out",
"-",
"of",
"-",
"band",
"management",
"for",
"a",
"host"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/HostService.go#L1024-L1056 |
23,589 | xanzy/go-cloudstack | cloudstack/HostService.go | NewEnableOutOfBandManagementForHostParams | func (s *HostService) NewEnableOutOfBandManagementForHostParams(hostid string) *EnableOutOfBandManagementForHostParams {
p := &EnableOutOfBandManagementForHostParams{}
p.p = make(map[string]interface{})
p.p["hostid"] = hostid
return p
} | go | func (s *HostService) NewEnableOutOfBandManagementForHostParams(hostid string) *EnableOutOfBandManagementForHostParams {
p := &EnableOutOfBandManagementForHostParams{}
p.p = make(map[string]interface{})
p.p["hostid"] = hostid
return p
} | [
"func",
"(",
"s",
"*",
"HostService",
")",
"NewEnableOutOfBandManagementForHostParams",
"(",
"hostid",
"string",
")",
"*",
"EnableOutOfBandManagementForHostParams",
"{",
"p",
":=",
"&",
"EnableOutOfBandManagementForHostParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"m... | // You should always use this function to get a new EnableOutOfBandManagementForHostParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"EnableOutOfBandManagementForHostParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/HostService.go#L1098-L1103 |
23,590 | xanzy/go-cloudstack | cloudstack/HostService.go | EnableOutOfBandManagementForHost | func (s *HostService) EnableOutOfBandManagementForHost(p *EnableOutOfBandManagementForHostParams) (*EnableOutOfBandManagementForHostResponse, error) {
resp, err := s.cs.newRequest("enableOutOfBandManagementForHost", p.toURLValues())
if err != nil {
return nil, err
}
var r EnableOutOfBandManagementForHostResponse... | go | func (s *HostService) EnableOutOfBandManagementForHost(p *EnableOutOfBandManagementForHostParams) (*EnableOutOfBandManagementForHostResponse, error) {
resp, err := s.cs.newRequest("enableOutOfBandManagementForHost", p.toURLValues())
if err != nil {
return nil, err
}
var r EnableOutOfBandManagementForHostResponse... | [
"func",
"(",
"s",
"*",
"HostService",
")",
"EnableOutOfBandManagementForHost",
"(",
"p",
"*",
"EnableOutOfBandManagementForHostParams",
")",
"(",
"*",
"EnableOutOfBandManagementForHostResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
"."... | // Enables out-of-band management for a host | [
"Enables",
"out",
"-",
"of",
"-",
"band",
"management",
"for",
"a",
"host"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/HostService.go#L1106-L1138 |
23,591 | xanzy/go-cloudstack | cloudstack/HostService.go | NewFindHostsForMigrationParams | func (s *HostService) NewFindHostsForMigrationParams(virtualmachineid string) *FindHostsForMigrationParams {
p := &FindHostsForMigrationParams{}
p.p = make(map[string]interface{})
p.p["virtualmachineid"] = virtualmachineid
return p
} | go | func (s *HostService) NewFindHostsForMigrationParams(virtualmachineid string) *FindHostsForMigrationParams {
p := &FindHostsForMigrationParams{}
p.p = make(map[string]interface{})
p.p["virtualmachineid"] = virtualmachineid
return p
} | [
"func",
"(",
"s",
"*",
"HostService",
")",
"NewFindHostsForMigrationParams",
"(",
"virtualmachineid",
"string",
")",
"*",
"FindHostsForMigrationParams",
"{",
"p",
":=",
"&",
"FindHostsForMigrationParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
... | // You should always use this function to get a new FindHostsForMigrationParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"FindHostsForMigrationParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/HostService.go#L1215-L1220 |
23,592 | xanzy/go-cloudstack | cloudstack/HostService.go | NewListDedicatedHostsParams | func (s *HostService) NewListDedicatedHostsParams() *ListDedicatedHostsParams {
p := &ListDedicatedHostsParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *HostService) NewListDedicatedHostsParams() *ListDedicatedHostsParams {
p := &ListDedicatedHostsParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"HostService",
")",
"NewListDedicatedHostsParams",
"(",
")",
"*",
"ListDedicatedHostsParams",
"{",
"p",
":=",
"&",
"ListDedicatedHostsParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"... | // You should always use this function to get a new ListDedicatedHostsParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListDedicatedHostsParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/HostService.go#L1378-L1382 |
23,593 | xanzy/go-cloudstack | cloudstack/HostService.go | NewListHostTagsParams | func (s *HostService) NewListHostTagsParams() *ListHostTagsParams {
p := &ListHostTagsParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *HostService) NewListHostTagsParams() *ListHostTagsParams {
p := &ListHostTagsParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"HostService",
")",
"NewListHostTagsParams",
"(",
")",
"*",
"ListHostTagsParams",
"{",
"p",
":=",
"&",
"ListHostTagsParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
"}",
")",
... | // You should always use this function to get a new ListHostTagsParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListHostTagsParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/HostService.go#L1462-L1466 |
23,594 | xanzy/go-cloudstack | cloudstack/HostService.go | NewListHostsParams | func (s *HostService) NewListHostsParams() *ListHostsParams {
p := &ListHostsParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *HostService) NewListHostsParams() *ListHostsParams {
p := &ListHostsParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"HostService",
")",
"NewListHostsParams",
"(",
")",
"*",
"ListHostsParams",
"{",
"p",
":=",
"&",
"ListHostsParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
"}",
")",
"\n",
... | // You should always use this function to get a new ListHostsParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListHostsParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/HostService.go#L1736-L1740 |
23,595 | xanzy/go-cloudstack | cloudstack/HostService.go | NewPrepareHostForMaintenanceParams | func (s *HostService) NewPrepareHostForMaintenanceParams(id string) *PrepareHostForMaintenanceParams {
p := &PrepareHostForMaintenanceParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *HostService) NewPrepareHostForMaintenanceParams(id string) *PrepareHostForMaintenanceParams {
p := &PrepareHostForMaintenanceParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"HostService",
")",
"NewPrepareHostForMaintenanceParams",
"(",
"id",
"string",
")",
"*",
"PrepareHostForMaintenanceParams",
"{",
"p",
":=",
"&",
"PrepareHostForMaintenanceParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"... | // You should always use this function to get a new PrepareHostForMaintenanceParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"PrepareHostForMaintenanceParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/HostService.go#L1941-L1946 |
23,596 | xanzy/go-cloudstack | cloudstack/HostService.go | NewReconnectHostParams | func (s *HostService) NewReconnectHostParams(id string) *ReconnectHostParams {
p := &ReconnectHostParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *HostService) NewReconnectHostParams(id string) *ReconnectHostParams {
p := &ReconnectHostParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"HostService",
")",
"NewReconnectHostParams",
"(",
"id",
"string",
")",
"*",
"ReconnectHostParams",
"{",
"p",
":=",
"&",
"ReconnectHostParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface"... | // You should always use this function to get a new ReconnectHostParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ReconnectHostParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/HostService.go#L2080-L2085 |
23,597 | xanzy/go-cloudstack | cloudstack/HostService.go | NewReleaseDedicatedHostParams | func (s *HostService) NewReleaseDedicatedHostParams(hostid string) *ReleaseDedicatedHostParams {
p := &ReleaseDedicatedHostParams{}
p.p = make(map[string]interface{})
p.p["hostid"] = hostid
return p
} | go | func (s *HostService) NewReleaseDedicatedHostParams(hostid string) *ReleaseDedicatedHostParams {
p := &ReleaseDedicatedHostParams{}
p.p = make(map[string]interface{})
p.p["hostid"] = hostid
return p
} | [
"func",
"(",
"s",
"*",
"HostService",
")",
"NewReleaseDedicatedHostParams",
"(",
"hostid",
"string",
")",
"*",
"ReleaseDedicatedHostParams",
"{",
"p",
":=",
"&",
"ReleaseDedicatedHostParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"stri... | // You should always use this function to get a new ReleaseDedicatedHostParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ReleaseDedicatedHostParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/HostService.go#L2219-L2224 |
23,598 | xanzy/go-cloudstack | cloudstack/HostService.go | NewReleaseHostReservationParams | func (s *HostService) NewReleaseHostReservationParams(id string) *ReleaseHostReservationParams {
p := &ReleaseHostReservationParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *HostService) NewReleaseHostReservationParams(id string) *ReleaseHostReservationParams {
p := &ReleaseHostReservationParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"HostService",
")",
"NewReleaseHostReservationParams",
"(",
"id",
"string",
")",
"*",
"ReleaseHostReservationParams",
"{",
"p",
":=",
"&",
"ReleaseHostReservationParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"st... | // You should always use this function to get a new ReleaseHostReservationParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ReleaseHostReservationParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/HostService.go#L2287-L2292 |
23,599 | xanzy/go-cloudstack | cloudstack/HostService.go | NewUpdateHostParams | func (s *HostService) NewUpdateHostParams(id string) *UpdateHostParams {
p := &UpdateHostParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *HostService) NewUpdateHostParams(id string) *UpdateHostParams {
p := &UpdateHostParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"HostService",
")",
"NewUpdateHostParams",
"(",
"id",
"string",
")",
"*",
"UpdateHostParams",
"{",
"p",
":=",
"&",
"UpdateHostParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
... | // You should always use this function to get a new UpdateHostParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"UpdateHostParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/HostService.go#L2411-L2416 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.