iam

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IAMService

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

func NewIAMService

func NewIAMService(repository db.IAMRepository, findingClient finding.FindingServiceClient, logger logging.Logger) *IAMService

func (*IAMService) AnalyzeTokenExpiration

func (i *IAMService) AnalyzeTokenExpiration(ctx context.Context, _ *empty.Empty) (*empty.Empty, error)

func (*IAMService) AttachAccessTokenRole

func (*IAMService) AttachPolicy

func (*IAMService) AttachRole

func (*IAMService) AttachRoleByUserReserved added in v0.5.0

func (i *IAMService) AttachRoleByUserReserved(ctx context.Context, userID uint32, userIdpKey string) error

func (*IAMService) DeleteAccessToken

func (i *IAMService) DeleteAccessToken(ctx context.Context, req *iam.DeleteAccessTokenRequest) (*empty.Empty, error)

func (*IAMService) DeletePolicy

func (i *IAMService) DeletePolicy(ctx context.Context, req *iam.DeletePolicyRequest) (*empty.Empty, error)

func (*IAMService) DeleteRole

func (i *IAMService) DeleteRole(ctx context.Context, req *iam.DeleteRoleRequest) (*empty.Empty, error)

func (*IAMService) DeleteUserReserved added in v0.5.0

func (i *IAMService) DeleteUserReserved(ctx context.Context, req *iam.DeleteUserReservedRequest) (*empty.Empty, error)

func (*IAMService) DetachAccessTokenRole

func (i *IAMService) DetachAccessTokenRole(ctx context.Context, req *iam.DetachAccessTokenRoleRequest) (*empty.Empty, error)

func (*IAMService) DetachPolicy

func (i *IAMService) DetachPolicy(ctx context.Context, req *iam.DetachPolicyRequest) (*empty.Empty, error)

func (*IAMService) DetachRole

func (i *IAMService) DetachRole(ctx context.Context, req *iam.DetachRoleRequest) (*empty.Empty, error)

func (*IAMService) GetPolicy

func (*IAMService) GetRole

func (*IAMService) GetUser

func (*IAMService) IsAdmin

func (*IAMService) IsAuthorized

func (*IAMService) IsAuthorizedAdmin

func (*IAMService) IsAuthorizedToken

func (*IAMService) ListAccessToken

func (*IAMService) ListPolicy

func (*IAMService) ListRole

func (*IAMService) ListUser

func (*IAMService) ListUserReserved added in v0.5.0

func (*IAMService) PutAccessToken

func (*IAMService) PutPolicy

func (*IAMService) PutRole

func (*IAMService) PutUser

func (*IAMService) PutUserReserved added in v0.5.0

Jump to

Keyboard shortcuts

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