(ctx context.Context, r io.Reader, filename, digest string)
| 37 | type Uploader interface { |
| 38 | UploadFile(ctx context.Context, filepath string) (*UpDownStatus, error) |
| 39 | Upload(ctx context.Context, r io.Reader, filename, digest string) (*UpDownStatus, error) |
| 40 | // Whether the CAS is ready to accept uploads |
| 41 | IsReady(ctx context.Context) (bool, error) |
| 42 | } |
no outgoing calls