Documentation
¶
Index ¶
- type EnvironmentClient
- func (c *EnvironmentClient) GetDataDirectory(ctx context.Context, handle int64) (int64, error)
- func (c *EnvironmentClient) GetDownloadCacheDirectory(ctx context.Context, handle int64) (int64, error)
- func (c *EnvironmentClient) GetExternalStorageDirectory(ctx context.Context, handle int64) (int64, error)
- func (c *EnvironmentClient) GetExternalStoragePublicDirectory(ctx context.Context, handle int64, arg0 string) (int64, error)
- func (c *EnvironmentClient) GetExternalStorageState0(ctx context.Context, handle int64) (string, error)
- func (c *EnvironmentClient) GetExternalStorageState1_1(ctx context.Context, handle int64, arg0 int64) (string, error)
- func (c *EnvironmentClient) GetRootDirectory(ctx context.Context, handle int64) (int64, error)
- func (c *EnvironmentClient) GetStorageDirectory(ctx context.Context, handle int64) (int64, error)
- func (c *EnvironmentClient) GetStorageState(ctx context.Context, handle int64, arg0 int64) (string, error)
- func (c *EnvironmentClient) IsExternalStorageEmulated0(ctx context.Context, handle int64) (bool, error)
- func (c *EnvironmentClient) IsExternalStorageEmulated1_1(ctx context.Context, handle int64, arg0 int64) (bool, error)
- func (c *EnvironmentClient) IsExternalStorageLegacy0(ctx context.Context, handle int64) (bool, error)
- func (c *EnvironmentClient) IsExternalStorageLegacy1_1(ctx context.Context, handle int64, arg0 int64) (bool, error)
- func (c *EnvironmentClient) IsExternalStorageManager0(ctx context.Context, handle int64) (bool, error)
- func (c *EnvironmentClient) IsExternalStorageManager1_1(ctx context.Context, handle int64, arg0 int64) (bool, error)
- func (c *EnvironmentClient) IsExternalStorageRemovable0(ctx context.Context, handle int64) (bool, error)
- func (c *EnvironmentClient) IsExternalStorageRemovable1_1(ctx context.Context, handle int64, arg0 int64) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvironmentClient ¶
type EnvironmentClient struct {
// contains filtered or unexported fields
}
EnvironmentClient wraps the gRPC EnvironmentService client.
func NewEnvironmentClient ¶
func NewEnvironmentClient(cc grpc.ClientConnInterface) *EnvironmentClient
NewEnvironmentClient creates a new Environment client.
func (*EnvironmentClient) GetDataDirectory ¶
GetDataDirectory calls the GetDataDirectory RPC.
func (*EnvironmentClient) GetDownloadCacheDirectory ¶
func (c *EnvironmentClient) GetDownloadCacheDirectory(ctx context.Context, handle int64) (int64, error)
GetDownloadCacheDirectory calls the GetDownloadCacheDirectory RPC.
func (*EnvironmentClient) GetExternalStorageDirectory ¶
func (c *EnvironmentClient) GetExternalStorageDirectory(ctx context.Context, handle int64) (int64, error)
GetExternalStorageDirectory calls the GetExternalStorageDirectory RPC.
func (*EnvironmentClient) GetExternalStoragePublicDirectory ¶
func (c *EnvironmentClient) GetExternalStoragePublicDirectory(ctx context.Context, handle int64, arg0 string) (int64, error)
GetExternalStoragePublicDirectory calls the GetExternalStoragePublicDirectory RPC.
func (*EnvironmentClient) GetExternalStorageState0 ¶
func (c *EnvironmentClient) GetExternalStorageState0(ctx context.Context, handle int64) (string, error)
GetExternalStorageState0 calls the GetExternalStorageState0 RPC.
func (*EnvironmentClient) GetExternalStorageState1_1 ¶
func (c *EnvironmentClient) GetExternalStorageState1_1(ctx context.Context, handle int64, arg0 int64) (string, error)
GetExternalStorageState1_1 calls the GetExternalStorageState1_1 RPC.
func (*EnvironmentClient) GetRootDirectory ¶
GetRootDirectory calls the GetRootDirectory RPC.
func (*EnvironmentClient) GetStorageDirectory ¶
GetStorageDirectory calls the GetStorageDirectory RPC.
func (*EnvironmentClient) GetStorageState ¶
func (c *EnvironmentClient) GetStorageState(ctx context.Context, handle int64, arg0 int64) (string, error)
GetStorageState calls the GetStorageState RPC.
func (*EnvironmentClient) IsExternalStorageEmulated0 ¶
func (c *EnvironmentClient) IsExternalStorageEmulated0(ctx context.Context, handle int64) (bool, error)
IsExternalStorageEmulated0 calls the IsExternalStorageEmulated0 RPC.
func (*EnvironmentClient) IsExternalStorageEmulated1_1 ¶
func (c *EnvironmentClient) IsExternalStorageEmulated1_1(ctx context.Context, handle int64, arg0 int64) (bool, error)
IsExternalStorageEmulated1_1 calls the IsExternalStorageEmulated1_1 RPC.
func (*EnvironmentClient) IsExternalStorageLegacy0 ¶
func (c *EnvironmentClient) IsExternalStorageLegacy0(ctx context.Context, handle int64) (bool, error)
IsExternalStorageLegacy0 calls the IsExternalStorageLegacy0 RPC.
func (*EnvironmentClient) IsExternalStorageLegacy1_1 ¶
func (c *EnvironmentClient) IsExternalStorageLegacy1_1(ctx context.Context, handle int64, arg0 int64) (bool, error)
IsExternalStorageLegacy1_1 calls the IsExternalStorageLegacy1_1 RPC.
func (*EnvironmentClient) IsExternalStorageManager0 ¶
func (c *EnvironmentClient) IsExternalStorageManager0(ctx context.Context, handle int64) (bool, error)
IsExternalStorageManager0 calls the IsExternalStorageManager0 RPC.
func (*EnvironmentClient) IsExternalStorageManager1_1 ¶
func (c *EnvironmentClient) IsExternalStorageManager1_1(ctx context.Context, handle int64, arg0 int64) (bool, error)
IsExternalStorageManager1_1 calls the IsExternalStorageManager1_1 RPC.
func (*EnvironmentClient) IsExternalStorageRemovable0 ¶
func (c *EnvironmentClient) IsExternalStorageRemovable0(ctx context.Context, handle int64) (bool, error)
IsExternalStorageRemovable0 calls the IsExternalStorageRemovable0 RPC.
func (*EnvironmentClient) IsExternalStorageRemovable1_1 ¶
func (c *EnvironmentClient) IsExternalStorageRemovable1_1(ctx context.Context, handle int64, arg0 int64) (bool, error)
IsExternalStorageRemovable1_1 calls the IsExternalStorageRemovable1_1 RPC.