Versions in this module Expand all Collapse all v2 v2.2.1 Sep 25, 2024 Changes in this version + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type DeleteResult struct + func Delete(ctx context.Context, client *gophercloud.ServiceClient, id string) (r DeleteResult) + type ListOpts struct + Binary string + Host string + func (opts ListOpts) ToServicesListQuery() (string, error) + type ListOptsBuilder interface + ToServicesListQuery func() (string, error) + type Service struct + Binary string + DisabledReason string + ForcedDown bool + Host string + ID string + State string + Status string + UpdatedAt time.Time + Zone string + func ExtractServices(r pagination.Page) ([]Service, error) + func (r *Service) UnmarshalJSON(b []byte) error + type ServicePage struct + func (page ServicePage) IsEmpty() (bool, error) + type ServiceStatus string + const ServiceDisabled + const ServiceEnabled + type UpdateOpts struct + DisabledReason string + ForcedDown bool + Status ServiceStatus + func (opts UpdateOpts) ToServiceUpdateMap() (map[string]any, error) + type UpdateResult struct + func Update(ctx context.Context, client *gophercloud.ServiceClient, id string, ...) (r UpdateResult) + func (r UpdateResult) Extract() (*Service, error)