Versions in this module Expand all Collapse all v0 v0.28.0 Jan 6, 2022 v0.27.0 Jan 6, 2022 v0.26.0 Jan 6, 2022 v0.24.3 Jan 6, 2022 v0.24.2 Jan 6, 2022 v0.24.1 Jan 6, 2022 Changes in this version + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type CreateOpts struct + Attributes map[string]string + Description string + Email string + Masters []string + Name string + TTL int + Type string + func (opts CreateOpts) ToZoneCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToZoneCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Zone, error) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, zoneID string) (r DeleteResult) + func (r DeleteResult) Extract() (*Zone, error) + type GetResult struct + func Get(client *gophercloud.ServiceClient, zoneID string) (r GetResult) + func (r GetResult) Extract() (*Zone, error) + type ListOpts struct + Description string + Email string + Limit int + Marker string + Name string + SortDir string + SortKey string + Status string + TTL int + Type string + func (opts ListOpts) ToZoneListQuery() (string, error) + type ListOptsBuilder interface + ToZoneListQuery func() (string, error) + type UpdateOpts struct + Description *string + Email string + Masters []string + TTL int + func (opts UpdateOpts) ToZoneUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToZoneUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(client *gophercloud.ServiceClient, zoneID string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Zone, error) + type Zone struct + Action string + Attributes map[string]string + CreatedAt time.Time + Description string + Email string + ID string + Links map[string]interface{} + Masters []string + Name string + PoolID string + ProjectID string + Serial int + Status string + TTL int + TransferredAt time.Time + Type string + UpdatedAt time.Time + Version int + func ExtractZones(r pagination.Page) ([]Zone, error) + func (r *Zone) UnmarshalJSON(b []byte) error + type ZonePage struct + func (r ZonePage) IsEmpty() (bool, error)