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
Click to show internal directories.
Click to hide internal directories.