2022-02-10 22:06:57 +00:00
|
|
|
//go:build !solution
|
2020-04-05 13:24:48 +00:00
|
|
|
|
2020-04-04 18:45:29 +00:00
|
|
|
package filecache
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
|
|
|
"go.uber.org/zap"
|
|
|
|
|
2024-06-05 17:36:34 +00:00
|
|
|
"gitlab.com/slon/shad-go/distbuild/pkg/build"
|
2020-04-04 18:45:29 +00:00
|
|
|
)
|
|
|
|
|
2024-06-05 17:36:34 +00:00
|
|
|
type Client struct {
|
|
|
|
}
|
2020-04-04 18:45:29 +00:00
|
|
|
|
|
|
|
func NewClient(l *zap.Logger, endpoint string) *Client {
|
2020-04-05 13:24:48 +00:00
|
|
|
panic("implement me")
|
2020-04-04 18:45:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (c *Client) Upload(ctx context.Context, id build.ID, localPath string) error {
|
2020-04-05 13:24:48 +00:00
|
|
|
panic("implement me")
|
2020-04-04 18:45:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (c *Client) Download(ctx context.Context, localCache *Cache, id build.ID) error {
|
2020-04-05 13:24:48 +00:00
|
|
|
panic("implement me")
|
2020-04-04 18:45:29 +00:00
|
|
|
}
|