Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func List ¶
func List(c *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager
Types ¶
type Certificate ¶
type Certificate struct {
ID string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Type string `json:"type"`
Domain string `json:"domain"`
PrivateKey string `json:"private_key"`
Certificate string `json:"certificate"`
CreateTime string `json:"create_time"`
UpdateTime string `json:"update_time"`
}
func ExtractCertificates ¶
func ExtractCertificates(r pagination.Page) ([]Certificate, error)
type CertificatePage ¶
type CertificatePage struct {
pagination.LinkedPageBase
}
func (CertificatePage) IsEmpty ¶
func (r CertificatePage) IsEmpty() (bool, error)
func (CertificatePage) NextPageURL ¶
func (r CertificatePage) NextPageURL() (string, error)
type CreateOpts ¶
type CreateOpts struct {
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
Type string `json:"type,omitempty"`
Domain string `json:"domain,omitempty"`
PrivateKey string `json:"private_key"`
Certificate string `json:"certificate" required:"true"`
}
func (CreateOpts) ToCertificateCreateMap ¶
func (opts CreateOpts) ToCertificateCreateMap() (map[string]interface{}, error)
type CreateOptsBuilder ¶
type CreateResult ¶
type CreateResult struct {
// contains filtered or unexported fields
}
func Create ¶
func Create(c *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult)
func (CreateResult) Extract ¶
func (r CreateResult) Extract() (*Certificate, error)
type DeleteResult ¶
type DeleteResult struct {
gophercloud.ErrResult
}
func Delete ¶
func Delete(c *gophercloud.ServiceClient, id string) (r DeleteResult)
type GetResult ¶
type GetResult struct {
// contains filtered or unexported fields
}
func Get ¶
func Get(c *gophercloud.ServiceClient, id string) (r GetResult)
func (GetResult) Extract ¶
func (r GetResult) Extract() (*Certificate, error)
type ListOpts ¶
type ListOpts struct {
Marker string `q:"marker"`
Limit int `q:"limit"`
PageReverse *bool `q:"page_reverse"`
}
func (ListOpts) ToPolicyListMap ¶
type ListOptsBuilder ¶
type UpdateOpts ¶
type UpdateOpts struct {
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
Domain string `json:"domain,omitempty"`
PrivateKey string `json:"private_key,omitempty"`
Certificate string `json:"certificate,omitempty"`
}
func (UpdateOpts) ToCertificateUpdateMap ¶
func (opts UpdateOpts) ToCertificateUpdateMap() (map[string]interface{}, error)
type UpdateOptsBuilder ¶
type UpdateResult ¶
type UpdateResult struct {
// contains filtered or unexported fields
}
func Update ¶
func Update(c *gophercloud.ServiceClient, id string, opts UpdateOptsBuilder) (r UpdateResult)
func (UpdateResult) Extract ¶
func (r UpdateResult) Extract() (*Certificate, error)
Click to show internal directories.
Click to hide internal directories.