package
Version:
v2.11.4
Opens a new window with list of versions in this module.
Published: Aug 3, 2026
License: GPL-3.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Generate(ctx context.Context, baseLogDir, dagLogDir, dagName, dagRunID string) (string, error)
-
func GenerateDir(ctx context.Context, baseDir, dagDir, dagName, dagRunID string) (string, error)
-
type Config
Generate expands the configured log directories, creates the DAG-run log
directory if needed, and returns the full log file path.
GenerateDir expands the configured directories, creates the DAG-run
directory if needed, and returns the per-run directory path.
Config defines configuration for DAG run log file creation.
LogDir is kept for backward compatibility with log-specific call sites.
LogFile constructs the scheduler log filename using the current timestamp and
a truncated DAG-run ID.
RunDir creates and returns the per-run directory based on the configuration.
Validate checks that essential fields are provided.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.