Documentation ¶
Index ¶
- Variables
- func RegisterIAMServiceServer(s *grpc.Server, srv IAMServiceServer)
- type AccessToken
- func (*AccessToken) Descriptor() ([]byte, []int)deprecated
- func (x *AccessToken) GetAccessTokenId() uint32
- func (x *AccessToken) GetCreatedAt() int64
- func (x *AccessToken) GetDescription() string
- func (x *AccessToken) GetExpiredAt() int64
- func (x *AccessToken) GetLastUpdatedUserId() uint32
- func (x *AccessToken) GetName() string
- func (x *AccessToken) GetProjectId() uint32
- func (x *AccessToken) GetUpdatedAt() int64
- func (*AccessToken) ProtoMessage()
- func (x *AccessToken) ProtoReflect() protoreflect.Message
- func (x *AccessToken) Reset()
- func (x *AccessToken) String() string
- type AccessTokenForUpsert
- func (*AccessTokenForUpsert) Descriptor() ([]byte, []int)deprecated
- func (x *AccessTokenForUpsert) GetAccessTokenId() uint32
- func (x *AccessTokenForUpsert) GetDescription() string
- func (x *AccessTokenForUpsert) GetExpiredAt() int64
- func (x *AccessTokenForUpsert) GetLastUpdatedUserId() uint32
- func (x *AccessTokenForUpsert) GetName() string
- func (x *AccessTokenForUpsert) GetPlainTextToken() string
- func (x *AccessTokenForUpsert) GetProjectId() uint32
- func (*AccessTokenForUpsert) ProtoMessage()
- func (x *AccessTokenForUpsert) ProtoReflect() protoreflect.Message
- func (x *AccessTokenForUpsert) Reset()
- func (x *AccessTokenForUpsert) String() string
- func (a *AccessTokenForUpsert) Validate() error
- type AccessTokenRole
- func (*AccessTokenRole) Descriptor() ([]byte, []int)deprecated
- func (x *AccessTokenRole) GetAccessTokenId() uint32
- func (x *AccessTokenRole) GetCreatedAt() int64
- func (x *AccessTokenRole) GetProjectId() uint32
- func (x *AccessTokenRole) GetRoleId() uint32
- func (x *AccessTokenRole) GetUpdatedAt() int64
- func (*AccessTokenRole) ProtoMessage()
- func (x *AccessTokenRole) ProtoReflect() protoreflect.Message
- func (x *AccessTokenRole) Reset()
- func (x *AccessTokenRole) String() string
- type AttachAccessTokenRoleRequest
- func (*AttachAccessTokenRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AttachAccessTokenRoleRequest) GetAccessTokenId() uint32
- func (x *AttachAccessTokenRoleRequest) GetProjectId() uint32
- func (x *AttachAccessTokenRoleRequest) GetRoleId() uint32
- func (*AttachAccessTokenRoleRequest) ProtoMessage()
- func (x *AttachAccessTokenRoleRequest) ProtoReflect() protoreflect.Message
- func (x *AttachAccessTokenRoleRequest) Reset()
- func (x *AttachAccessTokenRoleRequest) String() string
- func (a *AttachAccessTokenRoleRequest) Validate() error
- type AttachAccessTokenRoleResponse
- func (*AttachAccessTokenRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AttachAccessTokenRoleResponse) GetAccessTokenRole() *AccessTokenRole
- func (*AttachAccessTokenRoleResponse) ProtoMessage()
- func (x *AttachAccessTokenRoleResponse) ProtoReflect() protoreflect.Message
- func (x *AttachAccessTokenRoleResponse) Reset()
- func (x *AttachAccessTokenRoleResponse) String() string
- type AttachPolicyRequest
- func (*AttachPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AttachPolicyRequest) GetPolicyId() uint32
- func (x *AttachPolicyRequest) GetProjectId() uint32
- func (x *AttachPolicyRequest) GetRoleId() uint32
- func (*AttachPolicyRequest) ProtoMessage()
- func (x *AttachPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *AttachPolicyRequest) Reset()
- func (x *AttachPolicyRequest) String() string
- func (a *AttachPolicyRequest) Validate() error
- type AttachPolicyResponse
- func (*AttachPolicyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AttachPolicyResponse) GetRolePolicy() *RolePolicy
- func (*AttachPolicyResponse) ProtoMessage()
- func (x *AttachPolicyResponse) ProtoReflect() protoreflect.Message
- func (x *AttachPolicyResponse) Reset()
- func (x *AttachPolicyResponse) String() string
- type AttachRoleRequest
- func (*AttachRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AttachRoleRequest) GetProjectId() uint32
- func (x *AttachRoleRequest) GetRoleId() uint32
- func (x *AttachRoleRequest) GetUserId() uint32
- func (*AttachRoleRequest) ProtoMessage()
- func (x *AttachRoleRequest) ProtoReflect() protoreflect.Message
- func (x *AttachRoleRequest) Reset()
- func (x *AttachRoleRequest) String() string
- func (a *AttachRoleRequest) Validate() error
- func (a *AttachRoleRequest) ValidateForAdmin() error
- type AttachRoleResponse
- func (*AttachRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AttachRoleResponse) GetUserRole() *UserRole
- func (*AttachRoleResponse) ProtoMessage()
- func (x *AttachRoleResponse) ProtoReflect() protoreflect.Message
- func (x *AttachRoleResponse) Reset()
- func (x *AttachRoleResponse) String() string
- type AuthenticateAccessTokenRequest
- func (*AuthenticateAccessTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateAccessTokenRequest) GetAccessTokenId() uint32
- func (x *AuthenticateAccessTokenRequest) GetPlainTextToken() string
- func (x *AuthenticateAccessTokenRequest) GetProjectId() uint32
- func (*AuthenticateAccessTokenRequest) ProtoMessage()
- func (x *AuthenticateAccessTokenRequest) ProtoReflect() protoreflect.Message
- func (x *AuthenticateAccessTokenRequest) Reset()
- func (x *AuthenticateAccessTokenRequest) String() string
- func (a *AuthenticateAccessTokenRequest) Validate() error
- type AuthenticateAccessTokenResponse
- func (*AuthenticateAccessTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateAccessTokenResponse) GetAccessToken() *AccessToken
- func (*AuthenticateAccessTokenResponse) ProtoMessage()
- func (x *AuthenticateAccessTokenResponse) ProtoReflect() protoreflect.Message
- func (x *AuthenticateAccessTokenResponse) Reset()
- func (x *AuthenticateAccessTokenResponse) String() string
- type DeleteAccessTokenRequest
- func (*DeleteAccessTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAccessTokenRequest) GetAccessTokenId() uint32
- func (x *DeleteAccessTokenRequest) GetProjectId() uint32
- func (*DeleteAccessTokenRequest) ProtoMessage()
- func (x *DeleteAccessTokenRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAccessTokenRequest) Reset()
- func (x *DeleteAccessTokenRequest) String() string
- func (d *DeleteAccessTokenRequest) Validate() error
- type DeletePolicyRequest
- func (*DeletePolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePolicyRequest) GetPolicyId() uint32
- func (x *DeletePolicyRequest) GetProjectId() uint32
- func (*DeletePolicyRequest) ProtoMessage()
- func (x *DeletePolicyRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePolicyRequest) Reset()
- func (x *DeletePolicyRequest) String() string
- func (d *DeletePolicyRequest) Validate() error
- type DeleteRoleRequest
- func (*DeleteRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRoleRequest) GetProjectId() uint32
- func (x *DeleteRoleRequest) GetRoleId() uint32
- func (*DeleteRoleRequest) ProtoMessage()
- func (x *DeleteRoleRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRoleRequest) Reset()
- func (x *DeleteRoleRequest) String() string
- func (d *DeleteRoleRequest) Validate() error
- type DetachAccessTokenRoleRequest
- func (*DetachAccessTokenRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DetachAccessTokenRoleRequest) GetAccessTokenId() uint32
- func (x *DetachAccessTokenRoleRequest) GetProjectId() uint32
- func (x *DetachAccessTokenRoleRequest) GetRoleId() uint32
- func (*DetachAccessTokenRoleRequest) ProtoMessage()
- func (x *DetachAccessTokenRoleRequest) ProtoReflect() protoreflect.Message
- func (x *DetachAccessTokenRoleRequest) Reset()
- func (x *DetachAccessTokenRoleRequest) String() string
- func (d *DetachAccessTokenRoleRequest) Validate() error
- type DetachPolicyRequest
- func (*DetachPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DetachPolicyRequest) GetPolicyId() uint32
- func (x *DetachPolicyRequest) GetProjectId() uint32
- func (x *DetachPolicyRequest) GetRoleId() uint32
- func (*DetachPolicyRequest) ProtoMessage()
- func (x *DetachPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *DetachPolicyRequest) Reset()
- func (x *DetachPolicyRequest) String() string
- func (d *DetachPolicyRequest) Validate() error
- type DetachRoleRequest
- func (*DetachRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DetachRoleRequest) GetProjectId() uint32
- func (x *DetachRoleRequest) GetRoleId() uint32
- func (x *DetachRoleRequest) GetUserId() uint32
- func (*DetachRoleRequest) ProtoMessage()
- func (x *DetachRoleRequest) ProtoReflect() protoreflect.Message
- func (x *DetachRoleRequest) Reset()
- func (x *DetachRoleRequest) String() string
- func (d *DetachRoleRequest) Validate() error
- func (d *DetachRoleRequest) ValidateForAdmin() error
- type GetPolicyRequest
- func (*GetPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPolicyRequest) GetPolicyId() uint32
- func (x *GetPolicyRequest) GetProjectId() uint32
- func (*GetPolicyRequest) ProtoMessage()
- func (x *GetPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *GetPolicyRequest) Reset()
- func (x *GetPolicyRequest) String() string
- func (g *GetPolicyRequest) Validate() error
- type GetPolicyResponse
- type GetRoleRequest
- func (*GetRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoleRequest) GetProjectId() uint32
- func (x *GetRoleRequest) GetRoleId() uint32
- func (*GetRoleRequest) ProtoMessage()
- func (x *GetRoleRequest) ProtoReflect() protoreflect.Message
- func (x *GetRoleRequest) Reset()
- func (x *GetRoleRequest) String() string
- func (g *GetRoleRequest) Validate() error
- func (g *GetRoleRequest) ValidateForAdmin() error
- type GetRoleResponse
- type GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserRequest) GetSub() string
- func (x *GetUserRequest) GetUserId() uint32
- func (*GetUserRequest) ProtoMessage()
- func (x *GetUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserRequest) Reset()
- func (x *GetUserRequest) String() string
- func (g *GetUserRequest) Validate() error
- type GetUserResponse
- type IAMServiceClient
- type IAMServiceServer
- type IsAdminRequest
- func (*IsAdminRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IsAdminRequest) GetUserId() uint32
- func (*IsAdminRequest) ProtoMessage()
- func (x *IsAdminRequest) ProtoReflect() protoreflect.Message
- func (x *IsAdminRequest) Reset()
- func (x *IsAdminRequest) String() string
- func (i *IsAdminRequest) Validate() error
- type IsAdminResponse
- type IsAuthorizedAdminRequest
- func (*IsAuthorizedAdminRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IsAuthorizedAdminRequest) GetActionName() string
- func (x *IsAuthorizedAdminRequest) GetResourceName() string
- func (x *IsAuthorizedAdminRequest) GetUserId() uint32
- func (*IsAuthorizedAdminRequest) ProtoMessage()
- func (x *IsAuthorizedAdminRequest) ProtoReflect() protoreflect.Message
- func (x *IsAuthorizedAdminRequest) Reset()
- func (x *IsAuthorizedAdminRequest) String() string
- func (i *IsAuthorizedAdminRequest) Validate() error
- type IsAuthorizedAdminResponse
- func (*IsAuthorizedAdminResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsAuthorizedAdminResponse) GetOk() bool
- func (*IsAuthorizedAdminResponse) ProtoMessage()
- func (x *IsAuthorizedAdminResponse) ProtoReflect() protoreflect.Message
- func (x *IsAuthorizedAdminResponse) Reset()
- func (x *IsAuthorizedAdminResponse) String() string
- type IsAuthorizedRequest
- func (*IsAuthorizedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IsAuthorizedRequest) GetActionName() string
- func (x *IsAuthorizedRequest) GetProjectId() uint32
- func (x *IsAuthorizedRequest) GetResourceName() string
- func (x *IsAuthorizedRequest) GetUserId() uint32
- func (*IsAuthorizedRequest) ProtoMessage()
- func (x *IsAuthorizedRequest) ProtoReflect() protoreflect.Message
- func (x *IsAuthorizedRequest) Reset()
- func (x *IsAuthorizedRequest) String() string
- func (i *IsAuthorizedRequest) Validate() error
- type IsAuthorizedResponse
- func (*IsAuthorizedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsAuthorizedResponse) GetOk() bool
- func (*IsAuthorizedResponse) ProtoMessage()
- func (x *IsAuthorizedResponse) ProtoReflect() protoreflect.Message
- func (x *IsAuthorizedResponse) Reset()
- func (x *IsAuthorizedResponse) String() string
- type IsAuthorizedTokenRequest
- func (*IsAuthorizedTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IsAuthorizedTokenRequest) GetAccessTokenId() uint32
- func (x *IsAuthorizedTokenRequest) GetActionName() string
- func (x *IsAuthorizedTokenRequest) GetProjectId() uint32
- func (x *IsAuthorizedTokenRequest) GetResourceName() string
- func (*IsAuthorizedTokenRequest) ProtoMessage()
- func (x *IsAuthorizedTokenRequest) ProtoReflect() protoreflect.Message
- func (x *IsAuthorizedTokenRequest) Reset()
- func (x *IsAuthorizedTokenRequest) String() string
- func (i *IsAuthorizedTokenRequest) Validate() error
- type IsAuthorizedTokenResponse
- func (*IsAuthorizedTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsAuthorizedTokenResponse) GetOk() bool
- func (*IsAuthorizedTokenResponse) ProtoMessage()
- func (x *IsAuthorizedTokenResponse) ProtoReflect() protoreflect.Message
- func (x *IsAuthorizedTokenResponse) Reset()
- func (x *IsAuthorizedTokenResponse) String() string
- type ListAccessTokenRequest
- func (*ListAccessTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccessTokenRequest) GetAccessTokenId() uint32
- func (x *ListAccessTokenRequest) GetName() string
- func (x *ListAccessTokenRequest) GetProjectId() uint32
- func (*ListAccessTokenRequest) ProtoMessage()
- func (x *ListAccessTokenRequest) ProtoReflect() protoreflect.Message
- func (x *ListAccessTokenRequest) Reset()
- func (x *ListAccessTokenRequest) String() string
- func (l *ListAccessTokenRequest) Validate() error
- type ListAccessTokenResponse
- func (*ListAccessTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccessTokenResponse) GetAccessToken() []*AccessToken
- func (*ListAccessTokenResponse) ProtoMessage()
- func (x *ListAccessTokenResponse) ProtoReflect() protoreflect.Message
- func (x *ListAccessTokenResponse) Reset()
- func (x *ListAccessTokenResponse) String() string
- type ListPolicyRequest
- func (*ListPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPolicyRequest) GetName() string
- func (x *ListPolicyRequest) GetProjectId() uint32
- func (x *ListPolicyRequest) GetRoleId() uint32
- func (*ListPolicyRequest) ProtoMessage()
- func (x *ListPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *ListPolicyRequest) Reset()
- func (x *ListPolicyRequest) String() string
- func (l *ListPolicyRequest) Validate() error
- type ListPolicyResponse
- func (*ListPolicyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPolicyResponse) GetPolicyId() []uint32
- func (*ListPolicyResponse) ProtoMessage()
- func (x *ListPolicyResponse) ProtoReflect() protoreflect.Message
- func (x *ListPolicyResponse) Reset()
- func (x *ListPolicyResponse) String() string
- type ListRoleRequest
- func (*ListRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRoleRequest) GetAccessTokenId() uint32
- func (x *ListRoleRequest) GetName() string
- func (x *ListRoleRequest) GetProjectId() uint32
- func (x *ListRoleRequest) GetUserId() uint32
- func (*ListRoleRequest) ProtoMessage()
- func (x *ListRoleRequest) ProtoReflect() protoreflect.Message
- func (x *ListRoleRequest) Reset()
- func (x *ListRoleRequest) String() string
- func (l *ListRoleRequest) Validate() error
- func (l *ListRoleRequest) ValidateForAdmin() error
- type ListRoleResponse
- type ListUserRequest
- func (*ListUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserRequest) GetActivated() bool
- func (x *ListUserRequest) GetAdmin() bool
- func (x *ListUserRequest) GetName() string
- func (x *ListUserRequest) GetProjectId() uint32
- func (x *ListUserRequest) GetUserId() uint32
- func (*ListUserRequest) ProtoMessage()
- func (x *ListUserRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserRequest) Reset()
- func (x *ListUserRequest) String() string
- func (l *ListUserRequest) Validate() error
- type ListUserResponse
- type Policy
- func (*Policy) Descriptor() ([]byte, []int)deprecated
- func (x *Policy) GetActionPtn() string
- func (x *Policy) GetCreatedAt() int64
- func (x *Policy) GetName() string
- func (x *Policy) GetPolicyId() uint32
- func (x *Policy) GetProjectId() uint32
- func (x *Policy) GetResourcePtn() string
- func (x *Policy) GetUpdatedAt() int64
- func (*Policy) ProtoMessage()
- func (x *Policy) ProtoReflect() protoreflect.Message
- func (x *Policy) Reset()
- func (x *Policy) String() string
- type PolicyForUpsert
- func (*PolicyForUpsert) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyForUpsert) GetActionPtn() string
- func (x *PolicyForUpsert) GetName() string
- func (x *PolicyForUpsert) GetProjectId() uint32
- func (x *PolicyForUpsert) GetResourcePtn() string
- func (*PolicyForUpsert) ProtoMessage()
- func (x *PolicyForUpsert) ProtoReflect() protoreflect.Message
- func (x *PolicyForUpsert) Reset()
- func (x *PolicyForUpsert) String() string
- func (r *PolicyForUpsert) Validate() error
- type PutAccessTokenRequest
- func (*PutAccessTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutAccessTokenRequest) GetAccessToken() *AccessTokenForUpsert
- func (x *PutAccessTokenRequest) GetProjectId() uint32
- func (*PutAccessTokenRequest) ProtoMessage()
- func (x *PutAccessTokenRequest) ProtoReflect() protoreflect.Message
- func (x *PutAccessTokenRequest) Reset()
- func (x *PutAccessTokenRequest) String() string
- func (p *PutAccessTokenRequest) Validate() error
- type PutAccessTokenResponse
- func (*PutAccessTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PutAccessTokenResponse) GetAccessToken() *AccessToken
- func (*PutAccessTokenResponse) ProtoMessage()
- func (x *PutAccessTokenResponse) ProtoReflect() protoreflect.Message
- func (x *PutAccessTokenResponse) Reset()
- func (x *PutAccessTokenResponse) String() string
- type PutPolicyRequest
- func (*PutPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutPolicyRequest) GetPolicy() *PolicyForUpsert
- func (x *PutPolicyRequest) GetProjectId() uint32
- func (*PutPolicyRequest) ProtoMessage()
- func (x *PutPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *PutPolicyRequest) Reset()
- func (x *PutPolicyRequest) String() string
- func (p *PutPolicyRequest) Validate() error
- type PutPolicyResponse
- type PutRoleRequest
- func (*PutRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutRoleRequest) GetProjectId() uint32
- func (x *PutRoleRequest) GetRole() *RoleForUpsert
- func (*PutRoleRequest) ProtoMessage()
- func (x *PutRoleRequest) ProtoReflect() protoreflect.Message
- func (x *PutRoleRequest) Reset()
- func (x *PutRoleRequest) String() string
- func (p *PutRoleRequest) Validate() error
- type PutRoleResponse
- type PutUserRequest
- func (*PutUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutUserRequest) GetUser() *UserForUpsert
- func (*PutUserRequest) ProtoMessage()
- func (x *PutUserRequest) ProtoReflect() protoreflect.Message
- func (x *PutUserRequest) Reset()
- func (x *PutUserRequest) String() string
- func (p *PutUserRequest) Validate() error
- type PutUserResponse
- type Role
- func (*Role) Descriptor() ([]byte, []int)deprecated
- func (x *Role) GetCreatedAt() int64
- func (x *Role) GetName() string
- func (x *Role) GetProjectId() uint32
- func (x *Role) GetRoleId() uint32
- func (x *Role) GetUpdatedAt() int64
- func (*Role) ProtoMessage()
- func (x *Role) ProtoReflect() protoreflect.Message
- func (x *Role) Reset()
- func (x *Role) String() string
- type RoleForUpsert
- func (*RoleForUpsert) Descriptor() ([]byte, []int)deprecated
- func (x *RoleForUpsert) GetName() string
- func (x *RoleForUpsert) GetProjectId() uint32
- func (*RoleForUpsert) ProtoMessage()
- func (x *RoleForUpsert) ProtoReflect() protoreflect.Message
- func (x *RoleForUpsert) Reset()
- func (x *RoleForUpsert) String() string
- func (r *RoleForUpsert) Validate() error
- type RolePolicy
- func (*RolePolicy) Descriptor() ([]byte, []int)deprecated
- func (x *RolePolicy) GetCreatedAt() int64
- func (x *RolePolicy) GetPolicyId() uint32
- func (x *RolePolicy) GetProjectId() uint32
- func (x *RolePolicy) GetRoleId() uint32
- func (x *RolePolicy) GetUpdatedAt() int64
- func (*RolePolicy) ProtoMessage()
- func (x *RolePolicy) ProtoReflect() protoreflect.Message
- func (x *RolePolicy) Reset()
- func (x *RolePolicy) String() string
- type UnimplementedIAMServiceServer
- func (*UnimplementedIAMServiceServer) AnalyzeTokenExpiration(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (*UnimplementedIAMServiceServer) AttachAccessTokenRole(context.Context, *AttachAccessTokenRoleRequest) (*AttachAccessTokenRoleResponse, error)
- func (*UnimplementedIAMServiceServer) AttachPolicy(context.Context, *AttachPolicyRequest) (*AttachPolicyResponse, error)
- func (*UnimplementedIAMServiceServer) AttachRole(context.Context, *AttachRoleRequest) (*AttachRoleResponse, error)
- func (*UnimplementedIAMServiceServer) AuthenticateAccessToken(context.Context, *AuthenticateAccessTokenRequest) (*AuthenticateAccessTokenResponse, error)
- func (*UnimplementedIAMServiceServer) DeleteAccessToken(context.Context, *DeleteAccessTokenRequest) (*emptypb.Empty, error)
- func (*UnimplementedIAMServiceServer) DeletePolicy(context.Context, *DeletePolicyRequest) (*emptypb.Empty, error)
- func (*UnimplementedIAMServiceServer) DeleteRole(context.Context, *DeleteRoleRequest) (*emptypb.Empty, error)
- func (*UnimplementedIAMServiceServer) DetachAccessTokenRole(context.Context, *DetachAccessTokenRoleRequest) (*emptypb.Empty, error)
- func (*UnimplementedIAMServiceServer) DetachPolicy(context.Context, *DetachPolicyRequest) (*emptypb.Empty, error)
- func (*UnimplementedIAMServiceServer) DetachRole(context.Context, *DetachRoleRequest) (*emptypb.Empty, error)
- func (*UnimplementedIAMServiceServer) GetPolicy(context.Context, *GetPolicyRequest) (*GetPolicyResponse, error)
- func (*UnimplementedIAMServiceServer) GetRole(context.Context, *GetRoleRequest) (*GetRoleResponse, error)
- func (*UnimplementedIAMServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
- func (*UnimplementedIAMServiceServer) IsAdmin(context.Context, *IsAdminRequest) (*IsAdminResponse, error)
- func (*UnimplementedIAMServiceServer) IsAuthorized(context.Context, *IsAuthorizedRequest) (*IsAuthorizedResponse, error)
- func (*UnimplementedIAMServiceServer) IsAuthorizedAdmin(context.Context, *IsAuthorizedAdminRequest) (*IsAuthorizedAdminResponse, error)
- func (*UnimplementedIAMServiceServer) IsAuthorizedToken(context.Context, *IsAuthorizedTokenRequest) (*IsAuthorizedTokenResponse, error)
- func (*UnimplementedIAMServiceServer) ListAccessToken(context.Context, *ListAccessTokenRequest) (*ListAccessTokenResponse, error)
- func (*UnimplementedIAMServiceServer) ListPolicy(context.Context, *ListPolicyRequest) (*ListPolicyResponse, error)
- func (*UnimplementedIAMServiceServer) ListRole(context.Context, *ListRoleRequest) (*ListRoleResponse, error)
- func (*UnimplementedIAMServiceServer) ListUser(context.Context, *ListUserRequest) (*ListUserResponse, error)
- func (*UnimplementedIAMServiceServer) PutAccessToken(context.Context, *PutAccessTokenRequest) (*PutAccessTokenResponse, error)
- func (*UnimplementedIAMServiceServer) PutPolicy(context.Context, *PutPolicyRequest) (*PutPolicyResponse, error)
- func (*UnimplementedIAMServiceServer) PutRole(context.Context, *PutRoleRequest) (*PutRoleResponse, error)
- func (*UnimplementedIAMServiceServer) PutUser(context.Context, *PutUserRequest) (*PutUserResponse, error)
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetActivated() bool
- func (x *User) GetCreatedAt() int64
- func (x *User) GetName() string
- func (x *User) GetSub() string
- func (x *User) GetUpdatedAt() int64
- func (x *User) GetUserId() uint32
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserForUpsert
- func (*UserForUpsert) Descriptor() ([]byte, []int)deprecated
- func (x *UserForUpsert) GetActivated() bool
- func (x *UserForUpsert) GetName() string
- func (x *UserForUpsert) GetSub() string
- func (*UserForUpsert) ProtoMessage()
- func (x *UserForUpsert) ProtoReflect() protoreflect.Message
- func (x *UserForUpsert) Reset()
- func (x *UserForUpsert) String() string
- func (u *UserForUpsert) Validate() error
- type UserRole
- func (*UserRole) Descriptor() ([]byte, []int)deprecated
- func (x *UserRole) GetCreatedAt() int64
- func (x *UserRole) GetProjectId() uint32
- func (x *UserRole) GetRoleId() uint32
- func (x *UserRole) GetUpdatedAt() int64
- func (x *UserRole) GetUserId() uint32
- func (*UserRole) ProtoMessage()
- func (x *UserRole) ProtoReflect() protoreflect.Message
- func (x *UserRole) Reset()
- func (x *UserRole) String() string
Constants ¶
This section is empty.
Variables ¶
var File_iam_access_token_proto protoreflect.FileDescriptor
var File_iam_entity_proto protoreflect.FileDescriptor
var File_iam_policy_proto protoreflect.FileDescriptor
var File_iam_role_proto protoreflect.FileDescriptor
var File_iam_service_proto protoreflect.FileDescriptor
var File_iam_user_proto protoreflect.FileDescriptor
Functions ¶
func RegisterIAMServiceServer ¶
func RegisterIAMServiceServer(s *grpc.Server, srv IAMServiceServer)
Types ¶
type AccessToken ¶
type AccessToken struct { AccessTokenId uint32 `protobuf:"varint,1,opt,name=access_token_id,json=accessTokenId,proto3" json:"access_token_id,omitempty"` // string token_hash = 2; // Must not show this value. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` ProjectId uint32 `protobuf:"varint,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` ExpiredAt int64 `protobuf:"varint,5,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"` LastUpdatedUserId uint32 `protobuf:"varint,6,opt,name=last_updated_user_id,json=lastUpdatedUserId,proto3" json:"last_updated_user_id,omitempty"` CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
AccessToken
func (*AccessToken) Descriptor
deprecated
func (*AccessToken) Descriptor() ([]byte, []int)
Deprecated: Use AccessToken.ProtoReflect.Descriptor instead.
func (*AccessToken) GetAccessTokenId ¶
func (x *AccessToken) GetAccessTokenId() uint32
func (*AccessToken) GetCreatedAt ¶
func (x *AccessToken) GetCreatedAt() int64
func (*AccessToken) GetDescription ¶
func (x *AccessToken) GetDescription() string
func (*AccessToken) GetExpiredAt ¶
func (x *AccessToken) GetExpiredAt() int64
func (*AccessToken) GetLastUpdatedUserId ¶
func (x *AccessToken) GetLastUpdatedUserId() uint32
func (*AccessToken) GetName ¶
func (x *AccessToken) GetName() string
func (*AccessToken) GetProjectId ¶
func (x *AccessToken) GetProjectId() uint32
func (*AccessToken) GetUpdatedAt ¶
func (x *AccessToken) GetUpdatedAt() int64
func (*AccessToken) ProtoMessage ¶
func (*AccessToken) ProtoMessage()
func (*AccessToken) ProtoReflect ¶
func (x *AccessToken) ProtoReflect() protoreflect.Message
func (*AccessToken) Reset ¶
func (x *AccessToken) Reset()
func (*AccessToken) String ¶
func (x *AccessToken) String() string
type AccessTokenForUpsert ¶
type AccessTokenForUpsert struct { AccessTokenId uint32 `protobuf:"varint,1,opt,name=access_token_id,json=accessTokenId,proto3" json:"access_token_id,omitempty"` PlainTextToken string `protobuf:"bytes,2,opt,name=plain_text_token,json=plainTextToken,proto3" json:"plain_text_token,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` ProjectId uint32 `protobuf:"varint,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` ExpiredAt int64 `protobuf:"varint,6,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"` LastUpdatedUserId uint32 `protobuf:"varint,7,opt,name=last_updated_user_id,json=lastUpdatedUserId,proto3" json:"last_updated_user_id,omitempty"` // contains filtered or unexported fields }
AccessTokenForUpsert
func (*AccessTokenForUpsert) Descriptor
deprecated
func (*AccessTokenForUpsert) Descriptor() ([]byte, []int)
Deprecated: Use AccessTokenForUpsert.ProtoReflect.Descriptor instead.
func (*AccessTokenForUpsert) GetAccessTokenId ¶
func (x *AccessTokenForUpsert) GetAccessTokenId() uint32
func (*AccessTokenForUpsert) GetDescription ¶
func (x *AccessTokenForUpsert) GetDescription() string
func (*AccessTokenForUpsert) GetExpiredAt ¶
func (x *AccessTokenForUpsert) GetExpiredAt() int64
func (*AccessTokenForUpsert) GetLastUpdatedUserId ¶
func (x *AccessTokenForUpsert) GetLastUpdatedUserId() uint32
func (*AccessTokenForUpsert) GetName ¶
func (x *AccessTokenForUpsert) GetName() string
func (*AccessTokenForUpsert) GetPlainTextToken ¶
func (x *AccessTokenForUpsert) GetPlainTextToken() string
func (*AccessTokenForUpsert) GetProjectId ¶
func (x *AccessTokenForUpsert) GetProjectId() uint32
func (*AccessTokenForUpsert) ProtoMessage ¶
func (*AccessTokenForUpsert) ProtoMessage()
func (*AccessTokenForUpsert) ProtoReflect ¶
func (x *AccessTokenForUpsert) ProtoReflect() protoreflect.Message
func (*AccessTokenForUpsert) Reset ¶
func (x *AccessTokenForUpsert) Reset()
func (*AccessTokenForUpsert) String ¶
func (x *AccessTokenForUpsert) String() string
func (*AccessTokenForUpsert) Validate ¶
func (a *AccessTokenForUpsert) Validate() error
Validate AccessTokenForUpsert
type AccessTokenRole ¶
type AccessTokenRole struct { AccessTokenId uint32 `protobuf:"varint,1,opt,name=access_token_id,json=accessTokenId,proto3" json:"access_token_id,omitempty"` RoleId uint32 `protobuf:"varint,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` ProjectId uint32 `protobuf:"varint,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*AccessTokenRole) Descriptor
deprecated
func (*AccessTokenRole) Descriptor() ([]byte, []int)
Deprecated: Use AccessTokenRole.ProtoReflect.Descriptor instead.
func (*AccessTokenRole) GetAccessTokenId ¶
func (x *AccessTokenRole) GetAccessTokenId() uint32
func (*AccessTokenRole) GetCreatedAt ¶
func (x *AccessTokenRole) GetCreatedAt() int64
func (*AccessTokenRole) GetProjectId ¶
func (x *AccessTokenRole) GetProjectId() uint32
func (*AccessTokenRole) GetRoleId ¶
func (x *AccessTokenRole) GetRoleId() uint32
func (*AccessTokenRole) GetUpdatedAt ¶
func (x *AccessTokenRole) GetUpdatedAt() int64
func (*AccessTokenRole) ProtoMessage ¶
func (*AccessTokenRole) ProtoMessage()
func (*AccessTokenRole) ProtoReflect ¶
func (x *AccessTokenRole) ProtoReflect() protoreflect.Message
func (*AccessTokenRole) Reset ¶
func (x *AccessTokenRole) Reset()
func (*AccessTokenRole) String ¶
func (x *AccessTokenRole) String() string
type AttachAccessTokenRoleRequest ¶
type AttachAccessTokenRoleRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` AccessTokenId uint32 `protobuf:"varint,2,opt,name=access_token_id,json=accessTokenId,proto3" json:"access_token_id,omitempty"` RoleId uint32 `protobuf:"varint,3,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // contains filtered or unexported fields }
func (*AttachAccessTokenRoleRequest) Descriptor
deprecated
func (*AttachAccessTokenRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttachAccessTokenRoleRequest.ProtoReflect.Descriptor instead.
func (*AttachAccessTokenRoleRequest) GetAccessTokenId ¶
func (x *AttachAccessTokenRoleRequest) GetAccessTokenId() uint32
func (*AttachAccessTokenRoleRequest) GetProjectId ¶
func (x *AttachAccessTokenRoleRequest) GetProjectId() uint32
func (*AttachAccessTokenRoleRequest) GetRoleId ¶
func (x *AttachAccessTokenRoleRequest) GetRoleId() uint32
func (*AttachAccessTokenRoleRequest) ProtoMessage ¶
func (*AttachAccessTokenRoleRequest) ProtoMessage()
func (*AttachAccessTokenRoleRequest) ProtoReflect ¶
func (x *AttachAccessTokenRoleRequest) ProtoReflect() protoreflect.Message
func (*AttachAccessTokenRoleRequest) Reset ¶
func (x *AttachAccessTokenRoleRequest) Reset()
func (*AttachAccessTokenRoleRequest) String ¶
func (x *AttachAccessTokenRoleRequest) String() string
func (*AttachAccessTokenRoleRequest) Validate ¶
func (a *AttachAccessTokenRoleRequest) Validate() error
Validate AttachAccessTokenRoleRequest
type AttachAccessTokenRoleResponse ¶
type AttachAccessTokenRoleResponse struct { AccessTokenRole *AccessTokenRole `protobuf:"bytes,1,opt,name=access_token_role,json=accessTokenRole,proto3" json:"access_token_role,omitempty"` // contains filtered or unexported fields }
func (*AttachAccessTokenRoleResponse) Descriptor
deprecated
func (*AttachAccessTokenRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttachAccessTokenRoleResponse.ProtoReflect.Descriptor instead.
func (*AttachAccessTokenRoleResponse) GetAccessTokenRole ¶
func (x *AttachAccessTokenRoleResponse) GetAccessTokenRole() *AccessTokenRole
func (*AttachAccessTokenRoleResponse) ProtoMessage ¶
func (*AttachAccessTokenRoleResponse) ProtoMessage()
func (*AttachAccessTokenRoleResponse) ProtoReflect ¶
func (x *AttachAccessTokenRoleResponse) ProtoReflect() protoreflect.Message
func (*AttachAccessTokenRoleResponse) Reset ¶
func (x *AttachAccessTokenRoleResponse) Reset()
func (*AttachAccessTokenRoleResponse) String ¶
func (x *AttachAccessTokenRoleResponse) String() string
type AttachPolicyRequest ¶
type AttachPolicyRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` RoleId uint32 `protobuf:"varint,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` PolicyId uint32 `protobuf:"varint,3,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"` // contains filtered or unexported fields }
func (*AttachPolicyRequest) Descriptor
deprecated
func (*AttachPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttachPolicyRequest.ProtoReflect.Descriptor instead.
func (*AttachPolicyRequest) GetPolicyId ¶
func (x *AttachPolicyRequest) GetPolicyId() uint32
func (*AttachPolicyRequest) GetProjectId ¶
func (x *AttachPolicyRequest) GetProjectId() uint32
func (*AttachPolicyRequest) GetRoleId ¶
func (x *AttachPolicyRequest) GetRoleId() uint32
func (*AttachPolicyRequest) ProtoMessage ¶
func (*AttachPolicyRequest) ProtoMessage()
func (*AttachPolicyRequest) ProtoReflect ¶
func (x *AttachPolicyRequest) ProtoReflect() protoreflect.Message
func (*AttachPolicyRequest) Reset ¶
func (x *AttachPolicyRequest) Reset()
func (*AttachPolicyRequest) String ¶
func (x *AttachPolicyRequest) String() string
func (*AttachPolicyRequest) Validate ¶
func (a *AttachPolicyRequest) Validate() error
Validate AttachPolicyRequest
type AttachPolicyResponse ¶
type AttachPolicyResponse struct { RolePolicy *RolePolicy `protobuf:"bytes,1,opt,name=role_policy,json=rolePolicy,proto3" json:"role_policy,omitempty"` // contains filtered or unexported fields }
func (*AttachPolicyResponse) Descriptor
deprecated
func (*AttachPolicyResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttachPolicyResponse.ProtoReflect.Descriptor instead.
func (*AttachPolicyResponse) GetRolePolicy ¶
func (x *AttachPolicyResponse) GetRolePolicy() *RolePolicy
func (*AttachPolicyResponse) ProtoMessage ¶
func (*AttachPolicyResponse) ProtoMessage()
func (*AttachPolicyResponse) ProtoReflect ¶
func (x *AttachPolicyResponse) ProtoReflect() protoreflect.Message
func (*AttachPolicyResponse) Reset ¶
func (x *AttachPolicyResponse) Reset()
func (*AttachPolicyResponse) String ¶
func (x *AttachPolicyResponse) String() string
type AttachRoleRequest ¶
type AttachRoleRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` UserId uint32 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` RoleId uint32 `protobuf:"varint,3,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // contains filtered or unexported fields }
func (*AttachRoleRequest) Descriptor
deprecated
func (*AttachRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttachRoleRequest.ProtoReflect.Descriptor instead.
func (*AttachRoleRequest) GetProjectId ¶
func (x *AttachRoleRequest) GetProjectId() uint32
func (*AttachRoleRequest) GetRoleId ¶
func (x *AttachRoleRequest) GetRoleId() uint32
func (*AttachRoleRequest) GetUserId ¶
func (x *AttachRoleRequest) GetUserId() uint32
func (*AttachRoleRequest) ProtoMessage ¶
func (*AttachRoleRequest) ProtoMessage()
func (*AttachRoleRequest) ProtoReflect ¶
func (x *AttachRoleRequest) ProtoReflect() protoreflect.Message
func (*AttachRoleRequest) Reset ¶
func (x *AttachRoleRequest) Reset()
func (*AttachRoleRequest) String ¶
func (x *AttachRoleRequest) String() string
func (*AttachRoleRequest) Validate ¶
func (a *AttachRoleRequest) Validate() error
Validate AttachRoleRequest
func (*AttachRoleRequest) ValidateForAdmin ¶
func (a *AttachRoleRequest) ValidateForAdmin() error
ValidateForAdmin AttachRoleRequest
type AttachRoleResponse ¶
type AttachRoleResponse struct { UserRole *UserRole `protobuf:"bytes,1,opt,name=user_role,json=userRole,proto3" json:"user_role,omitempty"` // contains filtered or unexported fields }
func (*AttachRoleResponse) Descriptor
deprecated
func (*AttachRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttachRoleResponse.ProtoReflect.Descriptor instead.
func (*AttachRoleResponse) GetUserRole ¶
func (x *AttachRoleResponse) GetUserRole() *UserRole
func (*AttachRoleResponse) ProtoMessage ¶
func (*AttachRoleResponse) ProtoMessage()
func (*AttachRoleResponse) ProtoReflect ¶
func (x *AttachRoleResponse) ProtoReflect() protoreflect.Message
func (*AttachRoleResponse) Reset ¶
func (x *AttachRoleResponse) Reset()
func (*AttachRoleResponse) String ¶
func (x *AttachRoleResponse) String() string
type AuthenticateAccessTokenRequest ¶
type AuthenticateAccessTokenRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` AccessTokenId uint32 `protobuf:"varint,2,opt,name=access_token_id,json=accessTokenId,proto3" json:"access_token_id,omitempty"` PlainTextToken string `protobuf:"bytes,3,opt,name=plain_text_token,json=plainTextToken,proto3" json:"plain_text_token,omitempty"` // contains filtered or unexported fields }
func (*AuthenticateAccessTokenRequest) Descriptor
deprecated
func (*AuthenticateAccessTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateAccessTokenRequest.ProtoReflect.Descriptor instead.
func (*AuthenticateAccessTokenRequest) GetAccessTokenId ¶
func (x *AuthenticateAccessTokenRequest) GetAccessTokenId() uint32
func (*AuthenticateAccessTokenRequest) GetPlainTextToken ¶
func (x *AuthenticateAccessTokenRequest) GetPlainTextToken() string
func (*AuthenticateAccessTokenRequest) GetProjectId ¶
func (x *AuthenticateAccessTokenRequest) GetProjectId() uint32
func (*AuthenticateAccessTokenRequest) ProtoMessage ¶
func (*AuthenticateAccessTokenRequest) ProtoMessage()
func (*AuthenticateAccessTokenRequest) ProtoReflect ¶
func (x *AuthenticateAccessTokenRequest) ProtoReflect() protoreflect.Message
func (*AuthenticateAccessTokenRequest) Reset ¶
func (x *AuthenticateAccessTokenRequest) Reset()
func (*AuthenticateAccessTokenRequest) String ¶
func (x *AuthenticateAccessTokenRequest) String() string
func (*AuthenticateAccessTokenRequest) Validate ¶
func (a *AuthenticateAccessTokenRequest) Validate() error
Validate AuthenticateAccessTokenRequest
type AuthenticateAccessTokenResponse ¶
type AuthenticateAccessTokenResponse struct { AccessToken *AccessToken `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // contains filtered or unexported fields }
func (*AuthenticateAccessTokenResponse) Descriptor
deprecated
func (*AuthenticateAccessTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateAccessTokenResponse.ProtoReflect.Descriptor instead.
func (*AuthenticateAccessTokenResponse) GetAccessToken ¶
func (x *AuthenticateAccessTokenResponse) GetAccessToken() *AccessToken
func (*AuthenticateAccessTokenResponse) ProtoMessage ¶
func (*AuthenticateAccessTokenResponse) ProtoMessage()
func (*AuthenticateAccessTokenResponse) ProtoReflect ¶
func (x *AuthenticateAccessTokenResponse) ProtoReflect() protoreflect.Message
func (*AuthenticateAccessTokenResponse) Reset ¶
func (x *AuthenticateAccessTokenResponse) Reset()
func (*AuthenticateAccessTokenResponse) String ¶
func (x *AuthenticateAccessTokenResponse) String() string
type DeleteAccessTokenRequest ¶
type DeleteAccessTokenRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` AccessTokenId uint32 `protobuf:"varint,2,opt,name=access_token_id,json=accessTokenId,proto3" json:"access_token_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteAccessTokenRequest) Descriptor
deprecated
func (*DeleteAccessTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAccessTokenRequest.ProtoReflect.Descriptor instead.
func (*DeleteAccessTokenRequest) GetAccessTokenId ¶
func (x *DeleteAccessTokenRequest) GetAccessTokenId() uint32
func (*DeleteAccessTokenRequest) GetProjectId ¶
func (x *DeleteAccessTokenRequest) GetProjectId() uint32
func (*DeleteAccessTokenRequest) ProtoMessage ¶
func (*DeleteAccessTokenRequest) ProtoMessage()
func (*DeleteAccessTokenRequest) ProtoReflect ¶
func (x *DeleteAccessTokenRequest) ProtoReflect() protoreflect.Message
func (*DeleteAccessTokenRequest) Reset ¶
func (x *DeleteAccessTokenRequest) Reset()
func (*DeleteAccessTokenRequest) String ¶
func (x *DeleteAccessTokenRequest) String() string
func (*DeleteAccessTokenRequest) Validate ¶
func (d *DeleteAccessTokenRequest) Validate() error
Validate DeleteAccessTokenRequest
type DeletePolicyRequest ¶
type DeletePolicyRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` PolicyId uint32 `protobuf:"varint,2,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"` // contains filtered or unexported fields }
func (*DeletePolicyRequest) Descriptor
deprecated
func (*DeletePolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePolicyRequest.ProtoReflect.Descriptor instead.
func (*DeletePolicyRequest) GetPolicyId ¶
func (x *DeletePolicyRequest) GetPolicyId() uint32
func (*DeletePolicyRequest) GetProjectId ¶
func (x *DeletePolicyRequest) GetProjectId() uint32
func (*DeletePolicyRequest) ProtoMessage ¶
func (*DeletePolicyRequest) ProtoMessage()
func (*DeletePolicyRequest) ProtoReflect ¶
func (x *DeletePolicyRequest) ProtoReflect() protoreflect.Message
func (*DeletePolicyRequest) Reset ¶
func (x *DeletePolicyRequest) Reset()
func (*DeletePolicyRequest) String ¶
func (x *DeletePolicyRequest) String() string
func (*DeletePolicyRequest) Validate ¶
func (d *DeletePolicyRequest) Validate() error
Validate DeletePolicyRequest
type DeleteRoleRequest ¶
type DeleteRoleRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` RoleId uint32 `protobuf:"varint,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRoleRequest) Descriptor
deprecated
func (*DeleteRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoleRequest.ProtoReflect.Descriptor instead.
func (*DeleteRoleRequest) GetProjectId ¶
func (x *DeleteRoleRequest) GetProjectId() uint32
func (*DeleteRoleRequest) GetRoleId ¶
func (x *DeleteRoleRequest) GetRoleId() uint32
func (*DeleteRoleRequest) ProtoMessage ¶
func (*DeleteRoleRequest) ProtoMessage()
func (*DeleteRoleRequest) ProtoReflect ¶
func (x *DeleteRoleRequest) ProtoReflect() protoreflect.Message
func (*DeleteRoleRequest) Reset ¶
func (x *DeleteRoleRequest) Reset()
func (*DeleteRoleRequest) String ¶
func (x *DeleteRoleRequest) String() string
func (*DeleteRoleRequest) Validate ¶
func (d *DeleteRoleRequest) Validate() error
Validate DeleteRoleRequest
type DetachAccessTokenRoleRequest ¶
type DetachAccessTokenRoleRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` AccessTokenId uint32 `protobuf:"varint,2,opt,name=access_token_id,json=accessTokenId,proto3" json:"access_token_id,omitempty"` RoleId uint32 `protobuf:"varint,3,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // contains filtered or unexported fields }
func (*DetachAccessTokenRoleRequest) Descriptor
deprecated
func (*DetachAccessTokenRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DetachAccessTokenRoleRequest.ProtoReflect.Descriptor instead.
func (*DetachAccessTokenRoleRequest) GetAccessTokenId ¶
func (x *DetachAccessTokenRoleRequest) GetAccessTokenId() uint32
func (*DetachAccessTokenRoleRequest) GetProjectId ¶
func (x *DetachAccessTokenRoleRequest) GetProjectId() uint32
func (*DetachAccessTokenRoleRequest) GetRoleId ¶
func (x *DetachAccessTokenRoleRequest) GetRoleId() uint32
func (*DetachAccessTokenRoleRequest) ProtoMessage ¶
func (*DetachAccessTokenRoleRequest) ProtoMessage()
func (*DetachAccessTokenRoleRequest) ProtoReflect ¶
func (x *DetachAccessTokenRoleRequest) ProtoReflect() protoreflect.Message
func (*DetachAccessTokenRoleRequest) Reset ¶
func (x *DetachAccessTokenRoleRequest) Reset()
func (*DetachAccessTokenRoleRequest) String ¶
func (x *DetachAccessTokenRoleRequest) String() string
func (*DetachAccessTokenRoleRequest) Validate ¶
func (d *DetachAccessTokenRoleRequest) Validate() error
Validate DetachAccessTokenRoleRequest
type DetachPolicyRequest ¶
type DetachPolicyRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` RoleId uint32 `protobuf:"varint,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` PolicyId uint32 `protobuf:"varint,3,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"` // contains filtered or unexported fields }
func (*DetachPolicyRequest) Descriptor
deprecated
func (*DetachPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DetachPolicyRequest.ProtoReflect.Descriptor instead.
func (*DetachPolicyRequest) GetPolicyId ¶
func (x *DetachPolicyRequest) GetPolicyId() uint32
func (*DetachPolicyRequest) GetProjectId ¶
func (x *DetachPolicyRequest) GetProjectId() uint32
func (*DetachPolicyRequest) GetRoleId ¶
func (x *DetachPolicyRequest) GetRoleId() uint32
func (*DetachPolicyRequest) ProtoMessage ¶
func (*DetachPolicyRequest) ProtoMessage()
func (*DetachPolicyRequest) ProtoReflect ¶
func (x *DetachPolicyRequest) ProtoReflect() protoreflect.Message
func (*DetachPolicyRequest) Reset ¶
func (x *DetachPolicyRequest) Reset()
func (*DetachPolicyRequest) String ¶
func (x *DetachPolicyRequest) String() string
func (*DetachPolicyRequest) Validate ¶
func (d *DetachPolicyRequest) Validate() error
Validate DetachPolicyRequest
type DetachRoleRequest ¶
type DetachRoleRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` UserId uint32 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` RoleId uint32 `protobuf:"varint,3,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // contains filtered or unexported fields }
func (*DetachRoleRequest) Descriptor
deprecated
func (*DetachRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DetachRoleRequest.ProtoReflect.Descriptor instead.
func (*DetachRoleRequest) GetProjectId ¶
func (x *DetachRoleRequest) GetProjectId() uint32
func (*DetachRoleRequest) GetRoleId ¶
func (x *DetachRoleRequest) GetRoleId() uint32
func (*DetachRoleRequest) GetUserId ¶
func (x *DetachRoleRequest) GetUserId() uint32
func (*DetachRoleRequest) ProtoMessage ¶
func (*DetachRoleRequest) ProtoMessage()
func (*DetachRoleRequest) ProtoReflect ¶
func (x *DetachRoleRequest) ProtoReflect() protoreflect.Message
func (*DetachRoleRequest) Reset ¶
func (x *DetachRoleRequest) Reset()
func (*DetachRoleRequest) String ¶
func (x *DetachRoleRequest) String() string
func (*DetachRoleRequest) Validate ¶
func (d *DetachRoleRequest) Validate() error
Validate DetachRoleRequest
func (*DetachRoleRequest) ValidateForAdmin ¶
func (d *DetachRoleRequest) ValidateForAdmin() error
ValidateForAdmin DetachRoleRequest
type GetPolicyRequest ¶
type GetPolicyRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` PolicyId uint32 `protobuf:"varint,2,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"` // contains filtered or unexported fields }
func (*GetPolicyRequest) Descriptor
deprecated
func (*GetPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicyRequest.ProtoReflect.Descriptor instead.
func (*GetPolicyRequest) GetPolicyId ¶
func (x *GetPolicyRequest) GetPolicyId() uint32
func (*GetPolicyRequest) GetProjectId ¶
func (x *GetPolicyRequest) GetProjectId() uint32
func (*GetPolicyRequest) ProtoMessage ¶
func (*GetPolicyRequest) ProtoMessage()
func (*GetPolicyRequest) ProtoReflect ¶
func (x *GetPolicyRequest) ProtoReflect() protoreflect.Message
func (*GetPolicyRequest) Reset ¶
func (x *GetPolicyRequest) Reset()
func (*GetPolicyRequest) String ¶
func (x *GetPolicyRequest) String() string
func (*GetPolicyRequest) Validate ¶
func (g *GetPolicyRequest) Validate() error
Validate GetPolicyRequest
type GetPolicyResponse ¶
type GetPolicyResponse struct { Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` // contains filtered or unexported fields }
func (*GetPolicyResponse) Descriptor
deprecated
func (*GetPolicyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicyResponse.ProtoReflect.Descriptor instead.
func (*GetPolicyResponse) GetPolicy ¶
func (x *GetPolicyResponse) GetPolicy() *Policy
func (*GetPolicyResponse) ProtoMessage ¶
func (*GetPolicyResponse) ProtoMessage()
func (*GetPolicyResponse) ProtoReflect ¶
func (x *GetPolicyResponse) ProtoReflect() protoreflect.Message
func (*GetPolicyResponse) Reset ¶
func (x *GetPolicyResponse) Reset()
func (*GetPolicyResponse) String ¶
func (x *GetPolicyResponse) String() string
type GetRoleRequest ¶
type GetRoleRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` RoleId uint32 `protobuf:"varint,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // contains filtered or unexported fields }
func (*GetRoleRequest) Descriptor
deprecated
func (*GetRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRoleRequest.ProtoReflect.Descriptor instead.
func (*GetRoleRequest) GetProjectId ¶
func (x *GetRoleRequest) GetProjectId() uint32
func (*GetRoleRequest) GetRoleId ¶
func (x *GetRoleRequest) GetRoleId() uint32
func (*GetRoleRequest) ProtoMessage ¶
func (*GetRoleRequest) ProtoMessage()
func (*GetRoleRequest) ProtoReflect ¶
func (x *GetRoleRequest) ProtoReflect() protoreflect.Message
func (*GetRoleRequest) Reset ¶
func (x *GetRoleRequest) Reset()
func (*GetRoleRequest) String ¶
func (x *GetRoleRequest) String() string
func (*GetRoleRequest) ValidateForAdmin ¶
func (g *GetRoleRequest) ValidateForAdmin() error
ValidateForAdmin GetRoleRequest
type GetRoleResponse ¶
type GetRoleResponse struct { Role *Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*GetRoleResponse) Descriptor
deprecated
func (*GetRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRoleResponse.ProtoReflect.Descriptor instead.
func (*GetRoleResponse) GetRole ¶
func (x *GetRoleResponse) GetRole() *Role
func (*GetRoleResponse) ProtoMessage ¶
func (*GetRoleResponse) ProtoMessage()
func (*GetRoleResponse) ProtoReflect ¶
func (x *GetRoleResponse) ProtoReflect() protoreflect.Message
func (*GetRoleResponse) Reset ¶
func (x *GetRoleResponse) Reset()
func (*GetRoleResponse) String ¶
func (x *GetRoleResponse) String() string
type GetUserRequest ¶
type GetUserRequest struct { UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Sub string `protobuf:"bytes,2,opt,name=sub,proto3" json:"sub,omitempty"` // contains filtered or unexported fields }
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetSub ¶
func (x *GetUserRequest) GetSub() string
func (*GetUserRequest) GetUserId ¶
func (x *GetUserRequest) GetUserId() uint32
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
type GetUserResponse ¶
type GetUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetUserResponse) Descriptor
deprecated
func (*GetUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
func (*GetUserResponse) GetUser ¶
func (x *GetUserResponse) GetUser() *User
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) ProtoReflect ¶
func (x *GetUserResponse) ProtoReflect() protoreflect.Message
func (*GetUserResponse) Reset ¶
func (x *GetUserResponse) Reset()
func (*GetUserResponse) String ¶
func (x *GetUserResponse) String() string
type IAMServiceClient ¶
type IAMServiceClient interface { // User ListUser(ctx context.Context, in *ListUserRequest, opts ...grpc.CallOption) (*ListUserResponse, error) GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) PutUser(ctx context.Context, in *PutUserRequest, opts ...grpc.CallOption) (*PutUserResponse, error) // Role ListRole(ctx context.Context, in *ListRoleRequest, opts ...grpc.CallOption) (*ListRoleResponse, error) GetRole(ctx context.Context, in *GetRoleRequest, opts ...grpc.CallOption) (*GetRoleResponse, error) PutRole(ctx context.Context, in *PutRoleRequest, opts ...grpc.CallOption) (*PutRoleResponse, error) DeleteRole(ctx context.Context, in *DeleteRoleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) AttachRole(ctx context.Context, in *AttachRoleRequest, opts ...grpc.CallOption) (*AttachRoleResponse, error) DetachRole(ctx context.Context, in *DetachRoleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Policy ListPolicy(ctx context.Context, in *ListPolicyRequest, opts ...grpc.CallOption) (*ListPolicyResponse, error) GetPolicy(ctx context.Context, in *GetPolicyRequest, opts ...grpc.CallOption) (*GetPolicyResponse, error) PutPolicy(ctx context.Context, in *PutPolicyRequest, opts ...grpc.CallOption) (*PutPolicyResponse, error) DeletePolicy(ctx context.Context, in *DeletePolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) AttachPolicy(ctx context.Context, in *AttachPolicyRequest, opts ...grpc.CallOption) (*AttachPolicyResponse, error) DetachPolicy(ctx context.Context, in *DetachPolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // AccessToken ListAccessToken(ctx context.Context, in *ListAccessTokenRequest, opts ...grpc.CallOption) (*ListAccessTokenResponse, error) AuthenticateAccessToken(ctx context.Context, in *AuthenticateAccessTokenRequest, opts ...grpc.CallOption) (*AuthenticateAccessTokenResponse, error) PutAccessToken(ctx context.Context, in *PutAccessTokenRequest, opts ...grpc.CallOption) (*PutAccessTokenResponse, error) DeleteAccessToken(ctx context.Context, in *DeleteAccessTokenRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) AttachAccessTokenRole(ctx context.Context, in *AttachAccessTokenRoleRequest, opts ...grpc.CallOption) (*AttachAccessTokenRoleResponse, error) DetachAccessTokenRole(ctx context.Context, in *DetachAccessTokenRoleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) AnalyzeTokenExpiration(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) // ユーザに対しての認可を行います IsAuthorized(ctx context.Context, in *IsAuthorizedRequest, opts ...grpc.CallOption) (*IsAuthorizedResponse, error) // 管理者ユーザに対しての認可を行います IsAuthorizedAdmin(ctx context.Context, in *IsAuthorizedAdminRequest, opts ...grpc.CallOption) (*IsAuthorizedAdminResponse, error) // アクセストークンに対しての認可を行います IsAuthorizedToken(ctx context.Context, in *IsAuthorizedTokenRequest, opts ...grpc.CallOption) (*IsAuthorizedTokenResponse, error) // 特定プロジェクトに依存しない管理者権限を持っているかどうかを返します IsAdmin(ctx context.Context, in *IsAdminRequest, opts ...grpc.CallOption) (*IsAdminResponse, error) }
IAMServiceClient is the client API for IAMService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewIAMServiceClient ¶
func NewIAMServiceClient(cc grpc.ClientConnInterface) IAMServiceClient
type IAMServiceServer ¶
type IAMServiceServer interface { // User ListUser(context.Context, *ListUserRequest) (*ListUserResponse, error) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) PutUser(context.Context, *PutUserRequest) (*PutUserResponse, error) // Role ListRole(context.Context, *ListRoleRequest) (*ListRoleResponse, error) GetRole(context.Context, *GetRoleRequest) (*GetRoleResponse, error) PutRole(context.Context, *PutRoleRequest) (*PutRoleResponse, error) DeleteRole(context.Context, *DeleteRoleRequest) (*emptypb.Empty, error) AttachRole(context.Context, *AttachRoleRequest) (*AttachRoleResponse, error) DetachRole(context.Context, *DetachRoleRequest) (*emptypb.Empty, error) // Policy ListPolicy(context.Context, *ListPolicyRequest) (*ListPolicyResponse, error) GetPolicy(context.Context, *GetPolicyRequest) (*GetPolicyResponse, error) PutPolicy(context.Context, *PutPolicyRequest) (*PutPolicyResponse, error) DeletePolicy(context.Context, *DeletePolicyRequest) (*emptypb.Empty, error) AttachPolicy(context.Context, *AttachPolicyRequest) (*AttachPolicyResponse, error) DetachPolicy(context.Context, *DetachPolicyRequest) (*emptypb.Empty, error) // AccessToken ListAccessToken(context.Context, *ListAccessTokenRequest) (*ListAccessTokenResponse, error) AuthenticateAccessToken(context.Context, *AuthenticateAccessTokenRequest) (*AuthenticateAccessTokenResponse, error) PutAccessToken(context.Context, *PutAccessTokenRequest) (*PutAccessTokenResponse, error) DeleteAccessToken(context.Context, *DeleteAccessTokenRequest) (*emptypb.Empty, error) AttachAccessTokenRole(context.Context, *AttachAccessTokenRoleRequest) (*AttachAccessTokenRoleResponse, error) DetachAccessTokenRole(context.Context, *DetachAccessTokenRoleRequest) (*emptypb.Empty, error) AnalyzeTokenExpiration(context.Context, *emptypb.Empty) (*emptypb.Empty, error) // ユーザに対しての認可を行います IsAuthorized(context.Context, *IsAuthorizedRequest) (*IsAuthorizedResponse, error) // 管理者ユーザに対しての認可を行います IsAuthorizedAdmin(context.Context, *IsAuthorizedAdminRequest) (*IsAuthorizedAdminResponse, error) // アクセストークンに対しての認可を行います IsAuthorizedToken(context.Context, *IsAuthorizedTokenRequest) (*IsAuthorizedTokenResponse, error) // 特定プロジェクトに依存しない管理者権限を持っているかどうかを返します IsAdmin(context.Context, *IsAdminRequest) (*IsAdminResponse, error) }
IAMServiceServer is the server API for IAMService service.
type IsAdminRequest ¶
type IsAdminRequest struct { UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
IsAdminRequest 特定プロジェクトに依存しない管理者権限を持っているかどうかを返します
func (*IsAdminRequest) Descriptor
deprecated
func (*IsAdminRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsAdminRequest.ProtoReflect.Descriptor instead.
func (*IsAdminRequest) GetUserId ¶
func (x *IsAdminRequest) GetUserId() uint32
func (*IsAdminRequest) ProtoMessage ¶
func (*IsAdminRequest) ProtoMessage()
func (*IsAdminRequest) ProtoReflect ¶
func (x *IsAdminRequest) ProtoReflect() protoreflect.Message
func (*IsAdminRequest) Reset ¶
func (x *IsAdminRequest) Reset()
func (*IsAdminRequest) String ¶
func (x *IsAdminRequest) String() string
type IsAdminResponse ¶
type IsAdminResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*IsAdminResponse) Descriptor
deprecated
func (*IsAdminResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsAdminResponse.ProtoReflect.Descriptor instead.
func (*IsAdminResponse) GetOk ¶
func (x *IsAdminResponse) GetOk() bool
func (*IsAdminResponse) ProtoMessage ¶
func (*IsAdminResponse) ProtoMessage()
func (*IsAdminResponse) ProtoReflect ¶
func (x *IsAdminResponse) ProtoReflect() protoreflect.Message
func (*IsAdminResponse) Reset ¶
func (x *IsAdminResponse) Reset()
func (*IsAdminResponse) String ¶
func (x *IsAdminResponse) String() string
type IsAuthorizedAdminRequest ¶
type IsAuthorizedAdminRequest struct { UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // UserID,(e.g.)111 ActionName string `protobuf:"bytes,2,opt,name=action_name,json=actionName,proto3" json:"action_name,omitempty"` // Service&API_name(<service_name>/<API>format),(e.g.)`finding/get-finding` ResourceName string `protobuf:"bytes,3,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` // System_resource_name(<prefix>/<resouorce_name>format) // contains filtered or unexported fields }
IsAuthorizedAdminRequest 管理者ユーザからのリクエストに対してアクションやリソース�への認可を行います
func (*IsAuthorizedAdminRequest) Descriptor
deprecated
func (*IsAuthorizedAdminRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsAuthorizedAdminRequest.ProtoReflect.Descriptor instead.
func (*IsAuthorizedAdminRequest) GetActionName ¶
func (x *IsAuthorizedAdminRequest) GetActionName() string
func (*IsAuthorizedAdminRequest) GetResourceName ¶
func (x *IsAuthorizedAdminRequest) GetResourceName() string
func (*IsAuthorizedAdminRequest) GetUserId ¶
func (x *IsAuthorizedAdminRequest) GetUserId() uint32
func (*IsAuthorizedAdminRequest) ProtoMessage ¶
func (*IsAuthorizedAdminRequest) ProtoMessage()
func (*IsAuthorizedAdminRequest) ProtoReflect ¶
func (x *IsAuthorizedAdminRequest) ProtoReflect() protoreflect.Message
func (*IsAuthorizedAdminRequest) Reset ¶
func (x *IsAuthorizedAdminRequest) Reset()
func (*IsAuthorizedAdminRequest) String ¶
func (x *IsAuthorizedAdminRequest) String() string
func (*IsAuthorizedAdminRequest) Validate ¶
func (i *IsAuthorizedAdminRequest) Validate() error
Validate IsAuthorizedAdminRequest
type IsAuthorizedAdminResponse ¶
type IsAuthorizedAdminResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*IsAuthorizedAdminResponse) Descriptor
deprecated
func (*IsAuthorizedAdminResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsAuthorizedAdminResponse.ProtoReflect.Descriptor instead.
func (*IsAuthorizedAdminResponse) GetOk ¶
func (x *IsAuthorizedAdminResponse) GetOk() bool
func (*IsAuthorizedAdminResponse) ProtoMessage ¶
func (*IsAuthorizedAdminResponse) ProtoMessage()
func (*IsAuthorizedAdminResponse) ProtoReflect ¶
func (x *IsAuthorizedAdminResponse) ProtoReflect() protoreflect.Message
func (*IsAuthorizedAdminResponse) Reset ¶
func (x *IsAuthorizedAdminResponse) Reset()
func (*IsAuthorizedAdminResponse) String ¶
func (x *IsAuthorizedAdminResponse) String() string
type IsAuthorizedRequest ¶
type IsAuthorizedRequest struct { UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // UserID,(e.g.)111 ProjectId uint32 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // ProjectID,(e.g.)1001 ActionName string `protobuf:"bytes,3,opt,name=action_name,json=actionName,proto3" json:"action_name,omitempty"` // Service&API_name(<service_name>/<API>format),(e.g.)`finding/get-finding` ResourceName string `protobuf:"bytes,4,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` // System_resource_name(<prefix>/<resouorce_name>format) // contains filtered or unexported fields }
IsAuthorizedRequest ユーザからのリクエストに対してアクションやリソース�への認可を行います
func (*IsAuthorizedRequest) Descriptor
deprecated
func (*IsAuthorizedRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsAuthorizedRequest.ProtoReflect.Descriptor instead.
func (*IsAuthorizedRequest) GetActionName ¶
func (x *IsAuthorizedRequest) GetActionName() string
func (*IsAuthorizedRequest) GetProjectId ¶
func (x *IsAuthorizedRequest) GetProjectId() uint32
func (*IsAuthorizedRequest) GetResourceName ¶
func (x *IsAuthorizedRequest) GetResourceName() string
func (*IsAuthorizedRequest) GetUserId ¶
func (x *IsAuthorizedRequest) GetUserId() uint32
func (*IsAuthorizedRequest) ProtoMessage ¶
func (*IsAuthorizedRequest) ProtoMessage()
func (*IsAuthorizedRequest) ProtoReflect ¶
func (x *IsAuthorizedRequest) ProtoReflect() protoreflect.Message
func (*IsAuthorizedRequest) Reset ¶
func (x *IsAuthorizedRequest) Reset()
func (*IsAuthorizedRequest) String ¶
func (x *IsAuthorizedRequest) String() string
func (*IsAuthorizedRequest) Validate ¶
func (i *IsAuthorizedRequest) Validate() error
Validate IsAuthorizedRequest
type IsAuthorizedResponse ¶
type IsAuthorizedResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*IsAuthorizedResponse) Descriptor
deprecated
func (*IsAuthorizedResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsAuthorizedResponse.ProtoReflect.Descriptor instead.
func (*IsAuthorizedResponse) GetOk ¶
func (x *IsAuthorizedResponse) GetOk() bool
func (*IsAuthorizedResponse) ProtoMessage ¶
func (*IsAuthorizedResponse) ProtoMessage()
func (*IsAuthorizedResponse) ProtoReflect ¶
func (x *IsAuthorizedResponse) ProtoReflect() protoreflect.Message
func (*IsAuthorizedResponse) Reset ¶
func (x *IsAuthorizedResponse) Reset()
func (*IsAuthorizedResponse) String ¶
func (x *IsAuthorizedResponse) String() string
type IsAuthorizedTokenRequest ¶
type IsAuthorizedTokenRequest struct { AccessTokenId uint32 `protobuf:"varint,1,opt,name=access_token_id,json=accessTokenId,proto3" json:"access_token_id,omitempty"` // AccessTokenID,(e.g.)111 ProjectId uint32 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // ProjectID,(e.g.)1001 ActionName string `protobuf:"bytes,3,opt,name=action_name,json=actionName,proto3" json:"action_name,omitempty"` // Service&API_name(<service_name>/<API>format),(e.g.)`finding/get-finding` ResourceName string `protobuf:"bytes,4,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` // System_resource_name(<prefix>/<resouorce_name>format) // contains filtered or unexported fields }
IsAuthorizedTokenRequest アクセストークンに対してアクションやリソース�への認可を行います
func (*IsAuthorizedTokenRequest) Descriptor
deprecated
func (*IsAuthorizedTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsAuthorizedTokenRequest.ProtoReflect.Descriptor instead.
func (*IsAuthorizedTokenRequest) GetAccessTokenId ¶
func (x *IsAuthorizedTokenRequest) GetAccessTokenId() uint32
func (*IsAuthorizedTokenRequest) GetActionName ¶
func (x *IsAuthorizedTokenRequest) GetActionName() string
func (*IsAuthorizedTokenRequest) GetProjectId ¶
func (x *IsAuthorizedTokenRequest) GetProjectId() uint32
func (*IsAuthorizedTokenRequest) GetResourceName ¶
func (x *IsAuthorizedTokenRequest) GetResourceName() string
func (*IsAuthorizedTokenRequest) ProtoMessage ¶
func (*IsAuthorizedTokenRequest) ProtoMessage()
func (*IsAuthorizedTokenRequest) ProtoReflect ¶
func (x *IsAuthorizedTokenRequest) ProtoReflect() protoreflect.Message
func (*IsAuthorizedTokenRequest) Reset ¶
func (x *IsAuthorizedTokenRequest) Reset()
func (*IsAuthorizedTokenRequest) String ¶
func (x *IsAuthorizedTokenRequest) String() string
func (*IsAuthorizedTokenRequest) Validate ¶
func (i *IsAuthorizedTokenRequest) Validate() error
Validate IsAuthorizedTokenRequest
type IsAuthorizedTokenResponse ¶
type IsAuthorizedTokenResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*IsAuthorizedTokenResponse) Descriptor
deprecated
func (*IsAuthorizedTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsAuthorizedTokenResponse.ProtoReflect.Descriptor instead.
func (*IsAuthorizedTokenResponse) GetOk ¶
func (x *IsAuthorizedTokenResponse) GetOk() bool
func (*IsAuthorizedTokenResponse) ProtoMessage ¶
func (*IsAuthorizedTokenResponse) ProtoMessage()
func (*IsAuthorizedTokenResponse) ProtoReflect ¶
func (x *IsAuthorizedTokenResponse) ProtoReflect() protoreflect.Message
func (*IsAuthorizedTokenResponse) Reset ¶
func (x *IsAuthorizedTokenResponse) Reset()
func (*IsAuthorizedTokenResponse) String ¶
func (x *IsAuthorizedTokenResponse) String() string
type ListAccessTokenRequest ¶
type ListAccessTokenRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` AccessTokenId uint32 `protobuf:"varint,3,opt,name=access_token_id,json=accessTokenId,proto3" json:"access_token_id,omitempty"` // contains filtered or unexported fields }
func (*ListAccessTokenRequest) Descriptor
deprecated
func (*ListAccessTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAccessTokenRequest.ProtoReflect.Descriptor instead.
func (*ListAccessTokenRequest) GetAccessTokenId ¶
func (x *ListAccessTokenRequest) GetAccessTokenId() uint32
func (*ListAccessTokenRequest) GetName ¶
func (x *ListAccessTokenRequest) GetName() string
func (*ListAccessTokenRequest) GetProjectId ¶
func (x *ListAccessTokenRequest) GetProjectId() uint32
func (*ListAccessTokenRequest) ProtoMessage ¶
func (*ListAccessTokenRequest) ProtoMessage()
func (*ListAccessTokenRequest) ProtoReflect ¶
func (x *ListAccessTokenRequest) ProtoReflect() protoreflect.Message
func (*ListAccessTokenRequest) Reset ¶
func (x *ListAccessTokenRequest) Reset()
func (*ListAccessTokenRequest) String ¶
func (x *ListAccessTokenRequest) String() string
func (*ListAccessTokenRequest) Validate ¶
func (l *ListAccessTokenRequest) Validate() error
Validate ListAccessTokenRequest
type ListAccessTokenResponse ¶
type ListAccessTokenResponse struct { AccessToken []*AccessToken `protobuf:"bytes,1,rep,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // contains filtered or unexported fields }
func (*ListAccessTokenResponse) Descriptor
deprecated
func (*ListAccessTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAccessTokenResponse.ProtoReflect.Descriptor instead.
func (*ListAccessTokenResponse) GetAccessToken ¶
func (x *ListAccessTokenResponse) GetAccessToken() []*AccessToken
func (*ListAccessTokenResponse) ProtoMessage ¶
func (*ListAccessTokenResponse) ProtoMessage()
func (*ListAccessTokenResponse) ProtoReflect ¶
func (x *ListAccessTokenResponse) ProtoReflect() protoreflect.Message
func (*ListAccessTokenResponse) Reset ¶
func (x *ListAccessTokenResponse) Reset()
func (*ListAccessTokenResponse) String ¶
func (x *ListAccessTokenResponse) String() string
type ListPolicyRequest ¶
type ListPolicyRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` RoleId uint32 `protobuf:"varint,3,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // contains filtered or unexported fields }
func (*ListPolicyRequest) Descriptor
deprecated
func (*ListPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPolicyRequest.ProtoReflect.Descriptor instead.
func (*ListPolicyRequest) GetName ¶
func (x *ListPolicyRequest) GetName() string
func (*ListPolicyRequest) GetProjectId ¶
func (x *ListPolicyRequest) GetProjectId() uint32
func (*ListPolicyRequest) GetRoleId ¶
func (x *ListPolicyRequest) GetRoleId() uint32
func (*ListPolicyRequest) ProtoMessage ¶
func (*ListPolicyRequest) ProtoMessage()
func (*ListPolicyRequest) ProtoReflect ¶
func (x *ListPolicyRequest) ProtoReflect() protoreflect.Message
func (*ListPolicyRequest) Reset ¶
func (x *ListPolicyRequest) Reset()
func (*ListPolicyRequest) String ¶
func (x *ListPolicyRequest) String() string
func (*ListPolicyRequest) Validate ¶
func (l *ListPolicyRequest) Validate() error
Validate ListPolicyRequest
type ListPolicyResponse ¶
type ListPolicyResponse struct { PolicyId []uint32 `protobuf:"varint,1,rep,packed,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"` // contains filtered or unexported fields }
func (*ListPolicyResponse) Descriptor
deprecated
func (*ListPolicyResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPolicyResponse.ProtoReflect.Descriptor instead.
func (*ListPolicyResponse) GetPolicyId ¶
func (x *ListPolicyResponse) GetPolicyId() []uint32
func (*ListPolicyResponse) ProtoMessage ¶
func (*ListPolicyResponse) ProtoMessage()
func (*ListPolicyResponse) ProtoReflect ¶
func (x *ListPolicyResponse) ProtoReflect() protoreflect.Message
func (*ListPolicyResponse) Reset ¶
func (x *ListPolicyResponse) Reset()
func (*ListPolicyResponse) String ¶
func (x *ListPolicyResponse) String() string
type ListRoleRequest ¶
type ListRoleRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` UserId uint32 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` AccessTokenId uint32 `protobuf:"varint,4,opt,name=access_token_id,json=accessTokenId,proto3" json:"access_token_id,omitempty"` // contains filtered or unexported fields }
func (*ListRoleRequest) Descriptor
deprecated
func (*ListRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRoleRequest.ProtoReflect.Descriptor instead.
func (*ListRoleRequest) GetAccessTokenId ¶
func (x *ListRoleRequest) GetAccessTokenId() uint32
func (*ListRoleRequest) GetName ¶
func (x *ListRoleRequest) GetName() string
func (*ListRoleRequest) GetProjectId ¶
func (x *ListRoleRequest) GetProjectId() uint32
func (*ListRoleRequest) GetUserId ¶
func (x *ListRoleRequest) GetUserId() uint32
func (*ListRoleRequest) ProtoMessage ¶
func (*ListRoleRequest) ProtoMessage()
func (*ListRoleRequest) ProtoReflect ¶
func (x *ListRoleRequest) ProtoReflect() protoreflect.Message
func (*ListRoleRequest) Reset ¶
func (x *ListRoleRequest) Reset()
func (*ListRoleRequest) String ¶
func (x *ListRoleRequest) String() string
func (*ListRoleRequest) Validate ¶
func (l *ListRoleRequest) Validate() error
Validate ListRoleRequest
func (*ListRoleRequest) ValidateForAdmin ¶
func (l *ListRoleRequest) ValidateForAdmin() error
ValidateForAdmin ListRoleRequest
type ListRoleResponse ¶
type ListRoleResponse struct { RoleId []uint32 `protobuf:"varint,1,rep,packed,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // contains filtered or unexported fields }
func (*ListRoleResponse) Descriptor
deprecated
func (*ListRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRoleResponse.ProtoReflect.Descriptor instead.
func (*ListRoleResponse) GetRoleId ¶
func (x *ListRoleResponse) GetRoleId() []uint32
func (*ListRoleResponse) ProtoMessage ¶
func (*ListRoleResponse) ProtoMessage()
func (*ListRoleResponse) ProtoReflect ¶
func (x *ListRoleResponse) ProtoReflect() protoreflect.Message
func (*ListRoleResponse) Reset ¶
func (x *ListRoleResponse) Reset()
func (*ListRoleResponse) String ¶
func (x *ListRoleResponse) String() string
type ListUserRequest ¶
type ListUserRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Activated bool `protobuf:"varint,3,opt,name=activated,proto3" json:"activated,omitempty"` UserId uint32 `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Admin bool `protobuf:"varint,5,opt,name=admin,proto3" json:"admin,omitempty"` // contains filtered or unexported fields }
func (*ListUserRequest) Descriptor
deprecated
func (*ListUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUserRequest.ProtoReflect.Descriptor instead.
func (*ListUserRequest) GetActivated ¶
func (x *ListUserRequest) GetActivated() bool
func (*ListUserRequest) GetAdmin ¶
func (x *ListUserRequest) GetAdmin() bool
func (*ListUserRequest) GetName ¶
func (x *ListUserRequest) GetName() string
func (*ListUserRequest) GetProjectId ¶
func (x *ListUserRequest) GetProjectId() uint32
func (*ListUserRequest) GetUserId ¶
func (x *ListUserRequest) GetUserId() uint32
func (*ListUserRequest) ProtoMessage ¶
func (*ListUserRequest) ProtoMessage()
func (*ListUserRequest) ProtoReflect ¶
func (x *ListUserRequest) ProtoReflect() protoreflect.Message
func (*ListUserRequest) Reset ¶
func (x *ListUserRequest) Reset()
func (*ListUserRequest) String ¶
func (x *ListUserRequest) String() string
func (*ListUserRequest) Validate ¶
func (l *ListUserRequest) Validate() error
Validate ListUserRequest
type ListUserResponse ¶
type ListUserResponse struct { UserId []uint32 `protobuf:"varint,1,rep,packed,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*ListUserResponse) Descriptor
deprecated
func (*ListUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUserResponse.ProtoReflect.Descriptor instead.
func (*ListUserResponse) GetUserId ¶
func (x *ListUserResponse) GetUserId() []uint32
func (*ListUserResponse) ProtoMessage ¶
func (*ListUserResponse) ProtoMessage()
func (*ListUserResponse) ProtoReflect ¶
func (x *ListUserResponse) ProtoReflect() protoreflect.Message
func (*ListUserResponse) Reset ¶
func (x *ListUserResponse) Reset()
func (*ListUserResponse) String ¶
func (x *ListUserResponse) String() string
type Policy ¶
type Policy struct { PolicyId uint32 `protobuf:"varint,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ProjectId uint32 `protobuf:"varint,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` ActionPtn string `protobuf:"bytes,4,opt,name=action_ptn,json=actionPtn,proto3" json:"action_ptn,omitempty"` ResourcePtn string `protobuf:"bytes,5,opt,name=resource_ptn,json=resourcePtn,proto3" json:"resource_ptn,omitempty"` CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
Policy
func (*Policy) Descriptor
deprecated
func (*Policy) GetActionPtn ¶
func (*Policy) GetCreatedAt ¶
func (*Policy) GetPolicyId ¶
func (*Policy) GetProjectId ¶
func (*Policy) GetResourcePtn ¶
func (*Policy) GetUpdatedAt ¶
func (*Policy) ProtoMessage ¶
func (*Policy) ProtoMessage()
func (*Policy) ProtoReflect ¶
func (x *Policy) ProtoReflect() protoreflect.Message
type PolicyForUpsert ¶
type PolicyForUpsert struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ProjectId uint32 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` ActionPtn string `protobuf:"bytes,3,opt,name=action_ptn,json=actionPtn,proto3" json:"action_ptn,omitempty"` ResourcePtn string `protobuf:"bytes,4,opt,name=resource_ptn,json=resourcePtn,proto3" json:"resource_ptn,omitempty"` // contains filtered or unexported fields }
PolicyForUpsert
func (*PolicyForUpsert) Descriptor
deprecated
func (*PolicyForUpsert) Descriptor() ([]byte, []int)
Deprecated: Use PolicyForUpsert.ProtoReflect.Descriptor instead.
func (*PolicyForUpsert) GetActionPtn ¶
func (x *PolicyForUpsert) GetActionPtn() string
func (*PolicyForUpsert) GetName ¶
func (x *PolicyForUpsert) GetName() string
func (*PolicyForUpsert) GetProjectId ¶
func (x *PolicyForUpsert) GetProjectId() uint32
func (*PolicyForUpsert) GetResourcePtn ¶
func (x *PolicyForUpsert) GetResourcePtn() string
func (*PolicyForUpsert) ProtoMessage ¶
func (*PolicyForUpsert) ProtoMessage()
func (*PolicyForUpsert) ProtoReflect ¶
func (x *PolicyForUpsert) ProtoReflect() protoreflect.Message
func (*PolicyForUpsert) Reset ¶
func (x *PolicyForUpsert) Reset()
func (*PolicyForUpsert) String ¶
func (x *PolicyForUpsert) String() string
func (*PolicyForUpsert) Validate ¶
func (r *PolicyForUpsert) Validate() error
Validate PolicyForUpsert
type PutAccessTokenRequest ¶
type PutAccessTokenRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` AccessToken *AccessTokenForUpsert `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // contains filtered or unexported fields }
func (*PutAccessTokenRequest) Descriptor
deprecated
func (*PutAccessTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutAccessTokenRequest.ProtoReflect.Descriptor instead.
func (*PutAccessTokenRequest) GetAccessToken ¶
func (x *PutAccessTokenRequest) GetAccessToken() *AccessTokenForUpsert
func (*PutAccessTokenRequest) GetProjectId ¶
func (x *PutAccessTokenRequest) GetProjectId() uint32
func (*PutAccessTokenRequest) ProtoMessage ¶
func (*PutAccessTokenRequest) ProtoMessage()
func (*PutAccessTokenRequest) ProtoReflect ¶
func (x *PutAccessTokenRequest) ProtoReflect() protoreflect.Message
func (*PutAccessTokenRequest) Reset ¶
func (x *PutAccessTokenRequest) Reset()
func (*PutAccessTokenRequest) String ¶
func (x *PutAccessTokenRequest) String() string
func (*PutAccessTokenRequest) Validate ¶
func (p *PutAccessTokenRequest) Validate() error
Validate PutAccessTokenRequest
type PutAccessTokenResponse ¶
type PutAccessTokenResponse struct { AccessToken *AccessToken `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // contains filtered or unexported fields }
func (*PutAccessTokenResponse) Descriptor
deprecated
func (*PutAccessTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutAccessTokenResponse.ProtoReflect.Descriptor instead.
func (*PutAccessTokenResponse) GetAccessToken ¶
func (x *PutAccessTokenResponse) GetAccessToken() *AccessToken
func (*PutAccessTokenResponse) ProtoMessage ¶
func (*PutAccessTokenResponse) ProtoMessage()
func (*PutAccessTokenResponse) ProtoReflect ¶
func (x *PutAccessTokenResponse) ProtoReflect() protoreflect.Message
func (*PutAccessTokenResponse) Reset ¶
func (x *PutAccessTokenResponse) Reset()
func (*PutAccessTokenResponse) String ¶
func (x *PutAccessTokenResponse) String() string
type PutPolicyRequest ¶
type PutPolicyRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Policy *PolicyForUpsert `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"` // contains filtered or unexported fields }
func (*PutPolicyRequest) Descriptor
deprecated
func (*PutPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutPolicyRequest.ProtoReflect.Descriptor instead.
func (*PutPolicyRequest) GetPolicy ¶
func (x *PutPolicyRequest) GetPolicy() *PolicyForUpsert
func (*PutPolicyRequest) GetProjectId ¶
func (x *PutPolicyRequest) GetProjectId() uint32
func (*PutPolicyRequest) ProtoMessage ¶
func (*PutPolicyRequest) ProtoMessage()
func (*PutPolicyRequest) ProtoReflect ¶
func (x *PutPolicyRequest) ProtoReflect() protoreflect.Message
func (*PutPolicyRequest) Reset ¶
func (x *PutPolicyRequest) Reset()
func (*PutPolicyRequest) String ¶
func (x *PutPolicyRequest) String() string
func (*PutPolicyRequest) Validate ¶
func (p *PutPolicyRequest) Validate() error
Validate PutPolicyRequest
type PutPolicyResponse ¶
type PutPolicyResponse struct { Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` // contains filtered or unexported fields }
func (*PutPolicyResponse) Descriptor
deprecated
func (*PutPolicyResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutPolicyResponse.ProtoReflect.Descriptor instead.
func (*PutPolicyResponse) GetPolicy ¶
func (x *PutPolicyResponse) GetPolicy() *Policy
func (*PutPolicyResponse) ProtoMessage ¶
func (*PutPolicyResponse) ProtoMessage()
func (*PutPolicyResponse) ProtoReflect ¶
func (x *PutPolicyResponse) ProtoReflect() protoreflect.Message
func (*PutPolicyResponse) Reset ¶
func (x *PutPolicyResponse) Reset()
func (*PutPolicyResponse) String ¶
func (x *PutPolicyResponse) String() string
type PutRoleRequest ¶
type PutRoleRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Role *RoleForUpsert `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*PutRoleRequest) Descriptor
deprecated
func (*PutRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutRoleRequest.ProtoReflect.Descriptor instead.
func (*PutRoleRequest) GetProjectId ¶
func (x *PutRoleRequest) GetProjectId() uint32
func (*PutRoleRequest) GetRole ¶
func (x *PutRoleRequest) GetRole() *RoleForUpsert
func (*PutRoleRequest) ProtoMessage ¶
func (*PutRoleRequest) ProtoMessage()
func (*PutRoleRequest) ProtoReflect ¶
func (x *PutRoleRequest) ProtoReflect() protoreflect.Message
func (*PutRoleRequest) Reset ¶
func (x *PutRoleRequest) Reset()
func (*PutRoleRequest) String ¶
func (x *PutRoleRequest) String() string
type PutRoleResponse ¶
type PutRoleResponse struct { Role *Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*PutRoleResponse) Descriptor
deprecated
func (*PutRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutRoleResponse.ProtoReflect.Descriptor instead.
func (*PutRoleResponse) GetRole ¶
func (x *PutRoleResponse) GetRole() *Role
func (*PutRoleResponse) ProtoMessage ¶
func (*PutRoleResponse) ProtoMessage()
func (*PutRoleResponse) ProtoReflect ¶
func (x *PutRoleResponse) ProtoReflect() protoreflect.Message
func (*PutRoleResponse) Reset ¶
func (x *PutRoleResponse) Reset()
func (*PutRoleResponse) String ¶
func (x *PutRoleResponse) String() string
type PutUserRequest ¶
type PutUserRequest struct { User *UserForUpsert `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*PutUserRequest) Descriptor
deprecated
func (*PutUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutUserRequest.ProtoReflect.Descriptor instead.
func (*PutUserRequest) GetUser ¶
func (x *PutUserRequest) GetUser() *UserForUpsert
func (*PutUserRequest) ProtoMessage ¶
func (*PutUserRequest) ProtoMessage()
func (*PutUserRequest) ProtoReflect ¶
func (x *PutUserRequest) ProtoReflect() protoreflect.Message
func (*PutUserRequest) Reset ¶
func (x *PutUserRequest) Reset()
func (*PutUserRequest) String ¶
func (x *PutUserRequest) String() string
type PutUserResponse ¶
type PutUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*PutUserResponse) Descriptor
deprecated
func (*PutUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutUserResponse.ProtoReflect.Descriptor instead.
func (*PutUserResponse) GetUser ¶
func (x *PutUserResponse) GetUser() *User
func (*PutUserResponse) ProtoMessage ¶
func (*PutUserResponse) ProtoMessage()
func (*PutUserResponse) ProtoReflect ¶
func (x *PutUserResponse) ProtoReflect() protoreflect.Message
func (*PutUserResponse) Reset ¶
func (x *PutUserResponse) Reset()
func (*PutUserResponse) String ¶
func (x *PutUserResponse) String() string
type Role ¶
type Role struct { RoleId uint32 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ProjectId uint32 `protobuf:"varint,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
Role
func (*Role) Descriptor
deprecated
func (*Role) GetCreatedAt ¶
func (*Role) GetProjectId ¶
func (*Role) GetUpdatedAt ¶
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) ProtoReflect ¶
func (x *Role) ProtoReflect() protoreflect.Message
type RoleForUpsert ¶
type RoleForUpsert struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ProjectId uint32 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
RoleForUpsert
func (*RoleForUpsert) Descriptor
deprecated
func (*RoleForUpsert) Descriptor() ([]byte, []int)
Deprecated: Use RoleForUpsert.ProtoReflect.Descriptor instead.
func (*RoleForUpsert) GetName ¶
func (x *RoleForUpsert) GetName() string
func (*RoleForUpsert) GetProjectId ¶
func (x *RoleForUpsert) GetProjectId() uint32
func (*RoleForUpsert) ProtoMessage ¶
func (*RoleForUpsert) ProtoMessage()
func (*RoleForUpsert) ProtoReflect ¶
func (x *RoleForUpsert) ProtoReflect() protoreflect.Message
func (*RoleForUpsert) Reset ¶
func (x *RoleForUpsert) Reset()
func (*RoleForUpsert) String ¶
func (x *RoleForUpsert) String() string
type RolePolicy ¶
type RolePolicy struct { RoleId uint32 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` PolicyId uint32 `protobuf:"varint,2,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"` ProjectId uint32 `protobuf:"varint,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
RolePolicy
func (*RolePolicy) Descriptor
deprecated
func (*RolePolicy) Descriptor() ([]byte, []int)
Deprecated: Use RolePolicy.ProtoReflect.Descriptor instead.
func (*RolePolicy) GetCreatedAt ¶
func (x *RolePolicy) GetCreatedAt() int64
func (*RolePolicy) GetPolicyId ¶
func (x *RolePolicy) GetPolicyId() uint32
func (*RolePolicy) GetProjectId ¶
func (x *RolePolicy) GetProjectId() uint32
func (*RolePolicy) GetRoleId ¶
func (x *RolePolicy) GetRoleId() uint32
func (*RolePolicy) GetUpdatedAt ¶
func (x *RolePolicy) GetUpdatedAt() int64
func (*RolePolicy) ProtoMessage ¶
func (*RolePolicy) ProtoMessage()
func (*RolePolicy) ProtoReflect ¶
func (x *RolePolicy) ProtoReflect() protoreflect.Message
func (*RolePolicy) Reset ¶
func (x *RolePolicy) Reset()
func (*RolePolicy) String ¶
func (x *RolePolicy) String() string
type UnimplementedIAMServiceServer ¶
type UnimplementedIAMServiceServer struct { }
UnimplementedIAMServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedIAMServiceServer) AnalyzeTokenExpiration ¶
func (*UnimplementedIAMServiceServer) AttachAccessTokenRole ¶
func (*UnimplementedIAMServiceServer) AttachAccessTokenRole(context.Context, *AttachAccessTokenRoleRequest) (*AttachAccessTokenRoleResponse, error)
func (*UnimplementedIAMServiceServer) AttachPolicy ¶
func (*UnimplementedIAMServiceServer) AttachPolicy(context.Context, *AttachPolicyRequest) (*AttachPolicyResponse, error)
func (*UnimplementedIAMServiceServer) AttachRole ¶
func (*UnimplementedIAMServiceServer) AttachRole(context.Context, *AttachRoleRequest) (*AttachRoleResponse, error)
func (*UnimplementedIAMServiceServer) AuthenticateAccessToken ¶
func (*UnimplementedIAMServiceServer) AuthenticateAccessToken(context.Context, *AuthenticateAccessTokenRequest) (*AuthenticateAccessTokenResponse, error)
func (*UnimplementedIAMServiceServer) DeleteAccessToken ¶
func (*UnimplementedIAMServiceServer) DeleteAccessToken(context.Context, *DeleteAccessTokenRequest) (*emptypb.Empty, error)
func (*UnimplementedIAMServiceServer) DeletePolicy ¶
func (*UnimplementedIAMServiceServer) DeletePolicy(context.Context, *DeletePolicyRequest) (*emptypb.Empty, error)
func (*UnimplementedIAMServiceServer) DeleteRole ¶
func (*UnimplementedIAMServiceServer) DeleteRole(context.Context, *DeleteRoleRequest) (*emptypb.Empty, error)
func (*UnimplementedIAMServiceServer) DetachAccessTokenRole ¶
func (*UnimplementedIAMServiceServer) DetachAccessTokenRole(context.Context, *DetachAccessTokenRoleRequest) (*emptypb.Empty, error)
func (*UnimplementedIAMServiceServer) DetachPolicy ¶
func (*UnimplementedIAMServiceServer) DetachPolicy(context.Context, *DetachPolicyRequest) (*emptypb.Empty, error)
func (*UnimplementedIAMServiceServer) DetachRole ¶
func (*UnimplementedIAMServiceServer) DetachRole(context.Context, *DetachRoleRequest) (*emptypb.Empty, error)
func (*UnimplementedIAMServiceServer) GetPolicy ¶
func (*UnimplementedIAMServiceServer) GetPolicy(context.Context, *GetPolicyRequest) (*GetPolicyResponse, error)
func (*UnimplementedIAMServiceServer) GetRole ¶
func (*UnimplementedIAMServiceServer) GetRole(context.Context, *GetRoleRequest) (*GetRoleResponse, error)
func (*UnimplementedIAMServiceServer) GetUser ¶
func (*UnimplementedIAMServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
func (*UnimplementedIAMServiceServer) IsAdmin ¶
func (*UnimplementedIAMServiceServer) IsAdmin(context.Context, *IsAdminRequest) (*IsAdminResponse, error)
func (*UnimplementedIAMServiceServer) IsAuthorized ¶
func (*UnimplementedIAMServiceServer) IsAuthorized(context.Context, *IsAuthorizedRequest) (*IsAuthorizedResponse, error)
func (*UnimplementedIAMServiceServer) IsAuthorizedAdmin ¶
func (*UnimplementedIAMServiceServer) IsAuthorizedAdmin(context.Context, *IsAuthorizedAdminRequest) (*IsAuthorizedAdminResponse, error)
func (*UnimplementedIAMServiceServer) IsAuthorizedToken ¶
func (*UnimplementedIAMServiceServer) IsAuthorizedToken(context.Context, *IsAuthorizedTokenRequest) (*IsAuthorizedTokenResponse, error)
func (*UnimplementedIAMServiceServer) ListAccessToken ¶
func (*UnimplementedIAMServiceServer) ListAccessToken(context.Context, *ListAccessTokenRequest) (*ListAccessTokenResponse, error)
func (*UnimplementedIAMServiceServer) ListPolicy ¶
func (*UnimplementedIAMServiceServer) ListPolicy(context.Context, *ListPolicyRequest) (*ListPolicyResponse, error)
func (*UnimplementedIAMServiceServer) ListRole ¶
func (*UnimplementedIAMServiceServer) ListRole(context.Context, *ListRoleRequest) (*ListRoleResponse, error)
func (*UnimplementedIAMServiceServer) ListUser ¶
func (*UnimplementedIAMServiceServer) ListUser(context.Context, *ListUserRequest) (*ListUserResponse, error)
func (*UnimplementedIAMServiceServer) PutAccessToken ¶
func (*UnimplementedIAMServiceServer) PutAccessToken(context.Context, *PutAccessTokenRequest) (*PutAccessTokenResponse, error)
func (*UnimplementedIAMServiceServer) PutPolicy ¶
func (*UnimplementedIAMServiceServer) PutPolicy(context.Context, *PutPolicyRequest) (*PutPolicyResponse, error)
func (*UnimplementedIAMServiceServer) PutRole ¶
func (*UnimplementedIAMServiceServer) PutRole(context.Context, *PutRoleRequest) (*PutRoleResponse, error)
func (*UnimplementedIAMServiceServer) PutUser ¶
func (*UnimplementedIAMServiceServer) PutUser(context.Context, *PutUserRequest) (*PutUserResponse, error)
type User ¶
type User struct { UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Sub string `protobuf:"bytes,2,opt,name=sub,proto3" json:"sub,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Activated bool `protobuf:"varint,4,opt,name=activated,proto3" json:"activated,omitempty"` CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
User
func (*User) Descriptor
deprecated
func (*User) GetActivated ¶
func (*User) GetCreatedAt ¶
func (*User) GetUpdatedAt ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserForUpsert ¶
type UserForUpsert struct { Sub string `protobuf:"bytes,1,opt,name=sub,proto3" json:"sub,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Activated bool `protobuf:"varint,3,opt,name=activated,proto3" json:"activated,omitempty"` // contains filtered or unexported fields }
UserForUpsert (Unique keys: sub)
func (*UserForUpsert) Descriptor
deprecated
func (*UserForUpsert) Descriptor() ([]byte, []int)
Deprecated: Use UserForUpsert.ProtoReflect.Descriptor instead.
func (*UserForUpsert) GetActivated ¶
func (x *UserForUpsert) GetActivated() bool
func (*UserForUpsert) GetName ¶
func (x *UserForUpsert) GetName() string
func (*UserForUpsert) GetSub ¶
func (x *UserForUpsert) GetSub() string
func (*UserForUpsert) ProtoMessage ¶
func (*UserForUpsert) ProtoMessage()
func (*UserForUpsert) ProtoReflect ¶
func (x *UserForUpsert) ProtoReflect() protoreflect.Message
func (*UserForUpsert) Reset ¶
func (x *UserForUpsert) Reset()
func (*UserForUpsert) String ¶
func (x *UserForUpsert) String() string
type UserRole ¶
type UserRole struct { UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` RoleId uint32 `protobuf:"varint,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` ProjectId uint32 `protobuf:"varint,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
UserRole
func (*UserRole) Descriptor
deprecated
func (*UserRole) GetCreatedAt ¶
func (*UserRole) GetProjectId ¶
func (*UserRole) GetUpdatedAt ¶
func (*UserRole) ProtoMessage ¶
func (*UserRole) ProtoMessage()
func (*UserRole) ProtoReflect ¶
func (x *UserRole) ProtoReflect() protoreflect.Message