idm

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2018 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Overview

Package idm is a generated protocol buffer package.

It is generated from these files:

idm.proto

It has these top-level messages:

CreateRoleRequest
CreateRoleResponse
DeleteRoleRequest
DeleteRoleResponse
SearchRoleRequest
SearchRoleResponse
Role
RoleSingleQuery
CreateUserRequest
CreateUserResponse
BindUserRequest
BindUserResponse
DeleteUserRequest
DeleteUserResponse
SearchUserRequest
SearchUserResponse
CountUserResponse
User
UserSingleQuery
CreateWorkspaceRequest
CreateWorkspaceResponse
DeleteWorkspaceRequest
DeleteWorkspaceResponse
SearchWorkspaceRequest
SearchWorkspaceResponse
Workspace
WorkspaceSingleQuery
CreateACLRequest
CreateACLResponse
DeleteACLRequest
DeleteACLResponse
SearchACLRequest
SearchACLResponse
ACLAction
ACL
ACLSingleQuery
UserMeta
UserMetaNamespace
UpdateUserMetaRequest
UpdateUserMetaResponse
SearchUserMetaRequest
SearchUserMetaResponse
UpdateUserMetaNamespaceRequest
UpdateUserMetaNamespaceResponse
ListUserMetaNamespaceRequest
ListUserMetaNamespaceResponse
ChangeEvent
PolicyEngineRequest
PolicyEngineResponse
PolicyCondition
Policy
PolicyGroup
StorePolicyGroupRequest
StorePolicyGroupResponse
DeletePolicyGroupRequest
DeletePolicyGroupResponse
ListPolicyGroupsRequest
ListPolicyGroupsResponse

Package idm is a generated protocol buffer package.

It is generated from these files:

idm.proto

It has these top-level messages:

CreateRoleRequest
CreateRoleResponse
DeleteRoleRequest
DeleteRoleResponse
SearchRoleRequest
SearchRoleResponse
Role
RoleSingleQuery
CreateUserRequest
CreateUserResponse
BindUserRequest
BindUserResponse
DeleteUserRequest
DeleteUserResponse
SearchUserRequest
SearchUserResponse
CountUserResponse
User
UserSingleQuery
CreateWorkspaceRequest
CreateWorkspaceResponse
DeleteWorkspaceRequest
DeleteWorkspaceResponse
SearchWorkspaceRequest
SearchWorkspaceResponse
Workspace
WorkspaceSingleQuery
CreateACLRequest
CreateACLResponse
DeleteACLRequest
DeleteACLResponse
SearchACLRequest
SearchACLResponse
ACLAction
ACL
ACLSingleQuery
UserMeta
UserMetaNamespace
UpdateUserMetaRequest
UpdateUserMetaResponse
SearchUserMetaRequest
SearchUserMetaResponse
UpdateUserMetaNamespaceRequest
UpdateUserMetaNamespaceResponse
ListUserMetaNamespaceRequest
ListUserMetaNamespaceResponse
ChangeEvent
PolicyEngineRequest
PolicyEngineResponse
PolicyCondition
Policy
PolicyGroup
StorePolicyGroupRequest
StorePolicyGroupResponse
DeletePolicyGroupRequest
DeletePolicyGroupResponse
ListPolicyGroupsRequest
ListPolicyGroupsResponse

Index

Constants

This section is empty.

Variables

View Source
var ChangeEventType_name = map[int32]string{
	0: "CREATE",
	1: "READ",
	2: "UPDATE",
	3: "DELETE",
	4: "BIND",
	5: "LOGOUT",
}
View Source
var ChangeEventType_value = map[string]int32{
	"CREATE": 0,
	"READ":   1,
	"UPDATE": 2,
	"DELETE": 3,
	"BIND":   4,
	"LOGOUT": 5,
}
View Source
var NodeType_name = map[int32]string{
	0: "UNKNOWN",
	1: "USER",
	2: "GROUP",
}
View Source
var NodeType_value = map[string]int32{
	"UNKNOWN": 0,
	"USER":    1,
	"GROUP":   2,
}
View Source
var PolicyEffect_name = map[int32]string{
	0: "unknown",
	1: "deny",
	2: "allow",
}
View Source
var PolicyEffect_value = map[string]int32{
	"unknown": 0,
	"deny":    1,
	"allow":   2,
}
View Source
var PolicyResourceGroup_name = map[int32]string{
	0: "rest",
	1: "acl",
	2: "oidc",
}
View Source
var PolicyResourceGroup_value = map[string]int32{
	"rest": 0,
	"acl":  1,
	"oidc": 2,
}
View Source
var UpdateUserMetaNamespaceRequest_UserMetaNsOp_name = map[int32]string{
	0: "PUT",
	1: "DELETE",
}
View Source
var UpdateUserMetaNamespaceRequest_UserMetaNsOp_value = map[string]int32{
	"PUT":    0,
	"DELETE": 1,
}
View Source
var UpdateUserMetaRequest_UserMetaOp_name = map[int32]string{
	0: "PUT",
	1: "DELETE",
}
View Source
var UpdateUserMetaRequest_UserMetaOp_value = map[string]int32{
	"PUT":    0,
	"DELETE": 1,
}
View Source
var WorkspaceScope_name = map[int32]string{
	0: "ANY",
	1: "ADMIN",
	2: "ROOM",
	3: "LINK",
}
View Source
var WorkspaceScope_value = map[string]int32{
	"ANY":   0,
	"ADMIN": 1,
	"ROOM":  2,
	"LINK":  3,
}

Functions

func RegisterACLServiceHandler

func RegisterACLServiceHandler(s server.Server, hdlr ACLServiceHandler, opts ...server.HandlerOption)

func RegisterPolicyEngineServiceHandler

func RegisterPolicyEngineServiceHandler(s server.Server, hdlr PolicyEngineServiceHandler, opts ...server.HandlerOption)

func RegisterRoleServiceHandler

func RegisterRoleServiceHandler(s server.Server, hdlr RoleServiceHandler, opts ...server.HandlerOption)

func RegisterUserMetaServiceHandler

func RegisterUserMetaServiceHandler(s server.Server, hdlr UserMetaServiceHandler, opts ...server.HandlerOption)

func RegisterUserServiceHandler

func RegisterUserServiceHandler(s server.Server, hdlr UserServiceHandler, opts ...server.HandlerOption)

func RegisterWorkspaceServiceHandler

func RegisterWorkspaceServiceHandler(s server.Server, hdlr WorkspaceServiceHandler, opts ...server.HandlerOption)

Types

type ACL

type ACL struct {
	ID          string     `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"`
	Action      *ACLAction `protobuf:"bytes,2,opt,name=Action" json:"Action,omitempty"`
	RoleID      string     `protobuf:"bytes,3,opt,name=RoleID" json:"RoleID,omitempty"`
	WorkspaceID string     `protobuf:"bytes,4,opt,name=WorkspaceID" json:"WorkspaceID,omitempty"`
	NodeID      string     `protobuf:"bytes,5,opt,name=NodeID" json:"NodeID,omitempty"`
}

func (*ACL) Descriptor

func (*ACL) Descriptor() ([]byte, []int)

func (*ACL) GetAction

func (m *ACL) GetAction() *ACLAction

func (*ACL) GetID

func (m *ACL) GetID() string

func (*ACL) GetNodeID

func (m *ACL) GetNodeID() string

func (*ACL) GetRoleID

func (m *ACL) GetRoleID() string

func (*ACL) GetWorkspaceID

func (m *ACL) GetWorkspaceID() string

func (*ACL) ProtoMessage

func (*ACL) ProtoMessage()

func (*ACL) Reset

func (m *ACL) Reset()

func (*ACL) String

func (m *ACL) String() string

func (*ACL) Zap

func (acl *ACL) Zap() zapcore.Field

Zap simply returns a zapcore.Field object populated with this acl under a standard key

func (*ACL) ZapId

func (acl *ACL) ZapId() zapcore.Field

ZapId simply calls zap.String() with AclId standard key and this acl id

type ACLAction

type ACLAction struct {
	Name  string `protobuf:"bytes,1,opt,name=Name" json:"Name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=Value" json:"Value,omitempty"`
}

func (*ACLAction) Descriptor

func (*ACLAction) Descriptor() ([]byte, []int)

func (*ACLAction) GetName

func (m *ACLAction) GetName() string

func (*ACLAction) GetValue

func (m *ACLAction) GetValue() string

func (*ACLAction) ProtoMessage

func (*ACLAction) ProtoMessage()

func (*ACLAction) Reset

func (m *ACLAction) Reset()

func (*ACLAction) String

func (m *ACLAction) String() string

type ACLService

type ACLService struct {
	ACLServiceHandler
}

func (*ACLService) CreateACL

func (h *ACLService) CreateACL(ctx context.Context, in *CreateACLRequest, out *CreateACLResponse) error

func (*ACLService) DeleteACL

func (h *ACLService) DeleteACL(ctx context.Context, in *DeleteACLRequest, out *DeleteACLResponse) error

func (*ACLService) SearchACL

func (h *ACLService) SearchACL(ctx context.Context, stream server.Streamer) error

func (*ACLService) StreamACL

func (h *ACLService) StreamACL(ctx context.Context, stream server.Streamer) error

type ACLServiceClient

type ACLServiceClient interface {
	CreateACL(ctx context.Context, in *CreateACLRequest, opts ...client.CallOption) (*CreateACLResponse, error)
	DeleteACL(ctx context.Context, in *DeleteACLRequest, opts ...client.CallOption) (*DeleteACLResponse, error)
	SearchACL(ctx context.Context, in *SearchACLRequest, opts ...client.CallOption) (ACLService_SearchACLClient, error)
	StreamACL(ctx context.Context, opts ...client.CallOption) (ACLService_StreamACLClient, error)
}

func NewACLServiceClient

func NewACLServiceClient(serviceName string, c client.Client) ACLServiceClient

type ACLService_SearchACLClient

type ACLService_SearchACLClient interface {
	SendMsg(interface{}) error
	RecvMsg(interface{}) error
	Close() error
	Recv() (*SearchACLResponse, error)
}

type ACLService_SearchACLStream

type ACLService_SearchACLStream interface {
	SendMsg(interface{}) error
	RecvMsg(interface{}) error
	Close() error
	Send(*SearchACLResponse) error
}

type ACLService_StreamACLClient

type ACLService_StreamACLClient interface {
	SendMsg(interface{}) error
	RecvMsg(interface{}) error
	Close() error
	Send(*SearchACLRequest) error
	Recv() (*SearchACLResponse, error)
}

type ACLService_StreamACLStream

type ACLService_StreamACLStream interface {
	SendMsg(interface{}) error
	RecvMsg(interface{}) error
	Close() error
	Send(*SearchACLResponse) error
	Recv() (*SearchACLRequest, error)
}

type ACLSingleQuery

type ACLSingleQuery struct {
	Actions      []*ACLAction `protobuf:"bytes,1,rep,name=Actions" json:"Actions,omitempty"`
	RoleIDs      []string     `protobuf:"bytes,2,rep,name=RoleIDs" json:"RoleIDs,omitempty"`
	WorkspaceIDs []string     `protobuf:"bytes,3,rep,name=WorkspaceIDs" json:"WorkspaceIDs,omitempty"`
	NodeIDs      []string     `protobuf:"bytes,4,rep,name=NodeIDs" json:"NodeIDs,omitempty"`
	Not          bool         `protobuf:"varint,5,opt,name=not" json:"not,omitempty"`
}

func (*ACLSingleQuery) Descriptor

func (*ACLSingleQuery) Descriptor() ([]byte, []int)

func (*ACLSingleQuery) GetActions

func (m *ACLSingleQuery) GetActions() []*ACLAction

func (*ACLSingleQuery) GetNodeIDs

func (m *ACLSingleQuery) GetNodeIDs() []string

func (*ACLSingleQuery) GetNot

func (m *ACLSingleQuery) GetNot() bool

func (*ACLSingleQuery) GetRoleIDs

func (m *ACLSingleQuery) GetRoleIDs() []string

func (*ACLSingleQuery) GetWorkspaceIDs

func (m *ACLSingleQuery) GetWorkspaceIDs() []string

func (*ACLSingleQuery) ProtoMessage

func (*ACLSingleQuery) ProtoMessage()

func (*ACLSingleQuery) Reset

func (m *ACLSingleQuery) Reset()

func (*ACLSingleQuery) String

func (m *ACLSingleQuery) String() string

type BindUserRequest

type BindUserRequest struct {
	UserName string `protobuf:"bytes,1,opt,name=userName" json:"userName,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password" json:"password,omitempty"`
}

func (*BindUserRequest) Descriptor

func (*BindUserRequest) Descriptor() ([]byte, []int)

func (*BindUserRequest) GetPassword

func (m *BindUserRequest) GetPassword() string

func (*BindUserRequest) GetUserName

func (m *BindUserRequest) GetUserName() string

func (*BindUserRequest) ProtoMessage

func (*BindUserRequest) ProtoMessage()

func (*BindUserRequest) Reset

func (m *BindUserRequest) Reset()

func (*BindUserRequest) String

func (m *BindUserRequest) String() string

type BindUserResponse

type BindUserResponse struct {
	User *User `protobuf:"bytes,1,opt,name=User" json:"User,omitempty"`
}

func (*BindUserResponse) Descriptor

func (*BindUserResponse) Descriptor() ([]byte, []int)

func (*BindUserResponse) GetUser

func (m *BindUserResponse) GetUser() *User

func (*BindUserResponse) ProtoMessage

func (*BindUserResponse) ProtoMessage()

func (*BindUserResponse) Reset

func (m *BindUserResponse) Reset()

func (*BindUserResponse) String

func (m *BindUserResponse) String() string

type ChangeEvent

type ChangeEvent struct {
	JsonType   string            `protobuf:"bytes,1,opt,name=jsonType,json=@type" json:"jsonType,omitempty"`
	Type       ChangeEventType   `protobuf:"varint,2,opt,name=Type,enum=idm.ChangeEventType" json:"Type,omitempty"`
	User       *User             `protobuf:"bytes,3,opt,name=User" json:"User,omitempty"`
	Role       *Role             `protobuf:"bytes,4,opt,name=Role" json:"Role,omitempty"`
	Workspace  *Workspace        `protobuf:"bytes,5,opt,name=Workspace" json:"Workspace,omitempty"`
	Acl        *ACL              `protobuf:"bytes,6,opt,name=Acl" json:"Acl,omitempty"`
	Attributes map[string]string `` /* 140-byte string literal not displayed */
}

Global Event message for IDM

func (*ChangeEvent) Descriptor

func (*ChangeEvent) Descriptor() ([]byte, []int)

func (*ChangeEvent) GetAcl

func (m *ChangeEvent) GetAcl() *ACL

func (*ChangeEvent) GetAttributes

func (m *ChangeEvent) GetAttributes() map[string]string

func (*ChangeEvent) GetJsonType

func (m *ChangeEvent) GetJsonType() string

func (*ChangeEvent) GetRole

func (m *ChangeEvent) GetRole() *Role

func (*ChangeEvent) GetType

func (m *ChangeEvent) GetType() ChangeEventType

func (*ChangeEvent) GetUser

func (m *ChangeEvent) GetUser() *User

func (*ChangeEvent) GetWorkspace

func (m *ChangeEvent) GetWorkspace() *Workspace

func (*ChangeEvent) ProtoMessage

func (*ChangeEvent) ProtoMessage()

func (*ChangeEvent) Reset

func (m *ChangeEvent) Reset()

func (*ChangeEvent) String

func (m *ChangeEvent) String() string

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_BIND   ChangeEventType = 4
	ChangeEventType_LOGOUT ChangeEventType = 5
)

func (ChangeEventType) EnumDescriptor

func (ChangeEventType) EnumDescriptor() ([]byte, []int)

func (ChangeEventType) String

func (x ChangeEventType) String() string

type CountUserResponse

type CountUserResponse struct {
	Count int32 `protobuf:"varint,1,opt,name=Count" json:"Count,omitempty"`
}

func (*CountUserResponse) Descriptor

func (*CountUserResponse) Descriptor() ([]byte, []int)

func (*CountUserResponse) GetCount

func (m *CountUserResponse) GetCount() int32

func (*CountUserResponse) ProtoMessage

func (*CountUserResponse) ProtoMessage()

func (*CountUserResponse) Reset

func (m *CountUserResponse) Reset()

func (*CountUserResponse) String

func (m *CountUserResponse) String() string

type CreateACLRequest

type CreateACLRequest struct {
	ACL *ACL `protobuf:"bytes,1,opt,name=ACL" json:"ACL,omitempty"`
}

*****************************************************************************

ACL Messages structure

*****************************************************************************

func (*CreateACLRequest) Descriptor

func (*CreateACLRequest) Descriptor() ([]byte, []int)

func (*CreateACLRequest) GetACL

func (m *CreateACLRequest) GetACL() *ACL

func (*CreateACLRequest) ProtoMessage

func (*CreateACLRequest) ProtoMessage()

func (*CreateACLRequest) Reset

func (m *CreateACLRequest) Reset()

func (*CreateACLRequest) String

func (m *CreateACLRequest) String() string

type CreateACLResponse

type CreateACLResponse struct {
	ACL *ACL `protobuf:"bytes,1,opt,name=ACL" json:"ACL,omitempty"`
}

func (*CreateACLResponse) Descriptor

func (*CreateACLResponse) Descriptor() ([]byte, []int)

func (*CreateACLResponse) GetACL

func (m *CreateACLResponse) GetACL() *ACL

func (*CreateACLResponse) ProtoMessage

func (*CreateACLResponse) ProtoMessage()

func (*CreateACLResponse) Reset

func (m *CreateACLResponse) Reset()

func (*CreateACLResponse) String

func (m *CreateACLResponse) String() string

type CreateRoleRequest

type CreateRoleRequest struct {
	Role *Role `protobuf:"bytes,1,opt,name=Role" json:"Role,omitempty"`
}

*****************************************************************************

Messages structure

*****************************************************************************

func (*CreateRoleRequest) Descriptor

func (*CreateRoleRequest) Descriptor() ([]byte, []int)

func (*CreateRoleRequest) GetRole

func (m *CreateRoleRequest) GetRole() *Role

func (*CreateRoleRequest) ProtoMessage

func (*CreateRoleRequest) ProtoMessage()

func (*CreateRoleRequest) Reset

func (m *CreateRoleRequest) Reset()

func (*CreateRoleRequest) String

func (m *CreateRoleRequest) String() string

type CreateRoleResponse

type CreateRoleResponse struct {
	Role *Role `protobuf:"bytes,1,opt,name=Role" json:"Role,omitempty"`
}

func (*CreateRoleResponse) Descriptor

func (*CreateRoleResponse) Descriptor() ([]byte, []int)

func (*CreateRoleResponse) GetRole

func (m *CreateRoleResponse) GetRole() *Role

func (*CreateRoleResponse) ProtoMessage

func (*CreateRoleResponse) ProtoMessage()

func (*CreateRoleResponse) Reset

func (m *CreateRoleResponse) Reset()

func (*CreateRoleResponse) String

func (m *CreateRoleResponse) String() string

type CreateUserRequest

type CreateUserRequest struct {
	User *User `protobuf:"bytes,1,opt,name=User" json:"User,omitempty"`
}

*****************************************************************************

Messages structure

*****************************************************************************

func (*CreateUserRequest) Descriptor

func (*CreateUserRequest) Descriptor() ([]byte, []int)

func (*CreateUserRequest) GetUser

func (m *CreateUserRequest) GetUser() *User

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) Reset

func (m *CreateUserRequest) Reset()

func (*CreateUserRequest) String

func (m *CreateUserRequest) String() string

type CreateUserResponse

type CreateUserResponse struct {
	User *User `protobuf:"bytes,1,opt,name=User" json:"User,omitempty"`
}

func (*CreateUserResponse) Descriptor

func (*CreateUserResponse) Descriptor() ([]byte, []int)

func (*CreateUserResponse) GetUser

func (m *CreateUserResponse) GetUser() *User

func (*CreateUserResponse) ProtoMessage

func (*CreateUserResponse) ProtoMessage()

func (*CreateUserResponse) Reset

func (m *CreateUserResponse) Reset()

func (*CreateUserResponse) String

func (m *CreateUserResponse) String() string

type CreateWorkspaceRequest

type CreateWorkspaceRequest struct {
	Workspace *Workspace `protobuf:"bytes,1,opt,name=Workspace" json:"Workspace,omitempty"`
}

*****************************************************************************

Messages structure

*****************************************************************************

func (*CreateWorkspaceRequest) Descriptor

func (*CreateWorkspaceRequest) Descriptor() ([]byte, []int)

func (*CreateWorkspaceRequest) GetWorkspace

func (m *CreateWorkspaceRequest) GetWorkspace() *Workspace

func (*CreateWorkspaceRequest) ProtoMessage

func (*CreateWorkspaceRequest) ProtoMessage()

func (*CreateWorkspaceRequest) Reset

func (m *CreateWorkspaceRequest) Reset()

func (*CreateWorkspaceRequest) String

func (m *CreateWorkspaceRequest) String() string

type CreateWorkspaceResponse

type CreateWorkspaceResponse struct {
	Workspace *Workspace `protobuf:"bytes,1,opt,name=Workspace" json:"Workspace,omitempty"`
}

func (*CreateWorkspaceResponse) Descriptor

func (*CreateWorkspaceResponse) Descriptor() ([]byte, []int)

func (*CreateWorkspaceResponse) GetWorkspace

func (m *CreateWorkspaceResponse) GetWorkspace() *Workspace

func (*CreateWorkspaceResponse) ProtoMessage

func (*CreateWorkspaceResponse) ProtoMessage()

func (*CreateWorkspaceResponse) Reset

func (m *CreateWorkspaceResponse) Reset()

func (*CreateWorkspaceResponse) String

func (m *CreateWorkspaceResponse) String() string

type DeleteACLRequest

type DeleteACLRequest struct {
	Query *service.Query `protobuf:"bytes,1,opt,name=Query" json:"Query,omitempty"`
}

func (*DeleteACLRequest) Descriptor

func (*DeleteACLRequest) Descriptor() ([]byte, []int)

func (*DeleteACLRequest) GetQuery

func (m *DeleteACLRequest) GetQuery() *service.Query

func (*DeleteACLRequest) ProtoMessage

func (*DeleteACLRequest) ProtoMessage()

func (*DeleteACLRequest) Reset

func (m *DeleteACLRequest) Reset()

func (*DeleteACLRequest) String

func (m *DeleteACLRequest) String() string

type DeleteACLResponse

type DeleteACLResponse struct {
	RowsDeleted int64 `protobuf:"varint,1,opt,name=RowsDeleted" json:"RowsDeleted,omitempty"`
}

func (*DeleteACLResponse) Descriptor

func (*DeleteACLResponse) Descriptor() ([]byte, []int)

func (*DeleteACLResponse) GetRowsDeleted

func (m *DeleteACLResponse) GetRowsDeleted() int64

func (*DeleteACLResponse) ProtoMessage

func (*DeleteACLResponse) ProtoMessage()

func (*DeleteACLResponse) Reset

func (m *DeleteACLResponse) Reset()

func (*DeleteACLResponse) String

func (m *DeleteACLResponse) String() string

type DeletePolicyGroupRequest

type DeletePolicyGroupRequest struct {
	PolicyGroup *PolicyGroup `protobuf:"bytes,1,opt,name=PolicyGroup" json:"PolicyGroup,omitempty"`
}

func (*DeletePolicyGroupRequest) Descriptor

func (*DeletePolicyGroupRequest) Descriptor() ([]byte, []int)

func (*DeletePolicyGroupRequest) GetPolicyGroup

func (m *DeletePolicyGroupRequest) GetPolicyGroup() *PolicyGroup

func (*DeletePolicyGroupRequest) ProtoMessage

func (*DeletePolicyGroupRequest) ProtoMessage()

func (*DeletePolicyGroupRequest) Reset

func (m *DeletePolicyGroupRequest) Reset()

func (*DeletePolicyGroupRequest) String

func (m *DeletePolicyGroupRequest) String() string

type DeletePolicyGroupResponse

type DeletePolicyGroupResponse struct {
	Success bool `protobuf:"varint,1,opt,name=Success" json:"Success,omitempty"`
}

func (*DeletePolicyGroupResponse) Descriptor

func (*DeletePolicyGroupResponse) Descriptor() ([]byte, []int)

func (*DeletePolicyGroupResponse) GetSuccess

func (m *DeletePolicyGroupResponse) GetSuccess() bool

func (*DeletePolicyGroupResponse) ProtoMessage

func (*DeletePolicyGroupResponse) ProtoMessage()

func (*DeletePolicyGroupResponse) Reset

func (m *DeletePolicyGroupResponse) Reset()

func (*DeletePolicyGroupResponse) String

func (m *DeletePolicyGroupResponse) String() string

type DeleteRoleRequest

type DeleteRoleRequest struct {
	Query *service.Query `protobuf:"bytes,1,opt,name=Query" json:"Query,omitempty"`
}

func (*DeleteRoleRequest) Descriptor

func (*DeleteRoleRequest) Descriptor() ([]byte, []int)

func (*DeleteRoleRequest) GetQuery

func (m *DeleteRoleRequest) GetQuery() *service.Query

func (*DeleteRoleRequest) ProtoMessage

func (*DeleteRoleRequest) ProtoMessage()

func (*DeleteRoleRequest) Reset

func (m *DeleteRoleRequest) Reset()

func (*DeleteRoleRequest) String

func (m *DeleteRoleRequest) String() string

type DeleteRoleResponse

type DeleteRoleResponse struct {
	RowsDeleted int64 `protobuf:"varint,1,opt,name=RowsDeleted" json:"RowsDeleted,omitempty"`
}

func (*DeleteRoleResponse) Descriptor

func (*DeleteRoleResponse) Descriptor() ([]byte, []int)

func (*DeleteRoleResponse) GetRowsDeleted

func (m *DeleteRoleResponse) GetRowsDeleted() int64

func (*DeleteRoleResponse) ProtoMessage

func (*DeleteRoleResponse) ProtoMessage()

func (*DeleteRoleResponse) Reset

func (m *DeleteRoleResponse) Reset()

func (*DeleteRoleResponse) String

func (m *DeleteRoleResponse) String() string

type DeleteUserRequest

type DeleteUserRequest struct {
	Query *service.Query `protobuf:"bytes,1,opt,name=Query" json:"Query,omitempty"`
}

func (*DeleteUserRequest) Descriptor

func (*DeleteUserRequest) Descriptor() ([]byte, []int)

func (*DeleteUserRequest) GetQuery

func (m *DeleteUserRequest) GetQuery() *service.Query

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) Reset

func (m *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String

func (m *DeleteUserRequest) String() string

type DeleteUserResponse

type DeleteUserResponse struct {
	RowsDeleted int64 `protobuf:"varint,1,opt,name=RowsDeleted" json:"RowsDeleted,omitempty"`
}

func (*DeleteUserResponse) Descriptor

func (*DeleteUserResponse) Descriptor() ([]byte, []int)

func (*DeleteUserResponse) GetRowsDeleted

func (m *DeleteUserResponse) GetRowsDeleted() int64

func (*DeleteUserResponse) ProtoMessage

func (*DeleteUserResponse) ProtoMessage()

func (*DeleteUserResponse) Reset

func (m *DeleteUserResponse) Reset()

func (*DeleteUserResponse) String

func (m *DeleteUserResponse) String() string

type DeleteWorkspaceRequest

type DeleteWorkspaceRequest struct {
	Query *service.Query `protobuf:"bytes,1,opt,name=Query" json:"Query,omitempty"`
}

func (*DeleteWorkspaceRequest) Descriptor

func (*DeleteWorkspaceRequest) Descriptor() ([]byte, []int)

func (*DeleteWorkspaceRequest) GetQuery

func (m *DeleteWorkspaceRequest) GetQuery() *service.Query

func (*DeleteWorkspaceRequest) ProtoMessage

func (*DeleteWorkspaceRequest) ProtoMessage()

func (*DeleteWorkspaceRequest) Reset

func (m *DeleteWorkspaceRequest) Reset()

func (*DeleteWorkspaceRequest) String

func (m *DeleteWorkspaceRequest) String() string

type DeleteWorkspaceResponse

type DeleteWorkspaceResponse struct {
	RowsDeleted int64 `protobuf:"varint,1,opt,name=RowsDeleted" json:"RowsDeleted,omitempty"`
}

func (*DeleteWorkspaceResponse) Descriptor

func (*DeleteWorkspaceResponse) Descriptor() ([]byte, []int)

func (*DeleteWorkspaceResponse) GetRowsDeleted

func (m *DeleteWorkspaceResponse) GetRowsDeleted() int64

func (*DeleteWorkspaceResponse) ProtoMessage

func (*DeleteWorkspaceResponse) ProtoMessage()

func (*DeleteWorkspaceResponse) Reset

func (m *DeleteWorkspaceResponse) Reset()

func (*DeleteWorkspaceResponse) String

func (m *DeleteWorkspaceResponse) String() string

type ListPolicyGroupsRequest

type ListPolicyGroupsRequest struct {
}

func (*ListPolicyGroupsRequest) Descriptor

func (*ListPolicyGroupsRequest) Descriptor() ([]byte, []int)

func (*ListPolicyGroupsRequest) ProtoMessage

func (*ListPolicyGroupsRequest) ProtoMessage()

func (*ListPolicyGroupsRequest) Reset

func (m *ListPolicyGroupsRequest) Reset()

func (*ListPolicyGroupsRequest) String

func (m *ListPolicyGroupsRequest) String() string

type ListPolicyGroupsResponse

type ListPolicyGroupsResponse struct {
	PolicyGroups []*PolicyGroup `protobuf:"bytes,1,rep,name=PolicyGroups" json:"PolicyGroups,omitempty"`
	Total        int32          `protobuf:"varint,2,opt,name=Total" json:"Total,omitempty"`
}

func (*ListPolicyGroupsResponse) Descriptor

func (*ListPolicyGroupsResponse) Descriptor() ([]byte, []int)

func (*ListPolicyGroupsResponse) GetPolicyGroups

func (m *ListPolicyGroupsResponse) GetPolicyGroups() []*PolicyGroup

func (*ListPolicyGroupsResponse) GetTotal

func (m *ListPolicyGroupsResponse) GetTotal() int32

func (*ListPolicyGroupsResponse) ProtoMessage

func (*ListPolicyGroupsResponse) ProtoMessage()

func (*ListPolicyGroupsResponse) Reset

func (m *ListPolicyGroupsResponse) Reset()

func (*ListPolicyGroupsResponse) String

func (m *ListPolicyGroupsResponse) String() string

type ListUserMetaNamespaceRequest

type ListUserMetaNamespaceRequest struct {
}

List All MetaNamespaces

func (*ListUserMetaNamespaceRequest) Descriptor

func (*ListUserMetaNamespaceRequest) Descriptor() ([]byte, []int)

func (*ListUserMetaNamespaceRequest) ProtoMessage

func (*ListUserMetaNamespaceRequest) ProtoMessage()

func (*ListUserMetaNamespaceRequest) Reset

func (m *ListUserMetaNamespaceRequest) Reset()

func (*ListUserMetaNamespaceRequest) String

type ListUserMetaNamespaceResponse

type ListUserMetaNamespaceResponse struct {
	UserMetaNamespace *UserMetaNamespace `protobuf:"bytes,1,opt,name=UserMetaNamespace" json:"UserMetaNamespace,omitempty"`
}

Collection of results

func (*ListUserMetaNamespaceResponse) Descriptor

func (*ListUserMetaNamespaceResponse) Descriptor() ([]byte, []int)

func (*ListUserMetaNamespaceResponse) GetUserMetaNamespace

func (m *ListUserMetaNamespaceResponse) GetUserMetaNamespace() *UserMetaNamespace

func (*ListUserMetaNamespaceResponse) ProtoMessage

func (*ListUserMetaNamespaceResponse) ProtoMessage()

func (*ListUserMetaNamespaceResponse) Reset

func (m *ListUserMetaNamespaceResponse) Reset()

func (*ListUserMetaNamespaceResponse) String

type NodeType

type NodeType int32
const (
	NodeType_UNKNOWN NodeType = 0
	NodeType_USER    NodeType = 1
	NodeType_GROUP   NodeType = 2
)

func (NodeType) EnumDescriptor

func (NodeType) EnumDescriptor() ([]byte, []int)

func (NodeType) String

func (x NodeType) String() string

type Policy

type Policy struct {
	Id          string                      `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Description string                      `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
	Subjects    []string                    `protobuf:"bytes,3,rep,name=subjects" json:"subjects,omitempty"`
	Resources   []string                    `protobuf:"bytes,4,rep,name=resources" json:"resources,omitempty"`
	Actions     []string                    `protobuf:"bytes,5,rep,name=actions" json:"actions,omitempty"`
	Effect      PolicyEffect                `protobuf:"varint,6,opt,name=effect,enum=idm.PolicyEffect" json:"effect,omitempty"`
	Conditions  map[string]*PolicyCondition `` /* 140-byte string literal not displayed */
}

func (*Policy) Descriptor

func (*Policy) Descriptor() ([]byte, []int)

func (*Policy) GetActions

func (m *Policy) GetActions() []string

func (*Policy) GetConditions

func (m *Policy) GetConditions() map[string]*PolicyCondition

func (*Policy) GetDescription

func (m *Policy) GetDescription() string

func (*Policy) GetEffect

func (m *Policy) GetEffect() PolicyEffect

func (*Policy) GetId

func (m *Policy) GetId() string

func (*Policy) GetResources

func (m *Policy) GetResources() []string

func (*Policy) GetSubjects

func (m *Policy) GetSubjects() []string

func (*Policy) ProtoMessage

func (*Policy) ProtoMessage()

func (*Policy) Reset

func (m *Policy) Reset()

func (*Policy) String

func (m *Policy) String() string

func (*Policy) Zap

func (policy *Policy) Zap() zapcore.Field

Zap simply returns a zapcore.Field object populated with this policy under a standard key

func (*Policy) ZapId

func (policy *Policy) ZapId() zapcore.Field

ZapId simply calls zap.String() with PolicyId standard key and this policy id

type PolicyCondition

type PolicyCondition struct {
	Type        string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	JsonOptions string `protobuf:"bytes,2,opt,name=jsonOptions" json:"jsonOptions,omitempty"`
}

func (*PolicyCondition) Descriptor

func (*PolicyCondition) Descriptor() ([]byte, []int)

func (*PolicyCondition) GetJsonOptions

func (m *PolicyCondition) GetJsonOptions() string

func (*PolicyCondition) GetType

func (m *PolicyCondition) GetType() string

func (*PolicyCondition) MarshalJSONPB

func (c *PolicyCondition) MarshalJSONPB(marshaler *jsonpb.Marshaler) ([]byte, error)

func (*PolicyCondition) ProtoMessage

func (*PolicyCondition) ProtoMessage()

func (*PolicyCondition) Reset

func (m *PolicyCondition) Reset()

func (*PolicyCondition) String

func (m *PolicyCondition) String() string

func (*PolicyCondition) UnmarshalJSONPB

func (c *PolicyCondition) UnmarshalJSONPB(unmarshaller *jsonpb.Unmarshaler, data []byte) error

type PolicyEffect

type PolicyEffect int32
const (
	PolicyEffect_unknown PolicyEffect = 0
	PolicyEffect_deny    PolicyEffect = 1
	PolicyEffect_allow   PolicyEffect = 2
)

func (PolicyEffect) EnumDescriptor

func (PolicyEffect) EnumDescriptor() ([]byte, []int)

func (PolicyEffect) String

func (x PolicyEffect) String() string

type PolicyEngineRequest

type PolicyEngineRequest struct {
	Resource string            `protobuf:"bytes,1,opt,name=Resource" json:"Resource,omitempty"`
	Action   string            `protobuf:"bytes,2,opt,name=Action" json:"Action,omitempty"`
	Subjects []string          `protobuf:"bytes,3,rep,name=Subjects" json:"Subjects,omitempty"`
	Context  map[string]string `` /* 134-byte string literal not displayed */
}

************************************ Messages Structures ************************************

func (*PolicyEngineRequest) Descriptor

func (*PolicyEngineRequest) Descriptor() ([]byte, []int)

func (*PolicyEngineRequest) GetAction

func (m *PolicyEngineRequest) GetAction() string

func (*PolicyEngineRequest) GetContext

func (m *PolicyEngineRequest) GetContext() map[string]string

func (*PolicyEngineRequest) GetResource

func (m *PolicyEngineRequest) GetResource() string

func (*PolicyEngineRequest) GetSubjects

func (m *PolicyEngineRequest) GetSubjects() []string

func (*PolicyEngineRequest) ProtoMessage

func (*PolicyEngineRequest) ProtoMessage()

func (*PolicyEngineRequest) Reset

func (m *PolicyEngineRequest) Reset()

func (*PolicyEngineRequest) String

func (m *PolicyEngineRequest) String() string

type PolicyEngineResponse

type PolicyEngineResponse struct {
	Allowed      bool `protobuf:"varint,1,opt,name=Allowed" json:"Allowed,omitempty"`
	ExplicitDeny bool `protobuf:"varint,2,opt,name=ExplicitDeny" json:"ExplicitDeny,omitempty"`
	DefaultDeny  bool `protobuf:"varint,3,opt,name=DefaultDeny" json:"DefaultDeny,omitempty"`
}

func (*PolicyEngineResponse) Descriptor

func (*PolicyEngineResponse) Descriptor() ([]byte, []int)

func (*PolicyEngineResponse) GetAllowed

func (m *PolicyEngineResponse) GetAllowed() bool

func (*PolicyEngineResponse) GetDefaultDeny

func (m *PolicyEngineResponse) GetDefaultDeny() bool

func (*PolicyEngineResponse) GetExplicitDeny

func (m *PolicyEngineResponse) GetExplicitDeny() bool

func (*PolicyEngineResponse) ProtoMessage

func (*PolicyEngineResponse) ProtoMessage()

func (*PolicyEngineResponse) Reset

func (m *PolicyEngineResponse) Reset()

func (*PolicyEngineResponse) String

func (m *PolicyEngineResponse) String() string

type PolicyEngineService

type PolicyEngineService struct {
	PolicyEngineServiceHandler
}

func (*PolicyEngineService) DeletePolicyGroup

func (*PolicyEngineService) IsAllowed

func (*PolicyEngineService) ListPolicyGroups

func (*PolicyEngineService) StorePolicyGroup

type PolicyEngineServiceClient

type PolicyEngineServiceClient interface {
	IsAllowed(ctx context.Context, in *PolicyEngineRequest, opts ...client.CallOption) (*PolicyEngineResponse, error)
	StorePolicyGroup(ctx context.Context, in *StorePolicyGroupRequest, opts ...client.CallOption) (*StorePolicyGroupResponse, error)
	ListPolicyGroups(ctx context.Context, in *ListPolicyGroupsRequest, opts ...client.CallOption) (*ListPolicyGroupsResponse, error)
	DeletePolicyGroup(ctx context.Context, in *DeletePolicyGroupRequest, opts ...client.CallOption) (*DeletePolicyGroupResponse, error)
}

func NewPolicyEngineServiceClient

func NewPolicyEngineServiceClient(serviceName string, c client.Client) PolicyEngineServiceClient

type PolicyGroup

type PolicyGroup struct {
	Uuid          string              `protobuf:"bytes,1,opt,name=Uuid" json:"Uuid,omitempty"`
	Name          string              `protobuf:"bytes,2,opt,name=Name" json:"Name,omitempty"`
	Description   string              `protobuf:"bytes,3,opt,name=Description" json:"Description,omitempty"`
	OwnerUuid     string              `protobuf:"bytes,4,opt,name=OwnerUuid" json:"OwnerUuid,omitempty"`
	ResourceGroup PolicyResourceGroup `protobuf:"varint,5,opt,name=ResourceGroup,enum=idm.PolicyResourceGroup" json:"ResourceGroup,omitempty"`
	LastUpdated   int32               `protobuf:"varint,6,opt,name=LastUpdated" json:"LastUpdated,omitempty"`
	Policies      []*Policy           `protobuf:"bytes,7,rep,name=Policies" json:"Policies,omitempty"`
}

func (*PolicyGroup) Descriptor

func (*PolicyGroup) Descriptor() ([]byte, []int)

func (*PolicyGroup) GetDescription

func (m *PolicyGroup) GetDescription() string

func (*PolicyGroup) GetLastUpdated

func (m *PolicyGroup) GetLastUpdated() int32

func (*PolicyGroup) GetName

func (m *PolicyGroup) GetName() string

func (*PolicyGroup) GetOwnerUuid

func (m *PolicyGroup) GetOwnerUuid() string

func (*PolicyGroup) GetPolicies

func (m *PolicyGroup) GetPolicies() []*Policy

func (*PolicyGroup) GetResourceGroup

func (m *PolicyGroup) GetResourceGroup() PolicyResourceGroup

func (*PolicyGroup) GetUuid

func (m *PolicyGroup) GetUuid() string

func (*PolicyGroup) ProtoMessage

func (*PolicyGroup) ProtoMessage()

func (*PolicyGroup) Reset

func (m *PolicyGroup) Reset()

func (*PolicyGroup) String

func (m *PolicyGroup) String() string

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) EnumDescriptor

func (PolicyResourceGroup) EnumDescriptor() ([]byte, []int)

func (PolicyResourceGroup) String

func (x PolicyResourceGroup) String() string

type Role

type Role struct {
	Uuid                    string                    `protobuf:"bytes,1,opt,name=Uuid" json:"Uuid,omitempty"`
	Label                   string                    `protobuf:"bytes,2,opt,name=Label" json:"Label,omitempty"`
	IsTeam                  bool                      `protobuf:"varint,3,opt,name=IsTeam" json:"IsTeam,omitempty"`
	GroupRole               bool                      `protobuf:"varint,4,opt,name=GroupRole" json:"GroupRole,omitempty"`
	UserRole                bool                      `protobuf:"varint,5,opt,name=UserRole" json:"UserRole,omitempty"`
	LastUpdated             int32                     `protobuf:"varint,6,opt,name=LastUpdated" json:"LastUpdated,omitempty"`
	AutoApplies             []string                  `protobuf:"bytes,7,rep,name=AutoApplies" json:"AutoApplies,omitempty"`
	Policies                []*service.ResourcePolicy `protobuf:"bytes,8,rep,name=Policies" json:"Policies,omitempty"`
	PoliciesContextEditable bool                      `protobuf:"varint,9,opt,name=PoliciesContextEditable" json:"PoliciesContextEditable,omitempty"`
}

func (*Role) Descriptor

func (*Role) Descriptor() ([]byte, []int)

func (*Role) GetAutoApplies

func (m *Role) GetAutoApplies() []string

func (*Role) GetGroupRole

func (m *Role) GetGroupRole() bool

func (*Role) GetIsTeam

func (m *Role) GetIsTeam() bool

func (*Role) GetLabel

func (m *Role) GetLabel() string

func (*Role) GetLastUpdated

func (m *Role) GetLastUpdated() int32

func (*Role) GetPolicies

func (m *Role) GetPolicies() []*service.ResourcePolicy

func (*Role) GetPoliciesContextEditable

func (m *Role) GetPoliciesContextEditable() bool

func (*Role) GetUserRole

func (m *Role) GetUserRole() bool

func (*Role) GetUuid

func (m *Role) GetUuid() string

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) Reset

func (m *Role) Reset()

func (*Role) String

func (m *Role) String() string

func (*Role) Zap

func (role *Role) Zap() zapcore.Field

Zap simply returns a zapcore.Field object populated with this role under a standard key

func (*Role) ZapUuid

func (role *Role) ZapUuid() zapcore.Field

ZapUuid simply calls zap.String() with RoleUuid standard key and this role uuid

type RoleService

type RoleService struct {
	RoleServiceHandler
}

func (*RoleService) CreateRole

func (h *RoleService) CreateRole(ctx context.Context, in *CreateRoleRequest, out *CreateRoleResponse) error

func (*RoleService) DeleteRole

func (h *RoleService) DeleteRole(ctx context.Context, in *DeleteRoleRequest, out *DeleteRoleResponse) error

func (*RoleService) SearchRole

func (h *RoleService) SearchRole(ctx context.Context, stream server.Streamer) error

func (*RoleService) StreamRole

func (h *RoleService) StreamRole(ctx context.Context, stream server.Streamer) error

type RoleServiceClient

type RoleServiceClient interface {
	CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...client.CallOption) (*CreateRoleResponse, error)
	DeleteRole(ctx context.Context, in *DeleteRoleRequest, opts ...client.CallOption) (*DeleteRoleResponse, error)
	SearchRole(ctx context.Context, in *SearchRoleRequest, opts ...client.CallOption) (RoleService_SearchRoleClient, error)
	StreamRole(ctx context.Context, opts ...client.CallOption) (RoleService_StreamRoleClient, error)
}

func NewRoleServiceClient

func NewRoleServiceClient(serviceName string, c client.Client) RoleServiceClient

type RoleService_SearchRoleClient

type RoleService_SearchRoleClient interface {
	SendMsg(interface{}) error
	RecvMsg(interface{}) error
	Close() error
	Recv() (*SearchRoleResponse, error)
}

type RoleService_SearchRoleStream

type RoleService_SearchRoleStream interface {
	SendMsg(interface{}) error
	RecvMsg(interface{}) error
	Close() error
	Send(*SearchRoleResponse) error
}

type RoleService_StreamRoleClient

type RoleService_StreamRoleClient interface {
	SendMsg(interface{}) error
	RecvMsg(interface{}) error
	Close() error
	Send(*SearchRoleRequest) error
	Recv() (*SearchRoleResponse, error)
}

type RoleService_StreamRoleStream

type RoleService_StreamRoleStream interface {
	SendMsg(interface{}) error
	RecvMsg(interface{}) error
	Close() error
	Send(*SearchRoleResponse) error
	Recv() (*SearchRoleRequest, error)
}

type RoleSingleQuery

type RoleSingleQuery struct {
	Uuid         []string `protobuf:"bytes,1,rep,name=Uuid" json:"Uuid,omitempty"`
	Label        string   `protobuf:"bytes,2,opt,name=Label" json:"Label,omitempty"`
	IsTeam       bool     `protobuf:"varint,3,opt,name=IsTeam" json:"IsTeam,omitempty"`
	IsGroupRole  bool     `protobuf:"varint,4,opt,name=IsGroupRole" json:"IsGroupRole,omitempty"`
	IsUserRole   bool     `protobuf:"varint,5,opt,name=IsUserRole" json:"IsUserRole,omitempty"`
	HasAutoApply bool     `protobuf:"varint,6,opt,name=HasAutoApply" json:"HasAutoApply,omitempty"`
	Not          bool     `protobuf:"varint,7,opt,name=not" json:"not,omitempty"`
}

func (*RoleSingleQuery) Descriptor

func (*RoleSingleQuery) Descriptor() ([]byte, []int)

func (*RoleSingleQuery) GetHasAutoApply

func (m *RoleSingleQuery) GetHasAutoApply() bool

func (*RoleSingleQuery) GetIsGroupRole

func (m *RoleSingleQuery) GetIsGroupRole() bool

func (*RoleSingleQuery) GetIsTeam

func (m *RoleSingleQuery) GetIsTeam() bool

func (*RoleSingleQuery) GetIsUserRole

func (m *RoleSingleQuery) GetIsUserRole() bool

func (*RoleSingleQuery) GetLabel

func (m *RoleSingleQuery) GetLabel() string

func (*RoleSingleQuery) GetNot

func (m *RoleSingleQuery) GetNot() bool

func (*RoleSingleQuery) GetUuid

func (m *RoleSingleQuery) GetUuid() []string

func (*RoleSingleQuery) ProtoMessage

func (*RoleSingleQuery) ProtoMessage()

func (*RoleSingleQuery) Reset

func (m *RoleSingleQuery) Reset()

func (*RoleSingleQuery) String

func (m *RoleSingleQuery) String() string

type SearchACLRequest

type SearchACLRequest struct {
	Query *service.Query `protobuf:"bytes,1,opt,name=Query" json:"Query,omitempty"`
}

func (*SearchACLRequest) Descriptor

func (*SearchACLRequest) Descriptor() ([]byte, []int)

func (*SearchACLRequest) GetQuery

func (m *SearchACLRequest) GetQuery() *service.Query

func (*SearchACLRequest) ProtoMessage

func (*SearchACLRequest) ProtoMessage()

func (*SearchACLRequest) Reset

func (m *SearchACLRequest) Reset()

func (*SearchACLRequest) String

func (m *SearchACLRequest) String() string

type SearchACLResponse

type SearchACLResponse struct {
	ACL *ACL `protobuf:"bytes,1,opt,name=ACL" json:"ACL,omitempty"`
}

func (*SearchACLResponse) Descriptor

func (*SearchACLResponse) Descriptor() ([]byte, []int)

func (*SearchACLResponse) GetACL

func (m *SearchACLResponse) GetACL() *ACL

func (*SearchACLResponse) ProtoMessage

func (*SearchACLResponse) ProtoMessage()

func (*SearchACLResponse) Reset

func (m *SearchACLResponse) Reset()

func (*SearchACLResponse) String

func (m *SearchACLResponse) String() string

type SearchRoleRequest

type SearchRoleRequest struct {
	Query *service.Query `protobuf:"bytes,1,opt,name=Query" json:"Query,omitempty"`
}

func (*SearchRoleRequest) Descriptor

func (*SearchRoleRequest) Descriptor() ([]byte, []int)

func (*SearchRoleRequest) GetQuery

func (m *SearchRoleRequest) GetQuery() *service.Query

func (*SearchRoleRequest) ProtoMessage

func (*SearchRoleRequest) ProtoMessage()

func (*SearchRoleRequest) Reset

func (m *SearchRoleRequest) Reset()

func (*SearchRoleRequest) String

func (m *SearchRoleRequest) String() string

type SearchRoleResponse

type SearchRoleResponse struct {
	Role *Role `protobuf:"bytes,1,opt,name=Role" json:"Role,omitempty"`
}

func (*SearchRoleResponse) Descriptor

func (*SearchRoleResponse) Descriptor() ([]byte, []int)

func (*SearchRoleResponse) GetRole

func (m *SearchRoleResponse) GetRole() *Role

func (*SearchRoleResponse) ProtoMessage

func (*SearchRoleResponse) ProtoMessage()

func (*SearchRoleResponse) Reset

func (m *SearchRoleResponse) Reset()

func (*SearchRoleResponse) String

func (m *SearchRoleResponse) String() string

type SearchUserMetaRequest

type SearchUserMetaRequest struct {
	MetaUuids            []string                     `protobuf:"bytes,1,rep,name=MetaUuids" json:"MetaUuids,omitempty"`
	NodeUuids            []string                     `protobuf:"bytes,2,rep,name=NodeUuids" json:"NodeUuids,omitempty"`
	Namespace            string                       `protobuf:"bytes,3,opt,name=Namespace" json:"Namespace,omitempty"`
	ResourceSubjectOwner string                       `protobuf:"bytes,4,opt,name=ResourceSubjectOwner" json:"ResourceSubjectOwner,omitempty"`
	ResourceQuery        *service.ResourcePolicyQuery `protobuf:"bytes,5,opt,name=ResourceQuery" json:"ResourceQuery,omitempty"`
}

Request for searching UserMeta by NodeUuid or by Namespace

func (*SearchUserMetaRequest) Descriptor

func (*SearchUserMetaRequest) Descriptor() ([]byte, []int)

func (*SearchUserMetaRequest) GetMetaUuids

func (m *SearchUserMetaRequest) GetMetaUuids() []string

func (*SearchUserMetaRequest) GetNamespace

func (m *SearchUserMetaRequest) GetNamespace() string

func (*SearchUserMetaRequest) GetNodeUuids

func (m *SearchUserMetaRequest) GetNodeUuids() []string

func (*SearchUserMetaRequest) GetResourceQuery

func (m *SearchUserMetaRequest) GetResourceQuery() *service.ResourcePolicyQuery

func (*SearchUserMetaRequest) GetResourceSubjectOwner

func (m *SearchUserMetaRequest) GetResourceSubjectOwner() string

func (*SearchUserMetaRequest) ProtoMessage

func (*SearchUserMetaRequest) ProtoMessage()

func (*SearchUserMetaRequest) Reset

func (m *SearchUserMetaRequest) Reset()

func (*SearchUserMetaRequest) String

func (m *SearchUserMetaRequest) String() string

type SearchUserMetaResponse

type SearchUserMetaResponse struct {
	UserMeta *UserMeta `protobuf:"bytes,1,opt,name=UserMeta" json:"UserMeta,omitempty"`
}

Streamed container for the UserMeta results

func (*SearchUserMetaResponse) Descriptor

func (*SearchUserMetaResponse) Descriptor() ([]byte, []int)

func (*SearchUserMetaResponse) GetUserMeta

func (m *SearchUserMetaResponse) GetUserMeta() *UserMeta

func (*SearchUserMetaResponse) ProtoMessage

func (*SearchUserMetaResponse) ProtoMessage()

func (*SearchUserMetaResponse) Reset

func (m *SearchUserMetaResponse) Reset()

func (*SearchUserMetaResponse) String

func (m *SearchUserMetaResponse) String() string

type SearchUserRequest

type SearchUserRequest struct {
	Query *service.Query `protobuf:"bytes,1,opt,name=Query" json:"Query,omitempty"`
}

func (*SearchUserRequest) Descriptor

func (*SearchUserRequest) Descriptor() ([]byte, []int)

func (*SearchUserRequest) GetQuery

func (m *SearchUserRequest) GetQuery() *service.Query

func (*SearchUserRequest) ProtoMessage

func (*SearchUserRequest) ProtoMessage()

func (*SearchUserRequest) Reset

func (m *SearchUserRequest) Reset()

func (*SearchUserRequest) String

func (m *SearchUserRequest) String() string

type SearchUserResponse

type SearchUserResponse struct {
	User *User `protobuf:"bytes,1,opt,name=User" json:"User,omitempty"`
}

func (*SearchUserResponse) Descriptor

func (*SearchUserResponse) Descriptor() ([]byte, []int)

func (*SearchUserResponse) GetUser

func (m *SearchUserResponse) GetUser() *User

func (*SearchUserResponse) ProtoMessage

func (*SearchUserResponse) ProtoMessage()

func (*SearchUserResponse) Reset

func (m *SearchUserResponse) Reset()

func (*SearchUserResponse) String

func (m *SearchUserResponse) String() string

type SearchWorkspaceRequest

type SearchWorkspaceRequest struct {
	Query *service.Query `protobuf:"bytes,1,opt,name=Query" json:"Query,omitempty"`
}

func (*SearchWorkspaceRequest) Descriptor

func (*SearchWorkspaceRequest) Descriptor() ([]byte, []int)

func (*SearchWorkspaceRequest) GetQuery

func (m *SearchWorkspaceRequest) GetQuery() *service.Query

func (*SearchWorkspaceRequest) ProtoMessage

func (*SearchWorkspaceRequest) ProtoMessage()

func (*SearchWorkspaceRequest) Reset

func (m *SearchWorkspaceRequest) Reset()

func (*SearchWorkspaceRequest) String

func (m *SearchWorkspaceRequest) String() string

type SearchWorkspaceResponse

type SearchWorkspaceResponse struct {
	Workspace *Workspace `protobuf:"bytes,1,opt,name=Workspace" json:"Workspace,omitempty"`
}

func (*SearchWorkspaceResponse) Descriptor

func (*SearchWorkspaceResponse) Descriptor() ([]byte, []int)

func (*SearchWorkspaceResponse) GetWorkspace

func (m *SearchWorkspaceResponse) GetWorkspace() *Workspace

func (*SearchWorkspaceResponse) ProtoMessage

func (*SearchWorkspaceResponse) ProtoMessage()

func (*SearchWorkspaceResponse) Reset

func (m *SearchWorkspaceResponse) Reset()

func (*SearchWorkspaceResponse) String

func (m *SearchWorkspaceResponse) String() string

type StorePolicyGroupRequest

type StorePolicyGroupRequest struct {
	PolicyGroup *PolicyGroup `protobuf:"bytes,1,opt,name=PolicyGroup" json:"PolicyGroup,omitempty"`
}

Request / Response Messages

func (*StorePolicyGroupRequest) Descriptor

func (*StorePolicyGroupRequest) Descriptor() ([]byte, []int)

func (*StorePolicyGroupRequest) GetPolicyGroup

func (m *StorePolicyGroupRequest) GetPolicyGroup() *PolicyGroup

func (*StorePolicyGroupRequest) ProtoMessage

func (*StorePolicyGroupRequest) ProtoMessage()

func (*StorePolicyGroupRequest) Reset

func (m *StorePolicyGroupRequest) Reset()

func (*StorePolicyGroupRequest) String

func (m *StorePolicyGroupRequest) String() string

type StorePolicyGroupResponse

type StorePolicyGroupResponse struct {
	PolicyGroup *PolicyGroup `protobuf:"bytes,1,opt,name=PolicyGroup" json:"PolicyGroup,omitempty"`
}

func (*StorePolicyGroupResponse) Descriptor

func (*StorePolicyGroupResponse) Descriptor() ([]byte, []int)

func (*StorePolicyGroupResponse) GetPolicyGroup

func (m *StorePolicyGroupResponse) GetPolicyGroup() *PolicyGroup

func (*StorePolicyGroupResponse) ProtoMessage

func (*StorePolicyGroupResponse) ProtoMessage()

func (*StorePolicyGroupResponse) Reset

func (m *StorePolicyGroupResponse) Reset()

func (*StorePolicyGroupResponse) String

func (m *StorePolicyGroupResponse) String() string

type UpdateUserMetaNamespaceRequest

type UpdateUserMetaNamespaceRequest struct {
	Operation  UpdateUserMetaNamespaceRequest_UserMetaNsOp `protobuf:"varint,1,opt,name=Operation,enum=idm.UpdateUserMetaNamespaceRequest_UserMetaNsOp" json:"Operation,omitempty"`
	Namespaces []*UserMetaNamespace                        `protobuf:"bytes,2,rep,name=Namespaces" json:"Namespaces,omitempty"`
}

Modify UserMetaNamespaces

func (*UpdateUserMetaNamespaceRequest) Descriptor

func (*UpdateUserMetaNamespaceRequest) Descriptor() ([]byte, []int)

func (*UpdateUserMetaNamespaceRequest) GetNamespaces

func (m *UpdateUserMetaNamespaceRequest) GetNamespaces() []*UserMetaNamespace

func (*UpdateUserMetaNamespaceRequest) GetOperation

func (*UpdateUserMetaNamespaceRequest) ProtoMessage

func (*UpdateUserMetaNamespaceRequest) ProtoMessage()

func (*UpdateUserMetaNamespaceRequest) Reset

func (m *UpdateUserMetaNamespaceRequest) Reset()

func (*UpdateUserMetaNamespaceRequest) String

type UpdateUserMetaNamespaceRequest_UserMetaNsOp

type UpdateUserMetaNamespaceRequest_UserMetaNsOp int32
const (
	UpdateUserMetaNamespaceRequest_PUT    UpdateUserMetaNamespaceRequest_UserMetaNsOp = 0
	UpdateUserMetaNamespaceRequest_DELETE UpdateUserMetaNamespaceRequest_UserMetaNsOp = 1
)

func (UpdateUserMetaNamespaceRequest_UserMetaNsOp) EnumDescriptor

func (UpdateUserMetaNamespaceRequest_UserMetaNsOp) EnumDescriptor() ([]byte, []int)

func (UpdateUserMetaNamespaceRequest_UserMetaNsOp) String

type UpdateUserMetaNamespaceResponse

type UpdateUserMetaNamespaceResponse struct {
	Namespaces []*UserMetaNamespace `protobuf:"bytes,1,rep,name=Namespaces" json:"Namespaces,omitempty"`
}

Response of the

func (*UpdateUserMetaNamespaceResponse) Descriptor

func (*UpdateUserMetaNamespaceResponse) Descriptor() ([]byte, []int)

func (*UpdateUserMetaNamespaceResponse) GetNamespaces

func (m *UpdateUserMetaNamespaceResponse) GetNamespaces() []*UserMetaNamespace

func (*UpdateUserMetaNamespaceResponse) ProtoMessage

func (*UpdateUserMetaNamespaceResponse) ProtoMessage()

func (*UpdateUserMetaNamespaceResponse) Reset

func (*UpdateUserMetaNamespaceResponse) String

type UpdateUserMetaRequest

type UpdateUserMetaRequest struct {
	Operation UpdateUserMetaRequest_UserMetaOp `protobuf:"varint,1,opt,name=Operation,enum=idm.UpdateUserMetaRequest_UserMetaOp" json:"Operation,omitempty"`
	MetaDatas []*UserMeta                      `protobuf:"bytes,3,rep,name=MetaDatas" json:"MetaDatas,omitempty"`
}

Request for modifying UserMeta

func (*UpdateUserMetaRequest) Descriptor

func (*UpdateUserMetaRequest) Descriptor() ([]byte, []int)

func (*UpdateUserMetaRequest) GetMetaDatas

func (m *UpdateUserMetaRequest) GetMetaDatas() []*UserMeta

func (*UpdateUserMetaRequest) GetOperation

func (*UpdateUserMetaRequest) ProtoMessage

func (*UpdateUserMetaRequest) ProtoMessage()

func (*UpdateUserMetaRequest) Reset

func (m *UpdateUserMetaRequest) Reset()

func (*UpdateUserMetaRequest) String

func (m *UpdateUserMetaRequest) String() string

type UpdateUserMetaRequest_UserMetaOp

type UpdateUserMetaRequest_UserMetaOp int32
const (
	UpdateUserMetaRequest_PUT    UpdateUserMetaRequest_UserMetaOp = 0
	UpdateUserMetaRequest_DELETE UpdateUserMetaRequest_UserMetaOp = 1
)

func (UpdateUserMetaRequest_UserMetaOp) EnumDescriptor

func (UpdateUserMetaRequest_UserMetaOp) EnumDescriptor() ([]byte, []int)

func (UpdateUserMetaRequest_UserMetaOp) String

type UpdateUserMetaResponse

type UpdateUserMetaResponse struct {
	MetaDatas []*UserMeta `protobuf:"bytes,3,rep,name=MetaDatas" json:"MetaDatas,omitempty"`
}

Response of UpdateUserMeta service

func (*UpdateUserMetaResponse) Descriptor

func (*UpdateUserMetaResponse) Descriptor() ([]byte, []int)

func (*UpdateUserMetaResponse) GetMetaDatas

func (m *UpdateUserMetaResponse) GetMetaDatas() []*UserMeta

func (*UpdateUserMetaResponse) ProtoMessage

func (*UpdateUserMetaResponse) ProtoMessage()

func (*UpdateUserMetaResponse) Reset

func (m *UpdateUserMetaResponse) Reset()

func (*UpdateUserMetaResponse) String

func (m *UpdateUserMetaResponse) String() string

type User

type User struct {
	Uuid       string            `protobuf:"bytes,1,opt,name=Uuid" json:"Uuid,omitempty"`
	GroupPath  string            `protobuf:"bytes,2,opt,name=GroupPath" json:"GroupPath,omitempty"`
	Attributes map[string]string `` /* 140-byte string literal not displayed */
	Roles      []*Role           `protobuf:"bytes,4,rep,name=Roles" json:"Roles,omitempty"`
	// User specific data
	Login       string `protobuf:"bytes,5,opt,name=Login" json:"Login,omitempty"`
	Password    string `protobuf:"bytes,6,opt,name=Password" json:"Password,omitempty"`
	OldPassword string `protobuf:"bytes,11,opt,name=OldPassword" json:"OldPassword,omitempty"`
	// Group specific data
	IsGroup                 bool                      `protobuf:"varint,7,opt,name=IsGroup" json:"IsGroup,omitempty"`
	GroupLabel              string                    `protobuf:"bytes,8,opt,name=GroupLabel" json:"GroupLabel,omitempty"`
	Policies                []*service.ResourcePolicy `protobuf:"bytes,9,rep,name=Policies" json:"Policies,omitempty"`
	PoliciesContextEditable bool                      `protobuf:"varint,10,opt,name=PoliciesContextEditable" json:"PoliciesContextEditable,omitempty"`
}

func (*User) Descriptor

func (*User) Descriptor() ([]byte, []int)

func (*User) GetAttributes

func (m *User) GetAttributes() map[string]string

func (*User) GetGroupLabel

func (m *User) GetGroupLabel() string

func (*User) GetGroupPath

func (m *User) GetGroupPath() string

func (*User) GetIsGroup

func (m *User) GetIsGroup() bool

func (*User) GetLogin

func (m *User) GetLogin() string

func (*User) GetOldPassword added in v1.2.0

func (m *User) GetOldPassword() string

func (*User) GetPassword

func (m *User) GetPassword() string

func (*User) GetPolicies

func (m *User) GetPolicies() []*service.ResourcePolicy

func (*User) GetPoliciesContextEditable

func (m *User) GetPoliciesContextEditable() bool

func (*User) GetRoles

func (m *User) GetRoles() []*Role

func (*User) GetUuid

func (m *User) GetUuid() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) String

func (m *User) String() string

func (*User) WithPublicData added in v1.2.0

func (u *User) WithPublicData(ctx context.Context, policiesContextEditable bool) *User

func (*User) Zap

func (user *User) Zap() zapcore.Field

Zap simply returns a zapcore.Field object populated with this user under a standard key

func (*User) ZapLogin

func (user *User) ZapLogin() zapcore.Field

ZapUuid simply calls zap.String() with Login standard key and this user login

func (*User) ZapUuid

func (user *User) ZapUuid() zapcore.Field

ZapUuid simply calls zap.String() with UserUuid standard key and this user uuid

type UserMeta

type UserMeta struct {
	Uuid                    string                    `protobuf:"bytes,1,opt,name=Uuid" json:"Uuid,omitempty"`
	NodeUuid                string                    `protobuf:"bytes,2,opt,name=NodeUuid" json:"NodeUuid,omitempty"`
	Namespace               string                    `protobuf:"bytes,3,opt,name=Namespace" json:"Namespace,omitempty"`
	JsonValue               string                    `protobuf:"bytes,4,opt,name=JsonValue" json:"JsonValue,omitempty"`
	Policies                []*service.ResourcePolicy `protobuf:"bytes,5,rep,name=Policies" json:"Policies,omitempty"`
	PoliciesContextEditable bool                      `protobuf:"varint,6,opt,name=PoliciesContextEditable" json:"PoliciesContextEditable,omitempty"`
}

Piece of metadata attached to a node

func (*UserMeta) Descriptor

func (*UserMeta) Descriptor() ([]byte, []int)

func (*UserMeta) GetJsonValue

func (m *UserMeta) GetJsonValue() string

func (*UserMeta) GetNamespace

func (m *UserMeta) GetNamespace() string

func (*UserMeta) GetNodeUuid

func (m *UserMeta) GetNodeUuid() string

func (*UserMeta) GetPolicies

func (m *UserMeta) GetPolicies() []*service.ResourcePolicy

func (*UserMeta) GetPoliciesContextEditable

func (m *UserMeta) GetPoliciesContextEditable() bool

func (*UserMeta) GetUuid

func (m *UserMeta) GetUuid() string

func (*UserMeta) ProtoMessage

func (*UserMeta) ProtoMessage()

func (*UserMeta) Reset

func (m *UserMeta) Reset()

func (*UserMeta) String

func (m *UserMeta) String() string

type UserMetaNamespace

type UserMetaNamespace struct {
	Namespace      string                    `protobuf:"bytes,1,opt,name=Namespace" json:"Namespace,omitempty"`
	Label          string                    `protobuf:"bytes,2,opt,name=Label" json:"Label,omitempty"`
	Order          int32                     `protobuf:"varint,3,opt,name=Order" json:"Order,omitempty"`
	Indexable      bool                      `protobuf:"varint,4,opt,name=Indexable" json:"Indexable,omitempty"`
	JsonDefinition string                    `protobuf:"bytes,5,opt,name=JsonDefinition" json:"JsonDefinition,omitempty"`
	Policies       []*service.ResourcePolicy `protobuf:"bytes,6,rep,name=Policies" json:"Policies,omitempty"`
}

Globally declared Namespace with associated policies

func (*UserMetaNamespace) Descriptor

func (*UserMetaNamespace) Descriptor() ([]byte, []int)

func (*UserMetaNamespace) GetIndexable

func (m *UserMetaNamespace) GetIndexable() bool

func (*UserMetaNamespace) GetJsonDefinition

func (m *UserMetaNamespace) GetJsonDefinition() string

func (*UserMetaNamespace) GetLabel

func (m *UserMetaNamespace) GetLabel() string

func (*UserMetaNamespace) GetNamespace

func (m *UserMetaNamespace) GetNamespace() string

func (*UserMetaNamespace) GetOrder

func (m *UserMetaNamespace) GetOrder() int32

func (*UserMetaNamespace) GetPolicies

func (m *UserMetaNamespace) GetPolicies() []*service.ResourcePolicy

func (*UserMetaNamespace) ProtoMessage

func (*UserMetaNamespace) ProtoMessage()

func (*UserMetaNamespace) Reset

func (m *UserMetaNamespace) Reset()

func (*UserMetaNamespace) String

func (m *UserMetaNamespace) String() string

type UserMetaService

type UserMetaService struct {
	UserMetaServiceHandler
}

func (*UserMetaService) ListUserMetaNamespace

func (h *UserMetaService) ListUserMetaNamespace(ctx context.Context, stream server.Streamer) error

func (*UserMetaService) SearchUserMeta

func (h *UserMetaService) SearchUserMeta(ctx context.Context, stream server.Streamer) error

func (*UserMetaService) UpdateUserMeta

func (*UserMetaService) UpdateUserMetaNamespace

type UserMetaService_ListUserMetaNamespaceClient

type UserMetaService_ListUserMetaNamespaceClient interface {
	SendMsg(interface{}) error
	RecvMsg(interface{}) error
	Close() error
	Recv() (*ListUserMetaNamespaceResponse, error)
}

type UserMetaService_ListUserMetaNamespaceStream

type UserMetaService_ListUserMetaNamespaceStream interface {
	SendMsg(interface{}) error
	RecvMsg(interface{}) error
	Close() error
	Send(*ListUserMetaNamespaceResponse) error
}

type UserMetaService_SearchUserMetaClient

type UserMetaService_SearchUserMetaClient interface {
	SendMsg(interface{}) error
	RecvMsg(interface{}) error
	Close() error
	Recv() (*SearchUserMetaResponse, error)
}

type UserMetaService_SearchUserMetaStream

type UserMetaService_SearchUserMetaStream interface {
	SendMsg(interface{}) error
	RecvMsg(interface{}) error
	Close() error
	Send(*SearchUserMetaResponse) error
}

type UserService

type UserService struct {
	UserServiceHandler
}

func (*UserService) BindUser

func (h *UserService) BindUser(ctx context.Context, in *BindUserRequest, out *BindUserResponse) error

func (*UserService) CountUser

func (h *UserService) CountUser(ctx context.Context, in *SearchUserRequest, out *CountUserResponse) error

func (*UserService) CreateUser

func (h *UserService) CreateUser(ctx context.Context, in *CreateUserRequest, out *CreateUserResponse) error

func (*UserService) DeleteUser

func (h *UserService) DeleteUser(ctx context.Context, in *DeleteUserRequest, out *DeleteUserResponse) error

func (*UserService) SearchUser

func (h *UserService) SearchUser(ctx context.Context, stream server.Streamer) error

func (*UserService) StreamUser

func (h *UserService) StreamUser(ctx context.Context, stream server.Streamer) error

type UserServiceClient

func NewUserServiceClient

func NewUserServiceClient(serviceName string, c client.Client) UserServiceClient

type UserService_SearchUserClient

type UserService_SearchUserClient interface {
	SendMsg(interface{}) error
	RecvMsg(interface{}) error
	Close() error
	Recv() (*SearchUserResponse, error)
}

type UserService_SearchUserStream

type UserService_SearchUserStream interface {
	SendMsg(interface{}) error
	RecvMsg(interface{}) error
	Close() error
	Send(*SearchUserResponse) error
}

type UserService_StreamUserClient

type UserService_StreamUserClient interface {
	SendMsg(interface{}) error
	RecvMsg(interface{}) error
	Close() error
	Send(*SearchUserRequest) error
	Recv() (*SearchUserResponse, error)
}

type UserService_StreamUserStream

type UserService_StreamUserStream interface {
	SendMsg(interface{}) error
	RecvMsg(interface{}) error
	Close() error
	Send(*SearchUserResponse) error
	Recv() (*SearchUserRequest, error)
}

type UserSingleQuery

type UserSingleQuery struct {
	Uuid     string `protobuf:"bytes,11,opt,name=Uuid" json:"Uuid,omitempty"`
	Login    string `protobuf:"bytes,1,opt,name=Login" json:"Login,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=Password" json:"Password,omitempty"`
	// Search on group path, and if so, search recursively
	GroupPath string `protobuf:"bytes,3,opt,name=GroupPath" json:"GroupPath,omitempty"`
	Recursive bool   `protobuf:"varint,4,opt,name=Recursive" json:"Recursive,omitempty"`
	// Search a specific group by path
	FullPath string `protobuf:"bytes,12,opt,name=FullPath" json:"FullPath,omitempty"`
	// Search on attribute
	AttributeName     string `protobuf:"bytes,5,opt,name=AttributeName" json:"AttributeName,omitempty"`
	AttributeValue    string `protobuf:"bytes,6,opt,name=AttributeValue" json:"AttributeValue,omitempty"`
	AttributeAnyValue bool   `protobuf:"varint,7,opt,name=AttributeAnyValue" json:"AttributeAnyValue,omitempty"`
	// Search on roles
	HasRole  string   `protobuf:"bytes,8,opt,name=HasRole" json:"HasRole,omitempty"`
	NodeType NodeType `protobuf:"varint,9,opt,name=NodeType,enum=idm.NodeType" json:"NodeType,omitempty"`
	Not      bool     `protobuf:"varint,10,opt,name=not" json:"not,omitempty"`
}

func (*UserSingleQuery) Descriptor

func (*UserSingleQuery) Descriptor() ([]byte, []int)

func (*UserSingleQuery) GetAttributeAnyValue

func (m *UserSingleQuery) GetAttributeAnyValue() bool

func (*UserSingleQuery) GetAttributeName

func (m *UserSingleQuery) GetAttributeName() string

func (*UserSingleQuery) GetAttributeValue

func (m *UserSingleQuery) GetAttributeValue() string

func (*UserSingleQuery) GetFullPath

func (m *UserSingleQuery) GetFullPath() string

func (*UserSingleQuery) GetGroupPath

func (m *UserSingleQuery) GetGroupPath() string

func (*UserSingleQuery) GetHasRole

func (m *UserSingleQuery) GetHasRole() string

func (*UserSingleQuery) GetLogin

func (m *UserSingleQuery) GetLogin() string

func (*UserSingleQuery) GetNodeType

func (m *UserSingleQuery) GetNodeType() NodeType

func (*UserSingleQuery) GetNot

func (m *UserSingleQuery) GetNot() bool

func (*UserSingleQuery) GetPassword

func (m *UserSingleQuery) GetPassword() string

func (*UserSingleQuery) GetRecursive

func (m *UserSingleQuery) GetRecursive() bool

func (*UserSingleQuery) GetUuid

func (m *UserSingleQuery) GetUuid() string

func (*UserSingleQuery) ProtoMessage

func (*UserSingleQuery) ProtoMessage()

func (*UserSingleQuery) Reset

func (m *UserSingleQuery) Reset()

func (*UserSingleQuery) String

func (m *UserSingleQuery) String() string

type Workspace

type Workspace struct {
	UUID                    string                    `protobuf:"bytes,1,opt,name=UUID" json:"UUID,omitempty"`
	Label                   string                    `protobuf:"bytes,2,opt,name=Label" json:"Label,omitempty"`
	Description             string                    `protobuf:"bytes,3,opt,name=Description" json:"Description,omitempty"`
	Slug                    string                    `protobuf:"bytes,4,opt,name=Slug" json:"Slug,omitempty"`
	Scope                   WorkspaceScope            `protobuf:"varint,5,opt,name=Scope,enum=idm.WorkspaceScope" json:"Scope,omitempty"`
	LastUpdated             int32                     `protobuf:"varint,6,opt,name=LastUpdated" json:"LastUpdated,omitempty"`
	Policies                []*service.ResourcePolicy `protobuf:"bytes,7,rep,name=Policies" json:"Policies,omitempty"`
	Attributes              string                    `protobuf:"bytes,8,opt,name=Attributes" json:"Attributes,omitempty"`
	RootUUIDs               []string                  `protobuf:"bytes,9,rep,name=RootUUIDs" json:"RootUUIDs,omitempty"`
	RootNodes               map[string]*tree.Node     `` /* 139-byte string literal not displayed */
	PoliciesContextEditable bool                      `protobuf:"varint,12,opt,name=PoliciesContextEditable" json:"PoliciesContextEditable,omitempty"`
}

func (*Workspace) Descriptor

func (*Workspace) Descriptor() ([]byte, []int)

func (*Workspace) GetAttributes

func (m *Workspace) GetAttributes() string

func (*Workspace) GetDescription

func (m *Workspace) GetDescription() string

func (*Workspace) GetLabel

func (m *Workspace) GetLabel() string

func (*Workspace) GetLastUpdated

func (m *Workspace) GetLastUpdated() int32

func (*Workspace) GetPolicies

func (m *Workspace) GetPolicies() []*service.ResourcePolicy

func (*Workspace) GetPoliciesContextEditable

func (m *Workspace) GetPoliciesContextEditable() bool

func (*Workspace) GetRootNodes

func (m *Workspace) GetRootNodes() map[string]*tree.Node

func (*Workspace) GetRootUUIDs added in v1.2.0

func (m *Workspace) GetRootUUIDs() []string

func (*Workspace) GetScope

func (m *Workspace) GetScope() WorkspaceScope

func (*Workspace) GetSlug

func (m *Workspace) GetSlug() string

func (*Workspace) GetUUID

func (m *Workspace) GetUUID() string

func (*Workspace) ProtoMessage

func (*Workspace) ProtoMessage()

func (*Workspace) Reset

func (m *Workspace) Reset()

func (*Workspace) String

func (m *Workspace) String() string

func (*Workspace) Zap

func (workspace *Workspace) Zap() zapcore.Field

Zap simply returns a zapcore.Field object populated with this workspace under a standard key

func (*Workspace) ZapUuid

func (workspace *Workspace) ZapUuid() zapcore.Field

ZapUuid simply calls zap.String() with WorkspaceUuid standard key and this Workspace uuid

type WorkspaceScope

type WorkspaceScope int32
const (
	WorkspaceScope_ANY   WorkspaceScope = 0
	WorkspaceScope_ADMIN WorkspaceScope = 1
	WorkspaceScope_ROOM  WorkspaceScope = 2
	WorkspaceScope_LINK  WorkspaceScope = 3
)

func (WorkspaceScope) EnumDescriptor

func (WorkspaceScope) EnumDescriptor() ([]byte, []int)

func (WorkspaceScope) String

func (x WorkspaceScope) String() string

type WorkspaceService

type WorkspaceService struct {
	WorkspaceServiceHandler
}

func (*WorkspaceService) CreateWorkspace

func (*WorkspaceService) DeleteWorkspace

func (*WorkspaceService) SearchWorkspace

func (h *WorkspaceService) SearchWorkspace(ctx context.Context, stream server.Streamer) error

func (*WorkspaceService) StreamWorkspace

func (h *WorkspaceService) StreamWorkspace(ctx context.Context, stream server.Streamer) error

type WorkspaceServiceClient

type WorkspaceServiceClient interface {
	CreateWorkspace(ctx context.Context, in *CreateWorkspaceRequest, opts ...client.CallOption) (*CreateWorkspaceResponse, error)
	DeleteWorkspace(ctx context.Context, in *DeleteWorkspaceRequest, opts ...client.CallOption) (*DeleteWorkspaceResponse, error)
	SearchWorkspace(ctx context.Context, in *SearchWorkspaceRequest, opts ...client.CallOption) (WorkspaceService_SearchWorkspaceClient, error)
	StreamWorkspace(ctx context.Context, opts ...client.CallOption) (WorkspaceService_StreamWorkspaceClient, error)
}

func NewWorkspaceServiceClient

func NewWorkspaceServiceClient(serviceName string, c client.Client) WorkspaceServiceClient

type WorkspaceService_SearchWorkspaceClient

type WorkspaceService_SearchWorkspaceClient interface {
	SendMsg(interface{}) error
	RecvMsg(interface{}) error
	Close() error
	Recv() (*SearchWorkspaceResponse, error)
}

type WorkspaceService_SearchWorkspaceStream

type WorkspaceService_SearchWorkspaceStream interface {
	SendMsg(interface{}) error
	RecvMsg(interface{}) error
	Close() error
	Send(*SearchWorkspaceResponse) error
}

type WorkspaceService_StreamWorkspaceClient

type WorkspaceService_StreamWorkspaceClient interface {
	SendMsg(interface{}) error
	RecvMsg(interface{}) error
	Close() error
	Send(*SearchWorkspaceRequest) error
	Recv() (*SearchWorkspaceResponse, error)
}

type WorkspaceService_StreamWorkspaceStream

type WorkspaceService_StreamWorkspaceStream interface {
	SendMsg(interface{}) error
	RecvMsg(interface{}) error
	Close() error
	Send(*SearchWorkspaceResponse) error
	Recv() (*SearchWorkspaceRequest, error)
}

type WorkspaceSingleQuery

type WorkspaceSingleQuery struct {
	Uuid        string         `protobuf:"bytes,1,opt,name=uuid" json:"uuid,omitempty"`
	Label       string         `protobuf:"bytes,2,opt,name=label" json:"label,omitempty"`
	Description string         `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
	Slug        string         `protobuf:"bytes,4,opt,name=slug" json:"slug,omitempty"`
	Scope       WorkspaceScope `protobuf:"varint,5,opt,name=scope,enum=idm.WorkspaceScope" json:"scope,omitempty"`
	Not         bool           `protobuf:"varint,6,opt,name=not" json:"not,omitempty"`
}

func (*WorkspaceSingleQuery) Descriptor

func (*WorkspaceSingleQuery) Descriptor() ([]byte, []int)

func (*WorkspaceSingleQuery) GetDescription

func (m *WorkspaceSingleQuery) GetDescription() string

func (*WorkspaceSingleQuery) GetLabel

func (m *WorkspaceSingleQuery) GetLabel() string

func (*WorkspaceSingleQuery) GetNot

func (m *WorkspaceSingleQuery) GetNot() bool

func (*WorkspaceSingleQuery) GetScope

func (m *WorkspaceSingleQuery) GetScope() WorkspaceScope

func (*WorkspaceSingleQuery) GetSlug

func (m *WorkspaceSingleQuery) GetSlug() string

func (*WorkspaceSingleQuery) GetUuid

func (m *WorkspaceSingleQuery) GetUuid() string

func (*WorkspaceSingleQuery) ProtoMessage

func (*WorkspaceSingleQuery) ProtoMessage()

func (*WorkspaceSingleQuery) Reset

func (m *WorkspaceSingleQuery) Reset()

func (*WorkspaceSingleQuery) String

func (m *WorkspaceSingleQuery) String() string

Jump to

Keyboard shortcuts

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