Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
dataproxyconnect.UnimplementedDataProxyServiceHandler
// contains filtered or unexported fields
}
func NewService ¶
func NewService(cfg config.DataProxyConfig, dataStore *storage.DataStore, taskClient taskconnect.TaskServiceClient, triggerClient triggerconnect.TriggerServiceClient) *Service
NewService creates a new DataProxyService instance.
func (*Service) CreateUploadLocation ¶
func (s *Service) CreateUploadLocation( ctx context.Context, req *connect.Request[dataproxy.CreateUploadLocationRequest], ) (*connect.Response[dataproxy.CreateUploadLocationResponse], error)
CreateUploadLocation generates a signed URL for uploading data to the configured storage backend.
func (*Service) UploadInputs ¶ added in v2.0.11
func (s *Service) UploadInputs( ctx context.Context, req *connect.Request[dataproxy.UploadInputsRequest], ) (*connect.Response[dataproxy.UploadInputsResponse], error)
UploadInputs persists the given inputs to storage and returns a URI and hash that can be passed to CreateRun via OffloadedInputData.
Click to show internal directories.
Click to hide internal directories.