Documentation ¶ Index ¶ Constants Variables type Secret func Make(file string) *Secret func New() *Secret func (s *Secret) Path() string func (s *Secret) Probe() error func (s *Secret) Value() string Constants ¶ View Source const ( SecretsPath string = "/run/secrets" ) Variables ¶ View Source var ( ErrNoPathSet = errors.Base("no secrets path set") ErrZeroLengthFile = errors.Base("file has zero length") ErrFileNotFound = errors.Base("file not found") ErrNotAFile = errors.Base("not a file") ) Functions ¶ This section is empty. Types ¶ type Secret ¶ type Secret struct { // contains filtered or unexported fields } func Make ¶ func Make(file string) *Secret func New ¶ func New() *Secret func (*Secret) Path ¶ func (s *Secret) Path() string func (*Secret) Probe ¶ func (s *Secret) Probe() error func (*Secret) Value ¶ func (s *Secret) Value() string Source Files ¶ View all Source files secrets.go Click to show internal directories. Click to hide internal directories.