Documentation
¶
Index ¶
- type IAMService
- func (i *IAMService) AnalyzeTokenExpiration(ctx context.Context, _ *empty.Empty) (*empty.Empty, error)
- func (i *IAMService) AttachAccessTokenRole(ctx context.Context, req *iam.AttachAccessTokenRoleRequest) (*iam.AttachAccessTokenRoleResponse, error)
- func (i *IAMService) AttachPolicy(ctx context.Context, req *iam.AttachPolicyRequest) (*iam.AttachPolicyResponse, error)
- func (i *IAMService) AttachRole(ctx context.Context, req *iam.AttachRoleRequest) (*iam.AttachRoleResponse, error)
- func (i *IAMService) AttachRoleByUserReserved(ctx context.Context, userID uint32, userIdpKey string) error
- func (i *IAMService) AuthenticateAccessToken(ctx context.Context, req *iam.AuthenticateAccessTokenRequest) (*iam.AuthenticateAccessTokenResponse, error)
- func (i *IAMService) DeleteAccessToken(ctx context.Context, req *iam.DeleteAccessTokenRequest) (*empty.Empty, error)
- func (i *IAMService) DeletePolicy(ctx context.Context, req *iam.DeletePolicyRequest) (*empty.Empty, error)
- func (i *IAMService) DeleteRole(ctx context.Context, req *iam.DeleteRoleRequest) (*empty.Empty, error)
- func (i *IAMService) DeleteUserReserved(ctx context.Context, req *iam.DeleteUserReservedRequest) (*empty.Empty, error)
- func (i *IAMService) DetachAccessTokenRole(ctx context.Context, req *iam.DetachAccessTokenRoleRequest) (*empty.Empty, error)
- func (i *IAMService) DetachPolicy(ctx context.Context, req *iam.DetachPolicyRequest) (*empty.Empty, error)
- func (i *IAMService) DetachRole(ctx context.Context, req *iam.DetachRoleRequest) (*empty.Empty, error)
- func (i *IAMService) GetPolicy(ctx context.Context, req *iam.GetPolicyRequest) (*iam.GetPolicyResponse, error)
- func (i *IAMService) GetRole(ctx context.Context, req *iam.GetRoleRequest) (*iam.GetRoleResponse, error)
- func (i *IAMService) GetUser(ctx context.Context, req *iam.GetUserRequest) (*iam.GetUserResponse, error)
- func (i *IAMService) IsAdmin(ctx context.Context, req *iam.IsAdminRequest) (*iam.IsAdminResponse, error)
- func (i *IAMService) IsAuthorized(ctx context.Context, req *iam.IsAuthorizedRequest) (*iam.IsAuthorizedResponse, error)
- func (i *IAMService) IsAuthorizedAdmin(ctx context.Context, req *iam.IsAuthorizedAdminRequest) (*iam.IsAuthorizedAdminResponse, error)
- func (i *IAMService) IsAuthorizedToken(ctx context.Context, req *iam.IsAuthorizedTokenRequest) (*iam.IsAuthorizedTokenResponse, error)
- func (i *IAMService) ListAccessToken(ctx context.Context, req *iam.ListAccessTokenRequest) (*iam.ListAccessTokenResponse, error)
- func (i *IAMService) ListPolicy(ctx context.Context, req *iam.ListPolicyRequest) (*iam.ListPolicyResponse, error)
- func (i *IAMService) ListRole(ctx context.Context, req *iam.ListRoleRequest) (*iam.ListRoleResponse, error)
- func (i *IAMService) ListUser(ctx context.Context, req *iam.ListUserRequest) (*iam.ListUserResponse, error)
- func (i *IAMService) ListUserReserved(ctx context.Context, req *iam.ListUserReservedRequest) (*iam.ListUserReservedResponse, error)
- func (i *IAMService) PutAccessToken(ctx context.Context, req *iam.PutAccessTokenRequest) (*iam.PutAccessTokenResponse, error)
- func (i *IAMService) PutPolicy(ctx context.Context, req *iam.PutPolicyRequest) (*iam.PutPolicyResponse, error)
- func (i *IAMService) PutRole(ctx context.Context, req *iam.PutRoleRequest) (*iam.PutRoleResponse, error)
- func (i *IAMService) PutUser(ctx context.Context, req *iam.PutUserRequest) (*iam.PutUserResponse, error)
- func (i *IAMService) PutUserReserved(ctx context.Context, req *iam.PutUserReservedRequest) (*iam.PutUserReservedResponse, error)
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 (*IAMService) AttachAccessTokenRole ¶
func (i *IAMService) AttachAccessTokenRole(ctx context.Context, req *iam.AttachAccessTokenRoleRequest) (*iam.AttachAccessTokenRoleResponse, error)
func (*IAMService) AttachPolicy ¶
func (i *IAMService) AttachPolicy(ctx context.Context, req *iam.AttachPolicyRequest) (*iam.AttachPolicyResponse, error)
func (*IAMService) AttachRole ¶
func (i *IAMService) AttachRole(ctx context.Context, req *iam.AttachRoleRequest) (*iam.AttachRoleResponse, error)
func (*IAMService) AttachRoleByUserReserved ¶ added in v0.5.0
func (*IAMService) AuthenticateAccessToken ¶
func (i *IAMService) AuthenticateAccessToken(ctx context.Context, req *iam.AuthenticateAccessTokenRequest) (*iam.AuthenticateAccessTokenResponse, 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 (i *IAMService) GetPolicy(ctx context.Context, req *iam.GetPolicyRequest) (*iam.GetPolicyResponse, error)
func (*IAMService) GetRole ¶
func (i *IAMService) GetRole(ctx context.Context, req *iam.GetRoleRequest) (*iam.GetRoleResponse, error)
func (*IAMService) GetUser ¶
func (i *IAMService) GetUser(ctx context.Context, req *iam.GetUserRequest) (*iam.GetUserResponse, error)
func (*IAMService) IsAdmin ¶
func (i *IAMService) IsAdmin(ctx context.Context, req *iam.IsAdminRequest) (*iam.IsAdminResponse, error)
func (*IAMService) IsAuthorized ¶
func (i *IAMService) IsAuthorized(ctx context.Context, req *iam.IsAuthorizedRequest) (*iam.IsAuthorizedResponse, error)
func (*IAMService) IsAuthorizedAdmin ¶
func (i *IAMService) IsAuthorizedAdmin(ctx context.Context, req *iam.IsAuthorizedAdminRequest) (*iam.IsAuthorizedAdminResponse, error)
func (*IAMService) IsAuthorizedToken ¶
func (i *IAMService) IsAuthorizedToken(ctx context.Context, req *iam.IsAuthorizedTokenRequest) (*iam.IsAuthorizedTokenResponse, error)
func (*IAMService) ListAccessToken ¶
func (i *IAMService) ListAccessToken(ctx context.Context, req *iam.ListAccessTokenRequest) (*iam.ListAccessTokenResponse, error)
func (*IAMService) ListPolicy ¶
func (i *IAMService) ListPolicy(ctx context.Context, req *iam.ListPolicyRequest) (*iam.ListPolicyResponse, error)
func (*IAMService) ListRole ¶
func (i *IAMService) ListRole(ctx context.Context, req *iam.ListRoleRequest) (*iam.ListRoleResponse, error)
func (*IAMService) ListUser ¶
func (i *IAMService) ListUser(ctx context.Context, req *iam.ListUserRequest) (*iam.ListUserResponse, error)
func (*IAMService) ListUserReserved ¶ added in v0.5.0
func (i *IAMService) ListUserReserved(ctx context.Context, req *iam.ListUserReservedRequest) (*iam.ListUserReservedResponse, error)
func (*IAMService) PutAccessToken ¶
func (i *IAMService) PutAccessToken(ctx context.Context, req *iam.PutAccessTokenRequest) (*iam.PutAccessTokenResponse, error)
func (*IAMService) PutPolicy ¶
func (i *IAMService) PutPolicy(ctx context.Context, req *iam.PutPolicyRequest) (*iam.PutPolicyResponse, error)
func (*IAMService) PutRole ¶
func (i *IAMService) PutRole(ctx context.Context, req *iam.PutRoleRequest) (*iam.PutRoleResponse, error)
func (*IAMService) PutUser ¶
func (i *IAMService) PutUser(ctx context.Context, req *iam.PutUserRequest) (*iam.PutUserResponse, error)
func (*IAMService) PutUserReserved ¶ added in v0.5.0
func (i *IAMService) PutUserReserved(ctx context.Context, req *iam.PutUserReservedRequest) (*iam.PutUserReservedResponse, error)
Click to show internal directories.
Click to hide internal directories.