stoper

package
v0.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stopr

type Stopr struct {
	// contains filtered or unexported fields
}

Stopr is the struct for stopping tortoise safely.

func New

func New(c client.Client, ds *deployment.Service, ps *pod.Service) *Stopr

func (*Stopr) Stop

func (s *Stopr) Stop(ctx context.Context, tortoiseNames []string, namespace string, all bool, writer io.Writer, opts ...StoprOption) error

type StoprOption

type StoprOption string
var (
	NoLoweringResource StoprOption = "NoLoweringResource"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL