Documentation ¶
Index ¶
- func AuthorizedKeyAbsent(userName string, authKeyIn *types.AuthorizedKey, all bool) error
- func AuthorizedKeyPresent(userName string, authKeyIn *types.AuthorizedKey, exclusive bool) error
- func DirAbsent(path string) error
- func DirPresent(path string, mode os.FileMode, uid, gid string) error
- func FileAbsent(path string) error
- func FilePresent(path string, mode os.FileMode, uid, gid string) (*os.File, error)
- func GroupAbsent(name string) error
- func GroupPresent(name string, groupOpts *GroupPresentOpts) error
- func UserAbsent(name string, userOpts *UserAbsentOpts) error
- func UserPresent(name string, userOpts *UserPresentOpts) error
- type GroupPresentOpts
- type UserAbsentOpts
- type UserPresentOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthorizedKeyAbsent ¶
func AuthorizedKeyAbsent(userName string, authKeyIn *types.AuthorizedKey, all bool) error
func AuthorizedKeyPresent ¶
func AuthorizedKeyPresent(userName string, authKeyIn *types.AuthorizedKey, exclusive bool) error
func FileAbsent ¶
func FilePresent ¶
func GroupAbsent ¶
func GroupPresent ¶
func GroupPresent(name string, groupOpts *GroupPresentOpts) error
func UserAbsent ¶
func UserAbsent(name string, userOpts *UserAbsentOpts) error
func UserPresent ¶
func UserPresent(name string, userOpts *UserPresentOpts) error
Types ¶
type GroupPresentOpts ¶
type UserAbsentOpts ¶
Click to show internal directories.
Click to hide internal directories.