container

package
v2.0.0-beta5 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	GracePeriod time.Duration
	PrintGraph  bool
	LogLevel    slog.Leveler
}

func NewConfig

func NewConfig(cfgFile, prefix string) (*Config, error)

NewConfig creates endure container configuration.

type Container

type Container struct {
	EnvPrefix string
	CfgFile   string
	Version   string
}

func (*Container) Run

func (c *Container) Run(plugins ...any) error

Jump to

Keyboard shortcuts

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