Versions in this module Expand all Collapse all v1 v1.0.21 Mar 14, 2020 Changes in this version + var PathCaching = Path + var PathDomains = Path + var PathOrigins = Path + func List(c *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type Append struct + Value value + func (a Append) ToCDNServiceUpdateMap() map[string]interface{} + type CacheRule struct + Name string + Rules []TTLRule + TTL int + type CacheRuleList []CacheRule + type CreateOpts struct + Caching []CacheRule + Domains []Domain + FlavorID string + Name string + Origins []Origin + Restrictions []Restriction + func (opts CreateOpts) ToCDNServiceCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToCDNServiceCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(c *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (string, error) + type DeleteResult struct + func Delete(c *gophercloud.ServiceClient, idOrURL string) (r DeleteResult) + type Domain struct + Domain string + Protocol string + type DomainList []Domain + type Error struct + Message string + type GetResult struct + func Get(c *gophercloud.ServiceClient, idOrURL string) (r GetResult) + func (r GetResult) Extract() (*Service, error) + type Insertion struct + Index int64 + Value value + func (opts Insertion) ToCDNServiceUpdateMap() map[string]interface{} + type ListOpts struct + Limit int + Marker string + func (opts ListOpts) ToCDNServiceListQuery() (string, error) + type ListOptsBuilder interface + ToCDNServiceListQuery func() (string, error) + type NameReplacement struct + NewName string + func (r NameReplacement) ToCDNServiceUpdateMap() map[string]interface{} + type Origin struct + Origin string + Port int + Rules []OriginRule + SSL bool + type OriginList []Origin + type OriginRule struct + Name string + RequestURL string + type Patch interface + ToCDNServiceUpdateMap func() map[string]interface{} + type Path struct + type Removal struct + All bool + Index int64 + Path Path + func (opts Removal) ToCDNServiceUpdateMap() map[string]interface{} + type Replacement struct + Index int64 + Value value + func (r Replacement) ToCDNServiceUpdateMap() map[string]interface{} + type Restriction struct + Name string + Rules []RestrictionRule + type RestrictionRule struct + Name string + Referrer string + type Service struct + Caching []CacheRule + Domains []Domain + Errors []Error + FlavorID string + ID string + Links []gophercloud.Link + Name string + Origins []Origin + Restrictions []Restriction + Status string + func ExtractServices(r pagination.Page) ([]Service, error) + type ServicePage struct + func (r ServicePage) IsEmpty() (bool, error) + func (r ServicePage) LastMarker() (string, error) + type TTLRule struct + Name string + RequestURL string + type UpdateOpts []Patch + type UpdateResult struct + func Update(c *gophercloud.ServiceClient, idOrURL string, opts UpdateOpts) (r UpdateResult) + func (r UpdateResult) Extract() (string, error)