volume

package
v0.1.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *Client

func (*Client) DeleteVolume

func (c *Client) DeleteVolume(id string) error

func (*Client) Get

func (c *Client) Get(id string) (*models.Volume, error)

func (*Client) GetAll

func (c *Client) GetAll() (*models.Volumes, error)

func (*Client) GetAllPurgeableByLastUpdateDate

func (c *Client) GetAllPurgeableByLastUpdateDate(before, since time.Duration, expr string) ([]*models.VolumeReference, error)

Returns all the Purgeable volumes by Last Update Date

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL