traefikconfig

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModeHTTP        = "http"
	ModeSelfManaged = "self-managed"
	ModeMkcert      = "mkcert"
	ModeLetsEncrypt = "letsencrypt"
	ModeInherited   = "inherit"
)

Variables

This section is empty.

Functions

func ApplyDev

func ApplyDev(projectDir string, enabled bool, mode string) error

func ApplyOverride added in v0.6.0

func ApplyOverride(projectDir, overridePath string, enabled bool, mode string) error

func ApplyProd

func ApplyProd(projectDir, mode string) error

Types

type Status

type Status struct {
	Enabled bool
	Drifted bool
	Mode    string
	Detail  string
}

func DetectDev

func DetectDev(projectDir string) (Status, error)

func DetectOverride added in v0.6.0

func DetectOverride(projectDir, overridePath string) (Status, error)

func DetectProd

func DetectProd(projectDir string) (Status, error)

Jump to

Keyboard shortcuts

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