Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Impostor ¶
func Impostor(ctx context.Context, target *impostordatav1.TargetDescriptor, args ...string) error
func IsCurrentProcessImpostor ¶
func IsCurrentProcessImpostor() (bool, *impostordatav1.TargetDescriptor, error)
Types ¶
type Compensate ¶
type Compensate func() error
func Install ¶
func Install(target *impostordatav1.TargetDescriptor) (Compensate, error)
func Uninstall ¶
func Uninstall(cmd string) (Compensate, error)
func (Compensate) Run ¶
func (c Compensate) Run() error
func (Compensate) With ¶
func (c Compensate) With(other Compensate) Compensate
Click to show internal directories.
Click to hide internal directories.