admin

package
v0.13.9 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGcpAdminService

func NewGcpAdminService(ctx context.Context, configMap *config.ConfigMap) (*gcpadmin.Service, error)

Types

type AdminRepository

type AdminRepository struct {
	// contains filtered or unexported fields
}

func NewAdminRepository

func NewAdminRepository(client *gcpadmin.Service, configMap *config.ConfigMap) *AdminRepository

func (*AdminRepository) GetGroups

func (r *AdminRepository) GetGroups(ctx context.Context, fn func(ctx context.Context, entity *iam.GroupEntity) error) error

func (*AdminRepository) GetUsers

func (r *AdminRepository) GetUsers(ctx context.Context, fn func(ctx context.Context, entity *iam.UserEntity) error) error

Jump to

Keyboard shortcuts

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