Documentation ¶
Index ¶
- type Service
- func (s Service) CreateDownloadLink(ctx context.Context, req *service.CreateDownloadLinkRequest) (resp *service.CreateDownloadLinkResponse, err error)
- func (s Service) CreateDownloadLocation(ctx context.Context, req *service.CreateDownloadLocationRequest) (*service.CreateDownloadLocationResponse, error)
- func (s Service) CreateUploadLocation(ctx context.Context, req *service.CreateUploadLocationRequest) (*service.CreateUploadLocationResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { service.DataProxyServiceServer // contains filtered or unexported fields }
func NewService ¶
func NewService(cfg config.DataProxyConfig, nodeExec interfaces.NodeExecutionInterface, dataStore *storage.DataStore) (Service, error)
func (Service) CreateDownloadLink ¶ added in v1.1.55
func (s Service) CreateDownloadLink(ctx context.Context, req *service.CreateDownloadLinkRequest) ( resp *service.CreateDownloadLinkResponse, err error)
CreateDownloadLink retrieves the requested artifact type for a given execution (wf, node, task) as a signed url(s).
func (Service) CreateDownloadLocation ¶ added in v1.1.17
func (s Service) CreateDownloadLocation(ctx context.Context, req *service.CreateDownloadLocationRequest) ( *service.CreateDownloadLocationResponse, error)
CreateDownloadLocation creates a temporary signed url to allow callers to download content.
func (Service) CreateUploadLocation ¶
func (s Service) CreateUploadLocation(ctx context.Context, req *service.CreateUploadLocationRequest) ( *service.CreateUploadLocationResponse, error)
CreateUploadLocation creates a temporary signed url to allow callers to upload content.
Click to show internal directories.
Click to hide internal directories.