MCPcopy Index your code
hub / github.com/apache/cloudstack-go / ListCaCertificate

Method ListCaCertificate

cloudstack/CertificateService.go:354–366  ·  view source on GitHub ↗

Lists the CA public certificate(s) as support by the configured/provided CA plugin

(p *ListCaCertificateParams)

Source from the content-addressed store, hash-verified

352
353// Lists the CA public certificate(s) as support by the configured/provided CA plugin
354func (s *CertificateService) ListCaCertificate(p *ListCaCertificateParams) (*ListCaCertificateResponse, error) {
355 resp, err := s.cs.newRequest("listCaCertificate", p.toURLValues())
356 if err != nil {
357 return nil, err
358 }
359
360 var r ListCaCertificateResponse
361 if err := json.Unmarshal(resp, &r); err != nil {
362 return nil, err
363 }
364
365 return &r, nil
366}
367
368type ListCaCertificateResponse struct {
369 Count int `json:"count"`

Callers

nothing calls this directly

Calls 2

newRequestMethod · 0.80
toURLValuesMethod · 0.45

Tested by

no test coverage detected