Docr::Endpoints::Volumes
The Volumes class provides methods to interact with volume-related endpoints.
This class uses the client to send requests to the server and handles responses.
Constructors
Instance methods
Creates a new volume based on the provided configuration.
- config: The configuration for creating the volume.
Returns the created volume.
Deletes a specific volume by its name.
- name: The name of the volume to delete.
- force: (Optional) Force deletion if true. Default is false.
Does not return any specific value.
Inspects a specific volume by its name.
- name: The name of the volume to inspect.
Returns details about the specified volume.