block

package
v2.64.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCommands

func GetCommands() *core.Commands

func GetGeneratedCommands

func GetGeneratedCommands() *core.Commands

Types

type FetchSnapshots added in v2.63.0

type FetchSnapshots struct{}

func (*FetchSnapshots) Fetch added in v2.63.0

func (f *FetchSnapshots) Fetch(
	ctx context.Context,
	zone scw.Zone,
	projectID string,
) ([]fetch.ResourceResult, error)

Fetch fetches all block storage snapshots in a given zone.

func (*FetchSnapshots) LocalityType added in v2.63.0

func (f *FetchSnapshots) LocalityType() fetch.LocalityType

func (*FetchSnapshots) Namespace added in v2.63.0

func (f *FetchSnapshots) Namespace() string

func (*FetchSnapshots) Resource added in v2.63.0

func (f *FetchSnapshots) Resource() string

type FetchVolumes added in v2.63.0

type FetchVolumes struct{}

func (*FetchVolumes) Fetch added in v2.63.0

func (f *FetchVolumes) Fetch(
	ctx context.Context,
	zone scw.Zone,
	projectID string,
) ([]fetch.ResourceResult, error)

Fetch fetches all block volumes in a given zone.

func (*FetchVolumes) LocalityType added in v2.63.0

func (f *FetchVolumes) LocalityType() fetch.LocalityType

func (*FetchVolumes) Namespace added in v2.63.0

func (f *FetchVolumes) Namespace() string

func (*FetchVolumes) Resource added in v2.63.0

func (f *FetchVolumes) Resource() string

Jump to

Keyboard shortcuts

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