Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct {
Name string
}
Group holds a user group metadata
func (*Group) EnsureUser ¶
EnsureUser ensures an user is member of a system group
func (*Group) RemoveUser ¶
RemoveUser removes an user from the group
type IAM ¶
type IAM interface {
GetGroup(input *iam.GetGroupInput) (*iam.GetGroupOutput, error)
GetSSHPublicKey(input *iam.GetSSHPublicKeyInput) (*iam.GetSSHPublicKeyOutput, error)
ListGroupsForUser(input *iam.ListGroupsForUserInput) (*iam.ListGroupsForUserOutput, error)
ListSSHPublicKeys(input *iam.ListSSHPublicKeysInput) (*iam.ListSSHPublicKeysOutput, error)
}
IAM interface holds required method signatures of IAM for easier test mocking
type User ¶
User represents a mirrored user between AWS IAM and the local system
type Users ¶
type Users []*User
Users holds a collection of User
func FromIAMGroups ¶
FromIAMGroups returns a single Users collection for the given AWS IAM groups
func FromSystemGroups ¶
FromSystemGroups returns a single Users collection for the given system groups
Click to show internal directories.
Click to hide internal directories.