package
Version:
v3.0.0-alpha.5+incompa...
Opens a new window with list of versions in this module.
Published: Aug 6, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package etcdbk implements Etcd powered backend
GetName returns the name of etcd backend as it appears in 'storage/type' section
in Teleport YAML file. This function is a part of backend API
New returns new instance of Etcd-powered backend
type Config struct {
Nodes []string `json:"peers,omitempty"`
Key string `json:"prefix,omitempty"`
TLSKeyFile string `json:"tls_key_file,omitempty"`
TLSCertFile string `json:"tls_cert_file,omitempty"`
TLSCAFile string `json:"tls_ca_file,omitempty"`
Insecure bool `json:"insecure,omitempty"`
}
Config represents JSON config for etcd backend
Validate checks if all the parameters are present/valid
Source Files
¶
Click to show internal directories.
Click to hide internal directories.