(apiName string)
| 388 | } |
| 389 | |
| 390 | func deleteBucketResources(apiName string) error { |
| 391 | prefix := filepath.Join(config.ClusterConfig.ClusterUID, "apis", apiName) |
| 392 | return config.AWS.DeleteS3Dir(config.ClusterConfig.Bucket, prefix, true) |
| 393 | } |
| 394 | |
| 395 | // returns true if min_replicas are not ready and no updated replicas have errored |
| 396 | func isAPIUpdating(deployment *kapps.Deployment) (bool, error) { |
no test coverage detected