Documentation
¶
Index ¶
- type HandleClient
- func (c *HandleClient) CreateWithSha256(ctx context.Context, arg0 int64, arg1 string, arg2 int64, arg3 string) (int64, error)
- func (c *HandleClient) DescribeContents(ctx context.Context) (int32, error)
- func (c *HandleClient) Equals(ctx context.Context, arg0 int64) (bool, error)
- func (c *HandleClient) GetExpiryTimeMillis(ctx context.Context) (int64, error)
- func (c *HandleClient) GetLabel(ctx context.Context) (int64, error)
- func (c *HandleClient) GetSha256Digest(ctx context.Context) (int64, error)
- func (c *HandleClient) GetTag(ctx context.Context) (string, error)
- func (c *HandleClient) HashCode(ctx context.Context) (int32, error)
- func (c *HandleClient) ToString(ctx context.Context) (string, error)
- func (c *HandleClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
- type StoreManagerClient
- func (c *StoreManagerClient) AbandonSession(ctx context.Context, arg0 int64) error
- func (c *StoreManagerClient) AcquireLease2(ctx context.Context, arg0 int64, arg1 int32) error
- func (c *StoreManagerClient) AcquireLease2_2(ctx context.Context, arg0 int64, arg1 string) error
- func (c *StoreManagerClient) AcquireLease3_1(ctx context.Context, arg0 int64, arg1 int32, arg2 int64) error
- func (c *StoreManagerClient) AcquireLease3_3(ctx context.Context, arg0 int64, arg1 string, arg2 int64) error
- func (c *StoreManagerClient) CreateSession(ctx context.Context, arg0 int64) (int64, error)
- func (c *StoreManagerClient) GetLeasedBlobs(ctx context.Context) (int64, error)
- func (c *StoreManagerClient) GetRemainingLeaseQuotaBytes(ctx context.Context) (int64, error)
- func (c *StoreManagerClient) OpenBlob(ctx context.Context, arg0 int64) (int64, error)
- func (c *StoreManagerClient) OpenSession(ctx context.Context, arg0 int64) (int64, error)
- func (c *StoreManagerClient) ReleaseLease(ctx context.Context, arg0 int64) error
- type StoreManagerSessionClient
- func (c *StoreManagerSessionClient) Abandon(ctx context.Context) error
- func (c *StoreManagerSessionClient) AllowPackageAccess(ctx context.Context, arg0 string, arg1 int64) error
- func (c *StoreManagerSessionClient) AllowPublicAccess(ctx context.Context) error
- func (c *StoreManagerSessionClient) AllowSameSignatureAccess(ctx context.Context) error
- func (c *StoreManagerSessionClient) Close(ctx context.Context) error
- func (c *StoreManagerSessionClient) GetSize(ctx context.Context) (int64, error)
- func (c *StoreManagerSessionClient) IsPackageAccessAllowed(ctx context.Context, arg0 string, arg1 int64) (bool, error)
- func (c *StoreManagerSessionClient) IsPublicAccessAllowed(ctx context.Context) (bool, error)
- func (c *StoreManagerSessionClient) IsSameSignatureAccessAllowed(ctx context.Context) (bool, error)
- func (c *StoreManagerSessionClient) OpenRead(ctx context.Context) (int64, error)
- func (c *StoreManagerSessionClient) OpenWrite(ctx context.Context, arg0 int64, arg1 int64) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandleClient ¶ added in v0.0.6
type HandleClient struct {
// contains filtered or unexported fields
}
HandleClient wraps the gRPC HandleService client.
func NewHandleClient ¶ added in v0.0.6
func NewHandleClient(cc grpc.ClientConnInterface) *HandleClient
NewHandleClient creates a new Handle client.
func (*HandleClient) CreateWithSha256 ¶ added in v0.0.6
func (c *HandleClient) CreateWithSha256(ctx context.Context, arg0 int64, arg1 string, arg2 int64, arg3 string) (int64, error)
CreateWithSha256 calls the CreateWithSha256 RPC.
func (*HandleClient) DescribeContents ¶ added in v0.0.6
func (c *HandleClient) DescribeContents(ctx context.Context) (int32, error)
DescribeContents calls the DescribeContents RPC.
func (*HandleClient) GetExpiryTimeMillis ¶ added in v0.0.6
func (c *HandleClient) GetExpiryTimeMillis(ctx context.Context) (int64, error)
GetExpiryTimeMillis calls the GetExpiryTimeMillis RPC.
func (*HandleClient) GetLabel ¶ added in v0.0.6
func (c *HandleClient) GetLabel(ctx context.Context) (int64, error)
GetLabel calls the GetLabel RPC.
func (*HandleClient) GetSha256Digest ¶ added in v0.0.6
func (c *HandleClient) GetSha256Digest(ctx context.Context) (int64, error)
GetSha256Digest calls the GetSha256Digest RPC.
func (*HandleClient) GetTag ¶ added in v0.0.6
func (c *HandleClient) GetTag(ctx context.Context) (string, error)
GetTag calls the GetTag RPC.
func (*HandleClient) HashCode ¶ added in v0.0.6
func (c *HandleClient) HashCode(ctx context.Context) (int32, error)
HashCode calls the HashCode RPC.
func (*HandleClient) ToString ¶ added in v0.0.6
func (c *HandleClient) ToString(ctx context.Context) (string, error)
ToString calls the ToString RPC.
func (*HandleClient) WriteToParcel ¶ added in v0.0.6
WriteToParcel calls the WriteToParcel RPC.
type StoreManagerClient ¶ added in v0.0.6
type StoreManagerClient struct {
// contains filtered or unexported fields
}
StoreManagerClient wraps the gRPC StoreManagerService client.
func NewStoreManagerClient ¶ added in v0.0.6
func NewStoreManagerClient(cc grpc.ClientConnInterface) *StoreManagerClient
NewStoreManagerClient creates a new StoreManager client.
func (*StoreManagerClient) AbandonSession ¶ added in v0.0.6
func (c *StoreManagerClient) AbandonSession(ctx context.Context, arg0 int64) error
AbandonSession calls the AbandonSession RPC.
func (*StoreManagerClient) AcquireLease2 ¶ added in v0.0.6
AcquireLease2 calls the AcquireLease2 RPC.
func (*StoreManagerClient) AcquireLease2_2 ¶ added in v0.0.6
AcquireLease2_2 calls the AcquireLease2_2 RPC.
func (*StoreManagerClient) AcquireLease3_1 ¶ added in v0.0.6
func (c *StoreManagerClient) AcquireLease3_1(ctx context.Context, arg0 int64, arg1 int32, arg2 int64) error
AcquireLease3_1 calls the AcquireLease3_1 RPC.
func (*StoreManagerClient) AcquireLease3_3 ¶ added in v0.0.6
func (c *StoreManagerClient) AcquireLease3_3(ctx context.Context, arg0 int64, arg1 string, arg2 int64) error
AcquireLease3_3 calls the AcquireLease3_3 RPC.
func (*StoreManagerClient) CreateSession ¶ added in v0.0.6
CreateSession calls the CreateSession RPC.
func (*StoreManagerClient) GetLeasedBlobs ¶ added in v0.0.6
func (c *StoreManagerClient) GetLeasedBlobs(ctx context.Context) (int64, error)
GetLeasedBlobs calls the GetLeasedBlobs RPC.
func (*StoreManagerClient) GetRemainingLeaseQuotaBytes ¶ added in v0.0.6
func (c *StoreManagerClient) GetRemainingLeaseQuotaBytes(ctx context.Context) (int64, error)
GetRemainingLeaseQuotaBytes calls the GetRemainingLeaseQuotaBytes RPC.
func (*StoreManagerClient) OpenSession ¶ added in v0.0.6
OpenSession calls the OpenSession RPC.
func (*StoreManagerClient) ReleaseLease ¶ added in v0.0.6
func (c *StoreManagerClient) ReleaseLease(ctx context.Context, arg0 int64) error
ReleaseLease calls the ReleaseLease RPC.
type StoreManagerSessionClient ¶ added in v0.0.6
type StoreManagerSessionClient struct {
// contains filtered or unexported fields
}
StoreManagerSessionClient wraps the gRPC StoreManagerSessionService client.
func NewStoreManagerSessionClient ¶ added in v0.0.6
func NewStoreManagerSessionClient(cc grpc.ClientConnInterface) *StoreManagerSessionClient
NewStoreManagerSessionClient creates a new StoreManagerSession client.
func (*StoreManagerSessionClient) Abandon ¶ added in v0.0.6
func (c *StoreManagerSessionClient) Abandon(ctx context.Context) error
Abandon calls the Abandon RPC.
func (*StoreManagerSessionClient) AllowPackageAccess ¶ added in v0.0.6
func (c *StoreManagerSessionClient) AllowPackageAccess(ctx context.Context, arg0 string, arg1 int64) error
AllowPackageAccess calls the AllowPackageAccess RPC.
func (*StoreManagerSessionClient) AllowPublicAccess ¶ added in v0.0.6
func (c *StoreManagerSessionClient) AllowPublicAccess(ctx context.Context) error
AllowPublicAccess calls the AllowPublicAccess RPC.
func (*StoreManagerSessionClient) AllowSameSignatureAccess ¶ added in v0.0.6
func (c *StoreManagerSessionClient) AllowSameSignatureAccess(ctx context.Context) error
AllowSameSignatureAccess calls the AllowSameSignatureAccess RPC.
func (*StoreManagerSessionClient) Close ¶ added in v0.0.6
func (c *StoreManagerSessionClient) Close(ctx context.Context) error
Close calls the Close RPC.
func (*StoreManagerSessionClient) GetSize ¶ added in v0.0.6
func (c *StoreManagerSessionClient) GetSize(ctx context.Context) (int64, error)
GetSize calls the GetSize RPC.
func (*StoreManagerSessionClient) IsPackageAccessAllowed ¶ added in v0.0.6
func (c *StoreManagerSessionClient) IsPackageAccessAllowed(ctx context.Context, arg0 string, arg1 int64) (bool, error)
IsPackageAccessAllowed calls the IsPackageAccessAllowed RPC.
func (*StoreManagerSessionClient) IsPublicAccessAllowed ¶ added in v0.0.6
func (c *StoreManagerSessionClient) IsPublicAccessAllowed(ctx context.Context) (bool, error)
IsPublicAccessAllowed calls the IsPublicAccessAllowed RPC.
func (*StoreManagerSessionClient) IsSameSignatureAccessAllowed ¶ added in v0.0.6
func (c *StoreManagerSessionClient) IsSameSignatureAccessAllowed(ctx context.Context) (bool, error)
IsSameSignatureAccessAllowed calls the IsSameSignatureAccessAllowed RPC.