Documentation ¶
Index ¶
Constants ¶
View Source
const ( VolumePathKFPLauncher = "/kfp-launcher" KFPLauncherPath = VolumePathKFPLauncher + "/launch" // Env var names EnvPodName = "KFP_POD_NAME" EnvPodUID = "KFP_POD_UID" // Env vars in metadata-grpc-configmap EnvMetadataHost = "METADATA_GRPC_SERVICE_HOST" EnvMetadataPort = "METADATA_GRPC_SERVICE_PORT" )
View Source
const OutputMetadataFilepath = "/tmp/kfp_outputs/output_metadata.json"
Variables ¶
This section is empty.
Functions ¶
func CopyThisBinary ¶
CopyThisBinary copies the running binary into destination path.
Types ¶
type ImportLauncher ¶
type ImportLauncher struct {
// contains filtered or unexported fields
}
func NewImporterLauncher ¶
func NewImporterLauncher(ctx context.Context, componentSpecJSON, importerSpecJSON, taskSpecJSON string, launcherV2Opts *LauncherV2Options, importerLauncherOpts *ImporterLauncherOptions) (l *ImportLauncher, err error)
func (*ImportLauncher) ImportSpecToMLMDArtifact ¶
type ImporterLauncherOptions ¶
type LauncherV2 ¶
type LauncherV2 struct {
// contains filtered or unexported fields
}
func NewLauncherV2 ¶
func NewLauncherV2(ctx context.Context, executionID int64, executorInputJSON, componentSpecJSON string, cmdArgs []string, opts *LauncherV2Options) (l *LauncherV2, err error)
func (*LauncherV2) Info ¶
func (l *LauncherV2) Info() string
type LauncherV2Options ¶
type LauncherV2Options struct { Namespace, PodName, PodUID, MLMDServerAddress, MLMDServerPort, PipelineName, RunID string }
Click to show internal directories.
Click to hide internal directories.