Documentation
¶
Index ¶
- type Client
- func (c *Client) AbandonSession(ctx context.Context, arg0 int64) error
- func (c *Client) AcquireLease2(ctx context.Context, arg0 int64, arg1 int32) error
- func (c *Client) AcquireLease2_2(ctx context.Context, arg0 int64, arg1 string) error
- func (c *Client) AcquireLease3_1(ctx context.Context, arg0 int64, arg1 int32, arg2 int64) error
- func (c *Client) AcquireLease3_3(ctx context.Context, arg0 int64, arg1 string, arg2 int64) error
- func (c *Client) CreateSession(ctx context.Context, arg0 int64) (int64, error)
- func (c *Client) GetLeasedBlobs(ctx context.Context) (int64, error)
- func (c *Client) GetRemainingLeaseQuotaBytes(ctx context.Context) (int64, error)
- func (c *Client) OpenBlob(ctx context.Context, arg0 int64) (int64, error)
- func (c *Client) OpenSession(ctx context.Context, arg0 int64) (int64, error)
- func (c *Client) ReleaseLease(ctx context.Context, arg0 int64) error
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 StoreManagerService client.
func NewClient ¶
func NewClient(cc grpc.ClientConnInterface) *Client
NewClient creates a new blob client.
func (*Client) AbandonSession ¶
AbandonSession calls the AbandonSession RPC.
func (*Client) AcquireLease2 ¶
AcquireLease2 calls the AcquireLease2 RPC.
func (*Client) AcquireLease2_2 ¶
AcquireLease2_2 calls the AcquireLease2_2 RPC.
func (*Client) AcquireLease3_1 ¶
AcquireLease3_1 calls the AcquireLease3_1 RPC.
func (*Client) AcquireLease3_3 ¶
AcquireLease3_3 calls the AcquireLease3_3 RPC.
func (*Client) CreateSession ¶
CreateSession calls the CreateSession RPC.
func (*Client) GetLeasedBlobs ¶
GetLeasedBlobs calls the GetLeasedBlobs RPC.
func (*Client) GetRemainingLeaseQuotaBytes ¶
GetRemainingLeaseQuotaBytes calls the GetRemainingLeaseQuotaBytes RPC.
func (*Client) OpenSession ¶
OpenSession calls the OpenSession RPC.
Click to show internal directories.
Click to hide internal directories.