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,200 | xanzy/go-cloudstack | cloudstack/UsageService.go | NewListUsageTypesParams | func (s *UsageService) NewListUsageTypesParams() *ListUsageTypesParams {
p := &ListUsageTypesParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *UsageService) NewListUsageTypesParams() *ListUsageTypesParams {
p := &ListUsageTypesParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"UsageService",
")",
"NewListUsageTypesParams",
"(",
")",
"*",
"ListUsageTypesParams",
"{",
"p",
":=",
"&",
"ListUsageTypesParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
"}",
... | // You should always use this function to get a new ListUsageTypesParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListUsageTypesParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/UsageService.go#L1059-L1063 |
23,201 | xanzy/go-cloudstack | cloudstack/UsageService.go | ListUsageTypes | func (s *UsageService) ListUsageTypes(p *ListUsageTypesParams) (*ListUsageTypesResponse, error) {
resp, err := s.cs.newRequest("listUsageTypes", p.toURLValues())
if err != nil {
return nil, err
}
var r ListUsageTypesResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
return &r, nil
... | go | func (s *UsageService) ListUsageTypes(p *ListUsageTypesParams) (*ListUsageTypesResponse, error) {
resp, err := s.cs.newRequest("listUsageTypes", p.toURLValues())
if err != nil {
return nil, err
}
var r ListUsageTypesResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
return &r, nil
... | [
"func",
"(",
"s",
"*",
"UsageService",
")",
"ListUsageTypes",
"(",
"p",
"*",
"ListUsageTypesParams",
")",
"(",
"*",
"ListUsageTypesResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
"p"... | // List Usage Types | [
"List",
"Usage",
"Types"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/UsageService.go#L1066-L1078 |
23,202 | xanzy/go-cloudstack | cloudstack/UsageService.go | NewRemoveRawUsageRecordsParams | func (s *UsageService) NewRemoveRawUsageRecordsParams(interval int) *RemoveRawUsageRecordsParams {
p := &RemoveRawUsageRecordsParams{}
p.p = make(map[string]interface{})
p.p["interval"] = interval
return p
} | go | func (s *UsageService) NewRemoveRawUsageRecordsParams(interval int) *RemoveRawUsageRecordsParams {
p := &RemoveRawUsageRecordsParams{}
p.p = make(map[string]interface{})
p.p["interval"] = interval
return p
} | [
"func",
"(",
"s",
"*",
"UsageService",
")",
"NewRemoveRawUsageRecordsParams",
"(",
"interval",
"int",
")",
"*",
"RemoveRawUsageRecordsParams",
"{",
"p",
":=",
"&",
"RemoveRawUsageRecordsParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"s... | // You should always use this function to get a new RemoveRawUsageRecordsParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"RemoveRawUsageRecordsParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/UsageService.go#L1116-L1121 |
23,203 | xanzy/go-cloudstack | cloudstack/UsageService.go | RemoveRawUsageRecords | func (s *UsageService) RemoveRawUsageRecords(p *RemoveRawUsageRecordsParams) (*RemoveRawUsageRecordsResponse, error) {
resp, err := s.cs.newRequest("removeRawUsageRecords", p.toURLValues())
if err != nil {
return nil, err
}
var r RemoveRawUsageRecordsResponse
if err := json.Unmarshal(resp, &r); err != nil {
r... | go | func (s *UsageService) RemoveRawUsageRecords(p *RemoveRawUsageRecordsParams) (*RemoveRawUsageRecordsResponse, error) {
resp, err := s.cs.newRequest("removeRawUsageRecords", p.toURLValues())
if err != nil {
return nil, err
}
var r RemoveRawUsageRecordsResponse
if err := json.Unmarshal(resp, &r); err != nil {
r... | [
"func",
"(",
"s",
"*",
"UsageService",
")",
"RemoveRawUsageRecords",
"(",
"p",
"*",
"RemoveRawUsageRecordsParams",
")",
"(",
"*",
"RemoveRawUsageRecordsResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",... | // Safely removes raw records from cloud_usage table | [
"Safely",
"removes",
"raw",
"records",
"from",
"cloud_usage",
"table"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/UsageService.go#L1124-L1136 |
23,204 | xanzy/go-cloudstack | cloudstack/UsageService.go | NewUpdateTrafficTypeParams | func (s *UsageService) NewUpdateTrafficTypeParams(id string) *UpdateTrafficTypeParams {
p := &UpdateTrafficTypeParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *UsageService) NewUpdateTrafficTypeParams(id string) *UpdateTrafficTypeParams {
p := &UpdateTrafficTypeParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"UsageService",
")",
"NewUpdateTrafficTypeParams",
"(",
"id",
"string",
")",
"*",
"UpdateTrafficTypeParams",
"{",
"p",
":=",
"&",
"UpdateTrafficTypeParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
... | // You should always use this function to get a new UpdateTrafficTypeParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"UpdateTrafficTypeParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/UsageService.go#L1242-L1247 |
23,205 | xanzy/go-cloudstack | cloudstack/UsageService.go | UpdateTrafficType | func (s *UsageService) UpdateTrafficType(p *UpdateTrafficTypeParams) (*UpdateTrafficTypeResponse, error) {
resp, err := s.cs.newRequest("updateTrafficType", p.toURLValues())
if err != nil {
return nil, err
}
var r UpdateTrafficTypeResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
... | go | func (s *UsageService) UpdateTrafficType(p *UpdateTrafficTypeParams) (*UpdateTrafficTypeResponse, error) {
resp, err := s.cs.newRequest("updateTrafficType", p.toURLValues())
if err != nil {
return nil, err
}
var r UpdateTrafficTypeResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
... | [
"func",
"(",
"s",
"*",
"UsageService",
")",
"UpdateTrafficType",
"(",
"p",
"*",
"UpdateTrafficTypeParams",
")",
"(",
"*",
"UpdateTrafficTypeResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
"... | // Updates traffic type of a physical network | [
"Updates",
"traffic",
"type",
"of",
"a",
"physical",
"network"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/UsageService.go#L1250-L1282 |
23,206 | xanzy/go-cloudstack | cloudstack/DiskOfferingService.go | NewCreateDiskOfferingParams | func (s *DiskOfferingService) NewCreateDiskOfferingParams(displaytext string, name string) *CreateDiskOfferingParams {
p := &CreateDiskOfferingParams{}
p.p = make(map[string]interface{})
p.p["displaytext"] = displaytext
p.p["name"] = name
return p
} | go | func (s *DiskOfferingService) NewCreateDiskOfferingParams(displaytext string, name string) *CreateDiskOfferingParams {
p := &CreateDiskOfferingParams{}
p.p = make(map[string]interface{})
p.p["displaytext"] = displaytext
p.p["name"] = name
return p
} | [
"func",
"(",
"s",
"*",
"DiskOfferingService",
")",
"NewCreateDiskOfferingParams",
"(",
"displaytext",
"string",
",",
"name",
"string",
")",
"*",
"CreateDiskOfferingParams",
"{",
"p",
":=",
"&",
"CreateDiskOfferingParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"m... | // You should always use this function to get a new CreateDiskOfferingParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CreateDiskOfferingParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/DiskOfferingService.go#L239-L245 |
23,207 | xanzy/go-cloudstack | cloudstack/DiskOfferingService.go | NewDeleteDiskOfferingParams | func (s *DiskOfferingService) NewDeleteDiskOfferingParams(id string) *DeleteDiskOfferingParams {
p := &DeleteDiskOfferingParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *DiskOfferingService) NewDeleteDiskOfferingParams(id string) *DeleteDiskOfferingParams {
p := &DeleteDiskOfferingParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"DiskOfferingService",
")",
"NewDeleteDiskOfferingParams",
"(",
"id",
"string",
")",
"*",
"DeleteDiskOfferingParams",
"{",
"p",
":=",
"&",
"DeleteDiskOfferingParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string... | // You should always use this function to get a new DeleteDiskOfferingParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DeleteDiskOfferingParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/DiskOfferingService.go#L311-L316 |
23,208 | xanzy/go-cloudstack | cloudstack/DiskOfferingService.go | NewListDiskOfferingsParams | func (s *DiskOfferingService) NewListDiskOfferingsParams() *ListDiskOfferingsParams {
p := &ListDiskOfferingsParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *DiskOfferingService) NewListDiskOfferingsParams() *ListDiskOfferingsParams {
p := &ListDiskOfferingsParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"DiskOfferingService",
")",
"NewListDiskOfferingsParams",
"(",
")",
"*",
"ListDiskOfferingsParams",
"{",
"p",
":=",
"&",
"ListDiskOfferingsParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface"... | // You should always use this function to get a new ListDiskOfferingsParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListDiskOfferingsParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/DiskOfferingService.go#L463-L467 |
23,209 | xanzy/go-cloudstack | cloudstack/DiskOfferingService.go | NewUpdateDiskOfferingParams | func (s *DiskOfferingService) NewUpdateDiskOfferingParams(id string) *UpdateDiskOfferingParams {
p := &UpdateDiskOfferingParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *DiskOfferingService) NewUpdateDiskOfferingParams(id string) *UpdateDiskOfferingParams {
p := &UpdateDiskOfferingParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"DiskOfferingService",
")",
"NewUpdateDiskOfferingParams",
"(",
"id",
"string",
")",
"*",
"UpdateDiskOfferingParams",
"{",
"p",
":=",
"&",
"UpdateDiskOfferingParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string... | // You should always use this function to get a new UpdateDiskOfferingParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"UpdateDiskOfferingParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/DiskOfferingService.go#L667-L672 |
23,210 | xanzy/go-cloudstack | cloudstack/ResourcemetadataService.go | NewAddResourceDetailParams | func (s *ResourcemetadataService) NewAddResourceDetailParams(details map[string]string, resourceid string, resourcetype string) *AddResourceDetailParams {
p := &AddResourceDetailParams{}
p.p = make(map[string]interface{})
p.p["details"] = details
p.p["resourceid"] = resourceid
p.p["resourcetype"] = resourcetype
r... | go | func (s *ResourcemetadataService) NewAddResourceDetailParams(details map[string]string, resourceid string, resourcetype string) *AddResourceDetailParams {
p := &AddResourceDetailParams{}
p.p = make(map[string]interface{})
p.p["details"] = details
p.p["resourceid"] = resourceid
p.p["resourcetype"] = resourcetype
r... | [
"func",
"(",
"s",
"*",
"ResourcemetadataService",
")",
"NewAddResourceDetailParams",
"(",
"details",
"map",
"[",
"string",
"]",
"string",
",",
"resourceid",
"string",
",",
"resourcetype",
"string",
")",
"*",
"AddResourceDetailParams",
"{",
"p",
":=",
"&",
"AddRe... | // You should always use this function to get a new AddResourceDetailParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"AddResourceDetailParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ResourcemetadataService.go#L89-L96 |
23,211 | xanzy/go-cloudstack | cloudstack/ResourcemetadataService.go | AddResourceDetail | func (s *ResourcemetadataService) AddResourceDetail(p *AddResourceDetailParams) (*AddResourceDetailResponse, error) {
resp, err := s.cs.newRequest("addResourceDetail", p.toURLValues())
if err != nil {
return nil, err
}
var r AddResourceDetailResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil... | go | func (s *ResourcemetadataService) AddResourceDetail(p *AddResourceDetailParams) (*AddResourceDetailResponse, error) {
resp, err := s.cs.newRequest("addResourceDetail", p.toURLValues())
if err != nil {
return nil, err
}
var r AddResourceDetailResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil... | [
"func",
"(",
"s",
"*",
"ResourcemetadataService",
")",
"AddResourceDetail",
"(",
"p",
"*",
"AddResourceDetailParams",
")",
"(",
"*",
"AddResourceDetailResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
... | // Adds detail for the Resource. | [
"Adds",
"detail",
"for",
"the",
"Resource",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ResourcemetadataService.go#L99-L126 |
23,212 | xanzy/go-cloudstack | cloudstack/ResourcemetadataService.go | NewGetVolumeSnapshotDetailsParams | func (s *ResourcemetadataService) NewGetVolumeSnapshotDetailsParams(snapshotid string) *GetVolumeSnapshotDetailsParams {
p := &GetVolumeSnapshotDetailsParams{}
p.p = make(map[string]interface{})
p.p["snapshotid"] = snapshotid
return p
} | go | func (s *ResourcemetadataService) NewGetVolumeSnapshotDetailsParams(snapshotid string) *GetVolumeSnapshotDetailsParams {
p := &GetVolumeSnapshotDetailsParams{}
p.p = make(map[string]interface{})
p.p["snapshotid"] = snapshotid
return p
} | [
"func",
"(",
"s",
"*",
"ResourcemetadataService",
")",
"NewGetVolumeSnapshotDetailsParams",
"(",
"snapshotid",
"string",
")",
"*",
"GetVolumeSnapshotDetailsParams",
"{",
"p",
":=",
"&",
"GetVolumeSnapshotDetailsParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
... | // You should always use this function to get a new GetVolumeSnapshotDetailsParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"GetVolumeSnapshotDetailsParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ResourcemetadataService.go#L159-L164 |
23,213 | xanzy/go-cloudstack | cloudstack/ResourcemetadataService.go | GetVolumeSnapshotDetails | func (s *ResourcemetadataService) GetVolumeSnapshotDetails(p *GetVolumeSnapshotDetailsParams) (*GetVolumeSnapshotDetailsResponse, error) {
resp, err := s.cs.newRequest("getVolumeSnapshotDetails", p.toURLValues())
if err != nil {
return nil, err
}
var r GetVolumeSnapshotDetailsResponse
if err := json.Unmarshal(r... | go | func (s *ResourcemetadataService) GetVolumeSnapshotDetails(p *GetVolumeSnapshotDetailsParams) (*GetVolumeSnapshotDetailsResponse, error) {
resp, err := s.cs.newRequest("getVolumeSnapshotDetails", p.toURLValues())
if err != nil {
return nil, err
}
var r GetVolumeSnapshotDetailsResponse
if err := json.Unmarshal(r... | [
"func",
"(",
"s",
"*",
"ResourcemetadataService",
")",
"GetVolumeSnapshotDetails",
"(",
"p",
"*",
"GetVolumeSnapshotDetailsParams",
")",
"(",
"*",
"GetVolumeSnapshotDetailsResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequ... | // Get Volume Snapshot Details | [
"Get",
"Volume",
"Snapshot",
"Details"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ResourcemetadataService.go#L167-L179 |
23,214 | xanzy/go-cloudstack | cloudstack/ResourcemetadataService.go | NewListResourceDetailsParams | func (s *ResourcemetadataService) NewListResourceDetailsParams(resourcetype string) *ListResourceDetailsParams {
p := &ListResourceDetailsParams{}
p.p = make(map[string]interface{})
p.p["resourcetype"] = resourcetype
return p
} | go | func (s *ResourcemetadataService) NewListResourceDetailsParams(resourcetype string) *ListResourceDetailsParams {
p := &ListResourceDetailsParams{}
p.p = make(map[string]interface{})
p.p["resourcetype"] = resourcetype
return p
} | [
"func",
"(",
"s",
"*",
"ResourcemetadataService",
")",
"NewListResourceDetailsParams",
"(",
"resourcetype",
"string",
")",
"*",
"ListResourceDetailsParams",
"{",
"p",
":=",
"&",
"ListResourceDetailsParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",... | // You should always use this function to get a new ListResourceDetailsParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListResourceDetailsParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ResourcemetadataService.go#L347-L352 |
23,215 | xanzy/go-cloudstack | cloudstack/ResourcemetadataService.go | NewRemoveResourceDetailParams | func (s *ResourcemetadataService) NewRemoveResourceDetailParams(resourceid string, resourcetype string) *RemoveResourceDetailParams {
p := &RemoveResourceDetailParams{}
p.p = make(map[string]interface{})
p.p["resourceid"] = resourceid
p.p["resourcetype"] = resourcetype
return p
} | go | func (s *ResourcemetadataService) NewRemoveResourceDetailParams(resourceid string, resourcetype string) *RemoveResourceDetailParams {
p := &RemoveResourceDetailParams{}
p.p = make(map[string]interface{})
p.p["resourceid"] = resourceid
p.p["resourcetype"] = resourcetype
return p
} | [
"func",
"(",
"s",
"*",
"ResourcemetadataService",
")",
"NewRemoveResourceDetailParams",
"(",
"resourceid",
"string",
",",
"resourcetype",
"string",
")",
"*",
"RemoveResourceDetailParams",
"{",
"p",
":=",
"&",
"RemoveResourceDetailParams",
"{",
"}",
"\n",
"p",
".",
... | // You should always use this function to get a new RemoveResourceDetailParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"RemoveResourceDetailParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ResourcemetadataService.go#L434-L440 |
23,216 | xanzy/go-cloudstack | cloudstack/ResourcemetadataService.go | RemoveResourceDetail | func (s *ResourcemetadataService) RemoveResourceDetail(p *RemoveResourceDetailParams) (*RemoveResourceDetailResponse, error) {
resp, err := s.cs.newRequest("removeResourceDetail", p.toURLValues())
if err != nil {
return nil, err
}
var r RemoveResourceDetailResponse
if err := json.Unmarshal(resp, &r); err != nil... | go | func (s *ResourcemetadataService) RemoveResourceDetail(p *RemoveResourceDetailParams) (*RemoveResourceDetailResponse, error) {
resp, err := s.cs.newRequest("removeResourceDetail", p.toURLValues())
if err != nil {
return nil, err
}
var r RemoveResourceDetailResponse
if err := json.Unmarshal(resp, &r); err != nil... | [
"func",
"(",
"s",
"*",
"ResourcemetadataService",
")",
"RemoveResourceDetail",
"(",
"p",
"*",
"RemoveResourceDetailParams",
")",
"(",
"*",
"RemoveResourceDetailResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",... | // Removes detail for the Resource. | [
"Removes",
"detail",
"for",
"the",
"Resource",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ResourcemetadataService.go#L443-L470 |
23,217 | xanzy/go-cloudstack | cloudstack/VirtualMachineService.go | NewAddNicToVirtualMachineParams | func (s *VirtualMachineService) NewAddNicToVirtualMachineParams(networkid string, virtualmachineid string) *AddNicToVirtualMachineParams {
p := &AddNicToVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["networkid"] = networkid
p.p["virtualmachineid"] = virtualmachineid
return p
} | go | func (s *VirtualMachineService) NewAddNicToVirtualMachineParams(networkid string, virtualmachineid string) *AddNicToVirtualMachineParams {
p := &AddNicToVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["networkid"] = networkid
p.p["virtualmachineid"] = virtualmachineid
return p
} | [
"func",
"(",
"s",
"*",
"VirtualMachineService",
")",
"NewAddNicToVirtualMachineParams",
"(",
"networkid",
"string",
",",
"virtualmachineid",
"string",
")",
"*",
"AddNicToVirtualMachineParams",
"{",
"p",
":=",
"&",
"AddNicToVirtualMachineParams",
"{",
"}",
"\n",
"p",
... | // You should always use this function to get a new AddNicToVirtualMachineParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"AddNicToVirtualMachineParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VirtualMachineService.go#L101-L107 |
23,218 | xanzy/go-cloudstack | cloudstack/VirtualMachineService.go | NewAssignVirtualMachineParams | func (s *VirtualMachineService) NewAssignVirtualMachineParams(virtualmachineid string) *AssignVirtualMachineParams {
p := &AssignVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["virtualmachineid"] = virtualmachineid
return p
} | go | func (s *VirtualMachineService) NewAssignVirtualMachineParams(virtualmachineid string) *AssignVirtualMachineParams {
p := &AssignVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["virtualmachineid"] = virtualmachineid
return p
} | [
"func",
"(",
"s",
"*",
"VirtualMachineService",
")",
"NewAssignVirtualMachineParams",
"(",
"virtualmachineid",
"string",
")",
"*",
"AssignVirtualMachineParams",
"{",
"p",
":=",
"&",
"AssignVirtualMachineParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"... | // You should always use this function to get a new AssignVirtualMachineParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"AssignVirtualMachineParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VirtualMachineService.go#L334-L339 |
23,219 | xanzy/go-cloudstack | cloudstack/VirtualMachineService.go | NewChangeServiceForVirtualMachineParams | func (s *VirtualMachineService) NewChangeServiceForVirtualMachineParams(id string, serviceofferingid string) *ChangeServiceForVirtualMachineParams {
p := &ChangeServiceForVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
p.p["serviceofferingid"] = serviceofferingid
return p
} | go | func (s *VirtualMachineService) NewChangeServiceForVirtualMachineParams(id string, serviceofferingid string) *ChangeServiceForVirtualMachineParams {
p := &ChangeServiceForVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
p.p["serviceofferingid"] = serviceofferingid
return p
} | [
"func",
"(",
"s",
"*",
"VirtualMachineService",
")",
"NewChangeServiceForVirtualMachineParams",
"(",
"id",
"string",
",",
"serviceofferingid",
"string",
")",
"*",
"ChangeServiceForVirtualMachineParams",
"{",
"p",
":=",
"&",
"ChangeServiceForVirtualMachineParams",
"{",
"}"... | // You should always use this function to get a new ChangeServiceForVirtualMachineParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ChangeServiceForVirtualMachineParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VirtualMachineService.go#L514-L520 |
23,220 | xanzy/go-cloudstack | cloudstack/VirtualMachineService.go | NewCleanVMReservationsParams | func (s *VirtualMachineService) NewCleanVMReservationsParams() *CleanVMReservationsParams {
p := &CleanVMReservationsParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *VirtualMachineService) NewCleanVMReservationsParams() *CleanVMReservationsParams {
p := &CleanVMReservationsParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"VirtualMachineService",
")",
"NewCleanVMReservationsParams",
"(",
")",
"*",
"CleanVMReservationsParams",
"{",
"p",
":=",
"&",
"CleanVMReservationsParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"in... | // You should always use this function to get a new CleanVMReservationsParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CleanVMReservationsParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VirtualMachineService.go#L658-L662 |
23,221 | xanzy/go-cloudstack | cloudstack/VirtualMachineService.go | NewDeployVirtualMachineParams | func (s *VirtualMachineService) NewDeployVirtualMachineParams(serviceofferingid string, templateid string, zoneid string) *DeployVirtualMachineParams {
p := &DeployVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["serviceofferingid"] = serviceofferingid
p.p["templateid"] = templateid
p.p["zoneid"] = z... | go | func (s *VirtualMachineService) NewDeployVirtualMachineParams(serviceofferingid string, templateid string, zoneid string) *DeployVirtualMachineParams {
p := &DeployVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["serviceofferingid"] = serviceofferingid
p.p["templateid"] = templateid
p.p["zoneid"] = z... | [
"func",
"(",
"s",
"*",
"VirtualMachineService",
")",
"NewDeployVirtualMachineParams",
"(",
"serviceofferingid",
"string",
",",
"templateid",
"string",
",",
"zoneid",
"string",
")",
"*",
"DeployVirtualMachineParams",
"{",
"p",
":=",
"&",
"DeployVirtualMachineParams",
"... | // You should always use this function to get a new DeployVirtualMachineParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DeployVirtualMachineParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VirtualMachineService.go#L1105-L1112 |
23,222 | xanzy/go-cloudstack | cloudstack/VirtualMachineService.go | NewDestroyVirtualMachineParams | func (s *VirtualMachineService) NewDestroyVirtualMachineParams(id string) *DestroyVirtualMachineParams {
p := &DestroyVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *VirtualMachineService) NewDestroyVirtualMachineParams(id string) *DestroyVirtualMachineParams {
p := &DestroyVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"VirtualMachineService",
")",
"NewDestroyVirtualMachineParams",
"(",
"id",
"string",
")",
"*",
"DestroyVirtualMachineParams",
"{",
"p",
":=",
"&",
"DestroyVirtualMachineParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"["... | // You should always use this function to get a new DestroyVirtualMachineParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DestroyVirtualMachineParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VirtualMachineService.go#L1294-L1299 |
23,223 | xanzy/go-cloudstack | cloudstack/VirtualMachineService.go | DestroyVirtualMachine | func (s *VirtualMachineService) DestroyVirtualMachine(p *DestroyVirtualMachineParams) (*DestroyVirtualMachineResponse, error) {
resp, err := s.cs.newRequest("destroyVirtualMachine", p.toURLValues())
if err != nil {
return nil, err
}
var r DestroyVirtualMachineResponse
if err := json.Unmarshal(resp, &r); err != ... | go | func (s *VirtualMachineService) DestroyVirtualMachine(p *DestroyVirtualMachineParams) (*DestroyVirtualMachineResponse, error) {
resp, err := s.cs.newRequest("destroyVirtualMachine", p.toURLValues())
if err != nil {
return nil, err
}
var r DestroyVirtualMachineResponse
if err := json.Unmarshal(resp, &r); err != ... | [
"func",
"(",
"s",
"*",
"VirtualMachineService",
")",
"DestroyVirtualMachine",
"(",
"p",
"*",
"DestroyVirtualMachineParams",
")",
"(",
"*",
"DestroyVirtualMachineResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"("... | // Destroys a virtual machine. | [
"Destroys",
"a",
"virtual",
"machine",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VirtualMachineService.go#L1302-L1334 |
23,224 | xanzy/go-cloudstack | cloudstack/VirtualMachineService.go | NewExpungeVirtualMachineParams | func (s *VirtualMachineService) NewExpungeVirtualMachineParams(id string) *ExpungeVirtualMachineParams {
p := &ExpungeVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *VirtualMachineService) NewExpungeVirtualMachineParams(id string) *ExpungeVirtualMachineParams {
p := &ExpungeVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"VirtualMachineService",
")",
"NewExpungeVirtualMachineParams",
"(",
"id",
"string",
")",
"*",
"ExpungeVirtualMachineParams",
"{",
"p",
":=",
"&",
"ExpungeVirtualMachineParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"["... | // You should always use this function to get a new ExpungeVirtualMachineParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ExpungeVirtualMachineParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VirtualMachineService.go#L1469-L1474 |
23,225 | xanzy/go-cloudstack | cloudstack/VirtualMachineService.go | NewGetVMPasswordParams | func (s *VirtualMachineService) NewGetVMPasswordParams(id string) *GetVMPasswordParams {
p := &GetVMPasswordParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *VirtualMachineService) NewGetVMPasswordParams(id string) *GetVMPasswordParams {
p := &GetVMPasswordParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"VirtualMachineService",
")",
"NewGetVMPasswordParams",
"(",
"id",
"string",
")",
"*",
"GetVMPasswordParams",
"{",
"p",
":=",
"&",
"GetVMPasswordParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"... | // You should always use this function to get a new GetVMPasswordParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"GetVMPasswordParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VirtualMachineService.go#L1537-L1542 |
23,226 | xanzy/go-cloudstack | cloudstack/VirtualMachineService.go | NewListVirtualMachinesParams | func (s *VirtualMachineService) NewListVirtualMachinesParams() *ListVirtualMachinesParams {
p := &ListVirtualMachinesParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *VirtualMachineService) NewListVirtualMachinesParams() *ListVirtualMachinesParams {
p := &ListVirtualMachinesParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"VirtualMachineService",
")",
"NewListVirtualMachinesParams",
"(",
")",
"*",
"ListVirtualMachinesParams",
"{",
"p",
":=",
"&",
"ListVirtualMachinesParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"in... | // You should always use this function to get a new ListVirtualMachinesParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListVirtualMachinesParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VirtualMachineService.go#L1920-L1924 |
23,227 | xanzy/go-cloudstack | cloudstack/VirtualMachineService.go | NewMigrateVirtualMachineParams | func (s *VirtualMachineService) NewMigrateVirtualMachineParams(virtualmachineid string) *MigrateVirtualMachineParams {
p := &MigrateVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["virtualmachineid"] = virtualmachineid
return p
} | go | func (s *VirtualMachineService) NewMigrateVirtualMachineParams(virtualmachineid string) *MigrateVirtualMachineParams {
p := &MigrateVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["virtualmachineid"] = virtualmachineid
return p
} | [
"func",
"(",
"s",
"*",
"VirtualMachineService",
")",
"NewMigrateVirtualMachineParams",
"(",
"virtualmachineid",
"string",
")",
"*",
"MigrateVirtualMachineParams",
"{",
"p",
":=",
"&",
"MigrateVirtualMachineParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
... | // You should always use this function to get a new MigrateVirtualMachineParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"MigrateVirtualMachineParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VirtualMachineService.go#L2183-L2188 |
23,228 | xanzy/go-cloudstack | cloudstack/VirtualMachineService.go | NewMigrateVirtualMachineWithVolumeParams | func (s *VirtualMachineService) NewMigrateVirtualMachineWithVolumeParams(hostid string, virtualmachineid string) *MigrateVirtualMachineWithVolumeParams {
p := &MigrateVirtualMachineWithVolumeParams{}
p.p = make(map[string]interface{})
p.p["hostid"] = hostid
p.p["virtualmachineid"] = virtualmachineid
return p
} | go | func (s *VirtualMachineService) NewMigrateVirtualMachineWithVolumeParams(hostid string, virtualmachineid string) *MigrateVirtualMachineWithVolumeParams {
p := &MigrateVirtualMachineWithVolumeParams{}
p.p = make(map[string]interface{})
p.p["hostid"] = hostid
p.p["virtualmachineid"] = virtualmachineid
return p
} | [
"func",
"(",
"s",
"*",
"VirtualMachineService",
")",
"NewMigrateVirtualMachineWithVolumeParams",
"(",
"hostid",
"string",
",",
"virtualmachineid",
"string",
")",
"*",
"MigrateVirtualMachineWithVolumeParams",
"{",
"p",
":=",
"&",
"MigrateVirtualMachineWithVolumeParams",
"{",... | // You should always use this function to get a new MigrateVirtualMachineWithVolumeParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"MigrateVirtualMachineWithVolumeParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VirtualMachineService.go#L2385-L2391 |
23,229 | xanzy/go-cloudstack | cloudstack/VirtualMachineService.go | NewRebootVirtualMachineParams | func (s *VirtualMachineService) NewRebootVirtualMachineParams(id string) *RebootVirtualMachineParams {
p := &RebootVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *VirtualMachineService) NewRebootVirtualMachineParams(id string) *RebootVirtualMachineParams {
p := &RebootVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"VirtualMachineService",
")",
"NewRebootVirtualMachineParams",
"(",
"id",
"string",
")",
"*",
"RebootVirtualMachineParams",
"{",
"p",
":=",
"&",
"RebootVirtualMachineParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
... | // You should always use this function to get a new RebootVirtualMachineParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"RebootVirtualMachineParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VirtualMachineService.go#L2561-L2566 |
23,230 | xanzy/go-cloudstack | cloudstack/VirtualMachineService.go | NewRecoverVirtualMachineParams | func (s *VirtualMachineService) NewRecoverVirtualMachineParams(id string) *RecoverVirtualMachineParams {
p := &RecoverVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *VirtualMachineService) NewRecoverVirtualMachineParams(id string) *RecoverVirtualMachineParams {
p := &RecoverVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"VirtualMachineService",
")",
"NewRecoverVirtualMachineParams",
"(",
"id",
"string",
")",
"*",
"RecoverVirtualMachineParams",
"{",
"p",
":=",
"&",
"RecoverVirtualMachineParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"["... | // You should always use this function to get a new RecoverVirtualMachineParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"RecoverVirtualMachineParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VirtualMachineService.go#L2736-L2741 |
23,231 | xanzy/go-cloudstack | cloudstack/VirtualMachineService.go | NewRemoveNicFromVirtualMachineParams | func (s *VirtualMachineService) NewRemoveNicFromVirtualMachineParams(nicid string, virtualmachineid string) *RemoveNicFromVirtualMachineParams {
p := &RemoveNicFromVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["nicid"] = nicid
p.p["virtualmachineid"] = virtualmachineid
return p
} | go | func (s *VirtualMachineService) NewRemoveNicFromVirtualMachineParams(nicid string, virtualmachineid string) *RemoveNicFromVirtualMachineParams {
p := &RemoveNicFromVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["nicid"] = nicid
p.p["virtualmachineid"] = virtualmachineid
return p
} | [
"func",
"(",
"s",
"*",
"VirtualMachineService",
")",
"NewRemoveNicFromVirtualMachineParams",
"(",
"nicid",
"string",
",",
"virtualmachineid",
"string",
")",
"*",
"RemoveNicFromVirtualMachineParams",
"{",
"p",
":=",
"&",
"RemoveNicFromVirtualMachineParams",
"{",
"}",
"\n... | // You should always use this function to get a new RemoveNicFromVirtualMachineParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"RemoveNicFromVirtualMachineParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VirtualMachineService.go#L2901-L2907 |
23,232 | xanzy/go-cloudstack | cloudstack/VirtualMachineService.go | NewResetPasswordForVirtualMachineParams | func (s *VirtualMachineService) NewResetPasswordForVirtualMachineParams(id string) *ResetPasswordForVirtualMachineParams {
p := &ResetPasswordForVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *VirtualMachineService) NewResetPasswordForVirtualMachineParams(id string) *ResetPasswordForVirtualMachineParams {
p := &ResetPasswordForVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"VirtualMachineService",
")",
"NewResetPasswordForVirtualMachineParams",
"(",
"id",
"string",
")",
"*",
"ResetPasswordForVirtualMachineParams",
"{",
"p",
":=",
"&",
"ResetPasswordForVirtualMachineParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"m... | // You should always use this function to get a new ResetPasswordForVirtualMachineParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ResetPasswordForVirtualMachineParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VirtualMachineService.go#L3077-L3082 |
23,233 | xanzy/go-cloudstack | cloudstack/VirtualMachineService.go | NewRestoreVirtualMachineParams | func (s *VirtualMachineService) NewRestoreVirtualMachineParams(virtualmachineid string) *RestoreVirtualMachineParams {
p := &RestoreVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["virtualmachineid"] = virtualmachineid
return p
} | go | func (s *VirtualMachineService) NewRestoreVirtualMachineParams(virtualmachineid string) *RestoreVirtualMachineParams {
p := &RestoreVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["virtualmachineid"] = virtualmachineid
return p
} | [
"func",
"(",
"s",
"*",
"VirtualMachineService",
")",
"NewRestoreVirtualMachineParams",
"(",
"virtualmachineid",
"string",
")",
"*",
"RestoreVirtualMachineParams",
"{",
"p",
":=",
"&",
"RestoreVirtualMachineParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
... | // You should always use this function to get a new RestoreVirtualMachineParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"RestoreVirtualMachineParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VirtualMachineService.go#L3263-L3268 |
23,234 | xanzy/go-cloudstack | cloudstack/VirtualMachineService.go | NewScaleVirtualMachineParams | func (s *VirtualMachineService) NewScaleVirtualMachineParams(id string, serviceofferingid string) *ScaleVirtualMachineParams {
p := &ScaleVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
p.p["serviceofferingid"] = serviceofferingid
return p
} | go | func (s *VirtualMachineService) NewScaleVirtualMachineParams(id string, serviceofferingid string) *ScaleVirtualMachineParams {
p := &ScaleVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
p.p["serviceofferingid"] = serviceofferingid
return p
} | [
"func",
"(",
"s",
"*",
"VirtualMachineService",
")",
"NewScaleVirtualMachineParams",
"(",
"id",
"string",
",",
"serviceofferingid",
"string",
")",
"*",
"ScaleVirtualMachineParams",
"{",
"p",
":=",
"&",
"ScaleVirtualMachineParams",
"{",
"}",
"\n",
"p",
".",
"p",
... | // You should always use this function to get a new ScaleVirtualMachineParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ScaleVirtualMachineParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VirtualMachineService.go#L3464-L3470 |
23,235 | xanzy/go-cloudstack | cloudstack/VirtualMachineService.go | NewStartVirtualMachineParams | func (s *VirtualMachineService) NewStartVirtualMachineParams(id string) *StartVirtualMachineParams {
p := &StartVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *VirtualMachineService) NewStartVirtualMachineParams(id string) *StartVirtualMachineParams {
p := &StartVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"VirtualMachineService",
")",
"NewStartVirtualMachineParams",
"(",
"id",
"string",
")",
"*",
"StartVirtualMachineParams",
"{",
"p",
":=",
"&",
"StartVirtualMachineParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"s... | // You should always use this function to get a new StartVirtualMachineParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"StartVirtualMachineParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VirtualMachineService.go#L3555-L3560 |
23,236 | xanzy/go-cloudstack | cloudstack/VirtualMachineService.go | NewStopVirtualMachineParams | func (s *VirtualMachineService) NewStopVirtualMachineParams(id string) *StopVirtualMachineParams {
p := &StopVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *VirtualMachineService) NewStopVirtualMachineParams(id string) *StopVirtualMachineParams {
p := &StopVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"VirtualMachineService",
")",
"NewStopVirtualMachineParams",
"(",
"id",
"string",
")",
"*",
"StopVirtualMachineParams",
"{",
"p",
":=",
"&",
"StopVirtualMachineParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"stri... | // You should always use this function to get a new StopVirtualMachineParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"StopVirtualMachineParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VirtualMachineService.go#L3742-L3747 |
23,237 | xanzy/go-cloudstack | cloudstack/VirtualMachineService.go | NewUpdateDefaultNicForVirtualMachineParams | func (s *VirtualMachineService) NewUpdateDefaultNicForVirtualMachineParams(nicid string, virtualmachineid string) *UpdateDefaultNicForVirtualMachineParams {
p := &UpdateDefaultNicForVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["nicid"] = nicid
p.p["virtualmachineid"] = virtualmachineid
return p
} | go | func (s *VirtualMachineService) NewUpdateDefaultNicForVirtualMachineParams(nicid string, virtualmachineid string) *UpdateDefaultNicForVirtualMachineParams {
p := &UpdateDefaultNicForVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["nicid"] = nicid
p.p["virtualmachineid"] = virtualmachineid
return p
} | [
"func",
"(",
"s",
"*",
"VirtualMachineService",
")",
"NewUpdateDefaultNicForVirtualMachineParams",
"(",
"nicid",
"string",
",",
"virtualmachineid",
"string",
")",
"*",
"UpdateDefaultNicForVirtualMachineParams",
"{",
"p",
":=",
"&",
"UpdateDefaultNicForVirtualMachineParams",
... | // You should always use this function to get a new UpdateDefaultNicForVirtualMachineParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"UpdateDefaultNicForVirtualMachineParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VirtualMachineService.go#L3928-L3934 |
23,238 | xanzy/go-cloudstack | cloudstack/VirtualMachineService.go | NewUpdateVirtualMachineParams | func (s *VirtualMachineService) NewUpdateVirtualMachineParams(id string) *UpdateVirtualMachineParams {
p := &UpdateVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *VirtualMachineService) NewUpdateVirtualMachineParams(id string) *UpdateVirtualMachineParams {
p := &UpdateVirtualMachineParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"VirtualMachineService",
")",
"NewUpdateVirtualMachineParams",
"(",
"id",
"string",
")",
"*",
"UpdateVirtualMachineParams",
"{",
"p",
":=",
"&",
"UpdateVirtualMachineParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
... | // You should always use this function to get a new UpdateVirtualMachineParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"UpdateVirtualMachineParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/VirtualMachineService.go#L4284-L4289 |
23,239 | xanzy/go-cloudstack | cloudstack/ISOService.go | NewAttachIsoParams | func (s *ISOService) NewAttachIsoParams(id string, virtualmachineid string) *AttachIsoParams {
p := &AttachIsoParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
p.p["virtualmachineid"] = virtualmachineid
return p
} | go | func (s *ISOService) NewAttachIsoParams(id string, virtualmachineid string) *AttachIsoParams {
p := &AttachIsoParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
p.p["virtualmachineid"] = virtualmachineid
return p
} | [
"func",
"(",
"s",
"*",
"ISOService",
")",
"NewAttachIsoParams",
"(",
"id",
"string",
",",
"virtualmachineid",
"string",
")",
"*",
"AttachIsoParams",
"{",
"p",
":=",
"&",
"AttachIsoParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"s... | // You should always use this function to get a new AttachIsoParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"AttachIsoParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ISOService.go#L63-L69 |
23,240 | xanzy/go-cloudstack | cloudstack/ISOService.go | AttachIso | func (s *ISOService) AttachIso(p *AttachIsoParams) (*AttachIsoResponse, error) {
resp, err := s.cs.newRequest("attachIso", p.toURLValues())
if err != nil {
return nil, err
}
var r AttachIsoResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a async client, we need to w... | go | func (s *ISOService) AttachIso(p *AttachIsoParams) (*AttachIsoResponse, error) {
resp, err := s.cs.newRequest("attachIso", p.toURLValues())
if err != nil {
return nil, err
}
var r AttachIsoResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a async client, we need to w... | [
"func",
"(",
"s",
"*",
"ISOService",
")",
"AttachIso",
"(",
"p",
"*",
"AttachIsoParams",
")",
"(",
"*",
"AttachIsoResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
"p",
".",
"toURL... | // Attaches an ISO to a virtual machine. | [
"Attaches",
"an",
"ISO",
"to",
"a",
"virtual",
"machine",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ISOService.go#L72-L104 |
23,241 | xanzy/go-cloudstack | cloudstack/ISOService.go | NewCopyIsoParams | func (s *ISOService) NewCopyIsoParams(id string) *CopyIsoParams {
p := &CopyIsoParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *ISOService) NewCopyIsoParams(id string) *CopyIsoParams {
p := &CopyIsoParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"ISOService",
")",
"NewCopyIsoParams",
"(",
"id",
"string",
")",
"*",
"CopyIsoParams",
"{",
"p",
":=",
"&",
"CopyIsoParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
"}",
"... | // You should always use this function to get a new CopyIsoParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CopyIsoParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ISOService.go#L273-L278 |
23,242 | xanzy/go-cloudstack | cloudstack/ISOService.go | CopyIso | func (s *ISOService) CopyIso(p *CopyIsoParams) (*CopyIsoResponse, error) {
resp, err := s.cs.newRequest("copyIso", p.toURLValues())
if err != nil {
return nil, err
}
var r CopyIsoResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a async client, we need to wait for th... | go | func (s *ISOService) CopyIso(p *CopyIsoParams) (*CopyIsoResponse, error) {
resp, err := s.cs.newRequest("copyIso", p.toURLValues())
if err != nil {
return nil, err
}
var r CopyIsoResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a async client, we need to wait for th... | [
"func",
"(",
"s",
"*",
"ISOService",
")",
"CopyIso",
"(",
"p",
"*",
"CopyIsoParams",
")",
"(",
"*",
"CopyIsoResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
"p",
".",
"toURLValues... | // Copies an iso from one zone to another. | [
"Copies",
"an",
"iso",
"from",
"one",
"zone",
"to",
"another",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ISOService.go#L281-L313 |
23,243 | xanzy/go-cloudstack | cloudstack/ISOService.go | NewDeleteIsoParams | func (s *ISOService) NewDeleteIsoParams(id string) *DeleteIsoParams {
p := &DeleteIsoParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *ISOService) NewDeleteIsoParams(id string) *DeleteIsoParams {
p := &DeleteIsoParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"ISOService",
")",
"NewDeleteIsoParams",
"(",
"id",
"string",
")",
"*",
"DeleteIsoParams",
"{",
"p",
":=",
"&",
"DeleteIsoParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
"}... | // You should always use this function to get a new DeleteIsoParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DeleteIsoParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ISOService.go#L395-L400 |
23,244 | xanzy/go-cloudstack | cloudstack/ISOService.go | DeleteIso | func (s *ISOService) DeleteIso(p *DeleteIsoParams) (*DeleteIsoResponse, error) {
resp, err := s.cs.newRequest("deleteIso", p.toURLValues())
if err != nil {
return nil, err
}
var r DeleteIsoResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a async client, we need to w... | go | func (s *ISOService) DeleteIso(p *DeleteIsoParams) (*DeleteIsoResponse, error) {
resp, err := s.cs.newRequest("deleteIso", p.toURLValues())
if err != nil {
return nil, err
}
var r DeleteIsoResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a async client, we need to w... | [
"func",
"(",
"s",
"*",
"ISOService",
")",
"DeleteIso",
"(",
"p",
"*",
"DeleteIsoParams",
")",
"(",
"*",
"DeleteIsoResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
"p",
".",
"toURL... | // Deletes an ISO file. | [
"Deletes",
"an",
"ISO",
"file",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ISOService.go#L403-L430 |
23,245 | xanzy/go-cloudstack | cloudstack/ISOService.go | NewDetachIsoParams | func (s *ISOService) NewDetachIsoParams(virtualmachineid string) *DetachIsoParams {
p := &DetachIsoParams{}
p.p = make(map[string]interface{})
p.p["virtualmachineid"] = virtualmachineid
return p
} | go | func (s *ISOService) NewDetachIsoParams(virtualmachineid string) *DetachIsoParams {
p := &DetachIsoParams{}
p.p = make(map[string]interface{})
p.p["virtualmachineid"] = virtualmachineid
return p
} | [
"func",
"(",
"s",
"*",
"ISOService",
")",
"NewDetachIsoParams",
"(",
"virtualmachineid",
"string",
")",
"*",
"DetachIsoParams",
"{",
"p",
":=",
"&",
"DetachIsoParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface... | // You should always use this function to get a new DetachIsoParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DetachIsoParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ISOService.go#L463-L468 |
23,246 | xanzy/go-cloudstack | cloudstack/ISOService.go | NewExtractIsoParams | func (s *ISOService) NewExtractIsoParams(id string, mode string) *ExtractIsoParams {
p := &ExtractIsoParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
p.p["mode"] = mode
return p
} | go | func (s *ISOService) NewExtractIsoParams(id string, mode string) *ExtractIsoParams {
p := &ExtractIsoParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
p.p["mode"] = mode
return p
} | [
"func",
"(",
"s",
"*",
"ISOService",
")",
"NewExtractIsoParams",
"(",
"id",
"string",
",",
"mode",
"string",
")",
"*",
"ExtractIsoParams",
"{",
"p",
":=",
"&",
"ExtractIsoParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
... | // You should always use this function to get a new ExtractIsoParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ExtractIsoParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ISOService.go#L671-L677 |
23,247 | xanzy/go-cloudstack | cloudstack/ISOService.go | ExtractIso | func (s *ISOService) ExtractIso(p *ExtractIsoParams) (*ExtractIsoResponse, error) {
resp, err := s.cs.newRequest("extractIso", p.toURLValues())
if err != nil {
return nil, err
}
var r ExtractIsoResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a async client, we need... | go | func (s *ISOService) ExtractIso(p *ExtractIsoParams) (*ExtractIsoResponse, error) {
resp, err := s.cs.newRequest("extractIso", p.toURLValues())
if err != nil {
return nil, err
}
var r ExtractIsoResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
// If we have a async client, we need... | [
"func",
"(",
"s",
"*",
"ISOService",
")",
"ExtractIso",
"(",
"p",
"*",
"ExtractIsoParams",
")",
"(",
"*",
"ExtractIsoResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
"p",
".",
"to... | // Extracts an ISO | [
"Extracts",
"an",
"ISO"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ISOService.go#L680-L712 |
23,248 | xanzy/go-cloudstack | cloudstack/ISOService.go | NewListIsoPermissionsParams | func (s *ISOService) NewListIsoPermissionsParams(id string) *ListIsoPermissionsParams {
p := &ListIsoPermissionsParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *ISOService) NewListIsoPermissionsParams(id string) *ListIsoPermissionsParams {
p := &ListIsoPermissionsParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"ISOService",
")",
"NewListIsoPermissionsParams",
"(",
"id",
"string",
")",
"*",
"ListIsoPermissionsParams",
"{",
"p",
":=",
"&",
"ListIsoPermissionsParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",... | // You should always use this function to get a new ListIsoPermissionsParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListIsoPermissionsParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ISOService.go#L757-L762 |
23,249 | xanzy/go-cloudstack | cloudstack/ISOService.go | ListIsoPermissions | func (s *ISOService) ListIsoPermissions(p *ListIsoPermissionsParams) (*ListIsoPermissionsResponse, error) {
resp, err := s.cs.newRequest("listIsoPermissions", p.toURLValues())
if err != nil {
return nil, err
}
var r ListIsoPermissionsResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}... | go | func (s *ISOService) ListIsoPermissions(p *ListIsoPermissionsParams) (*ListIsoPermissionsResponse, error) {
resp, err := s.cs.newRequest("listIsoPermissions", p.toURLValues())
if err != nil {
return nil, err
}
var r ListIsoPermissionsResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}... | [
"func",
"(",
"s",
"*",
"ISOService",
")",
"ListIsoPermissions",
"(",
"p",
"*",
"ListIsoPermissionsParams",
")",
"(",
"*",
"ListIsoPermissionsResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
... | // List iso visibility and all accounts that have permissions to view this iso. | [
"List",
"iso",
"visibility",
"and",
"all",
"accounts",
"that",
"have",
"permissions",
"to",
"view",
"this",
"iso",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ISOService.go#L798-L810 |
23,250 | xanzy/go-cloudstack | cloudstack/ISOService.go | NewListIsosParams | func (s *ISOService) NewListIsosParams() *ListIsosParams {
p := &ListIsosParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *ISOService) NewListIsosParams() *ListIsosParams {
p := &ListIsosParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"ISOService",
")",
"NewListIsosParams",
"(",
")",
"*",
"ListIsosParams",
"{",
"p",
":=",
"&",
"ListIsosParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
"}",
")",
"\n",
"re... | // You should always use this function to get a new ListIsosParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListIsosParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ISOService.go#L1050-L1054 |
23,251 | xanzy/go-cloudstack | cloudstack/ISOService.go | ListIsos | func (s *ISOService) ListIsos(p *ListIsosParams) (*ListIsosResponse, error) {
resp, err := s.cs.newRequest("listIsos", p.toURLValues())
if err != nil {
return nil, err
}
var r ListIsosResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
return &r, nil
} | go | func (s *ISOService) ListIsos(p *ListIsosParams) (*ListIsosResponse, error) {
resp, err := s.cs.newRequest("listIsos", p.toURLValues())
if err != nil {
return nil, err
}
var r ListIsosResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
return &r, nil
} | [
"func",
"(",
"s",
"*",
"ISOService",
")",
"ListIsos",
"(",
"p",
"*",
"ListIsosParams",
")",
"(",
"*",
"ListIsosResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
"p",
".",
"toURLVal... | // Lists all available ISO files. | [
"Lists",
"all",
"available",
"ISO",
"files",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ISOService.go#L1142-L1154 |
23,252 | xanzy/go-cloudstack | cloudstack/ISOService.go | NewRegisterIsoParams | func (s *ISOService) NewRegisterIsoParams(displaytext string, name string, url string, zoneid string) *RegisterIsoParams {
p := &RegisterIsoParams{}
p.p = make(map[string]interface{})
p.p["displaytext"] = displaytext
p.p["name"] = name
p.p["url"] = url
p.p["zoneid"] = zoneid
return p
} | go | func (s *ISOService) NewRegisterIsoParams(displaytext string, name string, url string, zoneid string) *RegisterIsoParams {
p := &RegisterIsoParams{}
p.p = make(map[string]interface{})
p.p["displaytext"] = displaytext
p.p["name"] = name
p.p["url"] = url
p.p["zoneid"] = zoneid
return p
} | [
"func",
"(",
"s",
"*",
"ISOService",
")",
"NewRegisterIsoParams",
"(",
"displaytext",
"string",
",",
"name",
"string",
",",
"url",
"string",
",",
"zoneid",
"string",
")",
"*",
"RegisterIsoParams",
"{",
"p",
":=",
"&",
"RegisterIsoParams",
"{",
"}",
"\n",
"... | // You should always use this function to get a new RegisterIsoParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"RegisterIsoParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ISOService.go#L1400-L1408 |
23,253 | xanzy/go-cloudstack | cloudstack/ISOService.go | RegisterIso | func (s *ISOService) RegisterIso(p *RegisterIsoParams) (*RegisterIsoResponse, error) {
resp, err := s.cs.newRequest("registerIso", p.toURLValues())
if err != nil {
return nil, err
}
var r RegisterIsoResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
return &r, nil
} | go | func (s *ISOService) RegisterIso(p *RegisterIsoParams) (*RegisterIsoResponse, error) {
resp, err := s.cs.newRequest("registerIso", p.toURLValues())
if err != nil {
return nil, err
}
var r RegisterIsoResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
return &r, nil
} | [
"func",
"(",
"s",
"*",
"ISOService",
")",
"RegisterIso",
"(",
"p",
"*",
"RegisterIsoParams",
")",
"(",
"*",
"RegisterIsoResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
"p",
".",
... | // Registers an existing ISO into the CloudStack Cloud. | [
"Registers",
"an",
"existing",
"ISO",
"into",
"the",
"CloudStack",
"Cloud",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ISOService.go#L1411-L1423 |
23,254 | xanzy/go-cloudstack | cloudstack/ISOService.go | NewUpdateIsoParams | func (s *ISOService) NewUpdateIsoParams(id string) *UpdateIsoParams {
p := &UpdateIsoParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *ISOService) NewUpdateIsoParams(id string) *UpdateIsoParams {
p := &UpdateIsoParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"ISOService",
")",
"NewUpdateIsoParams",
"(",
"id",
"string",
")",
"*",
"UpdateIsoParams",
"{",
"p",
":=",
"&",
"UpdateIsoParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
"}... | // You should always use this function to get a new UpdateIsoParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"UpdateIsoParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ISOService.go#L1636-L1641 |
23,255 | xanzy/go-cloudstack | cloudstack/ISOService.go | UpdateIso | func (s *ISOService) UpdateIso(p *UpdateIsoParams) (*UpdateIsoResponse, error) {
resp, err := s.cs.newRequest("updateIso", p.toURLValues())
if err != nil {
return nil, err
}
var r UpdateIsoResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
return &r, nil
} | go | func (s *ISOService) UpdateIso(p *UpdateIsoParams) (*UpdateIsoResponse, error) {
resp, err := s.cs.newRequest("updateIso", p.toURLValues())
if err != nil {
return nil, err
}
var r UpdateIsoResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
}
return &r, nil
} | [
"func",
"(",
"s",
"*",
"ISOService",
")",
"UpdateIso",
"(",
"p",
"*",
"UpdateIsoParams",
")",
"(",
"*",
"UpdateIsoResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"",
",",
"p",
".",
"toURL... | // Updates an ISO file. | [
"Updates",
"an",
"ISO",
"file",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ISOService.go#L1644-L1656 |
23,256 | xanzy/go-cloudstack | cloudstack/ISOService.go | NewUpdateIsoPermissionsParams | func (s *ISOService) NewUpdateIsoPermissionsParams(id string) *UpdateIsoPermissionsParams {
p := &UpdateIsoPermissionsParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *ISOService) NewUpdateIsoPermissionsParams(id string) *UpdateIsoPermissionsParams {
p := &UpdateIsoPermissionsParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"ISOService",
")",
"NewUpdateIsoPermissionsParams",
"(",
"id",
"string",
")",
"*",
"UpdateIsoPermissionsParams",
"{",
"p",
":=",
"&",
"UpdateIsoPermissionsParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
... | // You should always use this function to get a new UpdateIsoPermissionsParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"UpdateIsoPermissionsParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ISOService.go#L1797-L1802 |
23,257 | xanzy/go-cloudstack | cloudstack/ISOService.go | UpdateIsoPermissions | func (s *ISOService) UpdateIsoPermissions(p *UpdateIsoPermissionsParams) (*UpdateIsoPermissionsResponse, error) {
resp, err := s.cs.newRequest("updateIsoPermissions", p.toURLValues())
if err != nil {
return nil, err
}
var r UpdateIsoPermissionsResponse
if err := json.Unmarshal(resp, &r); err != nil {
return n... | go | func (s *ISOService) UpdateIsoPermissions(p *UpdateIsoPermissionsParams) (*UpdateIsoPermissionsResponse, error) {
resp, err := s.cs.newRequest("updateIsoPermissions", p.toURLValues())
if err != nil {
return nil, err
}
var r UpdateIsoPermissionsResponse
if err := json.Unmarshal(resp, &r); err != nil {
return n... | [
"func",
"(",
"s",
"*",
"ISOService",
")",
"UpdateIsoPermissions",
"(",
"p",
"*",
"UpdateIsoPermissionsParams",
")",
"(",
"*",
"UpdateIsoPermissionsResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\... | // Updates ISO permissions | [
"Updates",
"ISO",
"permissions"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ISOService.go#L1805-L1817 |
23,258 | xanzy/go-cloudstack | cloudstack/DomainService.go | NewCreateDomainParams | func (s *DomainService) NewCreateDomainParams(name string) *CreateDomainParams {
p := &CreateDomainParams{}
p.p = make(map[string]interface{})
p.p["name"] = name
return p
} | go | func (s *DomainService) NewCreateDomainParams(name string) *CreateDomainParams {
p := &CreateDomainParams{}
p.p = make(map[string]interface{})
p.p["name"] = name
return p
} | [
"func",
"(",
"s",
"*",
"DomainService",
")",
"NewCreateDomainParams",
"(",
"name",
"string",
")",
"*",
"CreateDomainParams",
"{",
"p",
":=",
"&",
"CreateDomainParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface... | // You should always use this function to get a new CreateDomainParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CreateDomainParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/DomainService.go#L85-L90 |
23,259 | xanzy/go-cloudstack | cloudstack/DomainService.go | NewDeleteDomainParams | func (s *DomainService) NewDeleteDomainParams(id string) *DeleteDomainParams {
p := &DeleteDomainParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *DomainService) NewDeleteDomainParams(id string) *DeleteDomainParams {
p := &DeleteDomainParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"DomainService",
")",
"NewDeleteDomainParams",
"(",
"id",
"string",
")",
"*",
"DeleteDomainParams",
"{",
"p",
":=",
"&",
"DeleteDomainParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",... | // You should always use this function to get a new DeleteDomainParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DeleteDomainParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/DomainService.go#L192-L197 |
23,260 | xanzy/go-cloudstack | cloudstack/DomainService.go | NewListDomainChildrenParams | func (s *DomainService) NewListDomainChildrenParams() *ListDomainChildrenParams {
p := &ListDomainChildrenParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *DomainService) NewListDomainChildrenParams() *ListDomainChildrenParams {
p := &ListDomainChildrenParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"DomainService",
")",
"NewListDomainChildrenParams",
"(",
")",
"*",
"ListDomainChildrenParams",
"{",
"p",
":=",
"&",
"ListDomainChildrenParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
... | // You should always use this function to get a new ListDomainChildrenParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListDomainChildrenParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/DomainService.go#L330-L334 |
23,261 | xanzy/go-cloudstack | cloudstack/DomainService.go | NewListDomainsParams | func (s *DomainService) NewListDomainsParams() *ListDomainsParams {
p := &ListDomainsParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *DomainService) NewListDomainsParams() *ListDomainsParams {
p := &ListDomainsParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"DomainService",
")",
"NewListDomainsParams",
"(",
")",
"*",
"ListDomainsParams",
"{",
"p",
":=",
"&",
"ListDomainsParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
"{",
"}",
")",
... | // You should always use this function to get a new ListDomainsParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListDomainsParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/DomainService.go#L594-L598 |
23,262 | xanzy/go-cloudstack | cloudstack/DomainService.go | NewUpdateDomainParams | func (s *DomainService) NewUpdateDomainParams(id string) *UpdateDomainParams {
p := &UpdateDomainParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *DomainService) NewUpdateDomainParams(id string) *UpdateDomainParams {
p := &UpdateDomainParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"DomainService",
")",
"NewUpdateDomainParams",
"(",
"id",
"string",
")",
"*",
"UpdateDomainParams",
"{",
"p",
":=",
"&",
"UpdateDomainParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",... | // You should always use this function to get a new UpdateDomainParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"UpdateDomainParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/DomainService.go#L798-L803 |
23,263 | xanzy/go-cloudstack | cloudstack/CloudIdentifierService.go | NewGetCloudIdentifierParams | func (s *CloudIdentifierService) NewGetCloudIdentifierParams(userid string) *GetCloudIdentifierParams {
p := &GetCloudIdentifierParams{}
p.p = make(map[string]interface{})
p.p["userid"] = userid
return p
} | go | func (s *CloudIdentifierService) NewGetCloudIdentifierParams(userid string) *GetCloudIdentifierParams {
p := &GetCloudIdentifierParams{}
p.p = make(map[string]interface{})
p.p["userid"] = userid
return p
} | [
"func",
"(",
"s",
"*",
"CloudIdentifierService",
")",
"NewGetCloudIdentifierParams",
"(",
"userid",
"string",
")",
"*",
"GetCloudIdentifierParams",
"{",
"p",
":=",
"&",
"GetCloudIdentifierParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
... | // You should always use this function to get a new GetCloudIdentifierParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"GetCloudIdentifierParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/CloudIdentifierService.go#L49-L54 |
23,264 | xanzy/go-cloudstack | cloudstack/CloudIdentifierService.go | GetCloudIdentifier | func (s *CloudIdentifierService) GetCloudIdentifier(p *GetCloudIdentifierParams) (*GetCloudIdentifierResponse, error) {
resp, err := s.cs.newRequest("getCloudIdentifier", p.toURLValues())
if err != nil {
return nil, err
}
var r GetCloudIdentifierResponse
if err := json.Unmarshal(resp, &r); err != nil {
return... | go | func (s *CloudIdentifierService) GetCloudIdentifier(p *GetCloudIdentifierParams) (*GetCloudIdentifierResponse, error) {
resp, err := s.cs.newRequest("getCloudIdentifier", p.toURLValues())
if err != nil {
return nil, err
}
var r GetCloudIdentifierResponse
if err := json.Unmarshal(resp, &r); err != nil {
return... | [
"func",
"(",
"s",
"*",
"CloudIdentifierService",
")",
"GetCloudIdentifier",
"(",
"p",
"*",
"GetCloudIdentifierParams",
")",
"(",
"*",
"GetCloudIdentifierResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\""... | // Retrieves a cloud identifier. | [
"Retrieves",
"a",
"cloud",
"identifier",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/CloudIdentifierService.go#L57-L69 |
23,265 | xanzy/go-cloudstack | cloudstack/CertificateService.go | NewUploadCustomCertificateParams | func (s *CertificateService) NewUploadCustomCertificateParams(certificate string, domainsuffix string) *UploadCustomCertificateParams {
p := &UploadCustomCertificateParams{}
p.p = make(map[string]interface{})
p.p["certificate"] = certificate
p.p["domainsuffix"] = domainsuffix
return p
} | go | func (s *CertificateService) NewUploadCustomCertificateParams(certificate string, domainsuffix string) *UploadCustomCertificateParams {
p := &UploadCustomCertificateParams{}
p.p = make(map[string]interface{})
p.p["certificate"] = certificate
p.p["domainsuffix"] = domainsuffix
return p
} | [
"func",
"(",
"s",
"*",
"CertificateService",
")",
"NewUploadCustomCertificateParams",
"(",
"certificate",
"string",
",",
"domainsuffix",
"string",
")",
"*",
"UploadCustomCertificateParams",
"{",
"p",
":=",
"&",
"UploadCustomCertificateParams",
"{",
"}",
"\n",
"p",
"... | // You should always use this function to get a new UploadCustomCertificateParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"UploadCustomCertificateParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/CertificateService.go#L95-L101 |
23,266 | xanzy/go-cloudstack | cloudstack/CertificateService.go | UploadCustomCertificate | func (s *CertificateService) UploadCustomCertificate(p *UploadCustomCertificateParams) (*UploadCustomCertificateResponse, error) {
resp, err := s.cs.newRequest("uploadCustomCertificate", p.toURLValues())
if err != nil {
return nil, err
}
var r UploadCustomCertificateResponse
if err := json.Unmarshal(resp, &r); ... | go | func (s *CertificateService) UploadCustomCertificate(p *UploadCustomCertificateParams) (*UploadCustomCertificateResponse, error) {
resp, err := s.cs.newRequest("uploadCustomCertificate", p.toURLValues())
if err != nil {
return nil, err
}
var r UploadCustomCertificateResponse
if err := json.Unmarshal(resp, &r); ... | [
"func",
"(",
"s",
"*",
"CertificateService",
")",
"UploadCustomCertificate",
"(",
"p",
"*",
"UploadCustomCertificateParams",
")",
"(",
"*",
"UploadCustomCertificateResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
... | // Uploads a custom certificate for the console proxy VMs to use for SSL. Can be used to upload a single certificate signed by a known CA. Can also be used, through multiple calls, to upload a chain of certificates from CA to the custom certificate itself. | [
"Uploads",
"a",
"custom",
"certificate",
"for",
"the",
"console",
"proxy",
"VMs",
"to",
"use",
"for",
"SSL",
".",
"Can",
"be",
"used",
"to",
"upload",
"a",
"single",
"certificate",
"signed",
"by",
"a",
"known",
"CA",
".",
"Can",
"also",
"be",
"used",
"... | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/CertificateService.go#L104-L136 |
23,267 | xanzy/go-cloudstack | cloudstack/InternalLBService.go | NewConfigureInternalLoadBalancerElementParams | func (s *InternalLBService) NewConfigureInternalLoadBalancerElementParams(enabled bool, id string) *ConfigureInternalLoadBalancerElementParams {
p := &ConfigureInternalLoadBalancerElementParams{}
p.p = make(map[string]interface{})
p.p["enabled"] = enabled
p.p["id"] = id
return p
} | go | func (s *InternalLBService) NewConfigureInternalLoadBalancerElementParams(enabled bool, id string) *ConfigureInternalLoadBalancerElementParams {
p := &ConfigureInternalLoadBalancerElementParams{}
p.p = make(map[string]interface{})
p.p["enabled"] = enabled
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"InternalLBService",
")",
"NewConfigureInternalLoadBalancerElementParams",
"(",
"enabled",
"bool",
",",
"id",
"string",
")",
"*",
"ConfigureInternalLoadBalancerElementParams",
"{",
"p",
":=",
"&",
"ConfigureInternalLoadBalancerElementParams",
"{",
"... | // You should always use this function to get a new ConfigureInternalLoadBalancerElementParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ConfigureInternalLoadBalancerElementParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/InternalLBService.go#L64-L70 |
23,268 | xanzy/go-cloudstack | cloudstack/InternalLBService.go | ConfigureInternalLoadBalancerElement | func (s *InternalLBService) ConfigureInternalLoadBalancerElement(p *ConfigureInternalLoadBalancerElementParams) (*InternalLoadBalancerElementResponse, error) {
resp, err := s.cs.newRequest("configureInternalLoadBalancerElement", p.toURLValues())
if err != nil {
return nil, err
}
var r InternalLoadBalancerElement... | go | func (s *InternalLBService) ConfigureInternalLoadBalancerElement(p *ConfigureInternalLoadBalancerElementParams) (*InternalLoadBalancerElementResponse, error) {
resp, err := s.cs.newRequest("configureInternalLoadBalancerElement", p.toURLValues())
if err != nil {
return nil, err
}
var r InternalLoadBalancerElement... | [
"func",
"(",
"s",
"*",
"InternalLBService",
")",
"ConfigureInternalLoadBalancerElement",
"(",
"p",
"*",
"ConfigureInternalLoadBalancerElementParams",
")",
"(",
"*",
"InternalLoadBalancerElementResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"c... | // Configures an Internal Load Balancer element. | [
"Configures",
"an",
"Internal",
"Load",
"Balancer",
"element",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/InternalLBService.go#L73-L105 |
23,269 | xanzy/go-cloudstack | cloudstack/InternalLBService.go | NewCreateInternalLoadBalancerElementParams | func (s *InternalLBService) NewCreateInternalLoadBalancerElementParams(nspid string) *CreateInternalLoadBalancerElementParams {
p := &CreateInternalLoadBalancerElementParams{}
p.p = make(map[string]interface{})
p.p["nspid"] = nspid
return p
} | go | func (s *InternalLBService) NewCreateInternalLoadBalancerElementParams(nspid string) *CreateInternalLoadBalancerElementParams {
p := &CreateInternalLoadBalancerElementParams{}
p.p = make(map[string]interface{})
p.p["nspid"] = nspid
return p
} | [
"func",
"(",
"s",
"*",
"InternalLBService",
")",
"NewCreateInternalLoadBalancerElementParams",
"(",
"nspid",
"string",
")",
"*",
"CreateInternalLoadBalancerElementParams",
"{",
"p",
":=",
"&",
"CreateInternalLoadBalancerElementParams",
"{",
"}",
"\n",
"p",
".",
"p",
"... | // You should always use this function to get a new CreateInternalLoadBalancerElementParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CreateInternalLoadBalancerElementParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/InternalLBService.go#L139-L144 |
23,270 | xanzy/go-cloudstack | cloudstack/InternalLBService.go | CreateInternalLoadBalancerElement | func (s *InternalLBService) CreateInternalLoadBalancerElement(p *CreateInternalLoadBalancerElementParams) (*CreateInternalLoadBalancerElementResponse, error) {
resp, err := s.cs.newRequest("createInternalLoadBalancerElement", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateInternalLoadBalancerElem... | go | func (s *InternalLBService) CreateInternalLoadBalancerElement(p *CreateInternalLoadBalancerElementParams) (*CreateInternalLoadBalancerElementResponse, error) {
resp, err := s.cs.newRequest("createInternalLoadBalancerElement", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateInternalLoadBalancerElem... | [
"func",
"(",
"s",
"*",
"InternalLBService",
")",
"CreateInternalLoadBalancerElement",
"(",
"p",
"*",
"CreateInternalLoadBalancerElementParams",
")",
"(",
"*",
"CreateInternalLoadBalancerElementResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"c... | // Create an Internal Load Balancer element. | [
"Create",
"an",
"Internal",
"Load",
"Balancer",
"element",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/InternalLBService.go#L147-L179 |
23,271 | xanzy/go-cloudstack | cloudstack/InternalLBService.go | NewListInternalLoadBalancerElementsParams | func (s *InternalLBService) NewListInternalLoadBalancerElementsParams() *ListInternalLoadBalancerElementsParams {
p := &ListInternalLoadBalancerElementsParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *InternalLBService) NewListInternalLoadBalancerElementsParams() *ListInternalLoadBalancerElementsParams {
p := &ListInternalLoadBalancerElementsParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"InternalLBService",
")",
"NewListInternalLoadBalancerElementsParams",
"(",
")",
"*",
"ListInternalLoadBalancerElementsParams",
"{",
"p",
":=",
"&",
"ListInternalLoadBalancerElementsParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"ma... | // You should always use this function to get a new ListInternalLoadBalancerElementsParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListInternalLoadBalancerElementsParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/InternalLBService.go#L271-L275 |
23,272 | xanzy/go-cloudstack | cloudstack/InternalLBService.go | ListInternalLoadBalancerElements | func (s *InternalLBService) ListInternalLoadBalancerElements(p *ListInternalLoadBalancerElementsParams) (*ListInternalLoadBalancerElementsResponse, error) {
resp, err := s.cs.newRequest("listInternalLoadBalancerElements", p.toURLValues())
if err != nil {
return nil, err
}
var r ListInternalLoadBalancerElementsRe... | go | func (s *InternalLBService) ListInternalLoadBalancerElements(p *ListInternalLoadBalancerElementsParams) (*ListInternalLoadBalancerElementsResponse, error) {
resp, err := s.cs.newRequest("listInternalLoadBalancerElements", p.toURLValues())
if err != nil {
return nil, err
}
var r ListInternalLoadBalancerElementsRe... | [
"func",
"(",
"s",
"*",
"InternalLBService",
")",
"ListInternalLoadBalancerElements",
"(",
"p",
"*",
"ListInternalLoadBalancerElementsParams",
")",
"(",
"*",
"ListInternalLoadBalancerElementsResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",... | // Lists all available Internal Load Balancer elements. | [
"Lists",
"all",
"available",
"Internal",
"Load",
"Balancer",
"elements",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/InternalLBService.go#L311-L323 |
23,273 | xanzy/go-cloudstack | cloudstack/InternalLBService.go | NewListInternalLoadBalancerVMsParams | func (s *InternalLBService) NewListInternalLoadBalancerVMsParams() *ListInternalLoadBalancerVMsParams {
p := &ListInternalLoadBalancerVMsParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *InternalLBService) NewListInternalLoadBalancerVMsParams() *ListInternalLoadBalancerVMsParams {
p := &ListInternalLoadBalancerVMsParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"InternalLBService",
")",
"NewListInternalLoadBalancerVMsParams",
"(",
")",
"*",
"ListInternalLoadBalancerVMsParams",
"{",
"p",
":=",
"&",
"ListInternalLoadBalancerVMsParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"s... | // You should always use this function to get a new ListInternalLoadBalancerVMsParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListInternalLoadBalancerVMsParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/InternalLBService.go#L542-L546 |
23,274 | xanzy/go-cloudstack | cloudstack/InternalLBService.go | ListInternalLoadBalancerVMs | func (s *InternalLBService) ListInternalLoadBalancerVMs(p *ListInternalLoadBalancerVMsParams) (*ListInternalLoadBalancerVMsResponse, error) {
resp, err := s.cs.newRequest("listInternalLoadBalancerVMs", p.toURLValues())
if err != nil {
return nil, err
}
var r ListInternalLoadBalancerVMsResponse
if err := json.Un... | go | func (s *InternalLBService) ListInternalLoadBalancerVMs(p *ListInternalLoadBalancerVMsParams) (*ListInternalLoadBalancerVMsResponse, error) {
resp, err := s.cs.newRequest("listInternalLoadBalancerVMs", p.toURLValues())
if err != nil {
return nil, err
}
var r ListInternalLoadBalancerVMsResponse
if err := json.Un... | [
"func",
"(",
"s",
"*",
"InternalLBService",
")",
"ListInternalLoadBalancerVMs",
"(",
"p",
"*",
"ListInternalLoadBalancerVMsParams",
")",
"(",
"*",
"ListInternalLoadBalancerVMsResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newR... | // List internal LB VMs. | [
"List",
"internal",
"LB",
"VMs",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/InternalLBService.go#L632-L644 |
23,275 | xanzy/go-cloudstack | cloudstack/InternalLBService.go | NewStartInternalLoadBalancerVMParams | func (s *InternalLBService) NewStartInternalLoadBalancerVMParams(id string) *StartInternalLoadBalancerVMParams {
p := &StartInternalLoadBalancerVMParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *InternalLBService) NewStartInternalLoadBalancerVMParams(id string) *StartInternalLoadBalancerVMParams {
p := &StartInternalLoadBalancerVMParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"InternalLBService",
")",
"NewStartInternalLoadBalancerVMParams",
"(",
"id",
"string",
")",
"*",
"StartInternalLoadBalancerVMParams",
"{",
"p",
":=",
"&",
"StartInternalLoadBalancerVMParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
... | // You should always use this function to get a new StartInternalLoadBalancerVMParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"StartInternalLoadBalancerVMParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/InternalLBService.go#L725-L730 |
23,276 | xanzy/go-cloudstack | cloudstack/InternalLBService.go | StartInternalLoadBalancerVM | func (s *InternalLBService) StartInternalLoadBalancerVM(p *StartInternalLoadBalancerVMParams) (*StartInternalLoadBalancerVMResponse, error) {
resp, err := s.cs.newRequest("startInternalLoadBalancerVM", p.toURLValues())
if err != nil {
return nil, err
}
var r StartInternalLoadBalancerVMResponse
if err := json.Un... | go | func (s *InternalLBService) StartInternalLoadBalancerVM(p *StartInternalLoadBalancerVMParams) (*StartInternalLoadBalancerVMResponse, error) {
resp, err := s.cs.newRequest("startInternalLoadBalancerVM", p.toURLValues())
if err != nil {
return nil, err
}
var r StartInternalLoadBalancerVMResponse
if err := json.Un... | [
"func",
"(",
"s",
"*",
"InternalLBService",
")",
"StartInternalLoadBalancerVM",
"(",
"p",
"*",
"StartInternalLoadBalancerVMParams",
")",
"(",
"*",
"StartInternalLoadBalancerVMResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newR... | // Starts an existing internal lb vm. | [
"Starts",
"an",
"existing",
"internal",
"lb",
"vm",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/InternalLBService.go#L733-L765 |
23,277 | xanzy/go-cloudstack | cloudstack/InternalLBService.go | NewStopInternalLoadBalancerVMParams | func (s *InternalLBService) NewStopInternalLoadBalancerVMParams(id string) *StopInternalLoadBalancerVMParams {
p := &StopInternalLoadBalancerVMParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *InternalLBService) NewStopInternalLoadBalancerVMParams(id string) *StopInternalLoadBalancerVMParams {
p := &StopInternalLoadBalancerVMParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"InternalLBService",
")",
"NewStopInternalLoadBalancerVMParams",
"(",
"id",
"string",
")",
"*",
"StopInternalLoadBalancerVMParams",
"{",
"p",
":=",
"&",
"StopInternalLoadBalancerVMParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"... | // You should always use this function to get a new StopInternalLoadBalancerVMParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"StopInternalLoadBalancerVMParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/InternalLBService.go#L854-L859 |
23,278 | xanzy/go-cloudstack | cloudstack/InternalLBService.go | StopInternalLoadBalancerVM | func (s *InternalLBService) StopInternalLoadBalancerVM(p *StopInternalLoadBalancerVMParams) (*StopInternalLoadBalancerVMResponse, error) {
resp, err := s.cs.newRequest("stopInternalLoadBalancerVM", p.toURLValues())
if err != nil {
return nil, err
}
var r StopInternalLoadBalancerVMResponse
if err := json.Unmarsh... | go | func (s *InternalLBService) StopInternalLoadBalancerVM(p *StopInternalLoadBalancerVMParams) (*StopInternalLoadBalancerVMResponse, error) {
resp, err := s.cs.newRequest("stopInternalLoadBalancerVM", p.toURLValues())
if err != nil {
return nil, err
}
var r StopInternalLoadBalancerVMResponse
if err := json.Unmarsh... | [
"func",
"(",
"s",
"*",
"InternalLBService",
")",
"StopInternalLoadBalancerVM",
"(",
"p",
"*",
"StopInternalLoadBalancerVMParams",
")",
"(",
"*",
"StopInternalLoadBalancerVMResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequ... | // Stops an Internal LB vm. | [
"Stops",
"an",
"Internal",
"LB",
"vm",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/InternalLBService.go#L862-L894 |
23,279 | xanzy/go-cloudstack | cloudstack/FirewallService.go | NewAddPaloAltoFirewallParams | func (s *FirewallService) NewAddPaloAltoFirewallParams(networkdevicetype string, password string, physicalnetworkid string, url string, username string) *AddPaloAltoFirewallParams {
p := &AddPaloAltoFirewallParams{}
p.p = make(map[string]interface{})
p.p["networkdevicetype"] = networkdevicetype
p.p["password"] = pa... | go | func (s *FirewallService) NewAddPaloAltoFirewallParams(networkdevicetype string, password string, physicalnetworkid string, url string, username string) *AddPaloAltoFirewallParams {
p := &AddPaloAltoFirewallParams{}
p.p = make(map[string]interface{})
p.p["networkdevicetype"] = networkdevicetype
p.p["password"] = pa... | [
"func",
"(",
"s",
"*",
"FirewallService",
")",
"NewAddPaloAltoFirewallParams",
"(",
"networkdevicetype",
"string",
",",
"password",
"string",
",",
"physicalnetworkid",
"string",
",",
"url",
"string",
",",
"username",
"string",
")",
"*",
"AddPaloAltoFirewallParams",
... | // You should always use this function to get a new AddPaloAltoFirewallParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"AddPaloAltoFirewallParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/FirewallService.go#L146-L155 |
23,280 | xanzy/go-cloudstack | cloudstack/FirewallService.go | AddPaloAltoFirewall | func (s *FirewallService) AddPaloAltoFirewall(p *AddPaloAltoFirewallParams) (*AddPaloAltoFirewallResponse, error) {
resp, err := s.cs.newRequest("addPaloAltoFirewall", p.toURLValues())
if err != nil {
return nil, err
}
var r AddPaloAltoFirewallResponse
if err := json.Unmarshal(resp, &r); err != nil {
return n... | go | func (s *FirewallService) AddPaloAltoFirewall(p *AddPaloAltoFirewallParams) (*AddPaloAltoFirewallResponse, error) {
resp, err := s.cs.newRequest("addPaloAltoFirewall", p.toURLValues())
if err != nil {
return nil, err
}
var r AddPaloAltoFirewallResponse
if err := json.Unmarshal(resp, &r); err != nil {
return n... | [
"func",
"(",
"s",
"*",
"FirewallService",
")",
"AddPaloAltoFirewall",
"(",
"p",
"*",
"AddPaloAltoFirewallParams",
")",
"(",
"*",
"AddPaloAltoFirewallResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
... | // Adds a Palo Alto firewall device | [
"Adds",
"a",
"Palo",
"Alto",
"firewall",
"device"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/FirewallService.go#L158-L195 |
23,281 | xanzy/go-cloudstack | cloudstack/FirewallService.go | NewConfigurePaloAltoFirewallParams | func (s *FirewallService) NewConfigurePaloAltoFirewallParams(fwdeviceid string) *ConfigurePaloAltoFirewallParams {
p := &ConfigurePaloAltoFirewallParams{}
p.p = make(map[string]interface{})
p.p["fwdeviceid"] = fwdeviceid
return p
} | go | func (s *FirewallService) NewConfigurePaloAltoFirewallParams(fwdeviceid string) *ConfigurePaloAltoFirewallParams {
p := &ConfigurePaloAltoFirewallParams{}
p.p = make(map[string]interface{})
p.p["fwdeviceid"] = fwdeviceid
return p
} | [
"func",
"(",
"s",
"*",
"FirewallService",
")",
"NewConfigurePaloAltoFirewallParams",
"(",
"fwdeviceid",
"string",
")",
"*",
"ConfigurePaloAltoFirewallParams",
"{",
"p",
":=",
"&",
"ConfigurePaloAltoFirewallParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
... | // You should always use this function to get a new ConfigurePaloAltoFirewallParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ConfigurePaloAltoFirewallParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/FirewallService.go#L254-L259 |
23,282 | xanzy/go-cloudstack | cloudstack/FirewallService.go | ConfigurePaloAltoFirewall | func (s *FirewallService) ConfigurePaloAltoFirewall(p *ConfigurePaloAltoFirewallParams) (*PaloAltoFirewallResponse, error) {
resp, err := s.cs.newRequest("configurePaloAltoFirewall", p.toURLValues())
if err != nil {
return nil, err
}
var r PaloAltoFirewallResponse
if err := json.Unmarshal(resp, &r); err != nil ... | go | func (s *FirewallService) ConfigurePaloAltoFirewall(p *ConfigurePaloAltoFirewallParams) (*PaloAltoFirewallResponse, error) {
resp, err := s.cs.newRequest("configurePaloAltoFirewall", p.toURLValues())
if err != nil {
return nil, err
}
var r PaloAltoFirewallResponse
if err := json.Unmarshal(resp, &r); err != nil ... | [
"func",
"(",
"s",
"*",
"FirewallService",
")",
"ConfigurePaloAltoFirewall",
"(",
"p",
"*",
"ConfigurePaloAltoFirewallParams",
")",
"(",
"*",
"PaloAltoFirewallResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
... | // Configures a Palo Alto firewall device | [
"Configures",
"a",
"Palo",
"Alto",
"firewall",
"device"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/FirewallService.go#L262-L299 |
23,283 | xanzy/go-cloudstack | cloudstack/FirewallService.go | NewCreateEgressFirewallRuleParams | func (s *FirewallService) NewCreateEgressFirewallRuleParams(networkid string, protocol string) *CreateEgressFirewallRuleParams {
p := &CreateEgressFirewallRuleParams{}
p.p = make(map[string]interface{})
p.p["networkid"] = networkid
p.p["protocol"] = protocol
return p
} | go | func (s *FirewallService) NewCreateEgressFirewallRuleParams(networkid string, protocol string) *CreateEgressFirewallRuleParams {
p := &CreateEgressFirewallRuleParams{}
p.p = make(map[string]interface{})
p.p["networkid"] = networkid
p.p["protocol"] = protocol
return p
} | [
"func",
"(",
"s",
"*",
"FirewallService",
")",
"NewCreateEgressFirewallRuleParams",
"(",
"networkid",
"string",
",",
"protocol",
"string",
")",
"*",
"CreateEgressFirewallRuleParams",
"{",
"p",
":=",
"&",
"CreateEgressFirewallRuleParams",
"{",
"}",
"\n",
"p",
".",
... | // You should always use this function to get a new CreateEgressFirewallRuleParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CreateEgressFirewallRuleParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/FirewallService.go#L452-L458 |
23,284 | xanzy/go-cloudstack | cloudstack/FirewallService.go | NewCreateFirewallRuleParams | func (s *FirewallService) NewCreateFirewallRuleParams(ipaddressid string, protocol string) *CreateFirewallRuleParams {
p := &CreateFirewallRuleParams{}
p.p = make(map[string]interface{})
p.p["ipaddressid"] = ipaddressid
p.p["protocol"] = protocol
return p
} | go | func (s *FirewallService) NewCreateFirewallRuleParams(ipaddressid string, protocol string) *CreateFirewallRuleParams {
p := &CreateFirewallRuleParams{}
p.p = make(map[string]interface{})
p.p["ipaddressid"] = ipaddressid
p.p["protocol"] = protocol
return p
} | [
"func",
"(",
"s",
"*",
"FirewallService",
")",
"NewCreateFirewallRuleParams",
"(",
"ipaddressid",
"string",
",",
"protocol",
"string",
")",
"*",
"CreateFirewallRuleParams",
"{",
"p",
":=",
"&",
"CreateFirewallRuleParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"m... | // You should always use this function to get a new CreateFirewallRuleParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CreateFirewallRuleParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/FirewallService.go#L637-L643 |
23,285 | xanzy/go-cloudstack | cloudstack/FirewallService.go | CreateFirewallRule | func (s *FirewallService) CreateFirewallRule(p *CreateFirewallRuleParams) (*CreateFirewallRuleResponse, error) {
resp, err := s.cs.newRequest("createFirewallRule", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateFirewallRuleResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, e... | go | func (s *FirewallService) CreateFirewallRule(p *CreateFirewallRuleParams) (*CreateFirewallRuleResponse, error) {
resp, err := s.cs.newRequest("createFirewallRule", p.toURLValues())
if err != nil {
return nil, err
}
var r CreateFirewallRuleResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, e... | [
"func",
"(",
"s",
"*",
"FirewallService",
")",
"CreateFirewallRule",
"(",
"p",
"*",
"CreateFirewallRuleParams",
")",
"(",
"*",
"CreateFirewallRuleResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\"",
"\"... | // Creates a firewall rule for a given IP address | [
"Creates",
"a",
"firewall",
"rule",
"for",
"a",
"given",
"IP",
"address"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/FirewallService.go#L646-L683 |
23,286 | xanzy/go-cloudstack | cloudstack/FirewallService.go | NewCreatePortForwardingRuleParams | func (s *FirewallService) NewCreatePortForwardingRuleParams(ipaddressid string, privateport int, protocol string, publicport int, virtualmachineid string) *CreatePortForwardingRuleParams {
p := &CreatePortForwardingRuleParams{}
p.p = make(map[string]interface{})
p.p["ipaddressid"] = ipaddressid
p.p["privateport"] =... | go | func (s *FirewallService) NewCreatePortForwardingRuleParams(ipaddressid string, privateport int, protocol string, publicport int, virtualmachineid string) *CreatePortForwardingRuleParams {
p := &CreatePortForwardingRuleParams{}
p.p = make(map[string]interface{})
p.p["ipaddressid"] = ipaddressid
p.p["privateport"] =... | [
"func",
"(",
"s",
"*",
"FirewallService",
")",
"NewCreatePortForwardingRuleParams",
"(",
"ipaddressid",
"string",
",",
"privateport",
"int",
",",
"protocol",
"string",
",",
"publicport",
"int",
",",
"virtualmachineid",
"string",
")",
"*",
"CreatePortForwardingRulePara... | // You should always use this function to get a new CreatePortForwardingRuleParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"CreatePortForwardingRuleParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/FirewallService.go#L856-L865 |
23,287 | xanzy/go-cloudstack | cloudstack/FirewallService.go | NewDeleteEgressFirewallRuleParams | func (s *FirewallService) NewDeleteEgressFirewallRuleParams(id string) *DeleteEgressFirewallRuleParams {
p := &DeleteEgressFirewallRuleParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *FirewallService) NewDeleteEgressFirewallRuleParams(id string) *DeleteEgressFirewallRuleParams {
p := &DeleteEgressFirewallRuleParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"FirewallService",
")",
"NewDeleteEgressFirewallRuleParams",
"(",
"id",
"string",
")",
"*",
"DeleteEgressFirewallRuleParams",
"{",
"p",
":=",
"&",
"DeleteEgressFirewallRuleParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
... | // You should always use this function to get a new DeleteEgressFirewallRuleParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DeleteEgressFirewallRuleParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/FirewallService.go#L953-L958 |
23,288 | xanzy/go-cloudstack | cloudstack/FirewallService.go | DeleteEgressFirewallRule | func (s *FirewallService) DeleteEgressFirewallRule(p *DeleteEgressFirewallRuleParams) (*DeleteEgressFirewallRuleResponse, error) {
resp, err := s.cs.newRequest("deleteEgressFirewallRule", p.toURLValues())
if err != nil {
return nil, err
}
var r DeleteEgressFirewallRuleResponse
if err := json.Unmarshal(resp, &r)... | go | func (s *FirewallService) DeleteEgressFirewallRule(p *DeleteEgressFirewallRuleParams) (*DeleteEgressFirewallRuleResponse, error) {
resp, err := s.cs.newRequest("deleteEgressFirewallRule", p.toURLValues())
if err != nil {
return nil, err
}
var r DeleteEgressFirewallRuleResponse
if err := json.Unmarshal(resp, &r)... | [
"func",
"(",
"s",
"*",
"FirewallService",
")",
"DeleteEgressFirewallRule",
"(",
"p",
"*",
"DeleteEgressFirewallRuleParams",
")",
"(",
"*",
"DeleteEgressFirewallRuleResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
... | // Deletes an egress firewall rule | [
"Deletes",
"an",
"egress",
"firewall",
"rule"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/FirewallService.go#L961-L993 |
23,289 | xanzy/go-cloudstack | cloudstack/FirewallService.go | NewDeleteFirewallRuleParams | func (s *FirewallService) NewDeleteFirewallRuleParams(id string) *DeleteFirewallRuleParams {
p := &DeleteFirewallRuleParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *FirewallService) NewDeleteFirewallRuleParams(id string) *DeleteFirewallRuleParams {
p := &DeleteFirewallRuleParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"FirewallService",
")",
"NewDeleteFirewallRuleParams",
"(",
"id",
"string",
")",
"*",
"DeleteFirewallRuleParams",
"{",
"p",
":=",
"&",
"DeleteFirewallRuleParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
... | // You should always use this function to get a new DeleteFirewallRuleParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DeleteFirewallRuleParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/FirewallService.go#L1026-L1031 |
23,290 | xanzy/go-cloudstack | cloudstack/FirewallService.go | NewDeletePaloAltoFirewallParams | func (s *FirewallService) NewDeletePaloAltoFirewallParams(fwdeviceid string) *DeletePaloAltoFirewallParams {
p := &DeletePaloAltoFirewallParams{}
p.p = make(map[string]interface{})
p.p["fwdeviceid"] = fwdeviceid
return p
} | go | func (s *FirewallService) NewDeletePaloAltoFirewallParams(fwdeviceid string) *DeletePaloAltoFirewallParams {
p := &DeletePaloAltoFirewallParams{}
p.p = make(map[string]interface{})
p.p["fwdeviceid"] = fwdeviceid
return p
} | [
"func",
"(",
"s",
"*",
"FirewallService",
")",
"NewDeletePaloAltoFirewallParams",
"(",
"fwdeviceid",
"string",
")",
"*",
"DeletePaloAltoFirewallParams",
"{",
"p",
":=",
"&",
"DeletePaloAltoFirewallParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
... | // You should always use this function to get a new DeletePaloAltoFirewallParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DeletePaloAltoFirewallParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/FirewallService.go#L1099-L1104 |
23,291 | xanzy/go-cloudstack | cloudstack/FirewallService.go | DeletePaloAltoFirewall | func (s *FirewallService) DeletePaloAltoFirewall(p *DeletePaloAltoFirewallParams) (*DeletePaloAltoFirewallResponse, error) {
resp, err := s.cs.newRequest("deletePaloAltoFirewall", p.toURLValues())
if err != nil {
return nil, err
}
var r DeletePaloAltoFirewallResponse
if err := json.Unmarshal(resp, &r); err != n... | go | func (s *FirewallService) DeletePaloAltoFirewall(p *DeletePaloAltoFirewallParams) (*DeletePaloAltoFirewallResponse, error) {
resp, err := s.cs.newRequest("deletePaloAltoFirewall", p.toURLValues())
if err != nil {
return nil, err
}
var r DeletePaloAltoFirewallResponse
if err := json.Unmarshal(resp, &r); err != n... | [
"func",
"(",
"s",
"*",
"FirewallService",
")",
"DeletePaloAltoFirewall",
"(",
"p",
"*",
"DeletePaloAltoFirewallParams",
")",
"(",
"*",
"DeletePaloAltoFirewallResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
... | // delete a Palo Alto firewall device | [
"delete",
"a",
"Palo",
"Alto",
"firewall",
"device"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/FirewallService.go#L1107-L1139 |
23,292 | xanzy/go-cloudstack | cloudstack/FirewallService.go | NewDeletePortForwardingRuleParams | func (s *FirewallService) NewDeletePortForwardingRuleParams(id string) *DeletePortForwardingRuleParams {
p := &DeletePortForwardingRuleParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *FirewallService) NewDeletePortForwardingRuleParams(id string) *DeletePortForwardingRuleParams {
p := &DeletePortForwardingRuleParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"FirewallService",
")",
"NewDeletePortForwardingRuleParams",
"(",
"id",
"string",
")",
"*",
"DeletePortForwardingRuleParams",
"{",
"p",
":=",
"&",
"DeletePortForwardingRuleParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
... | // You should always use this function to get a new DeletePortForwardingRuleParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"DeletePortForwardingRuleParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/FirewallService.go#L1172-L1177 |
23,293 | xanzy/go-cloudstack | cloudstack/FirewallService.go | NewListEgressFirewallRulesParams | func (s *FirewallService) NewListEgressFirewallRulesParams() *ListEgressFirewallRulesParams {
p := &ListEgressFirewallRulesParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *FirewallService) NewListEgressFirewallRulesParams() *ListEgressFirewallRulesParams {
p := &ListEgressFirewallRulesParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"FirewallService",
")",
"NewListEgressFirewallRulesParams",
"(",
")",
"*",
"ListEgressFirewallRulesParams",
"{",
"p",
":=",
"&",
"ListEgressFirewallRulesParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",... | // You should always use this function to get a new ListEgressFirewallRulesParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListEgressFirewallRulesParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/FirewallService.go#L1387-L1391 |
23,294 | xanzy/go-cloudstack | cloudstack/FirewallService.go | ListEgressFirewallRules | func (s *FirewallService) ListEgressFirewallRules(p *ListEgressFirewallRulesParams) (*ListEgressFirewallRulesResponse, error) {
resp, err := s.cs.newRequest("listEgressFirewallRules", p.toURLValues())
if err != nil {
return nil, err
}
resp, err = convertFirewallServiceResponse(resp)
if err != nil {
return nil... | go | func (s *FirewallService) ListEgressFirewallRules(p *ListEgressFirewallRulesParams) (*ListEgressFirewallRulesResponse, error) {
resp, err := s.cs.newRequest("listEgressFirewallRules", p.toURLValues())
if err != nil {
return nil, err
}
resp, err = convertFirewallServiceResponse(resp)
if err != nil {
return nil... | [
"func",
"(",
"s",
"*",
"FirewallService",
")",
"ListEgressFirewallRules",
"(",
"p",
"*",
"ListEgressFirewallRulesParams",
")",
"(",
"*",
"ListEgressFirewallRulesResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"("... | // Lists all egress firewall rules for network ID. | [
"Lists",
"all",
"egress",
"firewall",
"rules",
"for",
"network",
"ID",
"."
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/FirewallService.go#L1427-L1444 |
23,295 | xanzy/go-cloudstack | cloudstack/FirewallService.go | NewListFirewallRulesParams | func (s *FirewallService) NewListFirewallRulesParams() *ListFirewallRulesParams {
p := &ListFirewallRulesParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *FirewallService) NewListFirewallRulesParams() *ListFirewallRulesParams {
p := &ListFirewallRulesParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"FirewallService",
")",
"NewListFirewallRulesParams",
"(",
")",
"*",
"ListFirewallRulesParams",
"{",
"p",
":=",
"&",
"ListFirewallRulesParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"interface",
... | // You should always use this function to get a new ListFirewallRulesParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListFirewallRulesParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/FirewallService.go#L1635-L1639 |
23,296 | xanzy/go-cloudstack | cloudstack/FirewallService.go | NewListPaloAltoFirewallsParams | func (s *FirewallService) NewListPaloAltoFirewallsParams() *ListPaloAltoFirewallsParams {
p := &ListPaloAltoFirewallsParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *FirewallService) NewListPaloAltoFirewallsParams() *ListPaloAltoFirewallsParams {
p := &ListPaloAltoFirewallsParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"FirewallService",
")",
"NewListPaloAltoFirewallsParams",
"(",
")",
"*",
"ListPaloAltoFirewallsParams",
"{",
"p",
":=",
"&",
"ListPaloAltoFirewallsParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",
"in... | // You should always use this function to get a new ListPaloAltoFirewallsParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListPaloAltoFirewallsParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/FirewallService.go#L1787-L1791 |
23,297 | xanzy/go-cloudstack | cloudstack/FirewallService.go | ListPaloAltoFirewalls | func (s *FirewallService) ListPaloAltoFirewalls(p *ListPaloAltoFirewallsParams) (*ListPaloAltoFirewallsResponse, error) {
resp, err := s.cs.newRequest("listPaloAltoFirewalls", p.toURLValues())
if err != nil {
return nil, err
}
resp, err = convertFirewallServiceResponse(resp)
if err != nil {
return nil, err
}... | go | func (s *FirewallService) ListPaloAltoFirewalls(p *ListPaloAltoFirewallsParams) (*ListPaloAltoFirewallsResponse, error) {
resp, err := s.cs.newRequest("listPaloAltoFirewalls", p.toURLValues())
if err != nil {
return nil, err
}
resp, err = convertFirewallServiceResponse(resp)
if err != nil {
return nil, err
}... | [
"func",
"(",
"s",
"*",
"FirewallService",
")",
"ListPaloAltoFirewalls",
"(",
"p",
"*",
"ListPaloAltoFirewallsParams",
")",
"(",
"*",
"ListPaloAltoFirewallsResponse",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"s",
".",
"cs",
".",
"newRequest",
"(",
"\... | // lists Palo Alto firewall devices in a physical network | [
"lists",
"Palo",
"Alto",
"firewall",
"devices",
"in",
"a",
"physical",
"network"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/FirewallService.go#L1794-L1811 |
23,298 | xanzy/go-cloudstack | cloudstack/FirewallService.go | NewListPortForwardingRulesParams | func (s *FirewallService) NewListPortForwardingRulesParams() *ListPortForwardingRulesParams {
p := &ListPortForwardingRulesParams{}
p.p = make(map[string]interface{})
return p
} | go | func (s *FirewallService) NewListPortForwardingRulesParams() *ListPortForwardingRulesParams {
p := &ListPortForwardingRulesParams{}
p.p = make(map[string]interface{})
return p
} | [
"func",
"(",
"s",
"*",
"FirewallService",
")",
"NewListPortForwardingRulesParams",
"(",
")",
"*",
"ListPortForwardingRulesParams",
"{",
"p",
":=",
"&",
"ListPortForwardingRulesParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
"[",
"string",
"]",... | // You should always use this function to get a new ListPortForwardingRulesParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"ListPortForwardingRulesParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/FirewallService.go#L2004-L2008 |
23,299 | xanzy/go-cloudstack | cloudstack/FirewallService.go | NewUpdateEgressFirewallRuleParams | func (s *FirewallService) NewUpdateEgressFirewallRuleParams(id string) *UpdateEgressFirewallRuleParams {
p := &UpdateEgressFirewallRuleParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | go | func (s *FirewallService) NewUpdateEgressFirewallRuleParams(id string) *UpdateEgressFirewallRuleParams {
p := &UpdateEgressFirewallRuleParams{}
p.p = make(map[string]interface{})
p.p["id"] = id
return p
} | [
"func",
"(",
"s",
"*",
"FirewallService",
")",
"NewUpdateEgressFirewallRuleParams",
"(",
"id",
"string",
")",
"*",
"UpdateEgressFirewallRuleParams",
"{",
"p",
":=",
"&",
"UpdateEgressFirewallRuleParams",
"{",
"}",
"\n",
"p",
".",
"p",
"=",
"make",
"(",
"map",
... | // You should always use this function to get a new UpdateEgressFirewallRuleParams instance,
// as then you are sure you have configured all required params | [
"You",
"should",
"always",
"use",
"this",
"function",
"to",
"get",
"a",
"new",
"UpdateEgressFirewallRuleParams",
"instance",
"as",
"then",
"you",
"are",
"sure",
"you",
"have",
"configured",
"all",
"required",
"params"
] | b6f53ed3282d22b6446422879587b0a78e1b0f11 | https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/FirewallService.go#L2136-L2141 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.