package
2.0.0-20241209100706-e3a3b7c07d26
Repository: https://github.com/gophercloud/utils.git
Documentation: pkg.go.dev
# Packages
resource types unit tests.
# Functions
Create requests the creation of a new Gnocchi resource type on the server.
Delete accepts a human-readable name and deletes the Gnocchi resource type associated with it.
ExtractResourceTypes interprets the results of a single page from a List() call, producing a slice of ResourceType structs.
Get retrieves a specific Gnocchi resource type based on its name.
List makes a request against the Gnocchi API to list resource types.
Update requests the update operation over existsing Gnocchi resource type.
# Constants
AttributeAdd represents Gnocchi resource type attribute add operation.
AttributeCommonPath represents a prefix for every attribute in the Gnocchi resource type.
AttributeRemove represents Gnocchi resource type attribute remove operation.
# Structs
Attribute represents single attribute of a Gnocchi resource type.
AttributeOpts represents options of a single resource type attribute that can be created in the Gnocchi.
AttributeUpdateOpts represents update options over a single Gnocchi resource type attribute.
CreateOpts specifies parameters of a new Gnocchi resource type.
CreateResult represents the result of a create operation.
DeleteResult represents the result of a delete operation.
GetResult represents the result of a get operation.
ResourceType represents custom Gnocchi resource type.
ResourceTypePage abstracts the raw results of making a List() request against the Gnocchi API.
UpdateOpts specifies parameters for a Gnocchi resource type update request.
UpdateResult represents the result of an update operation.
# Interfaces
CreateOptsBuilder allows to add additional parameters to the Create request.
UpdateOptsBuilder allows to add additional parameters to the Update request.
# Type aliases
AttributeOperation represents a type of operation that can be performed over Gnocchi resource type attribute.