Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExecutionContextData ¶
type ExecutionContextData struct {
Inputs map[string]any `json:"inputs"`
Config map[string]any `json:"config"`
Secrets map[string]string `json:"secrets"`
StoryInfo engram.StoryInfo `json:"storyInfo"`
StoryRef *refs.StoryReference `json:"storyRef,omitempty"`
StartedAt metav1.Time `json:"startedAt"`
Storage *StorageConfig `json:"storage,omitempty"`
Execution ExecutionInfo `json:"execution"`
}
ExecutionContextData is the structure of the data provided by the bobrapet controller to the SDK.
func LoadExecutionContextData ¶
func LoadExecutionContextData() (*ExecutionContextData, error)
LoadExecutionContextData loads the execution context from environment variables.
type ExecutionInfo ¶
ExecutionInfo holds runtime parameters for the current step execution.
type S3StorageConfig ¶
S3StorageConfig holds S3-specific storage configuration.
type StorageConfig ¶
type StorageConfig struct {
Provider string
S3 *S3StorageConfig
Timeout time.Duration
}
StorageConfig holds the configuration for object storage.
Click to show internal directories.
Click to hide internal directories.