Documentation
¶
Index ¶
- func Setup(ctx context.Context, sc *app.SetupContext) error
- type TranslatorService
- func (s *TranslatorService) JsonValuesToLiterals(ctx context.Context, ...) (*connect.Response[workflow.JsonValuesToLiteralsResponse], error)
- func (s *TranslatorService) LaunchFormJsonToLiterals(ctx context.Context, ...) (*connect.Response[workflow.LaunchFormJsonToLiteralsResponse], error)
- func (s *TranslatorService) LiteralsToLaunchFormJson(ctx context.Context, ...) (*connect.Response[workflow.LiteralsToLaunchFormJsonResponse], error)
- func (s *TranslatorService) TaskSpecToLaunchFormJson(ctx context.Context, ...) (*connect.Response[workflow.TaskSpecToLaunchFormJsonResponse], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TranslatorService ¶ added in v2.0.14
type TranslatorService struct {
workflowconnect.UnimplementedTranslatorServiceHandler
}
TranslatorService implements the TranslatorServiceHandler interface for translating between Flyte literals and JSON representations. It is served from the dataproxy binary so that translation requests do not transit the control plane.
func NewTranslatorService ¶ added in v2.0.14
func NewTranslatorService() *TranslatorService
func (*TranslatorService) JsonValuesToLiterals ¶ added in v2.0.14
func (s *TranslatorService) JsonValuesToLiterals( ctx context.Context, req *connect.Request[workflow.JsonValuesToLiteralsRequest], ) (*connect.Response[workflow.JsonValuesToLiteralsResponse], error)
func (*TranslatorService) LaunchFormJsonToLiterals ¶ added in v2.0.14
func (s *TranslatorService) LaunchFormJsonToLiterals( ctx context.Context, req *connect.Request[workflow.LaunchFormJsonToLiteralsRequest], ) (*connect.Response[workflow.LaunchFormJsonToLiteralsResponse], error)
func (*TranslatorService) LiteralsToLaunchFormJson ¶ added in v2.0.14
func (s *TranslatorService) LiteralsToLaunchFormJson( ctx context.Context, req *connect.Request[workflow.LiteralsToLaunchFormJsonRequest], ) (*connect.Response[workflow.LiteralsToLaunchFormJsonResponse], error)
func (*TranslatorService) TaskSpecToLaunchFormJson ¶ added in v2.0.14
func (s *TranslatorService) TaskSpecToLaunchFormJson( ctx context.Context, req *connect.Request[workflow.TaskSpecToLaunchFormJsonRequest], ) (*connect.Response[workflow.TaskSpecToLaunchFormJsonResponse], error)
Click to show internal directories.
Click to hide internal directories.