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,800
xanzy/go-cloudstack
cloudstack/UCSService.go
NewListUcsProfilesParams
func (s *UCSService) NewListUcsProfilesParams(ucsmanagerid string) *ListUcsProfilesParams { p := &ListUcsProfilesParams{} p.p = make(map[string]interface{}) p.p["ucsmanagerid"] = ucsmanagerid return p }
go
func (s *UCSService) NewListUcsProfilesParams(ucsmanagerid string) *ListUcsProfilesParams { p := &ListUcsProfilesParams{} p.p = make(map[string]interface{}) p.p["ucsmanagerid"] = ucsmanagerid return p }
[ "func", "(", "s", "*", "UCSService", ")", "NewListUcsProfilesParams", "(", "ucsmanagerid", "string", ")", "*", "ListUcsProfilesParams", "{", "p", ":=", "&", "ListUcsProfilesParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "string", "]"...
// You should always use this function to get a new ListUcsProfilesParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "ListUcsProfilesParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/UCSService.go#L641-L646
23,801
xanzy/go-cloudstack
cloudstack/UCSService.go
ListUcsProfiles
func (s *UCSService) ListUcsProfiles(p *ListUcsProfilesParams) (*ListUcsProfilesResponse, error) { resp, err := s.cs.newRequest("listUcsProfiles", p.toURLValues()) if err != nil { return nil, err } var r ListUcsProfilesResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } return &r, n...
go
func (s *UCSService) ListUcsProfiles(p *ListUcsProfilesParams) (*ListUcsProfilesResponse, error) { resp, err := s.cs.newRequest("listUcsProfiles", p.toURLValues()) if err != nil { return nil, err } var r ListUcsProfilesResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } return &r, n...
[ "func", "(", "s", "*", "UCSService", ")", "ListUcsProfiles", "(", "p", "*", "ListUcsProfilesParams", ")", "(", "*", "ListUcsProfilesResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", "\"", ",", "p...
// List profile in ucs manager
[ "List", "profile", "in", "ucs", "manager" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/UCSService.go#L649-L661
23,802
xanzy/go-cloudstack
cloudstack/RegionService.go
NewAddRegionParams
func (s *RegionService) NewAddRegionParams(endpoint string, id int, name string) *AddRegionParams { p := &AddRegionParams{} p.p = make(map[string]interface{}) p.p["endpoint"] = endpoint p.p["id"] = id p.p["name"] = name return p }
go
func (s *RegionService) NewAddRegionParams(endpoint string, id int, name string) *AddRegionParams { p := &AddRegionParams{} p.p = make(map[string]interface{}) p.p["endpoint"] = endpoint p.p["id"] = id p.p["name"] = name return p }
[ "func", "(", "s", "*", "RegionService", ")", "NewAddRegionParams", "(", "endpoint", "string", ",", "id", "int", ",", "name", "string", ")", "*", "AddRegionParams", "{", "p", ":=", "&", "AddRegionParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(",...
// You should always use this function to get a new AddRegionParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "AddRegionParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/RegionService.go#L73-L80
23,803
xanzy/go-cloudstack
cloudstack/RegionService.go
AddRegion
func (s *RegionService) AddRegion(p *AddRegionParams) (*AddRegionResponse, error) { resp, err := s.cs.newRequest("addRegion", p.toURLValues()) if err != nil { return nil, err } var r AddRegionResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } return &r, nil }
go
func (s *RegionService) AddRegion(p *AddRegionParams) (*AddRegionResponse, error) { resp, err := s.cs.newRequest("addRegion", p.toURLValues()) if err != nil { return nil, err } var r AddRegionResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } return &r, nil }
[ "func", "(", "s", "*", "RegionService", ")", "AddRegion", "(", "p", "*", "AddRegionParams", ")", "(", "*", "AddRegionResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", "\"", ",", "p", ".", "to...
// Adds a Region
[ "Adds", "a", "Region" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/RegionService.go#L83-L95
23,804
xanzy/go-cloudstack
cloudstack/RegionService.go
NewListRegionsParams
func (s *RegionService) NewListRegionsParams() *ListRegionsParams { p := &ListRegionsParams{} p.p = make(map[string]interface{}) return p }
go
func (s *RegionService) NewListRegionsParams() *ListRegionsParams { p := &ListRegionsParams{} p.p = make(map[string]interface{}) return p }
[ "func", "(", "s", "*", "RegionService", ")", "NewListRegionsParams", "(", ")", "*", "ListRegionsParams", "{", "p", ":=", "&", "ListRegionsParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "string", "]", "interface", "{", "}", ")", ...
// You should always use this function to get a new ListRegionsParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "ListRegionsParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/RegionService.go#L177-L181
23,805
xanzy/go-cloudstack
cloudstack/RegionService.go
NewRemoveRegionParams
func (s *RegionService) NewRemoveRegionParams(id int) *RemoveRegionParams { p := &RemoveRegionParams{} p.p = make(map[string]interface{}) p.p["id"] = id return p }
go
func (s *RegionService) NewRemoveRegionParams(id int) *RemoveRegionParams { p := &RemoveRegionParams{} p.p = make(map[string]interface{}) p.p["id"] = id return p }
[ "func", "(", "s", "*", "RegionService", ")", "NewRemoveRegionParams", "(", "id", "int", ")", "*", "RemoveRegionParams", "{", "p", ":=", "&", "RemoveRegionParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "string", "]", "interface", ...
// You should always use this function to get a new RemoveRegionParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "RemoveRegionParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/RegionService.go#L237-L242
23,806
xanzy/go-cloudstack
cloudstack/RegionService.go
RemoveRegion
func (s *RegionService) RemoveRegion(p *RemoveRegionParams) (*RemoveRegionResponse, error) { resp, err := s.cs.newRequest("removeRegion", p.toURLValues()) if err != nil { return nil, err } var r RemoveRegionResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } return &r, nil }
go
func (s *RegionService) RemoveRegion(p *RemoveRegionParams) (*RemoveRegionResponse, error) { resp, err := s.cs.newRequest("removeRegion", p.toURLValues()) if err != nil { return nil, err } var r RemoveRegionResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } return &r, nil }
[ "func", "(", "s", "*", "RegionService", ")", "RemoveRegion", "(", "p", "*", "RemoveRegionParams", ")", "(", "*", "RemoveRegionResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", "\"", ",", "p", "...
// Removes specified region
[ "Removes", "specified", "region" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/RegionService.go#L245-L257
23,807
xanzy/go-cloudstack
cloudstack/RegionService.go
NewUpdateRegionParams
func (s *RegionService) NewUpdateRegionParams(id int) *UpdateRegionParams { p := &UpdateRegionParams{} p.p = make(map[string]interface{}) p.p["id"] = id return p }
go
func (s *RegionService) NewUpdateRegionParams(id int) *UpdateRegionParams { p := &UpdateRegionParams{} p.p = make(map[string]interface{}) p.p["id"] = id return p }
[ "func", "(", "s", "*", "RegionService", ")", "NewUpdateRegionParams", "(", "id", "int", ")", "*", "UpdateRegionParams", "{", "p", ":=", "&", "UpdateRegionParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "string", "]", "interface", ...
// You should always use this function to get a new UpdateRegionParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "UpdateRegionParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/RegionService.go#L331-L336
23,808
xanzy/go-cloudstack
cloudstack/RegionService.go
UpdateRegion
func (s *RegionService) UpdateRegion(p *UpdateRegionParams) (*UpdateRegionResponse, error) { resp, err := s.cs.newRequest("updateRegion", p.toURLValues()) if err != nil { return nil, err } var r UpdateRegionResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } return &r, nil }
go
func (s *RegionService) UpdateRegion(p *UpdateRegionParams) (*UpdateRegionResponse, error) { resp, err := s.cs.newRequest("updateRegion", p.toURLValues()) if err != nil { return nil, err } var r UpdateRegionResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } return &r, nil }
[ "func", "(", "s", "*", "RegionService", ")", "UpdateRegion", "(", "p", "*", "UpdateRegionParams", ")", "(", "*", "UpdateRegionResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", "\"", ",", "p", "...
// Updates a region
[ "Updates", "a", "region" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/RegionService.go#L339-L351
23,809
xanzy/go-cloudstack
cloudstack/SystemCapacityService.go
NewListCapacityParams
func (s *SystemCapacityService) NewListCapacityParams() *ListCapacityParams { p := &ListCapacityParams{} p.p = make(map[string]interface{}) return p }
go
func (s *SystemCapacityService) NewListCapacityParams() *ListCapacityParams { p := &ListCapacityParams{} p.p = make(map[string]interface{}) return p }
[ "func", "(", "s", "*", "SystemCapacityService", ")", "NewListCapacityParams", "(", ")", "*", "ListCapacityParams", "{", "p", ":=", "&", "ListCapacityParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "string", "]", "interface", "{", "}...
// You should always use this function to get a new ListCapacityParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "ListCapacityParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SystemCapacityService.go#L142-L146
23,810
xanzy/go-cloudstack
cloudstack/SystemCapacityService.go
ListCapacity
func (s *SystemCapacityService) ListCapacity(p *ListCapacityParams) (*ListCapacityResponse, error) { resp, err := s.cs.newRequest("listCapacity", p.toURLValues()) if err != nil { return nil, err } var r ListCapacityResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } return &r, nil }
go
func (s *SystemCapacityService) ListCapacity(p *ListCapacityParams) (*ListCapacityResponse, error) { resp, err := s.cs.newRequest("listCapacity", p.toURLValues()) if err != nil { return nil, err } var r ListCapacityResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } return &r, nil }
[ "func", "(", "s", "*", "SystemCapacityService", ")", "ListCapacity", "(", "p", "*", "ListCapacityParams", ")", "(", "*", "ListCapacityResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", "\"", ",", ...
// Lists all the system wide capacities.
[ "Lists", "all", "the", "system", "wide", "capacities", "." ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SystemCapacityService.go#L149-L161
23,811
xanzy/go-cloudstack
cloudstack/cloudstack.go
NewAsyncClient
func NewAsyncClient(apiurl string, apikey string, secret string, verifyssl bool) *CloudStackClient { cs := newClient(apiurl, apikey, secret, true, verifyssl) return cs }
go
func NewAsyncClient(apiurl string, apikey string, secret string, verifyssl bool) *CloudStackClient { cs := newClient(apiurl, apikey, secret, true, verifyssl) return cs }
[ "func", "NewAsyncClient", "(", "apiurl", "string", ",", "apikey", "string", ",", "secret", "string", ",", "verifyssl", "bool", ")", "*", "CloudStackClient", "{", "cs", ":=", "newClient", "(", "apiurl", ",", "apikey", ",", "secret", ",", "true", ",", "verif...
// For sync API calls this client behaves exactly the same as a standard client call, but for async API calls // this client will wait until the async job is finished or until the configured AsyncTimeout is reached. When the async // job finishes successfully it will return actual object received from the API and nil, ...
[ "For", "sync", "API", "calls", "this", "client", "behaves", "exactly", "the", "same", "as", "a", "standard", "client", "call", "but", "for", "async", "API", "calls", "this", "client", "will", "wait", "until", "the", "async", "job", "is", "finished", "or", ...
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/cloudstack.go#L256-L259
23,812
xanzy/go-cloudstack
cloudstack/cloudstack.go
DefaultOptions
func (cs *CloudStackClient) DefaultOptions(options ...OptionFunc) { if options != nil { cs.options = options } else { cs.options = []OptionFunc{} } }
go
func (cs *CloudStackClient) DefaultOptions(options ...OptionFunc) { if options != nil { cs.options = options } else { cs.options = []OptionFunc{} } }
[ "func", "(", "cs", "*", "CloudStackClient", ")", "DefaultOptions", "(", "options", "...", "OptionFunc", ")", "{", "if", "options", "!=", "nil", "{", "cs", ".", "options", "=", "options", "\n", "}", "else", "{", "cs", ".", "options", "=", "[", "]", "O...
// Set any default options that would be added to all API calls that support it.
[ "Set", "any", "default", "options", "that", "would", "be", "added", "to", "all", "API", "calls", "that", "support", "it", "." ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/cloudstack.go#L268-L274
23,813
xanzy/go-cloudstack
cloudstack/cloudstack.go
GetAsyncJobResult
func (cs *CloudStackClient) GetAsyncJobResult(jobid string, timeout int64) (json.RawMessage, error) { var timer time.Duration currentTime := time.Now().Unix() for { p := cs.Asyncjob.NewQueryAsyncJobResultParams(jobid) r, err := cs.Asyncjob.QueryAsyncJobResult(p) if err != nil { return nil, err } // St...
go
func (cs *CloudStackClient) GetAsyncJobResult(jobid string, timeout int64) (json.RawMessage, error) { var timer time.Duration currentTime := time.Now().Unix() for { p := cs.Asyncjob.NewQueryAsyncJobResultParams(jobid) r, err := cs.Asyncjob.QueryAsyncJobResult(p) if err != nil { return nil, err } // St...
[ "func", "(", "cs", "*", "CloudStackClient", ")", "GetAsyncJobResult", "(", "jobid", "string", ",", "timeout", "int64", ")", "(", "json", ".", "RawMessage", ",", "error", ")", "{", "var", "timer", "time", ".", "Duration", "\n", "currentTime", ":=", "time", ...
// A helper function that you can use to get the result of a running async job. If the job is not finished within the configured // timeout, the async job returns a AsyncTimeoutErr.
[ "A", "helper", "function", "that", "you", "can", "use", "to", "get", "the", "result", "of", "a", "running", "async", "job", ".", "If", "the", "job", "is", "not", "finished", "within", "the", "configured", "timeout", "the", "async", "job", "returns", "a",...
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/cloudstack.go#L280-L317
23,814
xanzy/go-cloudstack
cloudstack/cloudstack.go
getRawValue
func getRawValue(b json.RawMessage) (json.RawMessage, error) { var m map[string]json.RawMessage if err := json.Unmarshal(b, &m); err != nil { return nil, err } for _, v := range m { return v, nil } return nil, fmt.Errorf("Unable to extract the raw value from:\n\n%s\n\n", string(b)) }
go
func getRawValue(b json.RawMessage) (json.RawMessage, error) { var m map[string]json.RawMessage if err := json.Unmarshal(b, &m); err != nil { return nil, err } for _, v := range m { return v, nil } return nil, fmt.Errorf("Unable to extract the raw value from:\n\n%s\n\n", string(b)) }
[ "func", "getRawValue", "(", "b", "json", ".", "RawMessage", ")", "(", "json", ".", "RawMessage", ",", "error", ")", "{", "var", "m", "map", "[", "string", "]", "json", ".", "RawMessage", "\n", "if", "err", ":=", "json", ".", "Unmarshal", "(", "b", ...
// Generic function to get the first raw value from a response as json.RawMessage
[ "Generic", "function", "to", "get", "the", "first", "raw", "value", "from", "a", "response", "as", "json", ".", "RawMessage" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/cloudstack.go#L411-L420
23,815
xanzy/go-cloudstack
cloudstack/cloudstack.go
WithDomain
func WithDomain(domain string) OptionFunc { return func(cs *CloudStackClient, p interface{}) error { ps, ok := p.(DomainIDSetter) if !ok || domain == "" { return nil } if !IsID(domain) { id, _, err := cs.Domain.GetDomainID(domain) if err != nil { return err } domain = id } ps.SetDomai...
go
func WithDomain(domain string) OptionFunc { return func(cs *CloudStackClient, p interface{}) error { ps, ok := p.(DomainIDSetter) if !ok || domain == "" { return nil } if !IsID(domain) { id, _, err := cs.Domain.GetDomainID(domain) if err != nil { return err } domain = id } ps.SetDomai...
[ "func", "WithDomain", "(", "domain", "string", ")", "OptionFunc", "{", "return", "func", "(", "cs", "*", "CloudStackClient", ",", "p", "interface", "{", "}", ")", "error", "{", "ps", ",", "ok", ":=", "p", ".", "(", "DomainIDSetter", ")", "\n\n", "if", ...
// WithDomain takes either a domain name or ID and sets the `domainid` parameter
[ "WithDomain", "takes", "either", "a", "domain", "name", "or", "ID", "and", "sets", "the", "domainid", "parameter" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/cloudstack.go#L428-L448
23,816
xanzy/go-cloudstack
cloudstack/cloudstack.go
WithProject
func WithProject(project string) OptionFunc { return func(cs *CloudStackClient, p interface{}) error { ps, ok := p.(ProjectIDSetter) if !ok || project == "" { return nil } if !IsID(project) { id, _, err := cs.Project.GetProjectID(project) if err != nil { return err } project = id } ps...
go
func WithProject(project string) OptionFunc { return func(cs *CloudStackClient, p interface{}) error { ps, ok := p.(ProjectIDSetter) if !ok || project == "" { return nil } if !IsID(project) { id, _, err := cs.Project.GetProjectID(project) if err != nil { return err } project = id } ps...
[ "func", "WithProject", "(", "project", "string", ")", "OptionFunc", "{", "return", "func", "(", "cs", "*", "CloudStackClient", ",", "p", "interface", "{", "}", ")", "error", "{", "ps", ",", "ok", ":=", "p", ".", "(", "ProjectIDSetter", ")", "\n\n", "if...
// WithProject takes either a project name or ID and sets the `projectid` parameter
[ "WithProject", "takes", "either", "a", "project", "name", "or", "ID", "and", "sets", "the", "projectid", "parameter" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/cloudstack.go#L456-L476
23,817
xanzy/go-cloudstack
cloudstack/cloudstack.go
WithVPCID
func WithVPCID(id string) OptionFunc { return func(cs *CloudStackClient, p interface{}) error { vs, ok := p.(VPCIDSetter) if !ok || id == "" { return nil } vs.SetVpcid(id) return nil } }
go
func WithVPCID(id string) OptionFunc { return func(cs *CloudStackClient, p interface{}) error { vs, ok := p.(VPCIDSetter) if !ok || id == "" { return nil } vs.SetVpcid(id) return nil } }
[ "func", "WithVPCID", "(", "id", "string", ")", "OptionFunc", "{", "return", "func", "(", "cs", "*", "CloudStackClient", ",", "p", "interface", "{", "}", ")", "error", "{", "vs", ",", "ok", ":=", "p", ".", "(", "VPCIDSetter", ")", "\n\n", "if", "!", ...
// WithVPCID takes a vpc ID and sets the `vpcid` parameter
[ "WithVPCID", "takes", "a", "vpc", "ID", "and", "sets", "the", "vpcid", "parameter" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/cloudstack.go#L484-L496
23,818
xanzy/go-cloudstack
cloudstack/ImageStoreService.go
NewAddImageStoreParams
func (s *ImageStoreService) NewAddImageStoreParams(provider string) *AddImageStoreParams { p := &AddImageStoreParams{} p.p = make(map[string]interface{}) p.p["provider"] = provider return p }
go
func (s *ImageStoreService) NewAddImageStoreParams(provider string) *AddImageStoreParams { p := &AddImageStoreParams{} p.p = make(map[string]interface{}) p.p["provider"] = provider return p }
[ "func", "(", "s", "*", "ImageStoreService", ")", "NewAddImageStoreParams", "(", "provider", "string", ")", "*", "AddImageStoreParams", "{", "p", ":=", "&", "AddImageStoreParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "string", "]", ...
// You should always use this function to get a new AddImageStoreParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "AddImageStoreParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ImageStoreService.go#L100-L105
23,819
xanzy/go-cloudstack
cloudstack/ImageStoreService.go
NewAddImageStoreS3Params
func (s *ImageStoreService) NewAddImageStoreS3Params(accesskey string, bucket string, endpoint string, secretkey string) *AddImageStoreS3Params { p := &AddImageStoreS3Params{} p.p = make(map[string]interface{}) p.p["accesskey"] = accesskey p.p["bucket"] = bucket p.p["endpoint"] = endpoint p.p["secretkey"] = secre...
go
func (s *ImageStoreService) NewAddImageStoreS3Params(accesskey string, bucket string, endpoint string, secretkey string) *AddImageStoreS3Params { p := &AddImageStoreS3Params{} p.p = make(map[string]interface{}) p.p["accesskey"] = accesskey p.p["bucket"] = bucket p.p["endpoint"] = endpoint p.p["secretkey"] = secre...
[ "func", "(", "s", "*", "ImageStoreService", ")", "NewAddImageStoreS3Params", "(", "accesskey", "string", ",", "bucket", "string", ",", "endpoint", "string", ",", "secretkey", "string", ")", "*", "AddImageStoreS3Params", "{", "p", ":=", "&", "AddImageStoreS3Params"...
// You should always use this function to get a new AddImageStoreS3Params instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "AddImageStoreS3Params", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ImageStoreService.go#L274-L282
23,820
xanzy/go-cloudstack
cloudstack/ImageStoreService.go
AddImageStoreS3
func (s *ImageStoreService) AddImageStoreS3(p *AddImageStoreS3Params) (*AddImageStoreS3Response, error) { resp, err := s.cs.newRequest("addImageStoreS3", p.toURLValues()) if err != nil { return nil, err } var r AddImageStoreS3Response if err := json.Unmarshal(resp, &r); err != nil { return nil, err } retur...
go
func (s *ImageStoreService) AddImageStoreS3(p *AddImageStoreS3Params) (*AddImageStoreS3Response, error) { resp, err := s.cs.newRequest("addImageStoreS3", p.toURLValues()) if err != nil { return nil, err } var r AddImageStoreS3Response if err := json.Unmarshal(resp, &r); err != nil { return nil, err } retur...
[ "func", "(", "s", "*", "ImageStoreService", ")", "AddImageStoreS3", "(", "p", "*", "AddImageStoreS3Params", ")", "(", "*", "AddImageStoreS3Response", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", "\"", ",...
// Adds S3 Image Store
[ "Adds", "S3", "Image", "Store" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ImageStoreService.go#L285-L297
23,821
xanzy/go-cloudstack
cloudstack/ImageStoreService.go
NewCreateSecondaryStagingStoreParams
func (s *ImageStoreService) NewCreateSecondaryStagingStoreParams(url string) *CreateSecondaryStagingStoreParams { p := &CreateSecondaryStagingStoreParams{} p.p = make(map[string]interface{}) p.p["url"] = url return p }
go
func (s *ImageStoreService) NewCreateSecondaryStagingStoreParams(url string) *CreateSecondaryStagingStoreParams { p := &CreateSecondaryStagingStoreParams{} p.p = make(map[string]interface{}) p.p["url"] = url return p }
[ "func", "(", "s", "*", "ImageStoreService", ")", "NewCreateSecondaryStagingStoreParams", "(", "url", "string", ")", "*", "CreateSecondaryStagingStoreParams", "{", "p", ":=", "&", "CreateSecondaryStagingStoreParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(",...
// You should always use this function to get a new CreateSecondaryStagingStoreParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "CreateSecondaryStagingStoreParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ImageStoreService.go#L383-L388
23,822
xanzy/go-cloudstack
cloudstack/ImageStoreService.go
NewDeleteImageStoreParams
func (s *ImageStoreService) NewDeleteImageStoreParams(id string) *DeleteImageStoreParams { p := &DeleteImageStoreParams{} p.p = make(map[string]interface{}) p.p["id"] = id return p }
go
func (s *ImageStoreService) NewDeleteImageStoreParams(id string) *DeleteImageStoreParams { p := &DeleteImageStoreParams{} p.p = make(map[string]interface{}) p.p["id"] = id return p }
[ "func", "(", "s", "*", "ImageStoreService", ")", "NewDeleteImageStoreParams", "(", "id", "string", ")", "*", "DeleteImageStoreParams", "{", "p", ":=", "&", "DeleteImageStoreParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "string", "]"...
// You should always use this function to get a new DeleteImageStoreParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "DeleteImageStoreParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ImageStoreService.go#L441-L446
23,823
xanzy/go-cloudstack
cloudstack/ImageStoreService.go
DeleteImageStore
func (s *ImageStoreService) DeleteImageStore(p *DeleteImageStoreParams) (*DeleteImageStoreResponse, error) { resp, err := s.cs.newRequest("deleteImageStore", p.toURLValues()) if err != nil { return nil, err } var r DeleteImageStoreResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } ...
go
func (s *ImageStoreService) DeleteImageStore(p *DeleteImageStoreParams) (*DeleteImageStoreResponse, error) { resp, err := s.cs.newRequest("deleteImageStore", p.toURLValues()) if err != nil { return nil, err } var r DeleteImageStoreResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } ...
[ "func", "(", "s", "*", "ImageStoreService", ")", "DeleteImageStore", "(", "p", "*", "DeleteImageStoreParams", ")", "(", "*", "DeleteImageStoreResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", "\"", ...
// Deletes an image store or Secondary Storage.
[ "Deletes", "an", "image", "store", "or", "Secondary", "Storage", "." ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ImageStoreService.go#L449-L461
23,824
xanzy/go-cloudstack
cloudstack/ImageStoreService.go
NewDeleteSecondaryStagingStoreParams
func (s *ImageStoreService) NewDeleteSecondaryStagingStoreParams(id string) *DeleteSecondaryStagingStoreParams { p := &DeleteSecondaryStagingStoreParams{} p.p = make(map[string]interface{}) p.p["id"] = id return p }
go
func (s *ImageStoreService) NewDeleteSecondaryStagingStoreParams(id string) *DeleteSecondaryStagingStoreParams { p := &DeleteSecondaryStagingStoreParams{} p.p = make(map[string]interface{}) p.p["id"] = id return p }
[ "func", "(", "s", "*", "ImageStoreService", ")", "NewDeleteSecondaryStagingStoreParams", "(", "id", "string", ")", "*", "DeleteSecondaryStagingStoreParams", "{", "p", ":=", "&", "DeleteSecondaryStagingStoreParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", ...
// You should always use this function to get a new DeleteSecondaryStagingStoreParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "DeleteSecondaryStagingStoreParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ImageStoreService.go#L512-L517
23,825
xanzy/go-cloudstack
cloudstack/ImageStoreService.go
NewListImageStoresParams
func (s *ImageStoreService) NewListImageStoresParams() *ListImageStoresParams { p := &ListImageStoresParams{} p.p = make(map[string]interface{}) return p }
go
func (s *ImageStoreService) NewListImageStoresParams() *ListImageStoresParams { p := &ListImageStoresParams{} p.p = make(map[string]interface{}) return p }
[ "func", "(", "s", "*", "ImageStoreService", ")", "NewListImageStoresParams", "(", ")", "*", "ListImageStoresParams", "{", "p", ":=", "&", "ListImageStoresParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "string", "]", "interface", "{",...
// You should always use this function to get a new ListImageStoresParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "ListImageStoresParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ImageStoreService.go#L662-L666
23,826
xanzy/go-cloudstack
cloudstack/ImageStoreService.go
NewListSecondaryStagingStoresParams
func (s *ImageStoreService) NewListSecondaryStagingStoresParams() *ListSecondaryStagingStoresParams { p := &ListSecondaryStagingStoresParams{} p.p = make(map[string]interface{}) return p }
go
func (s *ImageStoreService) NewListSecondaryStagingStoresParams() *ListSecondaryStagingStoresParams { p := &ListSecondaryStagingStoresParams{} p.p = make(map[string]interface{}) return p }
[ "func", "(", "s", "*", "ImageStoreService", ")", "NewListSecondaryStagingStoresParams", "(", ")", "*", "ListSecondaryStagingStoresParams", "{", "p", ":=", "&", "ListSecondaryStagingStoresParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "stri...
// You should always use this function to get a new ListSecondaryStagingStoresParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "ListSecondaryStagingStoresParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ImageStoreService.go#L886-L890
23,827
xanzy/go-cloudstack
cloudstack/ImageStoreService.go
NewUpdateCloudToUseObjectStoreParams
func (s *ImageStoreService) NewUpdateCloudToUseObjectStoreParams(provider string) *UpdateCloudToUseObjectStoreParams { p := &UpdateCloudToUseObjectStoreParams{} p.p = make(map[string]interface{}) p.p["provider"] = provider return p }
go
func (s *ImageStoreService) NewUpdateCloudToUseObjectStoreParams(provider string) *UpdateCloudToUseObjectStoreParams { p := &UpdateCloudToUseObjectStoreParams{} p.p = make(map[string]interface{}) p.p["provider"] = provider return p }
[ "func", "(", "s", "*", "ImageStoreService", ")", "NewUpdateCloudToUseObjectStoreParams", "(", "provider", "string", ")", "*", "UpdateCloudToUseObjectStoreParams", "{", "p", ":=", "&", "UpdateCloudToUseObjectStoreParams", "{", "}", "\n", "p", ".", "p", "=", "make", ...
// You should always use this function to get a new UpdateCloudToUseObjectStoreParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "UpdateCloudToUseObjectStoreParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ImageStoreService.go#L1068-L1073
23,828
xanzy/go-cloudstack
cloudstack/APIDiscoveryService.go
NewListApisParams
func (s *APIDiscoveryService) NewListApisParams() *ListApisParams { p := &ListApisParams{} p.p = make(map[string]interface{}) return p }
go
func (s *APIDiscoveryService) NewListApisParams() *ListApisParams { p := &ListApisParams{} p.p = make(map[string]interface{}) return p }
[ "func", "(", "s", "*", "APIDiscoveryService", ")", "NewListApisParams", "(", ")", "*", "ListApisParams", "{", "p", ":=", "&", "ListApisParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "string", "]", "interface", "{", "}", ")", "\...
// You should always use this function to get a new ListApisParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "ListApisParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/APIDiscoveryService.go#L49-L53
23,829
xanzy/go-cloudstack
cloudstack/APIDiscoveryService.go
ListApis
func (s *APIDiscoveryService) ListApis(p *ListApisParams) (*ListApisResponse, error) { resp, err := s.cs.newRequest("listApis", p.toURLValues()) if err != nil { return nil, err } var r ListApisResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } return &r, nil }
go
func (s *APIDiscoveryService) ListApis(p *ListApisParams) (*ListApisResponse, error) { resp, err := s.cs.newRequest("listApis", p.toURLValues()) if err != nil { return nil, err } var r ListApisResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } return &r, nil }
[ "func", "(", "s", "*", "APIDiscoveryService", ")", "ListApis", "(", "p", "*", "ListApisParams", ")", "(", "*", "ListApisResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", "\"", ",", "p", ".", ...
// lists all available apis on the server, provided by the Api Discovery plugin
[ "lists", "all", "available", "apis", "on", "the", "server", "provided", "by", "the", "Api", "Discovery", "plugin" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/APIDiscoveryService.go#L56-L68
23,830
xanzy/go-cloudstack
cloudstack/SSHService.go
NewCreateSSHKeyPairParams
func (s *SSHService) NewCreateSSHKeyPairParams(name string) *CreateSSHKeyPairParams { p := &CreateSSHKeyPairParams{} p.p = make(map[string]interface{}) p.p["name"] = name return p }
go
func (s *SSHService) NewCreateSSHKeyPairParams(name string) *CreateSSHKeyPairParams { p := &CreateSSHKeyPairParams{} p.p = make(map[string]interface{}) p.p["name"] = name return p }
[ "func", "(", "s", "*", "SSHService", ")", "NewCreateSSHKeyPairParams", "(", "name", "string", ")", "*", "CreateSSHKeyPairParams", "{", "p", ":=", "&", "CreateSSHKeyPairParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "string", "]", "...
// You should always use this function to get a new CreateSSHKeyPairParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "CreateSSHKeyPairParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SSHService.go#L83-L88
23,831
xanzy/go-cloudstack
cloudstack/SSHService.go
CreateSSHKeyPair
func (s *SSHService) CreateSSHKeyPair(p *CreateSSHKeyPairParams) (*CreateSSHKeyPairResponse, error) { resp, err := s.cs.newRequest("createSSHKeyPair", p.toURLValues()) if err != nil { return nil, err } if resp, err = getRawValue(resp); err != nil { return nil, err } var r CreateSSHKeyPairResponse if err :=...
go
func (s *SSHService) CreateSSHKeyPair(p *CreateSSHKeyPairParams) (*CreateSSHKeyPairResponse, error) { resp, err := s.cs.newRequest("createSSHKeyPair", p.toURLValues()) if err != nil { return nil, err } if resp, err = getRawValue(resp); err != nil { return nil, err } var r CreateSSHKeyPairResponse if err :=...
[ "func", "(", "s", "*", "SSHService", ")", "CreateSSHKeyPair", "(", "p", "*", "CreateSSHKeyPairParams", ")", "(", "*", "CreateSSHKeyPairResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", "\"", ",", ...
// Create a new keypair and returns the private key
[ "Create", "a", "new", "keypair", "and", "returns", "the", "private", "key" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SSHService.go#L91-L107
23,832
xanzy/go-cloudstack
cloudstack/SSHService.go
NewDeleteSSHKeyPairParams
func (s *SSHService) NewDeleteSSHKeyPairParams(name string) *DeleteSSHKeyPairParams { p := &DeleteSSHKeyPairParams{} p.p = make(map[string]interface{}) p.p["name"] = name return p }
go
func (s *SSHService) NewDeleteSSHKeyPairParams(name string) *DeleteSSHKeyPairParams { p := &DeleteSSHKeyPairParams{} p.p = make(map[string]interface{}) p.p["name"] = name return p }
[ "func", "(", "s", "*", "SSHService", ")", "NewDeleteSSHKeyPairParams", "(", "name", "string", ")", "*", "DeleteSSHKeyPairParams", "{", "p", ":=", "&", "DeleteSSHKeyPairParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "string", "]", "...
// You should always use this function to get a new DeleteSSHKeyPairParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "DeleteSSHKeyPairParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SSHService.go#L171-L176
23,833
xanzy/go-cloudstack
cloudstack/SSHService.go
DeleteSSHKeyPair
func (s *SSHService) DeleteSSHKeyPair(p *DeleteSSHKeyPairParams) (*DeleteSSHKeyPairResponse, error) { resp, err := s.cs.newRequest("deleteSSHKeyPair", p.toURLValues()) if err != nil { return nil, err } var r DeleteSSHKeyPairResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } return ...
go
func (s *SSHService) DeleteSSHKeyPair(p *DeleteSSHKeyPairParams) (*DeleteSSHKeyPairResponse, error) { resp, err := s.cs.newRequest("deleteSSHKeyPair", p.toURLValues()) if err != nil { return nil, err } var r DeleteSSHKeyPairResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } return ...
[ "func", "(", "s", "*", "SSHService", ")", "DeleteSSHKeyPair", "(", "p", "*", "DeleteSSHKeyPairParams", ")", "(", "*", "DeleteSSHKeyPairResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", "\"", ",", ...
// Deletes a keypair by name
[ "Deletes", "a", "keypair", "by", "name" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SSHService.go#L179-L191
23,834
xanzy/go-cloudstack
cloudstack/SSHService.go
NewListSSHKeyPairsParams
func (s *SSHService) NewListSSHKeyPairsParams() *ListSSHKeyPairsParams { p := &ListSSHKeyPairsParams{} p.p = make(map[string]interface{}) return p }
go
func (s *SSHService) NewListSSHKeyPairsParams() *ListSSHKeyPairsParams { p := &ListSSHKeyPairsParams{} p.p = make(map[string]interface{}) return p }
[ "func", "(", "s", "*", "SSHService", ")", "NewListSSHKeyPairsParams", "(", ")", "*", "ListSSHKeyPairsParams", "{", "p", ":=", "&", "ListSSHKeyPairsParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "string", "]", "interface", "{", "}",...
// You should always use this function to get a new ListSSHKeyPairsParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "ListSSHKeyPairsParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SSHService.go#L345-L349
23,835
xanzy/go-cloudstack
cloudstack/SSHService.go
ListSSHKeyPairs
func (s *SSHService) ListSSHKeyPairs(p *ListSSHKeyPairsParams) (*ListSSHKeyPairsResponse, error) { resp, err := s.cs.newRequest("listSSHKeyPairs", p.toURLValues()) if err != nil { return nil, err } var r ListSSHKeyPairsResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } return &r, n...
go
func (s *SSHService) ListSSHKeyPairs(p *ListSSHKeyPairsParams) (*ListSSHKeyPairsResponse, error) { resp, err := s.cs.newRequest("listSSHKeyPairs", p.toURLValues()) if err != nil { return nil, err } var r ListSSHKeyPairsResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } return &r, n...
[ "func", "(", "s", "*", "SSHService", ")", "ListSSHKeyPairs", "(", "p", "*", "ListSSHKeyPairsParams", ")", "(", "*", "ListSSHKeyPairsResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", "\"", ",", "p...
// List registered keypairs
[ "List", "registered", "keypairs" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SSHService.go#L352-L364
23,836
xanzy/go-cloudstack
cloudstack/SSHService.go
NewRegisterSSHKeyPairParams
func (s *SSHService) NewRegisterSSHKeyPairParams(name string, publickey string) *RegisterSSHKeyPairParams { p := &RegisterSSHKeyPairParams{} p.p = make(map[string]interface{}) p.p["name"] = name p.p["publickey"] = publickey return p }
go
func (s *SSHService) NewRegisterSSHKeyPairParams(name string, publickey string) *RegisterSSHKeyPairParams { p := &RegisterSSHKeyPairParams{} p.p = make(map[string]interface{}) p.p["name"] = name p.p["publickey"] = publickey return p }
[ "func", "(", "s", "*", "SSHService", ")", "NewRegisterSSHKeyPairParams", "(", "name", "string", ",", "publickey", "string", ")", "*", "RegisterSSHKeyPairParams", "{", "p", ":=", "&", "RegisterSSHKeyPairParams", "{", "}", "\n", "p", ".", "p", "=", "make", "("...
// You should always use this function to get a new RegisterSSHKeyPairParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "RegisterSSHKeyPairParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SSHService.go#L448-L454
23,837
xanzy/go-cloudstack
cloudstack/SSHService.go
RegisterSSHKeyPair
func (s *SSHService) RegisterSSHKeyPair(p *RegisterSSHKeyPairParams) (*RegisterSSHKeyPairResponse, error) { resp, err := s.cs.newRequest("registerSSHKeyPair", p.toURLValues()) if err != nil { return nil, err } if resp, err = getRawValue(resp); err != nil { return nil, err } var r RegisterSSHKeyPairResponse ...
go
func (s *SSHService) RegisterSSHKeyPair(p *RegisterSSHKeyPairParams) (*RegisterSSHKeyPairResponse, error) { resp, err := s.cs.newRequest("registerSSHKeyPair", p.toURLValues()) if err != nil { return nil, err } if resp, err = getRawValue(resp); err != nil { return nil, err } var r RegisterSSHKeyPairResponse ...
[ "func", "(", "s", "*", "SSHService", ")", "RegisterSSHKeyPair", "(", "p", "*", "RegisterSSHKeyPairParams", ")", "(", "*", "RegisterSSHKeyPairResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", "\"", ...
// Register a public key in a keypair under a certain name
[ "Register", "a", "public", "key", "in", "a", "keypair", "under", "a", "certain", "name" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SSHService.go#L457-L473
23,838
xanzy/go-cloudstack
cloudstack/SSHService.go
NewResetSSHKeyForVirtualMachineParams
func (s *SSHService) NewResetSSHKeyForVirtualMachineParams(id string, keypair string) *ResetSSHKeyForVirtualMachineParams { p := &ResetSSHKeyForVirtualMachineParams{} p.p = make(map[string]interface{}) p.p["id"] = id p.p["keypair"] = keypair return p }
go
func (s *SSHService) NewResetSSHKeyForVirtualMachineParams(id string, keypair string) *ResetSSHKeyForVirtualMachineParams { p := &ResetSSHKeyForVirtualMachineParams{} p.p = make(map[string]interface{}) p.p["id"] = id p.p["keypair"] = keypair return p }
[ "func", "(", "s", "*", "SSHService", ")", "NewResetSSHKeyForVirtualMachineParams", "(", "id", "string", ",", "keypair", "string", ")", "*", "ResetSSHKeyForVirtualMachineParams", "{", "p", ":=", "&", "ResetSSHKeyForVirtualMachineParams", "{", "}", "\n", "p", ".", "...
// You should always use this function to get a new ResetSSHKeyForVirtualMachineParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "ResetSSHKeyForVirtualMachineParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/SSHService.go#L552-L558
23,839
xanzy/go-cloudstack
cloudstack/ClusterService.go
NewAddClusterParams
func (s *ClusterService) NewAddClusterParams(clustername string, clustertype string, hypervisor string, podid string, zoneid string) *AddClusterParams { p := &AddClusterParams{} p.p = make(map[string]interface{}) p.p["clustername"] = clustername p.p["clustertype"] = clustertype p.p["hypervisor"] = hypervisor p.p[...
go
func (s *ClusterService) NewAddClusterParams(clustername string, clustertype string, hypervisor string, podid string, zoneid string) *AddClusterParams { p := &AddClusterParams{} p.p = make(map[string]interface{}) p.p["clustername"] = clustername p.p["clustertype"] = clustertype p.p["hypervisor"] = hypervisor p.p[...
[ "func", "(", "s", "*", "ClusterService", ")", "NewAddClusterParams", "(", "clustername", "string", ",", "clustertype", "string", ",", "hypervisor", "string", ",", "podid", "string", ",", "zoneid", "string", ")", "*", "AddClusterParams", "{", "p", ":=", "&", ...
// You should always use this function to get a new AddClusterParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "AddClusterParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ClusterService.go#L250-L259
23,840
xanzy/go-cloudstack
cloudstack/ClusterService.go
NewDedicateClusterParams
func (s *ClusterService) NewDedicateClusterParams(clusterid string, domainid string) *DedicateClusterParams { p := &DedicateClusterParams{} p.p = make(map[string]interface{}) p.p["clusterid"] = clusterid p.p["domainid"] = domainid return p }
go
func (s *ClusterService) NewDedicateClusterParams(clusterid string, domainid string) *DedicateClusterParams { p := &DedicateClusterParams{} p.p = make(map[string]interface{}) p.p["clusterid"] = clusterid p.p["domainid"] = domainid return p }
[ "func", "(", "s", "*", "ClusterService", ")", "NewDedicateClusterParams", "(", "clusterid", "string", ",", "domainid", "string", ")", "*", "DedicateClusterParams", "{", "p", ":=", "&", "DedicateClusterParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(",...
// You should always use this function to get a new DedicateClusterParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "DedicateClusterParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ClusterService.go#L356-L362
23,841
xanzy/go-cloudstack
cloudstack/ClusterService.go
NewDeleteClusterParams
func (s *ClusterService) NewDeleteClusterParams(id string) *DeleteClusterParams { p := &DeleteClusterParams{} p.p = make(map[string]interface{}) p.p["id"] = id return p }
go
func (s *ClusterService) NewDeleteClusterParams(id string) *DeleteClusterParams { p := &DeleteClusterParams{} p.p = make(map[string]interface{}) p.p["id"] = id return p }
[ "func", "(", "s", "*", "ClusterService", ")", "NewDeleteClusterParams", "(", "id", "string", ")", "*", "DeleteClusterParams", "{", "p", ":=", "&", "DeleteClusterParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "string", "]", "interfa...
// You should always use this function to get a new DeleteClusterParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "DeleteClusterParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ClusterService.go#L434-L439
23,842
xanzy/go-cloudstack
cloudstack/ClusterService.go
NewDisableOutOfBandManagementForClusterParams
func (s *ClusterService) NewDisableOutOfBandManagementForClusterParams(clusterid string) *DisableOutOfBandManagementForClusterParams { p := &DisableOutOfBandManagementForClusterParams{} p.p = make(map[string]interface{}) p.p["clusterid"] = clusterid return p }
go
func (s *ClusterService) NewDisableOutOfBandManagementForClusterParams(clusterid string) *DisableOutOfBandManagementForClusterParams { p := &DisableOutOfBandManagementForClusterParams{} p.p = make(map[string]interface{}) p.p["clusterid"] = clusterid return p }
[ "func", "(", "s", "*", "ClusterService", ")", "NewDisableOutOfBandManagementForClusterParams", "(", "clusterid", "string", ")", "*", "DisableOutOfBandManagementForClusterParams", "{", "p", ":=", "&", "DisableOutOfBandManagementForClusterParams", "{", "}", "\n", "p", ".", ...
// You should always use this function to get a new DisableOutOfBandManagementForClusterParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "DisableOutOfBandManagementForClusterParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ClusterService.go#L505-L510
23,843
xanzy/go-cloudstack
cloudstack/ClusterService.go
DisableOutOfBandManagementForCluster
func (s *ClusterService) DisableOutOfBandManagementForCluster(p *DisableOutOfBandManagementForClusterParams) (*DisableOutOfBandManagementForClusterResponse, error) { resp, err := s.cs.newRequest("disableOutOfBandManagementForCluster", p.toURLValues()) if err != nil { return nil, err } var r DisableOutOfBandManag...
go
func (s *ClusterService) DisableOutOfBandManagementForCluster(p *DisableOutOfBandManagementForClusterParams) (*DisableOutOfBandManagementForClusterResponse, error) { resp, err := s.cs.newRequest("disableOutOfBandManagementForCluster", p.toURLValues()) if err != nil { return nil, err } var r DisableOutOfBandManag...
[ "func", "(", "s", "*", "ClusterService", ")", "DisableOutOfBandManagementForCluster", "(", "p", "*", "DisableOutOfBandManagementForClusterParams", ")", "(", "*", "DisableOutOfBandManagementForClusterResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", "."...
// Disables out-of-band management for a cluster
[ "Disables", "out", "-", "of", "-", "band", "management", "for", "a", "cluster" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ClusterService.go#L513-L545
23,844
xanzy/go-cloudstack
cloudstack/ClusterService.go
NewEnableOutOfBandManagementForClusterParams
func (s *ClusterService) NewEnableOutOfBandManagementForClusterParams(clusterid string) *EnableOutOfBandManagementForClusterParams { p := &EnableOutOfBandManagementForClusterParams{} p.p = make(map[string]interface{}) p.p["clusterid"] = clusterid return p }
go
func (s *ClusterService) NewEnableOutOfBandManagementForClusterParams(clusterid string) *EnableOutOfBandManagementForClusterParams { p := &EnableOutOfBandManagementForClusterParams{} p.p = make(map[string]interface{}) p.p["clusterid"] = clusterid return p }
[ "func", "(", "s", "*", "ClusterService", ")", "NewEnableOutOfBandManagementForClusterParams", "(", "clusterid", "string", ")", "*", "EnableOutOfBandManagementForClusterParams", "{", "p", ":=", "&", "EnableOutOfBandManagementForClusterParams", "{", "}", "\n", "p", ".", "...
// You should always use this function to get a new EnableOutOfBandManagementForClusterParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "EnableOutOfBandManagementForClusterParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ClusterService.go#L587-L592
23,845
xanzy/go-cloudstack
cloudstack/ClusterService.go
EnableOutOfBandManagementForCluster
func (s *ClusterService) EnableOutOfBandManagementForCluster(p *EnableOutOfBandManagementForClusterParams) (*EnableOutOfBandManagementForClusterResponse, error) { resp, err := s.cs.newRequest("enableOutOfBandManagementForCluster", p.toURLValues()) if err != nil { return nil, err } var r EnableOutOfBandManagement...
go
func (s *ClusterService) EnableOutOfBandManagementForCluster(p *EnableOutOfBandManagementForClusterParams) (*EnableOutOfBandManagementForClusterResponse, error) { resp, err := s.cs.newRequest("enableOutOfBandManagementForCluster", p.toURLValues()) if err != nil { return nil, err } var r EnableOutOfBandManagement...
[ "func", "(", "s", "*", "ClusterService", ")", "EnableOutOfBandManagementForCluster", "(", "p", "*", "EnableOutOfBandManagementForClusterParams", ")", "(", "*", "EnableOutOfBandManagementForClusterResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", ...
// Enables out-of-band management for a cluster
[ "Enables", "out", "-", "of", "-", "band", "management", "for", "a", "cluster" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ClusterService.go#L595-L627
23,846
xanzy/go-cloudstack
cloudstack/ClusterService.go
NewListClustersParams
func (s *ClusterService) NewListClustersParams() *ListClustersParams { p := &ListClustersParams{} p.p = make(map[string]interface{}) return p }
go
func (s *ClusterService) NewListClustersParams() *ListClustersParams { p := &ListClustersParams{} p.p = make(map[string]interface{}) return p }
[ "func", "(", "s", "*", "ClusterService", ")", "NewListClustersParams", "(", ")", "*", "ListClustersParams", "{", "p", ":=", "&", "ListClustersParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "string", "]", "interface", "{", "}", ")...
// You should always use this function to get a new ListClustersParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "ListClustersParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ClusterService.go#L793-L797
23,847
xanzy/go-cloudstack
cloudstack/ClusterService.go
NewListDedicatedClustersParams
func (s *ClusterService) NewListDedicatedClustersParams() *ListDedicatedClustersParams { p := &ListDedicatedClustersParams{} p.p = make(map[string]interface{}) return p }
go
func (s *ClusterService) NewListDedicatedClustersParams() *ListDedicatedClustersParams { p := &ListDedicatedClustersParams{} p.p = make(map[string]interface{}) return p }
[ "func", "(", "s", "*", "ClusterService", ")", "NewListDedicatedClustersParams", "(", ")", "*", "ListDedicatedClustersParams", "{", "p", ":=", "&", "ListDedicatedClustersParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "string", "]", "int...
// You should always use this function to get a new ListDedicatedClustersParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "ListDedicatedClustersParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ClusterService.go#L1028-L1032
23,848
xanzy/go-cloudstack
cloudstack/ClusterService.go
NewReleaseDedicatedClusterParams
func (s *ClusterService) NewReleaseDedicatedClusterParams(clusterid string) *ReleaseDedicatedClusterParams { p := &ReleaseDedicatedClusterParams{} p.p = make(map[string]interface{}) p.p["clusterid"] = clusterid return p }
go
func (s *ClusterService) NewReleaseDedicatedClusterParams(clusterid string) *ReleaseDedicatedClusterParams { p := &ReleaseDedicatedClusterParams{} p.p = make(map[string]interface{}) p.p["clusterid"] = clusterid return p }
[ "func", "(", "s", "*", "ClusterService", ")", "NewReleaseDedicatedClusterParams", "(", "clusterid", "string", ")", "*", "ReleaseDedicatedClusterParams", "{", "p", ":=", "&", "ReleaseDedicatedClusterParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map",...
// You should always use this function to get a new ReleaseDedicatedClusterParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "ReleaseDedicatedClusterParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ClusterService.go#L1088-L1093
23,849
xanzy/go-cloudstack
cloudstack/ClusterService.go
NewUpdateClusterParams
func (s *ClusterService) NewUpdateClusterParams(id string) *UpdateClusterParams { p := &UpdateClusterParams{} p.p = make(map[string]interface{}) p.p["id"] = id return p }
go
func (s *ClusterService) NewUpdateClusterParams(id string) *UpdateClusterParams { p := &UpdateClusterParams{} p.p = make(map[string]interface{}) p.p["id"] = id return p }
[ "func", "(", "s", "*", "ClusterService", ")", "NewUpdateClusterParams", "(", "id", "string", ")", "*", "UpdateClusterParams", "{", "p", ":=", "&", "UpdateClusterParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "string", "]", "interfa...
// You should always use this function to get a new UpdateClusterParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "UpdateClusterParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ClusterService.go#L1211-L1216
23,850
xanzy/go-cloudstack
cloudstack/StoragePoolService.go
NewCancelStorageMaintenanceParams
func (s *StoragePoolService) NewCancelStorageMaintenanceParams(id string) *CancelStorageMaintenanceParams { p := &CancelStorageMaintenanceParams{} p.p = make(map[string]interface{}) p.p["id"] = id return p }
go
func (s *StoragePoolService) NewCancelStorageMaintenanceParams(id string) *CancelStorageMaintenanceParams { p := &CancelStorageMaintenanceParams{} p.p = make(map[string]interface{}) p.p["id"] = id return p }
[ "func", "(", "s", "*", "StoragePoolService", ")", "NewCancelStorageMaintenanceParams", "(", "id", "string", ")", "*", "CancelStorageMaintenanceParams", "{", "p", ":=", "&", "CancelStorageMaintenanceParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map",...
// You should always use this function to get a new CancelStorageMaintenanceParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "CancelStorageMaintenanceParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/StoragePoolService.go#L50-L55
23,851
xanzy/go-cloudstack
cloudstack/StoragePoolService.go
NewEnableStorageMaintenanceParams
func (s *StoragePoolService) NewEnableStorageMaintenanceParams(id string) *EnableStorageMaintenanceParams { p := &EnableStorageMaintenanceParams{} p.p = make(map[string]interface{}) p.p["id"] = id return p }
go
func (s *StoragePoolService) NewEnableStorageMaintenanceParams(id string) *EnableStorageMaintenanceParams { p := &EnableStorageMaintenanceParams{} p.p = make(map[string]interface{}) p.p["id"] = id return p }
[ "func", "(", "s", "*", "StoragePoolService", ")", "NewEnableStorageMaintenanceParams", "(", "id", "string", ")", "*", "EnableStorageMaintenanceParams", "{", "p", ":=", "&", "EnableStorageMaintenanceParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map",...
// You should always use this function to get a new EnableStorageMaintenanceParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "EnableStorageMaintenanceParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/StoragePoolService.go#L146-L151
23,852
xanzy/go-cloudstack
cloudstack/StoragePoolService.go
NewListStorageProvidersParams
func (s *StoragePoolService) NewListStorageProvidersParams(storagePoolType string) *ListStorageProvidersParams { p := &ListStorageProvidersParams{} p.p = make(map[string]interface{}) p.p["type"] = storagePoolType return p }
go
func (s *StoragePoolService) NewListStorageProvidersParams(storagePoolType string) *ListStorageProvidersParams { p := &ListStorageProvidersParams{} p.p = make(map[string]interface{}) p.p["type"] = storagePoolType return p }
[ "func", "(", "s", "*", "StoragePoolService", ")", "NewListStorageProvidersParams", "(", "storagePoolType", "string", ")", "*", "ListStorageProvidersParams", "{", "p", ":=", "&", "ListStorageProvidersParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map"...
// You should always use this function to get a new ListStorageProvidersParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "ListStorageProvidersParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/StoragePoolService.go#L277-L282
23,853
xanzy/go-cloudstack
cloudstack/GuestOSService.go
NewAddGuestOsParams
func (s *GuestOSService) NewAddGuestOsParams(details map[string]string, oscategoryid string, osdisplayname string) *AddGuestOsParams { p := &AddGuestOsParams{} p.p = make(map[string]interface{}) p.p["details"] = details p.p["oscategoryid"] = oscategoryid p.p["osdisplayname"] = osdisplayname return p }
go
func (s *GuestOSService) NewAddGuestOsParams(details map[string]string, oscategoryid string, osdisplayname string) *AddGuestOsParams { p := &AddGuestOsParams{} p.p = make(map[string]interface{}) p.p["details"] = details p.p["oscategoryid"] = oscategoryid p.p["osdisplayname"] = osdisplayname return p }
[ "func", "(", "s", "*", "GuestOSService", ")", "NewAddGuestOsParams", "(", "details", "map", "[", "string", "]", "string", ",", "oscategoryid", "string", ",", "osdisplayname", "string", ")", "*", "AddGuestOsParams", "{", "p", ":=", "&", "AddGuestOsParams", "{",...
// You should always use this function to get a new AddGuestOsParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "AddGuestOsParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/GuestOSService.go#L89-L96
23,854
xanzy/go-cloudstack
cloudstack/GuestOSService.go
AddGuestOs
func (s *GuestOSService) AddGuestOs(p *AddGuestOsParams) (*AddGuestOsResponse, error) { resp, err := s.cs.newRequest("addGuestOs", p.toURLValues()) if err != nil { return nil, err } var r AddGuestOsResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } // If we have a async client, we ...
go
func (s *GuestOSService) AddGuestOs(p *AddGuestOsParams) (*AddGuestOsResponse, error) { resp, err := s.cs.newRequest("addGuestOs", p.toURLValues()) if err != nil { return nil, err } var r AddGuestOsResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } // If we have a async client, we ...
[ "func", "(", "s", "*", "GuestOSService", ")", "AddGuestOs", "(", "p", "*", "AddGuestOsParams", ")", "(", "*", "AddGuestOsResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", "\"", ",", "p", ".", ...
// Add a new guest OS type
[ "Add", "a", "new", "guest", "OS", "type" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/GuestOSService.go#L99-L131
23,855
xanzy/go-cloudstack
cloudstack/GuestOSService.go
NewAddGuestOsMappingParams
func (s *GuestOSService) NewAddGuestOsMappingParams(hypervisor string, hypervisorversion string, osnameforhypervisor string) *AddGuestOsMappingParams { p := &AddGuestOsMappingParams{} p.p = make(map[string]interface{}) p.p["hypervisor"] = hypervisor p.p["hypervisorversion"] = hypervisorversion p.p["osnameforhyperv...
go
func (s *GuestOSService) NewAddGuestOsMappingParams(hypervisor string, hypervisorversion string, osnameforhypervisor string) *AddGuestOsMappingParams { p := &AddGuestOsMappingParams{} p.p = make(map[string]interface{}) p.p["hypervisor"] = hypervisor p.p["hypervisorversion"] = hypervisorversion p.p["osnameforhyperv...
[ "func", "(", "s", "*", "GuestOSService", ")", "NewAddGuestOsMappingParams", "(", "hypervisor", "string", ",", "hypervisorversion", "string", ",", "osnameforhypervisor", "string", ")", "*", "AddGuestOsMappingParams", "{", "p", ":=", "&", "AddGuestOsMappingParams", "{",...
// You should always use this function to get a new AddGuestOsMappingParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "AddGuestOsMappingParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/GuestOSService.go#L210-L217
23,856
xanzy/go-cloudstack
cloudstack/GuestOSService.go
AddGuestOsMapping
func (s *GuestOSService) AddGuestOsMapping(p *AddGuestOsMappingParams) (*AddGuestOsMappingResponse, error) { resp, err := s.cs.newRequest("addGuestOsMapping", p.toURLValues()) if err != nil { return nil, err } var r AddGuestOsMappingResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } ...
go
func (s *GuestOSService) AddGuestOsMapping(p *AddGuestOsMappingParams) (*AddGuestOsMappingResponse, error) { resp, err := s.cs.newRequest("addGuestOsMapping", p.toURLValues()) if err != nil { return nil, err } var r AddGuestOsMappingResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } ...
[ "func", "(", "s", "*", "GuestOSService", ")", "AddGuestOsMapping", "(", "p", "*", "AddGuestOsMappingParams", ")", "(", "*", "AddGuestOsMappingResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", "\"", ...
// Adds a guest OS name to hypervisor OS name mapping
[ "Adds", "a", "guest", "OS", "name", "to", "hypervisor", "OS", "name", "mapping" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/GuestOSService.go#L220-L252
23,857
xanzy/go-cloudstack
cloudstack/GuestOSService.go
NewListGuestOsMappingParams
func (s *GuestOSService) NewListGuestOsMappingParams() *ListGuestOsMappingParams { p := &ListGuestOsMappingParams{} p.p = make(map[string]interface{}) return p }
go
func (s *GuestOSService) NewListGuestOsMappingParams() *ListGuestOsMappingParams { p := &ListGuestOsMappingParams{} p.p = make(map[string]interface{}) return p }
[ "func", "(", "s", "*", "GuestOSService", ")", "NewListGuestOsMappingParams", "(", ")", "*", "ListGuestOsMappingParams", "{", "p", ":=", "&", "ListGuestOsMappingParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "string", "]", "interface", ...
// You should always use this function to get a new ListGuestOsMappingParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "ListGuestOsMappingParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/GuestOSService.go#L358-L362
23,858
xanzy/go-cloudstack
cloudstack/GuestOSService.go
ListGuestOsMapping
func (s *GuestOSService) ListGuestOsMapping(p *ListGuestOsMappingParams) (*ListGuestOsMappingResponse, error) { resp, err := s.cs.newRequest("listGuestOsMapping", p.toURLValues()) if err != nil { return nil, err } var r ListGuestOsMappingResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, er...
go
func (s *GuestOSService) ListGuestOsMapping(p *ListGuestOsMappingParams) (*ListGuestOsMappingResponse, error) { resp, err := s.cs.newRequest("listGuestOsMapping", p.toURLValues()) if err != nil { return nil, err } var r ListGuestOsMappingResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, er...
[ "func", "(", "s", "*", "GuestOSService", ")", "ListGuestOsMapping", "(", "p", "*", "ListGuestOsMappingParams", ")", "(", "*", "ListGuestOsMappingResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", "\""...
// Lists all available OS mappings for given hypervisor
[ "Lists", "all", "available", "OS", "mappings", "for", "given", "hypervisor" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/GuestOSService.go#L398-L410
23,859
xanzy/go-cloudstack
cloudstack/GuestOSService.go
NewListOsCategoriesParams
func (s *GuestOSService) NewListOsCategoriesParams() *ListOsCategoriesParams { p := &ListOsCategoriesParams{} p.p = make(map[string]interface{}) return p }
go
func (s *GuestOSService) NewListOsCategoriesParams() *ListOsCategoriesParams { p := &ListOsCategoriesParams{} p.p = make(map[string]interface{}) return p }
[ "func", "(", "s", "*", "GuestOSService", ")", "NewListOsCategoriesParams", "(", ")", "*", "ListOsCategoriesParams", "{", "p", ":=", "&", "ListOsCategoriesParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "string", "]", "interface", "{",...
// You should always use this function to get a new ListOsCategoriesParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "ListOsCategoriesParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/GuestOSService.go#L498-L502
23,860
xanzy/go-cloudstack
cloudstack/GuestOSService.go
ListOsCategories
func (s *GuestOSService) ListOsCategories(p *ListOsCategoriesParams) (*ListOsCategoriesResponse, error) { resp, err := s.cs.newRequest("listOsCategories", p.toURLValues()) if err != nil { return nil, err } var r ListOsCategoriesResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } ret...
go
func (s *GuestOSService) ListOsCategories(p *ListOsCategoriesParams) (*ListOsCategoriesResponse, error) { resp, err := s.cs.newRequest("listOsCategories", p.toURLValues()) if err != nil { return nil, err } var r ListOsCategoriesResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } ret...
[ "func", "(", "s", "*", "GuestOSService", ")", "ListOsCategories", "(", "p", "*", "ListOsCategoriesParams", ")", "(", "*", "ListOsCategoriesResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", "\"", ",...
// Lists all supported OS categories for this cloud.
[ "Lists", "all", "supported", "OS", "categories", "for", "this", "cloud", "." ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/GuestOSService.go#L588-L600
23,861
xanzy/go-cloudstack
cloudstack/GuestOSService.go
NewListOsTypesParams
func (s *GuestOSService) NewListOsTypesParams() *ListOsTypesParams { p := &ListOsTypesParams{} p.p = make(map[string]interface{}) return p }
go
func (s *GuestOSService) NewListOsTypesParams() *ListOsTypesParams { p := &ListOsTypesParams{} p.p = make(map[string]interface{}) return p }
[ "func", "(", "s", "*", "GuestOSService", ")", "NewListOsTypesParams", "(", ")", "*", "ListOsTypesParams", "{", "p", ":=", "&", "ListOsTypesParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "string", "]", "interface", "{", "}", ")", ...
// You should always use this function to get a new ListOsTypesParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "ListOsTypesParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/GuestOSService.go#L694-L698
23,862
xanzy/go-cloudstack
cloudstack/GuestOSService.go
ListOsTypes
func (s *GuestOSService) ListOsTypes(p *ListOsTypesParams) (*ListOsTypesResponse, error) { resp, err := s.cs.newRequest("listOsTypes", p.toURLValues()) if err != nil { return nil, err } var r ListOsTypesResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } return &r, nil }
go
func (s *GuestOSService) ListOsTypes(p *ListOsTypesParams) (*ListOsTypesResponse, error) { resp, err := s.cs.newRequest("listOsTypes", p.toURLValues()) if err != nil { return nil, err } var r ListOsTypesResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } return &r, nil }
[ "func", "(", "s", "*", "GuestOSService", ")", "ListOsTypes", "(", "p", "*", "ListOsTypesParams", ")", "(", "*", "ListOsTypesResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", "\"", ",", "p", "."...
// Lists all supported OS types for this cloud.
[ "Lists", "all", "supported", "OS", "types", "for", "this", "cloud", "." ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/GuestOSService.go#L734-L746
23,863
xanzy/go-cloudstack
cloudstack/GuestOSService.go
NewRemoveGuestOsParams
func (s *GuestOSService) NewRemoveGuestOsParams(id string) *RemoveGuestOsParams { p := &RemoveGuestOsParams{} p.p = make(map[string]interface{}) p.p["id"] = id return p }
go
func (s *GuestOSService) NewRemoveGuestOsParams(id string) *RemoveGuestOsParams { p := &RemoveGuestOsParams{} p.p = make(map[string]interface{}) p.p["id"] = id return p }
[ "func", "(", "s", "*", "GuestOSService", ")", "NewRemoveGuestOsParams", "(", "id", "string", ")", "*", "RemoveGuestOsParams", "{", "p", ":=", "&", "RemoveGuestOsParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "string", "]", "interfa...
// You should always use this function to get a new RemoveGuestOsParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "RemoveGuestOsParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/GuestOSService.go#L785-L790
23,864
xanzy/go-cloudstack
cloudstack/GuestOSService.go
RemoveGuestOs
func (s *GuestOSService) RemoveGuestOs(p *RemoveGuestOsParams) (*RemoveGuestOsResponse, error) { resp, err := s.cs.newRequest("removeGuestOs", p.toURLValues()) if err != nil { return nil, err } var r RemoveGuestOsResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } // If we have a as...
go
func (s *GuestOSService) RemoveGuestOs(p *RemoveGuestOsParams) (*RemoveGuestOsResponse, error) { resp, err := s.cs.newRequest("removeGuestOs", p.toURLValues()) if err != nil { return nil, err } var r RemoveGuestOsResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } // If we have a as...
[ "func", "(", "s", "*", "GuestOSService", ")", "RemoveGuestOs", "(", "p", "*", "RemoveGuestOsParams", ")", "(", "*", "RemoveGuestOsResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", "\"", ",", "p",...
// Removes a Guest OS from listing.
[ "Removes", "a", "Guest", "OS", "from", "listing", "." ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/GuestOSService.go#L793-L820
23,865
xanzy/go-cloudstack
cloudstack/GuestOSService.go
NewRemoveGuestOsMappingParams
func (s *GuestOSService) NewRemoveGuestOsMappingParams(id string) *RemoveGuestOsMappingParams { p := &RemoveGuestOsMappingParams{} p.p = make(map[string]interface{}) p.p["id"] = id return p }
go
func (s *GuestOSService) NewRemoveGuestOsMappingParams(id string) *RemoveGuestOsMappingParams { p := &RemoveGuestOsMappingParams{} p.p = make(map[string]interface{}) p.p["id"] = id return p }
[ "func", "(", "s", "*", "GuestOSService", ")", "NewRemoveGuestOsMappingParams", "(", "id", "string", ")", "*", "RemoveGuestOsMappingParams", "{", "p", ":=", "&", "RemoveGuestOsMappingParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "strin...
// You should always use this function to get a new RemoveGuestOsMappingParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "RemoveGuestOsMappingParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/GuestOSService.go#L853-L858
23,866
xanzy/go-cloudstack
cloudstack/GuestOSService.go
RemoveGuestOsMapping
func (s *GuestOSService) RemoveGuestOsMapping(p *RemoveGuestOsMappingParams) (*RemoveGuestOsMappingResponse, error) { resp, err := s.cs.newRequest("removeGuestOsMapping", p.toURLValues()) if err != nil { return nil, err } var r RemoveGuestOsMappingResponse if err := json.Unmarshal(resp, &r); err != nil { retu...
go
func (s *GuestOSService) RemoveGuestOsMapping(p *RemoveGuestOsMappingParams) (*RemoveGuestOsMappingResponse, error) { resp, err := s.cs.newRequest("removeGuestOsMapping", p.toURLValues()) if err != nil { return nil, err } var r RemoveGuestOsMappingResponse if err := json.Unmarshal(resp, &r); err != nil { retu...
[ "func", "(", "s", "*", "GuestOSService", ")", "RemoveGuestOsMapping", "(", "p", "*", "RemoveGuestOsMappingParams", ")", "(", "*", "RemoveGuestOsMappingResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", ...
// Removes a Guest OS Mapping.
[ "Removes", "a", "Guest", "OS", "Mapping", "." ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/GuestOSService.go#L861-L888
23,867
xanzy/go-cloudstack
cloudstack/GuestOSService.go
NewUpdateGuestOsParams
func (s *GuestOSService) NewUpdateGuestOsParams(details map[string]string, id string, osdisplayname string) *UpdateGuestOsParams { p := &UpdateGuestOsParams{} p.p = make(map[string]interface{}) p.p["details"] = details p.p["id"] = id p.p["osdisplayname"] = osdisplayname return p }
go
func (s *GuestOSService) NewUpdateGuestOsParams(details map[string]string, id string, osdisplayname string) *UpdateGuestOsParams { p := &UpdateGuestOsParams{} p.p = make(map[string]interface{}) p.p["details"] = details p.p["id"] = id p.p["osdisplayname"] = osdisplayname return p }
[ "func", "(", "s", "*", "GuestOSService", ")", "NewUpdateGuestOsParams", "(", "details", "map", "[", "string", "]", "string", ",", "id", "string", ",", "osdisplayname", "string", ")", "*", "UpdateGuestOsParams", "{", "p", ":=", "&", "UpdateGuestOsParams", "{", ...
// You should always use this function to get a new UpdateGuestOsParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "UpdateGuestOsParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/GuestOSService.go#L947-L954
23,868
xanzy/go-cloudstack
cloudstack/GuestOSService.go
UpdateGuestOs
func (s *GuestOSService) UpdateGuestOs(p *UpdateGuestOsParams) (*UpdateGuestOsResponse, error) { resp, err := s.cs.newRequest("updateGuestOs", p.toURLValues()) if err != nil { return nil, err } var r UpdateGuestOsResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } // If we have a as...
go
func (s *GuestOSService) UpdateGuestOs(p *UpdateGuestOsParams) (*UpdateGuestOsResponse, error) { resp, err := s.cs.newRequest("updateGuestOs", p.toURLValues()) if err != nil { return nil, err } var r UpdateGuestOsResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } // If we have a as...
[ "func", "(", "s", "*", "GuestOSService", ")", "UpdateGuestOs", "(", "p", "*", "UpdateGuestOsParams", ")", "(", "*", "UpdateGuestOsResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", "\"", ",", "p",...
// Updates the information about Guest OS
[ "Updates", "the", "information", "about", "Guest", "OS" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/GuestOSService.go#L957-L989
23,869
xanzy/go-cloudstack
cloudstack/GuestOSService.go
NewUpdateGuestOsMappingParams
func (s *GuestOSService) NewUpdateGuestOsMappingParams(id string, osnameforhypervisor string) *UpdateGuestOsMappingParams { p := &UpdateGuestOsMappingParams{} p.p = make(map[string]interface{}) p.p["id"] = id p.p["osnameforhypervisor"] = osnameforhypervisor return p }
go
func (s *GuestOSService) NewUpdateGuestOsMappingParams(id string, osnameforhypervisor string) *UpdateGuestOsMappingParams { p := &UpdateGuestOsMappingParams{} p.p = make(map[string]interface{}) p.p["id"] = id p.p["osnameforhypervisor"] = osnameforhypervisor return p }
[ "func", "(", "s", "*", "GuestOSService", ")", "NewUpdateGuestOsMappingParams", "(", "id", "string", ",", "osnameforhypervisor", "string", ")", "*", "UpdateGuestOsMappingParams", "{", "p", ":=", "&", "UpdateGuestOsMappingParams", "{", "}", "\n", "p", ".", "p", "=...
// You should always use this function to get a new UpdateGuestOsMappingParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "UpdateGuestOsMappingParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/GuestOSService.go#L1035-L1041
23,870
xanzy/go-cloudstack
cloudstack/GuestOSService.go
UpdateGuestOsMapping
func (s *GuestOSService) UpdateGuestOsMapping(p *UpdateGuestOsMappingParams) (*UpdateGuestOsMappingResponse, error) { resp, err := s.cs.newRequest("updateGuestOsMapping", p.toURLValues()) if err != nil { return nil, err } var r UpdateGuestOsMappingResponse if err := json.Unmarshal(resp, &r); err != nil { retu...
go
func (s *GuestOSService) UpdateGuestOsMapping(p *UpdateGuestOsMappingParams) (*UpdateGuestOsMappingResponse, error) { resp, err := s.cs.newRequest("updateGuestOsMapping", p.toURLValues()) if err != nil { return nil, err } var r UpdateGuestOsMappingResponse if err := json.Unmarshal(resp, &r); err != nil { retu...
[ "func", "(", "s", "*", "GuestOSService", ")", "UpdateGuestOsMapping", "(", "p", "*", "UpdateGuestOsMappingParams", ")", "(", "*", "UpdateGuestOsMappingResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", ...
// Updates the information about Guest OS to Hypervisor specific name mapping
[ "Updates", "the", "information", "about", "Guest", "OS", "to", "Hypervisor", "specific", "name", "mapping" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/GuestOSService.go#L1044-L1076
23,871
xanzy/go-cloudstack
cloudstack/BaremetalService.go
NewAddBaremetalDhcpParams
func (s *BaremetalService) NewAddBaremetalDhcpParams(dhcpservertype string, password string, physicalnetworkid string, url string, username string) *AddBaremetalDhcpParams { p := &AddBaremetalDhcpParams{} p.p = make(map[string]interface{}) p.p["dhcpservertype"] = dhcpservertype p.p["password"] = password p.p["phys...
go
func (s *BaremetalService) NewAddBaremetalDhcpParams(dhcpservertype string, password string, physicalnetworkid string, url string, username string) *AddBaremetalDhcpParams { p := &AddBaremetalDhcpParams{} p.p = make(map[string]interface{}) p.p["dhcpservertype"] = dhcpservertype p.p["password"] = password p.p["phys...
[ "func", "(", "s", "*", "BaremetalService", ")", "NewAddBaremetalDhcpParams", "(", "dhcpservertype", "string", ",", "password", "string", ",", "physicalnetworkid", "string", ",", "url", "string", ",", "username", "string", ")", "*", "AddBaremetalDhcpParams", "{", "...
// You should always use this function to get a new AddBaremetalDhcpParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "AddBaremetalDhcpParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/BaremetalService.go#L94-L103
23,872
xanzy/go-cloudstack
cloudstack/BaremetalService.go
AddBaremetalDhcp
func (s *BaremetalService) AddBaremetalDhcp(p *AddBaremetalDhcpParams) (*AddBaremetalDhcpResponse, error) { resp, err := s.cs.newRequest("addBaremetalDhcp", p.toURLValues()) if err != nil { return nil, err } var r AddBaremetalDhcpResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } /...
go
func (s *BaremetalService) AddBaremetalDhcp(p *AddBaremetalDhcpParams) (*AddBaremetalDhcpResponse, error) { resp, err := s.cs.newRequest("addBaremetalDhcp", p.toURLValues()) if err != nil { return nil, err } var r AddBaremetalDhcpResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } /...
[ "func", "(", "s", "*", "BaremetalService", ")", "AddBaremetalDhcp", "(", "p", "*", "AddBaremetalDhcpParams", ")", "(", "*", "AddBaremetalDhcpResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", "\"", ...
// adds a baremetal dhcp server
[ "adds", "a", "baremetal", "dhcp", "server" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/BaremetalService.go#L106-L138
23,873
xanzy/go-cloudstack
cloudstack/BaremetalService.go
NewAddBaremetalPxeKickStartServerParams
func (s *BaremetalService) NewAddBaremetalPxeKickStartServerParams(password string, physicalnetworkid string, pxeservertype string, tftpdir string, url string, username string) *AddBaremetalPxeKickStartServerParams { p := &AddBaremetalPxeKickStartServerParams{} p.p = make(map[string]interface{}) p.p["password"] = pa...
go
func (s *BaremetalService) NewAddBaremetalPxeKickStartServerParams(password string, physicalnetworkid string, pxeservertype string, tftpdir string, url string, username string) *AddBaremetalPxeKickStartServerParams { p := &AddBaremetalPxeKickStartServerParams{} p.p = make(map[string]interface{}) p.p["password"] = pa...
[ "func", "(", "s", "*", "BaremetalService", ")", "NewAddBaremetalPxeKickStartServerParams", "(", "password", "string", ",", "physicalnetworkid", "string", ",", "pxeservertype", "string", ",", "tftpdir", "string", ",", "url", "string", ",", "username", "string", ")", ...
// You should always use this function to get a new AddBaremetalPxeKickStartServerParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "AddBaremetalPxeKickStartServerParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/BaremetalService.go#L240-L250
23,874
xanzy/go-cloudstack
cloudstack/BaremetalService.go
AddBaremetalPxeKickStartServer
func (s *BaremetalService) AddBaremetalPxeKickStartServer(p *AddBaremetalPxeKickStartServerParams) (*AddBaremetalPxeKickStartServerResponse, error) { resp, err := s.cs.newRequest("addBaremetalPxeKickStartServer", p.toURLValues()) if err != nil { return nil, err } var r AddBaremetalPxeKickStartServerResponse if ...
go
func (s *BaremetalService) AddBaremetalPxeKickStartServer(p *AddBaremetalPxeKickStartServerParams) (*AddBaremetalPxeKickStartServerResponse, error) { resp, err := s.cs.newRequest("addBaremetalPxeKickStartServer", p.toURLValues()) if err != nil { return nil, err } var r AddBaremetalPxeKickStartServerResponse if ...
[ "func", "(", "s", "*", "BaremetalService", ")", "AddBaremetalPxeKickStartServer", "(", "p", "*", "AddBaremetalPxeKickStartServerParams", ")", "(", "*", "AddBaremetalPxeKickStartServerResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".",...
// add a baremetal pxe server
[ "add", "a", "baremetal", "pxe", "server" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/BaremetalService.go#L253-L285
23,875
xanzy/go-cloudstack
cloudstack/BaremetalService.go
NewAddBaremetalPxePingServerParams
func (s *BaremetalService) NewAddBaremetalPxePingServerParams(password string, physicalnetworkid string, pingdir string, pingstorageserverip string, pxeservertype string, tftpdir string, url string, username string) *AddBaremetalPxePingServerParams { p := &AddBaremetalPxePingServerParams{} p.p = make(map[string]inter...
go
func (s *BaremetalService) NewAddBaremetalPxePingServerParams(password string, physicalnetworkid string, pingdir string, pingstorageserverip string, pxeservertype string, tftpdir string, url string, username string) *AddBaremetalPxePingServerParams { p := &AddBaremetalPxePingServerParams{} p.p = make(map[string]inter...
[ "func", "(", "s", "*", "BaremetalService", ")", "NewAddBaremetalPxePingServerParams", "(", "password", "string", ",", "physicalnetworkid", "string", ",", "pingdir", "string", ",", "pingstorageserverip", "string", ",", "pxeservertype", "string", ",", "tftpdir", "string...
// You should always use this function to get a new AddBaremetalPxePingServerParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "AddBaremetalPxePingServerParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/BaremetalService.go#L427-L439
23,876
xanzy/go-cloudstack
cloudstack/BaremetalService.go
AddBaremetalPxePingServer
func (s *BaremetalService) AddBaremetalPxePingServer(p *AddBaremetalPxePingServerParams) (*AddBaremetalPxePingServerResponse, error) { resp, err := s.cs.newRequest("addBaremetalPxePingServer", p.toURLValues()) if err != nil { return nil, err } var r AddBaremetalPxePingServerResponse if err := json.Unmarshal(res...
go
func (s *BaremetalService) AddBaremetalPxePingServer(p *AddBaremetalPxePingServerParams) (*AddBaremetalPxePingServerResponse, error) { resp, err := s.cs.newRequest("addBaremetalPxePingServer", p.toURLValues()) if err != nil { return nil, err } var r AddBaremetalPxePingServerResponse if err := json.Unmarshal(res...
[ "func", "(", "s", "*", "BaremetalService", ")", "AddBaremetalPxePingServer", "(", "p", "*", "AddBaremetalPxePingServerParams", ")", "(", "*", "AddBaremetalPxePingServerResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest"...
// add a baremetal ping pxe server
[ "add", "a", "baremetal", "ping", "pxe", "server" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/BaremetalService.go#L442-L474
23,877
xanzy/go-cloudstack
cloudstack/BaremetalService.go
NewAddBaremetalRctParams
func (s *BaremetalService) NewAddBaremetalRctParams(baremetalrcturl string) *AddBaremetalRctParams { p := &AddBaremetalRctParams{} p.p = make(map[string]interface{}) p.p["baremetalrcturl"] = baremetalrcturl return p }
go
func (s *BaremetalService) NewAddBaremetalRctParams(baremetalrcturl string) *AddBaremetalRctParams { p := &AddBaremetalRctParams{} p.p = make(map[string]interface{}) p.p["baremetalrcturl"] = baremetalrcturl return p }
[ "func", "(", "s", "*", "BaremetalService", ")", "NewAddBaremetalRctParams", "(", "baremetalrcturl", "string", ")", "*", "AddBaremetalRctParams", "{", "p", ":=", "&", "AddBaremetalRctParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "strin...
// You should always use this function to get a new AddBaremetalRctParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "AddBaremetalRctParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/BaremetalService.go#L508-L513
23,878
xanzy/go-cloudstack
cloudstack/BaremetalService.go
AddBaremetalRct
func (s *BaremetalService) AddBaremetalRct(p *AddBaremetalRctParams) (*AddBaremetalRctResponse, error) { resp, err := s.cs.newRequest("addBaremetalRct", p.toURLValues()) if err != nil { return nil, err } var r AddBaremetalRctResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } // If ...
go
func (s *BaremetalService) AddBaremetalRct(p *AddBaremetalRctParams) (*AddBaremetalRctResponse, error) { resp, err := s.cs.newRequest("addBaremetalRct", p.toURLValues()) if err != nil { return nil, err } var r AddBaremetalRctResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } // If ...
[ "func", "(", "s", "*", "BaremetalService", ")", "AddBaremetalRct", "(", "p", "*", "AddBaremetalRctParams", ")", "(", "*", "AddBaremetalRctResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", "\"", ","...
// adds baremetal rack configuration text
[ "adds", "baremetal", "rack", "configuration", "text" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/BaremetalService.go#L516-L548
23,879
xanzy/go-cloudstack
cloudstack/BaremetalService.go
NewDeleteBaremetalRctParams
func (s *BaremetalService) NewDeleteBaremetalRctParams(id string) *DeleteBaremetalRctParams { p := &DeleteBaremetalRctParams{} p.p = make(map[string]interface{}) p.p["id"] = id return p }
go
func (s *BaremetalService) NewDeleteBaremetalRctParams(id string) *DeleteBaremetalRctParams { p := &DeleteBaremetalRctParams{} p.p = make(map[string]interface{}) p.p["id"] = id return p }
[ "func", "(", "s", "*", "BaremetalService", ")", "NewDeleteBaremetalRctParams", "(", "id", "string", ")", "*", "DeleteBaremetalRctParams", "{", "p", ":=", "&", "DeleteBaremetalRctParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "string", ...
// You should always use this function to get a new DeleteBaremetalRctParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "DeleteBaremetalRctParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/BaremetalService.go#L581-L586
23,880
xanzy/go-cloudstack
cloudstack/BaremetalService.go
DeleteBaremetalRct
func (s *BaremetalService) DeleteBaremetalRct(p *DeleteBaremetalRctParams) (*DeleteBaremetalRctResponse, error) { resp, err := s.cs.newRequest("deleteBaremetalRct", p.toURLValues()) if err != nil { return nil, err } var r DeleteBaremetalRctResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, ...
go
func (s *BaremetalService) DeleteBaremetalRct(p *DeleteBaremetalRctParams) (*DeleteBaremetalRctResponse, error) { resp, err := s.cs.newRequest("deleteBaremetalRct", p.toURLValues()) if err != nil { return nil, err } var r DeleteBaremetalRctResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, ...
[ "func", "(", "s", "*", "BaremetalService", ")", "DeleteBaremetalRct", "(", "p", "*", "DeleteBaremetalRctParams", ")", "(", "*", "DeleteBaremetalRctResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", "\...
// deletes baremetal rack configuration text
[ "deletes", "baremetal", "rack", "configuration", "text" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/BaremetalService.go#L589-L616
23,881
xanzy/go-cloudstack
cloudstack/BaremetalService.go
NewListBaremetalDhcpParams
func (s *BaremetalService) NewListBaremetalDhcpParams(physicalnetworkid string) *ListBaremetalDhcpParams { p := &ListBaremetalDhcpParams{} p.p = make(map[string]interface{}) p.p["physicalnetworkid"] = physicalnetworkid return p }
go
func (s *BaremetalService) NewListBaremetalDhcpParams(physicalnetworkid string) *ListBaremetalDhcpParams { p := &ListBaremetalDhcpParams{} p.p = make(map[string]interface{}) p.p["physicalnetworkid"] = physicalnetworkid return p }
[ "func", "(", "s", "*", "BaremetalService", ")", "NewListBaremetalDhcpParams", "(", "physicalnetworkid", "string", ")", "*", "ListBaremetalDhcpParams", "{", "p", ":=", "&", "ListBaremetalDhcpParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", ...
// You should always use this function to get a new ListBaremetalDhcpParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "ListBaremetalDhcpParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/BaremetalService.go#L707-L712
23,882
xanzy/go-cloudstack
cloudstack/BaremetalService.go
ListBaremetalDhcp
func (s *BaremetalService) ListBaremetalDhcp(p *ListBaremetalDhcpParams) (*ListBaremetalDhcpResponse, error) { resp, err := s.cs.newRequest("listBaremetalDhcp", p.toURLValues()) if err != nil { return nil, err } var r ListBaremetalDhcpResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err ...
go
func (s *BaremetalService) ListBaremetalDhcp(p *ListBaremetalDhcpParams) (*ListBaremetalDhcpResponse, error) { resp, err := s.cs.newRequest("listBaremetalDhcp", p.toURLValues()) if err != nil { return nil, err } var r ListBaremetalDhcpResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err ...
[ "func", "(", "s", "*", "BaremetalService", ")", "ListBaremetalDhcp", "(", "p", "*", "ListBaremetalDhcpParams", ")", "(", "*", "ListBaremetalDhcpResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", "\"",...
// list baremetal dhcp servers
[ "list", "baremetal", "dhcp", "servers" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/BaremetalService.go#L715-L727
23,883
xanzy/go-cloudstack
cloudstack/BaremetalService.go
NewListBaremetalPxeServersParams
func (s *BaremetalService) NewListBaremetalPxeServersParams(physicalnetworkid string) *ListBaremetalPxeServersParams { p := &ListBaremetalPxeServersParams{} p.p = make(map[string]interface{}) p.p["physicalnetworkid"] = physicalnetworkid return p }
go
func (s *BaremetalService) NewListBaremetalPxeServersParams(physicalnetworkid string) *ListBaremetalPxeServersParams { p := &ListBaremetalPxeServersParams{} p.p = make(map[string]interface{}) p.p["physicalnetworkid"] = physicalnetworkid return p }
[ "func", "(", "s", "*", "BaremetalService", ")", "NewListBaremetalPxeServersParams", "(", "physicalnetworkid", "string", ")", "*", "ListBaremetalPxeServersParams", "{", "p", ":=", "&", "ListBaremetalPxeServersParams", "{", "}", "\n", "p", ".", "p", "=", "make", "("...
// You should always use this function to get a new ListBaremetalPxeServersParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "ListBaremetalPxeServersParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/BaremetalService.go#L814-L819
23,884
xanzy/go-cloudstack
cloudstack/BaremetalService.go
ListBaremetalPxeServers
func (s *BaremetalService) ListBaremetalPxeServers(p *ListBaremetalPxeServersParams) (*ListBaremetalPxeServersResponse, error) { resp, err := s.cs.newRequest("listBaremetalPxeServers", p.toURLValues()) if err != nil { return nil, err } var r ListBaremetalPxeServersResponse if err := json.Unmarshal(resp, &r); er...
go
func (s *BaremetalService) ListBaremetalPxeServers(p *ListBaremetalPxeServersParams) (*ListBaremetalPxeServersResponse, error) { resp, err := s.cs.newRequest("listBaremetalPxeServers", p.toURLValues()) if err != nil { return nil, err } var r ListBaremetalPxeServersResponse if err := json.Unmarshal(resp, &r); er...
[ "func", "(", "s", "*", "BaremetalService", ")", "ListBaremetalPxeServers", "(", "p", "*", "ListBaremetalPxeServersParams", ")", "(", "*", "ListBaremetalPxeServersResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(...
// list baremetal pxe server
[ "list", "baremetal", "pxe", "server" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/BaremetalService.go#L822-L834
23,885
xanzy/go-cloudstack
cloudstack/BaremetalService.go
NewListBaremetalRctParams
func (s *BaremetalService) NewListBaremetalRctParams() *ListBaremetalRctParams { p := &ListBaremetalRctParams{} p.p = make(map[string]interface{}) return p }
go
func (s *BaremetalService) NewListBaremetalRctParams() *ListBaremetalRctParams { p := &ListBaremetalRctParams{} p.p = make(map[string]interface{}) return p }
[ "func", "(", "s", "*", "BaremetalService", ")", "NewListBaremetalRctParams", "(", ")", "*", "ListBaremetalRctParams", "{", "p", ":=", "&", "ListBaremetalRctParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "string", "]", "interface", "{...
// You should always use this function to get a new ListBaremetalRctParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "ListBaremetalRctParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/BaremetalService.go#L897-L901
23,886
xanzy/go-cloudstack
cloudstack/BaremetalService.go
ListBaremetalRct
func (s *BaremetalService) ListBaremetalRct(p *ListBaremetalRctParams) (*ListBaremetalRctResponse, error) { resp, err := s.cs.newRequest("listBaremetalRct", p.toURLValues()) if err != nil { return nil, err } var r ListBaremetalRctResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } r...
go
func (s *BaremetalService) ListBaremetalRct(p *ListBaremetalRctParams) (*ListBaremetalRctResponse, error) { resp, err := s.cs.newRequest("listBaremetalRct", p.toURLValues()) if err != nil { return nil, err } var r ListBaremetalRctResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } r...
[ "func", "(", "s", "*", "BaremetalService", ")", "ListBaremetalRct", "(", "p", "*", "ListBaremetalRctParams", ")", "(", "*", "ListBaremetalRctResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"", "\"", ...
// list baremetal rack configuration
[ "list", "baremetal", "rack", "configuration" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/BaremetalService.go#L904-L916
23,887
xanzy/go-cloudstack
cloudstack/BaremetalService.go
NewNotifyBaremetalProvisionDoneParams
func (s *BaremetalService) NewNotifyBaremetalProvisionDoneParams(mac string) *NotifyBaremetalProvisionDoneParams { p := &NotifyBaremetalProvisionDoneParams{} p.p = make(map[string]interface{}) p.p["mac"] = mac return p }
go
func (s *BaremetalService) NewNotifyBaremetalProvisionDoneParams(mac string) *NotifyBaremetalProvisionDoneParams { p := &NotifyBaremetalProvisionDoneParams{} p.p = make(map[string]interface{}) p.p["mac"] = mac return p }
[ "func", "(", "s", "*", "BaremetalService", ")", "NewNotifyBaremetalProvisionDoneParams", "(", "mac", "string", ")", "*", "NotifyBaremetalProvisionDoneParams", "{", "p", ":=", "&", "NotifyBaremetalProvisionDoneParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(...
// You should always use this function to get a new NotifyBaremetalProvisionDoneParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "NotifyBaremetalProvisionDoneParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/BaremetalService.go#L953-L958
23,888
xanzy/go-cloudstack
cloudstack/BaremetalService.go
NotifyBaremetalProvisionDone
func (s *BaremetalService) NotifyBaremetalProvisionDone(p *NotifyBaremetalProvisionDoneParams) (*NotifyBaremetalProvisionDoneResponse, error) { resp, err := s.cs.newRequest("notifyBaremetalProvisionDone", p.toURLValues()) if err != nil { return nil, err } var r NotifyBaremetalProvisionDoneResponse if err := jso...
go
func (s *BaremetalService) NotifyBaremetalProvisionDone(p *NotifyBaremetalProvisionDoneParams) (*NotifyBaremetalProvisionDoneResponse, error) { resp, err := s.cs.newRequest("notifyBaremetalProvisionDone", p.toURLValues()) if err != nil { return nil, err } var r NotifyBaremetalProvisionDoneResponse if err := jso...
[ "func", "(", "s", "*", "BaremetalService", ")", "NotifyBaremetalProvisionDone", "(", "p", "*", "NotifyBaremetalProvisionDoneParams", ")", "(", "*", "NotifyBaremetalProvisionDoneResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "ne...
// Notify provision has been done on a host. This api is for baremetal virtual router service, not for end user
[ "Notify", "provision", "has", "been", "done", "on", "a", "host", ".", "This", "api", "is", "for", "baremetal", "virtual", "router", "service", "not", "for", "end", "user" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/BaremetalService.go#L961-L988
23,889
xanzy/go-cloudstack
cloudstack/PortableIPService.go
NewCreatePortableIpRangeParams
func (s *PortableIPService) NewCreatePortableIpRangeParams(endip string, gateway string, netmask string, regionid int, startip string) *CreatePortableIpRangeParams { p := &CreatePortableIpRangeParams{} p.p = make(map[string]interface{}) p.p["endip"] = endip p.p["gateway"] = gateway p.p["netmask"] = netmask p.p["r...
go
func (s *PortableIPService) NewCreatePortableIpRangeParams(endip string, gateway string, netmask string, regionid int, startip string) *CreatePortableIpRangeParams { p := &CreatePortableIpRangeParams{} p.p = make(map[string]interface{}) p.p["endip"] = endip p.p["gateway"] = gateway p.p["netmask"] = netmask p.p["r...
[ "func", "(", "s", "*", "PortableIPService", ")", "NewCreatePortableIpRangeParams", "(", "endip", "string", ",", "gateway", "string", ",", "netmask", "string", ",", "regionid", "int", ",", "startip", "string", ")", "*", "CreatePortableIpRangeParams", "{", "p", ":...
// You should always use this function to get a new CreatePortableIpRangeParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "CreatePortableIpRangeParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/PortableIPService.go#L108-L117
23,890
xanzy/go-cloudstack
cloudstack/PortableIPService.go
CreatePortableIpRange
func (s *PortableIPService) CreatePortableIpRange(p *CreatePortableIpRangeParams) (*CreatePortableIpRangeResponse, error) { resp, err := s.cs.newRequest("createPortableIpRange", p.toURLValues()) if err != nil { return nil, err } var r CreatePortableIpRangeResponse if err := json.Unmarshal(resp, &r); err != nil ...
go
func (s *PortableIPService) CreatePortableIpRange(p *CreatePortableIpRangeParams) (*CreatePortableIpRangeResponse, error) { resp, err := s.cs.newRequest("createPortableIpRange", p.toURLValues()) if err != nil { return nil, err } var r CreatePortableIpRangeResponse if err := json.Unmarshal(resp, &r); err != nil ...
[ "func", "(", "s", "*", "PortableIPService", ")", "CreatePortableIpRange", "(", "p", "*", "CreatePortableIpRangeParams", ")", "(", "*", "CreatePortableIpRangeResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", ...
// adds a range of portable public IP's to a region
[ "adds", "a", "range", "of", "portable", "public", "IP", "s", "to", "a", "region" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/PortableIPService.go#L120-L152
23,891
xanzy/go-cloudstack
cloudstack/PortableIPService.go
NewDeletePortableIpRangeParams
func (s *PortableIPService) NewDeletePortableIpRangeParams(id string) *DeletePortableIpRangeParams { p := &DeletePortableIpRangeParams{} p.p = make(map[string]interface{}) p.p["id"] = id return p }
go
func (s *PortableIPService) NewDeletePortableIpRangeParams(id string) *DeletePortableIpRangeParams { p := &DeletePortableIpRangeParams{} p.p = make(map[string]interface{}) p.p["id"] = id return p }
[ "func", "(", "s", "*", "PortableIPService", ")", "NewDeletePortableIpRangeParams", "(", "id", "string", ")", "*", "DeletePortableIpRangeParams", "{", "p", ":=", "&", "DeletePortableIpRangeParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", ...
// You should always use this function to get a new DeletePortableIpRangeParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "DeletePortableIpRangeParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/PortableIPService.go#L204-L209
23,892
xanzy/go-cloudstack
cloudstack/PortableIPService.go
DeletePortableIpRange
func (s *PortableIPService) DeletePortableIpRange(p *DeletePortableIpRangeParams) (*DeletePortableIpRangeResponse, error) { resp, err := s.cs.newRequest("deletePortableIpRange", p.toURLValues()) if err != nil { return nil, err } var r DeletePortableIpRangeResponse if err := json.Unmarshal(resp, &r); err != nil ...
go
func (s *PortableIPService) DeletePortableIpRange(p *DeletePortableIpRangeParams) (*DeletePortableIpRangeResponse, error) { resp, err := s.cs.newRequest("deletePortableIpRange", p.toURLValues()) if err != nil { return nil, err } var r DeletePortableIpRangeResponse if err := json.Unmarshal(resp, &r); err != nil ...
[ "func", "(", "s", "*", "PortableIPService", ")", "DeletePortableIpRange", "(", "p", "*", "DeletePortableIpRangeParams", ")", "(", "*", "DeletePortableIpRangeResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", ...
// deletes a range of portable public IP's associated with a region
[ "deletes", "a", "range", "of", "portable", "public", "IP", "s", "associated", "with", "a", "region" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/PortableIPService.go#L212-L239
23,893
xanzy/go-cloudstack
cloudstack/PortableIPService.go
NewListPortableIpRangesParams
func (s *PortableIPService) NewListPortableIpRangesParams() *ListPortableIpRangesParams { p := &ListPortableIpRangesParams{} p.p = make(map[string]interface{}) return p }
go
func (s *PortableIPService) NewListPortableIpRangesParams() *ListPortableIpRangesParams { p := &ListPortableIpRangesParams{} p.p = make(map[string]interface{}) return p }
[ "func", "(", "s", "*", "PortableIPService", ")", "NewListPortableIpRangesParams", "(", ")", "*", "ListPortableIpRangesParams", "{", "p", ":=", "&", "ListPortableIpRangesParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "string", "]", "int...
// You should always use this function to get a new ListPortableIpRangesParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "ListPortableIpRangesParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/PortableIPService.go#L319-L323
23,894
xanzy/go-cloudstack
cloudstack/PortableIPService.go
ListPortableIpRanges
func (s *PortableIPService) ListPortableIpRanges(p *ListPortableIpRangesParams) (*ListPortableIpRangesResponse, error) { resp, err := s.cs.newRequest("listPortableIpRanges", p.toURLValues()) if err != nil { return nil, err } var r ListPortableIpRangesResponse if err := json.Unmarshal(resp, &r); err != nil { r...
go
func (s *PortableIPService) ListPortableIpRanges(p *ListPortableIpRangesParams) (*ListPortableIpRangesResponse, error) { resp, err := s.cs.newRequest("listPortableIpRanges", p.toURLValues()) if err != nil { return nil, err } var r ListPortableIpRangesResponse if err := json.Unmarshal(resp, &r); err != nil { r...
[ "func", "(", "s", "*", "PortableIPService", ")", "ListPortableIpRanges", "(", "p", "*", "ListPortableIpRangesParams", ")", "(", "*", "ListPortableIpRangesResponse", ",", "error", ")", "{", "resp", ",", "err", ":=", "s", ".", "cs", ".", "newRequest", "(", "\"...
// list portable IP ranges
[ "list", "portable", "IP", "ranges" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/PortableIPService.go#L359-L371
23,895
xanzy/go-cloudstack
cloudstack/ResourcetagsService.go
NewCreateTagsParams
func (s *ResourcetagsService) NewCreateTagsParams(resourceids []string, resourcetype string, tags map[string]string) *CreateTagsParams { p := &CreateTagsParams{} p.p = make(map[string]interface{}) p.p["resourceids"] = resourceids p.p["resourcetype"] = resourcetype p.p["tags"] = tags return p }
go
func (s *ResourcetagsService) NewCreateTagsParams(resourceids []string, resourcetype string, tags map[string]string) *CreateTagsParams { p := &CreateTagsParams{} p.p = make(map[string]interface{}) p.p["resourceids"] = resourceids p.p["resourcetype"] = resourcetype p.p["tags"] = tags return p }
[ "func", "(", "s", "*", "ResourcetagsService", ")", "NewCreateTagsParams", "(", "resourceids", "[", "]", "string", ",", "resourcetype", "string", ",", "tags", "map", "[", "string", "]", "string", ")", "*", "CreateTagsParams", "{", "p", ":=", "&", "CreateTagsP...
// You should always use this function to get a new CreateTagsParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "CreateTagsParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ResourcetagsService.go#L91-L98
23,896
xanzy/go-cloudstack
cloudstack/ResourcetagsService.go
NewDeleteTagsParams
func (s *ResourcetagsService) NewDeleteTagsParams(resourceids []string, resourcetype string) *DeleteTagsParams { p := &DeleteTagsParams{} p.p = make(map[string]interface{}) p.p["resourceids"] = resourceids p.p["resourcetype"] = resourcetype return p }
go
func (s *ResourcetagsService) NewDeleteTagsParams(resourceids []string, resourcetype string) *DeleteTagsParams { p := &DeleteTagsParams{} p.p = make(map[string]interface{}) p.p["resourceids"] = resourceids p.p["resourcetype"] = resourcetype return p }
[ "func", "(", "s", "*", "ResourcetagsService", ")", "NewDeleteTagsParams", "(", "resourceids", "[", "]", "string", ",", "resourcetype", "string", ")", "*", "DeleteTagsParams", "{", "p", ":=", "&", "DeleteTagsParams", "{", "}", "\n", "p", ".", "p", "=", "mak...
// You should always use this function to get a new DeleteTagsParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "DeleteTagsParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ResourcetagsService.go#L189-L195
23,897
xanzy/go-cloudstack
cloudstack/ResourcetagsService.go
NewListStorageTagsParams
func (s *ResourcetagsService) NewListStorageTagsParams() *ListStorageTagsParams { p := &ListStorageTagsParams{} p.p = make(map[string]interface{}) return p }
go
func (s *ResourcetagsService) NewListStorageTagsParams() *ListStorageTagsParams { p := &ListStorageTagsParams{} p.p = make(map[string]interface{}) return p }
[ "func", "(", "s", "*", "ResourcetagsService", ")", "NewListStorageTagsParams", "(", ")", "*", "ListStorageTagsParams", "{", "p", ":=", "&", "ListStorageTagsParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "string", "]", "interface", "{...
// You should always use this function to get a new ListStorageTagsParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "ListStorageTagsParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ResourcetagsService.go#L282-L286
23,898
xanzy/go-cloudstack
cloudstack/ResourcetagsService.go
NewListTagsParams
func (s *ResourcetagsService) NewListTagsParams() *ListTagsParams { p := &ListTagsParams{} p.p = make(map[string]interface{}) return p }
go
func (s *ResourcetagsService) NewListTagsParams() *ListTagsParams { p := &ListTagsParams{} p.p = make(map[string]interface{}) return p }
[ "func", "(", "s", "*", "ResourcetagsService", ")", "NewListTagsParams", "(", ")", "*", "ListTagsParams", "{", "p", ":=", "&", "ListTagsParams", "{", "}", "\n", "p", ".", "p", "=", "make", "(", "map", "[", "string", "]", "interface", "{", "}", ")", "\...
// You should always use this function to get a new ListTagsParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "ListTagsParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/ResourcetagsService.go#L511-L515
23,899
xanzy/go-cloudstack
cloudstack/NetworkOfferingService.go
NewCreateNetworkOfferingParams
func (s *NetworkOfferingService) NewCreateNetworkOfferingParams(displaytext string, guestiptype string, name string, supportedservices []string, traffictype string) *CreateNetworkOfferingParams { p := &CreateNetworkOfferingParams{} p.p = make(map[string]interface{}) p.p["displaytext"] = displaytext p.p["guestiptype...
go
func (s *NetworkOfferingService) NewCreateNetworkOfferingParams(displaytext string, guestiptype string, name string, supportedservices []string, traffictype string) *CreateNetworkOfferingParams { p := &CreateNetworkOfferingParams{} p.p = make(map[string]interface{}) p.p["displaytext"] = displaytext p.p["guestiptype...
[ "func", "(", "s", "*", "NetworkOfferingService", ")", "NewCreateNetworkOfferingParams", "(", "displaytext", "string", ",", "guestiptype", "string", ",", "name", "string", ",", "supportedservices", "[", "]", "string", ",", "traffictype", "string", ")", "*", "Create...
// You should always use this function to get a new CreateNetworkOfferingParams instance, // as then you are sure you have configured all required params
[ "You", "should", "always", "use", "this", "function", "to", "get", "a", "new", "CreateNetworkOfferingParams", "instance", "as", "then", "you", "are", "sure", "you", "have", "configured", "all", "required", "params" ]
b6f53ed3282d22b6446422879587b0a78e1b0f11
https://github.com/xanzy/go-cloudstack/blob/b6f53ed3282d22b6446422879587b0a78e1b0f11/cloudstack/NetworkOfferingService.go#L285-L294