storage

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: CC0-1.0 Imports: 3 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
}

Client wraps the gRPC ManagerService client.

func NewClient

func NewClient(cc grpc.ClientConnInterface) *Client

NewClient creates a new storage client.

func (*Client) AllocateBytes2

func (c *Client) AllocateBytes2(ctx context.Context, arg0 int64, arg1 int64) error

AllocateBytes2 calls the AllocateBytes2 RPC.

func (*Client) AllocateBytes2_1

func (c *Client) AllocateBytes2_1(ctx context.Context, arg0 int64, arg1 int64) error

AllocateBytes2_1 calls the AllocateBytes2_1 RPC.

func (*Client) GetAllocatableBytes

func (c *Client) GetAllocatableBytes(ctx context.Context, arg0 int64) (int64, error)

GetAllocatableBytes calls the GetAllocatableBytes RPC.

func (*Client) GetCacheQuotaBytes

func (c *Client) GetCacheQuotaBytes(ctx context.Context, arg0 int64) (int64, error)

GetCacheQuotaBytes calls the GetCacheQuotaBytes RPC.

func (*Client) GetCacheSizeBytes

func (c *Client) GetCacheSizeBytes(ctx context.Context, arg0 int64) (int64, error)

GetCacheSizeBytes calls the GetCacheSizeBytes RPC.

func (*Client) GetManageSpaceActivityIntent

func (c *Client) GetManageSpaceActivityIntent(ctx context.Context, arg0 string, arg1 int32) (int64, error)

GetManageSpaceActivityIntent calls the GetManageSpaceActivityIntent RPC.

func (*Client) GetMountedObbPath

func (c *Client) GetMountedObbPath(ctx context.Context, arg0 string) (string, error)

GetMountedObbPath calls the GetMountedObbPath RPC.

func (*Client) GetPrimaryStorageVolume

func (c *Client) GetPrimaryStorageVolume(ctx context.Context) (int64, error)

GetPrimaryStorageVolume calls the GetPrimaryStorageVolume RPC.

func (*Client) GetRecentStorageVolumes

func (c *Client) GetRecentStorageVolumes(ctx context.Context) (int64, error)

GetRecentStorageVolumes calls the GetRecentStorageVolumes RPC.

func (*Client) GetStorageVolume1

func (c *Client) GetStorageVolume1(ctx context.Context, arg0 int64) (int64, error)

GetStorageVolume1 calls the GetStorageVolume1 RPC.

func (*Client) GetStorageVolume1_1

func (c *Client) GetStorageVolume1_1(ctx context.Context, arg0 int64) (int64, error)

GetStorageVolume1_1 calls the GetStorageVolume1_1 RPC.

func (*Client) GetStorageVolumes

func (c *Client) GetStorageVolumes(ctx context.Context) (int64, error)

GetStorageVolumes calls the GetStorageVolumes RPC.

func (*Client) GetStorageVolumesIncludingSharedProfiles

func (c *Client) GetStorageVolumesIncludingSharedProfiles(ctx context.Context) (int64, error)

GetStorageVolumesIncludingSharedProfiles calls the GetStorageVolumesIncludingSharedProfiles RPC.

func (*Client) GetUuidForPath

func (c *Client) GetUuidForPath(ctx context.Context, arg0 int64) (int64, error)

GetUuidForPath calls the GetUuidForPath RPC.

func (*Client) IsAllocationSupported

func (c *Client) IsAllocationSupported(ctx context.Context, arg0 int64) (bool, error)

IsAllocationSupported calls the IsAllocationSupported RPC.

func (*Client) IsCacheBehaviorGroup

func (c *Client) IsCacheBehaviorGroup(ctx context.Context, arg0 int64) (bool, error)

IsCacheBehaviorGroup calls the IsCacheBehaviorGroup RPC.

func (*Client) IsCacheBehaviorTombstone

func (c *Client) IsCacheBehaviorTombstone(ctx context.Context, arg0 int64) (bool, error)

IsCacheBehaviorTombstone calls the IsCacheBehaviorTombstone RPC.

func (*Client) IsCheckpointSupported

func (c *Client) IsCheckpointSupported(ctx context.Context) (bool, error)

IsCheckpointSupported calls the IsCheckpointSupported RPC.

func (*Client) IsEncrypted

func (c *Client) IsEncrypted(ctx context.Context, arg0 int64) (bool, error)

IsEncrypted calls the IsEncrypted RPC.

func (*Client) IsObbMounted

func (c *Client) IsObbMounted(ctx context.Context, arg0 string) (bool, error)

IsObbMounted calls the IsObbMounted RPC.

func (*Client) MountObb

func (c *Client) MountObb(ctx context.Context, arg0 string, arg1 string, arg2 int64) (bool, error)

MountObb calls the MountObb RPC.

func (*Client) RegisterStorageVolumeCallback

func (c *Client) RegisterStorageVolumeCallback(ctx context.Context, arg0 int64, arg1 int64) error

RegisterStorageVolumeCallback calls the RegisterStorageVolumeCallback RPC.

func (*Client) SetCacheBehaviorGroup

func (c *Client) SetCacheBehaviorGroup(ctx context.Context, arg0 int64, arg1 bool) error

SetCacheBehaviorGroup calls the SetCacheBehaviorGroup RPC.

func (*Client) SetCacheBehaviorTombstone

func (c *Client) SetCacheBehaviorTombstone(ctx context.Context, arg0 int64, arg1 bool) error

SetCacheBehaviorTombstone calls the SetCacheBehaviorTombstone RPC.

func (*Client) UnmountObb

func (c *Client) UnmountObb(ctx context.Context, arg0 string, arg1 bool, arg2 int64) (bool, error)

UnmountObb calls the UnmountObb RPC.

func (*Client) UnregisterStorageVolumeCallback

func (c *Client) UnregisterStorageVolumeCallback(ctx context.Context, arg0 int64) error

UnregisterStorageVolumeCallback calls the UnregisterStorageVolumeCallback RPC.

Jump to

Keyboard shortcuts

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