Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadGroups ¶
func ReadGroups(inputGlob string) []*v1alpha1.GoogleGroup
ReadGroups reads in all group specs from a directory
func Upgrade ¶
func Upgrade(groups []*v1alpha1.GoogleGroup, addUsers []*v1alpha1.Member, removeUsers map[string]bool) error
Upgrade all specs. addUsers a list of users to ensure are present in all groups
func WriteGroups ¶
func WriteGroups(groups []*v1alpha1.GoogleGroup, output string) error
WriterGroups serializes the groups as YAML to the specified directory
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.