package
2.0.0-20241209100706-e3a3b7c07d26
Repository: https://github.com/gophercloud/utils.git
Documentation: pkg.go.dev
# Packages
archivepolicies unit tests.
# Functions
Create requests the creation of a new Gnocchi archive policy on the server.
Delete accepts a Gnocchi archive policy by its name.
ExtractArchivePolicies interprets the results of a single page from a List() call, producing a slice of ArchivePolicy structs.
Get retrieves a specific Gnocchi archive policy based on its name.
List makes a request against the Gnocchi API to list archive policies.
Update accepts a UpdateOpts and updates an existing Gnocchi archive policy using the values provided.
# Structs
ArchivePolicy represents a Gnocchi archive policy.
ArchivePolicyDefinition represents definition of how metrics will be saved with the selected archive policy.
ArchivePolicyDefinitionOpts represents definition of how metrics of new or updated Archive Policy will be saved with the selected archive policy.
ArchivePolicyPage abstracts the raw results of making a List() request against the Gnocchi API.
CreateOpts specifies parameters of a new Archive Policy.
CreateResult represents the result of a create operation.
DeleteResult represents the result of a delete operation.
GetResult represents the result of a get operation.
UpdateOpts represents options used to update an archive policy.
UpdateResult represents the result of an update operation.
# Interfaces
CreateOptsBuilder allows extensions to add additional parameters to the Create request.
UpdateOptsBuilder allows extensions to add additional parameters to the Update request.