groups

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupImporter

type GroupImporter struct {
	Client *http.Client
	Log    logr.Logger
}

GroupImporter is used to import existing groups to YAML files.

func (*GroupImporter) Import

func (s *GroupImporter) Import(org string) ([]*v1alpha1.GoogleGroup, error)

Import group definitions

type GroupRole

type GroupRole string
const (
	ManagerRole GroupRole = "MANAGER"
	OwnerRole   GroupRole = "OWNER"
	MemberRole  GroupRole = "MEMBER"
)

type GroupSyncer

type GroupSyncer struct {
	Client *http.Client
	Log    logr.Logger
}

func (*GroupSyncer) Sync

func (s *GroupSyncer) Sync(groupSpecs []*v1alpha1.GoogleGroup) error

Jump to

Keyboard shortcuts

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