idm

package
v5.0.0-...-b98a0e9 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: AGPL-3.0 Imports: 27 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,
		},
		{
			MethodName: "RestoreACL",
			Handler:    _ACLService_RestoreACL_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "SearchACL",
			Handler:       _ACLService_SearchACL_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "StreamACL",
			Handler:       _ACLService_StreamACL_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "cells-idm.proto",
}

ACLService_ServiceDesc is the grpc.ServiceDesc for ACLService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

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{
		{
			StreamName:    "StreamPolicyGroups",
			Handler:       _PolicyEngineService_StreamPolicyGroups_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "cells-idm.proto",
}

PolicyEngineService_ServiceDesc is the grpc.ServiceDesc for PolicyEngineService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

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,
		},
		{
			MethodName: "SearchOne",
			Handler:    _UserService_SearchOne_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 NewIPolicyAction

func NewIPolicyAction(x any) error

func NewIPolicyResource

func NewIPolicyResource(x any) error

func NewIPolicySubject

func NewIPolicySubject(x any) error

func RegisterACLServiceServer

func RegisterACLServiceServer(s grpc.ServiceRegistrar, srv ACLServiceServer)

func RegisterPolicyEngineServiceServer

func RegisterPolicyEngineServiceServer(s grpc.ServiceRegistrar, srv PolicyEngineServiceServer)

func RegisterRoleServiceServer

func RegisterRoleServiceServer(s grpc.ServiceRegistrar, srv RoleServiceServer)

func RegisterUserMetaServiceServer

func RegisterUserMetaServiceServer(s grpc.ServiceRegistrar, srv UserMetaServiceServer)

func RegisterUserServiceServer

func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)

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

	// ACL Action name, most frequent values are "read" or "write"
	Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	// ACL Action value
	Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func (*ACLAction) Descriptor deprecated

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

type ACLServiceClient

type ACLServiceClient interface {
	// Insert a new ACL
	CreateACL(ctx context.Context, in *CreateACLRequest, opts ...grpc.CallOption) (*CreateACLResponse, error)
	// Set an expiration date that invalidates an ACL without deleting it
	ExpireACL(ctx context.Context, in *ExpireACLRequest, opts ...grpc.CallOption) (*ExpireACLResponse, error)
	// Definitely delete an ACL
	DeleteACL(ctx context.Context, in *DeleteACLRequest, opts ...grpc.CallOption) (*DeleteACLResponse, error)
	// Search ACLs by Query or Expiration period
	SearchACL(ctx context.Context, in *SearchACLRequest, opts ...grpc.CallOption) (ACLService_SearchACLClient, error)
	// Stream version of Search ACL
	StreamACL(ctx context.Context, opts ...grpc.CallOption) (ACLService_StreamACLClient, error)
	// Restore ACLs based on Query and Expiration period
	RestoreACL(ctx context.Context, in *RestoreACLRequest, opts ...grpc.CallOption) (*RestoreACLResponse, error)
}

ACLServiceClient is the client API for ACLService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewACLServiceClient

func NewACLServiceClient(cc grpc.ClientConnInterface) ACLServiceClient

type ACLServiceServer

type ACLServiceServer interface {
	// Insert a new ACL
	CreateACL(context.Context, *CreateACLRequest) (*CreateACLResponse, error)
	// Set an expiration date that invalidates an ACL without deleting it
	ExpireACL(context.Context, *ExpireACLRequest) (*ExpireACLResponse, error)
	// Definitely delete an ACL
	DeleteACL(context.Context, *DeleteACLRequest) (*DeleteACLResponse, error)
	// Search ACLs by Query or Expiration period
	SearchACL(*SearchACLRequest, ACLService_SearchACLServer) error
	// Stream version of Search ACL
	StreamACL(ACLService_StreamACLServer) error
	// Restore ACLs based on Query and Expiration period
	RestoreACL(context.Context, *RestoreACLRequest) (*RestoreACLResponse, error)
	// contains filtered or unexported methods
}

ACLServiceServer is the server API for ACLService service. All implementations must embed UnimplementedACLServiceServer for forward compatibility

type ACLServiceStub

type ACLServiceStub struct {
	ACLServiceServer
}

func (*ACLServiceStub) Invoke

func (s *ACLServiceStub) Invoke(ctx context.Context, method string, args interface{}, reply interface{}, opts ...grpc.CallOption) error

func (*ACLServiceStub) NewStream

func (s *ACLServiceStub) NewStream(ctx context.Context, desc *grpc.StreamDesc, method string, opts ...grpc.CallOption) (grpc.ClientStream, error)

type ACLServiceStub_SearchACLStreamer

type ACLServiceStub_SearchACLStreamer struct {
	stubs.ClientServerStreamerCore
}

func (*ACLServiceStub_SearchACLStreamer) Send

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 {

	// List of Actions to lookup
	Actions []*ACLAction `protobuf:"bytes,1,rep,name=Actions,proto3" json:"Actions,omitempty"`
	// Filter by one or more role UUID
	RoleIDs []string `protobuf:"bytes,2,rep,name=RoleIDs,proto3" json:"RoleIDs,omitempty"`
	// Filter by one or more workspace UUID
	WorkspaceIDs []string `protobuf:"bytes,3,rep,name=WorkspaceIDs,proto3" json:"WorkspaceIDs,omitempty"`
	// Filter by one or more node UUID
	NodeIDs []string `protobuf:"bytes,4,rep,name=NodeIDs,proto3" json:"NodeIDs,omitempty"`
	// Internal - Negate query
	Not bool `protobuf:"varint,5,opt,name=not,proto3" json:"not,omitempty"`
	// contains filtered or unexported fields
}

func (*ACLSingleQuery) Descriptor deprecated

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

Deprecated: Use ACLSingleQuery.ProtoReflect.Descriptor instead.

func (*ACLSingleQuery) GetActions

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

func (*ACLSingleQuery) GetNodeIDs

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

func (*ACLSingleQuery) GetNot

func (x *ACLSingleQuery) GetNot() bool

func (*ACLSingleQuery) GetRoleIDs

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

func (*ACLSingleQuery) GetWorkspaceIDs

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

func (*ACLSingleQuery) Matches

func (m *ACLSingleQuery) Matches(idmObject interface{}) bool

func (*ACLSingleQuery) ProtoMessage

func (*ACLSingleQuery) ProtoMessage()

func (*ACLSingleQuery) ProtoReflect

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

func (*ACLSingleQuery) Reset

func (x *ACLSingleQuery) Reset()

func (*ACLSingleQuery) String

func (x *ACLSingleQuery) String() string

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

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

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

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

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

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

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

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

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

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

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

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

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

type DeleteACLRequest

type DeleteACLRequest struct {
	Query         *service.Query `protobuf:"bytes,1,opt,name=Query,proto3" json:"Query,omitempty"`
	ExpiredAfter  int64          `protobuf:"varint,2,opt,name=ExpiredAfter,proto3" json:"ExpiredAfter,omitempty"`
	ExpiredBefore int64          `protobuf:"varint,3,opt,name=ExpiredBefore,proto3" json:"ExpiredBefore,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteACLRequest) Descriptor deprecated

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

Deprecated: Use DeleteACLRequest.ProtoReflect.Descriptor instead.

func (*DeleteACLRequest) GetExpiredAfter

func (x *DeleteACLRequest) GetExpiredAfter() int64

func (*DeleteACLRequest) GetExpiredBefore

func (x *DeleteACLRequest) GetExpiredBefore() int64

func (*DeleteACLRequest) GetQuery

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

func (*DeleteACLRequest) ProtoMessage

func (*DeleteACLRequest) ProtoMessage()

func (*DeleteACLRequest) ProtoReflect

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

func (*DeleteACLRequest) Reset

func (x *DeleteACLRequest) Reset()

func (*DeleteACLRequest) String

func (x *DeleteACLRequest) String() string

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

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

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

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

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

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

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

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

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

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

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

type IPolicyAction

type IPolicyAction interface {
	proto.Message
	PolicyActionGetter
	PolicyActionSetter
}

type IPolicyResource

type IPolicyResource interface {
	proto.Message
	PolicyResourceGetter
	PolicyResourceSetter
}

type IPolicySubject

type IPolicySubject interface {
	proto.Message
	PolicySubjectGetter
	PolicySubjectSetter
}

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

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

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

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

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

type MetaNamespaceDefinition

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

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,json=id,proto3" json:"ID,omitempty" gorm:"column:id;type:varchar(255);primaryKey;notNull;"`
	Description  string                      `protobuf:"bytes,2,opt,name=Description,json=description,proto3" json:"Description,omitempty" gorm:"column:description;"`
	Subjects     []string                    `protobuf:"bytes,3,rep,name=Subjects,json=subjects,proto3" json:"Subjects,omitempty" gorm:"-:all"`
	Resources    []string                    `protobuf:"bytes,4,rep,name=Resources,json=resources,proto3" json:"Resources,omitempty" gorm:"-:all"`
	Actions      []string                    `protobuf:"bytes,5,rep,name=Actions,json=actions,proto3" json:"Actions,omitempty" gorm:"-:all"`
	OrmSubjects  []*PolicySubject            `` /* 213-byte string literal not displayed */
	OrmResources []*PolicyResource           `` /* 217-byte string literal not displayed */
	OrmActions   []*PolicyAction             `` /* 210-byte string literal not displayed */
	Effect       PolicyEffect                `protobuf:"varint,6,opt,name=Effect,json=effect,proto3,enum=idm.PolicyEffect" json:"Effect,omitempty" gorm:"column:effect;"`
	Conditions   map[string]*PolicyCondition `` /* 219-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) GetOrmActions

func (x *Policy) GetOrmActions() []*PolicyAction

func (*Policy) GetOrmResources

func (x *Policy) GetOrmResources() []*PolicyResource

func (*Policy) GetOrmSubjects

func (x *Policy) GetOrmSubjects() []*PolicySubject

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

type PolicyAction struct {
	ID       string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty" gorm:"column:id;type:varchar(64);primaryKey;notNull;"`
	HasRegex bool   `protobuf:"varint,2,opt,name=HasRegex,proto3" json:"HasRegex,omitempty" gorm:"column:has_regex;index:,composite:regex;"`
	Compiled string `` /* 144-byte string literal not displayed */
	Template string `protobuf:"bytes,4,opt,name=Template,proto3" json:"Template,omitempty" gorm:"column:template;type:varchar(511);unique;"`
	// contains filtered or unexported fields
}

func (*PolicyAction) Descriptor deprecated

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

Deprecated: Use PolicyAction.ProtoReflect.Descriptor instead.

func (*PolicyAction) GetCompiled

func (x *PolicyAction) GetCompiled() string

func (*PolicyAction) GetHasRegex

func (x *PolicyAction) GetHasRegex() bool

func (*PolicyAction) GetID

func (x *PolicyAction) GetID() string

func (*PolicyAction) GetTemplate

func (x *PolicyAction) GetTemplate() string

func (*PolicyAction) ProtoMessage

func (*PolicyAction) ProtoMessage()

func (*PolicyAction) ProtoReflect

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

func (*PolicyAction) Reset

func (x *PolicyAction) Reset()

func (*PolicyAction) SetCompiled

func (x *PolicyAction) SetCompiled(v string)

func (*PolicyAction) SetHasRegex

func (x *PolicyAction) SetHasRegex(v bool)

func (*PolicyAction) SetID

func (x *PolicyAction) SetID(v string)

func (*PolicyAction) SetTemplate

func (x *PolicyAction) SetTemplate(v string)

func (*PolicyAction) String

func (x *PolicyAction) String() string

type PolicyActionGetter

type PolicyActionGetter interface {
	GetID() string
	GetHasRegex() bool
	GetCompiled() string
	GetTemplate() string
}

type PolicyActionRel

type PolicyActionRel struct {
	Policy string `protobuf:"bytes,1,opt,name=Policy,proto3" json:"Policy,omitempty" gorm:"column:policy;primaryKey;index:,composite:ac;"`
	Action string `protobuf:"bytes,2,opt,name=Action,proto3" json:"Action,omitempty" gorm:"column:action;primaryKey;"`
	// contains filtered or unexported fields
}

func (*PolicyActionRel) Descriptor deprecated

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

Deprecated: Use PolicyActionRel.ProtoReflect.Descriptor instead.

func (*PolicyActionRel) GetAction

func (x *PolicyActionRel) GetAction() string

func (*PolicyActionRel) GetPolicy

func (x *PolicyActionRel) GetPolicy() string

func (*PolicyActionRel) ProtoMessage

func (*PolicyActionRel) ProtoMessage()

func (*PolicyActionRel) ProtoReflect

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

func (*PolicyActionRel) Reset

func (x *PolicyActionRel) Reset()

func (*PolicyActionRel) String

func (x *PolicyActionRel) String() string

type PolicyActionSetter

type PolicyActionSetter interface {
	SetID(string)
	SetHasRegex(bool)
	SetCompiled(string)
	SetTemplate(string)
}

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

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

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

type PolicyEngineServiceClient

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

PolicyEngineServiceClient is the client API for PolicyEngineService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type PolicyEngineServiceServer

type PolicyEngineServiceServer interface {
	IsAllowed(context.Context, *PolicyEngineRequest) (*PolicyEngineResponse, error)
	StorePolicyGroup(context.Context, *StorePolicyGroupRequest) (*StorePolicyGroupResponse, error)
	ListPolicyGroups(context.Context, *ListPolicyGroupsRequest) (*ListPolicyGroupsResponse, error)
	StreamPolicyGroups(*ListPolicyGroupsRequest, PolicyEngineService_StreamPolicyGroupsServer) error
	DeletePolicyGroup(context.Context, *DeletePolicyGroupRequest) (*DeletePolicyGroupResponse, error)
	// contains filtered or unexported methods
}

PolicyEngineServiceServer is the server API for PolicyEngineService service. All implementations must embed UnimplementedPolicyEngineServiceServer for forward compatibility

type PolicyEngineServiceStub

type PolicyEngineServiceStub struct {
	PolicyEngineServiceServer
}

func (*PolicyEngineServiceStub) Invoke

func (s *PolicyEngineServiceStub) Invoke(ctx context.Context, method string, args interface{}, reply interface{}, opts ...grpc.CallOption) error

func (*PolicyEngineServiceStub) NewStream

func (s *PolicyEngineServiceStub) NewStream(ctx context.Context, desc *grpc.StreamDesc, method string, opts ...grpc.CallOption) (grpc.ClientStream, error)

type PolicyEngineServiceStub_StreamPolicyGroupsStreamer

type PolicyEngineServiceStub_StreamPolicyGroupsStreamer struct {
	stubs.ClientServerStreamerCore
}

func (*PolicyEngineServiceStub_StreamPolicyGroupsStreamer) Send

type PolicyEngineService_StreamPolicyGroupsClient

type PolicyEngineService_StreamPolicyGroupsClient interface {
	Recv() (*PolicyGroup, error)
	grpc.ClientStream
}

type PolicyEngineService_StreamPolicyGroupsServer

type PolicyEngineService_StreamPolicyGroupsServer interface {
	Send(*PolicyGroup) error
	grpc.ServerStream
}

type PolicyGroup

type PolicyGroup struct {
	Uuid          string              `protobuf:"bytes,1,opt,name=Uuid,proto3" json:"Uuid,omitempty" gorm:"column:uuid;type:varchar(255);primaryKey;"`
	Name          string              `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty" gorm:"column:name;"`
	Description   string              `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty" gorm:"column:description;"`
	OwnerUuid     string              `protobuf:"bytes,4,opt,name=OwnerUuid,proto3" json:"OwnerUuid,omitempty" gorm:"column:owner_uuid;"`
	ResourceGroup PolicyResourceGroup `` /* 139-byte string literal not displayed */
	LastUpdated   int32               `protobuf:"varint,6,opt,name=LastUpdated,proto3" json:"LastUpdated,omitempty" gorm:"column:last_updated;"`
	Policies      []*Policy           `` /* 177-byte string literal not displayed */
	// 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) 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 PolicyRel

type PolicyRel struct {
	ID        int64  `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty" gorm:"column:id;primaryKey;autoIncrement;"`
	GroupUUID string `` /* 146-byte string literal not displayed */
	PolicyID  string `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PolicyRel) Descriptor deprecated

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

Deprecated: Use PolicyRel.ProtoReflect.Descriptor instead.

func (*PolicyRel) GetGroupUUID

func (x *PolicyRel) GetGroupUUID() string

func (*PolicyRel) GetID

func (x *PolicyRel) GetID() int64

func (*PolicyRel) GetPolicyID

func (x *PolicyRel) GetPolicyID() string

func (*PolicyRel) ProtoMessage

func (*PolicyRel) ProtoMessage()

func (*PolicyRel) ProtoReflect

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

func (*PolicyRel) Reset

func (x *PolicyRel) Reset()

func (*PolicyRel) String

func (x *PolicyRel) String() string

type PolicyResource

type PolicyResource struct {
	ID       string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty" gorm:"column:id;type:varchar(64);primaryKey;notNull;"`
	HasRegex bool   `protobuf:"varint,2,opt,name=HasRegex,proto3" json:"HasRegex,omitempty" gorm:"column:has_regex;index:,composite:regex;"`
	Compiled string `` /* 144-byte string literal not displayed */
	Template string `protobuf:"bytes,4,opt,name=Template,proto3" json:"Template,omitempty" gorm:"column:template;type:varchar(511);unique;"`
	// contains filtered or unexported fields
}

func (*PolicyResource) Descriptor deprecated

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

Deprecated: Use PolicyResource.ProtoReflect.Descriptor instead.

func (*PolicyResource) GetCompiled

func (x *PolicyResource) GetCompiled() string

func (*PolicyResource) GetHasRegex

func (x *PolicyResource) GetHasRegex() bool

func (*PolicyResource) GetID

func (x *PolicyResource) GetID() string

func (*PolicyResource) GetTemplate

func (x *PolicyResource) GetTemplate() string

func (*PolicyResource) ProtoMessage

func (*PolicyResource) ProtoMessage()

func (*PolicyResource) ProtoReflect

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

func (*PolicyResource) Reset

func (x *PolicyResource) Reset()

func (*PolicyResource) SetCompiled

func (x *PolicyResource) SetCompiled(v string)

func (*PolicyResource) SetHasRegex

func (x *PolicyResource) SetHasRegex(v bool)

func (*PolicyResource) SetID

func (x *PolicyResource) SetID(v string)

func (*PolicyResource) SetTemplate

func (x *PolicyResource) SetTemplate(v string)

func (*PolicyResource) String

func (x *PolicyResource) String() string

type PolicyResourceGetter

type PolicyResourceGetter interface {
	GetID() string
	GetHasRegex() bool
	GetCompiled() string
	GetTemplate() string
}

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 PolicyResourceRel

type PolicyResourceRel struct {
	Policy   string `protobuf:"bytes,1,opt,name=Policy,proto3" json:"Policy,omitempty" gorm:"column:policy;primaryKey;index:,composite:res;"`
	Resource string `protobuf:"bytes,2,opt,name=Resource,proto3" json:"Resource,omitempty" gorm:"column:resource;primaryKey;"`
	// contains filtered or unexported fields
}

func (*PolicyResourceRel) Descriptor deprecated

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

Deprecated: Use PolicyResourceRel.ProtoReflect.Descriptor instead.

func (*PolicyResourceRel) GetPolicy

func (x *PolicyResourceRel) GetPolicy() string

func (*PolicyResourceRel) GetResource

func (x *PolicyResourceRel) GetResource() string

func (*PolicyResourceRel) ProtoMessage

func (*PolicyResourceRel) ProtoMessage()

func (*PolicyResourceRel) ProtoReflect

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

func (*PolicyResourceRel) Reset

func (x *PolicyResourceRel) Reset()

func (*PolicyResourceRel) String

func (x *PolicyResourceRel) String() string

type PolicyResourceSetter

type PolicyResourceSetter interface {
	SetID(string)
	SetHasRegex(bool)
	SetCompiled(string)
	SetTemplate(string)
}

type PolicySubject

type PolicySubject struct {
	ID       string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty" gorm:"column:id;type:varchar(64);primaryKey;notNull;"`
	HasRegex bool   `protobuf:"varint,2,opt,name=HasRegex,proto3" json:"HasRegex,omitempty" gorm:"column:has_regex;index:,composite:regex;"`
	Compiled string `` /* 144-byte string literal not displayed */
	Template string `protobuf:"bytes,4,opt,name=Template,proto3" json:"Template,omitempty" gorm:"column:template;type:varchar(511);unique;"`
	// contains filtered or unexported fields
}

func (*PolicySubject) Descriptor deprecated

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

Deprecated: Use PolicySubject.ProtoReflect.Descriptor instead.

func (*PolicySubject) GetCompiled

func (x *PolicySubject) GetCompiled() string

func (*PolicySubject) GetHasRegex

func (x *PolicySubject) GetHasRegex() bool

func (*PolicySubject) GetID

func (x *PolicySubject) GetID() string

func (*PolicySubject) GetTemplate

func (x *PolicySubject) GetTemplate() string

func (*PolicySubject) ProtoMessage

func (*PolicySubject) ProtoMessage()

func (*PolicySubject) ProtoReflect

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

func (*PolicySubject) Reset

func (x *PolicySubject) Reset()

func (*PolicySubject) SetCompiled

func (x *PolicySubject) SetCompiled(v string)

func (*PolicySubject) SetHasRegex

func (x *PolicySubject) SetHasRegex(v bool)

func (*PolicySubject) SetID

func (x *PolicySubject) SetID(v string)

func (*PolicySubject) SetTemplate

func (x *PolicySubject) SetTemplate(v string)

func (*PolicySubject) String

func (x *PolicySubject) String() string

type PolicySubjectGetter

type PolicySubjectGetter interface {
	GetID() string
	GetHasRegex() bool
	GetCompiled() string
	GetTemplate() string
}

type PolicySubjectRel

type PolicySubjectRel struct {
	Policy  string `protobuf:"bytes,1,opt,name=Policy,proto3" json:"Policy,omitempty" gorm:"column:policy;primaryKey;index:,composite:sub;"`
	Subject string `protobuf:"bytes,2,opt,name=Subject,proto3" json:"Subject,omitempty" gorm:"column:subject;primaryKey;"`
	// contains filtered or unexported fields
}

func (*PolicySubjectRel) Descriptor deprecated

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

Deprecated: Use PolicySubjectRel.ProtoReflect.Descriptor instead.

func (*PolicySubjectRel) GetPolicy

func (x *PolicySubjectRel) GetPolicy() string

func (*PolicySubjectRel) GetSubject

func (x *PolicySubjectRel) GetSubject() string

func (*PolicySubjectRel) ProtoMessage

func (*PolicySubjectRel) ProtoMessage()

func (*PolicySubjectRel) ProtoReflect

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

func (*PolicySubjectRel) Reset

func (x *PolicySubjectRel) Reset()

func (*PolicySubjectRel) String

func (x *PolicySubjectRel) String() string

type PolicySubjectSetter

type PolicySubjectSetter interface {
	SetID(string)
	SetHasRegex(bool)
	SetCompiled(string)
	SetTemplate(string)
}

type RestoreACLRequest

type RestoreACLRequest struct {
	Query         *service.Query `protobuf:"bytes,1,opt,name=Query,proto3" json:"Query,omitempty"`
	ExpiredAfter  int64          `protobuf:"varint,2,opt,name=ExpiredAfter,proto3" json:"ExpiredAfter,omitempty"`
	ExpiredBefore int64          `protobuf:"varint,3,opt,name=ExpiredBefore,proto3" json:"ExpiredBefore,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreACLRequest) Descriptor deprecated

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

Deprecated: Use RestoreACLRequest.ProtoReflect.Descriptor instead.

func (*RestoreACLRequest) GetExpiredAfter

func (x *RestoreACLRequest) GetExpiredAfter() int64

func (*RestoreACLRequest) GetExpiredBefore

func (x *RestoreACLRequest) GetExpiredBefore() int64

func (*RestoreACLRequest) GetQuery

func (x *RestoreACLRequest) GetQuery() *service.Query

func (*RestoreACLRequest) ProtoMessage

func (*RestoreACLRequest) ProtoMessage()

func (*RestoreACLRequest) ProtoReflect

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

func (*RestoreACLRequest) Reset

func (x *RestoreACLRequest) Reset()

func (*RestoreACLRequest) String

func (x *RestoreACLRequest) String() string

type RestoreACLResponse

type RestoreACLResponse struct {
	Rows int64 `protobuf:"varint,1,opt,name=Rows,proto3" json:"Rows,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreACLResponse) Descriptor deprecated

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

Deprecated: Use RestoreACLResponse.ProtoReflect.Descriptor instead.

func (*RestoreACLResponse) GetRows

func (x *RestoreACLResponse) GetRows() int64

func (*RestoreACLResponse) ProtoMessage

func (*RestoreACLResponse) ProtoMessage()

func (*RestoreACLResponse) ProtoReflect

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

func (*RestoreACLResponse) Reset

func (x *RestoreACLResponse) Reset()

func (*RestoreACLResponse) String

func (x *RestoreACLResponse) String() string

type Role

type Role struct {

	// Unique identifier of this role
	Uuid string `protobuf:"bytes,1,opt,name=Uuid,proto3" json:"Uuid,omitempty" gorm:"column:uuid;type:varchar(255);primaryKey;notNull;"`
	// Label of this role
	Label string `protobuf:"bytes,2,opt,name=Label,proto3" json:"Label,omitempty" gorm:"column:label;type:varchar(500);notNull;"`
	// Whether this role represents a user team or not
	IsTeam bool `protobuf:"varint,3,opt,name=IsTeam,proto3" json:"IsTeam,omitempty" gorm:"column:team_role;type:smallint;serializer:bool_int;"`
	// Whether this role is attached to a Group object
	GroupRole bool `` /* 132-byte string literal not displayed */
	// Whether this role is attached to a User object
	UserRole bool `` /* 129-byte string literal not displayed */
	// Last modification date of the role
	LastUpdated int32 `protobuf:"varint,6,opt,name=LastUpdated,proto3" json:"LastUpdated,omitempty" gorm:"column:last_updated;type:int;"`
	// List of profiles (standard, shared, admin) on which the role will be automatically applied
	AutoApplies []string `` /* 137-byte string literal not displayed */
	// List of policies for securing this role access
	Policies []*service.ResourcePolicy `protobuf:"bytes,8,rep,name=Policies,proto3" json:"Policies,omitempty" gorm:"-:all"`
	// Whether the policies resolve into an editable state
	PoliciesContextEditable bool `protobuf:"varint,9,opt,name=PoliciesContextEditable,proto3" json:"PoliciesContextEditable,omitempty" gorm:"-:all"`
	// Is used in a stack of roles, this one will always be applied last.
	ForceOverride bool `` /* 139-byte string literal not displayed */
	// 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) 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 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 up for roles associated with a Team
	IsTeam bool `protobuf:"varint,3,opt,name=IsTeam,proto3" json:"IsTeam,omitempty"`
	// Look for roles associated with a Group
	IsGroupRole bool `protobuf:"varint,4,opt,name=IsGroupRole,proto3" json:"IsGroupRole,omitempty"`
	// Look for roles associated with a User
	IsUserRole bool `protobuf:"varint,5,opt,name=IsUserRole,proto3" json:"IsUserRole,omitempty"`
	// Look for roles that have any value in the autoApplies field
	HasAutoApply bool `protobuf:"varint,6,opt,name=HasAutoApply,proto3" json:"HasAutoApply,omitempty"`
	// Internal - Negate the query
	Not bool `protobuf:"varint,7,opt,name=not,proto3" json:"not,omitempty"`
	// contains filtered or unexported fields
}

RoleSingleQuery is the basic unit for building queries to Roles.

func (*RoleSingleQuery) Descriptor deprecated

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

Deprecated: Use RoleSingleQuery.ProtoReflect.Descriptor instead.

func (*RoleSingleQuery) GetHasAutoApply

func (x *RoleSingleQuery) GetHasAutoApply() bool

func (*RoleSingleQuery) GetIsGroupRole

func (x *RoleSingleQuery) GetIsGroupRole() bool

func (*RoleSingleQuery) GetIsTeam

func (x *RoleSingleQuery) GetIsTeam() bool

func (*RoleSingleQuery) GetIsUserRole

func (x *RoleSingleQuery) GetIsUserRole() bool

func (*RoleSingleQuery) GetLabel

func (x *RoleSingleQuery) GetLabel() string

func (*RoleSingleQuery) GetNot

func (x *RoleSingleQuery) GetNot() bool

func (*RoleSingleQuery) GetUuid

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

func (*RoleSingleQuery) Matches

func (m *RoleSingleQuery) Matches(idmObject interface{}) bool

func (*RoleSingleQuery) ProtoMessage

func (*RoleSingleQuery) ProtoMessage()

func (*RoleSingleQuery) ProtoReflect

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

func (*RoleSingleQuery) Reset

func (x *RoleSingleQuery) Reset()

func (*RoleSingleQuery) String

func (x *RoleSingleQuery) String() string

type SearchACLRequest

type SearchACLRequest struct {
	Query         *service.Query `protobuf:"bytes,1,opt,name=Query,proto3" json:"Query,omitempty"`
	ExpiredAfter  int64          `protobuf:"varint,2,opt,name=ExpiredAfter,proto3" json:"ExpiredAfter,omitempty"`
	ExpiredBefore int64          `protobuf:"varint,3,opt,name=ExpiredBefore,proto3" json:"ExpiredBefore,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchACLRequest) Descriptor deprecated

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

Deprecated: Use SearchACLRequest.ProtoReflect.Descriptor instead.

func (*SearchACLRequest) GetExpiredAfter

func (x *SearchACLRequest) GetExpiredAfter() int64

func (*SearchACLRequest) GetExpiredBefore

func (x *SearchACLRequest) GetExpiredBefore() int64

func (*SearchACLRequest) GetQuery

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

func (*SearchACLRequest) ProtoMessage

func (*SearchACLRequest) ProtoMessage()

func (*SearchACLRequest) ProtoReflect

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

func (*SearchACLRequest) Reset

func (x *SearchACLRequest) Reset()

func (*SearchACLRequest) String

func (x *SearchACLRequest) String() string

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

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

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

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

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

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

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

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

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

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

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

type TreeUser

type TreeUser struct {
	Node *tree.TreeNode `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty" gorm:"embedded;"`
	User *User          `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty" gorm:"-:all"`
	// contains filtered or unexported fields
}

func (*TreeUser) Descriptor deprecated

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

Deprecated: Use TreeUser.ProtoReflect.Descriptor instead.

func (*TreeUser) GetNode

func (x *TreeUser) GetNode() *tree.TreeNode

func (*TreeUser) GetUser

func (x *TreeUser) GetUser() *User

func (*TreeUser) ProtoMessage

func (*TreeUser) ProtoMessage()

func (*TreeUser) ProtoReflect

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

func (*TreeUser) Reset

func (x *TreeUser) Reset()

func (*TreeUser) String

func (x *TreeUser) String() string

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

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

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

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

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

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

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

ZapLogin 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

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)

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

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 UserServiceServer

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 {

	// Lookup a user by its Uuid
	Uuid string `protobuf:"bytes,11,opt,name=Uuid,proto3" json:"Uuid,omitempty"`
	// Lookup a user by Login
	Login string `protobuf:"bytes,1,opt,name=Login,proto3" json:"Login,omitempty"`
	// Lookup by hashed password, probably never used
	Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"`
	// List users below a specific on group path
	GroupPath string `protobuf:"bytes,3,opt,name=GroupPath,proto3" json:"GroupPath,omitempty"`
	// When searching on group path, load all users and groups recursively
	Recursive bool `protobuf:"varint,4,opt,name=Recursive,proto3" json:"Recursive,omitempty"`
	// Search one specific Group by its path
	FullPath string `protobuf:"bytes,12,opt,name=FullPath,proto3" json:"FullPath,omitempty"`
	// Search on attribute, to be combined with AttributeValue
	AttributeName string `protobuf:"bytes,5,opt,name=AttributeName,proto3" json:"AttributeName,omitempty"`
	// Value used for comparison
	AttributeValue string `protobuf:"bytes,6,opt,name=AttributeValue,proto3" json:"AttributeValue,omitempty"`
	// Search for the existence of the AttributeName, whatever its value
	AttributeAnyValue bool `protobuf:"varint,7,opt,name=AttributeAnyValue,proto3" json:"AttributeAnyValue,omitempty"`
	// Search users having a specific role UUID
	HasRole string `protobuf:"bytes,8,opt,name=HasRole,proto3" json:"HasRole,omitempty"`
	// Filter/Search by NodeType (generally user or group)
	NodeType NodeType `protobuf:"varint,9,opt,name=NodeType,proto3,enum=idm.NodeType" json:"NodeType,omitempty"`
	// Lookup by profile name (e.g. admin, standard, shared). This is a shortcut for searching on the pydio:profile attribute
	HasProfile string `protobuf:"bytes,13,opt,name=HasProfile,proto3" json:"HasProfile,omitempty"`
	// Lookup by last connection date. Must be a timestamp with a leading comparison symbol ('<' or '>')
	ConnectedSince string `protobuf:"bytes,14,opt,name=ConnectedSince,proto3" json:"ConnectedSince,omitempty"`
	// Internal - Negate the query/filter result
	Not bool `protobuf:"varint,10,opt,name=not,proto3" json:"not,omitempty"`
	// contains filtered or unexported fields
}

func (*UserSingleQuery) Descriptor deprecated

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

Deprecated: Use UserSingleQuery.ProtoReflect.Descriptor instead.

func (*UserSingleQuery) GetAttributeAnyValue

func (x *UserSingleQuery) GetAttributeAnyValue() bool

func (*UserSingleQuery) GetAttributeName

func (x *UserSingleQuery) GetAttributeName() string

func (*UserSingleQuery) GetAttributeValue

func (x *UserSingleQuery) GetAttributeValue() string

func (*UserSingleQuery) GetConnectedSince

func (x *UserSingleQuery) GetConnectedSince() string

func (*UserSingleQuery) GetFullPath

func (x *UserSingleQuery) GetFullPath() string

func (*UserSingleQuery) GetGroupPath

func (x *UserSingleQuery) GetGroupPath() string

func (*UserSingleQuery) GetHasProfile

func (x *UserSingleQuery) GetHasProfile() string

func (*UserSingleQuery) GetHasRole

func (x *UserSingleQuery) GetHasRole() string

func (*UserSingleQuery) GetLogin

func (x *UserSingleQuery) GetLogin() string

func (*UserSingleQuery) GetNodeType

func (x *UserSingleQuery) GetNodeType() NodeType

func (*UserSingleQuery) GetNot

func (x *UserSingleQuery) GetNot() bool

func (*UserSingleQuery) GetPassword

func (x *UserSingleQuery) GetPassword() string

func (*UserSingleQuery) GetRecursive

func (x *UserSingleQuery) GetRecursive() bool

func (*UserSingleQuery) GetUuid

func (x *UserSingleQuery) GetUuid() string

func (*UserSingleQuery) Matches

func (m *UserSingleQuery) Matches(idmObject interface{}) bool

func (*UserSingleQuery) ParseLastConnected

func (m *UserSingleQuery) ParseLastConnected() (lt bool, d time.Duration, e error)

func (*UserSingleQuery) ProtoMessage

func (*UserSingleQuery) ProtoMessage()

func (*UserSingleQuery) ProtoReflect

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

func (*UserSingleQuery) Reset

func (x *UserSingleQuery) Reset()

func (*UserSingleQuery) String

func (x *UserSingleQuery) String() string

type Workspace

type Workspace struct {

	// Unique identifier of the workspace
	UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty" gorm:"column:uuid;type:varchar(128);primaryKey;"`
	// Label of the workspace (max length 500)
	Label string `protobuf:"bytes,2,opt,name=Label,proto3" json:"Label,omitempty" gorm:"column:label;type:varchar(500);"`
	// Description of the workspace (max length 1000)
	Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty" gorm:"column:description;type:varchar(1000);"`
	// 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" gorm:"column:slug;type:varchar(500);unique;"`
	// Scope can be ADMIN, ROOM (=CELL) or LINK
	Scope WorkspaceScope `protobuf:"varint,5,opt,name=Scope,proto3,enum=idm.WorkspaceScope" json:"Scope,omitempty" gorm:"column:scope;"`
	// Last modification time
	LastUpdated int32 `protobuf:"varint,6,opt,name=LastUpdated,proto3" json:"LastUpdated,omitempty" gorm:"column:last_updated;"`
	// Policies for securing access
	Policies []*service.ResourcePolicy `protobuf:"bytes,7,rep,name=Policies,proto3" json:"Policies,omitempty" gorm:"-:all"`
	// JSON-encoded list of attributes
	Attributes string `protobuf:"bytes,8,opt,name=Attributes,proto3" json:"Attributes,omitempty" gorm:"column:attributes;type:varchar(2000);"`
	// Quick list of the RootNodes uuids
	RootUUIDs []string `protobuf:"bytes,9,rep,name=RootUUIDs,proto3" json:"RootUUIDs,omitempty" gorm:"-:all"`
	// List of the Root Nodes in the tree that compose this workspace
	RootNodes map[string]*tree.Node `` /* 173-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" gorm:"-:all"`
	// 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) 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 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 {

	// Lookup by workspace Uuid
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Lookup by workspace Label
	Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	// Lookup by description
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Select workspace by slug
	Slug string `protobuf:"bytes,4,opt,name=slug,proto3" json:"slug,omitempty"`
	// Restrict to a specific workspace type
	Scope WorkspaceScope `protobuf:"varint,5,opt,name=scope,proto3,enum=idm.WorkspaceScope" json:"scope,omitempty"`
	// Compared to workspace update date (Golang duration with a leading comparator < or >)
	LastUpdated string `protobuf:"bytes,7,opt,name=LastUpdated,proto3" json:"LastUpdated,omitempty"`
	// Lookup for the presence of a specific attribute, whatever its value
	HasAttribute string `protobuf:"bytes,8,opt,name=HasAttribute,proto3" json:"HasAttribute,omitempty"`
	// Lookup for an attribute, to be used in combination with AttributeValue
	AttributeName string `protobuf:"bytes,9,opt,name=AttributeName,proto3" json:"AttributeName,omitempty"`
	// Value used for comparison
	AttributeValue string `protobuf:"bytes,10,opt,name=AttributeValue,proto3" json:"AttributeValue,omitempty"`
	// Internal - Negate the query result
	Not bool `protobuf:"varint,6,opt,name=not,proto3" json:"not,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkspaceSingleQuery) Descriptor deprecated

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

Deprecated: Use WorkspaceSingleQuery.ProtoReflect.Descriptor instead.

func (*WorkspaceSingleQuery) GetAttributeName

func (x *WorkspaceSingleQuery) GetAttributeName() string

func (*WorkspaceSingleQuery) GetAttributeValue

func (x *WorkspaceSingleQuery) GetAttributeValue() string

func (*WorkspaceSingleQuery) GetDescription

func (x *WorkspaceSingleQuery) GetDescription() string

func (*WorkspaceSingleQuery) GetHasAttribute

func (x *WorkspaceSingleQuery) GetHasAttribute() string

func (*WorkspaceSingleQuery) GetLabel

func (x *WorkspaceSingleQuery) GetLabel() string

func (*WorkspaceSingleQuery) GetLastUpdated

func (x *WorkspaceSingleQuery) GetLastUpdated() string

func (*WorkspaceSingleQuery) GetNot

func (x *WorkspaceSingleQuery) GetNot() bool

func (*WorkspaceSingleQuery) GetScope

func (x *WorkspaceSingleQuery) GetScope() WorkspaceScope

func (*WorkspaceSingleQuery) GetSlug

func (x *WorkspaceSingleQuery) GetSlug() string

func (*WorkspaceSingleQuery) GetUuid

func (x *WorkspaceSingleQuery) GetUuid() string

func (*WorkspaceSingleQuery) Matches

func (m *WorkspaceSingleQuery) Matches(idmObject interface{}) bool

func (*WorkspaceSingleQuery) ParseLastUpdated

func (m *WorkspaceSingleQuery) ParseLastUpdated() (lt bool, d time.Duration, e error)

func (*WorkspaceSingleQuery) ProtoMessage

func (*WorkspaceSingleQuery) ProtoMessage()

func (*WorkspaceSingleQuery) ProtoReflect

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

func (*WorkspaceSingleQuery) Reset

func (x *WorkspaceSingleQuery) Reset()

func (*WorkspaceSingleQuery) String

func (x *WorkspaceSingleQuery) String() string

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"`
	ShareExpiration int64  `json:"shareExpiration,omitempty"`
}

Jump to

Keyboard shortcuts

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