handlers

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnableServiceHandler

type EnableServiceHandler interface {
	Run(ctx context.Context, dryrun bool, name string) (err error)
}

func NewEnableService

func NewEnableService(exc exec.Interface) EnableServiceHandler

type EnableServiceHandlerFunc

type EnableServiceHandlerFunc func(ctx context.Context, dryrun bool, name string) error

func (EnableServiceHandlerFunc) Run added in v0.0.20

func (f EnableServiceHandlerFunc) Run(ctx context.Context, dryrun bool, name string) error

type StartServiceHandler

type StartServiceHandler interface {
	Run(ctx context.Context, dryrun bool, name string) (err error)
}

func NewStartService

func NewStartService(exc exec.Interface) StartServiceHandler

type StartServiceHandlerFunc

type StartServiceHandlerFunc func(ctx context.Context, dryrun bool, name string) error

func (StartServiceHandlerFunc) Run added in v0.0.20

func (f StartServiceHandlerFunc) Run(ctx context.Context, dryrun bool, name string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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