caddyexec

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exec

type Exec struct {
	// Environment variables to set when executing commands.
	Env map[string]string `json:"env,omitempty"`

	// Timeout for command execution as a duration string (e.g. "5s", "1m").
	// If empty or unset, no timeout is applied.
	Timeout string `json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (Exec) CaddyModule

func (Exec) CaddyModule() caddy.ModuleInfo

func (*Exec) CustomTemplateFunctions

func (s *Exec) CustomTemplateFunctions() template.FuncMap

func (*Exec) Provision

func (s *Exec) Provision(ctx caddy.Context) error

func (*Exec) UnmarshalCaddyfile

func (s *Exec) UnmarshalCaddyfile(d *caddyfile.Dispenser) error

Jump to

Keyboard shortcuts

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