container

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cmd, version, cfgFile string) (*endure.Endure, error)

func NewContainer

func NewContainer(cfg Config) (*endure.Endure, error)

NewContainer creates endure container with all required options (based on container Config). Logger is nil by default.

Types

type Config

type Config struct {
	GracePeriod time.Duration
	PrintGraph  bool
	Logger      *zap.Logger
}

func NewConfig

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

NewConfig creates endure container configuration.

Jump to

Keyboard shortcuts

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