MCPcopy Create free account
hub / github.com/cortexlabs/cortex / deleteBucketResources

Function deleteBucketResources

pkg/operator/resources/realtimeapi/api.go:390–393  ·  view source on GitHub ↗
(apiName string)

Source from the content-addressed store, hash-verified

388}
389
390func 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
396func isAPIUpdating(deployment *kapps.Deployment) (bool, error) {

Callers 1

DeleteAPIFunction · 0.70

Calls 1

DeleteS3DirMethod · 0.80

Tested by

no test coverage detected