iam

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2025 License: MIT Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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, organizationClient organization.OrganizationServiceClient, organizationIamClient organization_iam.OrganizationIAMServiceClient, 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

func (*IAMService) UpdateUserAdmin added in v0.16.0

Jump to

Keyboard shortcuts

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