handlers

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 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 {
	EnableService(ctx context.Context, dryrun bool, name string) (err error)
}

func NewEnableService

func NewEnableService(execIF exec.Interface) EnableServiceHandler

type EnableServiceHandlerFunc

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

func (EnableServiceHandlerFunc) EnableService

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

type StartServiceHandler

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

func NewStartService

func NewStartService(execIF exec.Interface) StartServiceHandler

type StartServiceHandlerFunc

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

func (StartServiceHandlerFunc) StartService

func (f StartServiceHandlerFunc) StartService(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