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,600 | xanzy/go-cloudstack | cloudstack/HostService.go | NewUpdateHostPasswordParams | func (s *HostService) NewUpdateHostPasswordParams(password string, username string) *UpdateHostPasswordParams {
p := &UpdateHostPasswordParams{}
p.p = make(map[string]interface{})
p.p["password"] = password
p.p["username"] = username
return p
} | go | func (s *HostService) NewUpdateHostPasswordParams(password string, username string) *UpdateHostPasswordParams {
p := &UpdateHostPasswordParams{}
p.p = make(map[string]interface{})
p.p["password"] = password
p.p["username"] = username
return p
} | [
"func",
"(",
"s",
"*",
"HostService",
")",
"NewUpdateHostPasswordParams",
"(",
"password",
"string",
",",
"username",
"string",
")",
"*",
"UpdateHostPasswordParams",
"{",
"p",
":=",
"&",
"UpdateHostPasswordParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
... | // You should always use this function to get a new UpdateHostPasswordParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"UpdateHostPasswordParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/HostService.go#L2574-L2580 |
23,601 | xanzy/go-cloudstack | cloudstack/NetworkDeviceService.go | NewAddNetworkDeviceParams | func (s *NetworkDeviceService) NewAddNetworkDeviceParams() *AddNetworkDeviceParams {
p := &AddNetworkDeviceParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *NetworkDeviceService) NewAddNetworkDeviceParams() *AddNetworkDeviceParams {
p := &AddNetworkDeviceParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"NetworkDeviceService",
")",
"NewAddNetworkDeviceParams",
"(",
")",
"*",
"AddNetworkDeviceParams",
"{",
"p",
":=",
"&",
"AddNetworkDeviceParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
... | // You should always use this function to get a new AddNetworkDeviceParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"AddNetworkDeviceParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NetworkDeviceService.go#L67-L71 |
23,602 | xanzy/go-cloudstack | cloudstack/NetworkDeviceService.go | NewDeleteNetworkDeviceParams | func (s *NetworkDeviceService) NewDeleteNetworkDeviceParams(id string) *DeleteNetworkDeviceParams {
p := &DeleteNetworkDeviceParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *NetworkDeviceService) NewDeleteNetworkDeviceParams(id string) *DeleteNetworkDeviceParams {
p := &DeleteNetworkDeviceParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"NetworkDeviceService",
")",
"NewDeleteNetworkDeviceParams",
"(",
"id",
"string",
")",
"*",
"DeleteNetworkDeviceParams",
"{",
"p",
":=",
"&",
"DeleteNetworkDeviceParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"st... | // You should always use this function to get a new DeleteNetworkDeviceParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DeleteNetworkDeviceParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NetworkDeviceService.go#L117-L122 |
23,603 | xanzy/go-cloudstack | cloudstack/NetworkDeviceService.go | DeleteNetworkDevice | func (s *NetworkDeviceService) DeleteNetworkDevice(p *DeleteNetworkDeviceParams) (*DeleteNetworkDeviceResponse, error) {
resp, err := s.cs.newRequest("deleteNetworkDevice", p.toURLValues())
if err != nil {
return nil, err
}
var r DeleteNetworkDeviceResponse
if err := json.Unmarshal(resp, &r); err != nil {
ret... | go | func (s *NetworkDeviceService) DeleteNetworkDevice(p *DeleteNetworkDeviceParams) (*DeleteNetworkDeviceResponse, error) {
resp, err := s.cs.newRequest("deleteNetworkDevice", p.toURLValues())
if err != nil {
return nil, err
}
var r DeleteNetworkDeviceResponse
if err := json.Unmarshal(resp, &r); err != nil {
ret... | [
"func",
"(",
"s",
"*",
"NetworkDeviceService",
")",
"DeleteNetworkDevice",
"(",
"p",
"*",
"DeleteNetworkDeviceParams",
")",
"(",
"*",
"DeleteNetworkDeviceResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"... | // Deletes network device. | [
"Deletes",
"network",
"device",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NetworkDeviceService.go#L125-L137 |
23,604 | xanzy/go-cloudstack | cloudstack/NetworkDeviceService.go | NewListNetworkDeviceParams | func (s *NetworkDeviceService) NewListNetworkDeviceParams() *ListNetworkDeviceParams {
p := &ListNetworkDeviceParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *NetworkDeviceService) NewListNetworkDeviceParams() *ListNetworkDeviceParams {
p := &ListNetworkDeviceParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"NetworkDeviceService",
")",
"NewListNetworkDeviceParams",
"(",
")",
"*",
"ListNetworkDeviceParams",
"{",
"p",
":=",
"&",
"ListNetworkDeviceParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface... | // You should always use this function to get a new ListNetworkDeviceParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListNetworkDeviceParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NetworkDeviceService.go#L239-L243 |
23,605 | xanzy/go-cloudstack | cloudstack/NetworkDeviceService.go | ListNetworkDevice | func (s *NetworkDeviceService) ListNetworkDevice(p *ListNetworkDeviceParams) (*ListNetworkDeviceResponse, error) {
resp, err := s.cs.newRequest("listNetworkDevice", p.toURLValues())
if err != nil {
return nil, err
}
var r ListNetworkDeviceResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, e... | go | func (s *NetworkDeviceService) ListNetworkDevice(p *ListNetworkDeviceParams) (*ListNetworkDeviceResponse, error) {
resp, err := s.cs.newRequest("listNetworkDevice", p.toURLValues())
if err != nil {
return nil, err
}
var r ListNetworkDeviceResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, e... | [
"func",
"(",
"s",
"*",
"NetworkDeviceService",
")",
"ListNetworkDevice",
"(",
"p",
"*",
"ListNetworkDeviceParams",
")",
"(",
"*",
"ListNetworkDeviceResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"... | // List network devices | [
"List",
"network",
"devices"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NetworkDeviceService.go#L246-L258 |
23,606 | xanzy/go-cloudstack | cloudstack/VPCService.go | NewCreatePrivateGatewayParams | func (s *VPCService) NewCreatePrivateGatewayParams(gateway string, ipaddress string, netmask string, vlan string, vpcid string) *CreatePrivateGatewayParams {
p := &CreatePrivateGatewayParams{}
p.p = make(map[string]interface{})
p.p["gateway"] = gateway
p.p["ipaddress"] = ipaddress
p.p["netmask"] = netmask
p.p["vl... | go | func (s *VPCService) NewCreatePrivateGatewayParams(gateway string, ipaddress string, netmask string, vlan string, vpcid string) *CreatePrivateGatewayParams {
p := &CreatePrivateGatewayParams{}
p.p = make(map[string]interface{})
p.p["gateway"] = gateway
p.p["ipaddress"] = ipaddress
p.p["netmask"] = netmask
p.p["vl... | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"NewCreatePrivateGatewayParams",
"(",
"gateway",
"string",
",",
"ipaddress",
"string",
",",
"netmask",
"string",
",",
"vlan",
"string",
",",
"vpcid",
"string",
")",
"*",
"CreatePrivateGatewayParams",
"{",
"p",
":=",
"&... | // You should always use this function to get a new CreatePrivateGatewayParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CreatePrivateGatewayParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L141-L150 |
23,607 | xanzy/go-cloudstack | cloudstack/VPCService.go | CreatePrivateGateway | func (s *VPCService) CreatePrivateGateway(p *CreatePrivateGatewayParams) (*CreatePrivateGatewayResponse, error) {
resp, err := s.cs.newRequest("createPrivateGateway", p.toURLValues())
if err != nil {
return nil, err
}
var r CreatePrivateGatewayResponse
if err := json.Unmarshal(resp, &r); err != nil {
return n... | go | func (s *VPCService) CreatePrivateGateway(p *CreatePrivateGatewayParams) (*CreatePrivateGatewayResponse, error) {
resp, err := s.cs.newRequest("createPrivateGateway", p.toURLValues())
if err != nil {
return nil, err
}
var r CreatePrivateGatewayResponse
if err := json.Unmarshal(resp, &r); err != nil {
return n... | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"CreatePrivateGateway",
"(",
"p",
"*",
"CreatePrivateGatewayParams",
")",
"(",
"*",
"CreatePrivateGatewayResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\... | // Creates a private gateway | [
"Creates",
"a",
"private",
"gateway"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L153-L185 |
23,608 | xanzy/go-cloudstack | cloudstack/VPCService.go | NewCreateStaticRouteParams | func (s *VPCService) NewCreateStaticRouteParams(cidr string, gatewayid string) *CreateStaticRouteParams {
p := &CreateStaticRouteParams{}
p.p = make(map[string]interface{})
p.p["cidr"] = cidr
p.p["gatewayid"] = gatewayid
return p
} | go | func (s *VPCService) NewCreateStaticRouteParams(cidr string, gatewayid string) *CreateStaticRouteParams {
p := &CreateStaticRouteParams{}
p.p = make(map[string]interface{})
p.p["cidr"] = cidr
p.p["gatewayid"] = gatewayid
return p
} | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"NewCreateStaticRouteParams",
"(",
"cidr",
"string",
",",
"gatewayid",
"string",
")",
"*",
"CreateStaticRouteParams",
"{",
"p",
":=",
"&",
"CreateStaticRouteParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
... | // You should always use this function to get a new CreateStaticRouteParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CreateStaticRouteParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L244-L250 |
23,609 | xanzy/go-cloudstack | cloudstack/VPCService.go | CreateStaticRoute | func (s *VPCService) CreateStaticRoute(p *CreateStaticRouteParams) (*CreateStaticRouteResponse, error) {
resp, err := s.cs.newRequest("createStaticRoute", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateStaticRouteResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
//... | go | func (s *VPCService) CreateStaticRoute(p *CreateStaticRouteParams) (*CreateStaticRouteResponse, error) {
resp, err := s.cs.newRequest("createStaticRoute", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateStaticRouteResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
//... | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"CreateStaticRoute",
"(",
"p",
"*",
"CreateStaticRouteParams",
")",
"(",
"*",
"CreateStaticRouteResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
","... | // Creates a static route | [
"Creates",
"a",
"static",
"route"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L253-L285 |
23,610 | xanzy/go-cloudstack | cloudstack/VPCService.go | NewCreateVPCParams | func (s *VPCService) NewCreateVPCParams(cidr string, displaytext string, name string, vpcofferingid string, zoneid string) *CreateVPCParams {
p := &CreateVPCParams{}
p.p = make(map[string]interface{})
p.p["cidr"] = cidr
p.p["displaytext"] = displaytext
p.p["name"] = name
p.p["vpcofferingid"] = vpcofferingid
p.p[... | go | func (s *VPCService) NewCreateVPCParams(cidr string, displaytext string, name string, vpcofferingid string, zoneid string) *CreateVPCParams {
p := &CreateVPCParams{}
p.p = make(map[string]interface{})
p.p["cidr"] = cidr
p.p["displaytext"] = displaytext
p.p["name"] = name
p.p["vpcofferingid"] = vpcofferingid
p.p[... | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"NewCreateVPCParams",
"(",
"cidr",
"string",
",",
"displaytext",
"string",
",",
"name",
"string",
",",
"vpcofferingid",
"string",
",",
"zoneid",
"string",
")",
"*",
"CreateVPCParams",
"{",
"p",
":=",
"&",
"CreateVPCP... | // You should always use this function to get a new CreateVPCParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CreateVPCParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L439-L448 |
23,611 | xanzy/go-cloudstack | cloudstack/VPCService.go | CreateVPC | func (s *VPCService) CreateVPC(p *CreateVPCParams) (*CreateVPCResponse, error) {
resp, err := s.cs.newRequest("createVPC", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateVPCResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a async client, we need to w... | go | func (s *VPCService) CreateVPC(p *CreateVPCParams) (*CreateVPCResponse, error) {
resp, err := s.cs.newRequest("createVPC", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateVPCResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a async client, we need to w... | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"CreateVPC",
"(",
"p",
"*",
"CreateVPCParams",
")",
"(",
"*",
"CreateVPCResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
"p",
".",
"toURL... | // Creates a VPC | [
"Creates",
"a",
"VPC"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L451-L483 |
23,612 | xanzy/go-cloudstack | cloudstack/VPCService.go | NewCreateVPCOfferingParams | func (s *VPCService) NewCreateVPCOfferingParams(displaytext string, name string, supportedservices []string) *CreateVPCOfferingParams {
p := &CreateVPCOfferingParams{}
p.p = make(map[string]interface{})
p.p["displaytext"] = displaytext
p.p["name"] = name
p.p["supportedservices"] = supportedservices
return p
} | go | func (s *VPCService) NewCreateVPCOfferingParams(displaytext string, name string, supportedservices []string) *CreateVPCOfferingParams {
p := &CreateVPCOfferingParams{}
p.p = make(map[string]interface{})
p.p["displaytext"] = displaytext
p.p["name"] = name
p.p["supportedservices"] = supportedservices
return p
} | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"NewCreateVPCOfferingParams",
"(",
"displaytext",
"string",
",",
"name",
"string",
",",
"supportedservices",
"[",
"]",
"string",
")",
"*",
"CreateVPCOfferingParams",
"{",
"p",
":=",
"&",
"CreateVPCOfferingParams",
"{",
"... | // You should always use this function to get a new CreateVPCOfferingParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CreateVPCOfferingParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L700-L707 |
23,613 | xanzy/go-cloudstack | cloudstack/VPCService.go | CreateVPCOffering | func (s *VPCService) CreateVPCOffering(p *CreateVPCOfferingParams) (*CreateVPCOfferingResponse, error) {
resp, err := s.cs.newRequest("createVPCOffering", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateVPCOfferingResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
//... | go | func (s *VPCService) CreateVPCOffering(p *CreateVPCOfferingParams) (*CreateVPCOfferingResponse, error) {
resp, err := s.cs.newRequest("createVPCOffering", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateVPCOfferingResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
//... | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"CreateVPCOffering",
"(",
"p",
"*",
"CreateVPCOfferingParams",
")",
"(",
"*",
"CreateVPCOfferingResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
","... | // Creates VPC offering | [
"Creates",
"VPC",
"offering"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L710-L742 |
23,614 | xanzy/go-cloudstack | cloudstack/VPCService.go | NewDeletePrivateGatewayParams | func (s *VPCService) NewDeletePrivateGatewayParams(id string) *DeletePrivateGatewayParams {
p := &DeletePrivateGatewayParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *VPCService) NewDeletePrivateGatewayParams(id string) *DeletePrivateGatewayParams {
p := &DeletePrivateGatewayParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"NewDeletePrivateGatewayParams",
"(",
"id",
"string",
")",
"*",
"DeletePrivateGatewayParams",
"{",
"p",
":=",
"&",
"DeletePrivateGatewayParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
... | // You should always use this function to get a new DeletePrivateGatewayParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DeletePrivateGatewayParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L804-L809 |
23,615 | xanzy/go-cloudstack | cloudstack/VPCService.go | DeletePrivateGateway | func (s *VPCService) DeletePrivateGateway(p *DeletePrivateGatewayParams) (*DeletePrivateGatewayResponse, error) {
resp, err := s.cs.newRequest("deletePrivateGateway", p.toURLValues())
if err != nil {
return nil, err
}
var r DeletePrivateGatewayResponse
if err := json.Unmarshal(resp, &r); err != nil {
return n... | go | func (s *VPCService) DeletePrivateGateway(p *DeletePrivateGatewayParams) (*DeletePrivateGatewayResponse, error) {
resp, err := s.cs.newRequest("deletePrivateGateway", p.toURLValues())
if err != nil {
return nil, err
}
var r DeletePrivateGatewayResponse
if err := json.Unmarshal(resp, &r); err != nil {
return n... | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"DeletePrivateGateway",
"(",
"p",
"*",
"DeletePrivateGatewayParams",
")",
"(",
"*",
"DeletePrivateGatewayResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\... | // Deletes a Private gateway | [
"Deletes",
"a",
"Private",
"gateway"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L812-L839 |
23,616 | xanzy/go-cloudstack | cloudstack/VPCService.go | NewDeleteStaticRouteParams | func (s *VPCService) NewDeleteStaticRouteParams(id string) *DeleteStaticRouteParams {
p := &DeleteStaticRouteParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *VPCService) NewDeleteStaticRouteParams(id string) *DeleteStaticRouteParams {
p := &DeleteStaticRouteParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"NewDeleteStaticRouteParams",
"(",
"id",
"string",
")",
"*",
"DeleteStaticRouteParams",
"{",
"p",
":=",
"&",
"DeleteStaticRouteParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
... | // You should always use this function to get a new DeleteStaticRouteParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DeleteStaticRouteParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L872-L877 |
23,617 | xanzy/go-cloudstack | cloudstack/VPCService.go | DeleteStaticRoute | func (s *VPCService) DeleteStaticRoute(p *DeleteStaticRouteParams) (*DeleteStaticRouteResponse, error) {
resp, err := s.cs.newRequest("deleteStaticRoute", p.toURLValues())
if err != nil {
return nil, err
}
var r DeleteStaticRouteResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
//... | go | func (s *VPCService) DeleteStaticRoute(p *DeleteStaticRouteParams) (*DeleteStaticRouteResponse, error) {
resp, err := s.cs.newRequest("deleteStaticRoute", p.toURLValues())
if err != nil {
return nil, err
}
var r DeleteStaticRouteResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
//... | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"DeleteStaticRoute",
"(",
"p",
"*",
"DeleteStaticRouteParams",
")",
"(",
"*",
"DeleteStaticRouteResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
","... | // Deletes a static route | [
"Deletes",
"a",
"static",
"route"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L880-L907 |
23,618 | xanzy/go-cloudstack | cloudstack/VPCService.go | NewDeleteVPCParams | func (s *VPCService) NewDeleteVPCParams(id string) *DeleteVPCParams {
p := &DeleteVPCParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *VPCService) NewDeleteVPCParams(id string) *DeleteVPCParams {
p := &DeleteVPCParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"NewDeleteVPCParams",
"(",
"id",
"string",
")",
"*",
"DeleteVPCParams",
"{",
"p",
":=",
"&",
"DeleteVPCParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
"}... | // You should always use this function to get a new DeleteVPCParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DeleteVPCParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L940-L945 |
23,619 | xanzy/go-cloudstack | cloudstack/VPCService.go | DeleteVPC | func (s *VPCService) DeleteVPC(p *DeleteVPCParams) (*DeleteVPCResponse, error) {
resp, err := s.cs.newRequest("deleteVPC", p.toURLValues())
if err != nil {
return nil, err
}
var r DeleteVPCResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a async client, we need to w... | go | func (s *VPCService) DeleteVPC(p *DeleteVPCParams) (*DeleteVPCResponse, error) {
resp, err := s.cs.newRequest("deleteVPC", p.toURLValues())
if err != nil {
return nil, err
}
var r DeleteVPCResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a async client, we need to w... | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"DeleteVPC",
"(",
"p",
"*",
"DeleteVPCParams",
")",
"(",
"*",
"DeleteVPCResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
"p",
".",
"toURL... | // Deletes a VPC | [
"Deletes",
"a",
"VPC"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L948-L975 |
23,620 | xanzy/go-cloudstack | cloudstack/VPCService.go | NewDeleteVPCOfferingParams | func (s *VPCService) NewDeleteVPCOfferingParams(id string) *DeleteVPCOfferingParams {
p := &DeleteVPCOfferingParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *VPCService) NewDeleteVPCOfferingParams(id string) *DeleteVPCOfferingParams {
p := &DeleteVPCOfferingParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"NewDeleteVPCOfferingParams",
"(",
"id",
"string",
")",
"*",
"DeleteVPCOfferingParams",
"{",
"p",
":=",
"&",
"DeleteVPCOfferingParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
... | // You should always use this function to get a new DeleteVPCOfferingParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DeleteVPCOfferingParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L1008-L1013 |
23,621 | xanzy/go-cloudstack | cloudstack/VPCService.go | DeleteVPCOffering | func (s *VPCService) DeleteVPCOffering(p *DeleteVPCOfferingParams) (*DeleteVPCOfferingResponse, error) {
resp, err := s.cs.newRequest("deleteVPCOffering", p.toURLValues())
if err != nil {
return nil, err
}
var r DeleteVPCOfferingResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
//... | go | func (s *VPCService) DeleteVPCOffering(p *DeleteVPCOfferingParams) (*DeleteVPCOfferingResponse, error) {
resp, err := s.cs.newRequest("deleteVPCOffering", p.toURLValues())
if err != nil {
return nil, err
}
var r DeleteVPCOfferingResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
//... | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"DeleteVPCOffering",
"(",
"p",
"*",
"DeleteVPCOfferingParams",
")",
"(",
"*",
"DeleteVPCOfferingResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
","... | // Deletes VPC offering | [
"Deletes",
"VPC",
"offering"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L1016-L1043 |
23,622 | xanzy/go-cloudstack | cloudstack/VPCService.go | NewListPrivateGatewaysParams | func (s *VPCService) NewListPrivateGatewaysParams() *ListPrivateGatewaysParams {
p := &ListPrivateGatewaysParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *VPCService) NewListPrivateGatewaysParams() *ListPrivateGatewaysParams {
p := &ListPrivateGatewaysParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"NewListPrivateGatewaysParams",
"(",
")",
"*",
"ListPrivateGatewaysParams",
"{",
"p",
":=",
"&",
"ListPrivateGatewaysParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
... | // You should always use this function to get a new ListPrivateGatewaysParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListPrivateGatewaysParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L1212-L1216 |
23,623 | xanzy/go-cloudstack | cloudstack/VPCService.go | ListPrivateGateways | func (s *VPCService) ListPrivateGateways(p *ListPrivateGatewaysParams) (*ListPrivateGatewaysResponse, error) {
resp, err := s.cs.newRequest("listPrivateGateways", p.toURLValues())
if err != nil {
return nil, err
}
var r ListPrivateGatewaysResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, e... | go | func (s *VPCService) ListPrivateGateways(p *ListPrivateGatewaysParams) (*ListPrivateGatewaysResponse, error) {
resp, err := s.cs.newRequest("listPrivateGateways", p.toURLValues())
if err != nil {
return nil, err
}
var r ListPrivateGatewaysResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, e... | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"ListPrivateGateways",
"(",
"p",
"*",
"ListPrivateGatewaysParams",
")",
"(",
"*",
"ListPrivateGatewaysResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",... | // List private gateways | [
"List",
"private",
"gateways"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L1252-L1264 |
23,624 | xanzy/go-cloudstack | cloudstack/VPCService.go | NewListStaticRoutesParams | func (s *VPCService) NewListStaticRoutesParams() *ListStaticRoutesParams {
p := &ListStaticRoutesParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *VPCService) NewListStaticRoutesParams() *ListStaticRoutesParams {
p := &ListStaticRoutesParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"NewListStaticRoutesParams",
"(",
")",
"*",
"ListStaticRoutesParams",
"{",
"p",
":=",
"&",
"ListStaticRoutesParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
"... | // You should always use this function to get a new ListStaticRoutesParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListStaticRoutesParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L1446-L1450 |
23,625 | xanzy/go-cloudstack | cloudstack/VPCService.go | ListStaticRoutes | func (s *VPCService) ListStaticRoutes(p *ListStaticRoutesParams) (*ListStaticRoutesResponse, error) {
resp, err := s.cs.newRequest("listStaticRoutes", p.toURLValues())
if err != nil {
return nil, err
}
var r ListStaticRoutesResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
return ... | go | func (s *VPCService) ListStaticRoutes(p *ListStaticRoutesParams) (*ListStaticRoutesResponse, error) {
resp, err := s.cs.newRequest("listStaticRoutes", p.toURLValues())
if err != nil {
return nil, err
}
var r ListStaticRoutesResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
return ... | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"ListStaticRoutes",
"(",
"p",
"*",
"ListStaticRoutesParams",
")",
"(",
"*",
"ListStaticRoutesResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
... | // Lists all static routes | [
"Lists",
"all",
"static",
"routes"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L1486-L1498 |
23,626 | xanzy/go-cloudstack | cloudstack/VPCService.go | NewListVPCOfferingsParams | func (s *VPCService) NewListVPCOfferingsParams() *ListVPCOfferingsParams {
p := &ListVPCOfferingsParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *VPCService) NewListVPCOfferingsParams() *ListVPCOfferingsParams {
p := &ListVPCOfferingsParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"NewListVPCOfferingsParams",
"(",
")",
"*",
"ListVPCOfferingsParams",
"{",
"p",
":=",
"&",
"ListVPCOfferingsParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
"... | // You should always use this function to get a new ListVPCOfferingsParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListVPCOfferingsParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L1636-L1640 |
23,627 | xanzy/go-cloudstack | cloudstack/VPCService.go | ListVPCOfferings | func (s *VPCService) ListVPCOfferings(p *ListVPCOfferingsParams) (*ListVPCOfferingsResponse, error) {
resp, err := s.cs.newRequest("listVPCOfferings", p.toURLValues())
if err != nil {
return nil, err
}
var r ListVPCOfferingsResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
return ... | go | func (s *VPCService) ListVPCOfferings(p *ListVPCOfferingsParams) (*ListVPCOfferingsResponse, error) {
resp, err := s.cs.newRequest("listVPCOfferings", p.toURLValues())
if err != nil {
return nil, err
}
var r ListVPCOfferingsResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
return ... | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"ListVPCOfferings",
"(",
"p",
"*",
"ListVPCOfferingsParams",
")",
"(",
"*",
"ListVPCOfferingsResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
... | // Lists VPC offerings | [
"Lists",
"VPC",
"offerings"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L1726-L1738 |
23,628 | xanzy/go-cloudstack | cloudstack/VPCService.go | NewListVPCsParams | func (s *VPCService) NewListVPCsParams() *ListVPCsParams {
p := &ListVPCsParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *VPCService) NewListVPCsParams() *ListVPCsParams {
p := &ListVPCsParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"NewListVPCsParams",
"(",
")",
"*",
"ListVPCsParams",
"{",
"p",
":=",
"&",
"ListVPCsParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
"}",
")",
"\n",
"re... | // You should always use this function to get a new ListVPCsParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListVPCsParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L2014-L2018 |
23,629 | xanzy/go-cloudstack | cloudstack/VPCService.go | NewRestartVPCParams | func (s *VPCService) NewRestartVPCParams(id string) *RestartVPCParams {
p := &RestartVPCParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *VPCService) NewRestartVPCParams(id string) *RestartVPCParams {
p := &RestartVPCParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"NewRestartVPCParams",
"(",
"id",
"string",
")",
"*",
"RestartVPCParams",
"{",
"p",
":=",
"&",
"RestartVPCParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
... | // You should always use this function to get a new RestartVPCParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"RestartVPCParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L2295-L2300 |
23,630 | xanzy/go-cloudstack | cloudstack/VPCService.go | RestartVPC | func (s *VPCService) RestartVPC(p *RestartVPCParams) (*RestartVPCResponse, error) {
resp, err := s.cs.newRequest("restartVPC", p.toURLValues())
if err != nil {
return nil, err
}
var r RestartVPCResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a async client, we need... | go | func (s *VPCService) RestartVPC(p *RestartVPCParams) (*RestartVPCResponse, error) {
resp, err := s.cs.newRequest("restartVPC", p.toURLValues())
if err != nil {
return nil, err
}
var r RestartVPCResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a async client, we need... | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"RestartVPC",
"(",
"p",
"*",
"RestartVPCParams",
")",
"(",
"*",
"RestartVPCResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
"p",
".",
"to... | // Restarts a VPC | [
"Restarts",
"a",
"VPC"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L2303-L2335 |
23,631 | xanzy/go-cloudstack | cloudstack/VPCService.go | NewUpdateVPCParams | func (s *VPCService) NewUpdateVPCParams(id string) *UpdateVPCParams {
p := &UpdateVPCParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *VPCService) NewUpdateVPCParams(id string) *UpdateVPCParams {
p := &UpdateVPCParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"NewUpdateVPCParams",
"(",
"id",
"string",
")",
"*",
"UpdateVPCParams",
"{",
"p",
":=",
"&",
"UpdateVPCParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
"}... | // You should always use this function to get a new UpdateVPCParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"UpdateVPCParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L2531-L2536 |
23,632 | xanzy/go-cloudstack | cloudstack/VPCService.go | UpdateVPC | func (s *VPCService) UpdateVPC(p *UpdateVPCParams) (*UpdateVPCResponse, error) {
resp, err := s.cs.newRequest("updateVPC", p.toURLValues())
if err != nil {
return nil, err
}
var r UpdateVPCResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a async client, we need to w... | go | func (s *VPCService) UpdateVPC(p *UpdateVPCParams) (*UpdateVPCResponse, error) {
resp, err := s.cs.newRequest("updateVPC", p.toURLValues())
if err != nil {
return nil, err
}
var r UpdateVPCResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a async client, we need to w... | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"UpdateVPC",
"(",
"p",
"*",
"UpdateVPCParams",
")",
"(",
"*",
"UpdateVPCResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
"p",
".",
"toURL... | // Updates a VPC | [
"Updates",
"a",
"VPC"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L2539-L2571 |
23,633 | xanzy/go-cloudstack | cloudstack/VPCService.go | NewUpdateVPCOfferingParams | func (s *VPCService) NewUpdateVPCOfferingParams(id string) *UpdateVPCOfferingParams {
p := &UpdateVPCOfferingParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *VPCService) NewUpdateVPCOfferingParams(id string) *UpdateVPCOfferingParams {
p := &UpdateVPCOfferingParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"NewUpdateVPCOfferingParams",
"(",
"id",
"string",
")",
"*",
"UpdateVPCOfferingParams",
"{",
"p",
":=",
"&",
"UpdateVPCOfferingParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
... | // You should always use this function to get a new UpdateVPCOfferingParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"UpdateVPCOfferingParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L2755-L2760 |
23,634 | xanzy/go-cloudstack | cloudstack/VPCService.go | UpdateVPCOffering | func (s *VPCService) UpdateVPCOffering(p *UpdateVPCOfferingParams) (*UpdateVPCOfferingResponse, error) {
resp, err := s.cs.newRequest("updateVPCOffering", p.toURLValues())
if err != nil {
return nil, err
}
var r UpdateVPCOfferingResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
//... | go | func (s *VPCService) UpdateVPCOffering(p *UpdateVPCOfferingParams) (*UpdateVPCOfferingResponse, error) {
resp, err := s.cs.newRequest("updateVPCOffering", p.toURLValues())
if err != nil {
return nil, err
}
var r UpdateVPCOfferingResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
//... | [
"func",
"(",
"s",
"*",
"VPCService",
")",
"UpdateVPCOffering",
"(",
"p",
"*",
"UpdateVPCOfferingParams",
")",
"(",
"*",
"UpdateVPCOfferingResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
","... | // Updates VPC offering | [
"Updates",
"VPC",
"offering"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VPCService.go#L2763-L2795 |
23,635 | xanzy/go-cloudstack | cloudstack/ZoneService.go | NewCreateZoneParams | func (s *ZoneService) NewCreateZoneParams(dns1 string, internaldns1 string, name string, networktype string) *CreateZoneParams {
p := &CreateZoneParams{}
p.p = make(map[string]interface{})
p.p["dns1"] = dns1
p.p["internaldns1"] = internaldns1
p.p["name"] = name
p.p["networktype"] = networktype
return p
} | go | func (s *ZoneService) NewCreateZoneParams(dns1 string, internaldns1 string, name string, networktype string) *CreateZoneParams {
p := &CreateZoneParams{}
p.p = make(map[string]interface{})
p.p["dns1"] = dns1
p.p["internaldns1"] = internaldns1
p.p["name"] = name
p.p["networktype"] = networktype
return p
} | [
"func",
"(",
"s",
"*",
"ZoneService",
")",
"NewCreateZoneParams",
"(",
"dns1",
"string",
",",
"internaldns1",
"string",
",",
"name",
"string",
",",
"networktype",
"string",
")",
"*",
"CreateZoneParams",
"{",
"p",
":=",
"&",
"CreateZoneParams",
"{",
"}",
"\n"... | // You should always use this function to get a new CreateZoneParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CreateZoneParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ZoneService.go#L197-L205 |
23,636 | xanzy/go-cloudstack | cloudstack/ZoneService.go | NewDedicateZoneParams | func (s *ZoneService) NewDedicateZoneParams(domainid string, zoneid string) *DedicateZoneParams {
p := &DedicateZoneParams{}
p.p = make(map[string]interface{})
p.p["domainid"] = domainid
p.p["zoneid"] = zoneid
return p
} | go | func (s *ZoneService) NewDedicateZoneParams(domainid string, zoneid string) *DedicateZoneParams {
p := &DedicateZoneParams{}
p.p = make(map[string]interface{})
p.p["domainid"] = domainid
p.p["zoneid"] = zoneid
return p
} | [
"func",
"(",
"s",
"*",
"ZoneService",
")",
"NewDedicateZoneParams",
"(",
"domainid",
"string",
",",
"zoneid",
"string",
")",
"*",
"DedicateZoneParams",
"{",
"p",
":=",
"&",
"DedicateZoneParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"["... | // You should always use this function to get a new DedicateZoneParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DedicateZoneParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ZoneService.go#L310-L316 |
23,637 | xanzy/go-cloudstack | cloudstack/ZoneService.go | DedicateZone | func (s *ZoneService) DedicateZone(p *DedicateZoneParams) (*DedicateZoneResponse, error) {
resp, err := s.cs.newRequest("dedicateZone", p.toURLValues())
if err != nil {
return nil, err
}
var r DedicateZoneResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a async clie... | go | func (s *ZoneService) DedicateZone(p *DedicateZoneParams) (*DedicateZoneResponse, error) {
resp, err := s.cs.newRequest("dedicateZone", p.toURLValues())
if err != nil {
return nil, err
}
var r DedicateZoneResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a async clie... | [
"func",
"(",
"s",
"*",
"ZoneService",
")",
"DedicateZone",
"(",
"p",
"*",
"DedicateZoneParams",
")",
"(",
"*",
"DedicateZoneResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
"p",
"."... | // Dedicates a zones. | [
"Dedicates",
"a",
"zones",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ZoneService.go#L319-L351 |
23,638 | xanzy/go-cloudstack | cloudstack/ZoneService.go | NewDeleteZoneParams | func (s *ZoneService) NewDeleteZoneParams(id string) *DeleteZoneParams {
p := &DeleteZoneParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *ZoneService) NewDeleteZoneParams(id string) *DeleteZoneParams {
p := &DeleteZoneParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"ZoneService",
")",
"NewDeleteZoneParams",
"(",
"id",
"string",
")",
"*",
"DeleteZoneParams",
"{",
"p",
":=",
"&",
"DeleteZoneParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
... | // You should always use this function to get a new DeleteZoneParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DeleteZoneParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ZoneService.go#L388-L393 |
23,639 | xanzy/go-cloudstack | cloudstack/ZoneService.go | NewDisableOutOfBandManagementForZoneParams | func (s *ZoneService) NewDisableOutOfBandManagementForZoneParams(zoneid string) *DisableOutOfBandManagementForZoneParams {
p := &DisableOutOfBandManagementForZoneParams{}
p.p = make(map[string]interface{})
p.p["zoneid"] = zoneid
return p
} | go | func (s *ZoneService) NewDisableOutOfBandManagementForZoneParams(zoneid string) *DisableOutOfBandManagementForZoneParams {
p := &DisableOutOfBandManagementForZoneParams{}
p.p = make(map[string]interface{})
p.p["zoneid"] = zoneid
return p
} | [
"func",
"(",
"s",
"*",
"ZoneService",
")",
"NewDisableOutOfBandManagementForZoneParams",
"(",
"zoneid",
"string",
")",
"*",
"DisableOutOfBandManagementForZoneParams",
"{",
"p",
":=",
"&",
"DisableOutOfBandManagementForZoneParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
... | // You should always use this function to get a new DisableOutOfBandManagementForZoneParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DisableOutOfBandManagementForZoneParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ZoneService.go#L459-L464 |
23,640 | xanzy/go-cloudstack | cloudstack/ZoneService.go | DisableOutOfBandManagementForZone | func (s *ZoneService) DisableOutOfBandManagementForZone(p *DisableOutOfBandManagementForZoneParams) (*DisableOutOfBandManagementForZoneResponse, error) {
resp, err := s.cs.newRequest("disableOutOfBandManagementForZone", p.toURLValues())
if err != nil {
return nil, err
}
var r DisableOutOfBandManagementForZoneRes... | go | func (s *ZoneService) DisableOutOfBandManagementForZone(p *DisableOutOfBandManagementForZoneParams) (*DisableOutOfBandManagementForZoneResponse, error) {
resp, err := s.cs.newRequest("disableOutOfBandManagementForZone", p.toURLValues())
if err != nil {
return nil, err
}
var r DisableOutOfBandManagementForZoneRes... | [
"func",
"(",
"s",
"*",
"ZoneService",
")",
"DisableOutOfBandManagementForZone",
"(",
"p",
"*",
"DisableOutOfBandManagementForZoneParams",
")",
"(",
"*",
"DisableOutOfBandManagementForZoneResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
... | // Disables out-of-band management for a zone | [
"Disables",
"out",
"-",
"of",
"-",
"band",
"management",
"for",
"a",
"zone"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ZoneService.go#L467-L499 |
23,641 | xanzy/go-cloudstack | cloudstack/ZoneService.go | NewEnableOutOfBandManagementForZoneParams | func (s *ZoneService) NewEnableOutOfBandManagementForZoneParams(zoneid string) *EnableOutOfBandManagementForZoneParams {
p := &EnableOutOfBandManagementForZoneParams{}
p.p = make(map[string]interface{})
p.p["zoneid"] = zoneid
return p
} | go | func (s *ZoneService) NewEnableOutOfBandManagementForZoneParams(zoneid string) *EnableOutOfBandManagementForZoneParams {
p := &EnableOutOfBandManagementForZoneParams{}
p.p = make(map[string]interface{})
p.p["zoneid"] = zoneid
return p
} | [
"func",
"(",
"s",
"*",
"ZoneService",
")",
"NewEnableOutOfBandManagementForZoneParams",
"(",
"zoneid",
"string",
")",
"*",
"EnableOutOfBandManagementForZoneParams",
"{",
"p",
":=",
"&",
"EnableOutOfBandManagementForZoneParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"m... | // You should always use this function to get a new EnableOutOfBandManagementForZoneParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"EnableOutOfBandManagementForZoneParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ZoneService.go#L541-L546 |
23,642 | xanzy/go-cloudstack | cloudstack/ZoneService.go | EnableOutOfBandManagementForZone | func (s *ZoneService) EnableOutOfBandManagementForZone(p *EnableOutOfBandManagementForZoneParams) (*EnableOutOfBandManagementForZoneResponse, error) {
resp, err := s.cs.newRequest("enableOutOfBandManagementForZone", p.toURLValues())
if err != nil {
return nil, err
}
var r EnableOutOfBandManagementForZoneResponse... | go | func (s *ZoneService) EnableOutOfBandManagementForZone(p *EnableOutOfBandManagementForZoneParams) (*EnableOutOfBandManagementForZoneResponse, error) {
resp, err := s.cs.newRequest("enableOutOfBandManagementForZone", p.toURLValues())
if err != nil {
return nil, err
}
var r EnableOutOfBandManagementForZoneResponse... | [
"func",
"(",
"s",
"*",
"ZoneService",
")",
"EnableOutOfBandManagementForZone",
"(",
"p",
"*",
"EnableOutOfBandManagementForZoneParams",
")",
"(",
"*",
"EnableOutOfBandManagementForZoneResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
"."... | // Enables out-of-band management for a zone | [
"Enables",
"out",
"-",
"of",
"-",
"band",
"management",
"for",
"a",
"zone"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ZoneService.go#L549-L581 |
23,643 | xanzy/go-cloudstack | cloudstack/ZoneService.go | NewListDedicatedZonesParams | func (s *ZoneService) NewListDedicatedZonesParams() *ListDedicatedZonesParams {
p := &ListDedicatedZonesParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *ZoneService) NewListDedicatedZonesParams() *ListDedicatedZonesParams {
p := &ListDedicatedZonesParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"ZoneService",
")",
"NewListDedicatedZonesParams",
"(",
")",
"*",
"ListDedicatedZonesParams",
"{",
"p",
":=",
"&",
"ListDedicatedZonesParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"... | // You should always use this function to get a new ListDedicatedZonesParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListDedicatedZonesParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ZoneService.go#L691-L695 |
23,644 | xanzy/go-cloudstack | cloudstack/ZoneService.go | ListDedicatedZones | func (s *ZoneService) ListDedicatedZones(p *ListDedicatedZonesParams) (*ListDedicatedZonesResponse, error) {
resp, err := s.cs.newRequest("listDedicatedZones", p.toURLValues())
if err != nil {
return nil, err
}
var r ListDedicatedZonesResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
... | go | func (s *ZoneService) ListDedicatedZones(p *ListDedicatedZonesParams) (*ListDedicatedZonesResponse, error) {
resp, err := s.cs.newRequest("listDedicatedZones", p.toURLValues())
if err != nil {
return nil, err
}
var r ListDedicatedZonesResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
... | [
"func",
"(",
"s",
"*",
"ZoneService",
")",
"ListDedicatedZones",
"(",
"p",
"*",
"ListDedicatedZonesParams",
")",
"(",
"*",
"ListDedicatedZonesResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
... | // List dedicated zones. | [
"List",
"dedicated",
"zones",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ZoneService.go#L698-L710 |
23,645 | xanzy/go-cloudstack | cloudstack/ZoneService.go | NewListZonesParams | func (s *ZoneService) NewListZonesParams() *ListZonesParams {
p := &ListZonesParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *ZoneService) NewListZonesParams() *ListZonesParams {
p := &ListZonesParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"ZoneService",
")",
"NewListZonesParams",
"(",
")",
"*",
"ListZonesParams",
"{",
"p",
":=",
"&",
"ListZonesParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
"}",
")",
"\n",
... | // You should always use this function to get a new ListZonesParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListZonesParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ZoneService.go#L859-L863 |
23,646 | xanzy/go-cloudstack | cloudstack/ZoneService.go | NewReleaseDedicatedZoneParams | func (s *ZoneService) NewReleaseDedicatedZoneParams(zoneid string) *ReleaseDedicatedZoneParams {
p := &ReleaseDedicatedZoneParams{}
p.p = make(map[string]interface{})
p.p["zoneid"] = zoneid
return p
} | go | func (s *ZoneService) NewReleaseDedicatedZoneParams(zoneid string) *ReleaseDedicatedZoneParams {
p := &ReleaseDedicatedZoneParams{}
p.p = make(map[string]interface{})
p.p["zoneid"] = zoneid
return p
} | [
"func",
"(",
"s",
"*",
"ZoneService",
")",
"NewReleaseDedicatedZoneParams",
"(",
"zoneid",
"string",
")",
"*",
"ReleaseDedicatedZoneParams",
"{",
"p",
":=",
"&",
"ReleaseDedicatedZoneParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"stri... | // You should always use this function to get a new ReleaseDedicatedZoneParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ReleaseDedicatedZoneParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ZoneService.go#L1034-L1039 |
23,647 | xanzy/go-cloudstack | cloudstack/ZoneService.go | ReleaseDedicatedZone | func (s *ZoneService) ReleaseDedicatedZone(p *ReleaseDedicatedZoneParams) (*ReleaseDedicatedZoneResponse, error) {
resp, err := s.cs.newRequest("releaseDedicatedZone", p.toURLValues())
if err != nil {
return nil, err
}
var r ReleaseDedicatedZoneResponse
if err := json.Unmarshal(resp, &r); err != nil {
return ... | go | func (s *ZoneService) ReleaseDedicatedZone(p *ReleaseDedicatedZoneParams) (*ReleaseDedicatedZoneResponse, error) {
resp, err := s.cs.newRequest("releaseDedicatedZone", p.toURLValues())
if err != nil {
return nil, err
}
var r ReleaseDedicatedZoneResponse
if err := json.Unmarshal(resp, &r); err != nil {
return ... | [
"func",
"(",
"s",
"*",
"ZoneService",
")",
"ReleaseDedicatedZone",
"(",
"p",
"*",
"ReleaseDedicatedZoneParams",
")",
"(",
"*",
"ReleaseDedicatedZoneResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"... | // Release dedication of zone | [
"Release",
"dedication",
"of",
"zone"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ZoneService.go#L1042-L1069 |
23,648 | xanzy/go-cloudstack | cloudstack/ZoneService.go | NewUpdateZoneParams | func (s *ZoneService) NewUpdateZoneParams(id string) *UpdateZoneParams {
p := &UpdateZoneParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *ZoneService) NewUpdateZoneParams(id string) *UpdateZoneParams {
p := &UpdateZoneParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"ZoneService",
")",
"NewUpdateZoneParams",
"(",
"id",
"string",
")",
"*",
"UpdateZoneParams",
"{",
"p",
":=",
"&",
"UpdateZoneParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
... | // You should always use this function to get a new UpdateZoneParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"UpdateZoneParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ZoneService.go#L1274-L1279 |
23,649 | xanzy/go-cloudstack | cloudstack/OvsElementService.go | NewConfigureOvsElementParams | func (s *OvsElementService) NewConfigureOvsElementParams(enabled bool, id string) *ConfigureOvsElementParams {
p := &ConfigureOvsElementParams{}
p.p = make(map[string]interface{})
p.p["enabled"] = enabled
p.p["id"] = id
return p
} | go | func (s *OvsElementService) NewConfigureOvsElementParams(enabled bool, id string) *ConfigureOvsElementParams {
p := &ConfigureOvsElementParams{}
p.p = make(map[string]interface{})
p.p["enabled"] = enabled
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"OvsElementService",
")",
"NewConfigureOvsElementParams",
"(",
"enabled",
"bool",
",",
"id",
"string",
")",
"*",
"ConfigureOvsElementParams",
"{",
"p",
":=",
"&",
"ConfigureOvsElementParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
... | // You should always use this function to get a new ConfigureOvsElementParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ConfigureOvsElementParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/OvsElementService.go#L64-L70 |
23,650 | xanzy/go-cloudstack | cloudstack/OvsElementService.go | ConfigureOvsElement | func (s *OvsElementService) ConfigureOvsElement(p *ConfigureOvsElementParams) (*OvsElementResponse, error) {
resp, err := s.cs.newRequest("configureOvsElement", p.toURLValues())
if err != nil {
return nil, err
}
var r OvsElementResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// ... | go | func (s *OvsElementService) ConfigureOvsElement(p *ConfigureOvsElementParams) (*OvsElementResponse, error) {
resp, err := s.cs.newRequest("configureOvsElement", p.toURLValues())
if err != nil {
return nil, err
}
var r OvsElementResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// ... | [
"func",
"(",
"s",
"*",
"OvsElementService",
")",
"ConfigureOvsElement",
"(",
"p",
"*",
"ConfigureOvsElementParams",
")",
"(",
"*",
"OvsElementResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
... | // Configures an ovs element. | [
"Configures",
"an",
"ovs",
"element",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/OvsElementService.go#L73-L105 |
23,651 | xanzy/go-cloudstack | cloudstack/OvsElementService.go | NewListOvsElementsParams | func (s *OvsElementService) NewListOvsElementsParams() *ListOvsElementsParams {
p := &ListOvsElementsParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *OvsElementService) NewListOvsElementsParams() *ListOvsElementsParams {
p := &ListOvsElementsParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"OvsElementService",
")",
"NewListOvsElementsParams",
"(",
")",
"*",
"ListOvsElementsParams",
"{",
"p",
":=",
"&",
"ListOvsElementsParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",... | // You should always use this function to get a new ListOvsElementsParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListOvsElementsParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/OvsElementService.go#L202-L206 |
23,652 | xanzy/go-cloudstack | cloudstack/OvsElementService.go | ListOvsElements | func (s *OvsElementService) ListOvsElements(p *ListOvsElementsParams) (*ListOvsElementsResponse, error) {
resp, err := s.cs.newRequest("listOvsElements", p.toURLValues())
if err != nil {
return nil, err
}
var r ListOvsElementsResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
retur... | go | func (s *OvsElementService) ListOvsElements(p *ListOvsElementsParams) (*ListOvsElementsResponse, error) {
resp, err := s.cs.newRequest("listOvsElements", p.toURLValues())
if err != nil {
return nil, err
}
var r ListOvsElementsResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
retur... | [
"func",
"(",
"s",
"*",
"OvsElementService",
")",
"ListOvsElements",
"(",
"p",
"*",
"ListOvsElementsParams",
")",
"(",
"*",
"ListOvsElementsResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",... | // Lists all available ovs elements. | [
"Lists",
"all",
"available",
"ovs",
"elements",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/OvsElementService.go#L242-L254 |
23,653 | xanzy/go-cloudstack | cloudstack/SystemVMService.go | NewChangeServiceForSystemVmParams | func (s *SystemVMService) NewChangeServiceForSystemVmParams(id string, serviceofferingid string) *ChangeServiceForSystemVmParams {
p := &ChangeServiceForSystemVmParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
p.p["serviceofferingid"] = serviceofferingid
return p
} | go | func (s *SystemVMService) NewChangeServiceForSystemVmParams(id string, serviceofferingid string) *ChangeServiceForSystemVmParams {
p := &ChangeServiceForSystemVmParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
p.p["serviceofferingid"] = serviceofferingid
return p
} | [
"func",
"(",
"s",
"*",
"SystemVMService",
")",
"NewChangeServiceForSystemVmParams",
"(",
"id",
"string",
",",
"serviceofferingid",
"string",
")",
"*",
"ChangeServiceForSystemVmParams",
"{",
"p",
":=",
"&",
"ChangeServiceForSystemVmParams",
"{",
"}",
"\n",
"p",
".",
... | // You should always use this function to get a new ChangeServiceForSystemVmParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ChangeServiceForSystemVmParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SystemVMService.go#L78-L84 |
23,654 | xanzy/go-cloudstack | cloudstack/SystemVMService.go | NewDestroySystemVmParams | func (s *SystemVMService) NewDestroySystemVmParams(id string) *DestroySystemVmParams {
p := &DestroySystemVmParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *SystemVMService) NewDestroySystemVmParams(id string) *DestroySystemVmParams {
p := &DestroySystemVmParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"SystemVMService",
")",
"NewDestroySystemVmParams",
"(",
"id",
"string",
")",
"*",
"DestroySystemVmParams",
"{",
"p",
":=",
"&",
"DestroySystemVmParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"... | // You should always use this function to get a new DestroySystemVmParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DestroySystemVmParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SystemVMService.go#L159-L164 |
23,655 | xanzy/go-cloudstack | cloudstack/SystemVMService.go | DestroySystemVm | func (s *SystemVMService) DestroySystemVm(p *DestroySystemVmParams) (*DestroySystemVmResponse, error) {
resp, err := s.cs.newRequest("destroySystemVm", p.toURLValues())
if err != nil {
return nil, err
}
var r DestroySystemVmResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If w... | go | func (s *SystemVMService) DestroySystemVm(p *DestroySystemVmParams) (*DestroySystemVmResponse, error) {
resp, err := s.cs.newRequest("destroySystemVm", p.toURLValues())
if err != nil {
return nil, err
}
var r DestroySystemVmResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If w... | [
"func",
"(",
"s",
"*",
"SystemVMService",
")",
"DestroySystemVm",
"(",
"p",
"*",
"DestroySystemVmParams",
")",
"(",
"*",
"DestroySystemVmResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",... | // Destroyes a system virtual machine. | [
"Destroyes",
"a",
"system",
"virtual",
"machine",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SystemVMService.go#L167-L199 |
23,656 | xanzy/go-cloudstack | cloudstack/SystemVMService.go | NewListSystemVmsParams | func (s *SystemVMService) NewListSystemVmsParams() *ListSystemVmsParams {
p := &ListSystemVmsParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *SystemVMService) NewListSystemVmsParams() *ListSystemVmsParams {
p := &ListSystemVmsParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"SystemVMService",
")",
"NewListSystemVmsParams",
"(",
")",
"*",
"ListSystemVmsParams",
"{",
"p",
":=",
"&",
"ListSystemVmsParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
"}",
... | // You should always use this function to get a new ListSystemVmsParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListSystemVmsParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SystemVMService.go#L371-L375 |
23,657 | xanzy/go-cloudstack | cloudstack/SystemVMService.go | ListSystemVms | func (s *SystemVMService) ListSystemVms(p *ListSystemVmsParams) (*ListSystemVmsResponse, error) {
resp, err := s.cs.newRequest("listSystemVms", p.toURLValues())
if err != nil {
return nil, err
}
var r ListSystemVmsResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
return &r, nil
} | go | func (s *SystemVMService) ListSystemVms(p *ListSystemVmsParams) (*ListSystemVmsResponse, error) {
resp, err := s.cs.newRequest("listSystemVms", p.toURLValues())
if err != nil {
return nil, err
}
var r ListSystemVmsResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
return &r, nil
} | [
"func",
"(",
"s",
"*",
"SystemVMService",
")",
"ListSystemVms",
"(",
"p",
"*",
"ListSystemVmsParams",
")",
"(",
"*",
"ListSystemVmsResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
"p"... | // List system virtual machines. | [
"List",
"system",
"virtual",
"machines",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SystemVMService.go#L461-L473 |
23,658 | xanzy/go-cloudstack | cloudstack/SystemVMService.go | NewMigrateSystemVmParams | func (s *SystemVMService) NewMigrateSystemVmParams(hostid string, virtualmachineid string) *MigrateSystemVmParams {
p := &MigrateSystemVmParams{}
p.p = make(map[string]interface{})
p.p["hostid"] = hostid
p.p["virtualmachineid"] = virtualmachineid
return p
} | go | func (s *SystemVMService) NewMigrateSystemVmParams(hostid string, virtualmachineid string) *MigrateSystemVmParams {
p := &MigrateSystemVmParams{}
p.p = make(map[string]interface{})
p.p["hostid"] = hostid
p.p["virtualmachineid"] = virtualmachineid
return p
} | [
"func",
"(",
"s",
"*",
"SystemVMService",
")",
"NewMigrateSystemVmParams",
"(",
"hostid",
"string",
",",
"virtualmachineid",
"string",
")",
"*",
"MigrateSystemVmParams",
"{",
"p",
":=",
"&",
"MigrateSystemVmParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
... | // You should always use this function to get a new MigrateSystemVmParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"MigrateSystemVmParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SystemVMService.go#L549-L555 |
23,659 | xanzy/go-cloudstack | cloudstack/SystemVMService.go | MigrateSystemVm | func (s *SystemVMService) MigrateSystemVm(p *MigrateSystemVmParams) (*MigrateSystemVmResponse, error) {
resp, err := s.cs.newRequest("migrateSystemVm", p.toURLValues())
if err != nil {
return nil, err
}
var r MigrateSystemVmResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If w... | go | func (s *SystemVMService) MigrateSystemVm(p *MigrateSystemVmParams) (*MigrateSystemVmResponse, error) {
resp, err := s.cs.newRequest("migrateSystemVm", p.toURLValues())
if err != nil {
return nil, err
}
var r MigrateSystemVmResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If w... | [
"func",
"(",
"s",
"*",
"SystemVMService",
")",
"MigrateSystemVm",
"(",
"p",
"*",
"MigrateSystemVmParams",
")",
"(",
"*",
"MigrateSystemVmResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",... | // Attempts Migration of a system virtual machine to the host specified. | [
"Attempts",
"Migration",
"of",
"a",
"system",
"virtual",
"machine",
"to",
"the",
"host",
"specified",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SystemVMService.go#L558-L590 |
23,660 | xanzy/go-cloudstack | cloudstack/SystemVMService.go | NewRebootSystemVmParams | func (s *SystemVMService) NewRebootSystemVmParams(id string) *RebootSystemVmParams {
p := &RebootSystemVmParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *SystemVMService) NewRebootSystemVmParams(id string) *RebootSystemVmParams {
p := &RebootSystemVmParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"SystemVMService",
")",
"NewRebootSystemVmParams",
"(",
"id",
"string",
")",
"*",
"RebootSystemVmParams",
"{",
"p",
":=",
"&",
"RebootSystemVmParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"int... | // You should always use this function to get a new RebootSystemVmParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"RebootSystemVmParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SystemVMService.go#L650-L655 |
23,661 | xanzy/go-cloudstack | cloudstack/SystemVMService.go | RebootSystemVm | func (s *SystemVMService) RebootSystemVm(p *RebootSystemVmParams) (*RebootSystemVmResponse, error) {
resp, err := s.cs.newRequest("rebootSystemVm", p.toURLValues())
if err != nil {
return nil, err
}
var r RebootSystemVmResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we hav... | go | func (s *SystemVMService) RebootSystemVm(p *RebootSystemVmParams) (*RebootSystemVmResponse, error) {
resp, err := s.cs.newRequest("rebootSystemVm", p.toURLValues())
if err != nil {
return nil, err
}
var r RebootSystemVmResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we hav... | [
"func",
"(",
"s",
"*",
"SystemVMService",
")",
"RebootSystemVm",
"(",
"p",
"*",
"RebootSystemVmParams",
")",
"(",
"*",
"RebootSystemVmResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
... | // Reboots a system VM. | [
"Reboots",
"a",
"system",
"VM",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SystemVMService.go#L658-L690 |
23,662 | xanzy/go-cloudstack | cloudstack/SystemVMService.go | NewScaleSystemVmParams | func (s *SystemVMService) NewScaleSystemVmParams(id string, serviceofferingid string) *ScaleSystemVmParams {
p := &ScaleSystemVmParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
p.p["serviceofferingid"] = serviceofferingid
return p
} | go | func (s *SystemVMService) NewScaleSystemVmParams(id string, serviceofferingid string) *ScaleSystemVmParams {
p := &ScaleSystemVmParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
p.p["serviceofferingid"] = serviceofferingid
return p
} | [
"func",
"(",
"s",
"*",
"SystemVMService",
")",
"NewScaleSystemVmParams",
"(",
"id",
"string",
",",
"serviceofferingid",
"string",
")",
"*",
"ScaleSystemVmParams",
"{",
"p",
":=",
"&",
"ScaleSystemVmParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
... | // You should always use this function to get a new ScaleSystemVmParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ScaleSystemVmParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SystemVMService.go#L776-L782 |
23,663 | xanzy/go-cloudstack | cloudstack/SystemVMService.go | NewStartSystemVmParams | func (s *SystemVMService) NewStartSystemVmParams(id string) *StartSystemVmParams {
p := &StartSystemVmParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *SystemVMService) NewStartSystemVmParams(id string) *StartSystemVmParams {
p := &StartSystemVmParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"SystemVMService",
")",
"NewStartSystemVmParams",
"(",
"id",
"string",
")",
"*",
"StartSystemVmParams",
"{",
"p",
":=",
"&",
"StartSystemVmParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interf... | // You should always use this function to get a new StartSystemVmParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"StartSystemVmParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SystemVMService.go#L877-L882 |
23,664 | xanzy/go-cloudstack | cloudstack/SystemVMService.go | StartSystemVm | func (s *SystemVMService) StartSystemVm(p *StartSystemVmParams) (*StartSystemVmResponse, error) {
resp, err := s.cs.newRequest("startSystemVm", p.toURLValues())
if err != nil {
return nil, err
}
var r StartSystemVmResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a a... | go | func (s *SystemVMService) StartSystemVm(p *StartSystemVmParams) (*StartSystemVmResponse, error) {
resp, err := s.cs.newRequest("startSystemVm", p.toURLValues())
if err != nil {
return nil, err
}
var r StartSystemVmResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a a... | [
"func",
"(",
"s",
"*",
"SystemVMService",
")",
"StartSystemVm",
"(",
"p",
"*",
"StartSystemVmParams",
")",
"(",
"*",
"StartSystemVmResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
"p"... | // Starts a system virtual machine. | [
"Starts",
"a",
"system",
"virtual",
"machine",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SystemVMService.go#L885-L917 |
23,665 | xanzy/go-cloudstack | cloudstack/SystemVMService.go | NewStopSystemVmParams | func (s *SystemVMService) NewStopSystemVmParams(id string) *StopSystemVmParams {
p := &StopSystemVmParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *SystemVMService) NewStopSystemVmParams(id string) *StopSystemVmParams {
p := &StopSystemVmParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"SystemVMService",
")",
"NewStopSystemVmParams",
"(",
"id",
"string",
")",
"*",
"StopSystemVmParams",
"{",
"p",
":=",
"&",
"StopSystemVmParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface... | // You should always use this function to get a new StopSystemVmParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"StopSystemVmParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SystemVMService.go#L989-L994 |
23,666 | xanzy/go-cloudstack | cloudstack/SystemVMService.go | StopSystemVm | func (s *SystemVMService) StopSystemVm(p *StopSystemVmParams) (*StopSystemVmResponse, error) {
resp, err := s.cs.newRequest("stopSystemVm", p.toURLValues())
if err != nil {
return nil, err
}
var r StopSystemVmResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a async ... | go | func (s *SystemVMService) StopSystemVm(p *StopSystemVmParams) (*StopSystemVmResponse, error) {
resp, err := s.cs.newRequest("stopSystemVm", p.toURLValues())
if err != nil {
return nil, err
}
var r StopSystemVmResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a async ... | [
"func",
"(",
"s",
"*",
"SystemVMService",
")",
"StopSystemVm",
"(",
"p",
"*",
"StopSystemVmParams",
")",
"(",
"*",
"StopSystemVmResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
"p",
... | // Stops a system VM. | [
"Stops",
"a",
"system",
"VM",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SystemVMService.go#L997-L1029 |
23,667 | xanzy/go-cloudstack | cloudstack/VolumeService.go | NewAttachVolumeParams | func (s *VolumeService) NewAttachVolumeParams(id string, virtualmachineid string) *AttachVolumeParams {
p := &AttachVolumeParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
p.p["virtualmachineid"] = virtualmachineid
return p
} | go | func (s *VolumeService) NewAttachVolumeParams(id string, virtualmachineid string) *AttachVolumeParams {
p := &AttachVolumeParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
p.p["virtualmachineid"] = virtualmachineid
return p
} | [
"func",
"(",
"s",
"*",
"VolumeService",
")",
"NewAttachVolumeParams",
"(",
"id",
"string",
",",
"virtualmachineid",
"string",
")",
"*",
"AttachVolumeParams",
"{",
"p",
":=",
"&",
"AttachVolumeParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",... | // You should always use this function to get a new AttachVolumeParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"AttachVolumeParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VolumeService.go#L75-L81 |
23,668 | xanzy/go-cloudstack | cloudstack/VolumeService.go | NewCreateVolumeParams | func (s *VolumeService) NewCreateVolumeParams() *CreateVolumeParams {
p := &CreateVolumeParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *VolumeService) NewCreateVolumeParams() *CreateVolumeParams {
p := &CreateVolumeParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"VolumeService",
")",
"NewCreateVolumeParams",
"(",
")",
"*",
"CreateVolumeParams",
"{",
"p",
":=",
"&",
"CreateVolumeParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
"}",
")"... | // You should always use this function to get a new CreateVolumeParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CreateVolumeParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VolumeService.go#L340-L344 |
23,669 | xanzy/go-cloudstack | cloudstack/VolumeService.go | NewDeleteVolumeParams | func (s *VolumeService) NewDeleteVolumeParams(id string) *DeleteVolumeParams {
p := &DeleteVolumeParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *VolumeService) NewDeleteVolumeParams(id string) *DeleteVolumeParams {
p := &DeleteVolumeParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"VolumeService",
")",
"NewDeleteVolumeParams",
"(",
"id",
"string",
")",
"*",
"DeleteVolumeParams",
"{",
"p",
":=",
"&",
"DeleteVolumeParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",... | // You should always use this function to get a new DeleteVolumeParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DeleteVolumeParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VolumeService.go#L467-L472 |
23,670 | xanzy/go-cloudstack | cloudstack/VolumeService.go | NewDetachVolumeParams | func (s *VolumeService) NewDetachVolumeParams() *DetachVolumeParams {
p := &DetachVolumeParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *VolumeService) NewDetachVolumeParams() *DetachVolumeParams {
p := &DetachVolumeParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"VolumeService",
")",
"NewDetachVolumeParams",
"(",
")",
"*",
"DetachVolumeParams",
"{",
"p",
":=",
"&",
"DetachVolumeParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
"}",
")"... | // You should always use this function to get a new DetachVolumeParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DetachVolumeParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VolumeService.go#L561-L565 |
23,671 | xanzy/go-cloudstack | cloudstack/VolumeService.go | NewExtractVolumeParams | func (s *VolumeService) NewExtractVolumeParams(id string, mode string, zoneid string) *ExtractVolumeParams {
p := &ExtractVolumeParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
p.p["mode"] = mode
p.p["zoneid"] = zoneid
return p
} | go | func (s *VolumeService) NewExtractVolumeParams(id string, mode string, zoneid string) *ExtractVolumeParams {
p := &ExtractVolumeParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
p.p["mode"] = mode
p.p["zoneid"] = zoneid
return p
} | [
"func",
"(",
"s",
"*",
"VolumeService",
")",
"NewExtractVolumeParams",
"(",
"id",
"string",
",",
"mode",
"string",
",",
"zoneid",
"string",
")",
"*",
"ExtractVolumeParams",
"{",
"p",
":=",
"&",
"ExtractVolumeParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"... | // You should always use this function to get a new ExtractVolumeParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ExtractVolumeParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VolumeService.go#L721-L728 |
23,672 | xanzy/go-cloudstack | cloudstack/VolumeService.go | NewGetPathForVolumeParams | func (s *VolumeService) NewGetPathForVolumeParams(volumeid string) *GetPathForVolumeParams {
p := &GetPathForVolumeParams{}
p.p = make(map[string]interface{})
p.p["volumeid"] = volumeid
return p
} | go | func (s *VolumeService) NewGetPathForVolumeParams(volumeid string) *GetPathForVolumeParams {
p := &GetPathForVolumeParams{}
p.p = make(map[string]interface{})
p.p["volumeid"] = volumeid
return p
} | [
"func",
"(",
"s",
"*",
"VolumeService",
")",
"NewGetPathForVolumeParams",
"(",
"volumeid",
"string",
")",
"*",
"GetPathForVolumeParams",
"{",
"p",
":=",
"&",
"GetPathForVolumeParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"... | // You should always use this function to get a new GetPathForVolumeParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"GetPathForVolumeParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VolumeService.go#L808-L813 |
23,673 | xanzy/go-cloudstack | cloudstack/VolumeService.go | GetPathForVolume | func (s *VolumeService) GetPathForVolume(p *GetPathForVolumeParams) (*GetPathForVolumeResponse, error) {
resp, err := s.cs.newRequest("getPathForVolume", p.toURLValues())
if err != nil {
return nil, err
}
var r GetPathForVolumeResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
retu... | go | func (s *VolumeService) GetPathForVolume(p *GetPathForVolumeParams) (*GetPathForVolumeResponse, error) {
resp, err := s.cs.newRequest("getPathForVolume", p.toURLValues())
if err != nil {
return nil, err
}
var r GetPathForVolumeResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
retu... | [
"func",
"(",
"s",
"*",
"VolumeService",
")",
"GetPathForVolume",
"(",
"p",
"*",
"GetPathForVolumeParams",
")",
"(",
"*",
"GetPathForVolumeResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
","... | // Get the path associated with the provided volume UUID | [
"Get",
"the",
"path",
"associated",
"with",
"the",
"provided",
"volume",
"UUID"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VolumeService.go#L816-L828 |
23,674 | xanzy/go-cloudstack | cloudstack/VolumeService.go | NewGetSolidFireVolumeSizeParams | func (s *VolumeService) NewGetSolidFireVolumeSizeParams(volumeid string) *GetSolidFireVolumeSizeParams {
p := &GetSolidFireVolumeSizeParams{}
p.p = make(map[string]interface{})
p.p["volumeid"] = volumeid
return p
} | go | func (s *VolumeService) NewGetSolidFireVolumeSizeParams(volumeid string) *GetSolidFireVolumeSizeParams {
p := &GetSolidFireVolumeSizeParams{}
p.p = make(map[string]interface{})
p.p["volumeid"] = volumeid
return p
} | [
"func",
"(",
"s",
"*",
"VolumeService",
")",
"NewGetSolidFireVolumeSizeParams",
"(",
"volumeid",
"string",
")",
"*",
"GetSolidFireVolumeSizeParams",
"{",
"p",
":=",
"&",
"GetSolidFireVolumeSizeParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[... | // You should always use this function to get a new GetSolidFireVolumeSizeParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"GetSolidFireVolumeSizeParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VolumeService.go#L859-L864 |
23,675 | xanzy/go-cloudstack | cloudstack/VolumeService.go | GetSolidFireVolumeSize | func (s *VolumeService) GetSolidFireVolumeSize(p *GetSolidFireVolumeSizeParams) (*GetSolidFireVolumeSizeResponse, error) {
resp, err := s.cs.newRequest("getSolidFireVolumeSize", p.toURLValues())
if err != nil {
return nil, err
}
var r GetSolidFireVolumeSizeResponse
if err := json.Unmarshal(resp, &r); err != nil... | go | func (s *VolumeService) GetSolidFireVolumeSize(p *GetSolidFireVolumeSizeParams) (*GetSolidFireVolumeSizeResponse, error) {
resp, err := s.cs.newRequest("getSolidFireVolumeSize", p.toURLValues())
if err != nil {
return nil, err
}
var r GetSolidFireVolumeSizeResponse
if err := json.Unmarshal(resp, &r); err != nil... | [
"func",
"(",
"s",
"*",
"VolumeService",
")",
"GetSolidFireVolumeSize",
"(",
"p",
"*",
"GetSolidFireVolumeSizeParams",
")",
"(",
"*",
"GetSolidFireVolumeSizeResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"... | // Get the SF volume size including Hypervisor Snapshot Reserve | [
"Get",
"the",
"SF",
"volume",
"size",
"including",
"Hypervisor",
"Snapshot",
"Reserve"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VolumeService.go#L867-L879 |
23,676 | xanzy/go-cloudstack | cloudstack/VolumeService.go | NewGetUploadParamsForVolumeParams | func (s *VolumeService) NewGetUploadParamsForVolumeParams(format string, name string, zoneid string) *GetUploadParamsForVolumeParams {
p := &GetUploadParamsForVolumeParams{}
p.p = make(map[string]interface{})
p.p["format"] = format
p.p["name"] = name
p.p["zoneid"] = zoneid
return p
} | go | func (s *VolumeService) NewGetUploadParamsForVolumeParams(format string, name string, zoneid string) *GetUploadParamsForVolumeParams {
p := &GetUploadParamsForVolumeParams{}
p.p = make(map[string]interface{})
p.p["format"] = format
p.p["name"] = name
p.p["zoneid"] = zoneid
return p
} | [
"func",
"(",
"s",
"*",
"VolumeService",
")",
"NewGetUploadParamsForVolumeParams",
"(",
"format",
"string",
",",
"name",
"string",
",",
"zoneid",
"string",
")",
"*",
"GetUploadParamsForVolumeParams",
"{",
"p",
":=",
"&",
"GetUploadParamsForVolumeParams",
"{",
"}",
... | // You should always use this function to get a new GetUploadParamsForVolumeParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"GetUploadParamsForVolumeParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VolumeService.go#L998-L1005 |
23,677 | xanzy/go-cloudstack | cloudstack/VolumeService.go | GetUploadParamsForVolume | func (s *VolumeService) GetUploadParamsForVolume(p *GetUploadParamsForVolumeParams) (*GetUploadParamsForVolumeResponse, error) {
resp, err := s.cs.newRequest("getUploadParamsForVolume", p.toURLValues())
if err != nil {
return nil, err
}
var r GetUploadParamsForVolumeResponse
if err := json.Unmarshal(resp, &r); ... | go | func (s *VolumeService) GetUploadParamsForVolume(p *GetUploadParamsForVolumeParams) (*GetUploadParamsForVolumeResponse, error) {
resp, err := s.cs.newRequest("getUploadParamsForVolume", p.toURLValues())
if err != nil {
return nil, err
}
var r GetUploadParamsForVolumeResponse
if err := json.Unmarshal(resp, &r); ... | [
"func",
"(",
"s",
"*",
"VolumeService",
")",
"GetUploadParamsForVolume",
"(",
"p",
"*",
"GetUploadParamsForVolumeParams",
")",
"(",
"*",
"GetUploadParamsForVolumeResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(... | // Upload a data disk to the cloudstack cloud. | [
"Upload",
"a",
"data",
"disk",
"to",
"the",
"cloudstack",
"cloud",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VolumeService.go#L1008-L1020 |
23,678 | xanzy/go-cloudstack | cloudstack/VolumeService.go | NewGetVolumeiScsiNameParams | func (s *VolumeService) NewGetVolumeiScsiNameParams(volumeid string) *GetVolumeiScsiNameParams {
p := &GetVolumeiScsiNameParams{}
p.p = make(map[string]interface{})
p.p["volumeid"] = volumeid
return p
} | go | func (s *VolumeService) NewGetVolumeiScsiNameParams(volumeid string) *GetVolumeiScsiNameParams {
p := &GetVolumeiScsiNameParams{}
p.p = make(map[string]interface{})
p.p["volumeid"] = volumeid
return p
} | [
"func",
"(",
"s",
"*",
"VolumeService",
")",
"NewGetVolumeiScsiNameParams",
"(",
"volumeid",
"string",
")",
"*",
"GetVolumeiScsiNameParams",
"{",
"p",
":=",
"&",
"GetVolumeiScsiNameParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string... | // You should always use this function to get a new GetVolumeiScsiNameParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"GetVolumeiScsiNameParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VolumeService.go#L1055-L1060 |
23,679 | xanzy/go-cloudstack | cloudstack/VolumeService.go | GetVolumeiScsiName | func (s *VolumeService) GetVolumeiScsiName(p *GetVolumeiScsiNameParams) (*GetVolumeiScsiNameResponse, error) {
resp, err := s.cs.newRequest("getVolumeiScsiName", p.toURLValues())
if err != nil {
return nil, err
}
var r GetVolumeiScsiNameResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err... | go | func (s *VolumeService) GetVolumeiScsiName(p *GetVolumeiScsiNameParams) (*GetVolumeiScsiNameResponse, error) {
resp, err := s.cs.newRequest("getVolumeiScsiName", p.toURLValues())
if err != nil {
return nil, err
}
var r GetVolumeiScsiNameResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err... | [
"func",
"(",
"s",
"*",
"VolumeService",
")",
"GetVolumeiScsiName",
"(",
"p",
"*",
"GetVolumeiScsiNameParams",
")",
"(",
"*",
"GetVolumeiScsiNameResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",... | // Get Volume's iSCSI Name | [
"Get",
"Volume",
"s",
"iSCSI",
"Name"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VolumeService.go#L1063-L1075 |
23,680 | xanzy/go-cloudstack | cloudstack/VolumeService.go | NewListVolumesParams | func (s *VolumeService) NewListVolumesParams() *ListVolumesParams {
p := &ListVolumesParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *VolumeService) NewListVolumesParams() *ListVolumesParams {
p := &ListVolumesParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"VolumeService",
")",
"NewListVolumesParams",
"(",
")",
"*",
"ListVolumesParams",
"{",
"p",
":=",
"&",
"ListVolumesParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
"}",
")",
... | // You should always use this function to get a new ListVolumesParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListVolumesParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VolumeService.go#L1337-L1341 |
23,681 | xanzy/go-cloudstack | cloudstack/VolumeService.go | NewMigrateVolumeParams | func (s *VolumeService) NewMigrateVolumeParams(storageid string, volumeid string) *MigrateVolumeParams {
p := &MigrateVolumeParams{}
p.p = make(map[string]interface{})
p.p["storageid"] = storageid
p.p["volumeid"] = volumeid
return p
} | go | func (s *VolumeService) NewMigrateVolumeParams(storageid string, volumeid string) *MigrateVolumeParams {
p := &MigrateVolumeParams{}
p.p = make(map[string]interface{})
p.p["storageid"] = storageid
p.p["volumeid"] = volumeid
return p
} | [
"func",
"(",
"s",
"*",
"VolumeService",
")",
"NewMigrateVolumeParams",
"(",
"storageid",
"string",
",",
"volumeid",
"string",
")",
"*",
"MigrateVolumeParams",
"{",
"p",
":=",
"&",
"MigrateVolumeParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map... | // You should always use this function to get a new MigrateVolumeParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"MigrateVolumeParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VolumeService.go#L1554-L1560 |
23,682 | xanzy/go-cloudstack | cloudstack/VolumeService.go | NewResizeVolumeParams | func (s *VolumeService) NewResizeVolumeParams(id string) *ResizeVolumeParams {
p := &ResizeVolumeParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *VolumeService) NewResizeVolumeParams(id string) *ResizeVolumeParams {
p := &ResizeVolumeParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"VolumeService",
")",
"NewResizeVolumeParams",
"(",
"id",
"string",
")",
"*",
"ResizeVolumeParams",
"{",
"p",
":=",
"&",
"ResizeVolumeParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",... | // You should always use this function to get a new ResizeVolumeParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ResizeVolumeParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VolumeService.go#L1742-L1747 |
23,683 | xanzy/go-cloudstack | cloudstack/VolumeService.go | NewUpdateVolumeParams | func (s *VolumeService) NewUpdateVolumeParams() *UpdateVolumeParams {
p := &UpdateVolumeParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *VolumeService) NewUpdateVolumeParams() *UpdateVolumeParams {
p := &UpdateVolumeParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"VolumeService",
")",
"NewUpdateVolumeParams",
"(",
")",
"*",
"UpdateVolumeParams",
"{",
"p",
":=",
"&",
"UpdateVolumeParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
"}",
")"... | // You should always use this function to get a new UpdateVolumeParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"UpdateVolumeParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VolumeService.go#L1937-L1941 |
23,684 | xanzy/go-cloudstack | cloudstack/VolumeService.go | NewUploadVolumeParams | func (s *VolumeService) NewUploadVolumeParams(format string, name string, url string, zoneid string) *UploadVolumeParams {
p := &UploadVolumeParams{}
p.p = make(map[string]interface{})
p.p["format"] = format
p.p["name"] = name
p.p["url"] = url
p.p["zoneid"] = zoneid
return p
} | go | func (s *VolumeService) NewUploadVolumeParams(format string, name string, url string, zoneid string) *UploadVolumeParams {
p := &UploadVolumeParams{}
p.p = make(map[string]interface{})
p.p["format"] = format
p.p["name"] = name
p.p["url"] = url
p.p["zoneid"] = zoneid
return p
} | [
"func",
"(",
"s",
"*",
"VolumeService",
")",
"NewUploadVolumeParams",
"(",
"format",
"string",
",",
"name",
"string",
",",
"url",
"string",
",",
"zoneid",
"string",
")",
"*",
"UploadVolumeParams",
"{",
"p",
":=",
"&",
"UploadVolumeParams",
"{",
"}",
"\n",
... | // You should always use this function to get a new UploadVolumeParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"UploadVolumeParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VolumeService.go#L2163-L2171 |
23,685 | xanzy/go-cloudstack | cloudstack/AddressService.go | NewAssociateIpAddressParams | func (s *AddressService) NewAssociateIpAddressParams() *AssociateIpAddressParams {
p := &AssociateIpAddressParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *AddressService) NewAssociateIpAddressParams() *AssociateIpAddressParams {
p := &AssociateIpAddressParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"AddressService",
")",
"NewAssociateIpAddressParams",
"(",
")",
"*",
"AssociateIpAddressParams",
"{",
"p",
":=",
"&",
"AssociateIpAddressParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
... | // You should always use this function to get a new AssociateIpAddressParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"AssociateIpAddressParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/AddressService.go#L143-L147 |
23,686 | xanzy/go-cloudstack | cloudstack/AddressService.go | NewDisassociateIpAddressParams | func (s *AddressService) NewDisassociateIpAddressParams(id string) *DisassociateIpAddressParams {
p := &DisassociateIpAddressParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *AddressService) NewDisassociateIpAddressParams(id string) *DisassociateIpAddressParams {
p := &DisassociateIpAddressParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"AddressService",
")",
"NewDisassociateIpAddressParams",
"(",
"id",
"string",
")",
"*",
"DisassociateIpAddressParams",
"{",
"p",
":=",
"&",
"DisassociateIpAddressParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"st... | // You should always use this function to get a new DisassociateIpAddressParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DisassociateIpAddressParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/AddressService.go#L243-L248 |
23,687 | xanzy/go-cloudstack | cloudstack/AddressService.go | DisassociateIpAddress | func (s *AddressService) DisassociateIpAddress(p *DisassociateIpAddressParams) (*DisassociateIpAddressResponse, error) {
resp, err := s.cs.newRequest("disassociateIpAddress", p.toURLValues())
if err != nil {
return nil, err
}
var r DisassociateIpAddressResponse
if err := json.Unmarshal(resp, &r); err != nil {
... | go | func (s *AddressService) DisassociateIpAddress(p *DisassociateIpAddressParams) (*DisassociateIpAddressResponse, error) {
resp, err := s.cs.newRequest("disassociateIpAddress", p.toURLValues())
if err != nil {
return nil, err
}
var r DisassociateIpAddressResponse
if err := json.Unmarshal(resp, &r); err != nil {
... | [
"func",
"(",
"s",
"*",
"AddressService",
")",
"DisassociateIpAddress",
"(",
"p",
"*",
"DisassociateIpAddressParams",
")",
"(",
"*",
"DisassociateIpAddressResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"... | // Disassociates an IP address from the account. | [
"Disassociates",
"an",
"IP",
"address",
"from",
"the",
"account",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/AddressService.go#L251-L278 |
23,688 | xanzy/go-cloudstack | cloudstack/AddressService.go | NewListPublicIpAddressesParams | func (s *AddressService) NewListPublicIpAddressesParams() *ListPublicIpAddressesParams {
p := &ListPublicIpAddressesParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *AddressService) NewListPublicIpAddressesParams() *ListPublicIpAddressesParams {
p := &ListPublicIpAddressesParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"AddressService",
")",
"NewListPublicIpAddressesParams",
"(",
")",
"*",
"ListPublicIpAddressesParams",
"{",
"p",
":=",
"&",
"ListPublicIpAddressesParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"int... | // You should always use this function to get a new ListPublicIpAddressesParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListPublicIpAddressesParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/AddressService.go#L568-L572 |
23,689 | xanzy/go-cloudstack | cloudstack/AddressService.go | NewUpdateIpAddressParams | func (s *AddressService) NewUpdateIpAddressParams(id string) *UpdateIpAddressParams {
p := &UpdateIpAddressParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *AddressService) NewUpdateIpAddressParams(id string) *UpdateIpAddressParams {
p := &UpdateIpAddressParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"AddressService",
")",
"NewUpdateIpAddressParams",
"(",
"id",
"string",
")",
"*",
"UpdateIpAddressParams",
"{",
"p",
":=",
"&",
"UpdateIpAddressParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"i... | // You should always use this function to get a new UpdateIpAddressParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"UpdateIpAddressParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/AddressService.go#L708-L713 |
23,690 | xanzy/go-cloudstack | cloudstack/AddressService.go | UpdateIpAddress | func (s *AddressService) UpdateIpAddress(p *UpdateIpAddressParams) (*UpdateIpAddressResponse, error) {
resp, err := s.cs.newRequest("updateIpAddress", p.toURLValues())
if err != nil {
return nil, err
}
var r UpdateIpAddressResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we... | go | func (s *AddressService) UpdateIpAddress(p *UpdateIpAddressParams) (*UpdateIpAddressResponse, error) {
resp, err := s.cs.newRequest("updateIpAddress", p.toURLValues())
if err != nil {
return nil, err
}
var r UpdateIpAddressResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we... | [
"func",
"(",
"s",
"*",
"AddressService",
")",
"UpdateIpAddress",
"(",
"p",
"*",
"UpdateIpAddressParams",
")",
"(",
"*",
"UpdateIpAddressResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
... | // Updates an IP address | [
"Updates",
"an",
"IP",
"address"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/AddressService.go#L716-L748 |
23,691 | xanzy/go-cloudstack | cloudstack/AutoScaleService.go | NewCreateAutoScalePolicyParams | func (s *AutoScaleService) NewCreateAutoScalePolicyParams(action string, conditionids []string, duration int) *CreateAutoScalePolicyParams {
p := &CreateAutoScalePolicyParams{}
p.p = make(map[string]interface{})
p.p["action"] = action
p.p["conditionids"] = conditionids
p.p["duration"] = duration
return p
} | go | func (s *AutoScaleService) NewCreateAutoScalePolicyParams(action string, conditionids []string, duration int) *CreateAutoScalePolicyParams {
p := &CreateAutoScalePolicyParams{}
p.p = make(map[string]interface{})
p.p["action"] = action
p.p["conditionids"] = conditionids
p.p["duration"] = duration
return p
} | [
"func",
"(",
"s",
"*",
"AutoScaleService",
")",
"NewCreateAutoScalePolicyParams",
"(",
"action",
"string",
",",
"conditionids",
"[",
"]",
"string",
",",
"duration",
"int",
")",
"*",
"CreateAutoScalePolicyParams",
"{",
"p",
":=",
"&",
"CreateAutoScalePolicyParams",
... | // You should always use this function to get a new CreateAutoScalePolicyParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CreateAutoScalePolicyParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/AutoScaleService.go#L88-L95 |
23,692 | xanzy/go-cloudstack | cloudstack/AutoScaleService.go | CreateAutoScalePolicy | func (s *AutoScaleService) CreateAutoScalePolicy(p *CreateAutoScalePolicyParams) (*CreateAutoScalePolicyResponse, error) {
resp, err := s.cs.newRequest("createAutoScalePolicy", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateAutoScalePolicyResponse
if err := json.Unmarshal(resp, &r); err != nil {... | go | func (s *AutoScaleService) CreateAutoScalePolicy(p *CreateAutoScalePolicyParams) (*CreateAutoScalePolicyResponse, error) {
resp, err := s.cs.newRequest("createAutoScalePolicy", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateAutoScalePolicyResponse
if err := json.Unmarshal(resp, &r); err != nil {... | [
"func",
"(",
"s",
"*",
"AutoScaleService",
")",
"CreateAutoScalePolicy",
"(",
"p",
"*",
"CreateAutoScalePolicyParams",
")",
"(",
"*",
"CreateAutoScalePolicyResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"... | // Creates an autoscale policy for a provision or deprovision action, the action is taken when the all the conditions evaluates to true for the specified duration. The policy is in effect once it is attached to a autscale vm group. | [
"Creates",
"an",
"autoscale",
"policy",
"for",
"a",
"provision",
"or",
"deprovision",
"action",
"the",
"action",
"is",
"taken",
"when",
"the",
"all",
"the",
"conditions",
"evaluates",
"to",
"true",
"for",
"the",
"specified",
"duration",
".",
"The",
"policy",
... | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/AutoScaleService.go#L98-L130 |
23,693 | xanzy/go-cloudstack | cloudstack/AutoScaleService.go | NewCreateAutoScaleVmGroupParams | func (s *AutoScaleService) NewCreateAutoScaleVmGroupParams(lbruleid string, maxmembers int, minmembers int, scaledownpolicyids []string, scaleuppolicyids []string, vmprofileid string) *CreateAutoScaleVmGroupParams {
p := &CreateAutoScaleVmGroupParams{}
p.p = make(map[string]interface{})
p.p["lbruleid"] = lbruleid
p... | go | func (s *AutoScaleService) NewCreateAutoScaleVmGroupParams(lbruleid string, maxmembers int, minmembers int, scaledownpolicyids []string, scaleuppolicyids []string, vmprofileid string) *CreateAutoScaleVmGroupParams {
p := &CreateAutoScaleVmGroupParams{}
p.p = make(map[string]interface{})
p.p["lbruleid"] = lbruleid
p... | [
"func",
"(",
"s",
"*",
"AutoScaleService",
")",
"NewCreateAutoScaleVmGroupParams",
"(",
"lbruleid",
"string",
",",
"maxmembers",
"int",
",",
"minmembers",
"int",
",",
"scaledownpolicyids",
"[",
"]",
"string",
",",
"scaleuppolicyids",
"[",
"]",
"string",
",",
"vm... | // You should always use this function to get a new CreateAutoScaleVmGroupParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CreateAutoScaleVmGroupParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/AutoScaleService.go#L254-L264 |
23,694 | xanzy/go-cloudstack | cloudstack/AutoScaleService.go | NewCreateAutoScaleVmProfileParams | func (s *AutoScaleService) NewCreateAutoScaleVmProfileParams(serviceofferingid string, templateid string, zoneid string) *CreateAutoScaleVmProfileParams {
p := &CreateAutoScaleVmProfileParams{}
p.p = make(map[string]interface{})
p.p["serviceofferingid"] = serviceofferingid
p.p["templateid"] = templateid
p.p["zonei... | go | func (s *AutoScaleService) NewCreateAutoScaleVmProfileParams(serviceofferingid string, templateid string, zoneid string) *CreateAutoScaleVmProfileParams {
p := &CreateAutoScaleVmProfileParams{}
p.p = make(map[string]interface{})
p.p["serviceofferingid"] = serviceofferingid
p.p["templateid"] = templateid
p.p["zonei... | [
"func",
"(",
"s",
"*",
"AutoScaleService",
")",
"NewCreateAutoScaleVmProfileParams",
"(",
"serviceofferingid",
"string",
",",
"templateid",
"string",
",",
"zoneid",
"string",
")",
"*",
"CreateAutoScaleVmProfileParams",
"{",
"p",
":=",
"&",
"CreateAutoScaleVmProfileParam... | // You should always use this function to get a new CreateAutoScaleVmProfileParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CreateAutoScaleVmProfileParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/AutoScaleService.go#L429-L436 |
23,695 | xanzy/go-cloudstack | cloudstack/AutoScaleService.go | CreateAutoScaleVmProfile | func (s *AutoScaleService) CreateAutoScaleVmProfile(p *CreateAutoScaleVmProfileParams) (*CreateAutoScaleVmProfileResponse, error) {
resp, err := s.cs.newRequest("createAutoScaleVmProfile", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateAutoScaleVmProfileResponse
if err := json.Unmarshal(resp, &r... | go | func (s *AutoScaleService) CreateAutoScaleVmProfile(p *CreateAutoScaleVmProfileParams) (*CreateAutoScaleVmProfileResponse, error) {
resp, err := s.cs.newRequest("createAutoScaleVmProfile", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateAutoScaleVmProfileResponse
if err := json.Unmarshal(resp, &r... | [
"func",
"(",
"s",
"*",
"AutoScaleService",
")",
"CreateAutoScaleVmProfile",
"(",
"p",
"*",
"CreateAutoScaleVmProfileParams",
")",
"(",
"*",
"CreateAutoScaleVmProfileResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
... | // Creates a profile that contains information about the virtual machine which will be provisioned automatically by autoscale feature. | [
"Creates",
"a",
"profile",
"that",
"contains",
"information",
"about",
"the",
"virtual",
"machine",
"which",
"will",
"be",
"provisioned",
"automatically",
"by",
"autoscale",
"feature",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/AutoScaleService.go#L439-L471 |
23,696 | xanzy/go-cloudstack | cloudstack/AutoScaleService.go | NewCreateConditionParams | func (s *AutoScaleService) NewCreateConditionParams(counterid string, relationaloperator string, threshold int64) *CreateConditionParams {
p := &CreateConditionParams{}
p.p = make(map[string]interface{})
p.p["counterid"] = counterid
p.p["relationaloperator"] = relationaloperator
p.p["threshold"] = threshold
retur... | go | func (s *AutoScaleService) NewCreateConditionParams(counterid string, relationaloperator string, threshold int64) *CreateConditionParams {
p := &CreateConditionParams{}
p.p = make(map[string]interface{})
p.p["counterid"] = counterid
p.p["relationaloperator"] = relationaloperator
p.p["threshold"] = threshold
retur... | [
"func",
"(",
"s",
"*",
"AutoScaleService",
")",
"NewCreateConditionParams",
"(",
"counterid",
"string",
",",
"relationaloperator",
"string",
",",
"threshold",
"int64",
")",
"*",
"CreateConditionParams",
"{",
"p",
":=",
"&",
"CreateConditionParams",
"{",
"}",
"\n",... | // You should always use this function to get a new CreateConditionParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CreateConditionParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/AutoScaleService.go#L560-L567 |
23,697 | xanzy/go-cloudstack | cloudstack/AutoScaleService.go | CreateCondition | func (s *AutoScaleService) CreateCondition(p *CreateConditionParams) (*CreateConditionResponse, error) {
resp, err := s.cs.newRequest("createCondition", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateConditionResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If ... | go | func (s *AutoScaleService) CreateCondition(p *CreateConditionParams) (*CreateConditionResponse, error) {
resp, err := s.cs.newRequest("createCondition", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateConditionResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If ... | [
"func",
"(",
"s",
"*",
"AutoScaleService",
")",
"CreateCondition",
"(",
"p",
"*",
"CreateConditionParams",
")",
"(",
"*",
"CreateConditionResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
","... | // Creates a condition | [
"Creates",
"a",
"condition"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/AutoScaleService.go#L570-L602 |
23,698 | xanzy/go-cloudstack | cloudstack/AutoScaleService.go | NewCreateCounterParams | func (s *AutoScaleService) NewCreateCounterParams(name string, source string, value string) *CreateCounterParams {
p := &CreateCounterParams{}
p.p = make(map[string]interface{})
p.p["name"] = name
p.p["source"] = source
p.p["value"] = value
return p
} | go | func (s *AutoScaleService) NewCreateCounterParams(name string, source string, value string) *CreateCounterParams {
p := &CreateCounterParams{}
p.p = make(map[string]interface{})
p.p["name"] = name
p.p["source"] = source
p.p["value"] = value
return p
} | [
"func",
"(",
"s",
"*",
"AutoScaleService",
")",
"NewCreateCounterParams",
"(",
"name",
"string",
",",
"source",
"string",
",",
"value",
"string",
")",
"*",
"CreateCounterParams",
"{",
"p",
":=",
"&",
"CreateCounterParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=... | // You should always use this function to get a new CreateCounterParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CreateCounterParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/AutoScaleService.go#L665-L672 |
23,699 | xanzy/go-cloudstack | cloudstack/AutoScaleService.go | CreateCounter | func (s *AutoScaleService) CreateCounter(p *CreateCounterParams) (*CreateCounterResponse, error) {
resp, err := s.cs.newRequest("createCounter", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateCounterResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a ... | go | func (s *AutoScaleService) CreateCounter(p *CreateCounterParams) (*CreateCounterResponse, error) {
resp, err := s.cs.newRequest("createCounter", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateCounterResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a ... | [
"func",
"(",
"s",
"*",
"AutoScaleService",
")",
"CreateCounter",
"(",
"p",
"*",
"CreateCounterParams",
")",
"(",
"*",
"CreateCounterResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
"p... | // Adds metric counter | [
"Adds",
"metric",
"counter"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/AutoScaleService.go#L675-L707 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.