SYMBOL INDEX (1257 symbols across 115 files) FILE: .migrations/V20200123054713__initial_table_create.sql type task_def (line 4) | CREATE TABLE IF NOT EXISTS task_def ( type task_def_ports (line 25) | CREATE TABLE IF NOT EXISTS task_def_ports ( type ix_task_def_alias (line 31) | CREATE INDEX IF NOT EXISTS ix_task_def_alias ON task_def(alias) type ix_task_def_group_name (line 32) | CREATE INDEX IF NOT EXISTS ix_task_def_group_name ON task_def(group_name) type ix_task_def_image (line 33) | CREATE INDEX IF NOT EXISTS ix_task_def_image ON task_def(image) type ix_task_def_env (line 34) | CREATE INDEX IF NOT EXISTS ix_task_def_env ON task_def USING gin (env js... type task (line 39) | CREATE TABLE IF NOT EXISTS task ( type ix_task_definition_id (line 77) | CREATE INDEX IF NOT EXISTS ix_task_definition_id ON task(definition_id) type ix_task_cluster_name (line 78) | CREATE INDEX IF NOT EXISTS ix_task_cluster_name ON task(cluster_name) type ix_task_status (line 79) | CREATE INDEX IF NOT EXISTS ix_task_status ON task(status) type ix_task_group_name (line 80) | CREATE INDEX IF NOT EXISTS ix_task_group_name ON task(group_name) type ix_task_env (line 81) | CREATE INDEX IF NOT EXISTS ix_task_env ON task USING gin (env jsonb_path... type ix_task_definition_id (line 82) | CREATE INDEX IF NOT EXISTS ix_task_definition_id ON task(definition_id) type ix_task_task_arn (line 83) | CREATE INDEX IF NOT EXISTS ix_task_task_arn ON task(task_arn) type ix_task_definition_id_started_at_desc (line 84) | CREATE INDEX IF NOT EXISTS ix_task_definition_id_started_at_desc ON task... type ix_task_definition_id_started_at_desc_engine (line 85) | CREATE INDEX IF NOT EXISTS ix_task_definition_id_started_at_desc_engine ... type ix_finished_at_status_cluster_name (line 86) | CREATE INDEX IF NOT EXISTS ix_finished_at_status_cluster_name ON task US... type ix_task_definition_id_started_at_asc (line 87) | CREATE INDEX IF NOT EXISTS ix_task_definition_id_started_at_asc ON task ... type ix_task_pod_events (line 88) | CREATE INDEX IF NOT EXISTS ix_task_pod_events ON task USING gin (pod_eve... type ix_task_queued_at_status_engine (line 89) | CREATE INDEX IF NOT EXISTS ix_task_queued_at_status_engine ON task USING... type task_definition_id_engine_started_at_index (line 90) | CREATE INDEX IF NOT EXISTS task_definition_id_engine_started_at_index ON... type task_status (line 94) | CREATE TABLE IF NOT EXISTS task_status ( type ix_task_status_task_arn (line 101) | CREATE INDEX IF NOT EXISTS ix_task_status_task_arn ON task_status(task_arn) type tags (line 112) | CREATE TABLE IF NOT EXISTS tags ( type task_def_tags (line 115) | CREATE TABLE IF NOT EXISTS task_def_tags ( type worker (line 119) | CREATE TABLE IF NOT EXISTS worker ( FILE: .migrations/V20200206115000__template.sql type template (line 1) | CREATE TABLE template ( FILE: .migrations/V20200211161900__template_indicies.sql type ix_template_id (line 1) | CREATE INDEX IF NOT EXISTS ix_template_id ON template(template_id) type ix_template_name (line 2) | CREATE INDEX IF NOT EXISTS ix_template_name ON template(template_name) FILE: .migrations/V20200213101400__task_indexes.sql type ix_task_executable_id (line 1) | CREATE INDEX IF NOT EXISTS ix_task_executable_id ON task(executable_id) type ix_task_executable_id_started_at_desc (line 2) | CREATE INDEX IF NOT EXISTS ix_task_executable_id_started_at_desc ON task... type ix_task_executable_id_started_at_desc_engine (line 3) | CREATE INDEX IF NOT EXISTS ix_task_executable_id_started_at_desc_engine ... FILE: .migrations/V20250122141100__add_cluster_routing.sql type cluster_state (line 8) | CREATE TABLE IF NOT EXISTS cluster_state ( type ix_cluster_state_name (line 24) | CREATE INDEX IF NOT EXISTS ix_cluster_state_name ON cluster_state(name) type ix_cluster_state_status (line 25) | CREATE INDEX IF NOT EXISTS ix_cluster_state_status ON cluster_state(status) FILE: clients/cluster/cluster.go type Client (line 18) | type Client interface function NewClusterClient (line 26) | func NewClusterClient(conf config.Config, name string) (Client, error) { FILE: clients/cluster/eks_cluster_client.go type EKSClusterClient (line 10) | type EKSClusterClient struct method Name (line 12) | func (EKSClusterClient) Name() string { method Initialize (line 16) | func (EKSClusterClient) Initialize(conf config.Config) error { method CanBeRun (line 21) | func (EKSClusterClient) CanBeRun(clusterName string, executableResourc... method ListClusters (line 26) | func (EKSClusterClient) ListClusters() ([]state.ClusterMetadata, error) { FILE: clients/httpclient/client.go type RetryableError (line 14) | type RetryableError interface type HttpRetryableError (line 18) | type HttpRetryableError struct method Error (line 22) | func (re HttpRetryableError) Error() string { method Err (line 26) | func (re HttpRetryableError) Err() string { type RequestExecutor (line 30) | type RequestExecutor interface type defaultExecutor (line 34) | type defaultExecutor struct method Do (line 36) | func (de *defaultExecutor) Do(req *http.Request, timeout time.Duration... type Client (line 59) | type Client struct method Get (line 66) | func (c *Client) Get(path string, headers map[string]string, entity in... method Delete (line 74) | func (c *Client) Delete(path string, headers map[string]string, entity... method Put (line 82) | func (c *Client) Put(path string, headers map[string]string, inEntity ... method Post (line 90) | func (c *Client) Post(path string, headers map[string]string, inEntity... method prepareRequestNoBody (line 98) | func (c *Client) prepareRequestNoBody(method string, path string, head... method prepareRequestWithBody (line 102) | func (c *Client) prepareRequestWithBody(method string, path string, he... method makeURL (line 111) | func (c *Client) makeURL(path string) (string, error) { method makeRequest (line 133) | func (c *Client) makeRequest(method, path string, headers map[string]s... method doRequestWithRetry (line 151) | func (c *Client) doRequestWithRetry(req *http.Request, entity interfac... method retryRequest (line 163) | func (c *Client) retryRequest(sleepTime time.Duration, fn httpreqfunc)... type httpreqfunc (line 161) | type httpreqfunc FILE: clients/httpclient/client_test.go type Cupcake (line 13) | type Cupcake struct constant cupcakeResponse (line 18) | cupcakeResponse = `{"flavour": "vomit", "sprinkles": true}` type MockExecutor (line 20) | type MockExecutor struct method Do (line 24) | func (me *MockExecutor) Do(req *http.Request, timeout time.Duration, e... function TestClientRetry (line 33) | func TestClientRetry(t *testing.T) { function TestClientDo (line 55) | func TestClientDo(t *testing.T) { FILE: clients/logs/eks_cloudwatch_logs_client.go type EKSCloudWatchLogsClient (line 27) | type EKSCloudWatchLogsClient struct method Name (line 41) | func (lc *EKSCloudWatchLogsClient) Name() string { method Initialize (line 48) | func (lc *EKSCloudWatchLogsClient) Initialize(conf config.Config) error { method Logs (line 91) | func (lc *EKSCloudWatchLogsClient) Logs(executable state.Executable, r... method LogsText (line 133) | func (lc *EKSCloudWatchLogsClient) LogsText(executable state.Executabl... method toStreamName (line 138) | func (lc *EKSCloudWatchLogsClient) toStreamName(run state.Run) string { method logsToMessage (line 143) | func (lc *EKSCloudWatchLogsClient) logsToMessage(events []*cloudwatchl... method createNamespaceIfNotExists (line 158) | func (lc *EKSCloudWatchLogsClient) createNamespaceIfNotExists() error { method namespaceExists (line 170) | func (lc *EKSCloudWatchLogsClient) namespaceExists() (bool, error) { method createNamespace (line 190) | func (lc *EKSCloudWatchLogsClient) createNamespace() error { type EKSCloudWatchLog (line 34) | type EKSCloudWatchLog struct FILE: clients/logs/eks_s3_logs_client.go type EKSS3LogsClient (line 29) | type EKSS3LogsClient struct method Name (line 47) | func (lc *EKSS3LogsClient) Name() string { method Initialize (line 52) | func (lc *EKSS3LogsClient) Initialize(conf config.Config) error { method emrLogsToMessageString (line 95) | func (lc *EKSS3LogsClient) emrLogsToMessageString(run state.Run, lastS... method emrDriverLogsPath (line 187) | func (lc *EKSS3LogsClient) emrDriverLogsPath(run state.Run) (string, e... method Logs (line 199) | func (lc *EKSS3LogsClient) Logs(executable state.Executable, run state... method LogsText (line 223) | func (lc *EKSS3LogsClient) LogsText(executable state.Executable, run s... method getS3Object (line 240) | func (lc *EKSS3LogsClient) getS3Object(run state.Run) (*s3.GetObjectOu... method getS3Key (line 279) | func (lc *EKSS3LogsClient) getS3Key(s3Key *string) (*s3.GetObjectOutpu... method toS3DirName (line 291) | func (lc *EKSS3LogsClient) toS3DirName(run state.Run) string { method logsToMessage (line 296) | func (lc *EKSS3LogsClient) logsToMessage(result *s3.GetObjectOutput, w... method logsEMR (line 321) | func (lc *EKSS3LogsClient) logsEMR(w http.ResponseWriter) error { method logsToMessageString (line 327) | func (lc *EKSS3LogsClient) logsToMessageString(result *s3.GetObjectOut... type s3Log (line 40) | type s3Log struct function parseLines (line 376) | func parseLines(input []byte) (s3Log, error) { FILE: clients/logs/logs.go type Client (line 16) | type Client interface type logsClient (line 23) | type logsClient interface type byTimestamp (line 30) | type byTimestamp method Len (line 32) | func (events byTimestamp) Len() int { return len(events) } method Swap (line 33) | func (events byTimestamp) Swap(i, j int) { events[i], events[j] =... method Less (line 34) | func (events byTimestamp) Less(i, j int) bool { return *(events[i].Tim... function NewLogsClient (line 39) | func NewLogsClient(conf config.Config, logger flotillaLog.Logger, name s... FILE: clients/metrics/datadog_metrics_client.go type DatadogStatsdMetricsClient (line 13) | type DatadogStatsdMetricsClient struct method Init (line 20) | func (dd *DatadogStatsdMetricsClient) Init(conf config.Config) error { method Decrement (line 40) | func (dd *DatadogStatsdMetricsClient) Decrement(name Metric, tags []st... method Increment (line 45) | func (dd *DatadogStatsdMetricsClient) Increment(name Metric, tags []st... method Histogram (line 50) | func (dd *DatadogStatsdMetricsClient) Histogram(name Metric, value flo... method Distribution (line 55) | func (dd *DatadogStatsdMetricsClient) Distribution(name Metric, value ... method Timing (line 60) | func (dd *DatadogStatsdMetricsClient) Timing(name Metric, value time.D... method Set (line 65) | func (dd *DatadogStatsdMetricsClient) Set(name Metric, value string, t... method Event (line 70) | func (dd *DatadogStatsdMetricsClient) Event(e event) error { FILE: clients/metrics/metrics.go type Metric (line 12) | type Metric constant EngineEKSExecute (line 16) | EngineEKSExecute Metric = "engine.eks.execute" constant EngineEKSEnqueue (line 18) | EngineEKSEnqueue Metric = "engine.eks.enqueue" constant EngineEMRExecute (line 20) | EngineEMRExecute Metric = "engine.emr.execute" constant EngineEMREnqueue (line 22) | EngineEMREnqueue Metric = "engine.emr.enqueue" constant EngineEKSTerminate (line 24) | EngineEKSTerminate Metric = "engine.eks.terminate" constant EngineEMRTerminate (line 26) | EngineEMRTerminate Metric = "engine.emr.terminate" constant EngineEKSRunPodnameChange (line 28) | EngineEKSRunPodnameChange Metric = "engine.eks.run_podname_changed" constant EngineEKSNodeTriggeredScaledUp (line 30) | EngineEKSNodeTriggeredScaledUp Metric = "engine.eks.triggered_scale_up" constant StatusWorkerProcessEKSRun (line 32) | StatusWorkerProcessEKSRun Metric = "status_worker.timing.process_eks_run" constant StatusWorkerAcquireLock (line 34) | StatusWorkerAcquireLock Metric = "status_worker.timing.acquire_lock" constant StatusWorkerFetchPodMetrics (line 36) | StatusWorkerFetchPodMetrics Metric = "status_worker.timing.fetch_pod_met... constant StatusWorkerFetchUpdateStatus (line 38) | StatusWorkerFetchUpdateStatus Metric = "status_worker.timing.fetch_updat... constant StatusWorkerLockedRuns (line 40) | StatusWorkerLockedRuns Metric = "status_worker.locked_runs" constant StatusWorkerFetchMetrics (line 42) | StatusWorkerFetchMetrics Metric = "status_worker.fetch_metrics" constant StatusWorkerGetPodList (line 44) | StatusWorkerGetPodList Metric = "status_worker.get_pod_list" constant StatusWorkerGetEvents (line 46) | StatusWorkerGetEvents Metric = "status_worker.get_events" constant StatusWorkerGetJob (line 48) | StatusWorkerGetJob Metric = "status_worker.get_job" constant EngineUpdateRun (line 50) | EngineUpdateRun Metric = "engine.update_run" constant EngineEKSARAEstimationAttempted (line 52) | EngineEKSARAEstimationAttempted Metric = "engine.eks.ara.estimation_atte... constant EngineEKSARAEstimationSucceeded (line 53) | EngineEKSARAEstimationSucceeded Metric = "engine.eks.ara.estimation_succ... constant EngineEKSARAEstimationFailed (line 54) | EngineEKSARAEstimationFailed Metric = "engine.eks.ara.estimation_failed" constant EngineEKSARAResourceAdjustment (line 55) | EngineEKSARAResourceAdjustment Metric = "engine.eks.ara.resource_adjust... constant EngineEKSARANoHistoricalData (line 56) | EngineEKSARANoHistoricalData Metric = "engine.eks.ara.no_historical_d... constant EngineEKSARAHitMaxMemory (line 57) | EngineEKSARAHitMaxMemory Metric = "engine.eks.ara.hit_max_memory" constant EngineEKSARAHitMaxCPU (line 58) | EngineEKSARAHitMaxCPU Metric = "engine.eks.ara.hit_max_cpu" constant EngineEKSARAMemoryIncreaseRatio (line 59) | EngineEKSARAMemoryIncreaseRatio Metric = "engine.eks.ara.memory_increas... constant EngineEKSARACPUIncreaseRatio (line 60) | EngineEKSARACPUIncreaseRatio Metric = "engine.eks.ara.cpu_increase_r... constant EngineEKSARAFinalMemoryMB (line 61) | EngineEKSARAFinalMemoryMB Metric = "engine.eks.ara.final_memory_mb" constant EngineEKSARAFinalCPUMillicores (line 62) | EngineEKSARAFinalCPUMillicores Metric = "engine.eks.ara.final_cpu_mill... constant EngineEKSARADefaultMemory (line 63) | EngineEKSARADefaultMemory Metric = "engine.eks.ara.default_memory" constant EngineEKSARAARAMemory (line 64) | EngineEKSARAARAMemory Metric = "engine.eks.ara.ara_memory" constant EngineEKSARADefaultCPU (line 65) | EngineEKSARADefaultCPU Metric = "engine.eks.ara.default_cpu" constant EngineEKSARAARACPU (line 66) | EngineEKSARAARACPU Metric = "engine.eks.ara.ara_cpu" constant EngineEKSARAMemoryIncrease (line 67) | EngineEKSARAMemoryIncrease Metric = "engine.eks.ara.memory_increase" constant EngineEKSARACPUIncrease (line 68) | EngineEKSARACPUIncrease Metric = "engine.eks.ara.cpu_increase" constant EngineEKSARANullCommandHash (line 69) | EngineEKSARANullCommandHash Metric = "engine.eks.ara.null_command_h... type MetricTag (line 72) | type MetricTag constant StatusSuccess (line 76) | StatusSuccess MetricTag = "status:success" constant StatusFailure (line 78) | StatusFailure MetricTag = "status:failure" type Client (line 81) | type Client interface type event (line 92) | type event struct function InstantiateClient (line 102) | func InstantiateClient(conf config.Config) error { function Decrement (line 130) | func Decrement(name Metric, tags []string, rate float64) error { function Increment (line 139) | func Increment(name Metric, tags []string, rate float64) error { function Histogram (line 148) | func Histogram(name Metric, value float64, tags []string, rate float64) ... function Distribution (line 157) | func Distribution(name Metric, value float64, tags []string, rate float6... function Set (line 166) | func Set(name Metric, value string, tags []string, rate float64) error { function Event (line 175) | func Event(title string, text string, tags []string) error { function Timing (line 188) | func Timing(name Metric, value time.Duration, tags []string, rate float6... FILE: clients/middleware/client.go type Client (line 8) | type Client interface type middlewareClient (line 12) | type middlewareClient struct method AnnotateLaunchRequest (line 18) | func (mwC middlewareClient) AnnotateLaunchRequest(headers *http.Header... function NewClient (line 14) | func NewClient() (Client, error) { FILE: config/config.go type Config (line 12) | type Config interface function NewConfig (line 27) | func NewConfig(confDir *string) (Config, error) { type conf (line 45) | type conf struct method GetString (line 50) | func (c *conf) GetString(key string) string { method GetFloat64 (line 55) | func (c *conf) GetFloat64(key string) float64 { method GetInt (line 60) | func (c *conf) GetInt(key string) int { method GetBool (line 65) | func (c *conf) GetBool(key string) bool { method GetStringMapString (line 70) | func (c *conf) GetStringMapString(key string) map[string]string { method GetStringSlice (line 75) | func (c *conf) GetStringSlice(key string) []string { method IsSet (line 81) | func (c *conf) IsSet(key string) bool { FILE: config/config_test.go function TestNewConfig (line 8) | func TestNewConfig(t *testing.T) { FILE: exceptions/errors.go type MalformedInput (line 6) | type MalformedInput struct method Error (line 10) | func (e MalformedInput) Error() string { type ConflictingResource (line 18) | type ConflictingResource struct method Error (line 22) | func (e ConflictingResource) Error() string { type MissingResource (line 30) | type MissingResource struct method Error (line 34) | func (e MissingResource) Error() string { FILE: execution/adapter/eks_adapter.go type EKSAdapter (line 23) | type EKSAdapter interface type eksAdapter (line 27) | type eksAdapter struct method AdaptJobToFlotillaRun (line 40) | func (a *eksAdapter) AdaptJobToFlotillaRun(job *batchv1.Job, run state... method AdaptFlotillaDefinitionAndRunToJob (line 104) | func (a *eksAdapter) AdaptFlotillaDefinitionAndRunToJob(ctx context.Co... method constructEviction (line 174) | func (a *eksAdapter) constructEviction(ctx context.Context, run state.... method constructContainerPorts (line 191) | func (a *eksAdapter) constructContainerPorts(executable state.Executab... method constructTolerations (line 204) | func (a *eksAdapter) constructTolerations(executable state.Executable,... method constructAffinity (line 231) | func (a *eksAdapter) constructAffinity(ctx context.Context, executable... method constructResourceRequirements (line 298) | func (a *eksAdapter) constructResourceRequirements(ctx context.Context... method constructVolumeMounts (line 355) | func (a *eksAdapter) constructVolumeMounts(ctx context.Context, execut... method adaptiveResources (line 384) | func (a *eksAdapter) adaptiveResources(ctx context.Context, executable... method emitARAMetrics (line 527) | func (a *eksAdapter) emitARAMetrics(run state.Run, defaultCPU int64, d... method checkResourceBounds (line 574) | func (a *eksAdapter) checkResourceBounds(cpu int64, mem int64, isGPUJo... method getResourceDefaults (line 617) | func (a *eksAdapter) getResourceDefaults(run state.Run, executable sta... method getLastRun (line 653) | func (a *eksAdapter) getLastRun(ctx context.Context, manager state.Man... method constructCmdSlice (line 669) | func (a *eksAdapter) constructCmdSlice(cmdString string) []string { method envOverrides (line 676) | func (a *eksAdapter) envOverrides(executable state.Executable, run sta... method sanitizeEnvVar (line 708) | func (a *eksAdapter) sanitizeEnvVar(key string) string { method sanitizeLabel (line 718) | func (a *eksAdapter) sanitizeLabel(key string) string { method roundCPUMillicores (line 730) | func (a *eksAdapter) roundCPUMillicores(millicores int64) int64 { function NewEKSAdapter (line 33) | func NewEKSAdapter(logger flotillaLog.Logger) (EKSAdapter, error) { FILE: execution/adapter/eks_adapter_test.go function TestRoundCPUMillicores (line 13) | func TestRoundCPUMillicores(t *testing.T) { function TestRoundCPUAvoidsCgroupIssue (line 68) | func TestRoundCPUAvoidsCgroupIssue(t *testing.T) { type mockLogger (line 100) | type mockLogger struct method Log (line 105) | func (m *mockLogger) Log(keyvals ...interface{}) error { method Event (line 110) | func (m *mockLogger) Event(keyvals ...interface{}) error { method reset (line 115) | func (m *mockLogger) reset() { type mockStateManager (line 121) | type mockStateManager struct method EstimateRunResources (line 126) | func (m *mockStateManager) EstimateRunResources(ctx context.Context, e... method Name (line 131) | func (m *mockStateManager) Name() string { return... method Initialize (line 132) | func (m *mockStateManager) Initialize(conf config.Config) error { retu... method Cleanup (line 133) | func (m *mockStateManager) Cleanup() error ... method ListDefinitions (line 134) | func (m *mockStateManager) ListDefinitions(ctx context.Context, limit ... method GetDefinition (line 137) | func (m *mockStateManager) GetDefinition(ctx context.Context, definiti... method GetDefinitionByAlias (line 140) | func (m *mockStateManager) GetDefinitionByAlias(ctx context.Context, a... method UpdateDefinition (line 143) | func (m *mockStateManager) UpdateDefinition(ctx context.Context, defin... method CreateDefinition (line 146) | func (m *mockStateManager) CreateDefinition(ctx context.Context, d sta... method DeleteDefinition (line 147) | func (m *mockStateManager) DeleteDefinition(ctx context.Context, defin... method ListRuns (line 148) | func (m *mockStateManager) ListRuns(ctx context.Context, limit int, of... method EstimateExecutorCount (line 151) | func (m *mockStateManager) EstimateExecutorCount(ctx context.Context, ... method ExecutorOOM (line 154) | func (m *mockStateManager) ExecutorOOM(ctx context.Context, executable... method DriverOOM (line 157) | func (m *mockStateManager) DriverOOM(ctx context.Context, executableID... method GetRun (line 160) | func (m *mockStateManager) GetRun(ctx context.Context, runID string) (... method CreateRun (line 163) | func (m *mockStateManager) CreateRun(ctx context.Context, r state.Run)... method UpdateRun (line 164) | func (m *mockStateManager) UpdateRun(ctx context.Context, runID string... method ListGroups (line 167) | func (m *mockStateManager) ListGroups(ctx context.Context, limit int, ... method ListTags (line 170) | func (m *mockStateManager) ListTags(ctx context.Context, limit int, of... method ListWorkers (line 173) | func (m *mockStateManager) ListWorkers(ctx context.Context, engine str... method BatchUpdateWorkers (line 176) | func (m *mockStateManager) BatchUpdateWorkers(ctx context.Context, upd... method GetWorker (line 179) | func (m *mockStateManager) GetWorker(ctx context.Context, workerType s... method UpdateWorker (line 182) | func (m *mockStateManager) UpdateWorker(ctx context.Context, workerTyp... method GetExecutableByTypeAndID (line 185) | func (m *mockStateManager) GetExecutableByTypeAndID(ctx context.Contex... method GetTemplateByID (line 188) | func (m *mockStateManager) GetTemplateByID(ctx context.Context, templa... method GetLatestTemplateByTemplateName (line 191) | func (m *mockStateManager) GetLatestTemplateByTemplateName(ctx context... method GetTemplateByVersion (line 194) | func (m *mockStateManager) GetTemplateByVersion(ctx context.Context, t... method ListTemplates (line 197) | func (m *mockStateManager) ListTemplates(ctx context.Context, limit in... method ListTemplatesLatestOnly (line 200) | func (m *mockStateManager) ListTemplatesLatestOnly(ctx context.Context... method CreateTemplate (line 203) | func (m *mockStateManager) CreateTemplate(ctx context.Context, t state... method ListFailingNodes (line 204) | func (m *mockStateManager) ListFailingNodes(ctx context.Context) (stat... method GetPodReAttemptRate (line 207) | func (m *mockStateManager) GetPodReAttemptRate(ctx context.Context) (f... method GetNodeLifecycle (line 210) | func (m *mockStateManager) GetNodeLifecycle(ctx context.Context, execu... method GetTaskHistoricalRuntime (line 213) | func (m *mockStateManager) GetTaskHistoricalRuntime(ctx context.Contex... method CheckIdempotenceKey (line 216) | func (m *mockStateManager) CheckIdempotenceKey(ctx context.Context, id... method GetRunByEMRJobId (line 219) | func (m *mockStateManager) GetRunByEMRJobId(ctx context.Context, emrJo... method GetResources (line 222) | func (m *mockStateManager) GetResources(ctx context.Context, runID str... method ListClusterStates (line 225) | func (m *mockStateManager) ListClusterStates(ctx context.Context) ([]s... method UpdateClusterMetadata (line 228) | func (m *mockStateManager) UpdateClusterMetadata(ctx context.Context, ... method DeleteClusterMetadata (line 231) | func (m *mockStateManager) DeleteClusterMetadata(ctx context.Context, ... method GetClusterByID (line 234) | func (m *mockStateManager) GetClusterByID(ctx context.Context, cluster... method GetRunStatus (line 237) | func (m *mockStateManager) GetRunStatus(ctx context.Context, runID str... type mockExecutable (line 242) | type mockExecutable struct method GetExecutableID (line 247) | func (m *mockExecutable) GetExecutableID() *string { method GetExecutableType (line 251) | func (m *mockExecutable) GetExecutableType() *state.ExecutableType { method GetExecutableResources (line 256) | func (m *mockExecutable) GetExecutableResources() *state.ExecutableRes... method GetExecutableCommand (line 260) | func (m *mockExecutable) GetExecutableCommand(req state.ExecutionReque... method GetExecutableResourceName (line 264) | func (m *mockExecutable) GetExecutableResourceName() string { function TestAdaptiveResources_NonGPUJob_ARAEnabled_Success (line 268) | func TestAdaptiveResources_NonGPUJob_ARAEnabled_Success(t *testing.T) { function TestAdaptiveResources_GPUJob_SkipsARA (line 324) | func TestAdaptiveResources_GPUJob_SkipsARA(t *testing.T) { function TestAdaptiveResources_EstimationFailed (line 368) | func TestAdaptiveResources_EstimationFailed(t *testing.T) { function TestAdaptiveResources_MaxResourceBoundsHit (line 412) | func TestAdaptiveResources_MaxResourceBoundsHit(t *testing.T) { function TestAdaptiveResources_ARADisabled (line 520) | func TestAdaptiveResources_ARADisabled(t *testing.T) { function TestEmitARAMetrics_StructuredLog (line 562) | func TestEmitARAMetrics_StructuredLog(t *testing.T) { function TestEmitARAMetrics_NilLogger (line 626) | func TestEmitARAMetrics_NilLogger(t *testing.T) { function int64Ptr (line 639) | func int64Ptr(i int64) *int64 { FILE: execution/engine/dcm.go type DynamicClusterManager (line 23) | type DynamicClusterManager struct method getOrCreateKubeconfig (line 58) | func (dcm *DynamicClusterManager) getOrCreateKubeconfig(clusterName st... method generateKubeconfig (line 88) | func (dcm *DynamicClusterManager) generateKubeconfig(clusterName, kube... method createRestConfig (line 109) | func (dcm *DynamicClusterManager) createRestConfig(kubeconfigPath stri... method GetKubernetesClient (line 120) | func (dcm *DynamicClusterManager) GetKubernetesClient(clusterName stri... method GetMetricsClient (line 140) | func (dcm *DynamicClusterManager) GetMetricsClient(clusterName string)... method InitializeClusters (line 160) | func (dcm *DynamicClusterManager) InitializeClusters(ctx context.Conte... function getKubeconfigBaseDir (line 33) | func getKubeconfigBaseDir() string { function NewDynamicClusterManager (line 42) | func NewDynamicClusterManager(awsRegion string, log flotillaLog.Logger, ... FILE: execution/engine/eks_engine.go type EKSExecutionEngine (line 33) | type EKSExecutionEngine struct method Initialize (line 57) | func (ee *EKSExecutionEngine) Initialize(conf config.Config) error { method Execute (line 120) | func (ee *EKSExecutionEngine) Execute(ctx context.Context, executable ... method getPodName (line 218) | func (ee *EKSExecutionEngine) getPodName(run state.Run) (state.Run, er... method getInstanceDetails (line 245) | func (ee *EKSExecutionEngine) getInstanceDetails(pod v1.Pod, run state... method getPodList (line 252) | func (ee *EKSExecutionEngine) getPodList(run state.Run) (*v1.PodList, ... method getKClient (line 279) | func (ee *EKSExecutionEngine) getKClient(run state.Run) (kubernetes.Cl... method Terminate (line 295) | func (ee *EKSExecutionEngine) Terminate(ctx context.Context, run state... method Enqueue (line 329) | func (ee *EKSExecutionEngine) Enqueue(ctx context.Context, run state.R... method PollRuns (line 355) | func (ee *EKSExecutionEngine) PollRuns(ctx context.Context) ([]RunRece... method PollStatus (line 393) | func (ee *EKSExecutionEngine) PollStatus(ctx context.Context) (RunRece... method PollRunStatus (line 398) | func (ee *EKSExecutionEngine) PollRunStatus(ctx context.Context) (stat... method Define (line 403) | func (ee *EKSExecutionEngine) Define(ctx context.Context, td state.Def... method Deregister (line 408) | func (ee *EKSExecutionEngine) Deregister(ctx context.Context, definiti... method Get (line 412) | func (ee *EKSExecutionEngine) Get(ctx context.Context, run state.Run) ... method GetEvents (line 434) | func (ee *EKSExecutionEngine) GetEvents(ctx context.Context, run state... method FetchPodMetrics (line 482) | func (ee *EKSExecutionEngine) FetchPodMetrics(ctx context.Context, run... method FetchUpdateStatus (line 530) | func (ee *EKSExecutionEngine) FetchUpdateStatus(ctx context.Context, r... FILE: execution/engine/emr_engine.go type EMRExecutionEngine (line 38) | type EMRExecutionEngine struct method Initialize (line 66) | func (emr *EMRExecutionEngine) Initialize(conf config.Config) error { method getKClient (line 126) | func (emr *EMRExecutionEngine) getKClient(run state.Run) (kubernetes.C... method Execute (line 133) | func (emr *EMRExecutionEngine) Execute(ctx context.Context, executable... method generateApplicationConf (line 194) | func (emr *EMRExecutionEngine) generateApplicationConf(ctx context.Con... method generateEMRStartJobRunInput (line 251) | func (emr *EMRExecutionEngine) generateEMRStartJobRunInput(ctx context... method generateTags (line 305) | func (emr *EMRExecutionEngine) generateTags(run state.Run) map[string]... method driverPodTemplate (line 356) | func (emr *EMRExecutionEngine) driverPodTemplate(ctx context.Context, ... method executorPodTemplate (line 415) | func (emr *EMRExecutionEngine) executorPodTemplate(ctx context.Context... method writeK8ObjToS3 (line 466) | func (emr *EMRExecutionEngine) writeK8ObjToS3(obj runtime.Object, key ... method writeStringToS3 (line 489) | func (emr *EMRExecutionEngine) writeStringToS3(key *string, body []byt... method constructEviction (line 505) | func (emr *EMRExecutionEngine) constructEviction(ctx context.Context, ... method constructTolerations (line 521) | func (emr *EMRExecutionEngine) constructTolerations(executable state.E... method constructAffinity (line 543) | func (emr *EMRExecutionEngine) constructAffinity(ctx context.Context, ... method estimateExecutorCount (line 651) | func (emr *EMRExecutionEngine) estimateExecutorCount(run state.Run, ma... method buildMetricTags (line 656) | func (emr *EMRExecutionEngine) buildMetricTags(run state.Run) []string { method estimateMemoryResources (line 674) | func (emr *EMRExecutionEngine) estimateMemoryResources(ctx context.Con... method sparkSubmitParams (line 806) | func (emr *EMRExecutionEngine) sparkSubmitParams(run state.Run) *string { method Terminate (line 840) | func (emr *EMRExecutionEngine) Terminate(ctx context.Context, run stat... method Enqueue (line 875) | func (emr *EMRExecutionEngine) Enqueue(ctx context.Context, run state.... method PollRuns (line 901) | func (emr *EMRExecutionEngine) PollRuns(ctx context.Context) ([]RunRec... method PollStatus (line 932) | func (emr *EMRExecutionEngine) PollStatus(ctx context.Context) (RunRec... method PollRunStatus (line 936) | func (emr *EMRExecutionEngine) PollRunStatus(ctx context.Context) (sta... method Define (line 940) | func (emr *EMRExecutionEngine) Define(ctx context.Context, td state.De... method Deregister (line 944) | func (emr *EMRExecutionEngine) Deregister(ctx context.Context, definit... method Get (line 948) | func (emr *EMRExecutionEngine) Get(ctx context.Context, run state.Run)... method GetEvents (line 955) | func (emr *EMRExecutionEngine) GetEvents(ctx context.Context, run stat... method FetchPodMetrics (line 967) | func (emr *EMRExecutionEngine) FetchPodMetrics(ctx context.Context, ru... method FetchUpdateStatus (line 979) | func (emr *EMRExecutionEngine) FetchUpdateStatus(ctx context.Context, ... method lakekeeperSecretEnvVars (line 990) | func (emr *EMRExecutionEngine) lakekeeperSecretEnvVars() []v1.EnvVar { method envOverrides (line 1058) | func (emr *EMRExecutionEngine) envOverrides(executable state.Executabl... method sanitizeEnvVar (line 1091) | func (emr *EMRExecutionEngine) sanitizeEnvVar(key string) string { method constructCmdSlice (line 1101) | func (emr *EMRExecutionEngine) constructCmdSlice(command *string) []st... function generateVolumesForCluster (line 321) | func generateVolumesForCluster(clusterName string, isEmptyDir bool) ([]v... function setResourceSuffix (line 664) | func setResourceSuffix(value string) string { FILE: execution/engine/engine.go type Engine (line 14) | type Engine interface type RunReceipt (line 30) | type RunReceipt struct function NewExecutionEngine (line 38) | func NewExecutionEngine(conf config.Config, qm queue.Manager, name strin... FILE: flotilla/app.go type App (line 24) | type App struct method Run (line 36) | func (app *App) Run() error { method configure (line 107) | func (app *App) configure(conf config.Config) { method configureRoutes (line 128) | func (app *App) configureRoutes(ep endpoints) { method initializeEKSWorkers (line 137) | func (app *App) initializeEKSWorkers( method initializeEMRWorkers (line 154) | func (app *App) initializeEMRWorkers( function NewApp (line 53) | func NewApp(conf config.Config, FILE: flotilla/endpoints.go type endpoints (line 20) | type endpoints struct method getURLParam (line 39) | func (ep *endpoints) getURLParam(v url.Values, key string, defaultValu... method getFilters (line 47) | func (ep *endpoints) getFilters(params url.Values, nonFilters map[stri... method decodeListRequest (line 71) | func (ep *endpoints) decodeListRequest(r *http.Request) listRequest { method decodeOrderableListRequest (line 91) | func (ep *endpoints) decodeOrderableListRequest(r *http.Request, order... method decodeRequest (line 108) | func (ep *endpoints) decodeRequest(r *http.Request, entity interface{}... method encodeError (line 112) | func (ep endpoints) encodeError(w http.ResponseWriter, err error) { method encodeResponse (line 129) | func (ep *endpoints) encodeResponse(w http.ResponseWriter, response in... method ListDefinitions (line 134) | func (ep *endpoints) ListDefinitions(w http.ResponseWriter, r *http.Re... method GetDefinition (line 166) | func (ep *endpoints) GetDefinition(w http.ResponseWriter, r *http.Requ... method GetDefinitionByAlias (line 183) | func (ep *endpoints) GetDefinitionByAlias(w http.ResponseWriter, r *ht... method CreateDefinition (line 200) | func (ep *endpoints) CreateDefinition(w http.ResponseWriter, r *http.R... method UpdateDefinition (line 222) | func (ep *endpoints) UpdateDefinition(w http.ResponseWriter, r *http.R... method DeleteDefinition (line 247) | func (ep *endpoints) DeleteDefinition(w http.ResponseWriter, r *http.R... method ListRuns (line 265) | func (ep *endpoints) ListRuns(w http.ResponseWriter, r *http.Request) { method ListDefinitionRuns (line 292) | func (ep *endpoints) ListDefinitionRuns(w http.ResponseWriter, r *http... method ListTemplateRuns (line 316) | func (ep *endpoints) ListTemplateRuns(w http.ResponseWriter, r *http.R... method createListRunsResponse (line 339) | func (ep *endpoints) createListRunsResponse(runList state.RunList, req... method GetRun (line 355) | func (ep *endpoints) GetRun(w http.ResponseWriter, r *http.Request) { method GetPayload (line 372) | func (ep *endpoints) GetPayload(w http.ResponseWriter, r *http.Request) { method CreateRun (line 393) | func (ep *endpoints) CreateRun(w http.ResponseWriter, r *http.Request) { method CreateRunV2 (line 431) | func (ep *endpoints) CreateRunV2(w http.ResponseWriter, r *http.Reques... method CreateRunV4 (line 496) | func (ep *endpoints) CreateRunV4(w http.ResponseWriter, r *http.Reques... method CreateRunByAlias (line 568) | func (ep *endpoints) CreateRunByAlias(w http.ResponseWriter, r *http.R... method StopRun (line 644) | func (ep *endpoints) StopRun(w http.ResponseWriter, r *http.Request) { method ExtractUserInfo (line 660) | func (ep *endpoints) ExtractUserInfo(r *http.Request) state.UserInfo { method UpdateRun (line 679) | func (ep *endpoints) UpdateRun(w http.ResponseWriter, r *http.Request) { method GetEvents (line 703) | func (ep *endpoints) GetEvents(w http.ResponseWriter, r *http.Request) { method GetLogs (line 730) | func (ep *endpoints) GetLogs(w http.ResponseWriter, r *http.Request) { method GetGroups (line 776) | func (ep *endpoints) GetGroups(w http.ResponseWriter, r *http.Request) { method GetTags (line 784) | func (ep *endpoints) GetTags(w http.ResponseWriter, r *http.Request) { method ListClusters (line 791) | func (ep *endpoints) ListClusters(w http.ResponseWriter, r *http.Reque... method ListWorkers (line 804) | func (ep *endpoints) ListWorkers(w http.ResponseWriter, r *http.Reques... method GetWorker (line 827) | func (ep *endpoints) GetWorker(w http.ResponseWriter, r *http.Request) { method UpdateWorker (line 838) | func (ep *endpoints) UpdateWorker(w http.ResponseWriter, r *http.Reque... method BatchUpdateWorkers (line 858) | func (ep *endpoints) BatchUpdateWorkers(w http.ResponseWriter, r *http... method getStringBoolVal (line 876) | func (ep *endpoints) getStringBoolVal(s string) bool { method CreateTemplateRunByName (line 887) | func (ep *endpoints) CreateTemplateRunByName(w http.ResponseWriter, r ... method CreateTemplateRun (line 930) | func (ep *endpoints) CreateTemplateRun(w http.ResponseWriter, r *http.... method ListTemplates (line 972) | func (ep *endpoints) ListTemplates(w http.ResponseWriter, r *http.Requ... method GetTemplate (line 1011) | func (ep *endpoints) GetTemplate(w http.ResponseWriter, r *http.Reques... method CreateTemplate (line 1028) | func (ep *endpoints) CreateTemplate(w http.ResponseWriter, r *http.Req... method GetCluster (line 1050) | func (ep *endpoints) GetCluster(w http.ResponseWriter, r *http.Request) { method UpdateCluster (line 1061) | func (ep *endpoints) UpdateCluster(w http.ResponseWriter, r *http.Requ... method DeleteCluster (line 1080) | func (ep *endpoints) DeleteCluster(w http.ResponseWriter, r *http.Requ... method HealthCheck (line 1091) | func (ep *endpoints) HealthCheck(w http.ResponseWriter, r *http.Reques... method CreateCluster (line 1099) | func (ep *endpoints) CreateCluster(w http.ResponseWriter, r *http.Requ... method GetRunStatus (line 1117) | func (ep *endpoints) GetRunStatus(w http.ResponseWriter, r *http.Reque... type listRequest (line 30) | type listRequest struct FILE: flotilla/endpoints_test.go function setUp (line 17) | func setUp(t *testing.T) *muxtrace.Router { function TestEndpoints_CreateDefinition (line 54) | func TestEndpoints_CreateDefinition(t *testing.T) { function TestEndpoints_UpdateDefinition (line 84) | func TestEndpoints_UpdateDefinition(t *testing.T) { function TestEndpoints_CreateRun (line 114) | func TestEndpoints_CreateRun(t *testing.T) { function TestEndpoints_CreateRun2 (line 148) | func TestEndpoints_CreateRun2(t *testing.T) { function TestEndpoints_CreateRun4 (line 186) | func TestEndpoints_CreateRun4(t *testing.T) { function TestEndpoints_CreateRunByAlias (line 229) | func TestEndpoints_CreateRunByAlias(t *testing.T) { function TestEndpoints_DeleteDefinition (line 267) | func TestEndpoints_DeleteDefinition(t *testing.T) { function TestEndpoints_GetDefinition (line 294) | func TestEndpoints_GetDefinition(t *testing.T) { function TestEndpoints_GetDefinitionByAlias (line 326) | func TestEndpoints_GetDefinitionByAlias(t *testing.T) { function TestEndpoints_GetGroups (line 358) | func TestEndpoints_GetGroups(t *testing.T) { function TestEndpoints_GetLogs (line 395) | func TestEndpoints_GetLogs(t *testing.T) { function TestEndpoints_GetRun (line 423) | func TestEndpoints_GetRun(t *testing.T) { function TestEndpoints_GetRun2 (line 451) | func TestEndpoints_GetRun2(t *testing.T) { function TestEndpoints_GetTags (line 484) | func TestEndpoints_GetTags(t *testing.T) { function TestEndpoints_ListDefinitions (line 521) | func TestEndpoints_ListDefinitions(t *testing.T) { function TestEndpoints_ListRuns (line 597) | func TestEndpoints_ListRuns(t *testing.T) { function TestEndpoints_StopRun (line 695) | func TestEndpoints_StopRun(t *testing.T) { function TestEndpoints_ListClusters (line 722) | func TestEndpoints_ListClusters(t *testing.T) { function TestEndpoints_GetCluster (line 773) | func TestEndpoints_GetCluster(t *testing.T) { function TestEndpoints_UpdateCluster (line 805) | func TestEndpoints_UpdateCluster(t *testing.T) { function TestEndpoints_DeleteCluster (line 834) | func TestEndpoints_DeleteCluster(t *testing.T) { function TestEndpoints_CreateCluster (line 862) | func TestEndpoints_CreateCluster(t *testing.T) { FILE: flotilla/router.go function NewRouter (line 8) | func NewRouter(ep endpoints) *muxtrace.Router { FILE: log/event.go type EventSink (line 14) | type EventSink interface type LocalEventSink (line 22) | type LocalEventSink struct method Receive (line 35) | func (localSink *LocalEventSink) Receive(keyvals ...interface{}) error { function NewLocalEventSink (line 27) | func NewLocalEventSink() *LocalEventSink { type HTTPEventSink (line 44) | type HTTPEventSink struct method headers (line 69) | func (httpsink *HTTPEventSink) headers() map[string]string { method constructMessage (line 75) | func (httpsink *HTTPEventSink) constructMessage(keyvals ...interface{}... method Receive (line 98) | func (httpsink *HTTPEventSink) Receive(keyvals ...interface{}) error { type HTTPEvent (line 54) | type HTTPEvent struct function NewHTTPSink (line 62) | func NewHTTPSink(host string, path string, method string) HTTPEventSink { FILE: log/event_test.go type TestDomainSpecificEvent (line 11) | type TestDomainSpecificEvent struct function TestHTTPEventSink_Receive (line 19) | func TestHTTPEventSink_Receive(t *testing.T) { FILE: log/logger.go type Logger (line 10) | type Logger interface type logger (line 15) | type logger struct method Log (line 27) | func (l *logger) Log(keyvals ...interface{}) error { method Event (line 35) | func (l *logger) Event(keyvals ...interface{}) error { function NewLogger (line 23) | func NewLogger(wrapped log.Logger, sinks []EventSink) Logger { FILE: log/logger_test.go type testLogger (line 7) | type testLogger struct method Log (line 11) | func (tl *testLogger) Log(keyvals ...interface{}) error { type testSink (line 16) | type testSink struct method Receive (line 20) | func (ts *testSink) Receive(keyvals ...interface{}) error { function TestLogger_Log (line 25) | func TestLogger_Log(t *testing.T) { function TestLogger_Event (line 42) | func TestLogger_Event(t *testing.T) { FILE: main.go function main (line 22) | func main() { FILE: queue/manager.go type Manager (line 12) | type Manager interface type RunReceipt (line 28) | type RunReceipt struct type StatusReceipt (line 38) | type StatusReceipt struct function NewQueueManager (line 44) | func NewQueueManager(conf config.Config, name string) (Manager, error) { FILE: queue/sqs_manager.go type SQSManager (line 19) | type SQSManager struct method Name (line 37) | func (qm *SQSManager) Name() string { method Initialize (line 42) | func (qm *SQSManager) Initialize(conf config.Config, engine string) er... method QurlFor (line 76) | func (qm *SQSManager) QurlFor(name string, prefixed bool) (string, err... method getOrCreateQueue (line 90) | func (qm *SQSManager) getOrCreateQueue(name string, prefixed bool) (st... method messageFromRun (line 115) | func (qm *SQSManager) messageFromRun(run state.Run) (*string, error) { method runFromMessage (line 124) | func (qm *SQSManager) runFromMessage(message *sqs.Message) (state.Run,... method statusFromMessage (line 142) | func (qm *SQSManager) statusFromMessage(message *sqs.Message) (string,... method Enqueue (line 157) | func (qm *SQSManager) Enqueue(ctx context.Context, qURL string, run st... method ReceiveRun (line 203) | func (qm *SQSManager) ReceiveRun(ctx context.Context, qURL string) (Ru... method ReceiveStatus (line 269) | func (qm *SQSManager) ReceiveStatus(qURL string) (StatusReceipt, error) { method ReceiveCloudTrail (line 306) | func (qm *SQSManager) ReceiveCloudTrail(qURL string) (state.CloudTrail... method ReceiveEMREvent (line 338) | func (qm *SQSManager) ReceiveEMREvent(qURL string) (state.EmrEvent, er... method ReceiveKubernetesEvent (line 372) | func (qm *SQSManager) ReceiveKubernetesEvent(qURL string) (state.Kuber... method ReceiveKubernetesRun (line 406) | func (qm *SQSManager) ReceiveKubernetesRun(queue string) (string, erro... method ack (line 437) | func (qm *SQSManager) ack(qURL string, handle *string) error { method List (line 456) | func (qm *SQSManager) List() ([]string, error) { type sqsClient (line 27) | type sqsClient interface FILE: queue/sqs_manager_test.go type testSQSClient (line 13) | type testSQSClient struct method GetQueueUrl (line 19) | func (qc *testSQSClient) GetQueueUrl(input *sqs.GetQueueUrlInput) (*sq... method CreateQueue (line 33) | func (qc *testSQSClient) CreateQueue(input *sqs.CreateQueueInput) (*sq... method ListQueues (line 51) | func (qc *testSQSClient) ListQueues(input *sqs.ListQueuesInput) (*sqs.... method SendMessage (line 65) | func (qc *testSQSClient) SendMessage(input *sqs.SendMessageInput) (*sq... method ReceiveMessage (line 92) | func (qc *testSQSClient) ReceiveMessage(input *sqs.ReceiveMessageInput... method DeleteMessage (line 129) | func (qc *testSQSClient) DeleteMessage(input *sqs.DeleteMessageInput) ... function setUp (line 146) | func setUp(t *testing.T) SQSManager { function TestSQSManager_List (line 167) | func TestSQSManager_List(t *testing.T) { function TestSQSManager_Enqueue (line 176) | func TestSQSManager_Enqueue(t *testing.T) { function TestSQSManager_QurlFor (line 191) | func TestSQSManager_QurlFor(t *testing.T) { function TestSQSManager_ReceiveRun (line 238) | func TestSQSManager_ReceiveRun(t *testing.T) { function TestSQSManager_ReceiveStatus (line 244) | func TestSQSManager_ReceiveStatus(t *testing.T) { FILE: services/definition.go type DefinitionService (line 16) | type DefinitionService interface type definitionService (line 31) | type definitionService struct method Create (line 49) | func (ds *definitionService) Create(ctx context.Context, definition *s... method aliasExists (line 72) | func (ds *definitionService) aliasExists(ctx context.Context, alias st... method Get (line 92) | func (ds *definitionService) Get(ctx context.Context, definitionID str... method GetByAlias (line 96) | func (ds *definitionService) GetByAlias(ctx context.Context, alias str... method List (line 101) | func (ds *definitionService) List(ctx context.Context, limit int, offs... method Update (line 108) | func (ds *definitionService) Update(ctx context.Context, definitionID ... method Delete (line 119) | func (ds *definitionService) Delete(ctx context.Context, definitionID ... method ListGroups (line 123) | func (ds *definitionService) ListGroups(ctx context.Context, limit int... method ListTags (line 127) | func (ds *definitionService) ListTags(ctx context.Context, limit int, ... function NewDefinitionService (line 38) | func NewDefinitionService(stateManager state.Manager) (DefinitionService... FILE: services/definition_test.go function setUpDefinitionServiceTest (line 10) | func setUpDefinitionServiceTest(t *testing.T) (DefinitionService, *testu... function TestDefinitionService_Create (line 31) | func TestDefinitionService_Create(t *testing.T) { function TestDefinitionService_Create2 (line 71) | func TestDefinitionService_Create2(t *testing.T) { function TestDefinitionService_Update (line 87) | func TestDefinitionService_Update(t *testing.T) { function TestDefinitionService_Delete (line 108) | func TestDefinitionService_Delete(t *testing.T) { FILE: services/execution.go type ExecutionService (line 30) | type ExecutionService interface type executionService (line 56) | type executionService struct method GetEvents (line 77) | func (es *executionService) GetEvents(ctx context.Context, run state.R... method ReservedVariables (line 166) | func (es *executionService) ReservedVariables() []string { method CreateDefinitionRunByDefinitionID (line 175) | func (es *executionService) CreateDefinitionRunByDefinitionID(ctx cont... method CreateDefinitionRunByAlias (line 191) | func (es *executionService) CreateDefinitionRunByAlias(ctx context.Con... method createFromDefinition (line 207) | func (es *executionService) createFromDefinition(ctx context.Context, ... method constructRunFromDefinition (line 270) | func (es *executionService) constructRunFromDefinition(ctx context.Con... method constructBaseRunFromExecutable (line 302) | func (es *executionService) constructBaseRunFromExecutable(ctx context... method constructEnviron (line 408) | func (es *executionService) constructEnviron(run state.Run, env *state... method List (line 432) | func (es *executionService) List( method Get (line 469) | func (es *executionService) Get(ctx context.Context, runID string) (st... method UpdateStatus (line 486) | func (es *executionService) UpdateStatus(ctx context.Context, runID st... method extractExitReason (line 515) | func (es *executionService) extractExitReason(runExceptions *state.Run... method terminateWorker (line 546) | func (es *executionService) terminateWorker(jobChan <-chan state.Termi... method Terminate (line 604) | func (es *executionService) Terminate(ctx context.Context, runID strin... method ListClusters (line 617) | func (es *executionService) ListClusters(ctx context.Context) ([]state... method GetDefaultCluster (line 627) | func (es *executionService) GetDefaultCluster() string { method sanitizeExecutionRequestCommonFields (line 632) | func (es *executionService) sanitizeExecutionRequestCommonFields(field... method createAndEnqueueRun (line 651) | func (es *executionService) createAndEnqueueRun(ctx context.Context, r... method CreateTemplateRunByTemplateName (line 690) | func (es *executionService) CreateTemplateRunByTemplateName(ctx contex... method CreateTemplateRunByTemplateID (line 714) | func (es *executionService) CreateTemplateRunByTemplateID(ctx context.... method createFromTemplate (line 727) | func (es *executionService) createFromTemplate(ctx context.Context, te... method constructRunFromTemplate (line 747) | func (es *executionService) constructRunFromTemplate(ctx context.Conte... method resolveRequestTier (line 763) | func (es *executionService) resolveRequestTier(requestedTier state.Tie... method clusterSupportsTier (line 771) | func (es *executionService) clusterSupportsTier(cluster state.ClusterM... method isClusterValid (line 782) | func (es *executionService) isClusterValid(clusterName string) bool { method UpdateClusterMetadata (line 786) | func (es *executionService) UpdateClusterMetadata(ctx context.Context,... method DeleteClusterMetadata (line 793) | func (es *executionService) DeleteClusterMetadata(ctx context.Context,... method GetClusterByID (line 800) | func (es *executionService) GetClusterByID(ctx context.Context, cluste... method GetRunStatus (line 808) | func (es *executionService) GetRunStatus(ctx context.Context, runID st... function NewExecutionService (line 85) | func NewExecutionService(conf config.Config, eksExecutionEngine engine.E... FILE: services/execution_test.go function setUp (line 16) | func setUp(t *testing.T) (ExecutionService, *testutils.ImplementsAllTheT... function TestExecutionService_CreateDefinitionRunByDefinitionID (line 47) | func TestExecutionService_CreateDefinitionRunByDefinitionID(t *testing.T) { function TestExecutionService_CreateDefinitionRunByAlias (line 167) | func TestExecutionService_CreateDefinitionRunByAlias(t *testing.T) { function TestExecutionService_List (line 265) | func TestExecutionService_List(t *testing.T) { function TestExecutionService_List2 (line 286) | func TestExecutionService_List2(t *testing.T) { function TestExecutionService_ListClusters (line 310) | func TestExecutionService_ListClusters(t *testing.T) { function TestExecutionService_CreateDefinitionRunWithTier (line 335) | func TestExecutionService_CreateDefinitionRunWithTier(t *testing.T) { function TestExecutionService_GetRunStatus (line 463) | func TestExecutionService_GetRunStatus(t *testing.T) { function TestExecutionService_CommandHashCalculatedFromCommand (line 515) | func TestExecutionService_CommandHashCalculatedFromCommand(t *testing.T) { function TestExecutionService_CommandHashWithSameDescriptionDifferentCommands (line 553) | func TestExecutionService_CommandHashWithSameDescriptionDifferentCommand... function TestExecutionService_CommandHashNullWhenCommandNull (line 619) | func TestExecutionService_CommandHashNullWhenCommandNull(t *testing.T) { function TestExecutionService_CommandHashMatchesCommand (line 660) | func TestExecutionService_CommandHashMatchesCommand(t *testing.T) { function TestExecutionService_CommandHashStableAcrossRuns (line 704) | func TestExecutionService_CommandHashStableAcrossRuns(t *testing.T) { function TestExecutionService_CommandHashNotSetInEndpoints (line 746) | func TestExecutionService_CommandHashNotSetInEndpoints(t *testing.T) { function TestExecutionService_CommandHashWithOverride (line 787) | func TestExecutionService_CommandHashWithOverride(t *testing.T) { function TestExecutionService_SparkCommandHashFromDescription (line 822) | func TestExecutionService_SparkCommandHashFromDescription(t *testing.T) { function TestExecutionService_SparkCommandHashConsistent (line 860) | func TestExecutionService_SparkCommandHashConsistent(t *testing.T) { function TestExecutionService_SparkVsRegularEKSHashing (line 909) | func TestExecutionService_SparkVsRegularEKSHashing(t *testing.T) { function TestExecutionService_SparkNullDescriptionNullHash (line 981) | func TestExecutionService_SparkNullDescriptionNullHash(t *testing.T) { FILE: services/logs.go type LogService (line 11) | type LogService interface type logService (line 16) | type logService struct method Logs (line 27) | func (ls *logService) Logs(runID string, lastSeen *string, role *strin... method LogsText (line 52) | func (ls *logService) LogsText(runID string, w http.ResponseWriter) er... function NewLogService (line 22) | func NewLogService(sm state.Manager, lc logs.Client) (LogService, error) { FILE: services/logs_test.go function setUpLogServiceTest (line 10) | func setUpLogServiceTest(t *testing.T) (LogService, *testutils.Implement... function TestLogService_Logs (line 25) | func TestLogService_Logs(t *testing.T) { FILE: services/template.go type TemplateService (line 14) | type TemplateService interface type templateService (line 22) | type templateService struct method Create (line 33) | func (ts *templateService) Create(ctx context.Context, req *state.Crea... method GetByID (line 85) | func (ts *templateService) GetByID(ctx context.Context, id string) (st... method GetLatestByName (line 90) | func (ts *templateService) GetLatestByName(ctx context.Context, templa... method List (line 95) | func (ts *templateService) List(ctx context.Context, limit int, offset... method ListLatestOnly (line 100) | func (ts *templateService) ListLatestOnly(ctx context.Context, limit i... method diff (line 106) | func (ts *templateService) diff(prev state.Template, curr state.Templa... method constructTemplateFromCreateTemplateRequest (line 188) | func (ts *templateService) constructTemplateFromCreateTemplateRequest(... function NewTemplateService (line 27) | func NewTemplateService(conf config.Config, sm state.Manager) (TemplateS... FILE: services/worker.go type WorkerService (line 14) | type WorkerService interface type workerService (line 21) | type workerService struct method List (line 33) | func (ws *workerService) List(ctx context.Context, engine string) (sta... method Get (line 37) | func (ws *workerService) Get(ctx context.Context, workerType string, e... method Update (line 45) | func (ws *workerService) Update(ctx context.Context, workerType string... method BatchUpdate (line 54) | func (ws *workerService) BatchUpdate(ctx context.Context, updates []st... method validate (line 64) | func (ws *workerService) validate(workerType string) error { function NewWorkerService (line 28) | func NewWorkerService(conf config.Config, sm state.Manager) (WorkerServi... FILE: state/manager.go type Manager (line 12) | type Manager interface function NewStateManager (line 71) | func NewStateManager(conf config.Config, logger log.Logger) (Manager, er... FILE: state/models.go function IsValidWorkerType (line 90) | func IsValidWorkerType(workerType string) bool { function IsValidStatus (line 96) | func IsValidStatus(status string) bool { function NewRunID (line 105) | func NewRunID(engine *string) (string, error) { function NewDefinitionID (line 111) | func NewDefinitionID(definition Definition) (string, error) { function newUUIDv4 (line 119) | func newUUIDv4() (string, error) { type EnvList (line 130) | type EnvList type PortsList (line 135) | type PortsList type EnvVar (line 139) | type EnvVar struct type NodeList (line 144) | type NodeList type Tags (line 149) | type Tags type ExecutableResources (line 153) | type ExecutableResources struct type ExecutableType (line 165) | type ExecutableType constant ExecutableTypeDefinition (line 168) | ExecutableTypeDefinition ExecutableType = "task_definition" constant ExecutableTypeTemplate (line 169) | ExecutableTypeTemplate ExecutableType = "template" type Executable (line 172) | type Executable interface function UnmarshalSparkExtension (line 180) | func UnmarshalSparkExtension(data []byte) (SparkExtension, error) { type SparkExtension (line 190) | type SparkExtension struct method Marshal (line 186) | func (r *SparkExtension) Marshal() ([]byte, error) { type Conf (line 210) | type Conf struct type SparkSubmitJobDriver (line 215) | type SparkSubmitJobDriver struct type Labels (line 228) | type Labels type ExecutionRequestCommon (line 231) | type ExecutionRequestCommon struct type ExecutionRequestCustom (line 253) | type ExecutionRequestCustom type ExecutionRequest (line 254) | type ExecutionRequest interface type DefinitionExecutionRequest (line 259) | type DefinitionExecutionRequest struct method GetExecutionRequestCommon (line 264) | func (d *DefinitionExecutionRequest) GetExecutionRequestCommon() *Exec... method GetExecutionRequestCustom (line 269) | func (d *DefinitionExecutionRequest) GetExecutionRequestCustom() *Exec... type TerminateJob (line 273) | type TerminateJob struct type Definition (line 279) | type Definition struct method GetExecutableID (line 291) | func (d Definition) GetExecutableID() *string { method GetExecutableType (line 296) | func (d Definition) GetExecutableType() *ExecutableType { method GetExecutableResources (line 300) | func (d Definition) GetExecutableResources() *ExecutableResources { method GetExecutableCommand (line 304) | func (d Definition) GetExecutableCommand(req ExecutionRequest) (string... method GetExecutableResourceName (line 308) | func (d Definition) GetExecutableResourceName() string { method WrappedCommand (line 322) | func (d *Definition) WrappedCommand() (string, error) { method IsValid (line 337) | func (d *Definition) IsValid() (bool, []string) { method UpdateWith (line 355) | func (d *Definition) UpdateWith(other Definition) { method MarshalJSON (line 400) | func (d Definition) MarshalJSON() ([]byte, error) { type validationCondition (line 330) | type validationCondition struct type DefinitionList (line 418) | type DefinitionList struct method MarshalJSON (line 423) | func (dl *DefinitionList) MarshalJSON() ([]byte, error) { type Run (line 448) | type Run struct method UpdateWith (line 501) | func (d *Run) UpdateWith(other Run) { method MarshalJSON (line 745) | func (r Run) MarshalJSON() ([]byte, error) { function removeDuplicateStr (line 694) | func removeDuplicateStr(strSlice []string) []string { type byExecutorName (line 706) | type byExecutorName method Len (line 722) | func (s byExecutorName) Len() int { method Key (line 725) | func (s byExecutorName) Key(i int) int { method Swap (line 737) | func (s byExecutorName) Swap(i, j int) { method Less (line 741) | func (s byExecutorName) Less(i, j int) bool { type RunStatus (line 708) | type RunStatus struct type RunList (line 816) | type RunList struct type PodEvents (line 821) | type PodEvents type PodEventList (line 823) | type PodEventList struct type SpawnedRun (line 828) | type SpawnedRun struct type SpawnedRuns (line 832) | type SpawnedRuns type RunExceptions (line 834) | type RunExceptions type PodEvent (line 845) | type PodEvent struct method Equal (line 836) | func (w *PodEvent) Equal(other PodEvent) bool { type GroupsList (line 854) | type GroupsList struct type TagsList (line 860) | type TagsList struct type Worker (line 866) | type Worker struct method UpdateWith (line 873) | func (w *Worker) UpdateWith(other Worker) { type WorkersList (line 880) | type WorkersList struct type UserInfo (line 886) | type UserInfo struct type TaskResources (line 892) | type TaskResources struct type CloudTrailS3File (line 898) | type CloudTrailS3File struct type CloudTrailNotifications (line 910) | type CloudTrailNotifications struct method Marshal (line 905) | func (e *CloudTrailNotifications) Marshal() ([]byte, error) { type Record (line 915) | type Record struct method Equal (line 927) | func (w *Record) Equal(other Record) bool { method String (line 932) | func (w *Record) String() string { type UserIdentity (line 922) | type UserIdentity struct constant TemplatePayloadKey (line 936) | TemplatePayloadKey = "template_payload" type TemplatePayload (line 938) | type TemplatePayload type TemplateExecutionRequest (line 940) | type TemplateExecutionRequest struct method GetExecutionRequestCommon (line 947) | func (t TemplateExecutionRequest) GetExecutionRequestCommon() *Executi... method GetExecutionRequestCustom (line 952) | func (t TemplateExecutionRequest) GetExecutionRequestCustom() *Executi... type TemplateJSONSchema (line 959) | type TemplateJSONSchema type Template (line 962) | type Template struct method GetExecutableID (line 988) | func (t Template) GetExecutableID() *string { method GetExecutableType (line 993) | func (t Template) GetExecutableType() *ExecutableType { method GetExecutableResources (line 999) | func (t Template) GetExecutableResources() *ExecutableResources { method GetExecutableCommand (line 1004) | func (t Template) GetExecutableCommand(req ExecutionRequest) (string, ... method GetExecutableResourceName (line 1051) | func (t Template) GetExecutableResourceName() string { method compositeUserAndDefaults (line 1055) | func (t Template) compositeUserAndDefaults(userPayload interface{}) (T... method IsValid (line 1085) | func (t *Template) IsValid() (bool, []string) { type CreateTemplateRequest (line 973) | type CreateTemplateRequest struct type CreateTemplateResponse (line 982) | type CreateTemplateResponse struct function NewTemplateID (line 1076) | func NewTemplateID(t Template) (string, error) { type TemplateList (line 1106) | type TemplateList struct method MarshalJSON (line 1112) | func (tl *TemplateList) MarshalJSON() ([]byte, error) { type KubernetesEvent (line 1131) | type KubernetesEvent struct method Marshal (line 1127) | func (r *KubernetesEvent) Marshal() ([]byte, error) { type InvolvedObject (line 1147) | type InvolvedObject struct type EventLabels (line 1158) | type EventLabels struct type Metadata (line 1164) | type Metadata struct type Source (line 1173) | type Source struct function UnmarshalEmrEvents (line 1178) | func UnmarshalEmrEvents(data []byte) (EmrEvent, error) { type EmrEvent (line 1188) | type EmrEvent struct method Marshal (line 1184) | func (r *EmrEvent) Marshal() ([]byte, error) { type Detail (line 1201) | type Detail struct type LaunchRequest (line 1216) | type LaunchRequest struct type LaunchRequestV2 (line 1222) | type LaunchRequestV2 struct type RunTags (line 1245) | type RunTags struct type ClusterStatus (line 1251) | type ClusterStatus type Tier (line 1252) | type Tier type Tiers (line 1253) | type Tiers type Capability (line 1254) | type Capability type Capabilities (line 1255) | type Capabilities constant StatusActive (line 1258) | StatusActive ClusterStatus = "active" constant StatusMaintenance (line 1259) | StatusMaintenance ClusterStatus = "maintenance" constant StatusOffline (line 1260) | StatusOffline ClusterStatus = "offline" type ClusterMetadata (line 1263) | type ClusterMetadata struct function MergeMaps (line 1283) | func MergeMaps(a *map[string]interface{}, b map[string]interface{}) error { function mergeMapsRecursive (line 1287) | func mergeMapsRecursive(a *map[string]interface{}, b map[string]interfac... function GetLabels (line 1315) | func GetLabels(run Run) map[string]string { function SanitizeLabel (line 1348) | func SanitizeLabel(key string) string { FILE: state/models_test.go function TestMergeMaps_Simple (line 10) | func TestMergeMaps_Simple(t *testing.T) { function TestMergeMaps_Nested (line 39) | func TestMergeMaps_Nested(t *testing.T) { function TestSanitizeLabel (line 92) | func TestSanitizeLabel(t *testing.T) { function TestGetLabels (line 149) | func TestGetLabels(t *testing.T) { FILE: state/pg_queries.go constant DefinitionSelect (line 4) | DefinitionSelect = ` constant ListDefinitionsSQL (line 25) | ListDefinitionsSQL = DefinitionSelect + "\n%s %s limit $1 offset $2" constant ListClusterStatesSQL (line 29) | ListClusterStatesSQL = ` constant GetDefinitionSQL (line 49) | GetDefinitionSQL = DefinitionSelect + "\nwhere definition_id = $1" constant GetDefinitionByAliasSQL (line 52) | GetDefinitionByAliasSQL = DefinitionSelect + "\nwhere alias = $1" constant TaskResourcesSelectCommandSQL (line 54) | TaskResourcesSelectCommandSQL = ` constant TaskResourcesExecutorCountSQL (line 68) | TaskResourcesExecutorCountSQL = ` constant TaskResourcesDriverOOMSQL (line 83) | TaskResourcesDriverOOMSQL = ` constant TaskIdempotenceKeyCheckSQL (line 95) | TaskIdempotenceKeyCheckSQL = ` constant TaskResourcesExecutorOOMSQL (line 107) | TaskResourcesExecutorOOMSQL = ` constant TaskResourcesExecutorNodeLifecycleSQL (line 120) | TaskResourcesExecutorNodeLifecycleSQL = ` constant TaskExecutionRuntimeCommandSQL (line 132) | TaskExecutionRuntimeCommandSQL = ` constant ListFailingNodesSQL (line 144) | ListFailingNodesSQL = ` constant PodReAttemptRate (line 162) | PodReAttemptRate = ` constant RunSelect (line 174) | RunSelect = ` constant GetRunStatusSQL (line 226) | GetRunStatusSQL = ` constant ListRunsSQL (line 244) | ListRunsSQL = RunSelect + "\n%s %s limit $1 offset $2" constant GetRunSQL (line 247) | GetRunSQL = RunSelect + "\nwhere run_id = $1" constant GetRunSQLByEMRJobId (line 249) | GetRunSQLByEMRJobId = RunSelect + "\nwhere spark_extension->>'emr_job_id... constant GetRunSQLForUpdate (line 253) | GetRunSQLForUpdate = GetRunSQL + " for update" constant GroupsSelect (line 257) | GroupsSelect = ` constant TagsSelect (line 262) | TagsSelect = ` constant ListGroupsSQL (line 267) | ListGroupsSQL = GroupsSelect + "\n%s order by group_name asc limit $1 of... constant ListTagsSQL (line 270) | ListTagsSQL = TagsSelect + "\n%s order by text asc limit $1 offset $2" constant WorkerSelect (line 273) | WorkerSelect = ` constant ListWorkersSQL (line 282) | ListWorkersSQL = WorkerSelect constant GetWorkerEngine (line 284) | GetWorkerEngine = WorkerSelect + "\nwhere engine = $1" constant GetWorkerSQL (line 288) | GetWorkerSQL = WorkerSelect + "\nwhere worker_type = $1 and engine = $2" constant GetWorkerSQLForUpdate (line 292) | GetWorkerSQLForUpdate = GetWorkerSQL + " for update" constant TemplateSelect (line 295) | TemplateSelect = ` constant ListTemplatesSQL (line 315) | ListTemplatesSQL = TemplateSelect + "\n%s limit $1 offset $2" constant GetTemplateByIDSQL (line 318) | GetTemplateByIDSQL = TemplateSelect + "\nwhere template_id = $1" constant ListTemplatesLatestOnlySQL (line 322) | ListTemplatesLatestOnlySQL = ` constant GetTemplateLatestOnlySQL (line 344) | GetTemplateLatestOnlySQL = TemplateSelect + "\nWHERE template_name = $1 ... constant GetTemplateByVersionSQL (line 345) | GetTemplateByVersionSQL = TemplateSelect + "\nWHERE template_name = $1 A... FILE: state/pg_state_manager.go type SQLStateManager (line 32) | type SQLStateManager struct method ListFailingNodes (line 38) | func (sm *SQLStateManager) ListFailingNodes(ctx context.Context) (Node... method GetPodReAttemptRate (line 58) | func (sm *SQLStateManager) GetPodReAttemptRate(ctx context.Context) (f... method GetNodeLifecycle (line 77) | func (sm *SQLStateManager) GetNodeLifecycle(ctx context.Context, execu... method GetTaskHistoricalRuntime (line 97) | func (sm *SQLStateManager) GetTaskHistoricalRuntime(ctx context.Contex... method EstimateRunResources (line 118) | func (sm *SQLStateManager) EstimateRunResources(ctx context.Context, e... method EstimateExecutorCount (line 207) | func (sm *SQLStateManager) EstimateExecutorCount(ctx context.Context, ... method CheckIdempotenceKey (line 227) | func (sm *SQLStateManager) CheckIdempotenceKey(ctx context.Context, id... method ExecutorOOM (line 241) | func (sm *SQLStateManager) ExecutorOOM(ctx context.Context, executable... method DriverOOM (line 262) | func (sm *SQLStateManager) DriverOOM(ctx context.Context, executableID... method Name (line 284) | func (sm *SQLStateManager) Name() string { method Initialize (line 300) | func (sm *SQLStateManager) Initialize(conf config.Config) error { method makeWhereClause (line 346) | func (sm *SQLStateManager) makeWhereClause(filters map[string][]string... method makeEnvWhereClause (line 376) | func (sm *SQLStateManager) makeEnvWhereClause(filters map[string]strin... method orderBy (line 388) | func (sm *SQLStateManager) orderBy(obj IOrderable, field string, order... method ListDefinitions (line 407) | func (sm *SQLStateManager) ListDefinitions( method GetDefinition (line 445) | func (sm *SQLStateManager) GetDefinition(ctx context.Context, definiti... method GetDefinitionByAlias (line 464) | func (sm *SQLStateManager) GetDefinitionByAlias(ctx context.Context, a... method UpdateDefinition (line 486) | func (sm *SQLStateManager) UpdateDefinition(ctx context.Context, defin... method CreateDefinition (line 599) | func (sm *SQLStateManager) CreateDefinition(ctx context.Context, d Def... method DeleteDefinition (line 694) | func (sm *SQLStateManager) DeleteDefinition(ctx context.Context, defin... method ListRuns (line 731) | func (sm *SQLStateManager) ListRuns(ctx context.Context, limit int, of... method GetRun (line 773) | func (sm *SQLStateManager) GetRun(ctx context.Context, runID string) (... method GetRunByEMRJobId (line 802) | func (sm *SQLStateManager) GetRunByEMRJobId(ctx context.Context, emrJo... method GetResources (line 829) | func (sm *SQLStateManager) GetResources(ctx context.Context, runID str... method UpdateRun (line 857) | func (sm *SQLStateManager) UpdateRun(ctx context.Context, runID string... method CreateRun (line 1058) | func (sm *SQLStateManager) CreateRun(ctx context.Context, r Run) error { method ListGroups (line 1234) | func (sm *SQLStateManager) ListGroups(ctx context.Context, limit int, ... method ListTags (line 1263) | func (sm *SQLStateManager) ListTags(ctx context.Context, limit int, of... method initWorkerTable (line 1294) | func (sm *SQLStateManager) initWorkerTable(c config.Config) error { method ListWorkers (line 1339) | func (sm *SQLStateManager) ListWorkers(ctx context.Context, engine str... method GetWorker (line 1363) | func (sm *SQLStateManager) GetWorker(ctx context.Context, workerType s... method UpdateWorker (line 1381) | func (sm *SQLStateManager) UpdateWorker(ctx context.Context, workerTyp... method BatchUpdateWorkers (line 1436) | func (sm *SQLStateManager) BatchUpdateWorkers(ctx context.Context, upd... method Cleanup (line 1455) | func (sm *SQLStateManager) Cleanup() error { method GetTemplateByID (line 1694) | func (sm *SQLStateManager) GetTemplateByID(ctx context.Context, templa... method GetTemplateByVersion (line 1713) | func (sm *SQLStateManager) GetTemplateByVersion(ctx context.Context, t... method GetLatestTemplateByTemplateName (line 1734) | func (sm *SQLStateManager) GetLatestTemplateByTemplateName(ctx context... method ListTemplates (line 1753) | func (sm *SQLStateManager) ListTemplates(ctx context.Context, limit in... method ListTemplatesLatestOnly (line 1783) | func (sm *SQLStateManager) ListTemplatesLatestOnly(ctx context.Context... method CreateTemplate (line 1806) | func (sm *SQLStateManager) CreateTemplate(ctx context.Context, t Templ... method GetExecutableByTypeAndID (line 1846) | func (sm *SQLStateManager) GetExecutableByTypeAndID(ctx context.Contex... method logStatusUpdate (line 1865) | func (sm *SQLStateManager) logStatusUpdate(update Run) { method ListClusterStates (line 1940) | func (sm *SQLStateManager) ListClusterStates(ctx context.Context) ([]C... method UpdateClusterMetadata (line 1953) | func (sm *SQLStateManager) UpdateClusterMetadata(ctx context.Context, ... method DeleteClusterMetadata (line 2051) | func (sm *SQLStateManager) DeleteClusterMetadata(ctx context.Context, ... method GetClusterByID (line 2080) | func (sm *SQLStateManager) GetClusterByID(ctx context.Context, cluster... method GetRunStatus (line 2238) | func (sm *SQLStateManager) GetRunStatus(ctx context.Context, runID str... type IOrderable (line 1459) | type IOrderable interface method ValidOrderField (line 1465) | func (d *Definition) ValidOrderField(field string) bool { method ValidOrderFields (line 1474) | func (d *Definition) ValidOrderFields() []string { method DefaultOrderField (line 1478) | func (d *Definition) DefaultOrderField() string { method ValidOrderField (line 1482) | func (r *Run) ValidOrderField(field string) bool { method ValidOrderFields (line 1491) | func (r *Run) ValidOrderFields() []string { method DefaultOrderField (line 1495) | func (r *Run) DefaultOrderField() string { method ValidOrderField (line 1499) | func (t *Template) ValidOrderField(field string) bool { method ValidOrderFields (line 1508) | func (t *Template) ValidOrderFields() []string { method DefaultOrderField (line 1513) | func (t *Template) DefaultOrderField() string { method Scan (line 1518) | func (e *EnvList) Scan(value interface{}) error { method Value (line 1527) | func (e *EnvList) Value() (driver.Value, error) { method Scan (line 1533) | func (e *PodEvents) Scan(value interface{}) error { method Value (line 1542) | func (e SpawnedRuns) Value() (driver.Value, error) { method Scan (line 1547) | func (e *SpawnedRuns) Scan(value interface{}) error { method Value (line 1556) | func (e SparkExtension) Value() (driver.Value, error) { method Scan (line 1561) | func (e *SparkExtension) Scan(value interface{}) error { method Value (line 1570) | func (e RunExceptions) Value() (driver.Value, error) { method Scan (line 1575) | func (e *RunExceptions) Scan(value interface{}) error { method Value (line 1584) | func (e PodEvents) Value() (driver.Value, error) { method Scan (line 1590) | func (e *PortsList) Scan(value interface{}) error { method Value (line 1599) | func (e PortsList) Value() (driver.Value, error) { method Scan (line 1605) | func (e *Tags) Scan(value interface{}) error { method Value (line 1614) | func (e Tags) Value() (driver.Value, error) { method Scan (line 1620) | func (e *CloudTrailNotifications) Scan(value interface{}) error { method Value (line 1629) | func (e CloudTrailNotifications) Value() (driver.Value, error) { method Scan (line 1635) | func (e *ExecutionRequestCustom) Scan(value interface{}) error { method Value (line 1644) | func (e ExecutionRequestCustom) Value() (driver.Value, error) { method Scan (line 1650) | func (tjs *TemplateJSONSchema) Scan(value interface{}) error { method Value (line 1659) | func (tjs TemplateJSONSchema) Value() (driver.Value, error) { method Scan (line 1665) | func (tjs *TemplatePayload) Scan(value interface{}) error { method Value (line 1674) | func (tjs TemplatePayload) Value() (driver.Value, error) { method Value (line 1680) | func (e Labels) Value() (driver.Value, error) { method Scan (line 1685) | func (e *Labels) Scan(value interface{}) error { function ScanStringArray (line 2114) | func ScanStringArray(arr *[]string, value interface{}) error { method Scan (line 2147) | func (arr *Tiers) Scan(value interface{}) error { method Value (line 2185) | func (arr Tiers) Value() (driver.Value, error) { method Scan (line 2197) | func (arr *Capabilities) Scan(value interface{}) error { method Value (line 2231) | func (arr Capabilities) Value() (driver.Value, error) { FILE: state/pg_state_manager_test.go function getDB (line 22) | func getDB(conf config.Config) *sqlx.DB { function setUp (line 34) | func setUp() Manager { function insertDefinitions (line 59) | func insertDefinitions(db *sqlx.DB) { function tearDown (line 129) | func tearDown() { function TestSQLStateManager_ListDefinitions (line 142) | func TestSQLStateManager_ListDefinitions(t *testing.T) { function TestSQLStateManager_GetDefinition (line 202) | func TestSQLStateManager_GetDefinition(t *testing.T) { function TestSQLStateManager_GetDefinitionByAlias (line 221) | func TestSQLStateManager_GetDefinitionByAlias(t *testing.T) { function TestSQLStateManager_CreateDefinition (line 240) | func TestSQLStateManager_CreateDefinition(t *testing.T) { function TestSQLStateManager_UpdateDefinition (line 280) | func TestSQLStateManager_UpdateDefinition(t *testing.T) { function TestSQLStateManager_DeleteDefinition (line 331) | func TestSQLStateManager_DeleteDefinition(t *testing.T) { function TestSQLStateManager_ListRuns (line 347) | func TestSQLStateManager_ListRuns(t *testing.T) { function TestSQLStateManager_ListRuns2 (line 415) | func TestSQLStateManager_ListRuns2(t *testing.T) { function TestSQLStateManager_ListRuns3 (line 444) | func TestSQLStateManager_ListRuns3(t *testing.T) { function TestSQLStateManager_GetRun (line 472) | func TestSQLStateManager_GetRun(t *testing.T) { function TestSQLStateManager_CreateRun (line 491) | func TestSQLStateManager_CreateRun(t *testing.T) { function TestSQLStateManager_UpdateRun (line 608) | func TestSQLStateManager_UpdateRun(t *testing.T) { function TestSQLStateManager_UpdateWorker (line 691) | func TestSQLStateManager_UpdateWorker(t *testing.T) { function TestSQLStateManager_ListClusterStates (line 738) | func TestSQLStateManager_ListClusterStates(t *testing.T) { function TestStringArray_Scan (line 749) | func TestStringArray_Scan(t *testing.T) { function TestStringArray_Value (line 817) | func TestStringArray_Value(t *testing.T) { function TestStringArray_RoundTrip (line 862) | func TestStringArray_RoundTrip(t *testing.T) { function TestCapabilities_Scan (line 907) | func TestCapabilities_Scan(t *testing.T) { function TestCapabilities_Value (line 969) | func TestCapabilities_Value(t *testing.T) { function TestCapabilities_RoundTrip (line 1012) | func TestCapabilities_RoundTrip(t *testing.T) { function tearDownClusters (line 1062) | func tearDownClusters() { function TestSQLStateManager_UpdateClusterMetadata (line 1070) | func TestSQLStateManager_UpdateClusterMetadata(t *testing.T) { function TestSQLStateManager_DeleteClusterMetadata (line 1137) | func TestSQLStateManager_DeleteClusterMetadata(t *testing.T) { FILE: testutils/mocks.go type ImplementsAllTheThings (line 20) | type ImplementsAllTheThings struct method GetResources (line 40) | func (iatt *ImplementsAllTheThings) GetResources(ctx context.Context, ... method ListClusters (line 49) | func (iatt *ImplementsAllTheThings) ListClusters() ([]state.ClusterMet... method ListClusterStates (line 54) | func (i *ImplementsAllTheThings) ListClusterStates(ctx context.Context... method GetClusterByID (line 60) | func (i *ImplementsAllTheThings) GetClusterByID(ctx context.Context, c... method DeleteClusterMetadata (line 65) | func (i *ImplementsAllTheThings) DeleteClusterMetadata(ctx context.Con... method UpdateClusterMetadata (line 70) | func (i *ImplementsAllTheThings) UpdateClusterMetadata(ctx context.Con... method LogsText (line 75) | func (iatt *ImplementsAllTheThings) LogsText(executable state.Executab... method Log (line 80) | func (iatt *ImplementsAllTheThings) Log(keyvals ...interface{}) error { method Event (line 85) | func (iatt *ImplementsAllTheThings) Event(keyvals ...interface{}) error { method Name (line 91) | func (iatt *ImplementsAllTheThings) Name() string { method Initialize (line 97) | func (iatt *ImplementsAllTheThings) Initialize(conf config.Config) err... method Cleanup (line 103) | func (iatt *ImplementsAllTheThings) Cleanup() error { method ListFailingNodes (line 108) | func (iatt *ImplementsAllTheThings) ListFailingNodes(ctx context.Conte... method GetPodReAttemptRate (line 114) | func (iatt *ImplementsAllTheThings) GetPodReAttemptRate(ctx context.Co... method GetNodeLifecycle (line 119) | func (iatt *ImplementsAllTheThings) GetNodeLifecycle(ctx context.Conte... method GetTaskHistoricalRuntime (line 124) | func (iatt *ImplementsAllTheThings) GetTaskHistoricalRuntime(ctx conte... method ListDefinitions (line 130) | func (iatt *ImplementsAllTheThings) ListDefinitions( method GetDefinition (line 144) | func (iatt *ImplementsAllTheThings) GetDefinition(ctx context.Context,... method GetDefinitionByAlias (line 155) | func (iatt *ImplementsAllTheThings) GetDefinitionByAlias(ctx context.C... method UpdateDefinition (line 166) | func (iatt *ImplementsAllTheThings) UpdateDefinition(ctx context.Conte... method CreateDefinition (line 175) | func (iatt *ImplementsAllTheThings) CreateDefinition(ctx context.Conte... method DeleteDefinition (line 182) | func (iatt *ImplementsAllTheThings) DeleteDefinition(ctx context.Conte... method ListRuns (line 189) | func (iatt *ImplementsAllTheThings) ListRuns(ctx context.Context, limi... method GetRun (line 199) | func (iatt *ImplementsAllTheThings) GetRun(ctx context.Context, runID ... method GetRunByEMRJobId (line 209) | func (iatt *ImplementsAllTheThings) GetRunByEMRJobId(ctx context.Conte... method CreateRun (line 220) | func (iatt *ImplementsAllTheThings) CreateRun(ctx context.Context, r s... method EstimateRunResources (line 226) | func (iatt *ImplementsAllTheThings) EstimateRunResources(ctx context.C... method EstimateExecutorCount (line 231) | func (iatt *ImplementsAllTheThings) EstimateExecutorCount(ctx context.... method ExecutorOOM (line 236) | func (iatt *ImplementsAllTheThings) ExecutorOOM(ctx context.Context, e... method DriverOOM (line 240) | func (iatt *ImplementsAllTheThings) DriverOOM(ctx context.Context, exe... method UpdateRun (line 246) | func (iatt *ImplementsAllTheThings) UpdateRun(ctx context.Context, run... method ListGroups (line 255) | func (iatt *ImplementsAllTheThings) ListGroups(ctx context.Context, li... method ListTags (line 261) | func (iatt *ImplementsAllTheThings) ListTags(ctx context.Context, limi... method initWorkerTable (line 267) | func (iatt *ImplementsAllTheThings) initWorkerTable(c config.Config) e... method ListWorkers (line 273) | func (iatt *ImplementsAllTheThings) ListWorkers(ctx context.Context, e... method CheckIdempotenceKey (line 278) | func (iatt *ImplementsAllTheThings) CheckIdempotenceKey(ctx context.Co... method GetWorker (line 284) | func (iatt *ImplementsAllTheThings) GetWorker(ctx context.Context, wor... method UpdateWorker (line 290) | func (iatt *ImplementsAllTheThings) UpdateWorker(ctx context.Context, ... method BatchUpdateWorkers (line 296) | func (iatt *ImplementsAllTheThings) BatchUpdateWorkers(ctx context.Con... method QurlFor (line 302) | func (iatt *ImplementsAllTheThings) QurlFor(name string, prefixed bool... method Enqueue (line 308) | func (iatt *ImplementsAllTheThings) Enqueue(ctx context.Context, run s... method ReceiveRun (line 315) | func (iatt *ImplementsAllTheThings) ReceiveRun(qURL string) (queue.Run... method ReceiveStatus (line 334) | func (iatt *ImplementsAllTheThings) ReceiveStatus(qURL string) (queue.... method List (line 355) | func (iatt *ImplementsAllTheThings) List() ([]string, error) { method GetEvents (line 366) | func (iatt *ImplementsAllTheThings) GetEvents(ctx context.Context, run... method FetchUpdateStatus (line 375) | func (iatt *ImplementsAllTheThings) FetchUpdateStatus(ctx context.Cont... method FetchPodMetrics (line 381) | func (iatt *ImplementsAllTheThings) FetchPodMetrics(ctx context.Contex... method CanBeRun (line 387) | func (iatt *ImplementsAllTheThings) CanBeRun(clusterName string, execu... method IsImageValid (line 396) | func (iatt *ImplementsAllTheThings) IsImageValid(imageRef string) (boo... method PollRunStatus (line 404) | func (iatt *ImplementsAllTheThings) PollRunStatus(ctx context.Context)... method PollRuns (line 410) | func (iatt *ImplementsAllTheThings) PollRuns(ctx context.Context) ([]e... method PollStatus (line 432) | func (iatt *ImplementsAllTheThings) PollStatus(ctx context.Context) (e... method Execute (line 453) | func (iatt *ImplementsAllTheThings) Execute(ctx context.Context, execu... method Terminate (line 459) | func (iatt *ImplementsAllTheThings) Terminate(ctx context.Context, run... method Define (line 465) | func (iatt *ImplementsAllTheThings) Define(ctx context.Context, defini... method Deregister (line 472) | func (iatt *ImplementsAllTheThings) Deregister(ctx context.Context, de... method Logs (line 478) | func (iatt *ImplementsAllTheThings) Logs(executable state.Executable, ... method GetExecutableByTypeAndID (line 484) | func (iatt *ImplementsAllTheThings) GetExecutableByTypeAndID(ctx conte... method ListTemplates (line 497) | func (iatt *ImplementsAllTheThings) ListTemplates(ctx context.Context,... method ListTemplatesLatestOnly (line 507) | func (iatt *ImplementsAllTheThings) ListTemplatesLatestOnly(ctx contex... method GetTemplateByVersion (line 518) | func (iatt *ImplementsAllTheThings) GetTemplateByVersion(ctx context.C... method GetTemplateByID (line 538) | func (iatt *ImplementsAllTheThings) GetTemplateByID(ctx context.Contex... method GetLatestTemplateByTemplateName (line 549) | func (iatt *ImplementsAllTheThings) GetLatestTemplateByTemplateName(ct... method CreateTemplate (line 571) | func (iatt *ImplementsAllTheThings) CreateTemplate(ctx context.Context... method GetRunStatus (line 577) | func (iatt *ImplementsAllTheThings) GetRunStatus(ctx context.Context, ... FILE: tracing/tracing.go function TraceJob (line 11) | func TraceJob(ctx context.Context, operationName string, runID string) (... function TagRunInfo (line 23) | func TagRunInfo(span tracer.Span, type TextMapCarrier (line 40) | type TextMapCarrier method ForeachKey (line 43) | func (c TextMapCarrier) ForeachKey(handler func(key, val string) error... method Set (line 53) | func (c TextMapCarrier) Set(key, val string) { FILE: ui/src/components/ARASwitch.tsx type Props (line 9) | type Props = { class ARASwitch (line 13) | class ARASwitch extends React.Component { method constructor (line 14) | constructor(props: Props) { method handleChange (line 19) | handleChange() { method isEnabled (line 44) | isEnabled() { method render (line 48) | render() { type ConnectedProps (line 71) | type ConnectedProps = { FILE: ui/src/components/App.tsx class App (line 20) | class App extends React.Component> { method componentDidMount (line 21) | componentDidMount() { method checkOnboardingStatus (line 25) | checkOnboardingStatus() { method render (line 52) | render() { FILE: ui/src/components/Attribute.tsx type Props (line 5) | type Props = { rawValue: string } type State (line 6) | type State = { isCopied: boolean } class CopyableAttributeValue (line 8) | class CopyableAttributeValue extends React.Component { method constructor (line 9) | constructor(props: Props) { method handleCopy (line 18) | handleCopy() { method render (line 22) | render() { FILE: ui/src/components/BaseTaskForm.tsx type Props (line 43) | type Props = Pick< FILE: ui/src/components/CloudtrailRecords.tsx type Props (line 5) | type Props = { FILE: ui/src/components/CreateTaskForm.tsx type Props (line 26) | type Props = Pick< type ConnectedProps (line 75) | type ConnectedProps = RouteComponentProps & { FILE: ui/src/components/DeleteTaskButton.tsx type Args (line 9) | type Args = { definitionID: string } type Props (line 10) | type Props = ChildProps & ConnectedProps type State (line 11) | type State = { isOpen: boolean } class DeleteTaskButton (line 13) | class DeleteTaskButton extends React.Component { method constructor (line 14) | constructor(props: Props) { method handleSubmitClick (line 24) | handleSubmitClick() { method openDialog (line 28) | openDialog() { method closeDialog (line 32) | closeDialog() { method render (line 36) | render() { type ConnectedProps (line 72) | type ConnectedProps = { FILE: ui/src/components/Duration.tsx type Props (line 5) | type Props = { type State (line 11) | type State = { class Duration (line 15) | class Duration extends React.Component { method constructor (line 17) | constructor(props: Props) { method componentDidMount (line 26) | componentDidMount() { method componentWillUnmount (line 36) | componentWillUnmount() { method process (line 40) | process() { method render (line 45) | render() { FILE: ui/src/components/EnvFieldArray.tsx type Props (line 10) | type Props = { FILE: ui/src/components/EnvQueryFilter.tsx type Props (line 8) | type Props = { type State (line 13) | type State = { class EnvQueryFilter (line 18) | class EnvQueryFilter extends React.Component { method constructor (line 21) | constructor(props: Props) { method serialize (line 36) | serialize(env: Env): string { method deserialize (line 40) | deserialize(str: string): Env { method handleNameChange (line 48) | handleNameChange(i: number, evt: React.ChangeEvent) { method handleValueChange (line 56) | handleValueChange(i: number, evt: React.ChangeEvent) { method handleRemove (line 64) | handleRemove(i: number) { method handleNewNameChange (line 71) | handleNewNameChange(evt: React.ChangeEvent) { method handleNewValueChange (line 75) | handleNewValueChange(evt: React.ChangeEvent) { method handleAddNewEnv (line 79) | handleAddNewEnv() { method shouldDisableAddNewEnvButton (line 90) | shouldDisableAddNewEnvButton(): boolean { method render (line 95) | render() { FILE: ui/src/components/ListRequest.tsx constant DEFAULT_PROPS (line 7) | const DEFAULT_PROPS = { type Props (line 11) | type Props = RequestChildProps & type ChildProps (line 18) | type ChildProps = Omit< class ListRequest (line 31) | class ListRequest extends React.Component< method componentDidMount (line 36) | componentDidMount() { method componentDidUpdate (line 45) | componentDidUpdate(prevProps: Props) { method request (line 51) | request() { method updateSort (line 60) | updateSort(sortKey: string): void { method updatePage (line 95) | updatePage(n: number): void { method updateFilter (line 103) | updateFilter(key: string, value: any): void { method getChildProps (line 107) | getChildProps(): ChildProps { method render (line 124) | render() { type ConnectedProps (line 129) | type ConnectedProps = { class ConnectedListRequest (line 136) | class ConnectedListRequest extends React.Component< method render (line 140) | render() { FILE: ui/src/components/Log.tsx type Props (line 9) | type Props = { class Log (line 15) | class Log extends React.Component { method componentDidMount (line 18) | componentDidMount() { method componentDidUpdate (line 24) | componentDidUpdate(prevProps: Props) { method shouldScrollToBottom (line 46) | shouldScrollToBottom(prev: Props, next: Props) { method render (line 52) | render() { FILE: ui/src/components/LogProcessor.tsx type ConnectedProps (line 10) | type ConnectedProps = { type Props (line 15) | type Props = ConnectedProps & { type State (line 20) | type State = { class LogProcessor (line 25) | class LogProcessor extends React.Component { method constructor (line 27) | constructor(props: Props) { method componentDidMount (line 47) | componentDidMount() { method componentDidUpdate (line 51) | componentDidUpdate(prevProps: Props) { method processLogs (line 67) | processLogs(): void { method render (line 80) | render() { FILE: ui/src/components/LogRequesterCloudWatchLogs.tsx type Props (line 18) | type Props = { type State (line 23) | type State = { class LogRequesterCloudWatchLogs (line 37) | class LogRequesterCloudWatchLogs extends React.Component { method componentDidMount (line 41) | componentDidMount() { method componentDidUpdate (line 45) | componentDidUpdate(prevProps: Props) { method componentWillUnmount (line 60) | componentWillUnmount() { method initialize (line 79) | initialize() { method handleRunIDChange (line 91) | handleRunIDChange() { method render (line 158) | render() { FILE: ui/src/components/LogRequesterS3.tsx type Props (line 20) | type Props = { type State (line 25) | type State = { class LogRequesterS3 (line 37) | class LogRequesterS3 extends React.PureComponent { method componentDidMount (line 42) | componentDidMount() { method componentDidUpdate (line 46) | componentDidUpdate(prevProps: Props) { method componentWillUnmount (line 64) | componentWillUnmount() { method initialize (line 89) | initialize() { method handleRunIDChange (line 97) | handleRunIDChange() { method render (line 132) | render() { FILE: ui/src/components/LogVirtualized.tsx type Props (line 15) | type Props = { type State (line 22) | type State = { type KeyCode (line 30) | enum KeyCode { class LogVirtualized (line 37) | class LogVirtualized extends React.Component { method constructor (line 46) | constructor(props: Props) { method componentDidMount (line 63) | componentDidMount() { method componentDidUpdate (line 72) | componentDidUpdate(prevProps: Props, prevState: State) { method componentWillUnmount (line 88) | componentWillUnmount() { method search (line 97) | search(q: string): void { method handleCursorChange (line 124) | handleCursorChange(): void { method handleIncrementCursor (line 134) | handleIncrementCursor(): void { method handleDecrementCursor (line 145) | handleDecrementCursor(): void { method handleKeydown (line 156) | handleKeydown(evt: KeyboardEvent) { method resetSearchState (line 185) | resetSearchState(): void { method searchInputFocus (line 194) | searchInputFocus() { method scrollTo (line 200) | scrollTo( method render (line 210) | render() { FILE: ui/src/components/LogVirtualizedSearch.tsx type Props (line 4) | type Props = { FILE: ui/src/components/Pagination.tsx type Props (line 4) | type Props = { FILE: ui/src/components/QueryParams.tsx type Props (line 5) | type Props = RouteComponentProps & { type ChildProps (line 9) | type ChildProps = { class QueryParams (line 14) | class QueryParams extends React.Component { method setQuery (line 15) | setQuery(query: object, shouldReplace?: boolean): void { method getQuery (line 25) | getQuery(): object { method getChildProps (line 35) | getChildProps(): ChildProps { method render (line 42) | render() { FILE: ui/src/components/Request.tsx type RequestStatus (line 4) | enum RequestStatus { type Props (line 10) | type Props = { type State (line 19) | type State = { type ChildProps (line 27) | type ChildProps = State & { class Request (line 31) | class Request extends React.Component< method componentDidMount (line 48) | componentDidMount() { method request (line 54) | request(args: ArgsType): void { method render (line 85) | render() { FILE: ui/src/components/Run.tsx type Props (line 53) | type Props = QPChildProps & class Run (line 58) | class Run extends React.Component { method constructor (line 61) | constructor(props: Props) { method componentDidMount (line 66) | componentDidMount() { method componentDidUpdate (line 73) | componentDidUpdate(prevProps: Props) { method componentWillUnmount (line 91) | componentWillUnmount() { method request (line 95) | request() { method setRequestInterval (line 101) | setRequestInterval() { method clearRequestInterval (line 108) | clearRequestInterval() { method getActiveTabId (line 112) | getActiveTabId(): RunTabId { method setActiveTabId (line 135) | setActiveTabId(id: RunTabId): void { method getExecutableLinkName (line 139) | getExecutableLinkName(): string { method getExecutableLinkURL (line 152) | getExecutableLinkURL(): string { method render (line 165) | render() { FILE: ui/src/components/RunEvents.tsx type Props (line 11) | type Props = { FILE: ui/src/components/Runs.tsx type Props (line 35) | type Props = ListRequestChildProps< FILE: ui/src/components/SortableTh.tsx type Props (line 4) | type Props = { FILE: ui/src/components/StopRunButton.tsx type Args (line 9) | type Args = { definitionID: string; runID: string } type Props (line 10) | type Props = ChildProps & ConnectedProps type State (line 11) | type State = { isOpen: boolean } class StopRunButton (line 13) | class StopRunButton extends React.Component { method constructor (line 14) | constructor(props: Props) { method openDialog (line 25) | openDialog() { method closeDialog (line 29) | closeDialog() { method handleSubmitClick (line 33) | handleSubmitClick() { method render (line 41) | render() { type ConnectedProps (line 76) | type ConnectedProps = { FILE: ui/src/components/Table.tsx type Column (line 7) | type Column = { type Props (line 13) | type Props = { class Table (line 22) | class Table extends React.Component> { method render (line 23) | render() { FILE: ui/src/components/Task.tsx type TaskCtx (line 14) | type TaskCtx = ChildProps & { type ConnectedProps (line 87) | type ConnectedProps = RouteComponentProps<{ definitionID: string }> FILE: ui/src/components/TaskExecutionForm.tsx type Props (line 55) | type Props = RequestChildProps< FILE: ui/src/components/TaskRuns.tsx type Props (line 36) | type Props = ListRequestChildProps< FILE: ui/src/components/Tasks.tsx type Props (line 25) | type Props = ListRequestChildProps< FILE: ui/src/components/Template.tsx type TemplateCtx (line 9) | type TemplateCtx = ChildProps & { type ConnectedProps (line 40) | type ConnectedProps = RouteComponentProps<{ templateID: string }> FILE: ui/src/components/TemplateExecutionForm.tsx type Props (line 55) | type Props = RequestChildProps< FILE: ui/src/components/TemplateHistoryTable.tsx type Props (line 36) | type Props = ListRequestChildProps< FILE: ui/src/components/TemplateRunForm.tsx type Props (line 76) | type Props = RequestChildProps< class RunForm (line 112) | class RunForm extends React.Component { method onSubmit (line 121) | onSubmit(jsonschemaForm: any) { method render (line 132) | render() { FILE: ui/src/components/Templates.tsx type Props (line 21) | type Props = ListRequestChildProps< FILE: ui/src/components/Toggler.tsx type Props (line 3) | type Props = { type State (line 7) | type State = { type ChildProps (line 11) | type ChildProps = { class Toggler (line 16) | class Toggler extends React.Component { method toggleVisibility (line 21) | toggleVisibility() { method getChildProps (line 25) | getChildProps(): ChildProps { method render (line 32) | render() { FILE: ui/src/components/UpdateTaskForm.tsx type Props (line 22) | type Props = Pick< type ConnectedProps (line 60) | type ConnectedProps = RouteComponentProps & { FILE: ui/src/components/ViewHeader.tsx type Props (line 5) | type Props = { FILE: ui/src/components/__tests__/ListRequest.spec.tsx constant DEFAULT_PROPS (line 7) | const DEFAULT_PROPS: Props = { FILE: ui/src/components/__tests__/Run.spec.tsx type RunInstance (line 17) | type RunInstance = {} FILE: ui/src/constants.ts constant PAGE_SIZE (line 5) | const PAGE_SIZE = 20 constant RUN_FETCH_INTERVAL_MS (line 6) | const RUN_FETCH_INTERVAL_MS = 5000 // 5 sec constant LOG_FETCH_INTERVAL_MS (line 7) | const LOG_FETCH_INTERVAL_MS = 10000 // 10 sec constant KILL_LOG_POLLING_TIMEOUT_MS (line 8) | const KILL_LOG_POLLING_TIMEOUT_MS = 120000 // 2 mins constant RUN_TAB_ID_QUERY_KEY (line 9) | const RUN_TAB_ID_QUERY_KEY = "rt" constant LOG_SEARCH_QUERY_KEY (line 10) | const LOG_SEARCH_QUERY_KEY = "log_search" constant RUN_STATUS_COLOR_MAP (line 11) | const RUN_STATUS_COLOR_MAP = new Map< constant LOCAL_STORAGE_SETTINGS_KEY (line 23) | const LOCAL_STORAGE_SETTINGS_KEY = "settings" constant LOCAL_STORAGE_IS_ONBOARDED_KEY (line 24) | const LOCAL_STORAGE_IS_ONBOARDED_KEY = "is_onboarded" constant CHAR_TO_PX_RATIO (line 25) | const CHAR_TO_PX_RATIO = 40 / 300 constant JSON_VIEW_PROPS (line 26) | const JSON_VIEW_PROPS: Partial = { FILE: ui/src/helpers/FlotillaClient.ts type IInitOpts (line 32) | interface IInitOpts { class FlotillaClient (line 37) | class FlotillaClient { method constructor (line 40) | constructor({ baseURL, headers = {} }: IInitOpts) { method request (line 303) | private request({ method, url, params, data }: RequestArgs): Promis... FILE: ui/src/helpers/constructDefaultObjectFromJsonSchema.ts constant DEFAULT_ARRAY (line 3) | const DEFAULT_ARRAY: any[] = [] constant DEFAULT_STRING (line 4) | const DEFAULT_STRING = "" constant DEFAULT_NUM (line 5) | const DEFAULT_NUM = 0 constant DEFAULT_BOOL (line 6) | const DEFAULT_BOOL = false function constructDefaultObjectFromJsonSchema (line 8) | function constructDefaultObjectFromJsonSchema( function helper (line 27) | function helper(properties: object, root: { [k: string]: any }): void { FILE: ui/src/helpers/getInitialValuesForExecutionForm.ts function getInitialValuesForTaskExecutionForm (line 18) | function getInitialValuesForTaskExecutionForm( function getInitialValuesForTemplateExecutionForm (line 32) | function getInitialValuesForTemplateExecutionForm( function getInitialValuesForCommonExecutionFields (line 48) | function getInitialValuesForCommonExecutionFields( FILE: ui/src/helpers/testHelpers.ts function createMockRouteComponentProps (line 13) | function createMockRouteComponentProps({ FILE: ui/src/state/runView.ts type RunViewReducer (line 3) | type RunViewReducer = { method toggleAutoscroll (line 19) | toggleAutoscroll(state) { method setHasLogs (line 23) | setHasLogs(state) { method toggleIsLogRequestIntervalActive (line 27) | toggleIsLogRequestIntervalActive( FILE: ui/src/state/settings.ts type Settings (line 7) | type Settings = { type SettingsReducer (line 12) | type SettingsReducer = { method initStart (line 44) | initStart() {} method initSuccess (line 45) | initSuccess(state, { payload }: PayloadAction) { method initFailure (line 48) | initFailure() {} method updateStart (line 49) | updateStart(state) { method updateSuccess (line 52) | updateSuccess(state, { payload }: PayloadAction) { method updateFailure (line 57) | updateFailure(state) { method toggleDialogVisibilityChange (line 60) | toggleDialogVisibilityChange( FILE: ui/src/state/store.ts type RootState (line 34) | type RootState = ReturnType type AppDispatch (line 35) | type AppDispatch = typeof store.dispatch type AppThunk (line 36) | type AppThunk = ThunkAction> FILE: ui/src/types.ts type Env (line 3) | type Env = { type Task (line 8) | type Task = { type RunInstance (line 18) | type RunInstance = { type CloudTrailNotifications (line 23) | type CloudTrailNotifications = {} type ExecutableType (line 25) | enum ExecutableType { type Run (line 30) | type Run = { type RunLog (line 64) | type RunLog = { type RunLogRaw (line 69) | type RunLogRaw = string type HTTPMethod (line 75) | enum HTTPMethod { type SortOrder (line 82) | enum SortOrder { type RunStatus (line 87) | enum RunStatus { type EnhancedRunStatus (line 95) | enum EnhancedRunStatus { type SelectOption (line 107) | type SelectOption = { label: string; value: string } type SelectProps (line 109) | type SelectProps = { type MultiSelectProps (line 115) | type MultiSelectProps = { type RequestArgs (line 126) | type RequestArgs = { type ListRequestArgs (line 133) | type ListRequestArgs = { type ListResponse (line 140) | type ListResponse = { type ListTaskRunsParams (line 148) | type ListTaskRunsParams = Omit type ListTaskRunsResponse (line 149) | type ListTaskRunsResponse = Omit type ListTaskParams (line 151) | type ListTaskParams = ListRequestArgs & { type ListTaskResponse (line 157) | type ListTaskResponse = ListResponse & { type CreateTaskPayload (line 164) | type CreateTaskPayload = UpdateTaskPayload & { alias: string } type UpdateTaskPayload (line 166) | type UpdateTaskPayload = { type ExecutionEngine (line 177) | enum ExecutionEngine { type NodeLifecycle (line 184) | enum NodeLifecycle { type LaunchRequestV2 (line 191) | type LaunchRequestV2 = { type ListRunParams (line 203) | type ListRunParams = ListRequestArgs & { type ListRunResponse (line 210) | type ListRunResponse = ListResponse & { type ListClustersResponse (line 218) | type ListClustersResponse = ListResponse & { clusters: string[] | null } type ListGroupsResponse (line 219) | type ListGroupsResponse = ListResponse & { groups: string[] | null } type ListTagsResponse (line 220) | type ListTagsResponse = ListResponse & { tags: string[] | null } type FieldSpec (line 222) | type FieldSpec = { type PodEvent (line 229) | type PodEvent = { type ListRunEventsResponse (line 237) | type ListRunEventsResponse = { type RunTabId (line 242) | enum RunTabId { type ExecutableResources (line 249) | type ExecutableResources = { type Template (line 261) | type Template = { type ListTemplateParams (line 271) | type ListTemplateParams = ListRequestArgs & { type ListTemplateResponse (line 275) | type ListTemplateResponse = ListResponse & { type TemplateExecutionRequest (line 279) | type TemplateExecutionRequest = { type ExecutionRequestCommon (line 283) | type ExecutionRequestCommon = { type CloudtrailRecord (line 293) | type CloudtrailRecord = { type CloudtrailRecords (line 298) | type CloudtrailRecords = { type ListTemplateHistoryParams (line 314) | type ListTemplateHistoryParams = Omit type ListTemplateHistoryResponse (line 315) | type ListTemplateHistoryResponse = Omit type Executable (line 316) | type Executable = Template | Task FILE: ui/src/workers/index.ts class WebWorker (line 1) | class WebWorker { method constructor (line 2) | constructor(worker: any) { FILE: utils/dd_tracing.go function TraceJob (line 12) | func TraceJob(ctx context.Context, operationName string, runID string) (... function TagJobRun (line 17) | func TagJobRun(span tracer.Span, run state.Run) { FILE: utils/utils.go function StringSliceContains (line 11) | func StringSliceContains(s []string, e string) bool { function SetupRedisClient (line 20) | func SetupRedisClient(c config.Config) (*redis.Client, error) { FILE: worker/events_worker.go type eventsWorker (line 23) | type eventsWorker struct method Initialize (line 44) | func (ew *eventsWorker) Initialize(conf config.Config, sm state.Manage... method GetTomb (line 82) | func (ew *eventsWorker) GetTomb() *tomb.Tomb { method Run (line 86) | func (ew *eventsWorker) Run(ctx context.Context) error { method runOnceEMR (line 102) | func (ew *eventsWorker) runOnceEMR(ctx context.Context) { method processEventEMR (line 113) | func (ew *eventsWorker) processEventEMR(ctx context.Context, emrEvent ... method runOnce (line 184) | func (ew *eventsWorker) runOnce(ctx context.Context) { method processEMRPodEvents (line 195) | func (ew *eventsWorker) processEMRPodEvents(ctx context.Context, kuber... method setEMRMetricsUri (line 354) | func (ew *eventsWorker) setEMRMetricsUri(run *state.Run) { method setEKSMetricsUri (line 366) | func (ew *eventsWorker) setEKSMetricsUri(run *state.Run) { method processEvent (line 390) | func (ew *eventsWorker) processEvent(ctx context.Context, kubernetesEv... method parsePodName (line 446) | func (ew *eventsWorker) parsePodName(kubernetesEvent state.KubernetesE... method applySlidingWindow (line 457) | func (ew *eventsWorker) applySlidingWindow(events state.PodEvents, new... FILE: worker/events_worker_test.go function TestEventsWorker_applySlidingWindow (line 11) | func TestEventsWorker_applySlidingWindow(t *testing.T) { FILE: worker/retry_worker.go type retryWorker (line 17) | type retryWorker struct method Initialize (line 27) | func (rw *retryWorker) Initialize(conf config.Config, sm state.Manager... method GetTomb (line 38) | func (rw *retryWorker) GetTomb() *tomb.Tomb { method Run (line 43) | func (rw *retryWorker) Run(ctx context.Context) error { method runOnce (line 56) | func (rw *retryWorker) runOnce(ctx context.Context) { FILE: worker/retry_worker_test.go function setUpRetryWorkerTest (line 13) | func setUpRetryWorkerTest(t *testing.T) (*retryWorker, *testutils.Implem... function TestRetryWorker_Run (line 41) | func TestRetryWorker_Run(t *testing.T) { FILE: worker/status_worker.go type statusWorker (line 26) | type statusWorker struct method Initialize (line 42) | func (sw *statusWorker) Initialize(conf config.Config, sm state.Manage... method GetTomb (line 63) | func (sw *statusWorker) GetTomb() *tomb.Tomb { method Run (line 68) | func (sw *statusWorker) Run(ctx context.Context) error { method runTimeouts (line 84) | func (sw *statusWorker) runTimeouts(ctx context.Context) { method processTimeouts (line 103) | func (sw *statusWorker) processTimeouts(runs []state.Run) { method runOnceEKS (line 135) | func (sw *statusWorker) runOnceEKS(ctx context.Context) { method processEKSRuns (line 154) | func (sw *statusWorker) processEKSRuns(ctx context.Context, runs []sta... method acquireLock (line 190) | func (sw *statusWorker) acquireLock(run state.Run, purpose string, exp... method processEKSRun (line 206) | func (sw *statusWorker) processEKSRun(ctx context.Context, run state.R... method cleanupRun (line 307) | func (sw *statusWorker) cleanupRun(ctx context.Context, runID string) { method extractExceptions (line 321) | func (sw *statusWorker) extractExceptions(ctx context.Context, runID s... method processEKSRunMetrics (line 353) | func (sw *statusWorker) processEKSRunMetrics(ctx context.Context, run ... method logStatusUpdate (line 368) | func (sw *statusWorker) logStatusUpdate(update state.Run) { method findRun (line 441) | func (sw *statusWorker) findRun(ctx context.Context, taskArn string) (... FILE: worker/status_worker_test.go function setUpStatusWorkerTest (line 13) | func setUpStatusWorkerTest(t *testing.T) (*statusWorker, *testutils.Impl... function setUpStatusWorkerTest2 (line 69) | func setUpStatusWorkerTest2(t *testing.T) (*statusWorker, *testutils.Imp... FILE: worker/submit_worker.go type submitWorker (line 21) | type submitWorker struct method Initialize (line 33) | func (sw *submitWorker) Initialize(conf config.Config, sm state.Manage... method GetTomb (line 46) | func (sw *submitWorker) GetTomb() *tomb.Tomb { method Run (line 51) | func (sw *submitWorker) Run(ctx context.Context) error { method runOnce (line 63) | func (sw *submitWorker) runOnce(ctx context.Context) { method logFailedToGetExecutableMessage (line 237) | func (sw *submitWorker) logFailedToGetExecutableMessage(run state.Run,... FILE: worker/submit_worker_test.go function setUpSubmitWorkerTest1 (line 15) | func setUpSubmitWorkerTest1(t *testing.T) (*submitWorker, *testutils.Imp... function setUpSubmitWorkerTest2 (line 48) | func setUpSubmitWorkerTest2(t *testing.T) (*submitWorker, *testutils.Imp... function setUpSubmitWorkerTest3 (line 81) | func setUpSubmitWorkerTest3(t *testing.T) (*submitWorker, *testutils.Imp... function TestSubmitWorker_Run (line 109) | func TestSubmitWorker_Run(t *testing.T) { function TestSubmitWorker_Run2 (line 130) | func TestSubmitWorker_Run2(t *testing.T) { function TestSubmitWorker_Run3 (line 148) | func TestSubmitWorker_Run3(t *testing.T) { function TestSubmitWorker_Run4 (line 167) | func TestSubmitWorker_Run4(t *testing.T) { function TestSubmitWorker_Run5 (line 195) | func TestSubmitWorker_Run5(t *testing.T) { FILE: worker/worker.go type Worker (line 18) | type Worker interface function NewWorker (line 25) | func NewWorker(workerType string, log flotillaLog.Logger, conf config.Co... function GetPollInterval (line 51) | func GetPollInterval(workerType string, conf config.Config) (time.Durati... FILE: worker/worker_manager.go type workerManager (line 18) | type workerManager struct method Initialize (line 32) | func (wm *workerManager) Initialize( method GetTomb (line 61) | func (wm *workerManager) GetTomb() *tomb.Tomb { method InitializeWorkers (line 68) | func (wm *workerManager) InitializeWorkers(ctx context.Context) error { method Run (line 99) | func (wm *workerManager) Run(ctx context.Context) error { method runOnce (line 114) | func (wm *workerManager) runOnce(ctx context.Context) error { method updateWorkerCount (line 139) | func (wm *workerManager) updateWorkerCount( method removeWorker (line 168) | func (wm *workerManager) removeWorker(ctx context.Context, workerType ... method addWorker (line 185) | func (wm *workerManager) addWorker(ctx context.Context, workerType str... FILE: worker/worker_test.go function TestGetPollInterval (line 11) | func TestGetPollInterval(t *testing.T) {