Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // URL of the web server with all of our files URL string // Manifest is a yaml file with the packages to manage on this node Manifest string // Catalog is a yaml file with details on the available packages Catalog string // CachePath is a directory we will use for temporary storage CachePath string // Verbose is true is we should output more detail than normal Verbose bool // Debug is true is we should output as much as we can Debug bool // AuthUser is the username we will use for basic http auth AuthUser string // AuthPass is the password we will use for basic http auth AuthPass string // TLSAuth determines if we should use TLS mutual auth TLSAuth bool // TLSClientCert is the path to the client cert we will use for TLS auth TLSClientCert string // TLSClientKey is the path to the client key we will use for TLS auth TLSClientKey string // TLSServerCert is the path to the server cert we will use for TLS auth TLSServerCert string )
Functions ¶
Types ¶
type Object ¶
type Object struct { URL string `yaml:"url"` Manifest string `yaml:"manifest"` Catalog string `yaml:"catalog"` CachePath string `yaml:"cachepath"` Verbose bool `yaml:"verbose,omitempty"` Debug bool `yaml:"debug,omitempty"` AuthUser string `yaml:"auth_user,omitempty"` AuthPass string `yaml:"auth_pass,omitempty"` TLSAuth bool `yaml:"tls_auth,omitempty"` TLSClientCert string `yaml:"tls_client_cert,omitempty"` TLSClientKey string `yaml:"tls_client_key,omitempty"` TLSServerCert string `yaml:"tls_server_cert,omitempty"` }
Object to store our configuration
Click to show internal directories.
Click to hide internal directories.