package
Version:
v0.0.0-...-088a001
Opens a new window with list of versions in this module.
Published: Nov 15, 2018
License: MPL-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Context string `yaml:"context"`
Contexts map[string]*Context `yaml:"contexts"`
}
Config represents the configuration file.
Open reads the config and initilzes a Config struct.
Save writes the config to disk.
type Context struct {
Target string `yaml:"target"`
CA string `yaml:"ca"`
Crt string `yaml:"crt"`
Key string `yaml:"key"`
}
Context represents the set of credentials required to talk to a target.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.