dataproxy

package
v1.1.131 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2023 License: Apache-2.0 Imports: 25 Imported by: 1

Documentation

Index

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 (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

CreateDownloadLocation creates a temporary signed url to allow callers to download content.

func (Service) CreateUploadLocation

CreateUploadLocation creates a temporary signed url to allow callers to upload content.

func (Service) GetCompleteTaskExecutionID added in v1.1.103

func (s Service) GetCompleteTaskExecutionID(ctx context.Context, taskExecID core.TaskExecutionIdentifier) (*core.TaskExecutionIdentifier, error)

GetCompleteTaskExecutionID returns the task execution identifier for the task execution with the Task ID filled in. The one coming from the node execution doesn't have this as this is not data encapsulated in the flyte url.

func (Service) GetData added in v1.1.91

func (Service) GetDataFromNodeExecution added in v1.1.103

func (s Service) GetDataFromNodeExecution(ctx context.Context, nodeExecID core.NodeExecutionIdentifier, ioType common.ArtifactType, name string) (
	*service.GetDataResponse, error)

func (Service) GetDataFromTaskExecution added in v1.1.103

func (s Service) GetDataFromTaskExecution(ctx context.Context, taskExecID core.TaskExecutionIdentifier, ioType common.ArtifactType, name string) (
	*service.GetDataResponse, error)

func (Service) GetTaskExecutionID added in v1.1.91

func (s Service) GetTaskExecutionID(ctx context.Context, attempt int, nodeExecID core.NodeExecutionIdentifier) (*core.TaskExecutionIdentifier, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL