From b8081e48f7c114ffa47fc994f933a5cfeae49930 Mon Sep 17 00:00:00 2001 From: kushalmalani Date: Fri, 19 May 2023 09:47:17 -0700 Subject: [PATCH] Removing unused types (#1221) --- astro-client/types.go | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/astro-client/types.go b/astro-client/types.go index c202d2e38..99850fabb 100644 --- a/astro-client/types.go +++ b/astro-client/types.go @@ -56,6 +56,7 @@ type Deployment struct { Status string `json:"status"` ReleaseName string `json:"releaseName"` Version string `json:"version"` + Type string `json:"type"` DagDeployEnabled bool `json:"dagDeployEnabled"` APIKeyOnlyDeployments bool `json:"apiKeyOnlyDeployments"` AlertEmails []string `json:"alertEmails"` @@ -244,17 +245,8 @@ type CeleryExecutorConfig struct { Name string `json:"name"` } -type KubernetesExecutorDefaultPodConfig struct { - CPU int `json:"cpu"` - CPULimitCores int `json:"cpuLimitCores"` - Memory int `json:"memory"` - MinPodCount int `json:"minPodCount"` - Concurrency int `json:"concurrency"` -} - type KubernetesExecutorConfig struct { - Name string `json:"name"` - DefaultPod KubernetesExecutorDefaultPodConfig `json:"defaultPod"` + Name string `json:"name"` } type ExecutorConfig struct {