Documentation ¶
Index ¶
- Constants
- Variables
- func DeregisterACLServiceEnhancedServer(s grpc.ServiceRegistrar, name string)
- func DeregisterPolicyEngineServiceEnhancedServer(s grpc.ServiceRegistrar, name string)
- func DeregisterRoleServiceEnhancedServer(s grpc.ServiceRegistrar, name string)
- func DeregisterUserMetaServiceEnhancedServer(s grpc.ServiceRegistrar, name string)
- func DeregisterUserServiceEnhancedServer(s grpc.ServiceRegistrar, name string)
- func DeregisterWorkspaceServiceEnhancedServer(s grpc.ServiceRegistrar, name string)
- func RegisterACLServiceEnhancedServer(s grpc.ServiceRegistrar, srv NamedACLServiceServer)
- func RegisterACLServiceServer(s grpc.ServiceRegistrar, srv ACLServiceServer)
- func RegisterPolicyEngineServiceEnhancedServer(s grpc.ServiceRegistrar, srv NamedPolicyEngineServiceServer)
- func RegisterPolicyEngineServiceServer(s grpc.ServiceRegistrar, srv PolicyEngineServiceServer)
- func RegisterRoleServiceEnhancedServer(s grpc.ServiceRegistrar, srv NamedRoleServiceServer)
- func RegisterRoleServiceServer(s grpc.ServiceRegistrar, srv RoleServiceServer)
- func RegisterUserMetaServiceEnhancedServer(s grpc.ServiceRegistrar, srv NamedUserMetaServiceServer)
- func RegisterUserMetaServiceServer(s grpc.ServiceRegistrar, srv UserMetaServiceServer)
- func RegisterUserServiceEnhancedServer(s grpc.ServiceRegistrar, srv NamedUserServiceServer)
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- func RegisterWorkspaceServiceEnhancedServer(s grpc.ServiceRegistrar, srv NamedWorkspaceServiceServer)
- func RegisterWorkspaceServiceServer(s grpc.ServiceRegistrar, srv WorkspaceServiceServer)
- type ACL
- func (*ACL) Descriptor() ([]byte, []int)deprecated
- func (x *ACL) GetAction() *ACLAction
- func (x *ACL) GetID() string
- func (x *ACL) GetNodeID() string
- func (x *ACL) GetRoleID() string
- func (x *ACL) GetWorkspaceID() string
- func (acl *ACL) MarshalLogObject(encoder zapcore.ObjectEncoder) error
- func (*ACL) ProtoMessage()
- func (x *ACL) ProtoReflect() protoreflect.Message
- func (x *ACL) Reset()
- func (x *ACL) String() string
- func (this *ACL) Validate() error
- func (acl *ACL) Zap() zapcore.Field
- func (acl *ACL) ZapId() zapcore.Field
- type ACLAction
- func (*ACLAction) Descriptor() ([]byte, []int)deprecated
- func (x *ACLAction) GetName() string
- func (x *ACLAction) GetValue() string
- func (action *ACLAction) MarshalLogObject(encoder zapcore.ObjectEncoder) error
- func (*ACLAction) ProtoMessage()
- func (x *ACLAction) ProtoReflect() protoreflect.Message
- func (x *ACLAction) Reset()
- func (x *ACLAction) String() string
- func (this *ACLAction) Validate() error
- type ACLServiceClient
- type ACLServiceEnhancedServer
- func (m ACLServiceEnhancedServer) CreateACL(ctx context.Context, r *CreateACLRequest) (*CreateACLResponse, error)
- func (m ACLServiceEnhancedServer) DeleteACL(ctx context.Context, r *DeleteACLRequest) (*DeleteACLResponse, error)
- func (m ACLServiceEnhancedServer) ExpireACL(ctx context.Context, r *ExpireACLRequest) (*ExpireACLResponse, error)
- func (m ACLServiceEnhancedServer) RestoreACL(ctx context.Context, r *RestoreACLRequest) (*RestoreACLResponse, error)
- func (m ACLServiceEnhancedServer) SearchACL(r *SearchACLRequest, s ACLService_SearchACLServer) error
- func (m ACLServiceEnhancedServer) StreamACL(s ACLService_StreamACLServer) error
- type ACLServiceServer
- type ACLServiceStub
- type ACLServiceStub_SearchACLStreamer
- type ACLServiceStub_StreamACLStreamer
- type ACLService_SearchACLClient
- type ACLService_SearchACLServer
- type ACLService_StreamACLClient
- type ACLService_StreamACLServer
- type ACLSingleQuery
- func (*ACLSingleQuery) Descriptor() ([]byte, []int)deprecated
- func (x *ACLSingleQuery) GetActions() []*ACLAction
- func (x *ACLSingleQuery) GetNodeIDs() []string
- func (x *ACLSingleQuery) GetNot() bool
- func (x *ACLSingleQuery) GetRoleIDs() []string
- func (x *ACLSingleQuery) GetWorkspaceIDs() []string
- func (m *ACLSingleQuery) Matches(idmObject interface{}) bool
- func (*ACLSingleQuery) ProtoMessage()
- func (x *ACLSingleQuery) ProtoReflect() protoreflect.Message
- func (x *ACLSingleQuery) Reset()
- func (x *ACLSingleQuery) String() string
- func (this *ACLSingleQuery) Validate() error
- type BindUserRequest
- func (*BindUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BindUserRequest) GetPassword() string
- func (x *BindUserRequest) GetUserName() string
- func (*BindUserRequest) ProtoMessage()
- func (x *BindUserRequest) ProtoReflect() protoreflect.Message
- func (x *BindUserRequest) Reset()
- func (x *BindUserRequest) String() string
- func (this *BindUserRequest) Validate() error
- type BindUserResponse
- func (*BindUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BindUserResponse) GetUser() *User
- func (*BindUserResponse) ProtoMessage()
- func (x *BindUserResponse) ProtoReflect() protoreflect.Message
- func (x *BindUserResponse) Reset()
- func (x *BindUserResponse) String() string
- func (this *BindUserResponse) Validate() error
- type ChangeEvent
- func (*ChangeEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeEvent) GetAcl() *ACL
- func (x *ChangeEvent) GetAttributes() map[string]string
- func (x *ChangeEvent) GetJsonType() string
- func (x *ChangeEvent) GetMetaNamespace() *UserMetaNamespace
- func (x *ChangeEvent) GetRole() *Role
- func (x *ChangeEvent) GetType() ChangeEventType
- func (x *ChangeEvent) GetUser() *User
- func (x *ChangeEvent) GetWorkspace() *Workspace
- func (*ChangeEvent) ProtoMessage()
- func (x *ChangeEvent) ProtoReflect() protoreflect.Message
- func (x *ChangeEvent) Reset()
- func (x *ChangeEvent) String() string
- func (this *ChangeEvent) Validate() error
- type ChangeEventType
- func (ChangeEventType) Descriptor() protoreflect.EnumDescriptor
- func (x ChangeEventType) Enum() *ChangeEventType
- func (ChangeEventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChangeEventType) Number() protoreflect.EnumNumber
- func (x ChangeEventType) String() string
- func (ChangeEventType) Type() protoreflect.EnumType
- type CountRoleResponse
- func (*CountRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CountRoleResponse) GetCount() int32
- func (*CountRoleResponse) ProtoMessage()
- func (x *CountRoleResponse) ProtoReflect() protoreflect.Message
- func (x *CountRoleResponse) Reset()
- func (x *CountRoleResponse) String() string
- func (this *CountRoleResponse) Validate() error
- type CountUserResponse
- func (*CountUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CountUserResponse) GetCount() int32
- func (*CountUserResponse) ProtoMessage()
- func (x *CountUserResponse) ProtoReflect() protoreflect.Message
- func (x *CountUserResponse) Reset()
- func (x *CountUserResponse) String() string
- func (this *CountUserResponse) Validate() error
- type CreateACLRequest
- func (*CreateACLRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateACLRequest) GetACL() *ACL
- func (x *CreateACLRequest) GetExpiresIn() int64
- func (*CreateACLRequest) ProtoMessage()
- func (x *CreateACLRequest) ProtoReflect() protoreflect.Message
- func (x *CreateACLRequest) Reset()
- func (x *CreateACLRequest) String() string
- func (this *CreateACLRequest) Validate() error
- type CreateACLResponse
- func (*CreateACLResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateACLResponse) GetACL() *ACL
- func (*CreateACLResponse) ProtoMessage()
- func (x *CreateACLResponse) ProtoReflect() protoreflect.Message
- func (x *CreateACLResponse) Reset()
- func (x *CreateACLResponse) String() string
- func (this *CreateACLResponse) Validate() error
- type CreateRoleRequest
- func (*CreateRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRoleRequest) GetRole() *Role
- func (*CreateRoleRequest) ProtoMessage()
- func (x *CreateRoleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRoleRequest) Reset()
- func (x *CreateRoleRequest) String() string
- func (this *CreateRoleRequest) Validate() error
- type CreateRoleResponse
- func (*CreateRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRoleResponse) GetRole() *Role
- func (*CreateRoleResponse) ProtoMessage()
- func (x *CreateRoleResponse) ProtoReflect() protoreflect.Message
- func (x *CreateRoleResponse) Reset()
- func (x *CreateRoleResponse) String() string
- func (this *CreateRoleResponse) Validate() error
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetUser() *User
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (x *CreateUserRequest) String() string
- func (this *CreateUserRequest) Validate() error
- type CreateUserResponse
- func (*CreateUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserResponse) GetUser() *User
- func (*CreateUserResponse) ProtoMessage()
- func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
- func (x *CreateUserResponse) Reset()
- func (x *CreateUserResponse) String() string
- func (this *CreateUserResponse) Validate() error
- type CreateWorkspaceRequest
- func (*CreateWorkspaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWorkspaceRequest) GetWorkspace() *Workspace
- func (*CreateWorkspaceRequest) ProtoMessage()
- func (x *CreateWorkspaceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateWorkspaceRequest) Reset()
- func (x *CreateWorkspaceRequest) String() string
- func (this *CreateWorkspaceRequest) Validate() error
- type CreateWorkspaceResponse
- func (*CreateWorkspaceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWorkspaceResponse) GetWorkspace() *Workspace
- func (*CreateWorkspaceResponse) ProtoMessage()
- func (x *CreateWorkspaceResponse) ProtoReflect() protoreflect.Message
- func (x *CreateWorkspaceResponse) Reset()
- func (x *CreateWorkspaceResponse) String() string
- func (this *CreateWorkspaceResponse) Validate() error
- type DeleteACLRequest
- func (*DeleteACLRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteACLRequest) GetExpiredAfter() int64
- func (x *DeleteACLRequest) GetExpiredBefore() int64
- func (x *DeleteACLRequest) GetQuery() *service.Query
- func (*DeleteACLRequest) ProtoMessage()
- func (x *DeleteACLRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteACLRequest) Reset()
- func (x *DeleteACLRequest) String() string
- func (this *DeleteACLRequest) Validate() error
- type DeleteACLResponse
- func (*DeleteACLResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteACLResponse) GetRowsDeleted() int64
- func (*DeleteACLResponse) ProtoMessage()
- func (x *DeleteACLResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteACLResponse) Reset()
- func (x *DeleteACLResponse) String() string
- func (this *DeleteACLResponse) Validate() error
- type DeletePolicyGroupRequest
- func (*DeletePolicyGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePolicyGroupRequest) GetPolicyGroup() *PolicyGroup
- func (*DeletePolicyGroupRequest) ProtoMessage()
- func (x *DeletePolicyGroupRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePolicyGroupRequest) Reset()
- func (x *DeletePolicyGroupRequest) String() string
- func (this *DeletePolicyGroupRequest) Validate() error
- type DeletePolicyGroupResponse
- func (*DeletePolicyGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePolicyGroupResponse) GetSuccess() bool
- func (*DeletePolicyGroupResponse) ProtoMessage()
- func (x *DeletePolicyGroupResponse) ProtoReflect() protoreflect.Message
- func (x *DeletePolicyGroupResponse) Reset()
- func (x *DeletePolicyGroupResponse) String() string
- func (this *DeletePolicyGroupResponse) Validate() error
- type DeleteRoleRequest
- func (*DeleteRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRoleRequest) GetQuery() *service.Query
- func (*DeleteRoleRequest) ProtoMessage()
- func (x *DeleteRoleRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRoleRequest) Reset()
- func (x *DeleteRoleRequest) String() string
- func (this *DeleteRoleRequest) Validate() error
- type DeleteRoleResponse
- func (*DeleteRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRoleResponse) GetRowsDeleted() int64
- func (*DeleteRoleResponse) ProtoMessage()
- func (x *DeleteRoleResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteRoleResponse) Reset()
- func (x *DeleteRoleResponse) String() string
- func (this *DeleteRoleResponse) Validate() error
- type DeleteUserRequest
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserRequest) GetQuery() *service.Query
- func (*DeleteUserRequest) ProtoMessage()
- func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserRequest) Reset()
- func (x *DeleteUserRequest) String() string
- func (this *DeleteUserRequest) Validate() error
- type DeleteUserResponse
- func (*DeleteUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserResponse) GetRowsDeleted() int64
- func (*DeleteUserResponse) ProtoMessage()
- func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteUserResponse) Reset()
- func (x *DeleteUserResponse) String() string
- func (this *DeleteUserResponse) Validate() error
- type DeleteWorkspaceRequest
- func (*DeleteWorkspaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteWorkspaceRequest) GetQuery() *service.Query
- func (*DeleteWorkspaceRequest) ProtoMessage()
- func (x *DeleteWorkspaceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteWorkspaceRequest) Reset()
- func (x *DeleteWorkspaceRequest) String() string
- func (this *DeleteWorkspaceRequest) Validate() error
- type DeleteWorkspaceResponse
- func (*DeleteWorkspaceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteWorkspaceResponse) GetRowsDeleted() int64
- func (*DeleteWorkspaceResponse) ProtoMessage()
- func (x *DeleteWorkspaceResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteWorkspaceResponse) Reset()
- func (x *DeleteWorkspaceResponse) String() string
- func (this *DeleteWorkspaceResponse) Validate() error
- type ExpireACLRequest
- func (*ExpireACLRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExpireACLRequest) GetQuery() *service.Query
- func (x *ExpireACLRequest) GetTimestamp() int64
- func (*ExpireACLRequest) ProtoMessage()
- func (x *ExpireACLRequest) ProtoReflect() protoreflect.Message
- func (x *ExpireACLRequest) Reset()
- func (x *ExpireACLRequest) String() string
- func (this *ExpireACLRequest) Validate() error
- type ExpireACLResponse
- func (*ExpireACLResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExpireACLResponse) GetRows() int64
- func (*ExpireACLResponse) ProtoMessage()
- func (x *ExpireACLResponse) ProtoReflect() protoreflect.Message
- func (x *ExpireACLResponse) Reset()
- func (x *ExpireACLResponse) String() string
- func (this *ExpireACLResponse) Validate() error
- type ListPolicyGroupsRequest
- func (*ListPolicyGroupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPolicyGroupsRequest) GetFilter() string
- func (*ListPolicyGroupsRequest) ProtoMessage()
- func (x *ListPolicyGroupsRequest) ProtoReflect() protoreflect.Message
- func (x *ListPolicyGroupsRequest) Reset()
- func (x *ListPolicyGroupsRequest) String() string
- func (this *ListPolicyGroupsRequest) Validate() error
- type ListPolicyGroupsResponse
- func (*ListPolicyGroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPolicyGroupsResponse) GetPolicyGroups() []*PolicyGroup
- func (x *ListPolicyGroupsResponse) GetTotal() int32
- func (*ListPolicyGroupsResponse) ProtoMessage()
- func (x *ListPolicyGroupsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPolicyGroupsResponse) Reset()
- func (x *ListPolicyGroupsResponse) String() string
- func (this *ListPolicyGroupsResponse) Validate() error
- type ListUserMetaNamespaceRequest
- func (*ListUserMetaNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListUserMetaNamespaceRequest) ProtoMessage()
- func (x *ListUserMetaNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserMetaNamespaceRequest) Reset()
- func (x *ListUserMetaNamespaceRequest) String() string
- func (this *ListUserMetaNamespaceRequest) Validate() error
- type ListUserMetaNamespaceResponse
- func (*ListUserMetaNamespaceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserMetaNamespaceResponse) GetUserMetaNamespace() *UserMetaNamespace
- func (*ListUserMetaNamespaceResponse) ProtoMessage()
- func (x *ListUserMetaNamespaceResponse) ProtoReflect() protoreflect.Message
- func (x *ListUserMetaNamespaceResponse) Reset()
- func (x *ListUserMetaNamespaceResponse) String() string
- func (this *ListUserMetaNamespaceResponse) Validate() error
- type MetaNamespaceDefinition
- type NamedACLServiceServer
- type NamedPolicyEngineServiceServer
- type NamedRoleServiceServer
- type NamedUserMetaServiceServer
- type NamedUserServiceServer
- type NamedWorkspaceServiceServer
- type NodeType
- type Policy
- func (*Policy) Descriptor() ([]byte, []int)deprecated
- func (x *Policy) GetActions() []string
- func (x *Policy) GetConditions() map[string]*PolicyCondition
- func (x *Policy) GetDescription() string
- func (x *Policy) GetEffect() PolicyEffect
- func (x *Policy) GetId() string
- func (x *Policy) GetResources() []string
- func (x *Policy) GetSubjects() []string
- func (policy *Policy) MarshalLogObject(encoder zapcore.ObjectEncoder) error
- func (*Policy) ProtoMessage()
- func (x *Policy) ProtoReflect() protoreflect.Message
- func (x *Policy) Reset()
- func (x *Policy) String() string
- func (this *Policy) Validate() error
- func (policy *Policy) Zap() zapcore.Field
- func (policy *Policy) ZapId() zapcore.Field
- type PolicyCondition
- func (*PolicyCondition) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyCondition) GetJsonOptions() string
- func (x *PolicyCondition) GetType() string
- func (*PolicyCondition) ProtoMessage()
- func (x *PolicyCondition) ProtoReflect() protoreflect.Message
- func (x *PolicyCondition) Reset()
- func (x *PolicyCondition) String() string
- func (this *PolicyCondition) Validate() error
- type PolicyEffect
- func (PolicyEffect) Descriptor() protoreflect.EnumDescriptor
- func (x PolicyEffect) Enum() *PolicyEffect
- func (PolicyEffect) EnumDescriptor() ([]byte, []int)deprecated
- func (x PolicyEffect) Number() protoreflect.EnumNumber
- func (x PolicyEffect) String() string
- func (PolicyEffect) Type() protoreflect.EnumType
- type PolicyEngineRequest
- func (*PolicyEngineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyEngineRequest) GetAction() string
- func (x *PolicyEngineRequest) GetContext() map[string]string
- func (x *PolicyEngineRequest) GetResource() string
- func (x *PolicyEngineRequest) GetSubjects() []string
- func (*PolicyEngineRequest) ProtoMessage()
- func (x *PolicyEngineRequest) ProtoReflect() protoreflect.Message
- func (x *PolicyEngineRequest) Reset()
- func (x *PolicyEngineRequest) String() string
- func (this *PolicyEngineRequest) Validate() error
- type PolicyEngineResponse
- func (*PolicyEngineResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyEngineResponse) GetAllowed() bool
- func (x *PolicyEngineResponse) GetDefaultDeny() bool
- func (x *PolicyEngineResponse) GetExplicitDeny() bool
- func (*PolicyEngineResponse) ProtoMessage()
- func (x *PolicyEngineResponse) ProtoReflect() protoreflect.Message
- func (x *PolicyEngineResponse) Reset()
- func (x *PolicyEngineResponse) String() string
- func (this *PolicyEngineResponse) Validate() error
- type PolicyEngineServiceClient
- type PolicyEngineServiceEnhancedServer
- func (m PolicyEngineServiceEnhancedServer) DeletePolicyGroup(ctx context.Context, r *DeletePolicyGroupRequest) (*DeletePolicyGroupResponse, error)
- func (m PolicyEngineServiceEnhancedServer) IsAllowed(ctx context.Context, r *PolicyEngineRequest) (*PolicyEngineResponse, error)
- func (m PolicyEngineServiceEnhancedServer) ListPolicyGroups(ctx context.Context, r *ListPolicyGroupsRequest) (*ListPolicyGroupsResponse, error)
- func (m PolicyEngineServiceEnhancedServer) StorePolicyGroup(ctx context.Context, r *StorePolicyGroupRequest) (*StorePolicyGroupResponse, error)
- func (m PolicyEngineServiceEnhancedServer) StreamPolicyGroups(r *ListPolicyGroupsRequest, s PolicyEngineService_StreamPolicyGroupsServer) error
- type PolicyEngineServiceServer
- type PolicyEngineServiceStub
- type PolicyEngineServiceStub_StreamPolicyGroupsStreamer
- type PolicyEngineService_StreamPolicyGroupsClient
- type PolicyEngineService_StreamPolicyGroupsServer
- type PolicyGroup
- func (*PolicyGroup) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyGroup) GetDescription() string
- func (x *PolicyGroup) GetLastUpdated() int32
- func (x *PolicyGroup) GetName() string
- func (x *PolicyGroup) GetOwnerUuid() string
- func (x *PolicyGroup) GetPolicies() []*Policy
- func (x *PolicyGroup) GetResourceGroup() PolicyResourceGroup
- func (x *PolicyGroup) GetUuid() string
- func (pg *PolicyGroup) MarshalLogObject(encoder zapcore.ObjectEncoder) error
- func (*PolicyGroup) ProtoMessage()
- func (x *PolicyGroup) ProtoReflect() protoreflect.Message
- func (x *PolicyGroup) Reset()
- func (x *PolicyGroup) String() string
- func (this *PolicyGroup) Validate() error
- func (pg *PolicyGroup) Zap() zapcore.Field
- func (pg *PolicyGroup) ZapUuid() zapcore.Field
- type PolicyResourceGroup
- func (PolicyResourceGroup) Descriptor() protoreflect.EnumDescriptor
- func (x PolicyResourceGroup) Enum() *PolicyResourceGroup
- func (PolicyResourceGroup) EnumDescriptor() ([]byte, []int)deprecated
- func (x PolicyResourceGroup) Number() protoreflect.EnumNumber
- func (x PolicyResourceGroup) String() string
- func (PolicyResourceGroup) Type() protoreflect.EnumType
- type RestoreACLRequest
- func (*RestoreACLRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreACLRequest) GetExpiredAfter() int64
- func (x *RestoreACLRequest) GetExpiredBefore() int64
- func (x *RestoreACLRequest) GetQuery() *service.Query
- func (*RestoreACLRequest) ProtoMessage()
- func (x *RestoreACLRequest) ProtoReflect() protoreflect.Message
- func (x *RestoreACLRequest) Reset()
- func (x *RestoreACLRequest) String() string
- func (this *RestoreACLRequest) Validate() error
- type RestoreACLResponse
- func (*RestoreACLResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreACLResponse) GetRows() int64
- func (*RestoreACLResponse) ProtoMessage()
- func (x *RestoreACLResponse) ProtoReflect() protoreflect.Message
- func (x *RestoreACLResponse) Reset()
- func (x *RestoreACLResponse) String() string
- func (this *RestoreACLResponse) Validate() error
- type Role
- func (*Role) Descriptor() ([]byte, []int)deprecated
- func (x *Role) GetAutoApplies() []string
- func (x *Role) GetForceOverride() bool
- func (x *Role) GetGroupRole() bool
- func (x *Role) GetIsTeam() bool
- func (x *Role) GetLabel() string
- func (x *Role) GetLastUpdated() int32
- func (x *Role) GetPolicies() []*service.ResourcePolicy
- func (x *Role) GetPoliciesContextEditable() bool
- func (x *Role) GetUserRole() bool
- func (x *Role) GetUuid() string
- func (role *Role) MarshalLogObject(encoder zapcore.ObjectEncoder) error
- func (*Role) ProtoMessage()
- func (x *Role) ProtoReflect() protoreflect.Message
- func (x *Role) Reset()
- func (x *Role) String() string
- func (this *Role) Validate() error
- func (role *Role) Zap() zapcore.Field
- func (role *Role) ZapUuid() zapcore.Field
- type RoleServiceClient
- type RoleServiceEnhancedServer
- func (m RoleServiceEnhancedServer) CountRole(ctx context.Context, r *SearchRoleRequest) (*CountRoleResponse, error)
- func (m RoleServiceEnhancedServer) CreateRole(ctx context.Context, r *CreateRoleRequest) (*CreateRoleResponse, error)
- func (m RoleServiceEnhancedServer) DeleteRole(ctx context.Context, r *DeleteRoleRequest) (*DeleteRoleResponse, error)
- func (m RoleServiceEnhancedServer) SearchRole(r *SearchRoleRequest, s RoleService_SearchRoleServer) error
- func (m RoleServiceEnhancedServer) StreamRole(s RoleService_StreamRoleServer) error
- type RoleServiceServer
- type RoleServiceStub
- type RoleServiceStub_SearchRoleStreamer
- type RoleServiceStub_StreamRoleStreamer
- type RoleService_SearchRoleClient
- type RoleService_SearchRoleServer
- type RoleService_StreamRoleClient
- type RoleService_StreamRoleServer
- type RoleSingleQuery
- func (*RoleSingleQuery) Descriptor() ([]byte, []int)deprecated
- func (x *RoleSingleQuery) GetHasAutoApply() bool
- func (x *RoleSingleQuery) GetIsGroupRole() bool
- func (x *RoleSingleQuery) GetIsTeam() bool
- func (x *RoleSingleQuery) GetIsUserRole() bool
- func (x *RoleSingleQuery) GetLabel() string
- func (x *RoleSingleQuery) GetNot() bool
- func (x *RoleSingleQuery) GetUuid() []string
- func (m *RoleSingleQuery) Matches(idmObject interface{}) bool
- func (*RoleSingleQuery) ProtoMessage()
- func (x *RoleSingleQuery) ProtoReflect() protoreflect.Message
- func (x *RoleSingleQuery) Reset()
- func (x *RoleSingleQuery) String() string
- func (this *RoleSingleQuery) Validate() error
- type SearchACLRequest
- func (*SearchACLRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchACLRequest) GetExpiredAfter() int64
- func (x *SearchACLRequest) GetExpiredBefore() int64
- func (x *SearchACLRequest) GetQuery() *service.Query
- func (*SearchACLRequest) ProtoMessage()
- func (x *SearchACLRequest) ProtoReflect() protoreflect.Message
- func (x *SearchACLRequest) Reset()
- func (x *SearchACLRequest) String() string
- func (this *SearchACLRequest) Validate() error
- type SearchACLResponse
- func (*SearchACLResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchACLResponse) GetACL() *ACL
- func (*SearchACLResponse) ProtoMessage()
- func (x *SearchACLResponse) ProtoReflect() protoreflect.Message
- func (x *SearchACLResponse) Reset()
- func (x *SearchACLResponse) String() string
- func (this *SearchACLResponse) Validate() error
- type SearchRoleRequest
- func (*SearchRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchRoleRequest) GetQuery() *service.Query
- func (*SearchRoleRequest) ProtoMessage()
- func (x *SearchRoleRequest) ProtoReflect() protoreflect.Message
- func (x *SearchRoleRequest) Reset()
- func (x *SearchRoleRequest) String() string
- func (this *SearchRoleRequest) Validate() error
- type SearchRoleResponse
- func (*SearchRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchRoleResponse) GetRole() *Role
- func (*SearchRoleResponse) ProtoMessage()
- func (x *SearchRoleResponse) ProtoReflect() protoreflect.Message
- func (x *SearchRoleResponse) Reset()
- func (x *SearchRoleResponse) String() string
- func (this *SearchRoleResponse) Validate() error
- type SearchUserMetaRequest
- func (*SearchUserMetaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchUserMetaRequest) GetMetaUuids() []string
- func (x *SearchUserMetaRequest) GetNamespace() string
- func (x *SearchUserMetaRequest) GetNodeUuids() []string
- func (x *SearchUserMetaRequest) GetResourceQuery() *service.ResourcePolicyQuery
- func (x *SearchUserMetaRequest) GetResourceSubjectOwner() string
- func (*SearchUserMetaRequest) ProtoMessage()
- func (x *SearchUserMetaRequest) ProtoReflect() protoreflect.Message
- func (x *SearchUserMetaRequest) Reset()
- func (x *SearchUserMetaRequest) String() string
- func (this *SearchUserMetaRequest) Validate() error
- type SearchUserMetaResponse
- func (*SearchUserMetaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchUserMetaResponse) GetUserMeta() *UserMeta
- func (*SearchUserMetaResponse) ProtoMessage()
- func (x *SearchUserMetaResponse) ProtoReflect() protoreflect.Message
- func (x *SearchUserMetaResponse) Reset()
- func (x *SearchUserMetaResponse) String() string
- func (this *SearchUserMetaResponse) Validate() error
- type SearchUserRequest
- func (*SearchUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchUserRequest) GetQuery() *service.Query
- func (*SearchUserRequest) ProtoMessage()
- func (x *SearchUserRequest) ProtoReflect() protoreflect.Message
- func (x *SearchUserRequest) Reset()
- func (x *SearchUserRequest) String() string
- func (this *SearchUserRequest) Validate() error
- type SearchUserResponse
- func (*SearchUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchUserResponse) GetUser() *User
- func (*SearchUserResponse) ProtoMessage()
- func (x *SearchUserResponse) ProtoReflect() protoreflect.Message
- func (x *SearchUserResponse) Reset()
- func (x *SearchUserResponse) String() string
- func (this *SearchUserResponse) Validate() error
- type SearchWorkspaceRequest
- func (*SearchWorkspaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchWorkspaceRequest) GetQuery() *service.Query
- func (*SearchWorkspaceRequest) ProtoMessage()
- func (x *SearchWorkspaceRequest) ProtoReflect() protoreflect.Message
- func (x *SearchWorkspaceRequest) Reset()
- func (x *SearchWorkspaceRequest) String() string
- func (this *SearchWorkspaceRequest) Validate() error
- type SearchWorkspaceResponse
- func (*SearchWorkspaceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchWorkspaceResponse) GetWorkspace() *Workspace
- func (*SearchWorkspaceResponse) ProtoMessage()
- func (x *SearchWorkspaceResponse) ProtoReflect() protoreflect.Message
- func (x *SearchWorkspaceResponse) Reset()
- func (x *SearchWorkspaceResponse) String() string
- func (this *SearchWorkspaceResponse) Validate() error
- type StorePolicyGroupRequest
- func (*StorePolicyGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StorePolicyGroupRequest) GetPolicyGroup() *PolicyGroup
- func (*StorePolicyGroupRequest) ProtoMessage()
- func (x *StorePolicyGroupRequest) ProtoReflect() protoreflect.Message
- func (x *StorePolicyGroupRequest) Reset()
- func (x *StorePolicyGroupRequest) String() string
- func (this *StorePolicyGroupRequest) Validate() error
- type StorePolicyGroupResponse
- func (*StorePolicyGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StorePolicyGroupResponse) GetPolicyGroup() *PolicyGroup
- func (*StorePolicyGroupResponse) ProtoMessage()
- func (x *StorePolicyGroupResponse) ProtoReflect() protoreflect.Message
- func (x *StorePolicyGroupResponse) Reset()
- func (x *StorePolicyGroupResponse) String() string
- func (this *StorePolicyGroupResponse) Validate() error
- type UnimplementedACLServiceServer
- func (UnimplementedACLServiceServer) CreateACL(context.Context, *CreateACLRequest) (*CreateACLResponse, error)
- func (UnimplementedACLServiceServer) DeleteACL(context.Context, *DeleteACLRequest) (*DeleteACLResponse, error)
- func (UnimplementedACLServiceServer) ExpireACL(context.Context, *ExpireACLRequest) (*ExpireACLResponse, error)
- func (UnimplementedACLServiceServer) RestoreACL(context.Context, *RestoreACLRequest) (*RestoreACLResponse, error)
- func (UnimplementedACLServiceServer) SearchACL(*SearchACLRequest, ACLService_SearchACLServer) error
- func (UnimplementedACLServiceServer) StreamACL(ACLService_StreamACLServer) error
- type UnimplementedPolicyEngineServiceServer
- func (UnimplementedPolicyEngineServiceServer) DeletePolicyGroup(context.Context, *DeletePolicyGroupRequest) (*DeletePolicyGroupResponse, error)
- func (UnimplementedPolicyEngineServiceServer) IsAllowed(context.Context, *PolicyEngineRequest) (*PolicyEngineResponse, error)
- func (UnimplementedPolicyEngineServiceServer) ListPolicyGroups(context.Context, *ListPolicyGroupsRequest) (*ListPolicyGroupsResponse, error)
- func (UnimplementedPolicyEngineServiceServer) StorePolicyGroup(context.Context, *StorePolicyGroupRequest) (*StorePolicyGroupResponse, error)
- func (UnimplementedPolicyEngineServiceServer) StreamPolicyGroups(*ListPolicyGroupsRequest, PolicyEngineService_StreamPolicyGroupsServer) error
- type UnimplementedRoleServiceServer
- func (UnimplementedRoleServiceServer) CountRole(context.Context, *SearchRoleRequest) (*CountRoleResponse, error)
- func (UnimplementedRoleServiceServer) CreateRole(context.Context, *CreateRoleRequest) (*CreateRoleResponse, error)
- func (UnimplementedRoleServiceServer) DeleteRole(context.Context, *DeleteRoleRequest) (*DeleteRoleResponse, error)
- func (UnimplementedRoleServiceServer) SearchRole(*SearchRoleRequest, RoleService_SearchRoleServer) error
- func (UnimplementedRoleServiceServer) StreamRole(RoleService_StreamRoleServer) error
- type UnimplementedUserMetaServiceServer
- func (UnimplementedUserMetaServiceServer) ListUserMetaNamespace(*ListUserMetaNamespaceRequest, UserMetaService_ListUserMetaNamespaceServer) error
- func (UnimplementedUserMetaServiceServer) SearchUserMeta(*SearchUserMetaRequest, UserMetaService_SearchUserMetaServer) error
- func (UnimplementedUserMetaServiceServer) UpdateUserMeta(context.Context, *UpdateUserMetaRequest) (*UpdateUserMetaResponse, error)
- func (UnimplementedUserMetaServiceServer) UpdateUserMetaNamespace(context.Context, *UpdateUserMetaNamespaceRequest) (*UpdateUserMetaNamespaceResponse, error)
- type UnimplementedUserServiceServer
- func (UnimplementedUserServiceServer) BindUser(context.Context, *BindUserRequest) (*BindUserResponse, error)
- func (UnimplementedUserServiceServer) CountUser(context.Context, *SearchUserRequest) (*CountUserResponse, error)
- func (UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
- func (UnimplementedUserServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
- func (UnimplementedUserServiceServer) SearchUser(*SearchUserRequest, UserService_SearchUserServer) error
- func (UnimplementedUserServiceServer) StreamUser(UserService_StreamUserServer) error
- type UnimplementedWorkspaceServiceServer
- func (UnimplementedWorkspaceServiceServer) CreateWorkspace(context.Context, *CreateWorkspaceRequest) (*CreateWorkspaceResponse, error)
- func (UnimplementedWorkspaceServiceServer) DeleteWorkspace(context.Context, *DeleteWorkspaceRequest) (*DeleteWorkspaceResponse, error)
- func (UnimplementedWorkspaceServiceServer) SearchWorkspace(*SearchWorkspaceRequest, WorkspaceService_SearchWorkspaceServer) error
- func (UnimplementedWorkspaceServiceServer) StreamWorkspace(WorkspaceService_StreamWorkspaceServer) error
- type UnsafeACLServiceServer
- type UnsafePolicyEngineServiceServer
- type UnsafeRoleServiceServer
- type UnsafeUserMetaServiceServer
- type UnsafeUserServiceServer
- type UnsafeWorkspaceServiceServer
- type UpdateUserMetaNamespaceRequest
- func (*UpdateUserMetaNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserMetaNamespaceRequest) GetNamespaces() []*UserMetaNamespace
- func (x *UpdateUserMetaNamespaceRequest) GetOperation() UpdateUserMetaNamespaceRequest_UserMetaNsOp
- func (*UpdateUserMetaNamespaceRequest) ProtoMessage()
- func (x *UpdateUserMetaNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserMetaNamespaceRequest) Reset()
- func (x *UpdateUserMetaNamespaceRequest) String() string
- func (this *UpdateUserMetaNamespaceRequest) Validate() error
- type UpdateUserMetaNamespaceRequest_UserMetaNsOp
- func (UpdateUserMetaNamespaceRequest_UserMetaNsOp) Descriptor() protoreflect.EnumDescriptor
- func (x UpdateUserMetaNamespaceRequest_UserMetaNsOp) Enum() *UpdateUserMetaNamespaceRequest_UserMetaNsOp
- func (UpdateUserMetaNamespaceRequest_UserMetaNsOp) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdateUserMetaNamespaceRequest_UserMetaNsOp) Number() protoreflect.EnumNumber
- func (x UpdateUserMetaNamespaceRequest_UserMetaNsOp) String() string
- func (UpdateUserMetaNamespaceRequest_UserMetaNsOp) Type() protoreflect.EnumType
- type UpdateUserMetaNamespaceResponse
- func (*UpdateUserMetaNamespaceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserMetaNamespaceResponse) GetNamespaces() []*UserMetaNamespace
- func (*UpdateUserMetaNamespaceResponse) ProtoMessage()
- func (x *UpdateUserMetaNamespaceResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateUserMetaNamespaceResponse) Reset()
- func (x *UpdateUserMetaNamespaceResponse) String() string
- func (this *UpdateUserMetaNamespaceResponse) Validate() error
- type UpdateUserMetaRequest
- func (*UpdateUserMetaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserMetaRequest) GetMetaDatas() []*UserMeta
- func (x *UpdateUserMetaRequest) GetOperation() UpdateUserMetaRequest_UserMetaOp
- func (*UpdateUserMetaRequest) ProtoMessage()
- func (x *UpdateUserMetaRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserMetaRequest) Reset()
- func (x *UpdateUserMetaRequest) String() string
- func (this *UpdateUserMetaRequest) Validate() error
- type UpdateUserMetaRequest_UserMetaOp
- func (UpdateUserMetaRequest_UserMetaOp) Descriptor() protoreflect.EnumDescriptor
- func (x UpdateUserMetaRequest_UserMetaOp) Enum() *UpdateUserMetaRequest_UserMetaOp
- func (UpdateUserMetaRequest_UserMetaOp) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdateUserMetaRequest_UserMetaOp) Number() protoreflect.EnumNumber
- func (x UpdateUserMetaRequest_UserMetaOp) String() string
- func (UpdateUserMetaRequest_UserMetaOp) Type() protoreflect.EnumType
- type UpdateUserMetaResponse
- func (*UpdateUserMetaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserMetaResponse) GetMetaDatas() []*UserMeta
- func (*UpdateUserMetaResponse) ProtoMessage()
- func (x *UpdateUserMetaResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateUserMetaResponse) Reset()
- func (x *UpdateUserMetaResponse) String() string
- func (this *UpdateUserMetaResponse) Validate() error
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAttributes() map[string]string
- func (x *User) GetGroupLabel() string
- func (x *User) GetGroupPath() string
- func (x *User) GetIsGroup() bool
- func (x *User) GetLastConnected() int32
- func (x *User) GetLogin() string
- func (x *User) GetOldPassword() string
- func (x *User) GetPassword() string
- func (x *User) GetPolicies() []*service.ResourcePolicy
- func (x *User) GetPoliciesContextEditable() bool
- func (x *User) GetRoles() []*Role
- func (x *User) GetUuid() string
- func (u *User) IsHidden() bool
- func (user *User) MarshalLogObject(encoder zapcore.ObjectEncoder) error
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- func (this *User) Validate() error
- func (u *User) WithPublicData(ctx context.Context, policiesContextEditable bool) *User
- func (user *User) Zap() zapcore.Field
- func (user *User) ZapLogin() zapcore.Field
- func (user *User) ZapUuid() zapcore.Field
- type UserMeta
- func (*UserMeta) Descriptor() ([]byte, []int)deprecated
- func (x *UserMeta) GetJsonValue() string
- func (x *UserMeta) GetNamespace() string
- func (x *UserMeta) GetNodeUuid() string
- func (x *UserMeta) GetPolicies() []*service.ResourcePolicy
- func (x *UserMeta) GetPoliciesContextEditable() bool
- func (x *UserMeta) GetResolvedNode() *tree.Node
- func (x *UserMeta) GetUuid() string
- func (*UserMeta) ProtoMessage()
- func (x *UserMeta) ProtoReflect() protoreflect.Message
- func (x *UserMeta) Reset()
- func (x *UserMeta) String() string
- func (this *UserMeta) Validate() error
- type UserMetaNamespace
- func (*UserMetaNamespace) Descriptor() ([]byte, []int)deprecated
- func (x *UserMetaNamespace) GetIndexable() bool
- func (x *UserMetaNamespace) GetJsonDefinition() string
- func (x *UserMetaNamespace) GetLabel() string
- func (x *UserMetaNamespace) GetNamespace() string
- func (x *UserMetaNamespace) GetOrder() int32
- func (x *UserMetaNamespace) GetPolicies() []*service.ResourcePolicy
- func (x *UserMetaNamespace) GetPoliciesContextEditable() bool
- func (*UserMetaNamespace) ProtoMessage()
- func (x *UserMetaNamespace) ProtoReflect() protoreflect.Message
- func (x *UserMetaNamespace) Reset()
- func (x *UserMetaNamespace) String() string
- func (m *UserMetaNamespace) UnmarshallDefinition() (MetaNamespaceDefinition, error)
- func (this *UserMetaNamespace) Validate() error
- type UserMetaServiceClient
- type UserMetaServiceEnhancedServer
- func (m UserMetaServiceEnhancedServer) ListUserMetaNamespace(r *ListUserMetaNamespaceRequest, s UserMetaService_ListUserMetaNamespaceServer) error
- func (m UserMetaServiceEnhancedServer) SearchUserMeta(r *SearchUserMetaRequest, s UserMetaService_SearchUserMetaServer) error
- func (m UserMetaServiceEnhancedServer) UpdateUserMeta(ctx context.Context, r *UpdateUserMetaRequest) (*UpdateUserMetaResponse, error)
- func (m UserMetaServiceEnhancedServer) UpdateUserMetaNamespace(ctx context.Context, r *UpdateUserMetaNamespaceRequest) (*UpdateUserMetaNamespaceResponse, error)
- type UserMetaServiceServer
- type UserMetaServiceStub
- type UserMetaServiceStub_ListUserMetaNamespaceStreamer
- type UserMetaServiceStub_SearchUserMetaStreamer
- type UserMetaService_ListUserMetaNamespaceClient
- type UserMetaService_ListUserMetaNamespaceServer
- type UserMetaService_SearchUserMetaClient
- type UserMetaService_SearchUserMetaServer
- type UserServiceClient
- type UserServiceEnhancedServer
- func (m UserServiceEnhancedServer) BindUser(ctx context.Context, r *BindUserRequest) (*BindUserResponse, error)
- func (m UserServiceEnhancedServer) CountUser(ctx context.Context, r *SearchUserRequest) (*CountUserResponse, error)
- func (m UserServiceEnhancedServer) CreateUser(ctx context.Context, r *CreateUserRequest) (*CreateUserResponse, error)
- func (m UserServiceEnhancedServer) DeleteUser(ctx context.Context, r *DeleteUserRequest) (*DeleteUserResponse, error)
- func (m UserServiceEnhancedServer) SearchUser(r *SearchUserRequest, s UserService_SearchUserServer) error
- func (m UserServiceEnhancedServer) StreamUser(s UserService_StreamUserServer) error
- type UserServiceServer
- type UserServiceStub
- type UserServiceStub_SearchUserStreamer
- type UserServiceStub_StreamUserStreamer
- type UserService_SearchUserClient
- type UserService_SearchUserServer
- type UserService_StreamUserClient
- type UserService_StreamUserServer
- type UserSingleQuery
- func (*UserSingleQuery) Descriptor() ([]byte, []int)deprecated
- func (x *UserSingleQuery) GetAttributeAnyValue() bool
- func (x *UserSingleQuery) GetAttributeName() string
- func (x *UserSingleQuery) GetAttributeValue() string
- func (x *UserSingleQuery) GetConnectedSince() string
- func (x *UserSingleQuery) GetFullPath() string
- func (x *UserSingleQuery) GetGroupPath() string
- func (x *UserSingleQuery) GetHasProfile() string
- func (x *UserSingleQuery) GetHasRole() string
- func (x *UserSingleQuery) GetLogin() string
- func (x *UserSingleQuery) GetNodeType() NodeType
- func (x *UserSingleQuery) GetNot() bool
- func (x *UserSingleQuery) GetPassword() string
- func (x *UserSingleQuery) GetRecursive() bool
- func (x *UserSingleQuery) GetUuid() string
- func (m *UserSingleQuery) Matches(idmObject interface{}) bool
- func (m *UserSingleQuery) ParseLastConnected() (lt bool, d time.Duration, e error)
- func (*UserSingleQuery) ProtoMessage()
- func (x *UserSingleQuery) ProtoReflect() protoreflect.Message
- func (x *UserSingleQuery) Reset()
- func (x *UserSingleQuery) String() string
- func (this *UserSingleQuery) Validate() error
- type Workspace
- func (*Workspace) Descriptor() ([]byte, []int)deprecated
- func (x *Workspace) GetAttributes() string
- func (x *Workspace) GetDescription() string
- func (x *Workspace) GetLabel() string
- func (x *Workspace) GetLastUpdated() int32
- func (x *Workspace) GetPolicies() []*service.ResourcePolicy
- func (x *Workspace) GetPoliciesContextEditable() bool
- func (x *Workspace) GetRootNodes() map[string]*tree.Node
- func (x *Workspace) GetRootUUIDs() []string
- func (x *Workspace) GetScope() WorkspaceScope
- func (x *Workspace) GetSlug() string
- func (x *Workspace) GetUUID() string
- func (m *Workspace) LoadAttributes() *WsAttributes
- func (workspace *Workspace) MarshalLogObject(encoder zapcore.ObjectEncoder) error
- func (*Workspace) ProtoMessage()
- func (x *Workspace) ProtoReflect() protoreflect.Message
- func (x *Workspace) Reset()
- func (m *Workspace) SetAttributes(a *WsAttributes)
- func (x *Workspace) String() string
- func (this *Workspace) Validate() error
- func (workspace *Workspace) Zap() zapcore.Field
- func (workspace *Workspace) ZapUuid() zapcore.Field
- type WorkspaceScope
- func (WorkspaceScope) Descriptor() protoreflect.EnumDescriptor
- func (x WorkspaceScope) Enum() *WorkspaceScope
- func (WorkspaceScope) EnumDescriptor() ([]byte, []int)deprecated
- func (x WorkspaceScope) Number() protoreflect.EnumNumber
- func (x WorkspaceScope) String() string
- func (WorkspaceScope) Type() protoreflect.EnumType
- type WorkspaceServiceClient
- type WorkspaceServiceEnhancedServer
- func (m WorkspaceServiceEnhancedServer) CreateWorkspace(ctx context.Context, r *CreateWorkspaceRequest) (*CreateWorkspaceResponse, error)
- func (m WorkspaceServiceEnhancedServer) DeleteWorkspace(ctx context.Context, r *DeleteWorkspaceRequest) (*DeleteWorkspaceResponse, error)
- func (m WorkspaceServiceEnhancedServer) SearchWorkspace(r *SearchWorkspaceRequest, s WorkspaceService_SearchWorkspaceServer) error
- func (m WorkspaceServiceEnhancedServer) StreamWorkspace(s WorkspaceService_StreamWorkspaceServer) error
- type WorkspaceServiceServer
- type WorkspaceServiceStub
- type WorkspaceServiceStub_SearchWorkspaceStreamer
- type WorkspaceServiceStub_StreamWorkspaceStreamer
- type WorkspaceService_SearchWorkspaceClient
- type WorkspaceService_SearchWorkspaceServer
- type WorkspaceService_StreamWorkspaceClient
- type WorkspaceService_StreamWorkspaceServer
- type WorkspaceSingleQuery
- func (*WorkspaceSingleQuery) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceSingleQuery) GetAttributeName() string
- func (x *WorkspaceSingleQuery) GetAttributeValue() string
- func (x *WorkspaceSingleQuery) GetDescription() string
- func (x *WorkspaceSingleQuery) GetHasAttribute() string
- func (x *WorkspaceSingleQuery) GetLabel() string
- func (x *WorkspaceSingleQuery) GetLastUpdated() string
- func (x *WorkspaceSingleQuery) GetNot() bool
- func (x *WorkspaceSingleQuery) GetScope() WorkspaceScope
- func (x *WorkspaceSingleQuery) GetSlug() string
- func (x *WorkspaceSingleQuery) GetUuid() string
- func (m *WorkspaceSingleQuery) Matches(idmObject interface{}) bool
- func (m *WorkspaceSingleQuery) ParseLastUpdated() (lt bool, d time.Duration, e error)
- func (*WorkspaceSingleQuery) ProtoMessage()
- func (x *WorkspaceSingleQuery) ProtoReflect() protoreflect.Message
- func (x *WorkspaceSingleQuery) Reset()
- func (x *WorkspaceSingleQuery) String() string
- func (this *WorkspaceSingleQuery) Validate() error
- type WsAttributes
Constants ¶
const ( UserAttrPrivatePrefix = "pydio:" UserAttrPassHashed = UserAttrPrivatePrefix + "password_hashed" UserAttrLabelLike = UserAttrPrivatePrefix + "labelLike" UserAttrOrigin = UserAttrPrivatePrefix + "origin" UserAttrDisplayName = "displayName" UserAttrProfile = "profile" UserAttrAvatar = "avatar" UserAttrEmail = "email" UserAttrHasEmail = "hasEmail" UserAttrAuthSource = "AuthSource" UserAttrHidden = "hidden" )
Variables ¶
var ( NodeType_name = map[int32]string{ 0: "UNKNOWN", 1: "USER", 2: "GROUP", } NodeType_value = map[string]int32{ "UNKNOWN": 0, "USER": 1, "GROUP": 2, } )
Enum value maps for NodeType.
var ( WorkspaceScope_name = map[int32]string{ 0: "ANY", 1: "ADMIN", 2: "ROOM", 3: "LINK", } WorkspaceScope_value = map[string]int32{ "ANY": 0, "ADMIN": 1, "ROOM": 2, "LINK": 3, } )
Enum value maps for WorkspaceScope.
var ( ChangeEventType_name = map[int32]string{ 0: "CREATE", 1: "READ", 2: "UPDATE", 3: "DELETE", 4: "LOGIN", 5: "LOGOUT", } ChangeEventType_value = map[string]int32{ "CREATE": 0, "READ": 1, "UPDATE": 2, "DELETE": 3, "LOGIN": 4, "LOGOUT": 5, } )
Enum value maps for ChangeEventType.
var ( PolicyEffect_name = map[int32]string{ 0: "unknown", 1: "deny", 2: "allow", } PolicyEffect_value = map[string]int32{ "unknown": 0, "deny": 1, "allow": 2, } )
Enum value maps for PolicyEffect.
var ( PolicyResourceGroup_name = map[int32]string{ 0: "rest", 1: "acl", 2: "oidc", } PolicyResourceGroup_value = map[string]int32{ "rest": 0, "acl": 1, "oidc": 2, } )
Enum value maps for PolicyResourceGroup.
var ( UpdateUserMetaRequest_UserMetaOp_name = map[int32]string{ 0: "PUT", 1: "DELETE", } UpdateUserMetaRequest_UserMetaOp_value = map[string]int32{ "PUT": 0, "DELETE": 1, } )
Enum value maps for UpdateUserMetaRequest_UserMetaOp.
var ( UpdateUserMetaNamespaceRequest_UserMetaNsOp_name = map[int32]string{ 0: "PUT", 1: "DELETE", } UpdateUserMetaNamespaceRequest_UserMetaNsOp_value = map[string]int32{ "PUT": 0, "DELETE": 1, } )
Enum value maps for UpdateUserMetaNamespaceRequest_UserMetaNsOp.
var ACLService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "idm.ACLService", HandlerType: (*ACLServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateACL", Handler: _ACLService_CreateACL_Handler, }, { MethodName: "ExpireACL", Handler: _ACLService_ExpireACL_Handler, }, { MethodName: "DeleteACL", Handler: _ACLService_DeleteACL_Handler, }, { MethodName: "RestoreACL", Handler: _ACLService_RestoreACL_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SearchACL", Handler: _ACLService_SearchACL_Handler, ServerStreams: true, }, { StreamName: "StreamACL", Handler: _ACLService_StreamACL_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "cells-idm.proto", }
ACLService_ServiceDesc is the grpc.ServiceDesc for ACLService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_cells_idm_proto protoreflect.FileDescriptor
var PolicyEngineService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "idm.PolicyEngineService", HandlerType: (*PolicyEngineServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "IsAllowed", Handler: _PolicyEngineService_IsAllowed_Handler, }, { MethodName: "StorePolicyGroup", Handler: _PolicyEngineService_StorePolicyGroup_Handler, }, { MethodName: "ListPolicyGroups", Handler: _PolicyEngineService_ListPolicyGroups_Handler, }, { MethodName: "DeletePolicyGroup", Handler: _PolicyEngineService_DeletePolicyGroup_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StreamPolicyGroups", Handler: _PolicyEngineService_StreamPolicyGroups_Handler, ServerStreams: true, }, }, Metadata: "cells-idm.proto", }
PolicyEngineService_ServiceDesc is the grpc.ServiceDesc for PolicyEngineService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var RoleService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "idm.RoleService", HandlerType: (*RoleServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateRole", Handler: _RoleService_CreateRole_Handler, }, { MethodName: "DeleteRole", Handler: _RoleService_DeleteRole_Handler, }, { MethodName: "CountRole", Handler: _RoleService_CountRole_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SearchRole", Handler: _RoleService_SearchRole_Handler, ServerStreams: true, }, { StreamName: "StreamRole", Handler: _RoleService_StreamRole_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "cells-idm.proto", }
RoleService_ServiceDesc is the grpc.ServiceDesc for RoleService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UserMetaService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "idm.UserMetaService", HandlerType: (*UserMetaServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateUserMeta", Handler: _UserMetaService_UpdateUserMeta_Handler, }, { MethodName: "UpdateUserMetaNamespace", Handler: _UserMetaService_UpdateUserMetaNamespace_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SearchUserMeta", Handler: _UserMetaService_SearchUserMeta_Handler, ServerStreams: true, }, { StreamName: "ListUserMetaNamespace", Handler: _UserMetaService_ListUserMetaNamespace_Handler, ServerStreams: true, }, }, Metadata: "cells-idm.proto", }
UserMetaService_ServiceDesc is the grpc.ServiceDesc for UserMetaService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "idm.UserService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateUser", Handler: _UserService_CreateUser_Handler, }, { MethodName: "DeleteUser", Handler: _UserService_DeleteUser_Handler, }, { MethodName: "BindUser", Handler: _UserService_BindUser_Handler, }, { MethodName: "CountUser", Handler: _UserService_CountUser_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SearchUser", Handler: _UserService_SearchUser_Handler, ServerStreams: true, }, { StreamName: "StreamUser", Handler: _UserService_StreamUser_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "cells-idm.proto", }
UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var WorkspaceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "idm.WorkspaceService", HandlerType: (*WorkspaceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateWorkspace", Handler: _WorkspaceService_CreateWorkspace_Handler, }, { MethodName: "DeleteWorkspace", Handler: _WorkspaceService_DeleteWorkspace_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SearchWorkspace", Handler: _WorkspaceService_SearchWorkspace_Handler, ServerStreams: true, }, { StreamName: "StreamWorkspace", Handler: _WorkspaceService_StreamWorkspace_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "cells-idm.proto", }
WorkspaceService_ServiceDesc is the grpc.ServiceDesc for WorkspaceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func DeregisterACLServiceEnhancedServer ¶
func DeregisterACLServiceEnhancedServer(s grpc.ServiceRegistrar, name string)
func DeregisterPolicyEngineServiceEnhancedServer ¶
func DeregisterPolicyEngineServiceEnhancedServer(s grpc.ServiceRegistrar, name string)
func DeregisterRoleServiceEnhancedServer ¶
func DeregisterRoleServiceEnhancedServer(s grpc.ServiceRegistrar, name string)
func DeregisterUserMetaServiceEnhancedServer ¶
func DeregisterUserMetaServiceEnhancedServer(s grpc.ServiceRegistrar, name string)
func DeregisterUserServiceEnhancedServer ¶
func DeregisterUserServiceEnhancedServer(s grpc.ServiceRegistrar, name string)
func DeregisterWorkspaceServiceEnhancedServer ¶
func DeregisterWorkspaceServiceEnhancedServer(s grpc.ServiceRegistrar, name string)
func RegisterACLServiceEnhancedServer ¶
func RegisterACLServiceEnhancedServer(s grpc.ServiceRegistrar, srv NamedACLServiceServer)
func RegisterACLServiceServer ¶
func RegisterACLServiceServer(s grpc.ServiceRegistrar, srv ACLServiceServer)
func RegisterPolicyEngineServiceEnhancedServer ¶
func RegisterPolicyEngineServiceEnhancedServer(s grpc.ServiceRegistrar, srv NamedPolicyEngineServiceServer)
func RegisterPolicyEngineServiceServer ¶
func RegisterPolicyEngineServiceServer(s grpc.ServiceRegistrar, srv PolicyEngineServiceServer)
func RegisterRoleServiceEnhancedServer ¶
func RegisterRoleServiceEnhancedServer(s grpc.ServiceRegistrar, srv NamedRoleServiceServer)
func RegisterRoleServiceServer ¶
func RegisterRoleServiceServer(s grpc.ServiceRegistrar, srv RoleServiceServer)
func RegisterUserMetaServiceEnhancedServer ¶
func RegisterUserMetaServiceEnhancedServer(s grpc.ServiceRegistrar, srv NamedUserMetaServiceServer)
func RegisterUserMetaServiceServer ¶
func RegisterUserMetaServiceServer(s grpc.ServiceRegistrar, srv UserMetaServiceServer)
func RegisterUserServiceEnhancedServer ¶
func RegisterUserServiceEnhancedServer(s grpc.ServiceRegistrar, srv NamedUserServiceServer)
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
func RegisterWorkspaceServiceEnhancedServer ¶
func RegisterWorkspaceServiceEnhancedServer(s grpc.ServiceRegistrar, srv NamedWorkspaceServiceServer)
func RegisterWorkspaceServiceServer ¶
func RegisterWorkspaceServiceServer(s grpc.ServiceRegistrar, srv WorkspaceServiceServer)
Types ¶
type ACL ¶
type ACL struct { // Unique ID of this ACL ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` // Action on which this ACL provides control Action *ACLAction `protobuf:"bytes,2,opt,name=Action,proto3" json:"Action,omitempty"` // Associated Role RoleID string `protobuf:"bytes,3,opt,name=RoleID,proto3" json:"RoleID,omitempty"` // Associated Workspace WorkspaceID string `protobuf:"bytes,4,opt,name=WorkspaceID,proto3" json:"WorkspaceID,omitempty"` // Associated Node NodeID string `protobuf:"bytes,5,opt,name=NodeID,proto3" json:"NodeID,omitempty"` // contains filtered or unexported fields }
ACL are the basic flags that can be put anywhere in the tree to provide some specific rights to a given role. The context of how they apply can be fine-tuned by workspace.
func (*ACL) Descriptor
deprecated
func (*ACL) GetWorkspaceID ¶
func (*ACL) MarshalLogObject ¶
func (acl *ACL) MarshalLogObject(encoder zapcore.ObjectEncoder) error
MarshalLogObject implements custom marshalling for logs
func (*ACL) ProtoMessage ¶
func (*ACL) ProtoMessage()
func (*ACL) ProtoReflect ¶
func (x *ACL) ProtoReflect() protoreflect.Message
type ACLAction ¶
type ACLAction struct { // ACL Action name, most frequent values are "read" or "write" Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` // ACL Action value Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"` // contains filtered or unexported fields }
func (*ACLAction) Descriptor
deprecated
func (*ACLAction) MarshalLogObject ¶
func (action *ACLAction) MarshalLogObject(encoder zapcore.ObjectEncoder) error
func (*ACLAction) ProtoMessage ¶
func (*ACLAction) ProtoMessage()
func (*ACLAction) ProtoReflect ¶
func (x *ACLAction) ProtoReflect() protoreflect.Message
type ACLServiceClient ¶
type ACLServiceClient interface { // Insert a new ACL CreateACL(ctx context.Context, in *CreateACLRequest, opts ...grpc.CallOption) (*CreateACLResponse, error) // Set an expiration date that invalidates an ACL without deleting it ExpireACL(ctx context.Context, in *ExpireACLRequest, opts ...grpc.CallOption) (*ExpireACLResponse, error) // Definitely delete an ACL DeleteACL(ctx context.Context, in *DeleteACLRequest, opts ...grpc.CallOption) (*DeleteACLResponse, error) // Search ACLs by Query or Expiration period SearchACL(ctx context.Context, in *SearchACLRequest, opts ...grpc.CallOption) (ACLService_SearchACLClient, error) // Stream version of Search ACL StreamACL(ctx context.Context, opts ...grpc.CallOption) (ACLService_StreamACLClient, error) // Restore ACLs based on Query and Expiration period RestoreACL(ctx context.Context, in *RestoreACLRequest, opts ...grpc.CallOption) (*RestoreACLResponse, error) }
ACLServiceClient is the client API for ACLService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewACLServiceClient ¶
func NewACLServiceClient(cc grpc.ClientConnInterface) ACLServiceClient
type ACLServiceEnhancedServer ¶
type ACLServiceEnhancedServer map[string]NamedACLServiceServer
func (ACLServiceEnhancedServer) CreateACL ¶
func (m ACLServiceEnhancedServer) CreateACL(ctx context.Context, r *CreateACLRequest) (*CreateACLResponse, error)
func (ACLServiceEnhancedServer) DeleteACL ¶
func (m ACLServiceEnhancedServer) DeleteACL(ctx context.Context, r *DeleteACLRequest) (*DeleteACLResponse, error)
func (ACLServiceEnhancedServer) ExpireACL ¶
func (m ACLServiceEnhancedServer) ExpireACL(ctx context.Context, r *ExpireACLRequest) (*ExpireACLResponse, error)
func (ACLServiceEnhancedServer) RestoreACL ¶ added in v4.2.0
func (m ACLServiceEnhancedServer) RestoreACL(ctx context.Context, r *RestoreACLRequest) (*RestoreACLResponse, error)
func (ACLServiceEnhancedServer) SearchACL ¶
func (m ACLServiceEnhancedServer) SearchACL(r *SearchACLRequest, s ACLService_SearchACLServer) error
func (ACLServiceEnhancedServer) StreamACL ¶
func (m ACLServiceEnhancedServer) StreamACL(s ACLService_StreamACLServer) error
type ACLServiceServer ¶
type ACLServiceServer interface { // Insert a new ACL CreateACL(context.Context, *CreateACLRequest) (*CreateACLResponse, error) // Set an expiration date that invalidates an ACL without deleting it ExpireACL(context.Context, *ExpireACLRequest) (*ExpireACLResponse, error) // Definitely delete an ACL DeleteACL(context.Context, *DeleteACLRequest) (*DeleteACLResponse, error) // Search ACLs by Query or Expiration period SearchACL(*SearchACLRequest, ACLService_SearchACLServer) error // Stream version of Search ACL StreamACL(ACLService_StreamACLServer) error // Restore ACLs based on Query and Expiration period RestoreACL(context.Context, *RestoreACLRequest) (*RestoreACLResponse, error) // contains filtered or unexported methods }
ACLServiceServer is the server API for ACLService service. All implementations must embed UnimplementedACLServiceServer for forward compatibility
type ACLServiceStub ¶
type ACLServiceStub struct {
ACLServiceServer
}
func (*ACLServiceStub) Invoke ¶
func (s *ACLServiceStub) Invoke(ctx context.Context, method string, args interface{}, reply interface{}, opts ...grpc.CallOption) error
func (*ACLServiceStub) NewStream ¶
func (s *ACLServiceStub) NewStream(ctx context.Context, desc *grpc.StreamDesc, method string, opts ...grpc.CallOption) (grpc.ClientStream, error)
type ACLServiceStub_SearchACLStreamer ¶
type ACLServiceStub_SearchACLStreamer struct {
stubs.ClientServerStreamerCore
}
func (*ACLServiceStub_SearchACLStreamer) Send ¶
func (s *ACLServiceStub_SearchACLStreamer) Send(response *SearchACLResponse) error
type ACLServiceStub_StreamACLStreamer ¶
type ACLServiceStub_StreamACLStreamer struct {
stubs.BidirServerStreamerCore
}
func (*ACLServiceStub_StreamACLStreamer) Recv ¶
func (s *ACLServiceStub_StreamACLStreamer) Recv() (*SearchACLRequest, error)
func (*ACLServiceStub_StreamACLStreamer) Send ¶
func (s *ACLServiceStub_StreamACLStreamer) Send(response *SearchACLResponse) error
type ACLService_SearchACLClient ¶
type ACLService_SearchACLClient interface { Recv() (*SearchACLResponse, error) grpc.ClientStream }
type ACLService_SearchACLServer ¶
type ACLService_SearchACLServer interface { Send(*SearchACLResponse) error grpc.ServerStream }
type ACLService_StreamACLClient ¶
type ACLService_StreamACLClient interface { Send(*SearchACLRequest) error Recv() (*SearchACLResponse, error) grpc.ClientStream }
type ACLService_StreamACLServer ¶
type ACLService_StreamACLServer interface { Send(*SearchACLResponse) error Recv() (*SearchACLRequest, error) grpc.ServerStream }
type ACLSingleQuery ¶
type ACLSingleQuery struct { // List of Actions to lookup Actions []*ACLAction `protobuf:"bytes,1,rep,name=Actions,proto3" json:"Actions,omitempty"` // Filter by one or more role UUID RoleIDs []string `protobuf:"bytes,2,rep,name=RoleIDs,proto3" json:"RoleIDs,omitempty"` // Filter by one or more workspace UUID WorkspaceIDs []string `protobuf:"bytes,3,rep,name=WorkspaceIDs,proto3" json:"WorkspaceIDs,omitempty"` // Filter by one or more node UUID NodeIDs []string `protobuf:"bytes,4,rep,name=NodeIDs,proto3" json:"NodeIDs,omitempty"` // Internal - Negate query Not bool `protobuf:"varint,5,opt,name=not,proto3" json:"not,omitempty"` // contains filtered or unexported fields }
func (*ACLSingleQuery) Descriptor
deprecated
func (*ACLSingleQuery) Descriptor() ([]byte, []int)
Deprecated: Use ACLSingleQuery.ProtoReflect.Descriptor instead.
func (*ACLSingleQuery) GetActions ¶
func (x *ACLSingleQuery) GetActions() []*ACLAction
func (*ACLSingleQuery) GetNodeIDs ¶
func (x *ACLSingleQuery) GetNodeIDs() []string
func (*ACLSingleQuery) GetNot ¶
func (x *ACLSingleQuery) GetNot() bool
func (*ACLSingleQuery) GetRoleIDs ¶
func (x *ACLSingleQuery) GetRoleIDs() []string
func (*ACLSingleQuery) GetWorkspaceIDs ¶
func (x *ACLSingleQuery) GetWorkspaceIDs() []string
func (*ACLSingleQuery) Matches ¶
func (m *ACLSingleQuery) Matches(idmObject interface{}) bool
func (*ACLSingleQuery) ProtoMessage ¶
func (*ACLSingleQuery) ProtoMessage()
func (*ACLSingleQuery) ProtoReflect ¶
func (x *ACLSingleQuery) ProtoReflect() protoreflect.Message
func (*ACLSingleQuery) Reset ¶
func (x *ACLSingleQuery) Reset()
func (*ACLSingleQuery) String ¶
func (x *ACLSingleQuery) String() string
func (*ACLSingleQuery) Validate ¶
func (this *ACLSingleQuery) Validate() error
type BindUserRequest ¶
type BindUserRequest struct { UserName string `protobuf:"bytes,1,opt,name=userName,proto3" json:"userName,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*BindUserRequest) Descriptor
deprecated
func (*BindUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use BindUserRequest.ProtoReflect.Descriptor instead.
func (*BindUserRequest) GetPassword ¶
func (x *BindUserRequest) GetPassword() string
func (*BindUserRequest) GetUserName ¶
func (x *BindUserRequest) GetUserName() string
func (*BindUserRequest) ProtoMessage ¶
func (*BindUserRequest) ProtoMessage()
func (*BindUserRequest) ProtoReflect ¶
func (x *BindUserRequest) ProtoReflect() protoreflect.Message
func (*BindUserRequest) Reset ¶
func (x *BindUserRequest) Reset()
func (*BindUserRequest) String ¶
func (x *BindUserRequest) String() string
func (*BindUserRequest) Validate ¶
func (this *BindUserRequest) Validate() error
type BindUserResponse ¶
type BindUserResponse struct { User *User `protobuf:"bytes,1,opt,name=User,proto3" json:"User,omitempty"` // contains filtered or unexported fields }
func (*BindUserResponse) Descriptor
deprecated
func (*BindUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use BindUserResponse.ProtoReflect.Descriptor instead.
func (*BindUserResponse) GetUser ¶
func (x *BindUserResponse) GetUser() *User
func (*BindUserResponse) ProtoMessage ¶
func (*BindUserResponse) ProtoMessage()
func (*BindUserResponse) ProtoReflect ¶
func (x *BindUserResponse) ProtoReflect() protoreflect.Message
func (*BindUserResponse) Reset ¶
func (x *BindUserResponse) Reset()
func (*BindUserResponse) String ¶
func (x *BindUserResponse) String() string
func (*BindUserResponse) Validate ¶
func (this *BindUserResponse) Validate() error
type ChangeEvent ¶
type ChangeEvent struct { JsonType string `protobuf:"bytes,1,opt,name=jsonType,json=@type,proto3" json:"jsonType,omitempty"` Type ChangeEventType `protobuf:"varint,2,opt,name=Type,proto3,enum=idm.ChangeEventType" json:"Type,omitempty"` User *User `protobuf:"bytes,3,opt,name=User,proto3" json:"User,omitempty"` Role *Role `protobuf:"bytes,4,opt,name=Role,proto3" json:"Role,omitempty"` Workspace *Workspace `protobuf:"bytes,5,opt,name=Workspace,proto3" json:"Workspace,omitempty"` Acl *ACL `protobuf:"bytes,6,opt,name=Acl,proto3" json:"Acl,omitempty"` MetaNamespace *UserMetaNamespace `protobuf:"bytes,8,opt,name=MetaNamespace,proto3" json:"MetaNamespace,omitempty"` Attributes map[string]string `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
Global Event message for IDM
func (*ChangeEvent) Descriptor
deprecated
func (*ChangeEvent) Descriptor() ([]byte, []int)
Deprecated: Use ChangeEvent.ProtoReflect.Descriptor instead.
func (*ChangeEvent) GetAcl ¶
func (x *ChangeEvent) GetAcl() *ACL
func (*ChangeEvent) GetAttributes ¶
func (x *ChangeEvent) GetAttributes() map[string]string
func (*ChangeEvent) GetJsonType ¶
func (x *ChangeEvent) GetJsonType() string
func (*ChangeEvent) GetMetaNamespace ¶
func (x *ChangeEvent) GetMetaNamespace() *UserMetaNamespace
func (*ChangeEvent) GetRole ¶
func (x *ChangeEvent) GetRole() *Role
func (*ChangeEvent) GetType ¶
func (x *ChangeEvent) GetType() ChangeEventType
func (*ChangeEvent) GetUser ¶
func (x *ChangeEvent) GetUser() *User
func (*ChangeEvent) GetWorkspace ¶
func (x *ChangeEvent) GetWorkspace() *Workspace
func (*ChangeEvent) ProtoMessage ¶
func (*ChangeEvent) ProtoMessage()
func (*ChangeEvent) ProtoReflect ¶
func (x *ChangeEvent) ProtoReflect() protoreflect.Message
func (*ChangeEvent) Reset ¶
func (x *ChangeEvent) Reset()
func (*ChangeEvent) String ¶
func (x *ChangeEvent) String() string
func (*ChangeEvent) Validate ¶
func (this *ChangeEvent) Validate() error
type ChangeEventType ¶
type ChangeEventType int32
Message Types for ChangeEvent
const ( ChangeEventType_CREATE ChangeEventType = 0 ChangeEventType_READ ChangeEventType = 1 ChangeEventType_UPDATE ChangeEventType = 2 ChangeEventType_DELETE ChangeEventType = 3 ChangeEventType_LOGIN ChangeEventType = 4 ChangeEventType_LOGOUT ChangeEventType = 5 )
func (ChangeEventType) Descriptor ¶
func (ChangeEventType) Descriptor() protoreflect.EnumDescriptor
func (ChangeEventType) Enum ¶
func (x ChangeEventType) Enum() *ChangeEventType
func (ChangeEventType) EnumDescriptor
deprecated
func (ChangeEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChangeEventType.Descriptor instead.
func (ChangeEventType) Number ¶
func (x ChangeEventType) Number() protoreflect.EnumNumber
func (ChangeEventType) String ¶
func (x ChangeEventType) String() string
func (ChangeEventType) Type ¶
func (ChangeEventType) Type() protoreflect.EnumType
type CountRoleResponse ¶
type CountRoleResponse struct { Count int32 `protobuf:"varint,1,opt,name=Count,proto3" json:"Count,omitempty"` // contains filtered or unexported fields }
func (*CountRoleResponse) Descriptor
deprecated
func (*CountRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use CountRoleResponse.ProtoReflect.Descriptor instead.
func (*CountRoleResponse) GetCount ¶
func (x *CountRoleResponse) GetCount() int32
func (*CountRoleResponse) ProtoMessage ¶
func (*CountRoleResponse) ProtoMessage()
func (*CountRoleResponse) ProtoReflect ¶
func (x *CountRoleResponse) ProtoReflect() protoreflect.Message
func (*CountRoleResponse) Reset ¶
func (x *CountRoleResponse) Reset()
func (*CountRoleResponse) String ¶
func (x *CountRoleResponse) String() string
func (*CountRoleResponse) Validate ¶
func (this *CountRoleResponse) Validate() error
type CountUserResponse ¶
type CountUserResponse struct { Count int32 `protobuf:"varint,1,opt,name=Count,proto3" json:"Count,omitempty"` // contains filtered or unexported fields }
func (*CountUserResponse) Descriptor
deprecated
func (*CountUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use CountUserResponse.ProtoReflect.Descriptor instead.
func (*CountUserResponse) GetCount ¶
func (x *CountUserResponse) GetCount() int32
func (*CountUserResponse) ProtoMessage ¶
func (*CountUserResponse) ProtoMessage()
func (*CountUserResponse) ProtoReflect ¶
func (x *CountUserResponse) ProtoReflect() protoreflect.Message
func (*CountUserResponse) Reset ¶
func (x *CountUserResponse) Reset()
func (*CountUserResponse) String ¶
func (x *CountUserResponse) String() string
func (*CountUserResponse) Validate ¶
func (this *CountUserResponse) Validate() error
type CreateACLRequest ¶
type CreateACLRequest struct { ACL *ACL `protobuf:"bytes,1,opt,name=ACL,proto3" json:"ACL,omitempty"` ExpiresIn int64 `protobuf:"varint,2,opt,name=ExpiresIn,proto3" json:"ExpiresIn,omitempty"` // contains filtered or unexported fields }
*****************************************************************************
ACL Messages structure
*****************************************************************************
func (*CreateACLRequest) Descriptor
deprecated
func (*CreateACLRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateACLRequest.ProtoReflect.Descriptor instead.
func (*CreateACLRequest) GetACL ¶
func (x *CreateACLRequest) GetACL() *ACL
func (*CreateACLRequest) GetExpiresIn ¶
func (x *CreateACLRequest) GetExpiresIn() int64
func (*CreateACLRequest) ProtoMessage ¶
func (*CreateACLRequest) ProtoMessage()
func (*CreateACLRequest) ProtoReflect ¶
func (x *CreateACLRequest) ProtoReflect() protoreflect.Message
func (*CreateACLRequest) Reset ¶
func (x *CreateACLRequest) Reset()
func (*CreateACLRequest) String ¶
func (x *CreateACLRequest) String() string
func (*CreateACLRequest) Validate ¶
func (this *CreateACLRequest) Validate() error
type CreateACLResponse ¶
type CreateACLResponse struct { ACL *ACL `protobuf:"bytes,1,opt,name=ACL,proto3" json:"ACL,omitempty"` // contains filtered or unexported fields }
func (*CreateACLResponse) Descriptor
deprecated
func (*CreateACLResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateACLResponse.ProtoReflect.Descriptor instead.
func (*CreateACLResponse) GetACL ¶
func (x *CreateACLResponse) GetACL() *ACL
func (*CreateACLResponse) ProtoMessage ¶
func (*CreateACLResponse) ProtoMessage()
func (*CreateACLResponse) ProtoReflect ¶
func (x *CreateACLResponse) ProtoReflect() protoreflect.Message
func (*CreateACLResponse) Reset ¶
func (x *CreateACLResponse) Reset()
func (*CreateACLResponse) String ¶
func (x *CreateACLResponse) String() string
func (*CreateACLResponse) Validate ¶
func (this *CreateACLResponse) Validate() error
type CreateRoleRequest ¶
type CreateRoleRequest struct { Role *Role `protobuf:"bytes,1,opt,name=Role,proto3" json:"Role,omitempty"` // contains filtered or unexported fields }
*****************************************************************************
Messages structure
*****************************************************************************
func (*CreateRoleRequest) Descriptor
deprecated
func (*CreateRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoleRequest.ProtoReflect.Descriptor instead.
func (*CreateRoleRequest) GetRole ¶
func (x *CreateRoleRequest) GetRole() *Role
func (*CreateRoleRequest) ProtoMessage ¶
func (*CreateRoleRequest) ProtoMessage()
func (*CreateRoleRequest) ProtoReflect ¶
func (x *CreateRoleRequest) ProtoReflect() protoreflect.Message
func (*CreateRoleRequest) Reset ¶
func (x *CreateRoleRequest) Reset()
func (*CreateRoleRequest) String ¶
func (x *CreateRoleRequest) String() string
func (*CreateRoleRequest) Validate ¶
func (this *CreateRoleRequest) Validate() error
type CreateRoleResponse ¶
type CreateRoleResponse struct { Role *Role `protobuf:"bytes,1,opt,name=Role,proto3" json:"Role,omitempty"` // contains filtered or unexported fields }
func (*CreateRoleResponse) Descriptor
deprecated
func (*CreateRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoleResponse.ProtoReflect.Descriptor instead.
func (*CreateRoleResponse) GetRole ¶
func (x *CreateRoleResponse) GetRole() *Role
func (*CreateRoleResponse) ProtoMessage ¶
func (*CreateRoleResponse) ProtoMessage()
func (*CreateRoleResponse) ProtoReflect ¶
func (x *CreateRoleResponse) ProtoReflect() protoreflect.Message
func (*CreateRoleResponse) Reset ¶
func (x *CreateRoleResponse) Reset()
func (*CreateRoleResponse) String ¶
func (x *CreateRoleResponse) String() string
func (*CreateRoleResponse) Validate ¶
func (this *CreateRoleResponse) Validate() error
type CreateUserRequest ¶
type CreateUserRequest struct { User *User `protobuf:"bytes,1,opt,name=User,proto3" json:"User,omitempty"` // contains filtered or unexported fields }
*****************************************************************************
Messages structure
*****************************************************************************
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetUser ¶
func (x *CreateUserRequest) GetUser() *User
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
func (*CreateUserRequest) Validate ¶
func (this *CreateUserRequest) Validate() error
type CreateUserResponse ¶
type CreateUserResponse struct { User *User `protobuf:"bytes,1,opt,name=User,proto3" json:"User,omitempty"` // contains filtered or unexported fields }
func (*CreateUserResponse) Descriptor
deprecated
func (*CreateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
func (*CreateUserResponse) GetUser ¶
func (x *CreateUserResponse) GetUser() *User
func (*CreateUserResponse) ProtoMessage ¶
func (*CreateUserResponse) ProtoMessage()
func (*CreateUserResponse) ProtoReflect ¶
func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
func (*CreateUserResponse) Reset ¶
func (x *CreateUserResponse) Reset()
func (*CreateUserResponse) String ¶
func (x *CreateUserResponse) String() string
func (*CreateUserResponse) Validate ¶
func (this *CreateUserResponse) Validate() error
type CreateWorkspaceRequest ¶
type CreateWorkspaceRequest struct { Workspace *Workspace `protobuf:"bytes,1,opt,name=Workspace,proto3" json:"Workspace,omitempty"` // contains filtered or unexported fields }
*****************************************************************************
Messages structure
*****************************************************************************
func (*CreateWorkspaceRequest) Descriptor
deprecated
func (*CreateWorkspaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateWorkspaceRequest.ProtoReflect.Descriptor instead.
func (*CreateWorkspaceRequest) GetWorkspace ¶
func (x *CreateWorkspaceRequest) GetWorkspace() *Workspace
func (*CreateWorkspaceRequest) ProtoMessage ¶
func (*CreateWorkspaceRequest) ProtoMessage()
func (*CreateWorkspaceRequest) ProtoReflect ¶
func (x *CreateWorkspaceRequest) ProtoReflect() protoreflect.Message
func (*CreateWorkspaceRequest) Reset ¶
func (x *CreateWorkspaceRequest) Reset()
func (*CreateWorkspaceRequest) String ¶
func (x *CreateWorkspaceRequest) String() string
func (*CreateWorkspaceRequest) Validate ¶
func (this *CreateWorkspaceRequest) Validate() error
type CreateWorkspaceResponse ¶
type CreateWorkspaceResponse struct { Workspace *Workspace `protobuf:"bytes,1,opt,name=Workspace,proto3" json:"Workspace,omitempty"` // contains filtered or unexported fields }
func (*CreateWorkspaceResponse) Descriptor
deprecated
func (*CreateWorkspaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateWorkspaceResponse.ProtoReflect.Descriptor instead.
func (*CreateWorkspaceResponse) GetWorkspace ¶
func (x *CreateWorkspaceResponse) GetWorkspace() *Workspace
func (*CreateWorkspaceResponse) ProtoMessage ¶
func (*CreateWorkspaceResponse) ProtoMessage()
func (*CreateWorkspaceResponse) ProtoReflect ¶
func (x *CreateWorkspaceResponse) ProtoReflect() protoreflect.Message
func (*CreateWorkspaceResponse) Reset ¶
func (x *CreateWorkspaceResponse) Reset()
func (*CreateWorkspaceResponse) String ¶
func (x *CreateWorkspaceResponse) String() string
func (*CreateWorkspaceResponse) Validate ¶
func (this *CreateWorkspaceResponse) Validate() error
type DeleteACLRequest ¶
type DeleteACLRequest struct { Query *service.Query `protobuf:"bytes,1,opt,name=Query,proto3" json:"Query,omitempty"` ExpiredAfter int64 `protobuf:"varint,2,opt,name=ExpiredAfter,proto3" json:"ExpiredAfter,omitempty"` ExpiredBefore int64 `protobuf:"varint,3,opt,name=ExpiredBefore,proto3" json:"ExpiredBefore,omitempty"` // contains filtered or unexported fields }
func (*DeleteACLRequest) Descriptor
deprecated
func (*DeleteACLRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteACLRequest.ProtoReflect.Descriptor instead.
func (*DeleteACLRequest) GetExpiredAfter ¶ added in v4.2.0
func (x *DeleteACLRequest) GetExpiredAfter() int64
func (*DeleteACLRequest) GetExpiredBefore ¶ added in v4.2.0
func (x *DeleteACLRequest) GetExpiredBefore() int64
func (*DeleteACLRequest) GetQuery ¶
func (x *DeleteACLRequest) GetQuery() *service.Query
func (*DeleteACLRequest) ProtoMessage ¶
func (*DeleteACLRequest) ProtoMessage()
func (*DeleteACLRequest) ProtoReflect ¶
func (x *DeleteACLRequest) ProtoReflect() protoreflect.Message
func (*DeleteACLRequest) Reset ¶
func (x *DeleteACLRequest) Reset()
func (*DeleteACLRequest) String ¶
func (x *DeleteACLRequest) String() string
func (*DeleteACLRequest) Validate ¶
func (this *DeleteACLRequest) Validate() error
type DeleteACLResponse ¶
type DeleteACLResponse struct { RowsDeleted int64 `protobuf:"varint,1,opt,name=RowsDeleted,proto3" json:"RowsDeleted,omitempty"` // contains filtered or unexported fields }
func (*DeleteACLResponse) Descriptor
deprecated
func (*DeleteACLResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteACLResponse.ProtoReflect.Descriptor instead.
func (*DeleteACLResponse) GetRowsDeleted ¶
func (x *DeleteACLResponse) GetRowsDeleted() int64
func (*DeleteACLResponse) ProtoMessage ¶
func (*DeleteACLResponse) ProtoMessage()
func (*DeleteACLResponse) ProtoReflect ¶
func (x *DeleteACLResponse) ProtoReflect() protoreflect.Message
func (*DeleteACLResponse) Reset ¶
func (x *DeleteACLResponse) Reset()
func (*DeleteACLResponse) String ¶
func (x *DeleteACLResponse) String() string
func (*DeleteACLResponse) Validate ¶
func (this *DeleteACLResponse) Validate() error
type DeletePolicyGroupRequest ¶
type DeletePolicyGroupRequest struct { PolicyGroup *PolicyGroup `protobuf:"bytes,1,opt,name=PolicyGroup,proto3" json:"PolicyGroup,omitempty"` // contains filtered or unexported fields }
func (*DeletePolicyGroupRequest) Descriptor
deprecated
func (*DeletePolicyGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePolicyGroupRequest.ProtoReflect.Descriptor instead.
func (*DeletePolicyGroupRequest) GetPolicyGroup ¶
func (x *DeletePolicyGroupRequest) GetPolicyGroup() *PolicyGroup
func (*DeletePolicyGroupRequest) ProtoMessage ¶
func (*DeletePolicyGroupRequest) ProtoMessage()
func (*DeletePolicyGroupRequest) ProtoReflect ¶
func (x *DeletePolicyGroupRequest) ProtoReflect() protoreflect.Message
func (*DeletePolicyGroupRequest) Reset ¶
func (x *DeletePolicyGroupRequest) Reset()
func (*DeletePolicyGroupRequest) String ¶
func (x *DeletePolicyGroupRequest) String() string
func (*DeletePolicyGroupRequest) Validate ¶
func (this *DeletePolicyGroupRequest) Validate() error
type DeletePolicyGroupResponse ¶
type DeletePolicyGroupResponse struct { Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"` // contains filtered or unexported fields }
func (*DeletePolicyGroupResponse) Descriptor
deprecated
func (*DeletePolicyGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeletePolicyGroupResponse.ProtoReflect.Descriptor instead.
func (*DeletePolicyGroupResponse) GetSuccess ¶
func (x *DeletePolicyGroupResponse) GetSuccess() bool
func (*DeletePolicyGroupResponse) ProtoMessage ¶
func (*DeletePolicyGroupResponse) ProtoMessage()
func (*DeletePolicyGroupResponse) ProtoReflect ¶
func (x *DeletePolicyGroupResponse) ProtoReflect() protoreflect.Message
func (*DeletePolicyGroupResponse) Reset ¶
func (x *DeletePolicyGroupResponse) Reset()
func (*DeletePolicyGroupResponse) String ¶
func (x *DeletePolicyGroupResponse) String() string
func (*DeletePolicyGroupResponse) Validate ¶
func (this *DeletePolicyGroupResponse) Validate() error
type DeleteRoleRequest ¶
type DeleteRoleRequest struct { Query *service.Query `protobuf:"bytes,1,opt,name=Query,proto3" json:"Query,omitempty"` // contains filtered or unexported fields }
func (*DeleteRoleRequest) Descriptor
deprecated
func (*DeleteRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoleRequest.ProtoReflect.Descriptor instead.
func (*DeleteRoleRequest) GetQuery ¶
func (x *DeleteRoleRequest) GetQuery() *service.Query
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 (this *DeleteRoleRequest) Validate() error
type DeleteRoleResponse ¶
type DeleteRoleResponse struct { RowsDeleted int64 `protobuf:"varint,1,opt,name=RowsDeleted,proto3" json:"RowsDeleted,omitempty"` // contains filtered or unexported fields }
func (*DeleteRoleResponse) Descriptor
deprecated
func (*DeleteRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoleResponse.ProtoReflect.Descriptor instead.
func (*DeleteRoleResponse) GetRowsDeleted ¶
func (x *DeleteRoleResponse) GetRowsDeleted() int64
func (*DeleteRoleResponse) ProtoMessage ¶
func (*DeleteRoleResponse) ProtoMessage()
func (*DeleteRoleResponse) ProtoReflect ¶
func (x *DeleteRoleResponse) ProtoReflect() protoreflect.Message
func (*DeleteRoleResponse) Reset ¶
func (x *DeleteRoleResponse) Reset()
func (*DeleteRoleResponse) String ¶
func (x *DeleteRoleResponse) String() string
func (*DeleteRoleResponse) Validate ¶
func (this *DeleteRoleResponse) Validate() error
type DeleteUserRequest ¶
type DeleteUserRequest struct { Query *service.Query `protobuf:"bytes,1,opt,name=Query,proto3" json:"Query,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetQuery ¶
func (x *DeleteUserRequest) GetQuery() *service.Query
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (x *DeleteUserRequest) String() string
func (*DeleteUserRequest) Validate ¶
func (this *DeleteUserRequest) Validate() error
type DeleteUserResponse ¶
type DeleteUserResponse struct { RowsDeleted int64 `protobuf:"varint,1,opt,name=RowsDeleted,proto3" json:"RowsDeleted,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserResponse) Descriptor
deprecated
func (*DeleteUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.
func (*DeleteUserResponse) GetRowsDeleted ¶
func (x *DeleteUserResponse) GetRowsDeleted() int64
func (*DeleteUserResponse) ProtoMessage ¶
func (*DeleteUserResponse) ProtoMessage()
func (*DeleteUserResponse) ProtoReflect ¶
func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message
func (*DeleteUserResponse) Reset ¶
func (x *DeleteUserResponse) Reset()
func (*DeleteUserResponse) String ¶
func (x *DeleteUserResponse) String() string
func (*DeleteUserResponse) Validate ¶
func (this *DeleteUserResponse) Validate() error
type DeleteWorkspaceRequest ¶
type DeleteWorkspaceRequest struct { Query *service.Query `protobuf:"bytes,1,opt,name=Query,proto3" json:"Query,omitempty"` // contains filtered or unexported fields }
func (*DeleteWorkspaceRequest) Descriptor
deprecated
func (*DeleteWorkspaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteWorkspaceRequest.ProtoReflect.Descriptor instead.
func (*DeleteWorkspaceRequest) GetQuery ¶
func (x *DeleteWorkspaceRequest) GetQuery() *service.Query
func (*DeleteWorkspaceRequest) ProtoMessage ¶
func (*DeleteWorkspaceRequest) ProtoMessage()
func (*DeleteWorkspaceRequest) ProtoReflect ¶
func (x *DeleteWorkspaceRequest) ProtoReflect() protoreflect.Message
func (*DeleteWorkspaceRequest) Reset ¶
func (x *DeleteWorkspaceRequest) Reset()
func (*DeleteWorkspaceRequest) String ¶
func (x *DeleteWorkspaceRequest) String() string
func (*DeleteWorkspaceRequest) Validate ¶
func (this *DeleteWorkspaceRequest) Validate() error
type DeleteWorkspaceResponse ¶
type DeleteWorkspaceResponse struct { RowsDeleted int64 `protobuf:"varint,1,opt,name=RowsDeleted,proto3" json:"RowsDeleted,omitempty"` // contains filtered or unexported fields }
func (*DeleteWorkspaceResponse) Descriptor
deprecated
func (*DeleteWorkspaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteWorkspaceResponse.ProtoReflect.Descriptor instead.
func (*DeleteWorkspaceResponse) GetRowsDeleted ¶
func (x *DeleteWorkspaceResponse) GetRowsDeleted() int64
func (*DeleteWorkspaceResponse) ProtoMessage ¶
func (*DeleteWorkspaceResponse) ProtoMessage()
func (*DeleteWorkspaceResponse) ProtoReflect ¶
func (x *DeleteWorkspaceResponse) ProtoReflect() protoreflect.Message
func (*DeleteWorkspaceResponse) Reset ¶
func (x *DeleteWorkspaceResponse) Reset()
func (*DeleteWorkspaceResponse) String ¶
func (x *DeleteWorkspaceResponse) String() string
func (*DeleteWorkspaceResponse) Validate ¶
func (this *DeleteWorkspaceResponse) Validate() error
type ExpireACLRequest ¶
type ExpireACLRequest struct { Query *service.Query `protobuf:"bytes,1,opt,name=Query,proto3" json:"Query,omitempty"` Timestamp int64 `protobuf:"varint,2,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"` // contains filtered or unexported fields }
func (*ExpireACLRequest) Descriptor
deprecated
func (*ExpireACLRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExpireACLRequest.ProtoReflect.Descriptor instead.
func (*ExpireACLRequest) GetQuery ¶
func (x *ExpireACLRequest) GetQuery() *service.Query
func (*ExpireACLRequest) GetTimestamp ¶
func (x *ExpireACLRequest) GetTimestamp() int64
func (*ExpireACLRequest) ProtoMessage ¶
func (*ExpireACLRequest) ProtoMessage()
func (*ExpireACLRequest) ProtoReflect ¶
func (x *ExpireACLRequest) ProtoReflect() protoreflect.Message
func (*ExpireACLRequest) Reset ¶
func (x *ExpireACLRequest) Reset()
func (*ExpireACLRequest) String ¶
func (x *ExpireACLRequest) String() string
func (*ExpireACLRequest) Validate ¶
func (this *ExpireACLRequest) Validate() error
type ExpireACLResponse ¶
type ExpireACLResponse struct { Rows int64 `protobuf:"varint,1,opt,name=Rows,proto3" json:"Rows,omitempty"` // contains filtered or unexported fields }
func (*ExpireACLResponse) Descriptor
deprecated
func (*ExpireACLResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExpireACLResponse.ProtoReflect.Descriptor instead.
func (*ExpireACLResponse) GetRows ¶
func (x *ExpireACLResponse) GetRows() int64
func (*ExpireACLResponse) ProtoMessage ¶
func (*ExpireACLResponse) ProtoMessage()
func (*ExpireACLResponse) ProtoReflect ¶
func (x *ExpireACLResponse) ProtoReflect() protoreflect.Message
func (*ExpireACLResponse) Reset ¶
func (x *ExpireACLResponse) Reset()
func (*ExpireACLResponse) String ¶
func (x *ExpireACLResponse) String() string
func (*ExpireACLResponse) Validate ¶
func (this *ExpireACLResponse) Validate() error
type ListPolicyGroupsRequest ¶
type ListPolicyGroupsRequest struct { Filter string `protobuf:"bytes,1,opt,name=Filter,proto3" json:"Filter,omitempty"` // contains filtered or unexported fields }
func (*ListPolicyGroupsRequest) Descriptor
deprecated
func (*ListPolicyGroupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPolicyGroupsRequest.ProtoReflect.Descriptor instead.
func (*ListPolicyGroupsRequest) GetFilter ¶ added in v4.0.1
func (x *ListPolicyGroupsRequest) GetFilter() string
func (*ListPolicyGroupsRequest) ProtoMessage ¶
func (*ListPolicyGroupsRequest) ProtoMessage()
func (*ListPolicyGroupsRequest) ProtoReflect ¶
func (x *ListPolicyGroupsRequest) ProtoReflect() protoreflect.Message
func (*ListPolicyGroupsRequest) Reset ¶
func (x *ListPolicyGroupsRequest) Reset()
func (*ListPolicyGroupsRequest) String ¶
func (x *ListPolicyGroupsRequest) String() string
func (*ListPolicyGroupsRequest) Validate ¶
func (this *ListPolicyGroupsRequest) Validate() error
type ListPolicyGroupsResponse ¶
type ListPolicyGroupsResponse struct { PolicyGroups []*PolicyGroup `protobuf:"bytes,1,rep,name=PolicyGroups,proto3" json:"PolicyGroups,omitempty"` Total int32 `protobuf:"varint,2,opt,name=Total,proto3" json:"Total,omitempty"` // contains filtered or unexported fields }
func (*ListPolicyGroupsResponse) Descriptor
deprecated
func (*ListPolicyGroupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPolicyGroupsResponse.ProtoReflect.Descriptor instead.
func (*ListPolicyGroupsResponse) GetPolicyGroups ¶
func (x *ListPolicyGroupsResponse) GetPolicyGroups() []*PolicyGroup
func (*ListPolicyGroupsResponse) GetTotal ¶
func (x *ListPolicyGroupsResponse) GetTotal() int32
func (*ListPolicyGroupsResponse) ProtoMessage ¶
func (*ListPolicyGroupsResponse) ProtoMessage()
func (*ListPolicyGroupsResponse) ProtoReflect ¶
func (x *ListPolicyGroupsResponse) ProtoReflect() protoreflect.Message
func (*ListPolicyGroupsResponse) Reset ¶
func (x *ListPolicyGroupsResponse) Reset()
func (*ListPolicyGroupsResponse) String ¶
func (x *ListPolicyGroupsResponse) String() string
func (*ListPolicyGroupsResponse) Validate ¶
func (this *ListPolicyGroupsResponse) Validate() error
type ListUserMetaNamespaceRequest ¶
type ListUserMetaNamespaceRequest struct {
// contains filtered or unexported fields
}
List All MetaNamespaces
func (*ListUserMetaNamespaceRequest) Descriptor
deprecated
func (*ListUserMetaNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUserMetaNamespaceRequest.ProtoReflect.Descriptor instead.
func (*ListUserMetaNamespaceRequest) ProtoMessage ¶
func (*ListUserMetaNamespaceRequest) ProtoMessage()
func (*ListUserMetaNamespaceRequest) ProtoReflect ¶
func (x *ListUserMetaNamespaceRequest) ProtoReflect() protoreflect.Message
func (*ListUserMetaNamespaceRequest) Reset ¶
func (x *ListUserMetaNamespaceRequest) Reset()
func (*ListUserMetaNamespaceRequest) String ¶
func (x *ListUserMetaNamespaceRequest) String() string
func (*ListUserMetaNamespaceRequest) Validate ¶
func (this *ListUserMetaNamespaceRequest) Validate() error
type ListUserMetaNamespaceResponse ¶
type ListUserMetaNamespaceResponse struct { UserMetaNamespace *UserMetaNamespace `protobuf:"bytes,1,opt,name=UserMetaNamespace,proto3" json:"UserMetaNamespace,omitempty"` // contains filtered or unexported fields }
Collection of results
func (*ListUserMetaNamespaceResponse) Descriptor
deprecated
func (*ListUserMetaNamespaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUserMetaNamespaceResponse.ProtoReflect.Descriptor instead.
func (*ListUserMetaNamespaceResponse) GetUserMetaNamespace ¶
func (x *ListUserMetaNamespaceResponse) GetUserMetaNamespace() *UserMetaNamespace
func (*ListUserMetaNamespaceResponse) ProtoMessage ¶
func (*ListUserMetaNamespaceResponse) ProtoMessage()
func (*ListUserMetaNamespaceResponse) ProtoReflect ¶
func (x *ListUserMetaNamespaceResponse) ProtoReflect() protoreflect.Message
func (*ListUserMetaNamespaceResponse) Reset ¶
func (x *ListUserMetaNamespaceResponse) Reset()
func (*ListUserMetaNamespaceResponse) String ¶
func (x *ListUserMetaNamespaceResponse) String() string
func (*ListUserMetaNamespaceResponse) Validate ¶
func (this *ListUserMetaNamespaceResponse) Validate() error
type MetaNamespaceDefinition ¶
type NamedACLServiceServer ¶
type NamedACLServiceServer interface { ACLServiceServer Name() string }
type NamedPolicyEngineServiceServer ¶
type NamedPolicyEngineServiceServer interface { PolicyEngineServiceServer Name() string }
type NamedRoleServiceServer ¶
type NamedRoleServiceServer interface { RoleServiceServer Name() string }
type NamedUserMetaServiceServer ¶
type NamedUserMetaServiceServer interface { UserMetaServiceServer Name() string }
type NamedUserServiceServer ¶
type NamedUserServiceServer interface { UserServiceServer Name() string }
type NamedWorkspaceServiceServer ¶
type NamedWorkspaceServiceServer interface { WorkspaceServiceServer Name() string }
type NodeType ¶
type NodeType int32
func (NodeType) Descriptor ¶
func (NodeType) Descriptor() protoreflect.EnumDescriptor
func (NodeType) EnumDescriptor
deprecated
func (NodeType) Number ¶
func (x NodeType) Number() protoreflect.EnumNumber
func (NodeType) Type ¶
func (NodeType) Type() protoreflect.EnumType
type Policy ¶
type Policy struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Subjects []string `protobuf:"bytes,3,rep,name=subjects,proto3" json:"subjects,omitempty"` Resources []string `protobuf:"bytes,4,rep,name=resources,proto3" json:"resources,omitempty"` Actions []string `protobuf:"bytes,5,rep,name=actions,proto3" json:"actions,omitempty"` Effect PolicyEffect `protobuf:"varint,6,opt,name=effect,proto3,enum=idm.PolicyEffect" json:"effect,omitempty"` Conditions map[string]*PolicyCondition `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Policy) Descriptor
deprecated
func (*Policy) GetActions ¶
func (*Policy) GetConditions ¶
func (x *Policy) GetConditions() map[string]*PolicyCondition
func (*Policy) GetDescription ¶
func (*Policy) GetEffect ¶
func (x *Policy) GetEffect() PolicyEffect
func (*Policy) GetResources ¶
func (*Policy) GetSubjects ¶
func (*Policy) MarshalLogObject ¶
func (policy *Policy) MarshalLogObject(encoder zapcore.ObjectEncoder) error
MarshalLogObject implements custom marshalling for logs
func (*Policy) ProtoMessage ¶
func (*Policy) ProtoMessage()
func (*Policy) ProtoReflect ¶
func (x *Policy) ProtoReflect() protoreflect.Message
type PolicyCondition ¶
type PolicyCondition struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` JsonOptions string `protobuf:"bytes,2,opt,name=jsonOptions,proto3" json:"jsonOptions,omitempty"` // contains filtered or unexported fields }
func (*PolicyCondition) Descriptor
deprecated
func (*PolicyCondition) Descriptor() ([]byte, []int)
Deprecated: Use PolicyCondition.ProtoReflect.Descriptor instead.
func (*PolicyCondition) GetJsonOptions ¶
func (x *PolicyCondition) GetJsonOptions() string
func (*PolicyCondition) GetType ¶
func (x *PolicyCondition) GetType() string
func (*PolicyCondition) ProtoMessage ¶
func (*PolicyCondition) ProtoMessage()
func (*PolicyCondition) ProtoReflect ¶
func (x *PolicyCondition) ProtoReflect() protoreflect.Message
func (*PolicyCondition) Reset ¶
func (x *PolicyCondition) Reset()
func (*PolicyCondition) String ¶
func (x *PolicyCondition) String() string
func (*PolicyCondition) Validate ¶
func (this *PolicyCondition) Validate() error
type PolicyEffect ¶
type PolicyEffect int32
const ( PolicyEffect_unknown PolicyEffect = 0 PolicyEffect_deny PolicyEffect = 1 PolicyEffect_allow PolicyEffect = 2 )
func (PolicyEffect) Descriptor ¶
func (PolicyEffect) Descriptor() protoreflect.EnumDescriptor
func (PolicyEffect) Enum ¶
func (x PolicyEffect) Enum() *PolicyEffect
func (PolicyEffect) EnumDescriptor
deprecated
func (PolicyEffect) EnumDescriptor() ([]byte, []int)
Deprecated: Use PolicyEffect.Descriptor instead.
func (PolicyEffect) Number ¶
func (x PolicyEffect) Number() protoreflect.EnumNumber
func (PolicyEffect) String ¶
func (x PolicyEffect) String() string
func (PolicyEffect) Type ¶
func (PolicyEffect) Type() protoreflect.EnumType
type PolicyEngineRequest ¶
type PolicyEngineRequest struct { Resource string `protobuf:"bytes,1,opt,name=Resource,proto3" json:"Resource,omitempty"` Action string `protobuf:"bytes,2,opt,name=Action,proto3" json:"Action,omitempty"` Subjects []string `protobuf:"bytes,3,rep,name=Subjects,proto3" json:"Subjects,omitempty"` Context map[string]string `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
************************************ Messages Structures ************************************
func (*PolicyEngineRequest) Descriptor
deprecated
func (*PolicyEngineRequest) Descriptor() ([]byte, []int)
Deprecated: Use PolicyEngineRequest.ProtoReflect.Descriptor instead.
func (*PolicyEngineRequest) GetAction ¶
func (x *PolicyEngineRequest) GetAction() string
func (*PolicyEngineRequest) GetContext ¶
func (x *PolicyEngineRequest) GetContext() map[string]string
func (*PolicyEngineRequest) GetResource ¶
func (x *PolicyEngineRequest) GetResource() string
func (*PolicyEngineRequest) GetSubjects ¶
func (x *PolicyEngineRequest) GetSubjects() []string
func (*PolicyEngineRequest) ProtoMessage ¶
func (*PolicyEngineRequest) ProtoMessage()
func (*PolicyEngineRequest) ProtoReflect ¶
func (x *PolicyEngineRequest) ProtoReflect() protoreflect.Message
func (*PolicyEngineRequest) Reset ¶
func (x *PolicyEngineRequest) Reset()
func (*PolicyEngineRequest) String ¶
func (x *PolicyEngineRequest) String() string
func (*PolicyEngineRequest) Validate ¶
func (this *PolicyEngineRequest) Validate() error
type PolicyEngineResponse ¶
type PolicyEngineResponse struct { Allowed bool `protobuf:"varint,1,opt,name=Allowed,proto3" json:"Allowed,omitempty"` ExplicitDeny bool `protobuf:"varint,2,opt,name=ExplicitDeny,proto3" json:"ExplicitDeny,omitempty"` DefaultDeny bool `protobuf:"varint,3,opt,name=DefaultDeny,proto3" json:"DefaultDeny,omitempty"` // contains filtered or unexported fields }
func (*PolicyEngineResponse) Descriptor
deprecated
func (*PolicyEngineResponse) Descriptor() ([]byte, []int)
Deprecated: Use PolicyEngineResponse.ProtoReflect.Descriptor instead.
func (*PolicyEngineResponse) GetAllowed ¶
func (x *PolicyEngineResponse) GetAllowed() bool
func (*PolicyEngineResponse) GetDefaultDeny ¶
func (x *PolicyEngineResponse) GetDefaultDeny() bool
func (*PolicyEngineResponse) GetExplicitDeny ¶
func (x *PolicyEngineResponse) GetExplicitDeny() bool
func (*PolicyEngineResponse) ProtoMessage ¶
func (*PolicyEngineResponse) ProtoMessage()
func (*PolicyEngineResponse) ProtoReflect ¶
func (x *PolicyEngineResponse) ProtoReflect() protoreflect.Message
func (*PolicyEngineResponse) Reset ¶
func (x *PolicyEngineResponse) Reset()
func (*PolicyEngineResponse) String ¶
func (x *PolicyEngineResponse) String() string
func (*PolicyEngineResponse) Validate ¶
func (this *PolicyEngineResponse) Validate() error
type PolicyEngineServiceClient ¶
type PolicyEngineServiceClient interface { IsAllowed(ctx context.Context, in *PolicyEngineRequest, opts ...grpc.CallOption) (*PolicyEngineResponse, error) StorePolicyGroup(ctx context.Context, in *StorePolicyGroupRequest, opts ...grpc.CallOption) (*StorePolicyGroupResponse, error) ListPolicyGroups(ctx context.Context, in *ListPolicyGroupsRequest, opts ...grpc.CallOption) (*ListPolicyGroupsResponse, error) StreamPolicyGroups(ctx context.Context, in *ListPolicyGroupsRequest, opts ...grpc.CallOption) (PolicyEngineService_StreamPolicyGroupsClient, error) DeletePolicyGroup(ctx context.Context, in *DeletePolicyGroupRequest, opts ...grpc.CallOption) (*DeletePolicyGroupResponse, error) }
PolicyEngineServiceClient is the client API for PolicyEngineService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPolicyEngineServiceClient ¶
func NewPolicyEngineServiceClient(cc grpc.ClientConnInterface) PolicyEngineServiceClient
type PolicyEngineServiceEnhancedServer ¶
type PolicyEngineServiceEnhancedServer map[string]NamedPolicyEngineServiceServer
func (PolicyEngineServiceEnhancedServer) DeletePolicyGroup ¶
func (m PolicyEngineServiceEnhancedServer) DeletePolicyGroup(ctx context.Context, r *DeletePolicyGroupRequest) (*DeletePolicyGroupResponse, error)
func (PolicyEngineServiceEnhancedServer) IsAllowed ¶
func (m PolicyEngineServiceEnhancedServer) IsAllowed(ctx context.Context, r *PolicyEngineRequest) (*PolicyEngineResponse, error)
func (PolicyEngineServiceEnhancedServer) ListPolicyGroups ¶
func (m PolicyEngineServiceEnhancedServer) ListPolicyGroups(ctx context.Context, r *ListPolicyGroupsRequest) (*ListPolicyGroupsResponse, error)
func (PolicyEngineServiceEnhancedServer) StorePolicyGroup ¶
func (m PolicyEngineServiceEnhancedServer) StorePolicyGroup(ctx context.Context, r *StorePolicyGroupRequest) (*StorePolicyGroupResponse, error)
func (PolicyEngineServiceEnhancedServer) StreamPolicyGroups ¶ added in v4.1.4
func (m PolicyEngineServiceEnhancedServer) StreamPolicyGroups(r *ListPolicyGroupsRequest, s PolicyEngineService_StreamPolicyGroupsServer) error
type PolicyEngineServiceServer ¶
type PolicyEngineServiceServer interface { IsAllowed(context.Context, *PolicyEngineRequest) (*PolicyEngineResponse, error) StorePolicyGroup(context.Context, *StorePolicyGroupRequest) (*StorePolicyGroupResponse, error) ListPolicyGroups(context.Context, *ListPolicyGroupsRequest) (*ListPolicyGroupsResponse, error) StreamPolicyGroups(*ListPolicyGroupsRequest, PolicyEngineService_StreamPolicyGroupsServer) error DeletePolicyGroup(context.Context, *DeletePolicyGroupRequest) (*DeletePolicyGroupResponse, error) // contains filtered or unexported methods }
PolicyEngineServiceServer is the server API for PolicyEngineService service. All implementations must embed UnimplementedPolicyEngineServiceServer for forward compatibility
type PolicyEngineServiceStub ¶
type PolicyEngineServiceStub struct {
PolicyEngineServiceServer
}
func (*PolicyEngineServiceStub) Invoke ¶
func (s *PolicyEngineServiceStub) Invoke(ctx context.Context, method string, args interface{}, reply interface{}, opts ...grpc.CallOption) error
func (*PolicyEngineServiceStub) NewStream ¶
func (s *PolicyEngineServiceStub) NewStream(ctx context.Context, desc *grpc.StreamDesc, method string, opts ...grpc.CallOption) (grpc.ClientStream, error)
type PolicyEngineServiceStub_StreamPolicyGroupsStreamer ¶ added in v4.1.4
type PolicyEngineServiceStub_StreamPolicyGroupsStreamer struct {
stubs.ClientServerStreamerCore
}
func (*PolicyEngineServiceStub_StreamPolicyGroupsStreamer) Send ¶ added in v4.1.4
func (s *PolicyEngineServiceStub_StreamPolicyGroupsStreamer) Send(response *PolicyGroup) error
type PolicyEngineService_StreamPolicyGroupsClient ¶ added in v4.1.4
type PolicyEngineService_StreamPolicyGroupsClient interface { Recv() (*PolicyGroup, error) grpc.ClientStream }
type PolicyEngineService_StreamPolicyGroupsServer ¶ added in v4.1.4
type PolicyEngineService_StreamPolicyGroupsServer interface { Send(*PolicyGroup) error grpc.ServerStream }
type PolicyGroup ¶
type PolicyGroup struct { Uuid string `protobuf:"bytes,1,opt,name=Uuid,proto3" json:"Uuid,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"` OwnerUuid string `protobuf:"bytes,4,opt,name=OwnerUuid,proto3" json:"OwnerUuid,omitempty"` ResourceGroup PolicyResourceGroup `protobuf:"varint,5,opt,name=ResourceGroup,proto3,enum=idm.PolicyResourceGroup" json:"ResourceGroup,omitempty"` LastUpdated int32 `protobuf:"varint,6,opt,name=LastUpdated,proto3" json:"LastUpdated,omitempty"` Policies []*Policy `protobuf:"bytes,7,rep,name=Policies,proto3" json:"Policies,omitempty"` // contains filtered or unexported fields }
func (*PolicyGroup) Descriptor
deprecated
func (*PolicyGroup) Descriptor() ([]byte, []int)
Deprecated: Use PolicyGroup.ProtoReflect.Descriptor instead.
func (*PolicyGroup) GetDescription ¶
func (x *PolicyGroup) GetDescription() string
func (*PolicyGroup) GetLastUpdated ¶
func (x *PolicyGroup) GetLastUpdated() int32
func (*PolicyGroup) GetName ¶
func (x *PolicyGroup) GetName() string
func (*PolicyGroup) GetOwnerUuid ¶
func (x *PolicyGroup) GetOwnerUuid() string
func (*PolicyGroup) GetPolicies ¶
func (x *PolicyGroup) GetPolicies() []*Policy
func (*PolicyGroup) GetResourceGroup ¶
func (x *PolicyGroup) GetResourceGroup() PolicyResourceGroup
func (*PolicyGroup) GetUuid ¶
func (x *PolicyGroup) GetUuid() string
func (*PolicyGroup) MarshalLogObject ¶
func (pg *PolicyGroup) MarshalLogObject(encoder zapcore.ObjectEncoder) error
MarshalLogObject implements custom marshalling for logs
func (*PolicyGroup) ProtoMessage ¶
func (*PolicyGroup) ProtoMessage()
func (*PolicyGroup) ProtoReflect ¶
func (x *PolicyGroup) ProtoReflect() protoreflect.Message
func (*PolicyGroup) Reset ¶
func (x *PolicyGroup) Reset()
func (*PolicyGroup) String ¶
func (x *PolicyGroup) String() string
func (*PolicyGroup) Validate ¶
func (this *PolicyGroup) Validate() error
func (*PolicyGroup) Zap ¶
func (pg *PolicyGroup) Zap() zapcore.Field
Zap simply returns a zapcore.Field object populated with this policy group under a standard key
func (*PolicyGroup) ZapUuid ¶
func (pg *PolicyGroup) ZapUuid() zapcore.Field
ZapUuid simply calls zap.String() with PolicyGroupUuid standard key and this policy group uuid
type PolicyResourceGroup ¶
type PolicyResourceGroup int32
const ( PolicyResourceGroup_rest PolicyResourceGroup = 0 PolicyResourceGroup_acl PolicyResourceGroup = 1 PolicyResourceGroup_oidc PolicyResourceGroup = 2 )
func (PolicyResourceGroup) Descriptor ¶
func (PolicyResourceGroup) Descriptor() protoreflect.EnumDescriptor
func (PolicyResourceGroup) Enum ¶
func (x PolicyResourceGroup) Enum() *PolicyResourceGroup
func (PolicyResourceGroup) EnumDescriptor
deprecated
func (PolicyResourceGroup) EnumDescriptor() ([]byte, []int)
Deprecated: Use PolicyResourceGroup.Descriptor instead.
func (PolicyResourceGroup) Number ¶
func (x PolicyResourceGroup) Number() protoreflect.EnumNumber
func (PolicyResourceGroup) String ¶
func (x PolicyResourceGroup) String() string
func (PolicyResourceGroup) Type ¶
func (PolicyResourceGroup) Type() protoreflect.EnumType
type RestoreACLRequest ¶ added in v4.2.0
type RestoreACLRequest struct { Query *service.Query `protobuf:"bytes,1,opt,name=Query,proto3" json:"Query,omitempty"` ExpiredAfter int64 `protobuf:"varint,2,opt,name=ExpiredAfter,proto3" json:"ExpiredAfter,omitempty"` ExpiredBefore int64 `protobuf:"varint,3,opt,name=ExpiredBefore,proto3" json:"ExpiredBefore,omitempty"` // contains filtered or unexported fields }
func (*RestoreACLRequest) Descriptor
deprecated
added in
v4.2.0
func (*RestoreACLRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreACLRequest.ProtoReflect.Descriptor instead.
func (*RestoreACLRequest) GetExpiredAfter ¶ added in v4.2.0
func (x *RestoreACLRequest) GetExpiredAfter() int64
func (*RestoreACLRequest) GetExpiredBefore ¶ added in v4.2.0
func (x *RestoreACLRequest) GetExpiredBefore() int64
func (*RestoreACLRequest) GetQuery ¶ added in v4.2.0
func (x *RestoreACLRequest) GetQuery() *service.Query
func (*RestoreACLRequest) ProtoMessage ¶ added in v4.2.0
func (*RestoreACLRequest) ProtoMessage()
func (*RestoreACLRequest) ProtoReflect ¶ added in v4.2.0
func (x *RestoreACLRequest) ProtoReflect() protoreflect.Message
func (*RestoreACLRequest) Reset ¶ added in v4.2.0
func (x *RestoreACLRequest) Reset()
func (*RestoreACLRequest) String ¶ added in v4.2.0
func (x *RestoreACLRequest) String() string
func (*RestoreACLRequest) Validate ¶ added in v4.2.0
func (this *RestoreACLRequest) Validate() error
type RestoreACLResponse ¶ added in v4.2.0
type RestoreACLResponse struct { Rows int64 `protobuf:"varint,1,opt,name=Rows,proto3" json:"Rows,omitempty"` // contains filtered or unexported fields }
func (*RestoreACLResponse) Descriptor
deprecated
added in
v4.2.0
func (*RestoreACLResponse) Descriptor() ([]byte, []int)
Deprecated: Use RestoreACLResponse.ProtoReflect.Descriptor instead.
func (*RestoreACLResponse) GetRows ¶ added in v4.2.0
func (x *RestoreACLResponse) GetRows() int64
func (*RestoreACLResponse) ProtoMessage ¶ added in v4.2.0
func (*RestoreACLResponse) ProtoMessage()
func (*RestoreACLResponse) ProtoReflect ¶ added in v4.2.0
func (x *RestoreACLResponse) ProtoReflect() protoreflect.Message
func (*RestoreACLResponse) Reset ¶ added in v4.2.0
func (x *RestoreACLResponse) Reset()
func (*RestoreACLResponse) String ¶ added in v4.2.0
func (x *RestoreACLResponse) String() string
func (*RestoreACLResponse) Validate ¶ added in v4.2.0
func (this *RestoreACLResponse) Validate() error
type Role ¶
type Role struct { // Unique identifier of this role Uuid string `protobuf:"bytes,1,opt,name=Uuid,proto3" json:"Uuid,omitempty"` // Label of this role Label string `protobuf:"bytes,2,opt,name=Label,proto3" json:"Label,omitempty"` // Whether this role represents a user team or not IsTeam bool `protobuf:"varint,3,opt,name=IsTeam,proto3" json:"IsTeam,omitempty"` // Whether this role is attached to a Group object GroupRole bool `protobuf:"varint,4,opt,name=GroupRole,proto3" json:"GroupRole,omitempty"` // Whether this role is attached to a User object UserRole bool `protobuf:"varint,5,opt,name=UserRole,proto3" json:"UserRole,omitempty"` // Last modification date of the role LastUpdated int32 `protobuf:"varint,6,opt,name=LastUpdated,proto3" json:"LastUpdated,omitempty"` // List of profiles (standard, shared, admin) on which the role will be automatically applied AutoApplies []string `protobuf:"bytes,7,rep,name=AutoApplies,proto3" json:"AutoApplies,omitempty"` // List of policies for securing this role access Policies []*service.ResourcePolicy `protobuf:"bytes,8,rep,name=Policies,proto3" json:"Policies,omitempty"` // Whether the policies resolve into an editable state PoliciesContextEditable bool `protobuf:"varint,9,opt,name=PoliciesContextEditable,proto3" json:"PoliciesContextEditable,omitempty"` // Is used in a stack of roles, this one will always be applied last. ForceOverride bool `protobuf:"varint,10,opt,name=ForceOverride,proto3" json:"ForceOverride,omitempty"` // contains filtered or unexported fields }
Role represents a generic set of permissions that can be applied to any users or groups.
func (*Role) Descriptor
deprecated
func (*Role) GetAutoApplies ¶
func (*Role) GetForceOverride ¶
func (*Role) GetGroupRole ¶
func (*Role) GetLastUpdated ¶
func (*Role) GetPolicies ¶
func (x *Role) GetPolicies() []*service.ResourcePolicy
func (*Role) GetPoliciesContextEditable ¶
func (*Role) GetUserRole ¶
func (*Role) MarshalLogObject ¶
func (role *Role) MarshalLogObject(encoder zapcore.ObjectEncoder) error
MarshalLogObject implements custom marshalling for logs
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) ProtoReflect ¶
func (x *Role) ProtoReflect() protoreflect.Message
type RoleServiceClient ¶
type RoleServiceClient interface { CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...grpc.CallOption) (*CreateRoleResponse, error) DeleteRole(ctx context.Context, in *DeleteRoleRequest, opts ...grpc.CallOption) (*DeleteRoleResponse, error) SearchRole(ctx context.Context, in *SearchRoleRequest, opts ...grpc.CallOption) (RoleService_SearchRoleClient, error) StreamRole(ctx context.Context, opts ...grpc.CallOption) (RoleService_StreamRoleClient, error) CountRole(ctx context.Context, in *SearchRoleRequest, opts ...grpc.CallOption) (*CountRoleResponse, error) }
RoleServiceClient is the client API for RoleService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRoleServiceClient ¶
func NewRoleServiceClient(cc grpc.ClientConnInterface) RoleServiceClient
type RoleServiceEnhancedServer ¶
type RoleServiceEnhancedServer map[string]NamedRoleServiceServer
func (RoleServiceEnhancedServer) CountRole ¶
func (m RoleServiceEnhancedServer) CountRole(ctx context.Context, r *SearchRoleRequest) (*CountRoleResponse, error)
func (RoleServiceEnhancedServer) CreateRole ¶
func (m RoleServiceEnhancedServer) CreateRole(ctx context.Context, r *CreateRoleRequest) (*CreateRoleResponse, error)
func (RoleServiceEnhancedServer) DeleteRole ¶
func (m RoleServiceEnhancedServer) DeleteRole(ctx context.Context, r *DeleteRoleRequest) (*DeleteRoleResponse, error)
func (RoleServiceEnhancedServer) SearchRole ¶
func (m RoleServiceEnhancedServer) SearchRole(r *SearchRoleRequest, s RoleService_SearchRoleServer) error
func (RoleServiceEnhancedServer) StreamRole ¶
func (m RoleServiceEnhancedServer) StreamRole(s RoleService_StreamRoleServer) error
type RoleServiceServer ¶
type RoleServiceServer interface { CreateRole(context.Context, *CreateRoleRequest) (*CreateRoleResponse, error) DeleteRole(context.Context, *DeleteRoleRequest) (*DeleteRoleResponse, error) SearchRole(*SearchRoleRequest, RoleService_SearchRoleServer) error StreamRole(RoleService_StreamRoleServer) error CountRole(context.Context, *SearchRoleRequest) (*CountRoleResponse, error) // contains filtered or unexported methods }
RoleServiceServer is the server API for RoleService service. All implementations must embed UnimplementedRoleServiceServer for forward compatibility
type RoleServiceStub ¶
type RoleServiceStub struct {
RoleServiceServer
}
func (*RoleServiceStub) Invoke ¶
func (s *RoleServiceStub) Invoke(ctx context.Context, method string, args interface{}, reply interface{}, opts ...grpc.CallOption) error
func (*RoleServiceStub) NewStream ¶
func (s *RoleServiceStub) NewStream(ctx context.Context, desc *grpc.StreamDesc, method string, opts ...grpc.CallOption) (grpc.ClientStream, error)
type RoleServiceStub_SearchRoleStreamer ¶
type RoleServiceStub_SearchRoleStreamer struct {
stubs.ClientServerStreamerCore
}
func (*RoleServiceStub_SearchRoleStreamer) Send ¶
func (s *RoleServiceStub_SearchRoleStreamer) Send(response *SearchRoleResponse) error
type RoleServiceStub_StreamRoleStreamer ¶
type RoleServiceStub_StreamRoleStreamer struct {
stubs.BidirServerStreamerCore
}
func (*RoleServiceStub_StreamRoleStreamer) Recv ¶
func (s *RoleServiceStub_StreamRoleStreamer) Recv() (*SearchRoleRequest, error)
func (*RoleServiceStub_StreamRoleStreamer) Send ¶
func (s *RoleServiceStub_StreamRoleStreamer) Send(response *SearchRoleResponse) error
type RoleService_SearchRoleClient ¶
type RoleService_SearchRoleClient interface { Recv() (*SearchRoleResponse, error) grpc.ClientStream }
type RoleService_SearchRoleServer ¶
type RoleService_SearchRoleServer interface { Send(*SearchRoleResponse) error grpc.ServerStream }
type RoleService_StreamRoleClient ¶
type RoleService_StreamRoleClient interface { Send(*SearchRoleRequest) error Recv() (*SearchRoleResponse, error) grpc.ClientStream }
type RoleService_StreamRoleServer ¶
type RoleService_StreamRoleServer interface { Send(*SearchRoleResponse) error Recv() (*SearchRoleRequest, error) grpc.ServerStream }
type RoleSingleQuery ¶
type RoleSingleQuery struct { // Look for roles by Uuid Uuid []string `protobuf:"bytes,1,rep,name=Uuid,proto3" json:"Uuid,omitempty"` // Look for roles by label, eventually using "wildchar" Label string `protobuf:"bytes,2,opt,name=Label,proto3" json:"Label,omitempty"` // Look up for roles associated with a Team IsTeam bool `protobuf:"varint,3,opt,name=IsTeam,proto3" json:"IsTeam,omitempty"` // Look for roles associated with a Group IsGroupRole bool `protobuf:"varint,4,opt,name=IsGroupRole,proto3" json:"IsGroupRole,omitempty"` // Look for roles associated with a User IsUserRole bool `protobuf:"varint,5,opt,name=IsUserRole,proto3" json:"IsUserRole,omitempty"` // Look for roles that have any value in the autoApplies field HasAutoApply bool `protobuf:"varint,6,opt,name=HasAutoApply,proto3" json:"HasAutoApply,omitempty"` // Internal - Negate the query Not bool `protobuf:"varint,7,opt,name=not,proto3" json:"not,omitempty"` // contains filtered or unexported fields }
RoleSingleQuery is the basic unit for building queries to Roles.
func (*RoleSingleQuery) Descriptor
deprecated
func (*RoleSingleQuery) Descriptor() ([]byte, []int)
Deprecated: Use RoleSingleQuery.ProtoReflect.Descriptor instead.
func (*RoleSingleQuery) GetHasAutoApply ¶
func (x *RoleSingleQuery) GetHasAutoApply() bool
func (*RoleSingleQuery) GetIsGroupRole ¶
func (x *RoleSingleQuery) GetIsGroupRole() bool
func (*RoleSingleQuery) GetIsTeam ¶
func (x *RoleSingleQuery) GetIsTeam() bool
func (*RoleSingleQuery) GetIsUserRole ¶
func (x *RoleSingleQuery) GetIsUserRole() bool
func (*RoleSingleQuery) GetLabel ¶
func (x *RoleSingleQuery) GetLabel() string
func (*RoleSingleQuery) GetNot ¶
func (x *RoleSingleQuery) GetNot() bool
func (*RoleSingleQuery) GetUuid ¶
func (x *RoleSingleQuery) GetUuid() []string
func (*RoleSingleQuery) Matches ¶
func (m *RoleSingleQuery) Matches(idmObject interface{}) bool
func (*RoleSingleQuery) ProtoMessage ¶
func (*RoleSingleQuery) ProtoMessage()
func (*RoleSingleQuery) ProtoReflect ¶
func (x *RoleSingleQuery) ProtoReflect() protoreflect.Message
func (*RoleSingleQuery) Reset ¶
func (x *RoleSingleQuery) Reset()
func (*RoleSingleQuery) String ¶
func (x *RoleSingleQuery) String() string
func (*RoleSingleQuery) Validate ¶
func (this *RoleSingleQuery) Validate() error
type SearchACLRequest ¶
type SearchACLRequest struct { Query *service.Query `protobuf:"bytes,1,opt,name=Query,proto3" json:"Query,omitempty"` ExpiredAfter int64 `protobuf:"varint,2,opt,name=ExpiredAfter,proto3" json:"ExpiredAfter,omitempty"` ExpiredBefore int64 `protobuf:"varint,3,opt,name=ExpiredBefore,proto3" json:"ExpiredBefore,omitempty"` // contains filtered or unexported fields }
func (*SearchACLRequest) Descriptor
deprecated
func (*SearchACLRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchACLRequest.ProtoReflect.Descriptor instead.
func (*SearchACLRequest) GetExpiredAfter ¶ added in v4.2.0
func (x *SearchACLRequest) GetExpiredAfter() int64
func (*SearchACLRequest) GetExpiredBefore ¶ added in v4.2.0
func (x *SearchACLRequest) GetExpiredBefore() int64
func (*SearchACLRequest) GetQuery ¶
func (x *SearchACLRequest) GetQuery() *service.Query
func (*SearchACLRequest) ProtoMessage ¶
func (*SearchACLRequest) ProtoMessage()
func (*SearchACLRequest) ProtoReflect ¶
func (x *SearchACLRequest) ProtoReflect() protoreflect.Message
func (*SearchACLRequest) Reset ¶
func (x *SearchACLRequest) Reset()
func (*SearchACLRequest) String ¶
func (x *SearchACLRequest) String() string
func (*SearchACLRequest) Validate ¶
func (this *SearchACLRequest) Validate() error
type SearchACLResponse ¶
type SearchACLResponse struct { ACL *ACL `protobuf:"bytes,1,opt,name=ACL,proto3" json:"ACL,omitempty"` // contains filtered or unexported fields }
func (*SearchACLResponse) Descriptor
deprecated
func (*SearchACLResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchACLResponse.ProtoReflect.Descriptor instead.
func (*SearchACLResponse) GetACL ¶
func (x *SearchACLResponse) GetACL() *ACL
func (*SearchACLResponse) ProtoMessage ¶
func (*SearchACLResponse) ProtoMessage()
func (*SearchACLResponse) ProtoReflect ¶
func (x *SearchACLResponse) ProtoReflect() protoreflect.Message
func (*SearchACLResponse) Reset ¶
func (x *SearchACLResponse) Reset()
func (*SearchACLResponse) String ¶
func (x *SearchACLResponse) String() string
func (*SearchACLResponse) Validate ¶
func (this *SearchACLResponse) Validate() error
type SearchRoleRequest ¶
type SearchRoleRequest struct { Query *service.Query `protobuf:"bytes,1,opt,name=Query,proto3" json:"Query,omitempty"` // contains filtered or unexported fields }
func (*SearchRoleRequest) Descriptor
deprecated
func (*SearchRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchRoleRequest.ProtoReflect.Descriptor instead.
func (*SearchRoleRequest) GetQuery ¶
func (x *SearchRoleRequest) GetQuery() *service.Query
func (*SearchRoleRequest) ProtoMessage ¶
func (*SearchRoleRequest) ProtoMessage()
func (*SearchRoleRequest) ProtoReflect ¶
func (x *SearchRoleRequest) ProtoReflect() protoreflect.Message
func (*SearchRoleRequest) Reset ¶
func (x *SearchRoleRequest) Reset()
func (*SearchRoleRequest) String ¶
func (x *SearchRoleRequest) String() string
func (*SearchRoleRequest) Validate ¶
func (this *SearchRoleRequest) Validate() error
type SearchRoleResponse ¶
type SearchRoleResponse struct { Role *Role `protobuf:"bytes,1,opt,name=Role,proto3" json:"Role,omitempty"` // contains filtered or unexported fields }
func (*SearchRoleResponse) Descriptor
deprecated
func (*SearchRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchRoleResponse.ProtoReflect.Descriptor instead.
func (*SearchRoleResponse) GetRole ¶
func (x *SearchRoleResponse) GetRole() *Role
func (*SearchRoleResponse) ProtoMessage ¶
func (*SearchRoleResponse) ProtoMessage()
func (*SearchRoleResponse) ProtoReflect ¶
func (x *SearchRoleResponse) ProtoReflect() protoreflect.Message
func (*SearchRoleResponse) Reset ¶
func (x *SearchRoleResponse) Reset()
func (*SearchRoleResponse) String ¶
func (x *SearchRoleResponse) String() string
func (*SearchRoleResponse) Validate ¶
func (this *SearchRoleResponse) Validate() error
type SearchUserMetaRequest ¶
type SearchUserMetaRequest struct { // Look for meta by their unique identifier MetaUuids []string `protobuf:"bytes,1,rep,name=MetaUuids,proto3" json:"MetaUuids,omitempty"` // Look for all meta for a list of nodes NodeUuids []string `protobuf:"bytes,2,rep,name=NodeUuids,proto3" json:"NodeUuids,omitempty"` // Filter meta by their namespace Namespace string `protobuf:"bytes,3,opt,name=Namespace,proto3" json:"Namespace,omitempty"` // Filter meta by owner (in the sense of the policies) ResourceSubjectOwner string `protobuf:"bytes,4,opt,name=ResourceSubjectOwner,proto3" json:"ResourceSubjectOwner,omitempty"` // Filter meta by policies query ResourceQuery *service.ResourcePolicyQuery `protobuf:"bytes,5,opt,name=ResourceQuery,proto3" json:"ResourceQuery,omitempty"` // contains filtered or unexported fields }
Request for searching UserMeta by NodeUuid or by Namespace
func (*SearchUserMetaRequest) Descriptor
deprecated
func (*SearchUserMetaRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchUserMetaRequest.ProtoReflect.Descriptor instead.
func (*SearchUserMetaRequest) GetMetaUuids ¶
func (x *SearchUserMetaRequest) GetMetaUuids() []string
func (*SearchUserMetaRequest) GetNamespace ¶
func (x *SearchUserMetaRequest) GetNamespace() string
func (*SearchUserMetaRequest) GetNodeUuids ¶
func (x *SearchUserMetaRequest) GetNodeUuids() []string
func (*SearchUserMetaRequest) GetResourceQuery ¶
func (x *SearchUserMetaRequest) GetResourceQuery() *service.ResourcePolicyQuery
func (*SearchUserMetaRequest) GetResourceSubjectOwner ¶
func (x *SearchUserMetaRequest) GetResourceSubjectOwner() string
func (*SearchUserMetaRequest) ProtoMessage ¶
func (*SearchUserMetaRequest) ProtoMessage()
func (*SearchUserMetaRequest) ProtoReflect ¶
func (x *SearchUserMetaRequest) ProtoReflect() protoreflect.Message
func (*SearchUserMetaRequest) Reset ¶
func (x *SearchUserMetaRequest) Reset()
func (*SearchUserMetaRequest) String ¶
func (x *SearchUserMetaRequest) String() string
func (*SearchUserMetaRequest) Validate ¶
func (this *SearchUserMetaRequest) Validate() error
type SearchUserMetaResponse ¶
type SearchUserMetaResponse struct { UserMeta *UserMeta `protobuf:"bytes,1,opt,name=UserMeta,proto3" json:"UserMeta,omitempty"` // contains filtered or unexported fields }
Streamed container for the UserMeta results
func (*SearchUserMetaResponse) Descriptor
deprecated
func (*SearchUserMetaResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchUserMetaResponse.ProtoReflect.Descriptor instead.
func (*SearchUserMetaResponse) GetUserMeta ¶
func (x *SearchUserMetaResponse) GetUserMeta() *UserMeta
func (*SearchUserMetaResponse) ProtoMessage ¶
func (*SearchUserMetaResponse) ProtoMessage()
func (*SearchUserMetaResponse) ProtoReflect ¶
func (x *SearchUserMetaResponse) ProtoReflect() protoreflect.Message
func (*SearchUserMetaResponse) Reset ¶
func (x *SearchUserMetaResponse) Reset()
func (*SearchUserMetaResponse) String ¶
func (x *SearchUserMetaResponse) String() string
func (*SearchUserMetaResponse) Validate ¶
func (this *SearchUserMetaResponse) Validate() error
type SearchUserRequest ¶
type SearchUserRequest struct { Query *service.Query `protobuf:"bytes,1,opt,name=Query,proto3" json:"Query,omitempty"` // contains filtered or unexported fields }
func (*SearchUserRequest) Descriptor
deprecated
func (*SearchUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchUserRequest.ProtoReflect.Descriptor instead.
func (*SearchUserRequest) GetQuery ¶
func (x *SearchUserRequest) GetQuery() *service.Query
func (*SearchUserRequest) ProtoMessage ¶
func (*SearchUserRequest) ProtoMessage()
func (*SearchUserRequest) ProtoReflect ¶
func (x *SearchUserRequest) ProtoReflect() protoreflect.Message
func (*SearchUserRequest) Reset ¶
func (x *SearchUserRequest) Reset()
func (*SearchUserRequest) String ¶
func (x *SearchUserRequest) String() string
func (*SearchUserRequest) Validate ¶
func (this *SearchUserRequest) Validate() error
type SearchUserResponse ¶
type SearchUserResponse struct { User *User `protobuf:"bytes,1,opt,name=User,proto3" json:"User,omitempty"` // contains filtered or unexported fields }
func (*SearchUserResponse) Descriptor
deprecated
func (*SearchUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchUserResponse.ProtoReflect.Descriptor instead.
func (*SearchUserResponse) GetUser ¶
func (x *SearchUserResponse) GetUser() *User
func (*SearchUserResponse) ProtoMessage ¶
func (*SearchUserResponse) ProtoMessage()
func (*SearchUserResponse) ProtoReflect ¶
func (x *SearchUserResponse) ProtoReflect() protoreflect.Message
func (*SearchUserResponse) Reset ¶
func (x *SearchUserResponse) Reset()
func (*SearchUserResponse) String ¶
func (x *SearchUserResponse) String() string
func (*SearchUserResponse) Validate ¶
func (this *SearchUserResponse) Validate() error
type SearchWorkspaceRequest ¶
type SearchWorkspaceRequest struct { Query *service.Query `protobuf:"bytes,1,opt,name=Query,proto3" json:"Query,omitempty"` // contains filtered or unexported fields }
func (*SearchWorkspaceRequest) Descriptor
deprecated
func (*SearchWorkspaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchWorkspaceRequest.ProtoReflect.Descriptor instead.
func (*SearchWorkspaceRequest) GetQuery ¶
func (x *SearchWorkspaceRequest) GetQuery() *service.Query
func (*SearchWorkspaceRequest) ProtoMessage ¶
func (*SearchWorkspaceRequest) ProtoMessage()
func (*SearchWorkspaceRequest) ProtoReflect ¶
func (x *SearchWorkspaceRequest) ProtoReflect() protoreflect.Message
func (*SearchWorkspaceRequest) Reset ¶
func (x *SearchWorkspaceRequest) Reset()
func (*SearchWorkspaceRequest) String ¶
func (x *SearchWorkspaceRequest) String() string
func (*SearchWorkspaceRequest) Validate ¶
func (this *SearchWorkspaceRequest) Validate() error
type SearchWorkspaceResponse ¶
type SearchWorkspaceResponse struct { Workspace *Workspace `protobuf:"bytes,1,opt,name=Workspace,proto3" json:"Workspace,omitempty"` // contains filtered or unexported fields }
func (*SearchWorkspaceResponse) Descriptor
deprecated
func (*SearchWorkspaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchWorkspaceResponse.ProtoReflect.Descriptor instead.
func (*SearchWorkspaceResponse) GetWorkspace ¶
func (x *SearchWorkspaceResponse) GetWorkspace() *Workspace
func (*SearchWorkspaceResponse) ProtoMessage ¶
func (*SearchWorkspaceResponse) ProtoMessage()
func (*SearchWorkspaceResponse) ProtoReflect ¶
func (x *SearchWorkspaceResponse) ProtoReflect() protoreflect.Message
func (*SearchWorkspaceResponse) Reset ¶
func (x *SearchWorkspaceResponse) Reset()
func (*SearchWorkspaceResponse) String ¶
func (x *SearchWorkspaceResponse) String() string
func (*SearchWorkspaceResponse) Validate ¶
func (this *SearchWorkspaceResponse) Validate() error
type StorePolicyGroupRequest ¶
type StorePolicyGroupRequest struct { PolicyGroup *PolicyGroup `protobuf:"bytes,1,opt,name=PolicyGroup,proto3" json:"PolicyGroup,omitempty"` // contains filtered or unexported fields }
Request / Response Messages
func (*StorePolicyGroupRequest) Descriptor
deprecated
func (*StorePolicyGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use StorePolicyGroupRequest.ProtoReflect.Descriptor instead.
func (*StorePolicyGroupRequest) GetPolicyGroup ¶
func (x *StorePolicyGroupRequest) GetPolicyGroup() *PolicyGroup
func (*StorePolicyGroupRequest) ProtoMessage ¶
func (*StorePolicyGroupRequest) ProtoMessage()
func (*StorePolicyGroupRequest) ProtoReflect ¶
func (x *StorePolicyGroupRequest) ProtoReflect() protoreflect.Message
func (*StorePolicyGroupRequest) Reset ¶
func (x *StorePolicyGroupRequest) Reset()
func (*StorePolicyGroupRequest) String ¶
func (x *StorePolicyGroupRequest) String() string
func (*StorePolicyGroupRequest) Validate ¶
func (this *StorePolicyGroupRequest) Validate() error
type StorePolicyGroupResponse ¶
type StorePolicyGroupResponse struct { PolicyGroup *PolicyGroup `protobuf:"bytes,1,opt,name=PolicyGroup,proto3" json:"PolicyGroup,omitempty"` // contains filtered or unexported fields }
func (*StorePolicyGroupResponse) Descriptor
deprecated
func (*StorePolicyGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use StorePolicyGroupResponse.ProtoReflect.Descriptor instead.
func (*StorePolicyGroupResponse) GetPolicyGroup ¶
func (x *StorePolicyGroupResponse) GetPolicyGroup() *PolicyGroup
func (*StorePolicyGroupResponse) ProtoMessage ¶
func (*StorePolicyGroupResponse) ProtoMessage()
func (*StorePolicyGroupResponse) ProtoReflect ¶
func (x *StorePolicyGroupResponse) ProtoReflect() protoreflect.Message
func (*StorePolicyGroupResponse) Reset ¶
func (x *StorePolicyGroupResponse) Reset()
func (*StorePolicyGroupResponse) String ¶
func (x *StorePolicyGroupResponse) String() string
func (*StorePolicyGroupResponse) Validate ¶
func (this *StorePolicyGroupResponse) Validate() error
type UnimplementedACLServiceServer ¶
type UnimplementedACLServiceServer struct { }
UnimplementedACLServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedACLServiceServer) CreateACL ¶
func (UnimplementedACLServiceServer) CreateACL(context.Context, *CreateACLRequest) (*CreateACLResponse, error)
func (UnimplementedACLServiceServer) DeleteACL ¶
func (UnimplementedACLServiceServer) DeleteACL(context.Context, *DeleteACLRequest) (*DeleteACLResponse, error)
func (UnimplementedACLServiceServer) ExpireACL ¶
func (UnimplementedACLServiceServer) ExpireACL(context.Context, *ExpireACLRequest) (*ExpireACLResponse, error)
func (UnimplementedACLServiceServer) RestoreACL ¶ added in v4.2.0
func (UnimplementedACLServiceServer) RestoreACL(context.Context, *RestoreACLRequest) (*RestoreACLResponse, error)
func (UnimplementedACLServiceServer) SearchACL ¶
func (UnimplementedACLServiceServer) SearchACL(*SearchACLRequest, ACLService_SearchACLServer) error
func (UnimplementedACLServiceServer) StreamACL ¶
func (UnimplementedACLServiceServer) StreamACL(ACLService_StreamACLServer) error
type UnimplementedPolicyEngineServiceServer ¶
type UnimplementedPolicyEngineServiceServer struct { }
UnimplementedPolicyEngineServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedPolicyEngineServiceServer) DeletePolicyGroup ¶
func (UnimplementedPolicyEngineServiceServer) DeletePolicyGroup(context.Context, *DeletePolicyGroupRequest) (*DeletePolicyGroupResponse, error)
func (UnimplementedPolicyEngineServiceServer) IsAllowed ¶
func (UnimplementedPolicyEngineServiceServer) IsAllowed(context.Context, *PolicyEngineRequest) (*PolicyEngineResponse, error)
func (UnimplementedPolicyEngineServiceServer) ListPolicyGroups ¶
func (UnimplementedPolicyEngineServiceServer) ListPolicyGroups(context.Context, *ListPolicyGroupsRequest) (*ListPolicyGroupsResponse, error)
func (UnimplementedPolicyEngineServiceServer) StorePolicyGroup ¶
func (UnimplementedPolicyEngineServiceServer) StorePolicyGroup(context.Context, *StorePolicyGroupRequest) (*StorePolicyGroupResponse, error)
func (UnimplementedPolicyEngineServiceServer) StreamPolicyGroups ¶ added in v4.1.4
func (UnimplementedPolicyEngineServiceServer) StreamPolicyGroups(*ListPolicyGroupsRequest, PolicyEngineService_StreamPolicyGroupsServer) error
type UnimplementedRoleServiceServer ¶
type UnimplementedRoleServiceServer struct { }
UnimplementedRoleServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedRoleServiceServer) CountRole ¶
func (UnimplementedRoleServiceServer) CountRole(context.Context, *SearchRoleRequest) (*CountRoleResponse, error)
func (UnimplementedRoleServiceServer) CreateRole ¶
func (UnimplementedRoleServiceServer) CreateRole(context.Context, *CreateRoleRequest) (*CreateRoleResponse, error)
func (UnimplementedRoleServiceServer) DeleteRole ¶
func (UnimplementedRoleServiceServer) DeleteRole(context.Context, *DeleteRoleRequest) (*DeleteRoleResponse, error)
func (UnimplementedRoleServiceServer) SearchRole ¶
func (UnimplementedRoleServiceServer) SearchRole(*SearchRoleRequest, RoleService_SearchRoleServer) error
func (UnimplementedRoleServiceServer) StreamRole ¶
func (UnimplementedRoleServiceServer) StreamRole(RoleService_StreamRoleServer) error
type UnimplementedUserMetaServiceServer ¶
type UnimplementedUserMetaServiceServer struct { }
UnimplementedUserMetaServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUserMetaServiceServer) ListUserMetaNamespace ¶
func (UnimplementedUserMetaServiceServer) ListUserMetaNamespace(*ListUserMetaNamespaceRequest, UserMetaService_ListUserMetaNamespaceServer) error
func (UnimplementedUserMetaServiceServer) SearchUserMeta ¶
func (UnimplementedUserMetaServiceServer) SearchUserMeta(*SearchUserMetaRequest, UserMetaService_SearchUserMetaServer) error
func (UnimplementedUserMetaServiceServer) UpdateUserMeta ¶
func (UnimplementedUserMetaServiceServer) UpdateUserMeta(context.Context, *UpdateUserMetaRequest) (*UpdateUserMetaResponse, error)
func (UnimplementedUserMetaServiceServer) UpdateUserMetaNamespace ¶
func (UnimplementedUserMetaServiceServer) UpdateUserMetaNamespace(context.Context, *UpdateUserMetaNamespaceRequest) (*UpdateUserMetaNamespaceResponse, error)
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUserServiceServer) BindUser ¶
func (UnimplementedUserServiceServer) BindUser(context.Context, *BindUserRequest) (*BindUserResponse, error)
func (UnimplementedUserServiceServer) CountUser ¶
func (UnimplementedUserServiceServer) CountUser(context.Context, *SearchUserRequest) (*CountUserResponse, error)
func (UnimplementedUserServiceServer) CreateUser ¶
func (UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
func (UnimplementedUserServiceServer) DeleteUser ¶
func (UnimplementedUserServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
func (UnimplementedUserServiceServer) SearchUser ¶
func (UnimplementedUserServiceServer) SearchUser(*SearchUserRequest, UserService_SearchUserServer) error
func (UnimplementedUserServiceServer) StreamUser ¶
func (UnimplementedUserServiceServer) StreamUser(UserService_StreamUserServer) error
type UnimplementedWorkspaceServiceServer ¶
type UnimplementedWorkspaceServiceServer struct { }
UnimplementedWorkspaceServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedWorkspaceServiceServer) CreateWorkspace ¶
func (UnimplementedWorkspaceServiceServer) CreateWorkspace(context.Context, *CreateWorkspaceRequest) (*CreateWorkspaceResponse, error)
func (UnimplementedWorkspaceServiceServer) DeleteWorkspace ¶
func (UnimplementedWorkspaceServiceServer) DeleteWorkspace(context.Context, *DeleteWorkspaceRequest) (*DeleteWorkspaceResponse, error)
func (UnimplementedWorkspaceServiceServer) SearchWorkspace ¶
func (UnimplementedWorkspaceServiceServer) SearchWorkspace(*SearchWorkspaceRequest, WorkspaceService_SearchWorkspaceServer) error
func (UnimplementedWorkspaceServiceServer) StreamWorkspace ¶
func (UnimplementedWorkspaceServiceServer) StreamWorkspace(WorkspaceService_StreamWorkspaceServer) error
type UnsafeACLServiceServer ¶
type UnsafeACLServiceServer interface {
// contains filtered or unexported methods
}
UnsafeACLServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ACLServiceServer will result in compilation errors.
type UnsafePolicyEngineServiceServer ¶
type UnsafePolicyEngineServiceServer interface {
// contains filtered or unexported methods
}
UnsafePolicyEngineServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PolicyEngineServiceServer will result in compilation errors.
type UnsafeRoleServiceServer ¶
type UnsafeRoleServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRoleServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RoleServiceServer will result in compilation errors.
type UnsafeUserMetaServiceServer ¶
type UnsafeUserMetaServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserMetaServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserMetaServiceServer will result in compilation errors.
type UnsafeUserServiceServer ¶
type UnsafeUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.
type UnsafeWorkspaceServiceServer ¶
type UnsafeWorkspaceServiceServer interface {
// contains filtered or unexported methods
}
UnsafeWorkspaceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WorkspaceServiceServer will result in compilation errors.
type UpdateUserMetaNamespaceRequest ¶
type UpdateUserMetaNamespaceRequest struct { Operation UpdateUserMetaNamespaceRequest_UserMetaNsOp `protobuf:"varint,1,opt,name=Operation,proto3,enum=idm.UpdateUserMetaNamespaceRequest_UserMetaNsOp" json:"Operation,omitempty"` Namespaces []*UserMetaNamespace `protobuf:"bytes,2,rep,name=Namespaces,proto3" json:"Namespaces,omitempty"` // contains filtered or unexported fields }
Modify UserMetaNamespaces
func (*UpdateUserMetaNamespaceRequest) Descriptor
deprecated
func (*UpdateUserMetaNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserMetaNamespaceRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserMetaNamespaceRequest) GetNamespaces ¶
func (x *UpdateUserMetaNamespaceRequest) GetNamespaces() []*UserMetaNamespace
func (*UpdateUserMetaNamespaceRequest) GetOperation ¶
func (x *UpdateUserMetaNamespaceRequest) GetOperation() UpdateUserMetaNamespaceRequest_UserMetaNsOp
func (*UpdateUserMetaNamespaceRequest) ProtoMessage ¶
func (*UpdateUserMetaNamespaceRequest) ProtoMessage()
func (*UpdateUserMetaNamespaceRequest) ProtoReflect ¶
func (x *UpdateUserMetaNamespaceRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserMetaNamespaceRequest) Reset ¶
func (x *UpdateUserMetaNamespaceRequest) Reset()
func (*UpdateUserMetaNamespaceRequest) String ¶
func (x *UpdateUserMetaNamespaceRequest) String() string
func (*UpdateUserMetaNamespaceRequest) Validate ¶
func (this *UpdateUserMetaNamespaceRequest) Validate() error
type UpdateUserMetaNamespaceRequest_UserMetaNsOp ¶
type UpdateUserMetaNamespaceRequest_UserMetaNsOp int32
const ( UpdateUserMetaNamespaceRequest_PUT UpdateUserMetaNamespaceRequest_UserMetaNsOp = 0 UpdateUserMetaNamespaceRequest_DELETE UpdateUserMetaNamespaceRequest_UserMetaNsOp = 1 )
func (UpdateUserMetaNamespaceRequest_UserMetaNsOp) Descriptor ¶
func (UpdateUserMetaNamespaceRequest_UserMetaNsOp) Descriptor() protoreflect.EnumDescriptor
func (UpdateUserMetaNamespaceRequest_UserMetaNsOp) EnumDescriptor
deprecated
func (UpdateUserMetaNamespaceRequest_UserMetaNsOp) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdateUserMetaNamespaceRequest_UserMetaNsOp.Descriptor instead.
func (UpdateUserMetaNamespaceRequest_UserMetaNsOp) Number ¶
func (x UpdateUserMetaNamespaceRequest_UserMetaNsOp) Number() protoreflect.EnumNumber
func (UpdateUserMetaNamespaceRequest_UserMetaNsOp) String ¶
func (x UpdateUserMetaNamespaceRequest_UserMetaNsOp) String() string
func (UpdateUserMetaNamespaceRequest_UserMetaNsOp) Type ¶
func (UpdateUserMetaNamespaceRequest_UserMetaNsOp) Type() protoreflect.EnumType
type UpdateUserMetaNamespaceResponse ¶
type UpdateUserMetaNamespaceResponse struct { Namespaces []*UserMetaNamespace `protobuf:"bytes,1,rep,name=Namespaces,proto3" json:"Namespaces,omitempty"` // contains filtered or unexported fields }
Response of the
func (*UpdateUserMetaNamespaceResponse) Descriptor
deprecated
func (*UpdateUserMetaNamespaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserMetaNamespaceResponse.ProtoReflect.Descriptor instead.
func (*UpdateUserMetaNamespaceResponse) GetNamespaces ¶
func (x *UpdateUserMetaNamespaceResponse) GetNamespaces() []*UserMetaNamespace
func (*UpdateUserMetaNamespaceResponse) ProtoMessage ¶
func (*UpdateUserMetaNamespaceResponse) ProtoMessage()
func (*UpdateUserMetaNamespaceResponse) ProtoReflect ¶
func (x *UpdateUserMetaNamespaceResponse) ProtoReflect() protoreflect.Message
func (*UpdateUserMetaNamespaceResponse) Reset ¶
func (x *UpdateUserMetaNamespaceResponse) Reset()
func (*UpdateUserMetaNamespaceResponse) String ¶
func (x *UpdateUserMetaNamespaceResponse) String() string
func (*UpdateUserMetaNamespaceResponse) Validate ¶
func (this *UpdateUserMetaNamespaceResponse) Validate() error
type UpdateUserMetaRequest ¶
type UpdateUserMetaRequest struct { // Type of operation to apply (PUT / DELETE) Operation UpdateUserMetaRequest_UserMetaOp `protobuf:"varint,1,opt,name=Operation,proto3,enum=idm.UpdateUserMetaRequest_UserMetaOp" json:"Operation,omitempty"` // List of metadatas to update or delete MetaDatas []*UserMeta `protobuf:"bytes,3,rep,name=MetaDatas,proto3" json:"MetaDatas,omitempty"` // contains filtered or unexported fields }
Request for modifying UserMeta
func (*UpdateUserMetaRequest) Descriptor
deprecated
func (*UpdateUserMetaRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserMetaRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserMetaRequest) GetMetaDatas ¶
func (x *UpdateUserMetaRequest) GetMetaDatas() []*UserMeta
func (*UpdateUserMetaRequest) GetOperation ¶
func (x *UpdateUserMetaRequest) GetOperation() UpdateUserMetaRequest_UserMetaOp
func (*UpdateUserMetaRequest) ProtoMessage ¶
func (*UpdateUserMetaRequest) ProtoMessage()
func (*UpdateUserMetaRequest) ProtoReflect ¶
func (x *UpdateUserMetaRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserMetaRequest) Reset ¶
func (x *UpdateUserMetaRequest) Reset()
func (*UpdateUserMetaRequest) String ¶
func (x *UpdateUserMetaRequest) String() string
func (*UpdateUserMetaRequest) Validate ¶
func (this *UpdateUserMetaRequest) Validate() error
type UpdateUserMetaRequest_UserMetaOp ¶
type UpdateUserMetaRequest_UserMetaOp int32
const ( UpdateUserMetaRequest_PUT UpdateUserMetaRequest_UserMetaOp = 0 UpdateUserMetaRequest_DELETE UpdateUserMetaRequest_UserMetaOp = 1 )
func (UpdateUserMetaRequest_UserMetaOp) Descriptor ¶
func (UpdateUserMetaRequest_UserMetaOp) Descriptor() protoreflect.EnumDescriptor
func (UpdateUserMetaRequest_UserMetaOp) Enum ¶
func (x UpdateUserMetaRequest_UserMetaOp) Enum() *UpdateUserMetaRequest_UserMetaOp
func (UpdateUserMetaRequest_UserMetaOp) EnumDescriptor
deprecated
func (UpdateUserMetaRequest_UserMetaOp) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdateUserMetaRequest_UserMetaOp.Descriptor instead.
func (UpdateUserMetaRequest_UserMetaOp) Number ¶
func (x UpdateUserMetaRequest_UserMetaOp) Number() protoreflect.EnumNumber
func (UpdateUserMetaRequest_UserMetaOp) String ¶
func (x UpdateUserMetaRequest_UserMetaOp) String() string
func (UpdateUserMetaRequest_UserMetaOp) Type ¶
func (UpdateUserMetaRequest_UserMetaOp) Type() protoreflect.EnumType
type UpdateUserMetaResponse ¶
type UpdateUserMetaResponse struct { // List of metadatas MetaDatas []*UserMeta `protobuf:"bytes,3,rep,name=MetaDatas,proto3" json:"MetaDatas,omitempty"` // contains filtered or unexported fields }
Response of UpdateUserMeta service
func (*UpdateUserMetaResponse) Descriptor
deprecated
func (*UpdateUserMetaResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserMetaResponse.ProtoReflect.Descriptor instead.
func (*UpdateUserMetaResponse) GetMetaDatas ¶
func (x *UpdateUserMetaResponse) GetMetaDatas() []*UserMeta
func (*UpdateUserMetaResponse) ProtoMessage ¶
func (*UpdateUserMetaResponse) ProtoMessage()
func (*UpdateUserMetaResponse) ProtoReflect ¶
func (x *UpdateUserMetaResponse) ProtoReflect() protoreflect.Message
func (*UpdateUserMetaResponse) Reset ¶
func (x *UpdateUserMetaResponse) Reset()
func (*UpdateUserMetaResponse) String ¶
func (x *UpdateUserMetaResponse) String() string
func (*UpdateUserMetaResponse) Validate ¶
func (this *UpdateUserMetaResponse) Validate() error
type User ¶
type User struct { // User unique identifier Uuid string `protobuf:"bytes,1,opt,name=Uuid,proto3" json:"Uuid,omitempty"` // Path to the parent group GroupPath string `protobuf:"bytes,2,opt,name=GroupPath,proto3" json:"GroupPath,omitempty"` // A free list of attributes Attributes map[string]string `` /* 161-byte string literal not displayed */ // List of roles applied to this user or group Roles []*Role `protobuf:"bytes,4,rep,name=Roles,proto3" json:"Roles,omitempty"` // User login is used to connect, field is empty for groups Login string `protobuf:"bytes,5,opt,name=Login,proto3" json:"Login,omitempty"` // Password can be passed to be updated (but never read back), field is empty for groups Password string `protobuf:"bytes,6,opt,name=Password,proto3" json:"Password,omitempty"` // OldPassword must be set when a user updates her own password OldPassword string `protobuf:"bytes,11,opt,name=OldPassword,proto3" json:"OldPassword,omitempty"` // Whether this object is a group or a user IsGroup bool `protobuf:"varint,7,opt,name=IsGroup,proto3" json:"IsGroup,omitempty"` // Label of the group, field is empty for users GroupLabel string `protobuf:"bytes,8,opt,name=GroupLabel,proto3" json:"GroupLabel,omitempty"` // Last successful connection timestamp LastConnected int32 `protobuf:"varint,12,opt,name=LastConnected,proto3" json:"LastConnected,omitempty"` // Policies securing access to this user Policies []*service.ResourcePolicy `protobuf:"bytes,9,rep,name=Policies,proto3" json:"Policies,omitempty"` // Context-resolved to quickly check if user is editable or not. PoliciesContextEditable bool `protobuf:"varint,10,opt,name=PoliciesContextEditable,proto3" json:"PoliciesContextEditable,omitempty"` // contains filtered or unexported fields }
User can represent either a User or a Group
func (*User) Descriptor
deprecated
func (*User) GetAttributes ¶
func (*User) GetGroupLabel ¶
func (*User) GetGroupPath ¶
func (*User) GetIsGroup ¶
func (*User) GetLastConnected ¶
func (*User) GetOldPassword ¶
func (*User) GetPassword ¶
func (*User) GetPolicies ¶
func (x *User) GetPolicies() []*service.ResourcePolicy
func (*User) GetPoliciesContextEditable ¶
func (*User) MarshalLogObject ¶
func (user *User) MarshalLogObject(encoder zapcore.ObjectEncoder) error
MarshalLogObject implements custom marshalling for logs
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
func (*User) WithPublicData ¶
func (*User) Zap ¶
Zap simply returns a zapcore.Field object populated with this user under a standard key
type UserMeta ¶
type UserMeta struct { // Unique identifier of the metadata Uuid string `protobuf:"bytes,1,opt,name=Uuid,proto3" json:"Uuid,omitempty"` // Unique identifier of the node to which meta is attached NodeUuid string `protobuf:"bytes,2,opt,name=NodeUuid,proto3" json:"NodeUuid,omitempty"` // Namespace for the metadata Namespace string `protobuf:"bytes,3,opt,name=Namespace,proto3" json:"Namespace,omitempty"` // Json encoded value used to pass any type of values JsonValue string `protobuf:"bytes,4,opt,name=JsonValue,proto3" json:"JsonValue,omitempty"` // Policies for securing access Policies []*service.ResourcePolicy `protobuf:"bytes,5,rep,name=Policies,proto3" json:"Policies,omitempty"` // Context-resolved to quickly check if this meta is editable or not PoliciesContextEditable bool `protobuf:"varint,6,opt,name=PoliciesContextEditable,proto3" json:"PoliciesContextEditable,omitempty"` // Pass along resolved Node for advanced filtering ResolvedNode *tree.Node `protobuf:"bytes,7,opt,name=ResolvedNode,proto3" json:"ResolvedNode,omitempty"` // contains filtered or unexported fields }
Piece of metadata attached to a node
func (*UserMeta) Descriptor
deprecated
func (*UserMeta) GetJsonValue ¶
func (*UserMeta) GetNamespace ¶
func (*UserMeta) GetNodeUuid ¶
func (*UserMeta) GetPolicies ¶
func (x *UserMeta) GetPolicies() []*service.ResourcePolicy
func (*UserMeta) GetPoliciesContextEditable ¶
func (*UserMeta) GetResolvedNode ¶
func (*UserMeta) ProtoMessage ¶
func (*UserMeta) ProtoMessage()
func (*UserMeta) ProtoReflect ¶
func (x *UserMeta) ProtoReflect() protoreflect.Message
type UserMetaNamespace ¶
type UserMetaNamespace struct { // Namespace identifier, must be unique Namespace string `protobuf:"bytes,1,opt,name=Namespace,proto3" json:"Namespace,omitempty"` // Human-readable Label Label string `protobuf:"bytes,2,opt,name=Label,proto3" json:"Label,omitempty"` // Order is used for sorting lists of namesapces Order int32 `protobuf:"varint,3,opt,name=Order,proto3" json:"Order,omitempty"` // Whether a modification of a metadata value for this namespace should trigger an indexation by the search engine Indexable bool `protobuf:"varint,4,opt,name=Indexable,proto3" json:"Indexable,omitempty"` // Json-encoded type to provide accurate interface for edition JsonDefinition string `protobuf:"bytes,5,opt,name=JsonDefinition,proto3" json:"JsonDefinition,omitempty"` // Policies securing this namespace Policies []*service.ResourcePolicy `protobuf:"bytes,6,rep,name=Policies,proto3" json:"Policies,omitempty"` // Context-resolved to quickly check if this meta is editable or not PoliciesContextEditable bool `protobuf:"varint,7,opt,name=PoliciesContextEditable,proto3" json:"PoliciesContextEditable,omitempty"` // contains filtered or unexported fields }
Globally declared Namespace with associated policies
func (*UserMetaNamespace) Descriptor
deprecated
func (*UserMetaNamespace) Descriptor() ([]byte, []int)
Deprecated: Use UserMetaNamespace.ProtoReflect.Descriptor instead.
func (*UserMetaNamespace) GetIndexable ¶
func (x *UserMetaNamespace) GetIndexable() bool
func (*UserMetaNamespace) GetJsonDefinition ¶
func (x *UserMetaNamespace) GetJsonDefinition() string
func (*UserMetaNamespace) GetLabel ¶
func (x *UserMetaNamespace) GetLabel() string
func (*UserMetaNamespace) GetNamespace ¶
func (x *UserMetaNamespace) GetNamespace() string
func (*UserMetaNamespace) GetOrder ¶
func (x *UserMetaNamespace) GetOrder() int32
func (*UserMetaNamespace) GetPolicies ¶
func (x *UserMetaNamespace) GetPolicies() []*service.ResourcePolicy
func (*UserMetaNamespace) GetPoliciesContextEditable ¶
func (x *UserMetaNamespace) GetPoliciesContextEditable() bool
func (*UserMetaNamespace) ProtoMessage ¶
func (*UserMetaNamespace) ProtoMessage()
func (*UserMetaNamespace) ProtoReflect ¶
func (x *UserMetaNamespace) ProtoReflect() protoreflect.Message
func (*UserMetaNamespace) Reset ¶
func (x *UserMetaNamespace) Reset()
func (*UserMetaNamespace) String ¶
func (x *UserMetaNamespace) String() string
func (*UserMetaNamespace) UnmarshallDefinition ¶
func (m *UserMetaNamespace) UnmarshallDefinition() (MetaNamespaceDefinition, error)
func (*UserMetaNamespace) Validate ¶
func (this *UserMetaNamespace) Validate() error
type UserMetaServiceClient ¶
type UserMetaServiceClient interface { UpdateUserMeta(ctx context.Context, in *UpdateUserMetaRequest, opts ...grpc.CallOption) (*UpdateUserMetaResponse, error) SearchUserMeta(ctx context.Context, in *SearchUserMetaRequest, opts ...grpc.CallOption) (UserMetaService_SearchUserMetaClient, error) UpdateUserMetaNamespace(ctx context.Context, in *UpdateUserMetaNamespaceRequest, opts ...grpc.CallOption) (*UpdateUserMetaNamespaceResponse, error) ListUserMetaNamespace(ctx context.Context, in *ListUserMetaNamespaceRequest, opts ...grpc.CallOption) (UserMetaService_ListUserMetaNamespaceClient, error) }
UserMetaServiceClient is the client API for UserMetaService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewUserMetaServiceClient ¶
func NewUserMetaServiceClient(cc grpc.ClientConnInterface) UserMetaServiceClient
type UserMetaServiceEnhancedServer ¶
type UserMetaServiceEnhancedServer map[string]NamedUserMetaServiceServer
func (UserMetaServiceEnhancedServer) ListUserMetaNamespace ¶
func (m UserMetaServiceEnhancedServer) ListUserMetaNamespace(r *ListUserMetaNamespaceRequest, s UserMetaService_ListUserMetaNamespaceServer) error
func (UserMetaServiceEnhancedServer) SearchUserMeta ¶
func (m UserMetaServiceEnhancedServer) SearchUserMeta(r *SearchUserMetaRequest, s UserMetaService_SearchUserMetaServer) error
func (UserMetaServiceEnhancedServer) UpdateUserMeta ¶
func (m UserMetaServiceEnhancedServer) UpdateUserMeta(ctx context.Context, r *UpdateUserMetaRequest) (*UpdateUserMetaResponse, error)
func (UserMetaServiceEnhancedServer) UpdateUserMetaNamespace ¶
func (m UserMetaServiceEnhancedServer) UpdateUserMetaNamespace(ctx context.Context, r *UpdateUserMetaNamespaceRequest) (*UpdateUserMetaNamespaceResponse, error)
type UserMetaServiceServer ¶
type UserMetaServiceServer interface { UpdateUserMeta(context.Context, *UpdateUserMetaRequest) (*UpdateUserMetaResponse, error) SearchUserMeta(*SearchUserMetaRequest, UserMetaService_SearchUserMetaServer) error UpdateUserMetaNamespace(context.Context, *UpdateUserMetaNamespaceRequest) (*UpdateUserMetaNamespaceResponse, error) ListUserMetaNamespace(*ListUserMetaNamespaceRequest, UserMetaService_ListUserMetaNamespaceServer) error // contains filtered or unexported methods }
UserMetaServiceServer is the server API for UserMetaService service. All implementations must embed UnimplementedUserMetaServiceServer for forward compatibility
type UserMetaServiceStub ¶
type UserMetaServiceStub struct {
UserMetaServiceServer
}
func (*UserMetaServiceStub) Invoke ¶
func (s *UserMetaServiceStub) Invoke(ctx context.Context, method string, args interface{}, reply interface{}, opts ...grpc.CallOption) error
func (*UserMetaServiceStub) NewStream ¶
func (s *UserMetaServiceStub) NewStream(ctx context.Context, desc *grpc.StreamDesc, method string, opts ...grpc.CallOption) (grpc.ClientStream, error)
type UserMetaServiceStub_ListUserMetaNamespaceStreamer ¶
type UserMetaServiceStub_ListUserMetaNamespaceStreamer struct {
stubs.ClientServerStreamerCore
}
func (*UserMetaServiceStub_ListUserMetaNamespaceStreamer) Send ¶
func (s *UserMetaServiceStub_ListUserMetaNamespaceStreamer) Send(response *ListUserMetaNamespaceResponse) error
type UserMetaServiceStub_SearchUserMetaStreamer ¶
type UserMetaServiceStub_SearchUserMetaStreamer struct {
stubs.ClientServerStreamerCore
}
func (*UserMetaServiceStub_SearchUserMetaStreamer) Send ¶
func (s *UserMetaServiceStub_SearchUserMetaStreamer) Send(response *SearchUserMetaResponse) error
type UserMetaService_ListUserMetaNamespaceClient ¶
type UserMetaService_ListUserMetaNamespaceClient interface { Recv() (*ListUserMetaNamespaceResponse, error) grpc.ClientStream }
type UserMetaService_ListUserMetaNamespaceServer ¶
type UserMetaService_ListUserMetaNamespaceServer interface { Send(*ListUserMetaNamespaceResponse) error grpc.ServerStream }
type UserMetaService_SearchUserMetaClient ¶
type UserMetaService_SearchUserMetaClient interface { Recv() (*SearchUserMetaResponse, error) grpc.ClientStream }
type UserMetaService_SearchUserMetaServer ¶
type UserMetaService_SearchUserMetaServer interface { Send(*SearchUserMetaResponse) error grpc.ServerStream }
type UserServiceClient ¶
type UserServiceClient interface { CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error) BindUser(ctx context.Context, in *BindUserRequest, opts ...grpc.CallOption) (*BindUserResponse, error) CountUser(ctx context.Context, in *SearchUserRequest, opts ...grpc.CallOption) (*CountUserResponse, error) SearchUser(ctx context.Context, in *SearchUserRequest, opts ...grpc.CallOption) (UserService_SearchUserClient, error) StreamUser(ctx context.Context, opts ...grpc.CallOption) (UserService_StreamUserClient, error) }
UserServiceClient is the client API for UserService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceEnhancedServer ¶
type UserServiceEnhancedServer map[string]NamedUserServiceServer
func (UserServiceEnhancedServer) BindUser ¶
func (m UserServiceEnhancedServer) BindUser(ctx context.Context, r *BindUserRequest) (*BindUserResponse, error)
func (UserServiceEnhancedServer) CountUser ¶
func (m UserServiceEnhancedServer) CountUser(ctx context.Context, r *SearchUserRequest) (*CountUserResponse, error)
func (UserServiceEnhancedServer) CreateUser ¶
func (m UserServiceEnhancedServer) CreateUser(ctx context.Context, r *CreateUserRequest) (*CreateUserResponse, error)
func (UserServiceEnhancedServer) DeleteUser ¶
func (m UserServiceEnhancedServer) DeleteUser(ctx context.Context, r *DeleteUserRequest) (*DeleteUserResponse, error)
func (UserServiceEnhancedServer) SearchUser ¶
func (m UserServiceEnhancedServer) SearchUser(r *SearchUserRequest, s UserService_SearchUserServer) error
func (UserServiceEnhancedServer) StreamUser ¶
func (m UserServiceEnhancedServer) StreamUser(s UserService_StreamUserServer) error
type UserServiceServer ¶
type UserServiceServer interface { CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error) BindUser(context.Context, *BindUserRequest) (*BindUserResponse, error) CountUser(context.Context, *SearchUserRequest) (*CountUserResponse, error) SearchUser(*SearchUserRequest, UserService_SearchUserServer) error StreamUser(UserService_StreamUserServer) error // contains filtered or unexported methods }
UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility
type UserServiceStub ¶
type UserServiceStub struct {
UserServiceServer
}
func (*UserServiceStub) Invoke ¶
func (s *UserServiceStub) Invoke(ctx context.Context, method string, args interface{}, reply interface{}, opts ...grpc.CallOption) error
func (*UserServiceStub) NewStream ¶
func (s *UserServiceStub) NewStream(ctx context.Context, desc *grpc.StreamDesc, method string, opts ...grpc.CallOption) (grpc.ClientStream, error)
type UserServiceStub_SearchUserStreamer ¶
type UserServiceStub_SearchUserStreamer struct {
stubs.ClientServerStreamerCore
}
func (*UserServiceStub_SearchUserStreamer) Send ¶
func (s *UserServiceStub_SearchUserStreamer) Send(response *SearchUserResponse) error
type UserServiceStub_StreamUserStreamer ¶
type UserServiceStub_StreamUserStreamer struct {
stubs.BidirServerStreamerCore
}
func (*UserServiceStub_StreamUserStreamer) Recv ¶
func (s *UserServiceStub_StreamUserStreamer) Recv() (*SearchUserRequest, error)
func (*UserServiceStub_StreamUserStreamer) Send ¶
func (s *UserServiceStub_StreamUserStreamer) Send(response *SearchUserResponse) error
type UserService_SearchUserClient ¶
type UserService_SearchUserClient interface { Recv() (*SearchUserResponse, error) grpc.ClientStream }
type UserService_SearchUserServer ¶
type UserService_SearchUserServer interface { Send(*SearchUserResponse) error grpc.ServerStream }
type UserService_StreamUserClient ¶
type UserService_StreamUserClient interface { Send(*SearchUserRequest) error Recv() (*SearchUserResponse, error) grpc.ClientStream }
type UserService_StreamUserServer ¶
type UserService_StreamUserServer interface { Send(*SearchUserResponse) error Recv() (*SearchUserRequest, error) grpc.ServerStream }
type UserSingleQuery ¶
type UserSingleQuery struct { // Lookup a user by its Uuid Uuid string `protobuf:"bytes,11,opt,name=Uuid,proto3" json:"Uuid,omitempty"` // Lookup a user by Login Login string `protobuf:"bytes,1,opt,name=Login,proto3" json:"Login,omitempty"` // Lookup by hashed password, probably never used Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"` // List users below a specific on group path GroupPath string `protobuf:"bytes,3,opt,name=GroupPath,proto3" json:"GroupPath,omitempty"` // When searching on group path, load all users and groups recursively Recursive bool `protobuf:"varint,4,opt,name=Recursive,proto3" json:"Recursive,omitempty"` // Search one specific Group by its path FullPath string `protobuf:"bytes,12,opt,name=FullPath,proto3" json:"FullPath,omitempty"` // Search on attribute, to be combined with AttributeValue AttributeName string `protobuf:"bytes,5,opt,name=AttributeName,proto3" json:"AttributeName,omitempty"` // Value used for comparison AttributeValue string `protobuf:"bytes,6,opt,name=AttributeValue,proto3" json:"AttributeValue,omitempty"` // Search for the existence of the AttributeName, whatever its value AttributeAnyValue bool `protobuf:"varint,7,opt,name=AttributeAnyValue,proto3" json:"AttributeAnyValue,omitempty"` // Search users having a specific role UUID HasRole string `protobuf:"bytes,8,opt,name=HasRole,proto3" json:"HasRole,omitempty"` // Filter/Search by NodeType (generally user or group) NodeType NodeType `protobuf:"varint,9,opt,name=NodeType,proto3,enum=idm.NodeType" json:"NodeType,omitempty"` // Lookup by profile name (e.g. admin, standard, shared). This is a shortcut for searching on the pydio:profile attribute HasProfile string `protobuf:"bytes,13,opt,name=HasProfile,proto3" json:"HasProfile,omitempty"` // Lookup by last connection date. Must be a timestamp with a leading comparison symbol ('<' or '>') ConnectedSince string `protobuf:"bytes,14,opt,name=ConnectedSince,proto3" json:"ConnectedSince,omitempty"` // Internal - Negate the query/filter result Not bool `protobuf:"varint,10,opt,name=not,proto3" json:"not,omitempty"` // contains filtered or unexported fields }
func (*UserSingleQuery) Descriptor
deprecated
func (*UserSingleQuery) Descriptor() ([]byte, []int)
Deprecated: Use UserSingleQuery.ProtoReflect.Descriptor instead.
func (*UserSingleQuery) GetAttributeAnyValue ¶
func (x *UserSingleQuery) GetAttributeAnyValue() bool
func (*UserSingleQuery) GetAttributeName ¶
func (x *UserSingleQuery) GetAttributeName() string
func (*UserSingleQuery) GetAttributeValue ¶
func (x *UserSingleQuery) GetAttributeValue() string
func (*UserSingleQuery) GetConnectedSince ¶
func (x *UserSingleQuery) GetConnectedSince() string
func (*UserSingleQuery) GetFullPath ¶
func (x *UserSingleQuery) GetFullPath() string
func (*UserSingleQuery) GetGroupPath ¶
func (x *UserSingleQuery) GetGroupPath() string
func (*UserSingleQuery) GetHasProfile ¶
func (x *UserSingleQuery) GetHasProfile() string
func (*UserSingleQuery) GetHasRole ¶
func (x *UserSingleQuery) GetHasRole() string
func (*UserSingleQuery) GetLogin ¶
func (x *UserSingleQuery) GetLogin() string
func (*UserSingleQuery) GetNodeType ¶
func (x *UserSingleQuery) GetNodeType() NodeType
func (*UserSingleQuery) GetNot ¶
func (x *UserSingleQuery) GetNot() bool
func (*UserSingleQuery) GetPassword ¶
func (x *UserSingleQuery) GetPassword() string
func (*UserSingleQuery) GetRecursive ¶
func (x *UserSingleQuery) GetRecursive() bool
func (*UserSingleQuery) GetUuid ¶
func (x *UserSingleQuery) GetUuid() string
func (*UserSingleQuery) Matches ¶
func (m *UserSingleQuery) Matches(idmObject interface{}) bool
func (*UserSingleQuery) ParseLastConnected ¶
func (m *UserSingleQuery) ParseLastConnected() (lt bool, d time.Duration, e error)
func (*UserSingleQuery) ProtoMessage ¶
func (*UserSingleQuery) ProtoMessage()
func (*UserSingleQuery) ProtoReflect ¶
func (x *UserSingleQuery) ProtoReflect() protoreflect.Message
func (*UserSingleQuery) Reset ¶
func (x *UserSingleQuery) Reset()
func (*UserSingleQuery) String ¶
func (x *UserSingleQuery) String() string
func (*UserSingleQuery) Validate ¶
func (this *UserSingleQuery) Validate() error
type Workspace ¶
type Workspace struct { // Unique identifier of the workspace UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` // Label of the workspace (max length 500) Label string `protobuf:"bytes,2,opt,name=Label,proto3" json:"Label,omitempty"` // Description of the workspace (max length 1000) Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"` // Slug is an url-compatible form of the workspace label, or can be freely modified (max length 500) Slug string `protobuf:"bytes,4,opt,name=Slug,proto3" json:"Slug,omitempty"` // Scope can be ADMIN, ROOM (=CELL) or LINK Scope WorkspaceScope `protobuf:"varint,5,opt,name=Scope,proto3,enum=idm.WorkspaceScope" json:"Scope,omitempty"` // Last modification time LastUpdated int32 `protobuf:"varint,6,opt,name=LastUpdated,proto3" json:"LastUpdated,omitempty"` // Policies for securing access Policies []*service.ResourcePolicy `protobuf:"bytes,7,rep,name=Policies,proto3" json:"Policies,omitempty"` // JSON-encoded list of attributes Attributes string `protobuf:"bytes,8,opt,name=Attributes,proto3" json:"Attributes,omitempty"` // Quick list of the RootNodes uuids RootUUIDs []string `protobuf:"bytes,9,rep,name=RootUUIDs,proto3" json:"RootUUIDs,omitempty"` // List of the Root Nodes in the tree that compose this workspace RootNodes map[string]*tree.Node `` /* 160-byte string literal not displayed */ // Context-resolved to quickly check if workspace is editable or not PoliciesContextEditable bool `protobuf:"varint,12,opt,name=PoliciesContextEditable,proto3" json:"PoliciesContextEditable,omitempty"` // contains filtered or unexported fields }
A Workspace is composed of a set of nodes UUIDs and is used to provide accesses to the tree via ACLs.
func (*Workspace) Descriptor
deprecated
func (*Workspace) GetAttributes ¶
func (*Workspace) GetDescription ¶
func (*Workspace) GetLastUpdated ¶
func (*Workspace) GetPolicies ¶
func (x *Workspace) GetPolicies() []*service.ResourcePolicy
func (*Workspace) GetPoliciesContextEditable ¶
func (*Workspace) GetRootUUIDs ¶
func (*Workspace) GetScope ¶
func (x *Workspace) GetScope() WorkspaceScope
func (*Workspace) LoadAttributes ¶
func (m *Workspace) LoadAttributes() *WsAttributes
func (*Workspace) MarshalLogObject ¶
func (workspace *Workspace) MarshalLogObject(encoder zapcore.ObjectEncoder) error
MarshalLogObject implements custom marshalling for logs
func (*Workspace) ProtoMessage ¶
func (*Workspace) ProtoMessage()
func (*Workspace) ProtoReflect ¶
func (x *Workspace) ProtoReflect() protoreflect.Message
func (*Workspace) SetAttributes ¶
func (m *Workspace) SetAttributes(a *WsAttributes)
type WorkspaceScope ¶
type WorkspaceScope int32
const ( WorkspaceScope_ANY WorkspaceScope = 0 WorkspaceScope_ADMIN WorkspaceScope = 1 WorkspaceScope_ROOM WorkspaceScope = 2 WorkspaceScope_LINK WorkspaceScope = 3 )
func (WorkspaceScope) Descriptor ¶
func (WorkspaceScope) Descriptor() protoreflect.EnumDescriptor
func (WorkspaceScope) Enum ¶
func (x WorkspaceScope) Enum() *WorkspaceScope
func (WorkspaceScope) EnumDescriptor
deprecated
func (WorkspaceScope) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorkspaceScope.Descriptor instead.
func (WorkspaceScope) Number ¶
func (x WorkspaceScope) Number() protoreflect.EnumNumber
func (WorkspaceScope) String ¶
func (x WorkspaceScope) String() string
func (WorkspaceScope) Type ¶
func (WorkspaceScope) Type() protoreflect.EnumType
type WorkspaceServiceClient ¶
type WorkspaceServiceClient interface { CreateWorkspace(ctx context.Context, in *CreateWorkspaceRequest, opts ...grpc.CallOption) (*CreateWorkspaceResponse, error) DeleteWorkspace(ctx context.Context, in *DeleteWorkspaceRequest, opts ...grpc.CallOption) (*DeleteWorkspaceResponse, error) SearchWorkspace(ctx context.Context, in *SearchWorkspaceRequest, opts ...grpc.CallOption) (WorkspaceService_SearchWorkspaceClient, error) StreamWorkspace(ctx context.Context, opts ...grpc.CallOption) (WorkspaceService_StreamWorkspaceClient, error) }
WorkspaceServiceClient is the client API for WorkspaceService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewWorkspaceServiceClient ¶
func NewWorkspaceServiceClient(cc grpc.ClientConnInterface) WorkspaceServiceClient
type WorkspaceServiceEnhancedServer ¶
type WorkspaceServiceEnhancedServer map[string]NamedWorkspaceServiceServer
func (WorkspaceServiceEnhancedServer) CreateWorkspace ¶
func (m WorkspaceServiceEnhancedServer) CreateWorkspace(ctx context.Context, r *CreateWorkspaceRequest) (*CreateWorkspaceResponse, error)
func (WorkspaceServiceEnhancedServer) DeleteWorkspace ¶
func (m WorkspaceServiceEnhancedServer) DeleteWorkspace(ctx context.Context, r *DeleteWorkspaceRequest) (*DeleteWorkspaceResponse, error)
func (WorkspaceServiceEnhancedServer) SearchWorkspace ¶
func (m WorkspaceServiceEnhancedServer) SearchWorkspace(r *SearchWorkspaceRequest, s WorkspaceService_SearchWorkspaceServer) error
func (WorkspaceServiceEnhancedServer) StreamWorkspace ¶
func (m WorkspaceServiceEnhancedServer) StreamWorkspace(s WorkspaceService_StreamWorkspaceServer) error
type WorkspaceServiceServer ¶
type WorkspaceServiceServer interface { CreateWorkspace(context.Context, *CreateWorkspaceRequest) (*CreateWorkspaceResponse, error) DeleteWorkspace(context.Context, *DeleteWorkspaceRequest) (*DeleteWorkspaceResponse, error) SearchWorkspace(*SearchWorkspaceRequest, WorkspaceService_SearchWorkspaceServer) error StreamWorkspace(WorkspaceService_StreamWorkspaceServer) error // contains filtered or unexported methods }
WorkspaceServiceServer is the server API for WorkspaceService service. All implementations must embed UnimplementedWorkspaceServiceServer for forward compatibility
type WorkspaceServiceStub ¶
type WorkspaceServiceStub struct {
WorkspaceServiceServer
}
func (*WorkspaceServiceStub) Invoke ¶
func (s *WorkspaceServiceStub) Invoke(ctx context.Context, method string, args interface{}, reply interface{}, opts ...grpc.CallOption) error
func (*WorkspaceServiceStub) NewStream ¶
func (s *WorkspaceServiceStub) NewStream(ctx context.Context, desc *grpc.StreamDesc, method string, opts ...grpc.CallOption) (grpc.ClientStream, error)
type WorkspaceServiceStub_SearchWorkspaceStreamer ¶
type WorkspaceServiceStub_SearchWorkspaceStreamer struct {
stubs.ClientServerStreamerCore
}
func (*WorkspaceServiceStub_SearchWorkspaceStreamer) Send ¶
func (s *WorkspaceServiceStub_SearchWorkspaceStreamer) Send(response *SearchWorkspaceResponse) error
type WorkspaceServiceStub_StreamWorkspaceStreamer ¶
type WorkspaceServiceStub_StreamWorkspaceStreamer struct {
stubs.BidirServerStreamerCore
}
func (*WorkspaceServiceStub_StreamWorkspaceStreamer) Recv ¶
func (s *WorkspaceServiceStub_StreamWorkspaceStreamer) Recv() (*SearchWorkspaceRequest, error)
func (*WorkspaceServiceStub_StreamWorkspaceStreamer) Send ¶
func (s *WorkspaceServiceStub_StreamWorkspaceStreamer) Send(response *SearchWorkspaceResponse) error
type WorkspaceService_SearchWorkspaceClient ¶
type WorkspaceService_SearchWorkspaceClient interface { Recv() (*SearchWorkspaceResponse, error) grpc.ClientStream }
type WorkspaceService_SearchWorkspaceServer ¶
type WorkspaceService_SearchWorkspaceServer interface { Send(*SearchWorkspaceResponse) error grpc.ServerStream }
type WorkspaceService_StreamWorkspaceClient ¶
type WorkspaceService_StreamWorkspaceClient interface { Send(*SearchWorkspaceRequest) error Recv() (*SearchWorkspaceResponse, error) grpc.ClientStream }
type WorkspaceService_StreamWorkspaceServer ¶
type WorkspaceService_StreamWorkspaceServer interface { Send(*SearchWorkspaceResponse) error Recv() (*SearchWorkspaceRequest, error) grpc.ServerStream }
type WorkspaceSingleQuery ¶
type WorkspaceSingleQuery struct { // Lookup by workspace Uuid Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // Lookup by workspace Label Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` // Lookup by description Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Select workspace by slug Slug string `protobuf:"bytes,4,opt,name=slug,proto3" json:"slug,omitempty"` // Restrict to a specific workspace type Scope WorkspaceScope `protobuf:"varint,5,opt,name=scope,proto3,enum=idm.WorkspaceScope" json:"scope,omitempty"` // Compared to workspace update date (Golang duration with a leading comparator < or >) LastUpdated string `protobuf:"bytes,7,opt,name=LastUpdated,proto3" json:"LastUpdated,omitempty"` // Lookup for the presence of a specific attribute, whatever its value HasAttribute string `protobuf:"bytes,8,opt,name=HasAttribute,proto3" json:"HasAttribute,omitempty"` // Lookup for an attribute, to be used in combination with AttributeValue AttributeName string `protobuf:"bytes,9,opt,name=AttributeName,proto3" json:"AttributeName,omitempty"` // Value used for comparison AttributeValue string `protobuf:"bytes,10,opt,name=AttributeValue,proto3" json:"AttributeValue,omitempty"` // Internal - Negate the query result Not bool `protobuf:"varint,6,opt,name=not,proto3" json:"not,omitempty"` // contains filtered or unexported fields }
func (*WorkspaceSingleQuery) Descriptor
deprecated
func (*WorkspaceSingleQuery) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceSingleQuery.ProtoReflect.Descriptor instead.
func (*WorkspaceSingleQuery) GetAttributeName ¶
func (x *WorkspaceSingleQuery) GetAttributeName() string
func (*WorkspaceSingleQuery) GetAttributeValue ¶
func (x *WorkspaceSingleQuery) GetAttributeValue() string
func (*WorkspaceSingleQuery) GetDescription ¶
func (x *WorkspaceSingleQuery) GetDescription() string
func (*WorkspaceSingleQuery) GetHasAttribute ¶
func (x *WorkspaceSingleQuery) GetHasAttribute() string
func (*WorkspaceSingleQuery) GetLabel ¶
func (x *WorkspaceSingleQuery) GetLabel() string
func (*WorkspaceSingleQuery) GetLastUpdated ¶
func (x *WorkspaceSingleQuery) GetLastUpdated() string
func (*WorkspaceSingleQuery) GetNot ¶
func (x *WorkspaceSingleQuery) GetNot() bool
func (*WorkspaceSingleQuery) GetScope ¶
func (x *WorkspaceSingleQuery) GetScope() WorkspaceScope
func (*WorkspaceSingleQuery) GetSlug ¶
func (x *WorkspaceSingleQuery) GetSlug() string
func (*WorkspaceSingleQuery) GetUuid ¶
func (x *WorkspaceSingleQuery) GetUuid() string
func (*WorkspaceSingleQuery) Matches ¶
func (m *WorkspaceSingleQuery) Matches(idmObject interface{}) bool
func (*WorkspaceSingleQuery) ParseLastUpdated ¶
func (m *WorkspaceSingleQuery) ParseLastUpdated() (lt bool, d time.Duration, e error)
func (*WorkspaceSingleQuery) ProtoMessage ¶
func (*WorkspaceSingleQuery) ProtoMessage()
func (*WorkspaceSingleQuery) ProtoReflect ¶
func (x *WorkspaceSingleQuery) ProtoReflect() protoreflect.Message
func (*WorkspaceSingleQuery) Reset ¶
func (x *WorkspaceSingleQuery) Reset()
func (*WorkspaceSingleQuery) String ¶
func (x *WorkspaceSingleQuery) String() string
func (*WorkspaceSingleQuery) Validate ¶
func (this *WorkspaceSingleQuery) Validate() error