Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSource ¶ added in v1.1.0
CreateSource returns a new Source for fetching data from S3 backends.
Types ¶
type Source ¶ added in v1.1.0
type Source struct {
// contains filtered or unexported fields
}
Source describes a source.Source for S3 backends:
- prefix: the path within the S3 bucket to the passwd, shadow and group files
- bucket: the name of the S3 bucket
- client: the S3 client
func (*Source) FillGroupCache ¶ added in v1.1.0
FillGroupCache downloads shadow file from S3, parses the JSON and writes the group NSS cache file to disk.
func (*Source) FillPasswdCache ¶ added in v1.1.0
FillPasswdCache downloads shadow file from S3, parses the JSON and writes the passwd NSS cache file to disk.
Click to show internal directories.
Click to hide internal directories.