package
2.0.0-20241209100706-e3a3b7c07d26
Repository: https://github.com/gophercloud/utils.git
Documentation: pkg.go.dev
# Packages
resources unit tests.
# Functions
Create requests the creation of a new Gnocchi resource on the server.
Delete accepts a unique ID and deletes the Gnocchi resource associated with it.
ExtractResources interprets the results of a single page from a List() call, producing a slice of Resource structs.
Get retrieves a specific Gnocchi resource based on its type and ID.
List returns a Pager which allows you to iterate over a collection of resources.
Update accepts a UpdateOpts struct and updates an existing Gnocchi resource using the values provided.
# Structs
CreateOpts specifies parameters of a new Gnocchi resource.
CreateResult represents the result of a create operation.
DeleteResult represents the result of a delete operation.
GetResult represents the result of a get operation.
ListOpts allows the limiting and sorting of paginated collections through the Gnocchi API.
Resource is an entity representing anything in your infrastructure that you will associate metric(s) with.
ResourcePage abstracts the raw results of making a List() request against the Gnocchi API.
UpdateOpts represents options used to update a network.
UpdateResult represents the result of an update operation.
# Interfaces
CreateOptsBuilder allows to add additional parameters to the Create request.
ListOptsBuilder allows extensions to add additional parameters to the List request.
UpdateOptsBuilder allows extensions to add additional parameters to the Update request.