Skip to content

Commit

Permalink
Removing unused types (#1221)
Browse files Browse the repository at this point in the history
  • Loading branch information
kushalmalani committed May 19, 2023
1 parent e45a32f commit b8081e4
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions astro-client/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit b8081e4

Please sign in to comment.