idm

package
v4.0.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: AGPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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,
		},
	},
	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)

View Source
var File_cells_idm_proto protoreflect.FileDescriptor
View Source
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{},
	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)

View Source
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)

View Source
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)

View Source
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)

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use ACL.ProtoReflect.Descriptor instead.

func (*ACL) GetAction

func (x *ACL) GetAction() *ACLAction

func (*ACL) GetID

func (x *ACL) GetID() string

func (*ACL) GetNodeID

func (x *ACL) GetNodeID() string

func (*ACL) GetRoleID

func (x *ACL) GetRoleID() string

func (*ACL) GetWorkspaceID

func (x *ACL) GetWorkspaceID() string

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

func (*ACL) Reset

func (x *ACL) Reset()

func (*ACL) String

func (x *ACL) String() string

func (*ACL) Validate

func (this *ACL) Validate() error

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,proto3" json:"Name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func (*ACLAction) Descriptor deprecated

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

Deprecated: Use ACLAction.ProtoReflect.Descriptor instead.

func (*ACLAction) GetName

func (x *ACLAction) GetName() string

func (*ACLAction) GetValue

func (x *ACLAction) GetValue() string

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

func (*ACLAction) Reset

func (x *ACLAction) Reset()

func (*ACLAction) String

func (x *ACLAction) String() string

func (*ACLAction) Validate

func (this *ACLAction) Validate() error

type ACLServiceClient

type ACLServiceClient interface {
	CreateACL(ctx context.Context, in *CreateACLRequest, opts ...grpc.CallOption) (*CreateACLResponse, error)
	ExpireACL(ctx context.Context, in *ExpireACLRequest, opts ...grpc.CallOption) (*ExpireACLResponse, error)
	DeleteACL(ctx context.Context, in *DeleteACLRequest, opts ...grpc.CallOption) (*DeleteACLResponse, error)
	SearchACL(ctx context.Context, in *SearchACLRequest, opts ...grpc.CallOption) (ACLService_SearchACLClient, error)
	StreamACL(ctx context.Context, opts ...grpc.CallOption) (ACLService_StreamACLClient, 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 (ACLServiceEnhancedServer) DeleteACL

func (ACLServiceEnhancedServer) ExpireACL

func (ACLServiceEnhancedServer) SearchACL

func (ACLServiceEnhancedServer) StreamACL

type ACLServiceServer

type ACLServiceServer interface {
	CreateACL(context.Context, *CreateACLRequest) (*CreateACLResponse, error)
	ExpireACL(context.Context, *ExpireACLRequest) (*ExpireACLResponse, error)
	DeleteACL(context.Context, *DeleteACLRequest) (*DeleteACLResponse, error)
	SearchACL(*SearchACLRequest, ACLService_SearchACLServer) error
	StreamACL(ACLService_StreamACLServer) 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

type ACLServiceStub_StreamACLStreamer

type ACLServiceStub_StreamACLStreamer struct {
	stubs.BidirServerStreamerCore
}

func (*ACLServiceStub_StreamACLStreamer) Recv

func (*ACLServiceStub_StreamACLStreamer) Send

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 {
	Actions      []*ACLAction `protobuf:"bytes,1,rep,name=Actions,proto3" json:"Actions,omitempty"`
	RoleIDs      []string     `protobuf:"bytes,2,rep,name=RoleIDs,proto3" json:"RoleIDs,omitempty"`
	WorkspaceIDs []string     `protobuf:"bytes,3,rep,name=WorkspaceIDs,proto3" json:"WorkspaceIDs,omitempty"`
	NodeIDs      []string     `protobuf:"bytes,4,rep,name=NodeIDs,proto3" json:"NodeIDs,omitempty"`
	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) Enum

func (x ChangeEventType) Enum() *ChangeEventType

func (ChangeEventType) EnumDescriptor deprecated

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

Deprecated: Use ChangeEventType.Descriptor instead.

func (ChangeEventType) Number

func (ChangeEventType) String

func (x ChangeEventType) String() string

func (ChangeEventType) Type

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"`
	// contains filtered or unexported fields
}

func (*DeleteACLRequest) Descriptor deprecated

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

Deprecated: Use DeleteACLRequest.ProtoReflect.Descriptor instead.

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 (*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 (*ListUserMetaNamespaceRequest) Reset

func (x *ListUserMetaNamespaceRequest) Reset()

func (*ListUserMetaNamespaceRequest) 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 (*ListUserMetaNamespaceResponse) Reset

func (x *ListUserMetaNamespaceResponse) Reset()

func (*ListUserMetaNamespaceResponse) String

func (*ListUserMetaNamespaceResponse) Validate

func (this *ListUserMetaNamespaceResponse) Validate() error

type MetaNamespaceDefinition

type MetaNamespaceDefinition interface {
	GetType() string
	GetData() interface{}
	GetSteps() bool
	DefaultHide() bool
}

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
const (
	NodeType_UNKNOWN NodeType = 0
	NodeType_USER    NodeType = 1
	NodeType_GROUP   NodeType = 2
)

func (NodeType) Descriptor

func (NodeType) Descriptor() protoreflect.EnumDescriptor

func (NodeType) Enum

func (x NodeType) Enum() *NodeType

func (NodeType) EnumDescriptor deprecated

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

Deprecated: Use NodeType.Descriptor instead.

func (NodeType) Number

func (x NodeType) Number() protoreflect.EnumNumber

func (NodeType) String

func (x NodeType) String() string

func (NodeType) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Policy.ProtoReflect.Descriptor instead.

func (*Policy) GetActions

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

func (*Policy) GetConditions

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

func (*Policy) GetDescription

func (x *Policy) GetDescription() string

func (*Policy) GetEffect

func (x *Policy) GetEffect() PolicyEffect

func (*Policy) GetId

func (x *Policy) GetId() string

func (*Policy) GetResources

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

func (*Policy) GetSubjects

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

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

func (*Policy) Reset

func (x *Policy) Reset()

func (*Policy) String

func (x *Policy) String() string

func (*Policy) Validate

func (this *Policy) Validate() error

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,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) Enum

func (x PolicyEffect) Enum() *PolicyEffect

func (PolicyEffect) EnumDescriptor deprecated

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

Deprecated: Use PolicyEffect.Descriptor instead.

func (PolicyEffect) Number

func (PolicyEffect) String

func (x PolicyEffect) String() string

func (PolicyEffect) Type

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

type PolicyEngineServiceEnhancedServer

type PolicyEngineServiceEnhancedServer map[string]NamedPolicyEngineServiceServer

func (PolicyEngineServiceEnhancedServer) DeletePolicyGroup

func (PolicyEngineServiceEnhancedServer) IsAllowed

func (PolicyEngineServiceEnhancedServer) ListPolicyGroups

func (PolicyEngineServiceEnhancedServer) StorePolicyGroup

type PolicyEngineServiceServer

type PolicyEngineServiceServer interface {
	IsAllowed(context.Context, *PolicyEngineRequest) (*PolicyEngineResponse, error)
	StorePolicyGroup(context.Context, *StorePolicyGroupRequest) (*StorePolicyGroupResponse, error)
	ListPolicyGroups(context.Context, *ListPolicyGroupsRequest) (*ListPolicyGroupsResponse, 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 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) Enum

func (PolicyResourceGroup) EnumDescriptor deprecated

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

Deprecated: Use PolicyResourceGroup.Descriptor instead.

func (PolicyResourceGroup) Number

func (PolicyResourceGroup) String

func (x PolicyResourceGroup) String() string

func (PolicyResourceGroup) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetAutoApplies

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

func (*Role) GetForceOverride

func (x *Role) GetForceOverride() bool

func (*Role) GetGroupRole

func (x *Role) GetGroupRole() bool

func (*Role) GetIsTeam

func (x *Role) GetIsTeam() bool

func (*Role) GetLabel

func (x *Role) GetLabel() string

func (*Role) GetLastUpdated

func (x *Role) GetLastUpdated() int32

func (*Role) GetPolicies

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

func (*Role) GetPoliciesContextEditable

func (x *Role) GetPoliciesContextEditable() bool

func (*Role) GetUserRole

func (x *Role) GetUserRole() bool

func (*Role) GetUuid

func (x *Role) GetUuid() string

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

func (*Role) Reset

func (x *Role) Reset()

func (*Role) String

func (x *Role) String() string

func (*Role) Validate

func (this *Role) Validate() error

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 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.

type RoleServiceEnhancedServer

type RoleServiceEnhancedServer map[string]NamedRoleServiceServer

func (RoleServiceEnhancedServer) CountRole

func (RoleServiceEnhancedServer) CreateRole

func (RoleServiceEnhancedServer) DeleteRole

func (RoleServiceEnhancedServer) SearchRole

func (RoleServiceEnhancedServer) StreamRole

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

type RoleServiceStub_StreamRoleStreamer

type RoleServiceStub_StreamRoleStreamer struct {
	stubs.BidirServerStreamerCore
}

func (*RoleServiceStub_StreamRoleStreamer) Recv

func (*RoleServiceStub_StreamRoleStreamer) Send

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 for team roles only
	IsTeam bool `protobuf:"varint,3,opt,name=IsTeam,proto3" json:"IsTeam,omitempty"`
	// Look for group roles only
	IsGroupRole bool `protobuf:"varint,4,opt,name=IsGroupRole,proto3" json:"IsGroupRole,omitempty"`
	// Look for user roles only
	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"`
	// 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"`
	// contains filtered or unexported fields
}

func (*SearchACLRequest) Descriptor deprecated

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

Deprecated: Use SearchACLRequest.ProtoReflect.Descriptor instead.

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

func (UnimplementedACLServiceServer) ExpireACL

func (UnimplementedACLServiceServer) SearchACL

func (UnimplementedACLServiceServer) StreamACL

type UnimplementedPolicyEngineServiceServer

type UnimplementedPolicyEngineServiceServer struct {
}

UnimplementedPolicyEngineServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPolicyEngineServiceServer) DeletePolicyGroup

func (UnimplementedPolicyEngineServiceServer) IsAllowed

func (UnimplementedPolicyEngineServiceServer) ListPolicyGroups

func (UnimplementedPolicyEngineServiceServer) StorePolicyGroup

type UnimplementedRoleServiceServer

type UnimplementedRoleServiceServer struct {
}

UnimplementedRoleServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedRoleServiceServer) CountRole

func (UnimplementedRoleServiceServer) CreateRole

func (UnimplementedRoleServiceServer) DeleteRole

func (UnimplementedRoleServiceServer) SearchRole

func (UnimplementedRoleServiceServer) StreamRole

type UnimplementedUserMetaServiceServer

type UnimplementedUserMetaServiceServer struct {
}

UnimplementedUserMetaServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedUserMetaServiceServer) UpdateUserMeta

type UnimplementedUserServiceServer

type UnimplementedUserServiceServer struct {
}

UnimplementedUserServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedUserServiceServer) BindUser

func (UnimplementedUserServiceServer) CountUser

func (UnimplementedUserServiceServer) CreateUser

func (UnimplementedUserServiceServer) DeleteUser

func (UnimplementedUserServiceServer) SearchUser

func (UnimplementedUserServiceServer) StreamUser

type UnimplementedWorkspaceServiceServer

type UnimplementedWorkspaceServiceServer struct {
}

UnimplementedWorkspaceServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedWorkspaceServiceServer) CreateWorkspace

func (UnimplementedWorkspaceServiceServer) DeleteWorkspace

func (UnimplementedWorkspaceServiceServer) StreamWorkspace

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 (*UpdateUserMetaNamespaceRequest) ProtoMessage

func (*UpdateUserMetaNamespaceRequest) ProtoMessage()

func (*UpdateUserMetaNamespaceRequest) ProtoReflect

func (*UpdateUserMetaNamespaceRequest) Reset

func (x *UpdateUserMetaNamespaceRequest) Reset()

func (*UpdateUserMetaNamespaceRequest) 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) Enum

func (UpdateUserMetaNamespaceRequest_UserMetaNsOp) EnumDescriptor deprecated

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

Deprecated: Use UpdateUserMetaNamespaceRequest_UserMetaNsOp.Descriptor instead.

func (UpdateUserMetaNamespaceRequest_UserMetaNsOp) Number

func (UpdateUserMetaNamespaceRequest_UserMetaNsOp) String

func (UpdateUserMetaNamespaceRequest_UserMetaNsOp) Type

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 (*UpdateUserMetaNamespaceResponse) Reset

func (*UpdateUserMetaNamespaceResponse) 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 (*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) Enum

func (UpdateUserMetaRequest_UserMetaOp) EnumDescriptor deprecated

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

Deprecated: Use UpdateUserMetaRequest_UserMetaOp.Descriptor instead.

func (UpdateUserMetaRequest_UserMetaOp) Number

func (UpdateUserMetaRequest_UserMetaOp) String

func (UpdateUserMetaRequest_UserMetaOp) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAttributes

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

func (*User) GetGroupLabel

func (x *User) GetGroupLabel() string

func (*User) GetGroupPath

func (x *User) GetGroupPath() string

func (*User) GetIsGroup

func (x *User) GetIsGroup() bool

func (*User) GetLastConnected

func (x *User) GetLastConnected() int32

func (*User) GetLogin

func (x *User) GetLogin() string

func (*User) GetOldPassword

func (x *User) GetOldPassword() string

func (*User) GetPassword

func (x *User) GetPassword() string

func (*User) GetPolicies

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

func (*User) GetPoliciesContextEditable

func (x *User) GetPoliciesContextEditable() bool

func (*User) GetRoles

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

func (*User) GetUuid

func (x *User) GetUuid() string

func (*User) IsHidden

func (u *User) IsHidden() bool

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

func (x *User) Reset()

func (*User) String

func (x *User) String() string

func (*User) Validate

func (this *User) Validate() error

func (*User) WithPublicData

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 {

	// 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) Descriptor() ([]byte, []int)

Deprecated: Use UserMeta.ProtoReflect.Descriptor instead.

func (*UserMeta) GetJsonValue

func (x *UserMeta) GetJsonValue() string

func (*UserMeta) GetNamespace

func (x *UserMeta) GetNamespace() string

func (*UserMeta) GetNodeUuid

func (x *UserMeta) GetNodeUuid() string

func (*UserMeta) GetPolicies

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

func (*UserMeta) GetPoliciesContextEditable

func (x *UserMeta) GetPoliciesContextEditable() bool

func (*UserMeta) GetResolvedNode

func (x *UserMeta) GetResolvedNode() *tree.Node

func (*UserMeta) GetUuid

func (x *UserMeta) GetUuid() string

func (*UserMeta) ProtoMessage

func (*UserMeta) ProtoMessage()

func (*UserMeta) ProtoReflect

func (x *UserMeta) ProtoReflect() protoreflect.Message

func (*UserMeta) Reset

func (x *UserMeta) Reset()

func (*UserMeta) String

func (x *UserMeta) String() string

func (*UserMeta) Validate

func (this *UserMeta) Validate() error

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

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.

type UserMetaServiceEnhancedServer

type UserMetaServiceEnhancedServer map[string]NamedUserMetaServiceServer

func (UserMetaServiceEnhancedServer) SearchUserMeta

func (UserMetaServiceEnhancedServer) UpdateUserMeta

func (UserMetaServiceEnhancedServer) UpdateUserMetaNamespace

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

type UserMetaServiceStub_SearchUserMetaStreamer

type UserMetaServiceStub_SearchUserMetaStreamer struct {
	stubs.ClientServerStreamerCore
}

func (*UserMetaServiceStub_SearchUserMetaStreamer) Send

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.

type UserServiceEnhancedServer

type UserServiceEnhancedServer map[string]NamedUserServiceServer

func (UserServiceEnhancedServer) BindUser

func (UserServiceEnhancedServer) CountUser

func (UserServiceEnhancedServer) CreateUser

func (UserServiceEnhancedServer) DeleteUser

func (UserServiceEnhancedServer) SearchUser

func (UserServiceEnhancedServer) StreamUser

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

type UserServiceStub_StreamUserStreamer

type UserServiceStub_StreamUserStreamer struct {
	stubs.BidirServerStreamerCore
}

func (*UserServiceStub_StreamUserStreamer) Recv

func (*UserServiceStub_StreamUserStreamer) Send

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 {
	Uuid     string `protobuf:"bytes,11,opt,name=Uuid,proto3" json:"Uuid,omitempty"`
	Login    string `protobuf:"bytes,1,opt,name=Login,proto3" json:"Login,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"`
	// Search on group path, and if so, search recursively
	GroupPath string `protobuf:"bytes,3,opt,name=GroupPath,proto3" json:"GroupPath,omitempty"`
	Recursive bool   `protobuf:"varint,4,opt,name=Recursive,proto3" json:"Recursive,omitempty"`
	// Search a specific group by path
	FullPath string `protobuf:"bytes,12,opt,name=FullPath,proto3" json:"FullPath,omitempty"`
	// Search on attribute
	AttributeName     string `protobuf:"bytes,5,opt,name=AttributeName,proto3" json:"AttributeName,omitempty"`
	AttributeValue    string `protobuf:"bytes,6,opt,name=AttributeValue,proto3" json:"AttributeValue,omitempty"`
	AttributeAnyValue bool   `protobuf:"varint,7,opt,name=AttributeAnyValue,proto3" json:"AttributeAnyValue,omitempty"`
	// Search on roles
	HasRole  string   `protobuf:"bytes,8,opt,name=HasRole,proto3" json:"HasRole,omitempty"`
	NodeType NodeType `protobuf:"varint,9,opt,name=NodeType,proto3,enum=idm.NodeType" json:"NodeType,omitempty"`
	// Shortcut for pydio:profile attribute
	HasProfile string `protobuf:"bytes,13,opt,name=HasProfile,proto3" json:"HasProfile,omitempty"`
	// Compare to last connection date, starting with > or <
	ConnectedSince string `protobuf:"bytes,14,opt,name=ConnectedSince,proto3" json:"ConnectedSince,omitempty"`
	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) Descriptor() ([]byte, []int)

Deprecated: Use Workspace.ProtoReflect.Descriptor instead.

func (*Workspace) GetAttributes

func (x *Workspace) GetAttributes() string

func (*Workspace) GetDescription

func (x *Workspace) GetDescription() string

func (*Workspace) GetLabel

func (x *Workspace) GetLabel() string

func (*Workspace) GetLastUpdated

func (x *Workspace) GetLastUpdated() int32

func (*Workspace) GetPolicies

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

func (*Workspace) GetPoliciesContextEditable

func (x *Workspace) GetPoliciesContextEditable() bool

func (*Workspace) GetRootNodes

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

func (*Workspace) GetRootUUIDs

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

func (*Workspace) GetScope

func (x *Workspace) GetScope() WorkspaceScope

func (*Workspace) GetSlug

func (x *Workspace) GetSlug() string

func (*Workspace) GetUUID

func (x *Workspace) GetUUID() string

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

func (x *Workspace) Reset()

func (*Workspace) SetAttributes

func (m *Workspace) SetAttributes(a *WsAttributes)

func (*Workspace) String

func (x *Workspace) String() string

func (*Workspace) Validate

func (this *Workspace) Validate() error

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

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 (WorkspaceScope) String

func (x WorkspaceScope) String() string

func (WorkspaceScope) Type

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.

type WorkspaceServiceEnhancedServer

type WorkspaceServiceEnhancedServer map[string]NamedWorkspaceServiceServer

func (WorkspaceServiceEnhancedServer) CreateWorkspace

func (WorkspaceServiceEnhancedServer) DeleteWorkspace

func (WorkspaceServiceEnhancedServer) SearchWorkspace

func (WorkspaceServiceEnhancedServer) StreamWorkspace

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

type WorkspaceServiceStub_StreamWorkspaceStreamer

type WorkspaceServiceStub_StreamWorkspaceStreamer struct {
	stubs.BidirServerStreamerCore
}

func (*WorkspaceServiceStub_StreamWorkspaceStreamer) Recv

func (*WorkspaceServiceStub_StreamWorkspaceStreamer) Send

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 {
	Uuid           string         `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Label          string         `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	Description    string         `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Slug           string         `protobuf:"bytes,4,opt,name=slug,proto3" json:"slug,omitempty"`
	Scope          WorkspaceScope `protobuf:"varint,5,opt,name=scope,proto3,enum=idm.WorkspaceScope" json:"scope,omitempty"`
	LastUpdated    string         `protobuf:"bytes,7,opt,name=LastUpdated,proto3" json:"LastUpdated,omitempty"`
	HasAttribute   string         `protobuf:"bytes,8,opt,name=HasAttribute,proto3" json:"HasAttribute,omitempty"`
	AttributeName  string         `protobuf:"bytes,9,opt,name=AttributeName,proto3" json:"AttributeName,omitempty"`
	AttributeValue string         `protobuf:"bytes,10,opt,name=AttributeValue,proto3" json:"AttributeValue,omitempty"`
	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

type WsAttributes

type WsAttributes struct {
	AllowSync     bool   `json:"ALLOW_SYNC,omitempty"`
	SkipRecycle   bool   `json:"SKIP_RECYCLE,omitempty"`
	DefaultRights string `json:"DEFAULT_RIGHTS,omitempty"`
	QuotaValue    string `json:"QUOTA,omitempty"`
	MetaLayout    string `json:"META_LAYOUT,omitempty"`
}

Jump to

Keyboard shortcuts

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