Versions in this module Expand all Collapse all v4 v4.0.0 Jun 4, 2024 Changes in this version + func List(client *eclcloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type CreateOpts struct + Enabled *bool + Extra map[string]interface{} + Type string + func (opts CreateOpts) ToServiceCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToServiceCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *eclcloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Service, error) + type DeleteResult struct + func Delete(client *eclcloud.ServiceClient, serviceID string) (r DeleteResult) + type GetResult struct + func Get(client *eclcloud.ServiceClient, serviceID string) (r GetResult) + func (r GetResult) Extract() (*Service, error) + type ListOpts struct + Name string + ServiceType string + func (opts ListOpts) ToServiceListMap() (string, error) + type ListOptsBuilder interface + ToServiceListMap func() (string, error) + type Service struct + Enabled bool + Extra map[string]interface{} + ID string + Links map[string]interface{} + Type string + func ExtractServices(r pagination.Page) ([]Service, error) + func (r *Service) UnmarshalJSON(b []byte) error + type ServicePage struct + func (r ServicePage) IsEmpty() (bool, error) + func (r ServicePage) NextPageURL() (string, error) + type UpdateOpts struct + Enabled *bool + Extra map[string]interface{} + Type string + func (opts UpdateOpts) ToServiceUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToServiceUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(client *eclcloud.ServiceClient, serviceID string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Service, error) Other modules containing this package github.com/nttcom/eclcloud github.com/nttcom/eclcloud/v2 github.com/nttcom/eclcloud/v3