Lists the CA public certificate(s) as support by the configured/provided CA plugin
(p *ListCaCertificateParams)
| 352 | |
| 353 | // Lists the CA public certificate(s) as support by the configured/provided CA plugin |
| 354 | func (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 | |
| 368 | type ListCaCertificateResponse struct { |
| 369 | Count int `json:"count"` |
nothing calls this directly
no test coverage detected