aws

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AwsAccountId = "aws-account-id"

	AwsProfile = "aws-profile"

	AwsRegion = "aws-region"
)

Variables

This section is empty.

Functions

func GetAWSConfig

func GetAWSConfig(ctx context.Context, configMap *config.ConfigMap) (aws.Config, error)

Types

type AwsIdentityStoreRepository

type AwsIdentityStoreRepository struct {
}

func (*AwsIdentityStoreRepository) GetGroups

func (repo *AwsIdentityStoreRepository) GetGroups(ctx context.Context, identityStores []string, configMap *config.ConfigMap) ([]is.Group, map[string][]string, error)

func (*AwsIdentityStoreRepository) GetIdentityStores

func (repo *AwsIdentityStoreRepository) GetIdentityStores(ctx context.Context, configMap *config.ConfigMap) ([]string, error)

func (*AwsIdentityStoreRepository) GetUsers

func (repo *AwsIdentityStoreRepository) GetUsers(ctx context.Context, identityStores []string, configMap *config.ConfigMap) ([]is.User, error)

type GroupEntity

type GroupEntity struct {
	ARN        string
	ExternalId string
	Name       string
	Members    []string
}

type IdentityStoreSyncer

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

func NewIdentityStoreSyncer

func NewIdentityStoreSyncer() *IdentityStoreSyncer

func (*IdentityStoreSyncer) GetIdentityStoreMetaData

func (s *IdentityStoreSyncer) GetIdentityStoreMetaData(_ context.Context, _ *config.ConfigMap) (*is.MetaData, error)

func (*IdentityStoreSyncer) SyncIdentityStore

func (s *IdentityStoreSyncer) SyncIdentityStore(ctx context.Context, identityHandler wrappers.IdentityStoreIdentityHandler, configMap *config.ConfigMap) error

type UserEntity

type UserEntity struct {
	ARN        string
	ExternalId string
	Name       string
	Email      string //not natively used in AWS
	Tags       []*tag.Tag
}

Jump to

Keyboard shortcuts

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