Documentation ¶
Index ¶
- Constants
- func New(kwargs []starlark.Tuple) (resetter.Interface, error)
- type Resetter
- func (s *Resetter) ExecReset(ctx context.Context, shower progresser.Shower, only bool, ...) error
- func (s *Resetter) ExecStart(ctx context.Context, shower progresser.Shower, only bool, ...) error
- func (s *Resetter) ExecStop(ctx context.Context, shower progresser.Shower, only bool, ...) error
- func (s *Resetter) Name() string
- func (s *Resetter) Provides() []string
- func (s *Resetter) Terminate(ctx context.Context, shower progresser.Shower, envRead map[string]string) (err error)
- func (s *Resetter) ToProto() *fm.Clt_Fuzz_Resetter
Constants ¶
View Source
const Name = "shell"
Name names the Starlark builtin
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Resetter ¶
type Resetter struct { fm.Clt_Fuzz_Resetter_Shell // contains filtered or unexported fields }
Resetter implements resetter.Interface
func (*Resetter) ExecReset ¶
func (s *Resetter) ExecReset(ctx context.Context, shower progresser.Shower, only bool, envRead map[string]string) error
ExecReset resets the System Under Test to a state similar to a post-ExecStart state
func (*Resetter) ExecStart ¶
func (s *Resetter) ExecStart(ctx context.Context, shower progresser.Shower, only bool, envRead map[string]string) error
ExecStart executes the setup phase of the System Under Test
func (*Resetter) ExecStop ¶
func (s *Resetter) ExecStop(ctx context.Context, shower progresser.Shower, only bool, envRead map[string]string) error
ExecStop executes the cleanup phase of the System Under Test
func (*Resetter) Terminate ¶
func (s *Resetter) Terminate(ctx context.Context, shower progresser.Shower, envRead map[string]string) (err error)
Terminate cleans up after a resetter.Interface implementation instance
func (*Resetter) ToProto ¶
func (s *Resetter) ToProto() *fm.Clt_Fuzz_Resetter
ToProto marshals a resetter.Interface implementation into a *fm.Clt_Fuzz_Resetter
Click to show internal directories.
Click to hide internal directories.