config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: BSD-3-Clause Imports: 3 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 {
	Incluster  bool `json:"incluster,omitempty"`
	Kubeconfig string
	Namespace  string `yaml:"namespace,omitempty" json:"namespace,omitempty"`
}

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

func CreateconfigfromEnv

func CreateconfigfromEnv() (appConfig Config)

CreateconfigfromEnv create an application configuration from the environement variables

Jump to

Keyboard shortcuts

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