mirror of
https://github.com/sablierapp/sablier.git
synced 2025-12-21 21:33:06 +01:00
13 lines
260 B
Go
13 lines
260 B
Go
package kubernetes
|
|
|
|
import "context"
|
|
|
|
func (p *KubernetesProvider) InstanceStop(ctx context.Context, name string) error {
|
|
parsed, err := ParseName(name, ParseOptions{Delimiter: p.delimiter})
|
|
if err != nil {
|
|
return err
|
|
}
|
|
|
|
return p.scale(ctx, parsed, 0)
|
|
}
|