api

package
v0.0.0-...-d46cb9a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL