service

package
v0.0.61 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const AddServiceDependencyKind = "service.add_dependency"
View Source
const AddServiceKind = "service.add"
View Source
const SetServiceActiveKind = "service.activate"

Variables

This section is empty.

Functions

This section is empty.

Types

type AddService

type AddService = actionsv1.AddService

type AddServiceAction

type AddServiceAction struct {
	*AddService
}

func NewActionAddService

func NewActionAddService(ctx context.Context, in *AddService) (*AddServiceAction, error)

func (*AddServiceAction) Command

func (action *AddServiceAction) Command() string

func (*AddServiceAction) Run

func (action *AddServiceAction) Run(ctx context.Context) (any, error)

type AddServiceDependency

type AddServiceDependency = actionsv1.AddServiceDependency

type AddServiceDependencyAction

type AddServiceDependencyAction struct {
	*AddServiceDependency
}

func (*AddServiceDependencyAction) Command

func (action *AddServiceDependencyAction) Command() string

func (*AddServiceDependencyAction) Run

func (action *AddServiceDependencyAction) Run(ctx context.Context) (any, error)

type SetServiceActive

type SetServiceActive = actionsv1.SetServiceActive

type SetServiceActiveAction

type SetServiceActiveAction struct {
	*SetServiceActive
}

func NewActionSetServiceActive

func NewActionSetServiceActive(ctx context.Context, in *SetServiceActive) (*SetServiceActiveAction, error)

func (*SetServiceActiveAction) Command

func (action *SetServiceActiveAction) Command() string

func (*SetServiceActiveAction) Run

func (action *SetServiceActiveAction) Run(_ context.Context) (any, error)

Jump to

Keyboard shortcuts

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