config

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: BSD-3-Clause Imports: 5 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 {
	Linux      linux.Linux         `yaml:"linux,omitempty"`
	ContainerD container.Container `yaml:"containerD,omitempty"`
}

Config represent the application config it contain the containerD socket path and the containerD the containers are in

func ReadConfig added in v0.0.1

func ReadConfig(path string) (Config, error)

func (Config) Validate added in v0.0.1

func (c Config) Validate() error

Jump to

Keyboard shortcuts

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