service_internal

package
v0.0.89 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func CaddyRegister

func CaddyRegister(ctx context.Context, register bool, service_name string) error

func Cleanup

func Cleanup(ctx context.Context, service_name string) error

func Kill added in v0.0.87

func Kill(ctx context.Context, service_name string, signal string) error

func RemoveAllDeployments added in v0.0.86

func RemoveAllDeployments(ctx context.Context, service_name string) error

func StartOrReload added in v0.0.25

func StartOrReload(service_name string, opts StartOrReloadOpts) error

func Stop

func Stop(ctx context.Context, service_name string, opts StopOpts) error

func Template

func Template(ctx context.Context, service_name string, template string) error

Types

type StartOrReloadOpts added in v0.0.27

type StartOrReloadOpts struct {
	ExitWhenStarted    bool
	Restart            bool
	ReuseDepl          bool
	ReuseDeplIfStatic  bool
	StartConfig        bool
	MaxDeploymentIndex int
	StopTimeout        time.Duration
	TermTimeout        time.Duration
}

type StopOpts added in v0.0.87

type StopOpts struct {
	KillUnstoppable    bool
	UnstoppableTimeout time.Duration
}

Jump to

Keyboard shortcuts

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