rest

package
v2.0.0-rc1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2019 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Overview

Package rest is a generated protocol buffer package.

It is generated from these files:

broker.proto
common.proto
config.proto
data.proto
frontend.proto
graph.proto
idm.proto
oauth.proto
rest.proto
scheduler.proto
share.proto
templates.proto

It has these top-level messages:

ActivitiesCollection
SubscriptionsCollection
LogCollection
LogMessageCollection
TimeRangeResultCollection
DeleteResponse
Error
Configuration
ListDataSourceRequest
DataSourceCollection
DeleteDataSourceResponse
ListPeersAddressesRequest
ListPeersAddressesResponse
ListPeerFoldersRequest
Process
ListProcessesRequest
ListProcessesResponse
ListVersioningPolicyRequest
VersioningPolicyCollection
ListVirtualNodesRequest
ListServiceRequest
ServiceCollection
ControlServiceRequest
DiscoveryRequest
DiscoveryResponse
ConfigFormRequest
OpenApiResponse
SearchResults
Pagination
Metadata
MetaCollection
MetaNamespaceRequest
GetBulkMetaRequest
BulkMetaResponse
HeadNodeRequest
HeadNodeResponse
CreateNodesRequest
CreateSelectionRequest
CreateSelectionResponse
NodesCollection
DeleteNodesRequest
BackgroundJobResult
DeleteNodesResponse
RestoreNodesRequest
RestoreNodesResponse
ListDocstoreRequest
DocstoreCollection
ChangeRequest
ChangeCollection
SettingsMenuRequest
SettingsEntryMeta
SettingsEntry
SettingsSection
SettingsMenuResponse
FrontStateRequest
FrontStateResponse
FrontPluginsRequest
FrontPluginsResponse
FrontMessagesRequest
FrontMessagesResponse
FrontSessionRequest
FrontSessionResponse
FrontAuthRequest
FrontAuthResponse
FrontEnrollAuthRequest
FrontEnrollAuthResponse
FrontBinaryRequest
FrontBinaryResponse
FrontBootConfRequest
FrontBootConfResponse
UserStateRequest
UserStateResponse
RelationRequest
RelationResponse
ResourcePolicyQuery
SearchRoleRequest
RolesCollection
SearchUserRequest
UsersCollection
BindResponse
SearchACLRequest
ACLCollection
SearchWorkspaceRequest
WorkspaceCollection
UserMetaCollection
UserMetaNamespaceCollection
ListUserMetaTagsRequest
ListUserMetaTagsResponse
PutUserMetaTagRequest
PutUserMetaTagResponse
DeleteUserMetaTagsRequest
DeleteUserMetaTagsResponse
UserBookmarksRequest
RevokeRequest
RevokeResponse
ResetPasswordTokenRequest
ResetPasswordTokenResponse
ResetPasswordRequest
ResetPasswordResponse
OAuthConfigurationRequest
OAuthConfigurationResponse
UserJobRequest
UserJobResponse
UserJobsCollection
CellAcl
Cell
ShareLinkTargetUser
ShareLink
PutCellRequest
GetCellRequest
DeleteCellRequest
DeleteCellResponse
GetShareLinkRequest
PutShareLinkRequest
DeleteShareLinkRequest
DeleteShareLinkResponse
ListSharedResourcesRequest
ListSharedResourcesResponse
UpdateSharePoliciesRequest
UpdateSharePoliciesResponse
TemplateNode
Template
ListTemplatesRequest
ListTemplatesResponse
CreateFromTemplateRequest
CreateFromTemplateResponse

Index

Constants

This section is empty.

Variables

View Source
var ListSharedResourcesRequest_ListShareType_name = map[int32]string{
	0: "ANY",
	1: "LINKS",
	2: "CELLS",
}
View Source
var ListSharedResourcesRequest_ListShareType_value = map[string]int32{
	"ANY":   0,
	"LINKS": 1,
	"CELLS": 2,
}
View Source
var ResourcePolicyQuery_QueryType_name = map[int32]string{
	0: "CONTEXT",
	1: "ANY",
	2: "NONE",
	3: "USER",
}
View Source
var ResourcePolicyQuery_QueryType_value = map[string]int32{
	"CONTEXT": 0,
	"ANY":     1,
	"NONE":    2,
	"USER":    3,
}
View Source
var ShareLinkAccessType_name = map[int32]string{
	0: "NoAccess",
	1: "Preview",
	2: "Download",
	3: "Upload",
}
View Source
var ShareLinkAccessType_value = map[string]int32{
	"NoAccess": 0,
	"Preview":  1,
	"Download": 2,
	"Upload":   3,
}
View Source
var SwaggerJson = `` /* 180390-byte string literal not displayed */

Functions

func RegisterACLServiceHandler

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

func RegisterActivityServiceHandler

func RegisterActivityServiceHandler(s server.Server, hdlr ActivityServiceHandler, opts ...server.HandlerOption)

func RegisterAdminTreeServiceHandler

func RegisterAdminTreeServiceHandler(s server.Server, hdlr AdminTreeServiceHandler, opts ...server.HandlerOption)

func RegisterChangeServiceHandler

func RegisterChangeServiceHandler(s server.Server, hdlr ChangeServiceHandler, opts ...server.HandlerOption)

func RegisterConfigServiceHandler

func RegisterConfigServiceHandler(s server.Server, hdlr ConfigServiceHandler, opts ...server.HandlerOption)

func RegisterFrontendServiceHandler

func RegisterFrontendServiceHandler(s server.Server, hdlr FrontendServiceHandler, opts ...server.HandlerOption)

func RegisterGraphServiceHandler

func RegisterGraphServiceHandler(s server.Server, hdlr GraphServiceHandler, opts ...server.HandlerOption)

func RegisterInstallServiceHandler

func RegisterInstallServiceHandler(s server.Server, hdlr InstallServiceHandler, opts ...server.HandlerOption)

func RegisterJobsServiceHandler

func RegisterJobsServiceHandler(s server.Server, hdlr JobsServiceHandler, opts ...server.HandlerOption)

func RegisterLogServiceHandler

func RegisterLogServiceHandler(s server.Server, hdlr LogServiceHandler, opts ...server.HandlerOption)

func RegisterMailerServiceHandler

func RegisterMailerServiceHandler(s server.Server, hdlr MailerServiceHandler, opts ...server.HandlerOption)

func RegisterMetaServiceHandler

func RegisterMetaServiceHandler(s server.Server, hdlr MetaServiceHandler, opts ...server.HandlerOption)

func RegisterPolicyServiceHandler

func RegisterPolicyServiceHandler(s server.Server, hdlr PolicyServiceHandler, opts ...server.HandlerOption)

func RegisterRoleServiceHandler

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

func RegisterSearchServiceHandler

func RegisterSearchServiceHandler(s server.Server, hdlr SearchServiceHandler, opts ...server.HandlerOption)

func RegisterShareServiceHandler

func RegisterShareServiceHandler(s server.Server, hdlr ShareServiceHandler, opts ...server.HandlerOption)

func RegisterTemplatesServiceHandler

func RegisterTemplatesServiceHandler(s server.Server, hdlr TemplatesServiceHandler, opts ...server.HandlerOption)

func RegisterTokenServiceHandler

func RegisterTokenServiceHandler(s server.Server, hdlr TokenServiceHandler, opts ...server.HandlerOption)

func RegisterTreeServiceHandler

func RegisterTreeServiceHandler(s server.Server, hdlr TreeServiceHandler, opts ...server.HandlerOption)

func RegisterUpdateServiceHandler

func RegisterUpdateServiceHandler(s server.Server, hdlr UpdateServiceHandler, opts ...server.HandlerOption)

func RegisterUserMetaServiceHandler

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

func RegisterUserServiceHandler

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

func RegisterWorkspaceServiceHandler

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

Types

type ACLCollection

type ACLCollection struct {
	ACLs  []*idm.ACL `protobuf:"bytes,1,rep,name=ACLs" json:"ACLs,omitempty"`
	Total int32      `protobuf:"varint,2,opt,name=Total" json:"Total,omitempty"`
}

Response for search request

func (*ACLCollection) Descriptor

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

func (*ACLCollection) GetACLs

func (m *ACLCollection) GetACLs() []*idm.ACL

func (*ACLCollection) GetTotal

func (m *ACLCollection) GetTotal() int32

func (*ACLCollection) ProtoMessage

func (*ACLCollection) ProtoMessage()

func (*ACLCollection) Reset

func (m *ACLCollection) Reset()

func (*ACLCollection) String

func (m *ACLCollection) String() string

func (*ACLCollection) Validate added in v1.6.0

func (this *ACLCollection) Validate() error

type ACLService

type ACLService struct {
	ACLServiceHandler
}

func (*ACLService) DeleteAcl

func (h *ACLService) DeleteAcl(ctx context.Context, in *idm.ACL, out *DeleteResponse) error

func (*ACLService) PutAcl

func (h *ACLService) PutAcl(ctx context.Context, in *idm.ACL, out *idm.ACL) error

func (*ACLService) SearchAcls

func (h *ACLService) SearchAcls(ctx context.Context, in *SearchACLRequest, out *ACLCollection) error

type ACLServiceClient

type ACLServiceClient interface {
	// Store an ACL
	PutAcl(ctx context.Context, in *idm.ACL, opts ...client.CallOption) (*idm.ACL, error)
	// Delete one or more ACLs
	DeleteAcl(ctx context.Context, in *idm.ACL, opts ...client.CallOption) (*DeleteResponse, error)
	// Search Acls
	SearchAcls(ctx context.Context, in *SearchACLRequest, opts ...client.CallOption) (*ACLCollection, error)
}

func NewACLServiceClient

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

type ACLServiceHandler

type ACLServiceHandler interface {
	// Store an ACL
	PutAcl(context.Context, *idm.ACL, *idm.ACL) error
	// Delete one or more ACLs
	DeleteAcl(context.Context, *idm.ACL, *DeleteResponse) error
	// Search Acls
	SearchAcls(context.Context, *SearchACLRequest, *ACLCollection) error
}

type ActivitiesCollection

type ActivitiesCollection struct {
	Activities []*activity.Object `protobuf:"bytes,1,rep,name=activities" json:"activities,omitempty"`
}

Collection of Activities

func (*ActivitiesCollection) Descriptor

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

func (*ActivitiesCollection) GetActivities

func (m *ActivitiesCollection) GetActivities() []*activity.Object

func (*ActivitiesCollection) ProtoMessage

func (*ActivitiesCollection) ProtoMessage()

func (*ActivitiesCollection) Reset

func (m *ActivitiesCollection) Reset()

func (*ActivitiesCollection) String

func (m *ActivitiesCollection) String() string

func (*ActivitiesCollection) Validate added in v1.6.0

func (this *ActivitiesCollection) Validate() error

type ActivityService

type ActivityService struct {
	ActivityServiceHandler
}

func (*ActivityService) SearchSubscriptions

func (*ActivityService) Stream

func (*ActivityService) Subscribe

type ActivityServiceClient

type ActivityServiceClient interface {
	// Load the the feeds of the currently logged user
	Stream(ctx context.Context, in *activity.StreamActivitiesRequest, opts ...client.CallOption) (*activity.Object, error)
	// Manage subscriptions to other users/nodes feeds
	Subscribe(ctx context.Context, in *activity.Subscription, opts ...client.CallOption) (*activity.Subscription, error)
	// Load subscriptions to other users/nodes feeds
	SearchSubscriptions(ctx context.Context, in *activity.SearchSubscriptionsRequest, opts ...client.CallOption) (*SubscriptionsCollection, error)
}

func NewActivityServiceClient

func NewActivityServiceClient(serviceName string, c client.Client) ActivityServiceClient

type ActivityServiceHandler

type ActivityServiceHandler interface {
	// Load the the feeds of the currently logged user
	Stream(context.Context, *activity.StreamActivitiesRequest, *activity.Object) error
	// Manage subscriptions to other users/nodes feeds
	Subscribe(context.Context, *activity.Subscription, *activity.Subscription) error
	// Load subscriptions to other users/nodes feeds
	SearchSubscriptions(context.Context, *activity.SearchSubscriptionsRequest, *SubscriptionsCollection) error
}

type AdminTreeService

type AdminTreeService struct {
	AdminTreeServiceHandler
}

func (*AdminTreeService) ListAdminTree

func (h *AdminTreeService) ListAdminTree(ctx context.Context, in *tree.ListNodesRequest, out *NodesCollection) error

func (*AdminTreeService) StatAdminTree

type AdminTreeServiceClient

type AdminTreeServiceClient interface {
	// List files and folders starting at the root (first level lists the datasources)
	ListAdminTree(ctx context.Context, in *tree.ListNodesRequest, opts ...client.CallOption) (*NodesCollection, error)
	// Read a node information inside the admin tree
	StatAdminTree(ctx context.Context, in *tree.ReadNodeRequest, opts ...client.CallOption) (*tree.ReadNodeResponse, error)
}

func NewAdminTreeServiceClient

func NewAdminTreeServiceClient(serviceName string, c client.Client) AdminTreeServiceClient

type AdminTreeServiceHandler

type AdminTreeServiceHandler interface {
	// List files and folders starting at the root (first level lists the datasources)
	ListAdminTree(context.Context, *tree.ListNodesRequest, *NodesCollection) error
	// Read a node information inside the admin tree
	StatAdminTree(context.Context, *tree.ReadNodeRequest, *tree.ReadNodeResponse) error
}

type BackgroundJobResult added in v1.2.0

type BackgroundJobResult struct {
	Uuid     string `protobuf:"bytes,1,opt,name=Uuid" json:"Uuid,omitempty"`
	Label    string `protobuf:"bytes,2,opt,name=Label" json:"Label,omitempty"`
	NodeUuid string `protobuf:"bytes,3,opt,name=NodeUuid" json:"NodeUuid,omitempty"`
}

func (*BackgroundJobResult) Descriptor added in v1.2.0

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

func (*BackgroundJobResult) GetLabel added in v1.2.0

func (m *BackgroundJobResult) GetLabel() string

func (*BackgroundJobResult) GetNodeUuid

func (m *BackgroundJobResult) GetNodeUuid() string

func (*BackgroundJobResult) GetUuid added in v1.2.0

func (m *BackgroundJobResult) GetUuid() string

func (*BackgroundJobResult) ProtoMessage added in v1.2.0

func (*BackgroundJobResult) ProtoMessage()

func (*BackgroundJobResult) Reset added in v1.2.0

func (m *BackgroundJobResult) Reset()

func (*BackgroundJobResult) String added in v1.2.0

func (m *BackgroundJobResult) String() string

func (*BackgroundJobResult) Validate added in v1.6.0

func (this *BackgroundJobResult) Validate() error

type BindResponse

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

Binding Response

func (*BindResponse) Descriptor

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

func (*BindResponse) GetSuccess

func (m *BindResponse) GetSuccess() bool

func (*BindResponse) ProtoMessage

func (*BindResponse) ProtoMessage()

func (*BindResponse) Reset

func (m *BindResponse) Reset()

func (*BindResponse) String

func (m *BindResponse) String() string

func (*BindResponse) Validate added in v1.6.0

func (this *BindResponse) Validate() error

type BulkMetaResponse

type BulkMetaResponse struct {
	Nodes      []*tree.Node `protobuf:"bytes,1,rep,name=Nodes" json:"Nodes,omitempty"`
	Pagination *Pagination  `protobuf:"bytes,5,opt,name=Pagination" json:"Pagination,omitempty"`
}

func (*BulkMetaResponse) Descriptor

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

func (*BulkMetaResponse) GetNodes

func (m *BulkMetaResponse) GetNodes() []*tree.Node

func (*BulkMetaResponse) GetPagination added in v1.2.0

func (m *BulkMetaResponse) GetPagination() *Pagination

func (*BulkMetaResponse) ProtoMessage

func (*BulkMetaResponse) ProtoMessage()

func (*BulkMetaResponse) Reset

func (m *BulkMetaResponse) Reset()

func (*BulkMetaResponse) String

func (m *BulkMetaResponse) String() string

func (*BulkMetaResponse) Validate added in v1.6.0

func (this *BulkMetaResponse) Validate() error

type Cell

type Cell struct {
	Uuid                    string                    `protobuf:"bytes,1,opt,name=Uuid" json:"Uuid,omitempty"`
	Label                   string                    `protobuf:"bytes,2,opt,name=Label" json:"Label,omitempty"`
	Description             string                    `protobuf:"bytes,3,opt,name=Description" json:"Description,omitempty"`
	RootNodes               []*tree.Node              `protobuf:"bytes,4,rep,name=RootNodes" json:"RootNodes,omitempty"`
	ACLs                    map[string]*CellAcl       `` /* 128-byte string literal not displayed */
	Policies                []*service.ResourcePolicy `protobuf:"bytes,6,rep,name=Policies" json:"Policies,omitempty"`
	PoliciesContextEditable bool                      `protobuf:"varint,7,opt,name=PoliciesContextEditable" json:"PoliciesContextEditable,omitempty"`
}

Model for representing a shared room

func (*Cell) Descriptor

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

func (*Cell) GetACLs

func (m *Cell) GetACLs() map[string]*CellAcl

func (*Cell) GetDescription

func (m *Cell) GetDescription() string

func (*Cell) GetLabel

func (m *Cell) GetLabel() string

func (*Cell) GetPolicies

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

func (*Cell) GetPoliciesContextEditable

func (m *Cell) GetPoliciesContextEditable() bool

func (*Cell) GetRootNodes

func (m *Cell) GetRootNodes() []*tree.Node

func (*Cell) GetUuid

func (m *Cell) GetUuid() string

func (*Cell) ProtoMessage

func (*Cell) ProtoMessage()

func (*Cell) Reset

func (m *Cell) Reset()

func (*Cell) String

func (m *Cell) String() string

func (*Cell) Validate added in v1.6.0

func (this *Cell) Validate() error

type CellAcl

type CellAcl struct {
	RoleId     string           `protobuf:"bytes,1,opt,name=RoleId" json:"RoleId,omitempty"`
	Actions    []*idm.ACLAction `protobuf:"bytes,2,rep,name=Actions" json:"Actions,omitempty"`
	IsUserRole bool             `protobuf:"varint,3,opt,name=IsUserRole" json:"IsUserRole,omitempty"`
	User       *idm.User        `protobuf:"bytes,4,opt,name=User" json:"User,omitempty"`
	Group      *idm.User        `protobuf:"bytes,5,opt,name=Group" json:"Group,omitempty"`
	Role       *idm.Role        `protobuf:"bytes,6,opt,name=Role" json:"Role,omitempty"`
}

Group collected acls by subjects

func (*CellAcl) Descriptor

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

func (*CellAcl) GetActions

func (m *CellAcl) GetActions() []*idm.ACLAction

func (*CellAcl) GetGroup

func (m *CellAcl) GetGroup() *idm.User

func (*CellAcl) GetIsUserRole

func (m *CellAcl) GetIsUserRole() bool

func (*CellAcl) GetRole

func (m *CellAcl) GetRole() *idm.Role

func (*CellAcl) GetRoleId

func (m *CellAcl) GetRoleId() string

func (*CellAcl) GetUser

func (m *CellAcl) GetUser() *idm.User

func (*CellAcl) ProtoMessage

func (*CellAcl) ProtoMessage()

func (*CellAcl) Reset

func (m *CellAcl) Reset()

func (*CellAcl) String

func (m *CellAcl) String() string

func (*CellAcl) Validate added in v1.6.0

func (this *CellAcl) Validate() error

type ChangeCollection

type ChangeCollection struct {
	Changes   []*tree.SyncChange `protobuf:"bytes,1,rep,name=Changes,json=changes" json:"Changes,omitempty"`
	LastSeqId int64              `protobuf:"varint,2,opt,name=LastSeqId,json=last_seq" json:"LastSeqId,omitempty"`
}

func (*ChangeCollection) Descriptor

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

func (*ChangeCollection) GetChanges

func (m *ChangeCollection) GetChanges() []*tree.SyncChange

func (*ChangeCollection) GetLastSeqId

func (m *ChangeCollection) GetLastSeqId() int64

func (*ChangeCollection) ProtoMessage

func (*ChangeCollection) ProtoMessage()

func (*ChangeCollection) Reset

func (m *ChangeCollection) Reset()

func (*ChangeCollection) String

func (m *ChangeCollection) String() string

func (*ChangeCollection) Validate added in v1.6.0

func (this *ChangeCollection) Validate() error

type ChangeRequest

type ChangeRequest struct {
	SeqID   int64  `protobuf:"varint,1,opt,name=SeqID" json:"SeqID,omitempty"`
	Filter  string `protobuf:"bytes,2,opt,name=filter" json:"filter,omitempty"`
	Flatten bool   `protobuf:"varint,3,opt,name=flatten" json:"flatten,omitempty"`
	Stream  bool   `protobuf:"varint,4,opt,name=stream" json:"stream,omitempty"`
}

func (*ChangeRequest) Descriptor

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

func (*ChangeRequest) GetFilter

func (m *ChangeRequest) GetFilter() string

func (*ChangeRequest) GetFlatten

func (m *ChangeRequest) GetFlatten() bool

func (*ChangeRequest) GetSeqID

func (m *ChangeRequest) GetSeqID() int64

func (*ChangeRequest) GetStream

func (m *ChangeRequest) GetStream() bool

func (*ChangeRequest) ProtoMessage

func (*ChangeRequest) ProtoMessage()

func (*ChangeRequest) Reset

func (m *ChangeRequest) Reset()

func (*ChangeRequest) String

func (m *ChangeRequest) String() string

func (*ChangeRequest) Validate added in v1.6.0

func (this *ChangeRequest) Validate() error

type ChangeService

type ChangeService struct {
	ChangeServiceHandler
}

func (*ChangeService) GetChanges

func (h *ChangeService) GetChanges(ctx context.Context, in *ChangeRequest, out *ChangeCollection) error

type ChangeServiceClient

type ChangeServiceClient interface {
	// Get Changes
	GetChanges(ctx context.Context, in *ChangeRequest, opts ...client.CallOption) (*ChangeCollection, error)
}

func NewChangeServiceClient

func NewChangeServiceClient(serviceName string, c client.Client) ChangeServiceClient

type ChangeServiceHandler

type ChangeServiceHandler interface {
	// Get Changes
	GetChanges(context.Context, *ChangeRequest, *ChangeCollection) error
}

type ConfigFormRequest

type ConfigFormRequest struct {
	ServiceName string `protobuf:"bytes,1,opt,name=ServiceName" json:"ServiceName,omitempty"`
}

func (*ConfigFormRequest) Descriptor

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

func (*ConfigFormRequest) GetServiceName

func (m *ConfigFormRequest) GetServiceName() string

func (*ConfigFormRequest) ProtoMessage

func (*ConfigFormRequest) ProtoMessage()

func (*ConfigFormRequest) Reset

func (m *ConfigFormRequest) Reset()

func (*ConfigFormRequest) String

func (m *ConfigFormRequest) String() string

func (*ConfigFormRequest) Validate added in v1.6.0

func (this *ConfigFormRequest) Validate() error

type ConfigService

type ConfigService struct {
	ConfigServiceHandler
}

func (*ConfigService) ConfigFormsDiscovery

func (h *ConfigService) ConfigFormsDiscovery(ctx context.Context, in *ConfigFormRequest, out *DiscoveryResponse) error

func (*ConfigService) ControlService

func (h *ConfigService) ControlService(ctx context.Context, in *ControlServiceRequest, out *ctl.Service) error

func (*ConfigService) CreateEncryptionKey

func (*ConfigService) DeleteDataSource

func (h *ConfigService) DeleteDataSource(ctx context.Context, in *object.DataSource, out *DeleteDataSourceResponse) error

func (*ConfigService) DeleteEncryptionKey

func (*ConfigService) EndpointsDiscovery

func (h *ConfigService) EndpointsDiscovery(ctx context.Context, in *DiscoveryRequest, out *DiscoveryResponse) error

func (*ConfigService) ExportEncryptionKey

func (*ConfigService) GetConfig

func (h *ConfigService) GetConfig(ctx context.Context, in *Configuration, out *Configuration) error

func (*ConfigService) GetDataSource

func (h *ConfigService) GetDataSource(ctx context.Context, in *object.DataSource, out *object.DataSource) error

func (*ConfigService) GetVersioningPolicy

func (h *ConfigService) GetVersioningPolicy(ctx context.Context, in *tree.VersioningPolicy, out *tree.VersioningPolicy) error

func (*ConfigService) ImportEncryptionKey

func (*ConfigService) ListDataSources

func (h *ConfigService) ListDataSources(ctx context.Context, in *ListDataSourceRequest, out *DataSourceCollection) error

func (*ConfigService) ListEncryptionKeys

func (*ConfigService) ListPeerFolders

func (h *ConfigService) ListPeerFolders(ctx context.Context, in *ListPeerFoldersRequest, out *NodesCollection) error

func (*ConfigService) ListPeersAddresses

func (*ConfigService) ListProcesses

func (*ConfigService) ListServices

func (h *ConfigService) ListServices(ctx context.Context, in *ListServiceRequest, out *ServiceCollection) error

func (*ConfigService) ListVersioningPolicies

func (*ConfigService) ListVirtualNodes

func (h *ConfigService) ListVirtualNodes(ctx context.Context, in *ListVirtualNodesRequest, out *NodesCollection) error

func (*ConfigService) OAuthConfiguration

func (*ConfigService) OpenApiDiscovery

func (h *ConfigService) OpenApiDiscovery(ctx context.Context, in *DiscoveryRequest, out *OpenApiResponse) error

func (*ConfigService) PutConfig

func (h *ConfigService) PutConfig(ctx context.Context, in *Configuration, out *Configuration) error

func (*ConfigService) PutDataSource

func (h *ConfigService) PutDataSource(ctx context.Context, in *object.DataSource, out *object.DataSource) error

type ConfigServiceClient

type ConfigServiceClient interface {
	// Generic config Put, using a full path in the config tree
	PutConfig(ctx context.Context, in *Configuration, opts ...client.CallOption) (*Configuration, error)
	// Generic config Get using a full path in the config tree
	GetConfig(ctx context.Context, in *Configuration, opts ...client.CallOption) (*Configuration, error)
	// Create or update a datasource
	PutDataSource(ctx context.Context, in *object.DataSource, opts ...client.CallOption) (*object.DataSource, error)
	// Load datasource information
	GetDataSource(ctx context.Context, in *object.DataSource, opts ...client.CallOption) (*object.DataSource, error)
	// Delete a datasource
	DeleteDataSource(ctx context.Context, in *object.DataSource, opts ...client.CallOption) (*DeleteDataSourceResponse, error)
	// List all defined datasources
	ListDataSources(ctx context.Context, in *ListDataSourceRequest, opts ...client.CallOption) (*DataSourceCollection, error)
	// List all defined versioning policies
	ListVersioningPolicies(ctx context.Context, in *ListVersioningPolicyRequest, opts ...client.CallOption) (*VersioningPolicyCollection, error)
	// Load a given versioning policy
	GetVersioningPolicy(ctx context.Context, in *tree.VersioningPolicy, opts ...client.CallOption) (*tree.VersioningPolicy, error)
	// List all defined virtual nodes
	ListVirtualNodes(ctx context.Context, in *ListVirtualNodesRequest, opts ...client.CallOption) (*NodesCollection, error)
	// List all services and their status
	ListServices(ctx context.Context, in *ListServiceRequest, opts ...client.CallOption) (*ServiceCollection, error)
	// [Not Implemented]  Start/Stop a service
	ControlService(ctx context.Context, in *ControlServiceRequest, opts ...client.CallOption) (*ctl.Service, error)
	// List all detected peers (servers on which the app is running)
	ListPeersAddresses(ctx context.Context, in *ListPeersAddressesRequest, opts ...client.CallOption) (*ListPeersAddressesResponse, error)
	// List folders on a peer, starting from root
	ListPeerFolders(ctx context.Context, in *ListPeerFoldersRequest, opts ...client.CallOption) (*NodesCollection, error)
	// List running Processes, with option PeerId or ServiceName filter
	ListProcesses(ctx context.Context, in *ListProcessesRequest, opts ...client.CallOption) (*ListProcessesResponse, error)
	// List registered master keys
	ListEncryptionKeys(ctx context.Context, in *encryption.AdminListKeysRequest, opts ...client.CallOption) (*encryption.AdminListKeysResponse, error)
	// Create a new master key
	CreateEncryptionKey(ctx context.Context, in *encryption.AdminCreateKeyRequest, opts ...client.CallOption) (*encryption.AdminCreateKeyResponse, error)
	// Delete an existing master key
	DeleteEncryptionKey(ctx context.Context, in *encryption.AdminDeleteKeyRequest, opts ...client.CallOption) (*encryption.AdminDeleteKeyResponse, error)
	// Export a master key for backup purpose, protected with a password
	ExportEncryptionKey(ctx context.Context, in *encryption.AdminExportKeyRequest, opts ...client.CallOption) (*encryption.AdminExportKeyResponse, error)
	// Import a previously exported master key, requires the password created at export time
	ImportEncryptionKey(ctx context.Context, in *encryption.AdminImportKeyRequest, opts ...client.CallOption) (*encryption.AdminImportKeyResponse, error)
	// Publish available endpoints
	EndpointsDiscovery(ctx context.Context, in *DiscoveryRequest, opts ...client.CallOption) (*DiscoveryResponse, error)
	// Publish available REST APIs
	OpenApiDiscovery(ctx context.Context, in *DiscoveryRequest, opts ...client.CallOption) (*OpenApiResponse, error)
	// Publish Forms definition for building screens in frontend
	ConfigFormsDiscovery(ctx context.Context, in *ConfigFormRequest, opts ...client.CallOption) (*DiscoveryResponse, error)
	OAuthConfiguration(ctx context.Context, in *OAuthConfigurationRequest, opts ...client.CallOption) (*OAuthConfigurationResponse, error)
}

func NewConfigServiceClient

func NewConfigServiceClient(serviceName string, c client.Client) ConfigServiceClient

type ConfigServiceHandler

type ConfigServiceHandler interface {
	// Generic config Put, using a full path in the config tree
	PutConfig(context.Context, *Configuration, *Configuration) error
	// Generic config Get using a full path in the config tree
	GetConfig(context.Context, *Configuration, *Configuration) error
	// Create or update a datasource
	PutDataSource(context.Context, *object.DataSource, *object.DataSource) error
	// Load datasource information
	GetDataSource(context.Context, *object.DataSource, *object.DataSource) error
	// Delete a datasource
	DeleteDataSource(context.Context, *object.DataSource, *DeleteDataSourceResponse) error
	// List all defined datasources
	ListDataSources(context.Context, *ListDataSourceRequest, *DataSourceCollection) error
	// List all defined versioning policies
	ListVersioningPolicies(context.Context, *ListVersioningPolicyRequest, *VersioningPolicyCollection) error
	// Load a given versioning policy
	GetVersioningPolicy(context.Context, *tree.VersioningPolicy, *tree.VersioningPolicy) error
	// List all defined virtual nodes
	ListVirtualNodes(context.Context, *ListVirtualNodesRequest, *NodesCollection) error
	// List all services and their status
	ListServices(context.Context, *ListServiceRequest, *ServiceCollection) error
	// [Not Implemented]  Start/Stop a service
	ControlService(context.Context, *ControlServiceRequest, *ctl.Service) error
	// List all detected peers (servers on which the app is running)
	ListPeersAddresses(context.Context, *ListPeersAddressesRequest, *ListPeersAddressesResponse) error
	// List folders on a peer, starting from root
	ListPeerFolders(context.Context, *ListPeerFoldersRequest, *NodesCollection) error
	// List running Processes, with option PeerId or ServiceName filter
	ListProcesses(context.Context, *ListProcessesRequest, *ListProcessesResponse) error
	// List registered master keys
	ListEncryptionKeys(context.Context, *encryption.AdminListKeysRequest, *encryption.AdminListKeysResponse) error
	// Create a new master key
	CreateEncryptionKey(context.Context, *encryption.AdminCreateKeyRequest, *encryption.AdminCreateKeyResponse) error
	// Delete an existing master key
	DeleteEncryptionKey(context.Context, *encryption.AdminDeleteKeyRequest, *encryption.AdminDeleteKeyResponse) error
	// Export a master key for backup purpose, protected with a password
	ExportEncryptionKey(context.Context, *encryption.AdminExportKeyRequest, *encryption.AdminExportKeyResponse) error
	// Import a previously exported master key, requires the password created at export time
	ImportEncryptionKey(context.Context, *encryption.AdminImportKeyRequest, *encryption.AdminImportKeyResponse) error
	// Publish available endpoints
	EndpointsDiscovery(context.Context, *DiscoveryRequest, *DiscoveryResponse) error
	// Publish available REST APIs
	OpenApiDiscovery(context.Context, *DiscoveryRequest, *OpenApiResponse) error
	// Publish Forms definition for building screens in frontend
	ConfigFormsDiscovery(context.Context, *ConfigFormRequest, *DiscoveryResponse) error
	OAuthConfiguration(context.Context, *OAuthConfigurationRequest, *OAuthConfigurationResponse) error
}

type Configuration

type Configuration struct {
	FullPath string `protobuf:"bytes,1,opt,name=FullPath" json:"FullPath,omitempty"`
	Data     string `protobuf:"bytes,2,opt,name=Data" json:"Data,omitempty"`
}

Configuration message. Data is an Json representation of any value

func (*Configuration) Descriptor

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

func (*Configuration) GetData

func (m *Configuration) GetData() string

func (*Configuration) GetFullPath

func (m *Configuration) GetFullPath() string

func (*Configuration) ProtoMessage

func (*Configuration) ProtoMessage()

func (*Configuration) Reset

func (m *Configuration) Reset()

func (*Configuration) String

func (m *Configuration) String() string

func (*Configuration) Validate added in v1.6.0

func (this *Configuration) Validate() error

type ControlServiceRequest

type ControlServiceRequest struct {
	ServiceName string             `protobuf:"bytes,1,opt,name=ServiceName" json:"ServiceName,omitempty"`
	NodeName    string             `protobuf:"bytes,2,opt,name=NodeName" json:"NodeName,omitempty"`
	Command     ctl.ServiceCommand `protobuf:"varint,3,opt,name=Command,enum=ctl.ServiceCommand" json:"Command,omitempty"`
}

func (*ControlServiceRequest) Descriptor

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

func (*ControlServiceRequest) GetCommand

func (m *ControlServiceRequest) GetCommand() ctl.ServiceCommand

func (*ControlServiceRequest) GetNodeName

func (m *ControlServiceRequest) GetNodeName() string

func (*ControlServiceRequest) GetServiceName

func (m *ControlServiceRequest) GetServiceName() string

func (*ControlServiceRequest) ProtoMessage

func (*ControlServiceRequest) ProtoMessage()

func (*ControlServiceRequest) Reset

func (m *ControlServiceRequest) Reset()

func (*ControlServiceRequest) String

func (m *ControlServiceRequest) String() string

func (*ControlServiceRequest) Validate added in v1.6.0

func (this *ControlServiceRequest) Validate() error

type CreateFromTemplateRequest added in v1.2.2

type CreateFromTemplateRequest struct {
	TemplateUUID string     `protobuf:"bytes,1,opt,name=TemplateUUID" json:"TemplateUUID,omitempty"`
	TargetNode   *tree.Node `protobuf:"bytes,2,opt,name=TargetNode" json:"TargetNode,omitempty"`
}

func (*CreateFromTemplateRequest) Descriptor added in v1.2.2

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

func (*CreateFromTemplateRequest) GetTargetNode added in v1.2.2

func (m *CreateFromTemplateRequest) GetTargetNode() *tree.Node

func (*CreateFromTemplateRequest) GetTemplateUUID added in v1.2.2

func (m *CreateFromTemplateRequest) GetTemplateUUID() string

func (*CreateFromTemplateRequest) ProtoMessage added in v1.2.2

func (*CreateFromTemplateRequest) ProtoMessage()

func (*CreateFromTemplateRequest) Reset added in v1.2.2

func (m *CreateFromTemplateRequest) Reset()

func (*CreateFromTemplateRequest) String added in v1.2.2

func (m *CreateFromTemplateRequest) String() string

func (*CreateFromTemplateRequest) Validate added in v1.6.0

func (this *CreateFromTemplateRequest) Validate() error

type CreateFromTemplateResponse added in v1.2.2

type CreateFromTemplateResponse struct {
	Success bool       `protobuf:"varint,1,opt,name=Success" json:"Success,omitempty"`
	Node    *tree.Node `protobuf:"bytes,2,opt,name=Node" json:"Node,omitempty"`
}

func (*CreateFromTemplateResponse) Descriptor added in v1.2.2

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

func (*CreateFromTemplateResponse) GetNode added in v1.2.2

func (m *CreateFromTemplateResponse) GetNode() *tree.Node

func (*CreateFromTemplateResponse) GetSuccess added in v1.2.2

func (m *CreateFromTemplateResponse) GetSuccess() bool

func (*CreateFromTemplateResponse) ProtoMessage added in v1.2.2

func (*CreateFromTemplateResponse) ProtoMessage()

func (*CreateFromTemplateResponse) Reset added in v1.2.2

func (m *CreateFromTemplateResponse) Reset()

func (*CreateFromTemplateResponse) String added in v1.2.2

func (m *CreateFromTemplateResponse) String() string

func (*CreateFromTemplateResponse) Validate added in v1.6.0

func (this *CreateFromTemplateResponse) Validate() error

type CreateNodesRequest added in v1.2.0

type CreateNodesRequest struct {
	Nodes        []*tree.Node `protobuf:"bytes,1,rep,name=Nodes" json:"Nodes,omitempty"`
	Recursive    bool         `protobuf:"varint,2,opt,name=Recursive" json:"Recursive,omitempty"`
	TemplateUUID string       `protobuf:"bytes,3,opt,name=TemplateUUID" json:"TemplateUUID,omitempty"`
}

func (*CreateNodesRequest) Descriptor added in v1.2.0

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

func (*CreateNodesRequest) GetNodes added in v1.2.0

func (m *CreateNodesRequest) GetNodes() []*tree.Node

func (*CreateNodesRequest) GetRecursive added in v1.2.0

func (m *CreateNodesRequest) GetRecursive() bool

func (*CreateNodesRequest) GetTemplateUUID added in v1.2.2

func (m *CreateNodesRequest) GetTemplateUUID() string

func (*CreateNodesRequest) ProtoMessage added in v1.2.0

func (*CreateNodesRequest) ProtoMessage()

func (*CreateNodesRequest) Reset added in v1.2.0

func (m *CreateNodesRequest) Reset()

func (*CreateNodesRequest) String added in v1.2.0

func (m *CreateNodesRequest) String() string

func (*CreateNodesRequest) Validate added in v1.6.0

func (this *CreateNodesRequest) Validate() error

type CreateSelectionRequest added in v1.2.1

type CreateSelectionRequest struct {
	Nodes        []*tree.Node `protobuf:"bytes,1,rep,name=Nodes" json:"Nodes,omitempty"`
	TargetAction string       `protobuf:"bytes,2,opt,name=TargetAction" json:"TargetAction,omitempty"`
	Persist      bool         `protobuf:"varint,3,opt,name=Persist" json:"Persist,omitempty"`
}

func (*CreateSelectionRequest) Descriptor added in v1.2.1

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

func (*CreateSelectionRequest) GetNodes added in v1.2.1

func (m *CreateSelectionRequest) GetNodes() []*tree.Node

func (*CreateSelectionRequest) GetPersist added in v1.2.1

func (m *CreateSelectionRequest) GetPersist() bool

func (*CreateSelectionRequest) GetTargetAction added in v1.2.1

func (m *CreateSelectionRequest) GetTargetAction() string

func (*CreateSelectionRequest) ProtoMessage added in v1.2.1

func (*CreateSelectionRequest) ProtoMessage()

func (*CreateSelectionRequest) Reset added in v1.2.1

func (m *CreateSelectionRequest) Reset()

func (*CreateSelectionRequest) String added in v1.2.1

func (m *CreateSelectionRequest) String() string

func (*CreateSelectionRequest) Validate added in v1.6.0

func (this *CreateSelectionRequest) Validate() error

type CreateSelectionResponse added in v1.2.1

type CreateSelectionResponse struct {
	SelectionUUID string       `protobuf:"bytes,1,opt,name=SelectionUUID" json:"SelectionUUID,omitempty"`
	Nodes         []*tree.Node `protobuf:"bytes,2,rep,name=Nodes" json:"Nodes,omitempty"`
}

func (*CreateSelectionResponse) Descriptor added in v1.2.1

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

func (*CreateSelectionResponse) GetNodes added in v1.2.1

func (m *CreateSelectionResponse) GetNodes() []*tree.Node

func (*CreateSelectionResponse) GetSelectionUUID added in v1.2.1

func (m *CreateSelectionResponse) GetSelectionUUID() string

func (*CreateSelectionResponse) ProtoMessage added in v1.2.1

func (*CreateSelectionResponse) ProtoMessage()

func (*CreateSelectionResponse) Reset added in v1.2.1

func (m *CreateSelectionResponse) Reset()

func (*CreateSelectionResponse) String added in v1.2.1

func (m *CreateSelectionResponse) String() string

func (*CreateSelectionResponse) Validate added in v1.6.0

func (this *CreateSelectionResponse) Validate() error

type DataSourceCollection

type DataSourceCollection struct {
	DataSources []*object.DataSource `protobuf:"bytes,1,rep,name=DataSources" json:"DataSources,omitempty"`
	Total       int32                `protobuf:"varint,2,opt,name=Total" json:"Total,omitempty"`
}

Collection of datasources

func (*DataSourceCollection) Descriptor

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

func (*DataSourceCollection) GetDataSources

func (m *DataSourceCollection) GetDataSources() []*object.DataSource

func (*DataSourceCollection) GetTotal

func (m *DataSourceCollection) GetTotal() int32

func (*DataSourceCollection) ProtoMessage

func (*DataSourceCollection) ProtoMessage()

func (*DataSourceCollection) Reset

func (m *DataSourceCollection) Reset()

func (*DataSourceCollection) String

func (m *DataSourceCollection) String() string

func (*DataSourceCollection) Validate added in v1.6.0

func (this *DataSourceCollection) Validate() error

type DeleteCellRequest

type DeleteCellRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=Uuid" json:"Uuid,omitempty"`
}

func (*DeleteCellRequest) Descriptor

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

func (*DeleteCellRequest) GetUuid

func (m *DeleteCellRequest) GetUuid() string

func (*DeleteCellRequest) ProtoMessage

func (*DeleteCellRequest) ProtoMessage()

func (*DeleteCellRequest) Reset

func (m *DeleteCellRequest) Reset()

func (*DeleteCellRequest) String

func (m *DeleteCellRequest) String() string

func (*DeleteCellRequest) Validate added in v1.6.0

func (this *DeleteCellRequest) Validate() error

type DeleteCellResponse

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

func (*DeleteCellResponse) Descriptor

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

func (*DeleteCellResponse) GetSuccess

func (m *DeleteCellResponse) GetSuccess() bool

func (*DeleteCellResponse) ProtoMessage

func (*DeleteCellResponse) ProtoMessage()

func (*DeleteCellResponse) Reset

func (m *DeleteCellResponse) Reset()

func (*DeleteCellResponse) String

func (m *DeleteCellResponse) String() string

func (*DeleteCellResponse) Validate added in v1.6.0

func (this *DeleteCellResponse) Validate() error

type DeleteDataSourceResponse

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

func (*DeleteDataSourceResponse) Descriptor

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

func (*DeleteDataSourceResponse) GetSuccess

func (m *DeleteDataSourceResponse) GetSuccess() bool

func (*DeleteDataSourceResponse) ProtoMessage

func (*DeleteDataSourceResponse) ProtoMessage()

func (*DeleteDataSourceResponse) Reset

func (m *DeleteDataSourceResponse) Reset()

func (*DeleteDataSourceResponse) String

func (m *DeleteDataSourceResponse) String() string

func (*DeleteDataSourceResponse) Validate added in v1.6.0

func (this *DeleteDataSourceResponse) Validate() error

type DeleteNodesRequest added in v1.2.0

type DeleteNodesRequest struct {
	Nodes     []*tree.Node `protobuf:"bytes,1,rep,name=Nodes" json:"Nodes,omitempty"`
	Recursive bool         `protobuf:"varint,2,opt,name=Recursive" json:"Recursive,omitempty"`
}

func (*DeleteNodesRequest) Descriptor added in v1.2.0

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

func (*DeleteNodesRequest) GetNodes added in v1.2.0

func (m *DeleteNodesRequest) GetNodes() []*tree.Node

func (*DeleteNodesRequest) GetRecursive added in v1.2.0

func (m *DeleteNodesRequest) GetRecursive() bool

func (*DeleteNodesRequest) ProtoMessage added in v1.2.0

func (*DeleteNodesRequest) ProtoMessage()

func (*DeleteNodesRequest) Reset added in v1.2.0

func (m *DeleteNodesRequest) Reset()

func (*DeleteNodesRequest) String added in v1.2.0

func (m *DeleteNodesRequest) String() string

func (*DeleteNodesRequest) Validate added in v1.6.0

func (this *DeleteNodesRequest) Validate() error

type DeleteNodesResponse added in v1.2.0

type DeleteNodesResponse struct {
	DeleteJobs []*BackgroundJobResult `protobuf:"bytes,1,rep,name=DeleteJobs" json:"DeleteJobs,omitempty"`
}

func (*DeleteNodesResponse) Descriptor added in v1.2.0

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

func (*DeleteNodesResponse) GetDeleteJobs added in v1.2.0

func (m *DeleteNodesResponse) GetDeleteJobs() []*BackgroundJobResult

func (*DeleteNodesResponse) ProtoMessage added in v1.2.0

func (*DeleteNodesResponse) ProtoMessage()

func (*DeleteNodesResponse) Reset added in v1.2.0

func (m *DeleteNodesResponse) Reset()

func (*DeleteNodesResponse) String added in v1.2.0

func (m *DeleteNodesResponse) String() string

func (*DeleteNodesResponse) Validate added in v1.6.0

func (this *DeleteNodesResponse) Validate() error

type DeleteResponse

type DeleteResponse struct {
	// If delete was successfull
	Success bool `protobuf:"varint,1,opt,name=Success" json:"Success,omitempty"`
	// Number of records deleted during operation
	NumRows int64 `protobuf:"varint,2,opt,name=NumRows" json:"NumRows,omitempty"`
}

Generic Message

func (*DeleteResponse) Descriptor

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

func (*DeleteResponse) GetNumRows

func (m *DeleteResponse) GetNumRows() int64

func (*DeleteResponse) GetSuccess

func (m *DeleteResponse) GetSuccess() bool

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) Reset

func (m *DeleteResponse) Reset()

func (*DeleteResponse) String

func (m *DeleteResponse) String() string

func (*DeleteResponse) Validate added in v1.6.0

func (this *DeleteResponse) Validate() error

type DeleteShareLinkRequest

type DeleteShareLinkRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=Uuid" json:"Uuid,omitempty"`
}

func (*DeleteShareLinkRequest) Descriptor

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

func (*DeleteShareLinkRequest) GetUuid

func (m *DeleteShareLinkRequest) GetUuid() string

func (*DeleteShareLinkRequest) ProtoMessage

func (*DeleteShareLinkRequest) ProtoMessage()

func (*DeleteShareLinkRequest) Reset

func (m *DeleteShareLinkRequest) Reset()

func (*DeleteShareLinkRequest) String

func (m *DeleteShareLinkRequest) String() string

func (*DeleteShareLinkRequest) Validate added in v1.6.0

func (this *DeleteShareLinkRequest) Validate() error

type DeleteShareLinkResponse

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

func (*DeleteShareLinkResponse) Descriptor

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

func (*DeleteShareLinkResponse) GetSuccess

func (m *DeleteShareLinkResponse) GetSuccess() bool

func (*DeleteShareLinkResponse) ProtoMessage

func (*DeleteShareLinkResponse) ProtoMessage()

func (*DeleteShareLinkResponse) Reset

func (m *DeleteShareLinkResponse) Reset()

func (*DeleteShareLinkResponse) String

func (m *DeleteShareLinkResponse) String() string

func (*DeleteShareLinkResponse) Validate added in v1.6.0

func (this *DeleteShareLinkResponse) Validate() error

type DeleteUserMetaTagsRequest added in v1.2.0

type DeleteUserMetaTagsRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=Namespace" json:"Namespace,omitempty"`
	Tags      string `protobuf:"bytes,2,opt,name=Tags" json:"Tags,omitempty"`
}

func (*DeleteUserMetaTagsRequest) Descriptor added in v1.2.0

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

func (*DeleteUserMetaTagsRequest) GetNamespace added in v1.2.0

func (m *DeleteUserMetaTagsRequest) GetNamespace() string

func (*DeleteUserMetaTagsRequest) GetTags added in v1.2.0

func (m *DeleteUserMetaTagsRequest) GetTags() string

func (*DeleteUserMetaTagsRequest) ProtoMessage added in v1.2.0

func (*DeleteUserMetaTagsRequest) ProtoMessage()

func (*DeleteUserMetaTagsRequest) Reset added in v1.2.0

func (m *DeleteUserMetaTagsRequest) Reset()

func (*DeleteUserMetaTagsRequest) String added in v1.2.0

func (m *DeleteUserMetaTagsRequest) String() string

func (*DeleteUserMetaTagsRequest) Validate added in v1.6.0

func (this *DeleteUserMetaTagsRequest) Validate() error

type DeleteUserMetaTagsResponse added in v1.2.0

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

func (*DeleteUserMetaTagsResponse) Descriptor added in v1.2.0

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

func (*DeleteUserMetaTagsResponse) GetSuccess added in v1.2.0

func (m *DeleteUserMetaTagsResponse) GetSuccess() bool

func (*DeleteUserMetaTagsResponse) ProtoMessage added in v1.2.0

func (*DeleteUserMetaTagsResponse) ProtoMessage()

func (*DeleteUserMetaTagsResponse) Reset added in v1.2.0

func (m *DeleteUserMetaTagsResponse) Reset()

func (*DeleteUserMetaTagsResponse) String added in v1.2.0

func (m *DeleteUserMetaTagsResponse) String() string

func (*DeleteUserMetaTagsResponse) Validate added in v1.6.0

func (this *DeleteUserMetaTagsResponse) Validate() error

type DiscoveryRequest

type DiscoveryRequest struct {
	EndpointType string `protobuf:"bytes,1,opt,name=EndpointType" json:"EndpointType,omitempty"`
}

func (*DiscoveryRequest) Descriptor

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

func (*DiscoveryRequest) GetEndpointType

func (m *DiscoveryRequest) GetEndpointType() string

func (*DiscoveryRequest) ProtoMessage

func (*DiscoveryRequest) ProtoMessage()

func (*DiscoveryRequest) Reset

func (m *DiscoveryRequest) Reset()

func (*DiscoveryRequest) String

func (m *DiscoveryRequest) String() string

func (*DiscoveryRequest) Validate added in v1.6.0

func (this *DiscoveryRequest) Validate() error

type DiscoveryResponse

type DiscoveryResponse struct {
	PackageType   string            `protobuf:"bytes,1,opt,name=PackageType" json:"PackageType,omitempty"`
	PackageLabel  string            `protobuf:"bytes,2,opt,name=PackageLabel" json:"PackageLabel,omitempty"`
	Version       string            `protobuf:"bytes,3,opt,name=Version" json:"Version,omitempty"`
	BuildStamp    int32             `protobuf:"varint,4,opt,name=BuildStamp" json:"BuildStamp,omitempty"`
	BuildRevision string            `protobuf:"bytes,5,opt,name=BuildRevision" json:"BuildRevision,omitempty"`
	Endpoints     map[string]string `` /* 138-byte string literal not displayed */
}

func (*DiscoveryResponse) Descriptor

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

func (*DiscoveryResponse) GetBuildRevision

func (m *DiscoveryResponse) GetBuildRevision() string

func (*DiscoveryResponse) GetBuildStamp

func (m *DiscoveryResponse) GetBuildStamp() int32

func (*DiscoveryResponse) GetEndpoints

func (m *DiscoveryResponse) GetEndpoints() map[string]string

func (*DiscoveryResponse) GetPackageLabel

func (m *DiscoveryResponse) GetPackageLabel() string

func (*DiscoveryResponse) GetPackageType

func (m *DiscoveryResponse) GetPackageType() string

func (*DiscoveryResponse) GetVersion

func (m *DiscoveryResponse) GetVersion() string

func (*DiscoveryResponse) ProtoMessage

func (*DiscoveryResponse) ProtoMessage()

func (*DiscoveryResponse) Reset

func (m *DiscoveryResponse) Reset()

func (*DiscoveryResponse) String

func (m *DiscoveryResponse) String() string

func (*DiscoveryResponse) Validate added in v1.6.0

func (this *DiscoveryResponse) Validate() error

type DocstoreCollection

type DocstoreCollection struct {
	Docs  []*docstore.Document `protobuf:"bytes,1,rep,name=Docs" json:"Docs,omitempty"`
	Total int64                `protobuf:"varint,2,opt,name=Total" json:"Total,omitempty"`
}

func (*DocstoreCollection) Descriptor

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

func (*DocstoreCollection) GetDocs

func (m *DocstoreCollection) GetDocs() []*docstore.Document

func (*DocstoreCollection) GetTotal

func (m *DocstoreCollection) GetTotal() int64

func (*DocstoreCollection) ProtoMessage

func (*DocstoreCollection) ProtoMessage()

func (*DocstoreCollection) Reset

func (m *DocstoreCollection) Reset()

func (*DocstoreCollection) String

func (m *DocstoreCollection) String() string

func (*DocstoreCollection) Validate added in v1.6.0

func (this *DocstoreCollection) Validate() error

type Error added in v1.2.0

type Error struct {
	// Unique ID of the error
	Code string `protobuf:"bytes,2,opt,name=Code" json:"Code,omitempty"`
	// Human-readable, short label
	Title string `protobuf:"bytes,3,opt,name=Title" json:"Title,omitempty"`
	// Human-readable, longer description
	Detail string `protobuf:"bytes,4,opt,name=Detail" json:"Detail,omitempty"`
	// Cells service name or other quickly useful info
	Source string `protobuf:"bytes,5,opt,name=Source" json:"Source,omitempty"`
	// Additional Metadata
	Meta map[string]string `` /* 128-byte string literal not displayed */
}

Generic error message

func (*Error) Descriptor added in v1.2.0

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

func (*Error) GetCode added in v1.2.0

func (m *Error) GetCode() string

func (*Error) GetDetail added in v1.2.0

func (m *Error) GetDetail() string

func (*Error) GetMeta added in v1.2.0

func (m *Error) GetMeta() map[string]string

func (*Error) GetSource added in v1.2.0

func (m *Error) GetSource() string

func (*Error) GetTitle added in v1.2.0

func (m *Error) GetTitle() string

func (*Error) ProtoMessage added in v1.2.0

func (*Error) ProtoMessage()

func (*Error) Reset added in v1.2.0

func (m *Error) Reset()

func (*Error) String added in v1.2.0

func (m *Error) String() string

func (*Error) Validate added in v1.6.0

func (this *Error) Validate() error

type FrontAuthRequest

type FrontAuthRequest struct {
	RequestID string `protobuf:"bytes,1,opt,name=RequestID" json:"RequestID,omitempty"`
}

func (*FrontAuthRequest) Descriptor

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

func (*FrontAuthRequest) GetRequestID

func (m *FrontAuthRequest) GetRequestID() string

func (*FrontAuthRequest) ProtoMessage

func (*FrontAuthRequest) ProtoMessage()

func (*FrontAuthRequest) Reset

func (m *FrontAuthRequest) Reset()

func (*FrontAuthRequest) String

func (m *FrontAuthRequest) String() string

func (*FrontAuthRequest) Validate

func (this *FrontAuthRequest) Validate() error

type FrontAuthResponse

type FrontAuthResponse struct {
}

func (*FrontAuthResponse) Descriptor

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

func (*FrontAuthResponse) ProtoMessage

func (*FrontAuthResponse) ProtoMessage()

func (*FrontAuthResponse) Reset

func (m *FrontAuthResponse) Reset()

func (*FrontAuthResponse) String

func (m *FrontAuthResponse) String() string

func (*FrontAuthResponse) Validate

func (this *FrontAuthResponse) Validate() error

type FrontBinaryRequest added in v1.2.0

type FrontBinaryRequest struct {
	// Currently supported values are USER and GLOBAL
	BinaryType string `protobuf:"bytes,1,opt,name=BinaryType" json:"BinaryType,omitempty"`
	// Id of the binary
	Uuid string `protobuf:"bytes,2,opt,name=Uuid" json:"Uuid,omitempty"`
}

Donwload binary

func (*FrontBinaryRequest) Descriptor added in v1.2.0

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

func (*FrontBinaryRequest) GetBinaryType added in v1.2.0

func (m *FrontBinaryRequest) GetBinaryType() string

func (*FrontBinaryRequest) GetUuid added in v1.2.0

func (m *FrontBinaryRequest) GetUuid() string

func (*FrontBinaryRequest) ProtoMessage added in v1.2.0

func (*FrontBinaryRequest) ProtoMessage()

func (*FrontBinaryRequest) Reset added in v1.2.0

func (m *FrontBinaryRequest) Reset()

func (*FrontBinaryRequest) String added in v1.2.0

func (m *FrontBinaryRequest) String() string

func (*FrontBinaryRequest) Validate added in v1.6.0

func (this *FrontBinaryRequest) Validate() error

type FrontBinaryResponse added in v1.2.0

type FrontBinaryResponse struct {
}

Not used, endpoint returns octet-stream

func (*FrontBinaryResponse) Descriptor added in v1.2.0

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

func (*FrontBinaryResponse) ProtoMessage added in v1.2.0

func (*FrontBinaryResponse) ProtoMessage()

func (*FrontBinaryResponse) Reset added in v1.2.0

func (m *FrontBinaryResponse) Reset()

func (*FrontBinaryResponse) String added in v1.2.0

func (m *FrontBinaryResponse) String() string

func (*FrontBinaryResponse) Validate added in v1.6.0

func (this *FrontBinaryResponse) Validate() error

type FrontBootConfRequest

type FrontBootConfRequest struct {
}

func (*FrontBootConfRequest) Descriptor

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

func (*FrontBootConfRequest) ProtoMessage

func (*FrontBootConfRequest) ProtoMessage()

func (*FrontBootConfRequest) Reset

func (m *FrontBootConfRequest) Reset()

func (*FrontBootConfRequest) String

func (m *FrontBootConfRequest) String() string

func (*FrontBootConfRequest) Validate added in v1.6.0

func (this *FrontBootConfRequest) Validate() error

type FrontBootConfResponse

type FrontBootConfResponse struct {
	JsonData map[string]string `` /* 136-byte string literal not displayed */
}

func (*FrontBootConfResponse) Descriptor

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

func (*FrontBootConfResponse) GetJsonData

func (m *FrontBootConfResponse) GetJsonData() map[string]string

func (*FrontBootConfResponse) ProtoMessage

func (*FrontBootConfResponse) ProtoMessage()

func (*FrontBootConfResponse) Reset

func (m *FrontBootConfResponse) Reset()

func (*FrontBootConfResponse) String

func (m *FrontBootConfResponse) String() string

func (*FrontBootConfResponse) Validate added in v1.6.0

func (this *FrontBootConfResponse) Validate() error

type FrontEnrollAuthRequest added in v1.2.0

type FrontEnrollAuthRequest struct {
	EnrollType string            `protobuf:"bytes,1,opt,name=EnrollType" json:"EnrollType,omitempty"`
	EnrollInfo map[string]string `` /* 140-byte string literal not displayed */
}

func (*FrontEnrollAuthRequest) Descriptor added in v1.2.0

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

func (*FrontEnrollAuthRequest) GetEnrollInfo added in v1.2.0

func (m *FrontEnrollAuthRequest) GetEnrollInfo() map[string]string

func (*FrontEnrollAuthRequest) GetEnrollType added in v1.2.0

func (m *FrontEnrollAuthRequest) GetEnrollType() string

func (*FrontEnrollAuthRequest) ProtoMessage added in v1.2.0

func (*FrontEnrollAuthRequest) ProtoMessage()

func (*FrontEnrollAuthRequest) Reset added in v1.2.0

func (m *FrontEnrollAuthRequest) Reset()

func (*FrontEnrollAuthRequest) String added in v1.2.0

func (m *FrontEnrollAuthRequest) String() string

func (*FrontEnrollAuthRequest) Validate added in v1.6.0

func (this *FrontEnrollAuthRequest) Validate() error

type FrontEnrollAuthResponse added in v1.2.0

type FrontEnrollAuthResponse struct {
	// Any parameters can be returned
	Info map[string]string `` /* 128-byte string literal not displayed */
}

func (*FrontEnrollAuthResponse) Descriptor added in v1.2.0

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

func (*FrontEnrollAuthResponse) GetInfo added in v1.2.0

func (m *FrontEnrollAuthResponse) GetInfo() map[string]string

func (*FrontEnrollAuthResponse) ProtoMessage added in v1.2.0

func (*FrontEnrollAuthResponse) ProtoMessage()

func (*FrontEnrollAuthResponse) Reset added in v1.2.0

func (m *FrontEnrollAuthResponse) Reset()

func (*FrontEnrollAuthResponse) String added in v1.2.0

func (m *FrontEnrollAuthResponse) String() string

func (*FrontEnrollAuthResponse) Validate added in v1.6.0

func (this *FrontEnrollAuthResponse) Validate() error

type FrontMessagesRequest added in v1.2.0

type FrontMessagesRequest struct {
	Lang string `protobuf:"bytes,1,opt,name=Lang" json:"Lang,omitempty"`
}

func (*FrontMessagesRequest) Descriptor added in v1.2.0

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

func (*FrontMessagesRequest) GetLang added in v1.2.0

func (m *FrontMessagesRequest) GetLang() string

func (*FrontMessagesRequest) ProtoMessage added in v1.2.0

func (*FrontMessagesRequest) ProtoMessage()

func (*FrontMessagesRequest) Reset added in v1.2.0

func (m *FrontMessagesRequest) Reset()

func (*FrontMessagesRequest) String added in v1.2.0

func (m *FrontMessagesRequest) String() string

func (*FrontMessagesRequest) Validate added in v1.6.0

func (this *FrontMessagesRequest) Validate() error

type FrontMessagesResponse added in v1.2.0

type FrontMessagesResponse struct {
	Messages map[string]string `` /* 136-byte string literal not displayed */
}

func (*FrontMessagesResponse) Descriptor added in v1.2.0

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

func (*FrontMessagesResponse) GetMessages added in v1.2.0

func (m *FrontMessagesResponse) GetMessages() map[string]string

func (*FrontMessagesResponse) ProtoMessage added in v1.2.0

func (*FrontMessagesResponse) ProtoMessage()

func (*FrontMessagesResponse) Reset added in v1.2.0

func (m *FrontMessagesResponse) Reset()

func (*FrontMessagesResponse) String added in v1.2.0

func (m *FrontMessagesResponse) String() string

func (*FrontMessagesResponse) Validate added in v1.6.0

func (this *FrontMessagesResponse) Validate() error

type FrontPluginsRequest added in v1.2.0

type FrontPluginsRequest struct {
	Lang string `protobuf:"bytes,1,opt,name=Lang" json:"Lang,omitempty"`
}

func (*FrontPluginsRequest) Descriptor added in v1.2.0

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

func (*FrontPluginsRequest) GetLang added in v1.2.0

func (m *FrontPluginsRequest) GetLang() string

func (*FrontPluginsRequest) ProtoMessage added in v1.2.0

func (*FrontPluginsRequest) ProtoMessage()

func (*FrontPluginsRequest) Reset added in v1.2.0

func (m *FrontPluginsRequest) Reset()

func (*FrontPluginsRequest) String added in v1.2.0

func (m *FrontPluginsRequest) String() string

func (*FrontPluginsRequest) Validate added in v1.6.0

func (this *FrontPluginsRequest) Validate() error

type FrontPluginsResponse added in v1.2.0

type FrontPluginsResponse struct {
}

func (*FrontPluginsResponse) Descriptor added in v1.2.0

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

func (*FrontPluginsResponse) ProtoMessage added in v1.2.0

func (*FrontPluginsResponse) ProtoMessage()

func (*FrontPluginsResponse) Reset added in v1.2.0

func (m *FrontPluginsResponse) Reset()

func (*FrontPluginsResponse) String added in v1.2.0

func (m *FrontPluginsResponse) String() string

func (*FrontPluginsResponse) Validate added in v1.6.0

func (this *FrontPluginsResponse) Validate() error

type FrontSessionRequest added in v1.2.0

type FrontSessionRequest struct {
	// Time reference for computing jwt expiry
	ClientTime int32 `protobuf:"varint,1,opt,name=ClientTime" json:"ClientTime,omitempty"`
	// Data sent back by specific auth steps
	AuthInfo map[string]string `` /* 136-byte string literal not displayed */
	// Kill session now
	Logout bool `protobuf:"varint,3,opt,name=Logout" json:"Logout,omitempty"`
}

func (*FrontSessionRequest) Descriptor added in v1.2.0

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

func (*FrontSessionRequest) GetAuthInfo added in v1.2.0

func (m *FrontSessionRequest) GetAuthInfo() map[string]string

func (*FrontSessionRequest) GetClientTime added in v1.2.0

func (m *FrontSessionRequest) GetClientTime() int32

func (*FrontSessionRequest) GetLogout added in v1.2.0

func (m *FrontSessionRequest) GetLogout() bool

func (*FrontSessionRequest) ProtoMessage added in v1.2.0

func (*FrontSessionRequest) ProtoMessage()

func (*FrontSessionRequest) Reset added in v1.2.0

func (m *FrontSessionRequest) Reset()

func (*FrontSessionRequest) String added in v1.2.0

func (m *FrontSessionRequest) String() string

func (*FrontSessionRequest) Validate added in v1.6.0

func (this *FrontSessionRequest) Validate() error

type FrontSessionResponse added in v1.2.0

type FrontSessionResponse struct {
	JWT        string `protobuf:"bytes,1,opt,name=JWT" json:"JWT,omitempty"`
	ExpireTime int32  `protobuf:"varint,2,opt,name=ExpireTime" json:"ExpireTime,omitempty"`
	// Trigger a specific Auth step
	Trigger string `protobuf:"bytes,3,opt,name=Trigger" json:"Trigger,omitempty"`
	// Additional data for the trigger
	TriggerInfo map[string]string `` /* 142-byte string literal not displayed */
}

func (*FrontSessionResponse) Descriptor added in v1.2.0

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

func (*FrontSessionResponse) GetExpireTime added in v1.2.0

func (m *FrontSessionResponse) GetExpireTime() int32

func (*FrontSessionResponse) GetJWT added in v1.2.0

func (m *FrontSessionResponse) GetJWT() string

func (*FrontSessionResponse) GetTrigger added in v1.2.0

func (m *FrontSessionResponse) GetTrigger() string

func (*FrontSessionResponse) GetTriggerInfo added in v1.2.0

func (m *FrontSessionResponse) GetTriggerInfo() map[string]string

func (*FrontSessionResponse) ProtoMessage added in v1.2.0

func (*FrontSessionResponse) ProtoMessage()

func (*FrontSessionResponse) Reset added in v1.2.0

func (m *FrontSessionResponse) Reset()

func (*FrontSessionResponse) String added in v1.2.0

func (m *FrontSessionResponse) String() string

func (*FrontSessionResponse) Validate added in v1.6.0

func (this *FrontSessionResponse) Validate() error

type FrontStateRequest added in v1.2.0

type FrontStateRequest struct {
}

func (*FrontStateRequest) Descriptor added in v1.2.0

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

func (*FrontStateRequest) ProtoMessage added in v1.2.0

func (*FrontStateRequest) ProtoMessage()

func (*FrontStateRequest) Reset added in v1.2.0

func (m *FrontStateRequest) Reset()

func (*FrontStateRequest) String added in v1.2.0

func (m *FrontStateRequest) String() string

func (*FrontStateRequest) Validate added in v1.6.0

func (this *FrontStateRequest) Validate() error

type FrontStateResponse added in v1.2.0

type FrontStateResponse struct {
}

func (*FrontStateResponse) Descriptor added in v1.2.0

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

func (*FrontStateResponse) ProtoMessage added in v1.2.0

func (*FrontStateResponse) ProtoMessage()

func (*FrontStateResponse) Reset added in v1.2.0

func (m *FrontStateResponse) Reset()

func (*FrontStateResponse) String added in v1.2.0

func (m *FrontStateResponse) String() string

func (*FrontStateResponse) Validate added in v1.6.0

func (this *FrontStateResponse) Validate() error

type FrontendService

type FrontendService struct {
	FrontendServiceHandler
}

func (*FrontendService) FrontAuth

func (*FrontendService) FrontBootConf

func (*FrontendService) FrontEnrollAuth

func (*FrontendService) FrontMessages

func (*FrontendService) FrontPlugins

func (*FrontendService) FrontPutBinary

func (h *FrontendService) FrontPutBinary(ctx context.Context, in *FrontBinaryRequest, out *FrontBinaryResponse) error

func (*FrontendService) FrontServeBinary

func (h *FrontendService) FrontServeBinary(ctx context.Context, in *FrontBinaryRequest, out *FrontBinaryResponse) error

func (*FrontendService) FrontSession

func (*FrontendService) FrontState

func (*FrontendService) SettingsMenu

type FrontendServiceClient

type FrontendServiceClient interface {
	// Send XML state registry
	FrontState(ctx context.Context, in *FrontStateRequest, opts ...client.CallOption) (*FrontStateResponse, error)
	// Add some data to the initial set of parameters loaded by the frontend
	FrontBootConf(ctx context.Context, in *FrontBootConfRequest, opts ...client.CallOption) (*FrontBootConfResponse, error)
	// Serve list of I18n messages
	FrontMessages(ctx context.Context, in *FrontMessagesRequest, opts ...client.CallOption) (*FrontMessagesResponse, error)
	// Serve list of I18n messages
	FrontPlugins(ctx context.Context, in *FrontPluginsRequest, opts ...client.CallOption) (*FrontPluginsResponse, error)
	// Handle JWT
	FrontSession(ctx context.Context, in *FrontSessionRequest, opts ...client.CallOption) (*FrontSessionResponse, error)
	// Handle Auth callback
	FrontAuth(ctx context.Context, in *FrontAuthRequest, opts ...client.CallOption) (*FrontAuthResponse, error)
	// Generic endpoint that can be implemented by 2FA systems for enrollment
	FrontEnrollAuth(ctx context.Context, in *FrontEnrollAuthRequest, opts ...client.CallOption) (*FrontEnrollAuthResponse, error)
	// Serve frontend binaries directly (avatars / logos / bg images)
	FrontServeBinary(ctx context.Context, in *FrontBinaryRequest, opts ...client.CallOption) (*FrontBinaryResponse, error)
	// Upload frontend binaries (avatars / logos / bg images)
	FrontPutBinary(ctx context.Context, in *FrontBinaryRequest, opts ...client.CallOption) (*FrontBinaryResponse, error)
	// Sends a tree of nodes to be used a menu in the Settings panel
	SettingsMenu(ctx context.Context, in *SettingsMenuRequest, opts ...client.CallOption) (*SettingsMenuResponse, error)
}

func NewFrontendServiceClient

func NewFrontendServiceClient(serviceName string, c client.Client) FrontendServiceClient

type FrontendServiceHandler

type FrontendServiceHandler interface {
	// Send XML state registry
	FrontState(context.Context, *FrontStateRequest, *FrontStateResponse) error
	// Add some data to the initial set of parameters loaded by the frontend
	FrontBootConf(context.Context, *FrontBootConfRequest, *FrontBootConfResponse) error
	// Serve list of I18n messages
	FrontMessages(context.Context, *FrontMessagesRequest, *FrontMessagesResponse) error
	// Serve list of I18n messages
	FrontPlugins(context.Context, *FrontPluginsRequest, *FrontPluginsResponse) error
	// Handle JWT
	FrontSession(context.Context, *FrontSessionRequest, *FrontSessionResponse) error
	// Handle Auth callback
	FrontAuth(context.Context, *FrontAuthRequest, *FrontAuthResponse) error
	// Generic endpoint that can be implemented by 2FA systems for enrollment
	FrontEnrollAuth(context.Context, *FrontEnrollAuthRequest, *FrontEnrollAuthResponse) error
	// Serve frontend binaries directly (avatars / logos / bg images)
	FrontServeBinary(context.Context, *FrontBinaryRequest, *FrontBinaryResponse) error
	// Upload frontend binaries (avatars / logos / bg images)
	FrontPutBinary(context.Context, *FrontBinaryRequest, *FrontBinaryResponse) error
	// Sends a tree of nodes to be used a menu in the Settings panel
	SettingsMenu(context.Context, *SettingsMenuRequest, *SettingsMenuResponse) error
}

type GetBulkMetaRequest

type GetBulkMetaRequest struct {
	NodePaths        []string `protobuf:"bytes,1,rep,name=NodePaths" json:"NodePaths,omitempty"`
	NodeUuids        []string `protobuf:"bytes,2,rep,name=NodeUuids" json:"NodeUuids,omitempty"`
	AllMetaProviders bool     `protobuf:"varint,3,opt,name=AllMetaProviders" json:"AllMetaProviders,omitempty"`
	Versions         bool     `protobuf:"varint,4,opt,name=Versions" json:"Versions,omitempty"`
	Offset           int32    `protobuf:"varint,5,opt,name=Offset" json:"Offset,omitempty"`
	Limit            int32    `protobuf:"varint,6,opt,name=Limit" json:"Limit,omitempty"`
}

func (*GetBulkMetaRequest) Descriptor

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

func (*GetBulkMetaRequest) GetAllMetaProviders

func (m *GetBulkMetaRequest) GetAllMetaProviders() bool

func (*GetBulkMetaRequest) GetLimit added in v1.2.0

func (m *GetBulkMetaRequest) GetLimit() int32

func (*GetBulkMetaRequest) GetNodePaths

func (m *GetBulkMetaRequest) GetNodePaths() []string

func (*GetBulkMetaRequest) GetNodeUuids

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

func (*GetBulkMetaRequest) GetOffset added in v1.2.0

func (m *GetBulkMetaRequest) GetOffset() int32

func (*GetBulkMetaRequest) GetVersions

func (m *GetBulkMetaRequest) GetVersions() bool

func (*GetBulkMetaRequest) ProtoMessage

func (*GetBulkMetaRequest) ProtoMessage()

func (*GetBulkMetaRequest) Reset

func (m *GetBulkMetaRequest) Reset()

func (*GetBulkMetaRequest) String

func (m *GetBulkMetaRequest) String() string

func (*GetBulkMetaRequest) Validate added in v1.6.0

func (this *GetBulkMetaRequest) Validate() error

type GetCellRequest

type GetCellRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=Uuid" json:"Uuid,omitempty"`
}

func (*GetCellRequest) Descriptor

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

func (*GetCellRequest) GetUuid

func (m *GetCellRequest) GetUuid() string

func (*GetCellRequest) ProtoMessage

func (*GetCellRequest) ProtoMessage()

func (*GetCellRequest) Reset

func (m *GetCellRequest) Reset()

func (*GetCellRequest) String

func (m *GetCellRequest) String() string

func (*GetCellRequest) Validate added in v1.6.0

func (this *GetCellRequest) Validate() error

type GetShareLinkRequest

type GetShareLinkRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=Uuid" json:"Uuid,omitempty"`
}

func (*GetShareLinkRequest) Descriptor

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

func (*GetShareLinkRequest) GetUuid

func (m *GetShareLinkRequest) GetUuid() string

func (*GetShareLinkRequest) ProtoMessage

func (*GetShareLinkRequest) ProtoMessage()

func (*GetShareLinkRequest) Reset

func (m *GetShareLinkRequest) Reset()

func (*GetShareLinkRequest) String

func (m *GetShareLinkRequest) String() string

func (*GetShareLinkRequest) Validate added in v1.6.0

func (this *GetShareLinkRequest) Validate() error

type GraphService

type GraphService struct {
	GraphServiceHandler
}

func (*GraphService) Relation

func (h *GraphService) Relation(ctx context.Context, in *RelationRequest, out *RelationResponse) error

func (*GraphService) UserState

func (h *GraphService) UserState(ctx context.Context, in *UserStateRequest, out *UserStateResponse) error

type GraphServiceClient

type GraphServiceClient interface {
	// Compute accessible workspaces for a given user
	UserState(ctx context.Context, in *UserStateRequest, opts ...client.CallOption) (*UserStateResponse, error)
	// Compute relation of context user with another user
	Relation(ctx context.Context, in *RelationRequest, opts ...client.CallOption) (*RelationResponse, error)
}

func NewGraphServiceClient

func NewGraphServiceClient(serviceName string, c client.Client) GraphServiceClient

type GraphServiceHandler

type GraphServiceHandler interface {
	// Compute accessible workspaces for a given user
	UserState(context.Context, *UserStateRequest, *UserStateResponse) error
	// Compute relation of context user with another user
	Relation(context.Context, *RelationRequest, *RelationResponse) error
}

type HeadNodeRequest added in v1.2.0

type HeadNodeRequest struct {
	Node string `protobuf:"bytes,1,opt,name=Node" json:"Node,omitempty"`
}

func (*HeadNodeRequest) Descriptor added in v1.2.0

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

func (*HeadNodeRequest) GetNode added in v1.2.0

func (m *HeadNodeRequest) GetNode() string

func (*HeadNodeRequest) ProtoMessage added in v1.2.0

func (*HeadNodeRequest) ProtoMessage()

func (*HeadNodeRequest) Reset added in v1.2.0

func (m *HeadNodeRequest) Reset()

func (*HeadNodeRequest) String added in v1.2.0

func (m *HeadNodeRequest) String() string

func (*HeadNodeRequest) Validate added in v1.6.0

func (this *HeadNodeRequest) Validate() error

type HeadNodeResponse added in v1.2.0

type HeadNodeResponse struct {
	Node *tree.Node `protobuf:"bytes,1,opt,name=Node" json:"Node,omitempty"`
}

func (*HeadNodeResponse) Descriptor added in v1.2.0

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

func (*HeadNodeResponse) GetNode added in v1.2.0

func (m *HeadNodeResponse) GetNode() *tree.Node

func (*HeadNodeResponse) ProtoMessage added in v1.2.0

func (*HeadNodeResponse) ProtoMessage()

func (*HeadNodeResponse) Reset added in v1.2.0

func (m *HeadNodeResponse) Reset()

func (*HeadNodeResponse) String added in v1.2.0

func (m *HeadNodeResponse) String() string

func (*HeadNodeResponse) Validate added in v1.6.0

func (this *HeadNodeResponse) Validate() error

type InstallService

type InstallService struct {
	InstallServiceHandler
}

func (*InstallService) GetAgreement

func (*InstallService) GetInstall

func (*InstallService) PerformInstallCheck

func (*InstallService) PostInstall

type InstallServiceClient

type InstallServiceClient interface {
	// Loads default values for install form
	GetInstall(ctx context.Context, in *install.GetDefaultsRequest, opts ...client.CallOption) (*install.GetDefaultsResponse, error)
	// Post values to be saved for install
	PostInstall(ctx context.Context, in *install.InstallRequest, opts ...client.CallOption) (*install.InstallResponse, error)
	// Perform a check during install (like a valid DB connection)
	PerformInstallCheck(ctx context.Context, in *install.PerformCheckRequest, opts ...client.CallOption) (*install.PerformCheckResponse, error)
	// Load a textual agreement for using the software
	GetAgreement(ctx context.Context, in *install.GetAgreementRequest, opts ...client.CallOption) (*install.GetAgreementResponse, error)
}

func NewInstallServiceClient

func NewInstallServiceClient(serviceName string, c client.Client) InstallServiceClient

type InstallServiceHandler

type InstallServiceHandler interface {
	// Loads default values for install form
	GetInstall(context.Context, *install.GetDefaultsRequest, *install.GetDefaultsResponse) error
	// Post values to be saved for install
	PostInstall(context.Context, *install.InstallRequest, *install.InstallResponse) error
	// Perform a check during install (like a valid DB connection)
	PerformInstallCheck(context.Context, *install.PerformCheckRequest, *install.PerformCheckResponse) error
	// Load a textual agreement for using the software
	GetAgreement(context.Context, *install.GetAgreementRequest, *install.GetAgreementResponse) error
}

type JobsService

type JobsService struct {
	JobsServiceHandler
}

func (*JobsService) ListTasksLogs

func (h *JobsService) ListTasksLogs(ctx context.Context, in *log.ListLogRequest, out *LogMessageCollection) error

func (*JobsService) UserControlJob

func (h *JobsService) UserControlJob(ctx context.Context, in *jobs.CtrlCommand, out *jobs.CtrlCommandResponse) error

func (*JobsService) UserCreateJob

func (h *JobsService) UserCreateJob(ctx context.Context, in *UserJobRequest, out *UserJobResponse) error

func (*JobsService) UserDeleteTasks

func (h *JobsService) UserDeleteTasks(ctx context.Context, in *jobs.DeleteTasksRequest, out *jobs.DeleteTasksResponse) error

func (*JobsService) UserListJobs

func (h *JobsService) UserListJobs(ctx context.Context, in *jobs.ListJobsRequest, out *UserJobsCollection) error

type JobsServiceClient

type JobsServiceClient interface {
	// Create a predefined job to be run directly
	UserCreateJob(ctx context.Context, in *UserJobRequest, opts ...client.CallOption) (*UserJobResponse, error)
	// List jobs associated with current user
	UserListJobs(ctx context.Context, in *jobs.ListJobsRequest, opts ...client.CallOption) (*UserJobsCollection, error)
	// Send Control Commands to one or many jobs / tasks
	UserControlJob(ctx context.Context, in *jobs.CtrlCommand, opts ...client.CallOption) (*jobs.CtrlCommandResponse, error)
	// Send a control command to clean tasks on a given job
	UserDeleteTasks(ctx context.Context, in *jobs.DeleteTasksRequest, opts ...client.CallOption) (*jobs.DeleteTasksResponse, error)
	// Technical Logs, in Json or CSV format
	ListTasksLogs(ctx context.Context, in *log.ListLogRequest, opts ...client.CallOption) (*LogMessageCollection, error)
}

func NewJobsServiceClient

func NewJobsServiceClient(serviceName string, c client.Client) JobsServiceClient

type JobsServiceHandler

type JobsServiceHandler interface {
	// Create a predefined job to be run directly
	UserCreateJob(context.Context, *UserJobRequest, *UserJobResponse) error
	// List jobs associated with current user
	UserListJobs(context.Context, *jobs.ListJobsRequest, *UserJobsCollection) error
	// Send Control Commands to one or many jobs / tasks
	UserControlJob(context.Context, *jobs.CtrlCommand, *jobs.CtrlCommandResponse) error
	// Send a control command to clean tasks on a given job
	UserDeleteTasks(context.Context, *jobs.DeleteTasksRequest, *jobs.DeleteTasksResponse) error
	// Technical Logs, in Json or CSV format
	ListTasksLogs(context.Context, *log.ListLogRequest, *LogMessageCollection) error
}

type ListDataSourceRequest

type ListDataSourceRequest struct {
}

func (*ListDataSourceRequest) Descriptor

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

func (*ListDataSourceRequest) ProtoMessage

func (*ListDataSourceRequest) ProtoMessage()

func (*ListDataSourceRequest) Reset

func (m *ListDataSourceRequest) Reset()

func (*ListDataSourceRequest) String

func (m *ListDataSourceRequest) String() string

func (*ListDataSourceRequest) Validate added in v1.6.0

func (this *ListDataSourceRequest) Validate() error

type ListDocstoreRequest

type ListDocstoreRequest struct {
	StoreID   string                  `protobuf:"bytes,1,opt,name=StoreID" json:"StoreID,omitempty"`
	Query     *docstore.DocumentQuery `protobuf:"bytes,2,opt,name=Query" json:"Query,omitempty"`
	CountOnly bool                    `protobuf:"varint,3,opt,name=CountOnly" json:"CountOnly,omitempty"`
}

func (*ListDocstoreRequest) Descriptor

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

func (*ListDocstoreRequest) GetCountOnly

func (m *ListDocstoreRequest) GetCountOnly() bool

func (*ListDocstoreRequest) GetQuery

func (*ListDocstoreRequest) GetStoreID

func (m *ListDocstoreRequest) GetStoreID() string

func (*ListDocstoreRequest) ProtoMessage

func (*ListDocstoreRequest) ProtoMessage()

func (*ListDocstoreRequest) Reset

func (m *ListDocstoreRequest) Reset()

func (*ListDocstoreRequest) String

func (m *ListDocstoreRequest) String() string

func (*ListDocstoreRequest) Validate added in v1.6.0

func (this *ListDocstoreRequest) Validate() error

type ListPeerFoldersRequest

type ListPeerFoldersRequest struct {
	PeerAddress string `protobuf:"bytes,1,opt,name=PeerAddress" json:"PeerAddress,omitempty"`
	Path        string `protobuf:"bytes,2,opt,name=Path" json:"Path,omitempty"`
}

func (*ListPeerFoldersRequest) Descriptor

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

func (*ListPeerFoldersRequest) GetPath

func (m *ListPeerFoldersRequest) GetPath() string

func (*ListPeerFoldersRequest) GetPeerAddress

func (m *ListPeerFoldersRequest) GetPeerAddress() string

func (*ListPeerFoldersRequest) ProtoMessage

func (*ListPeerFoldersRequest) ProtoMessage()

func (*ListPeerFoldersRequest) Reset

func (m *ListPeerFoldersRequest) Reset()

func (*ListPeerFoldersRequest) String

func (m *ListPeerFoldersRequest) String() string

func (*ListPeerFoldersRequest) Validate added in v1.6.0

func (this *ListPeerFoldersRequest) Validate() error

type ListPeersAddressesRequest

type ListPeersAddressesRequest struct {
}

func (*ListPeersAddressesRequest) Descriptor

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

func (*ListPeersAddressesRequest) ProtoMessage

func (*ListPeersAddressesRequest) ProtoMessage()

func (*ListPeersAddressesRequest) Reset

func (m *ListPeersAddressesRequest) Reset()

func (*ListPeersAddressesRequest) String

func (m *ListPeersAddressesRequest) String() string

func (*ListPeersAddressesRequest) Validate added in v1.6.0

func (this *ListPeersAddressesRequest) Validate() error

type ListPeersAddressesResponse

type ListPeersAddressesResponse struct {
	PeerAddresses []string `protobuf:"bytes,1,rep,name=PeerAddresses" json:"PeerAddresses,omitempty"`
}

func (*ListPeersAddressesResponse) Descriptor

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

func (*ListPeersAddressesResponse) GetPeerAddresses

func (m *ListPeersAddressesResponse) GetPeerAddresses() []string

func (*ListPeersAddressesResponse) ProtoMessage

func (*ListPeersAddressesResponse) ProtoMessage()

func (*ListPeersAddressesResponse) Reset

func (m *ListPeersAddressesResponse) Reset()

func (*ListPeersAddressesResponse) String

func (m *ListPeersAddressesResponse) String() string

func (*ListPeersAddressesResponse) Validate added in v1.6.0

func (this *ListPeersAddressesResponse) Validate() error

type ListProcessesRequest added in v1.4.0

type ListProcessesRequest struct {
	PeerId      string `protobuf:"bytes,1,opt,name=PeerId" json:"PeerId,omitempty"`
	ServiceName string `protobuf:"bytes,2,opt,name=ServiceName" json:"ServiceName,omitempty"`
}

func (*ListProcessesRequest) Descriptor added in v1.4.0

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

func (*ListProcessesRequest) GetPeerId added in v1.4.0

func (m *ListProcessesRequest) GetPeerId() string

func (*ListProcessesRequest) GetServiceName added in v1.4.0

func (m *ListProcessesRequest) GetServiceName() string

func (*ListProcessesRequest) ProtoMessage added in v1.4.0

func (*ListProcessesRequest) ProtoMessage()

func (*ListProcessesRequest) Reset added in v1.4.0

func (m *ListProcessesRequest) Reset()

func (*ListProcessesRequest) String added in v1.4.0

func (m *ListProcessesRequest) String() string

func (*ListProcessesRequest) Validate added in v1.6.0

func (this *ListProcessesRequest) Validate() error

type ListProcessesResponse added in v1.4.0

type ListProcessesResponse struct {
	Processes []*Process `protobuf:"bytes,1,rep,name=Processes" json:"Processes,omitempty"`
}

func (*ListProcessesResponse) Descriptor added in v1.4.0

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

func (*ListProcessesResponse) GetProcesses added in v1.4.0

func (m *ListProcessesResponse) GetProcesses() []*Process

func (*ListProcessesResponse) ProtoMessage added in v1.4.0

func (*ListProcessesResponse) ProtoMessage()

func (*ListProcessesResponse) Reset added in v1.4.0

func (m *ListProcessesResponse) Reset()

func (*ListProcessesResponse) String added in v1.4.0

func (m *ListProcessesResponse) String() string

func (*ListProcessesResponse) Validate added in v1.6.0

func (this *ListProcessesResponse) Validate() error

type ListServiceRequest

type ListServiceRequest struct {
	StatusFilter ctl.ServiceStatus `protobuf:"varint,1,opt,name=StatusFilter,enum=ctl.ServiceStatus" json:"StatusFilter,omitempty"`
}

func (*ListServiceRequest) Descriptor

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

func (*ListServiceRequest) GetStatusFilter

func (m *ListServiceRequest) GetStatusFilter() ctl.ServiceStatus

func (*ListServiceRequest) ProtoMessage

func (*ListServiceRequest) ProtoMessage()

func (*ListServiceRequest) Reset

func (m *ListServiceRequest) Reset()

func (*ListServiceRequest) String

func (m *ListServiceRequest) String() string

func (*ListServiceRequest) Validate added in v1.6.0

func (this *ListServiceRequest) Validate() error

type ListSharedResourcesRequest

type ListSharedResourcesRequest struct {
	// Filter output to a given type
	ShareType ListSharedResourcesRequest_ListShareType `protobuf:"varint,1,opt,name=ShareType,enum=rest.ListSharedResourcesRequest_ListShareType" json:"ShareType,omitempty"`
	// Will restrict the list to the shares readable by a specific subject.
	// In user-context, current user is used by default. In admin-context, this can
	// be any resource policy subject
	Subject string `protobuf:"bytes,3,opt,name=Subject" json:"Subject,omitempty"`
	// If true, will also check filter the output to shares actually owned by subject
	OwnedBySubject bool  `protobuf:"varint,4,opt,name=OwnedBySubject" json:"OwnedBySubject,omitempty"`
	Offset         int32 `protobuf:"varint,5,opt,name=Offset" json:"Offset,omitempty"`
	Limit          int32 `protobuf:"varint,6,opt,name=Limit" json:"Limit,omitempty"`
}

func (*ListSharedResourcesRequest) Descriptor

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

func (*ListSharedResourcesRequest) GetLimit

func (m *ListSharedResourcesRequest) GetLimit() int32

func (*ListSharedResourcesRequest) GetOffset

func (m *ListSharedResourcesRequest) GetOffset() int32

func (*ListSharedResourcesRequest) GetOwnedBySubject

func (m *ListSharedResourcesRequest) GetOwnedBySubject() bool

func (*ListSharedResourcesRequest) GetShareType

func (*ListSharedResourcesRequest) GetSubject

func (m *ListSharedResourcesRequest) GetSubject() string

func (*ListSharedResourcesRequest) ProtoMessage

func (*ListSharedResourcesRequest) ProtoMessage()

func (*ListSharedResourcesRequest) Reset

func (m *ListSharedResourcesRequest) Reset()

func (*ListSharedResourcesRequest) String

func (m *ListSharedResourcesRequest) String() string

func (*ListSharedResourcesRequest) Validate added in v1.6.0

func (this *ListSharedResourcesRequest) Validate() error

type ListSharedResourcesRequest_ListShareType

type ListSharedResourcesRequest_ListShareType int32
const (
	ListSharedResourcesRequest_ANY   ListSharedResourcesRequest_ListShareType = 0
	ListSharedResourcesRequest_LINKS ListSharedResourcesRequest_ListShareType = 1
	ListSharedResourcesRequest_CELLS ListSharedResourcesRequest_ListShareType = 2
)

func (ListSharedResourcesRequest_ListShareType) EnumDescriptor

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

func (ListSharedResourcesRequest_ListShareType) String

type ListSharedResourcesResponse

type ListSharedResourcesResponse struct {
	// Actual results
	Resources []*ListSharedResourcesResponse_SharedResource `protobuf:"bytes,1,rep,name=Resources" json:"Resources,omitempty"`
	// Cursor informations
	Offset int32 `protobuf:"varint,2,opt,name=Offset" json:"Offset,omitempty"`
	Limit  int32 `protobuf:"varint,3,opt,name=Limit" json:"Limit,omitempty"`
	Total  int32 `protobuf:"varint,4,opt,name=Total" json:"Total,omitempty"`
}

func (*ListSharedResourcesResponse) Descriptor

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

func (*ListSharedResourcesResponse) GetLimit

func (m *ListSharedResourcesResponse) GetLimit() int32

func (*ListSharedResourcesResponse) GetOffset

func (m *ListSharedResourcesResponse) GetOffset() int32

func (*ListSharedResourcesResponse) GetResources

func (*ListSharedResourcesResponse) GetTotal

func (m *ListSharedResourcesResponse) GetTotal() int32

func (*ListSharedResourcesResponse) ProtoMessage

func (*ListSharedResourcesResponse) ProtoMessage()

func (*ListSharedResourcesResponse) Reset

func (m *ListSharedResourcesResponse) Reset()

func (*ListSharedResourcesResponse) String

func (m *ListSharedResourcesResponse) String() string

func (*ListSharedResourcesResponse) Validate added in v1.6.0

func (this *ListSharedResourcesResponse) Validate() error

type ListSharedResourcesResponse_SharedResource

type ListSharedResourcesResponse_SharedResource struct {
	Node  *tree.Node `protobuf:"bytes,1,opt,name=Node" json:"Node,omitempty"`
	Link  *ShareLink `protobuf:"bytes,2,opt,name=Link" json:"Link,omitempty"`
	Cells []*Cell    `protobuf:"bytes,3,rep,name=Cells" json:"Cells,omitempty"`
}

Container for ShareLink or Cell

func (*ListSharedResourcesResponse_SharedResource) Descriptor

func (*ListSharedResourcesResponse_SharedResource) GetCells

func (*ListSharedResourcesResponse_SharedResource) GetNode

func (*ListSharedResourcesResponse_SharedResource) ProtoMessage

func (*ListSharedResourcesResponse_SharedResource) Reset

func (*ListSharedResourcesResponse_SharedResource) String

func (*ListSharedResourcesResponse_SharedResource) Validate added in v1.6.0

type ListTemplatesRequest added in v1.2.2

type ListTemplatesRequest struct {
}

func (*ListTemplatesRequest) Descriptor added in v1.2.2

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

func (*ListTemplatesRequest) ProtoMessage added in v1.2.2

func (*ListTemplatesRequest) ProtoMessage()

func (*ListTemplatesRequest) Reset added in v1.2.2

func (m *ListTemplatesRequest) Reset()

func (*ListTemplatesRequest) String added in v1.2.2

func (m *ListTemplatesRequest) String() string

func (*ListTemplatesRequest) Validate added in v1.6.0

func (this *ListTemplatesRequest) Validate() error

type ListTemplatesResponse added in v1.2.2

type ListTemplatesResponse struct {
	Templates []*Template `protobuf:"bytes,1,rep,name=Templates" json:"Templates,omitempty"`
}

func (*ListTemplatesResponse) Descriptor added in v1.2.2

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

func (*ListTemplatesResponse) GetTemplates added in v1.2.2

func (m *ListTemplatesResponse) GetTemplates() []*Template

func (*ListTemplatesResponse) ProtoMessage added in v1.2.2

func (*ListTemplatesResponse) ProtoMessage()

func (*ListTemplatesResponse) Reset added in v1.2.2

func (m *ListTemplatesResponse) Reset()

func (*ListTemplatesResponse) String added in v1.2.2

func (m *ListTemplatesResponse) String() string

func (*ListTemplatesResponse) Validate added in v1.6.0

func (this *ListTemplatesResponse) Validate() error

type ListUserMetaTagsRequest added in v1.2.0

type ListUserMetaTagsRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=Namespace" json:"Namespace,omitempty"`
}

func (*ListUserMetaTagsRequest) Descriptor added in v1.2.0

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

func (*ListUserMetaTagsRequest) GetNamespace added in v1.2.0

func (m *ListUserMetaTagsRequest) GetNamespace() string

func (*ListUserMetaTagsRequest) ProtoMessage added in v1.2.0

func (*ListUserMetaTagsRequest) ProtoMessage()

func (*ListUserMetaTagsRequest) Reset added in v1.2.0

func (m *ListUserMetaTagsRequest) Reset()

func (*ListUserMetaTagsRequest) String added in v1.2.0

func (m *ListUserMetaTagsRequest) String() string

func (*ListUserMetaTagsRequest) Validate added in v1.6.0

func (this *ListUserMetaTagsRequest) Validate() error

type ListUserMetaTagsResponse added in v1.2.0

type ListUserMetaTagsResponse struct {
	Tags []string `protobuf:"bytes,1,rep,name=Tags" json:"Tags,omitempty"`
}

func (*ListUserMetaTagsResponse) Descriptor added in v1.2.0

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

func (*ListUserMetaTagsResponse) GetTags added in v1.2.0

func (m *ListUserMetaTagsResponse) GetTags() []string

func (*ListUserMetaTagsResponse) ProtoMessage added in v1.2.0

func (*ListUserMetaTagsResponse) ProtoMessage()

func (*ListUserMetaTagsResponse) Reset added in v1.2.0

func (m *ListUserMetaTagsResponse) Reset()

func (*ListUserMetaTagsResponse) String added in v1.2.0

func (m *ListUserMetaTagsResponse) String() string

func (*ListUserMetaTagsResponse) Validate added in v1.6.0

func (this *ListUserMetaTagsResponse) Validate() error

type ListVersioningPolicyRequest

type ListVersioningPolicyRequest struct {
}

func (*ListVersioningPolicyRequest) Descriptor

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

func (*ListVersioningPolicyRequest) ProtoMessage

func (*ListVersioningPolicyRequest) ProtoMessage()

func (*ListVersioningPolicyRequest) Reset

func (m *ListVersioningPolicyRequest) Reset()

func (*ListVersioningPolicyRequest) String

func (m *ListVersioningPolicyRequest) String() string

func (*ListVersioningPolicyRequest) Validate added in v1.6.0

func (this *ListVersioningPolicyRequest) Validate() error

type ListVirtualNodesRequest added in v1.2.0

type ListVirtualNodesRequest struct {
}

func (*ListVirtualNodesRequest) Descriptor added in v1.2.0

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

func (*ListVirtualNodesRequest) ProtoMessage added in v1.2.0

func (*ListVirtualNodesRequest) ProtoMessage()

func (*ListVirtualNodesRequest) Reset added in v1.2.0

func (m *ListVirtualNodesRequest) Reset()

func (*ListVirtualNodesRequest) String added in v1.2.0

func (m *ListVirtualNodesRequest) String() string

func (*ListVirtualNodesRequest) Validate added in v1.6.0

func (this *ListVirtualNodesRequest) Validate() error

type LogCollection

type LogCollection struct {
	Lines []*log.Log `protobuf:"bytes,1,rep,name=lines" json:"lines,omitempty"`
}

Collection of serialized log messages

func (*LogCollection) Descriptor

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

func (*LogCollection) GetLines

func (m *LogCollection) GetLines() []*log.Log

func (*LogCollection) ProtoMessage

func (*LogCollection) ProtoMessage()

func (*LogCollection) Reset

func (m *LogCollection) Reset()

func (*LogCollection) String

func (m *LogCollection) String() string

func (*LogCollection) Validate added in v1.6.0

func (this *LogCollection) Validate() error

type LogMessageCollection

type LogMessageCollection struct {
	Logs []*log.LogMessage `protobuf:"bytes,1,rep,name=Logs" json:"Logs,omitempty"`
}

Collection of serialized log messages

func (*LogMessageCollection) Descriptor

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

func (*LogMessageCollection) GetLogs

func (m *LogMessageCollection) GetLogs() []*log.LogMessage

func (*LogMessageCollection) ProtoMessage

func (*LogMessageCollection) ProtoMessage()

func (*LogMessageCollection) Reset

func (m *LogMessageCollection) Reset()

func (*LogMessageCollection) String

func (m *LogMessageCollection) String() string

func (*LogMessageCollection) Validate added in v1.6.0

func (this *LogMessageCollection) Validate() error

type LogService

type LogService struct {
	LogServiceHandler
}

func (*LogService) Syslog

type LogServiceClient

type LogServiceClient interface {
	// Technical Logs, in Json or CSV format
	Syslog(ctx context.Context, in *log.ListLogRequest, opts ...client.CallOption) (*LogMessageCollection, error)
}

func NewLogServiceClient

func NewLogServiceClient(serviceName string, c client.Client) LogServiceClient

type LogServiceHandler

type LogServiceHandler interface {
	// Technical Logs, in Json or CSV format
	Syslog(context.Context, *log.ListLogRequest, *LogMessageCollection) error
}

type MailerService

type MailerService struct {
	MailerServiceHandler
}

func (*MailerService) Send

type MailerServiceClient

type MailerServiceClient interface {
	// Send an email to a user or any email address
	Send(ctx context.Context, in *mailer.Mail, opts ...client.CallOption) (*mailer.SendMailResponse, error)
}

func NewMailerServiceClient

func NewMailerServiceClient(serviceName string, c client.Client) MailerServiceClient

type MailerServiceHandler

type MailerServiceHandler interface {
	// Send an email to a user or any email address
	Send(context.Context, *mailer.Mail, *mailer.SendMailResponse) error
}

type MetaCollection

type MetaCollection struct {
	NodePath  string      `protobuf:"bytes,1,opt,name=NodePath" json:"NodePath,omitempty"`
	Metadatas []*Metadata `protobuf:"bytes,2,rep,name=Metadatas" json:"Metadatas,omitempty"`
}

func (*MetaCollection) Descriptor

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

func (*MetaCollection) GetMetadatas

func (m *MetaCollection) GetMetadatas() []*Metadata

func (*MetaCollection) GetNodePath

func (m *MetaCollection) GetNodePath() string

func (*MetaCollection) ProtoMessage

func (*MetaCollection) ProtoMessage()

func (*MetaCollection) Reset

func (m *MetaCollection) Reset()

func (*MetaCollection) String

func (m *MetaCollection) String() string

func (*MetaCollection) Validate added in v1.6.0

func (this *MetaCollection) Validate() error

type MetaNamespaceRequest

type MetaNamespaceRequest struct {
	NodePath  string   `protobuf:"bytes,1,opt,name=NodePath" json:"NodePath,omitempty"`
	Namespace []string `protobuf:"bytes,2,rep,name=Namespace" json:"Namespace,omitempty"`
}

func (*MetaNamespaceRequest) Descriptor

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

func (*MetaNamespaceRequest) GetNamespace

func (m *MetaNamespaceRequest) GetNamespace() []string

func (*MetaNamespaceRequest) GetNodePath

func (m *MetaNamespaceRequest) GetNodePath() string

func (*MetaNamespaceRequest) ProtoMessage

func (*MetaNamespaceRequest) ProtoMessage()

func (*MetaNamespaceRequest) Reset

func (m *MetaNamespaceRequest) Reset()

func (*MetaNamespaceRequest) String

func (m *MetaNamespaceRequest) String() string

func (*MetaNamespaceRequest) Validate added in v1.6.0

func (this *MetaNamespaceRequest) Validate() error

type MetaService

type MetaService struct {
	MetaServiceHandler
}

func (*MetaService) DeleteMeta

func (h *MetaService) DeleteMeta(ctx context.Context, in *MetaNamespaceRequest, out *tree.Node) error

func (*MetaService) GetBulkMeta

func (h *MetaService) GetBulkMeta(ctx context.Context, in *GetBulkMetaRequest, out *BulkMetaResponse) error

func (*MetaService) GetMeta

func (h *MetaService) GetMeta(ctx context.Context, in *MetaNamespaceRequest, out *tree.Node) error

func (*MetaService) SetMeta

func (h *MetaService) SetMeta(ctx context.Context, in *MetaCollection, out *tree.Node) error

type MetaServiceClient

type MetaServiceClient interface {
	// Load metadata for a given node
	GetMeta(ctx context.Context, in *MetaNamespaceRequest, opts ...client.CallOption) (*tree.Node, error)
	// Update metadata for a given node
	SetMeta(ctx context.Context, in *MetaCollection, opts ...client.CallOption) (*tree.Node, error)
	// Delete metadata of a given node
	DeleteMeta(ctx context.Context, in *MetaNamespaceRequest, opts ...client.CallOption) (*tree.Node, error)
	// List meta for a list of nodes, or a full directory using /path/* syntax
	GetBulkMeta(ctx context.Context, in *GetBulkMetaRequest, opts ...client.CallOption) (*BulkMetaResponse, error)
}

func NewMetaServiceClient

func NewMetaServiceClient(serviceName string, c client.Client) MetaServiceClient

type MetaServiceHandler

type MetaServiceHandler interface {
	// Load metadata for a given node
	GetMeta(context.Context, *MetaNamespaceRequest, *tree.Node) error
	// Update metadata for a given node
	SetMeta(context.Context, *MetaCollection, *tree.Node) error
	// Delete metadata of a given node
	DeleteMeta(context.Context, *MetaNamespaceRequest, *tree.Node) error
	// List meta for a list of nodes, or a full directory using /path/* syntax
	GetBulkMeta(context.Context, *GetBulkMetaRequest, *BulkMetaResponse) error
}

type Metadata

type Metadata struct {
	Namespace string `protobuf:"bytes,1,opt,name=Namespace" json:"Namespace,omitempty"`
	JsonMeta  string `protobuf:"bytes,2,opt,name=JsonMeta" json:"JsonMeta,omitempty"`
}

func (*Metadata) Descriptor

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

func (*Metadata) GetJsonMeta

func (m *Metadata) GetJsonMeta() string

func (*Metadata) GetNamespace

func (m *Metadata) GetNamespace() string

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) Reset

func (m *Metadata) Reset()

func (*Metadata) String

func (m *Metadata) String() string

func (*Metadata) Validate added in v1.6.0

func (this *Metadata) Validate() error

type NodesCollection

type NodesCollection struct {
	Parent   *tree.Node   `protobuf:"bytes,1,opt,name=Parent" json:"Parent,omitempty"`
	Children []*tree.Node `protobuf:"bytes,2,rep,name=Children" json:"Children,omitempty"`
}

func (*NodesCollection) Descriptor

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

func (*NodesCollection) GetChildren

func (m *NodesCollection) GetChildren() []*tree.Node

func (*NodesCollection) GetParent

func (m *NodesCollection) GetParent() *tree.Node

func (*NodesCollection) ProtoMessage

func (*NodesCollection) ProtoMessage()

func (*NodesCollection) Reset

func (m *NodesCollection) Reset()

func (*NodesCollection) String

func (m *NodesCollection) String() string

func (*NodesCollection) Validate added in v1.6.0

func (this *NodesCollection) Validate() error

type OAuthConfigurationRequest

type OAuthConfigurationRequest struct {
}

Generic Query for limiting results based on resource permissions

func (*OAuthConfigurationRequest) Descriptor

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

func (*OAuthConfigurationRequest) ProtoMessage

func (*OAuthConfigurationRequest) ProtoMessage()

func (*OAuthConfigurationRequest) Reset

func (m *OAuthConfigurationRequest) Reset()

func (*OAuthConfigurationRequest) String

func (m *OAuthConfigurationRequest) String() string

func (*OAuthConfigurationRequest) Validate

func (this *OAuthConfigurationRequest) Validate() error

type OAuthConfigurationResponse

type OAuthConfigurationResponse struct {
	Issuer                            string   `protobuf:"bytes,1,opt,name=issuer" json:"issuer,omitempty"`
	AuthorizationEndpoint             string   `protobuf:"bytes,2,opt,name=authorization_endpoint,json=authorizationEndpoint" json:"authorization_endpoint,omitempty"`
	TokenEndpoint                     string   `protobuf:"bytes,3,opt,name=token_endpoint,json=tokenEndpoint" json:"token_endpoint,omitempty"`
	JwksUri                           string   `protobuf:"bytes,4,opt,name=jwks_uri,json=jwksUri" json:"jwks_uri,omitempty"`
	ResponseTypesSupported            []string `protobuf:"bytes,5,rep,name=response_types_supported,json=responseTypesSupported" json:"response_types_supported,omitempty"`
	SubjectTypesSupported             []string `protobuf:"bytes,6,rep,name=subject_types_supported,json=subjectTypesSupported" json:"subject_types_supported,omitempty"`
	IdTokenSigningAlgValuesSupported  []string `` /* 158-byte string literal not displayed */
	ScopesSupported                   []string `protobuf:"bytes,8,rep,name=scopes_supported,json=scopesSupported" json:"scopes_supported,omitempty"`
	TokenEndpointAuthMethodsSupported []string `` /* 159-byte string literal not displayed */
	ClaimsSupported                   []string `protobuf:"bytes,10,rep,name=claims_supported,json=claimsSupported" json:"claims_supported,omitempty"`
}

func (*OAuthConfigurationResponse) Descriptor

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

func (*OAuthConfigurationResponse) GetAuthorizationEndpoint

func (m *OAuthConfigurationResponse) GetAuthorizationEndpoint() string

func (*OAuthConfigurationResponse) GetClaimsSupported

func (m *OAuthConfigurationResponse) GetClaimsSupported() []string

func (*OAuthConfigurationResponse) GetIdTokenSigningAlgValuesSupported

func (m *OAuthConfigurationResponse) GetIdTokenSigningAlgValuesSupported() []string

func (*OAuthConfigurationResponse) GetIssuer

func (m *OAuthConfigurationResponse) GetIssuer() string

func (*OAuthConfigurationResponse) GetJwksUri

func (m *OAuthConfigurationResponse) GetJwksUri() string

func (*OAuthConfigurationResponse) GetResponseTypesSupported

func (m *OAuthConfigurationResponse) GetResponseTypesSupported() []string

func (*OAuthConfigurationResponse) GetScopesSupported

func (m *OAuthConfigurationResponse) GetScopesSupported() []string

func (*OAuthConfigurationResponse) GetSubjectTypesSupported

func (m *OAuthConfigurationResponse) GetSubjectTypesSupported() []string

func (*OAuthConfigurationResponse) GetTokenEndpoint

func (m *OAuthConfigurationResponse) GetTokenEndpoint() string

func (*OAuthConfigurationResponse) GetTokenEndpointAuthMethodsSupported

func (m *OAuthConfigurationResponse) GetTokenEndpointAuthMethodsSupported() []string

func (*OAuthConfigurationResponse) ProtoMessage

func (*OAuthConfigurationResponse) ProtoMessage()

func (*OAuthConfigurationResponse) Reset

func (m *OAuthConfigurationResponse) Reset()

func (*OAuthConfigurationResponse) String

func (m *OAuthConfigurationResponse) String() string

func (*OAuthConfigurationResponse) Validate

func (this *OAuthConfigurationResponse) Validate() error

type OpenApiResponse

type OpenApiResponse struct {
}

func (*OpenApiResponse) Descriptor

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

func (*OpenApiResponse) ProtoMessage

func (*OpenApiResponse) ProtoMessage()

func (*OpenApiResponse) Reset

func (m *OpenApiResponse) Reset()

func (*OpenApiResponse) String

func (m *OpenApiResponse) String() string

func (*OpenApiResponse) Validate added in v1.6.0

func (this *OpenApiResponse) Validate() error

type Pagination added in v1.2.0

type Pagination struct {
	// Current Limit parameter, either passed by request or default value
	Limit int32 `protobuf:"varint,1,opt,name=Limit" json:"Limit,omitempty"`
	// Current Offset value
	CurrentOffset int32 `protobuf:"varint,2,opt,name=CurrentOffset" json:"CurrentOffset,omitempty"`
	// Total number of records
	Total int32 `protobuf:"varint,3,opt,name=Total" json:"Total,omitempty"`
	// Current number of Page
	CurrentPage int32 `protobuf:"varint,4,opt,name=CurrentPage" json:"CurrentPage,omitempty"`
	// Number of detected pages
	TotalPages int32 `protobuf:"varint,5,opt,name=TotalPages" json:"TotalPages,omitempty"`
	// Offset value for next page if there is one
	NextOffset int32 `protobuf:"varint,6,opt,name=NextOffset" json:"NextOffset,omitempty"`
	// Offset value for previous page, if there is one
	PrevOffset int32 `protobuf:"varint,7,opt,name=PrevOffset" json:"PrevOffset,omitempty"`
}

Generic container for responses sending pagination information

func (*Pagination) Descriptor added in v1.2.0

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

func (*Pagination) GetCurrentOffset added in v1.2.0

func (m *Pagination) GetCurrentOffset() int32

func (*Pagination) GetCurrentPage added in v1.2.0

func (m *Pagination) GetCurrentPage() int32

func (*Pagination) GetLimit added in v1.2.0

func (m *Pagination) GetLimit() int32

func (*Pagination) GetNextOffset added in v1.2.0

func (m *Pagination) GetNextOffset() int32

func (*Pagination) GetPrevOffset added in v1.2.0

func (m *Pagination) GetPrevOffset() int32

func (*Pagination) GetTotal added in v1.2.0

func (m *Pagination) GetTotal() int32

func (*Pagination) GetTotalPages added in v1.2.0

func (m *Pagination) GetTotalPages() int32

func (*Pagination) ProtoMessage added in v1.2.0

func (*Pagination) ProtoMessage()

func (*Pagination) Reset added in v1.2.0

func (m *Pagination) Reset()

func (*Pagination) String added in v1.2.0

func (m *Pagination) String() string

func (*Pagination) Validate added in v1.6.0

func (this *Pagination) Validate() error

type PolicyService

type PolicyService struct {
	PolicyServiceHandler
}

func (*PolicyService) ListPolicies

type PolicyServiceClient

type PolicyServiceClient interface {
	// List all defined security policies
	ListPolicies(ctx context.Context, in *idm.ListPolicyGroupsRequest, opts ...client.CallOption) (*idm.ListPolicyGroupsResponse, error)
}

func NewPolicyServiceClient

func NewPolicyServiceClient(serviceName string, c client.Client) PolicyServiceClient

type PolicyServiceHandler

type PolicyServiceHandler interface {
	// List all defined security policies
	ListPolicies(context.Context, *idm.ListPolicyGroupsRequest, *idm.ListPolicyGroupsResponse) error
}

type Process added in v1.4.0

type Process struct {
	ID          string   `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"`
	ParentID    string   `protobuf:"bytes,2,opt,name=ParentID" json:"ParentID,omitempty"`
	MetricsPort int32    `protobuf:"varint,3,opt,name=MetricsPort" json:"MetricsPort,omitempty"`
	PeerId      string   `protobuf:"bytes,4,opt,name=PeerId" json:"PeerId,omitempty"`
	PeerAddress string   `protobuf:"bytes,5,opt,name=PeerAddress" json:"PeerAddress,omitempty"`
	StartTag    string   `protobuf:"bytes,6,opt,name=StartTag" json:"StartTag,omitempty"`
	Services    []string `protobuf:"bytes,7,rep,name=Services" json:"Services,omitempty"`
}

func (*Process) Descriptor added in v1.4.0

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

func (*Process) GetID added in v1.4.0

func (m *Process) GetID() string

func (*Process) GetMetricsPort added in v1.4.0

func (m *Process) GetMetricsPort() int32

func (*Process) GetParentID added in v1.4.0

func (m *Process) GetParentID() string

func (*Process) GetPeerAddress added in v1.4.0

func (m *Process) GetPeerAddress() string

func (*Process) GetPeerId added in v1.4.0

func (m *Process) GetPeerId() string

func (*Process) GetServices added in v1.4.0

func (m *Process) GetServices() []string

func (*Process) GetStartTag added in v1.4.0

func (m *Process) GetStartTag() string

func (*Process) ProtoMessage added in v1.4.0

func (*Process) ProtoMessage()

func (*Process) Reset added in v1.4.0

func (m *Process) Reset()

func (*Process) String added in v1.4.0

func (m *Process) String() string

func (*Process) Validate added in v1.6.0

func (this *Process) Validate() error

type PutCellRequest

type PutCellRequest struct {
	Room            *Cell `protobuf:"bytes,1,opt,name=Room" json:"Room,omitempty"`
	CreateEmptyRoot bool  `protobuf:"varint,2,opt,name=CreateEmptyRoot" json:"CreateEmptyRoot,omitempty"`
}

func (*PutCellRequest) Descriptor

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

func (*PutCellRequest) GetCreateEmptyRoot

func (m *PutCellRequest) GetCreateEmptyRoot() bool

func (*PutCellRequest) GetRoom

func (m *PutCellRequest) GetRoom() *Cell

func (*PutCellRequest) ProtoMessage

func (*PutCellRequest) ProtoMessage()

func (*PutCellRequest) Reset

func (m *PutCellRequest) Reset()

func (*PutCellRequest) String

func (m *PutCellRequest) String() string

func (*PutCellRequest) Validate added in v1.6.0

func (this *PutCellRequest) Validate() error

type PutShareLinkRequest

type PutShareLinkRequest struct {
	ShareLink        *ShareLink `protobuf:"bytes,1,opt,name=ShareLink" json:"ShareLink,omitempty"`
	PasswordEnabled  bool       `protobuf:"varint,2,opt,name=PasswordEnabled" json:"PasswordEnabled,omitempty"`
	CreatePassword   string     `protobuf:"bytes,3,opt,name=CreatePassword" json:"CreatePassword,omitempty"`
	UpdatePassword   string     `protobuf:"bytes,4,opt,name=UpdatePassword" json:"UpdatePassword,omitempty"`
	UpdateCustomHash string     `protobuf:"bytes,5,opt,name=UpdateCustomHash" json:"UpdateCustomHash,omitempty"`
}

func (*PutShareLinkRequest) Descriptor

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

func (*PutShareLinkRequest) GetCreatePassword

func (m *PutShareLinkRequest) GetCreatePassword() string

func (*PutShareLinkRequest) GetPasswordEnabled

func (m *PutShareLinkRequest) GetPasswordEnabled() bool
func (m *PutShareLinkRequest) GetShareLink() *ShareLink

func (*PutShareLinkRequest) GetUpdateCustomHash

func (m *PutShareLinkRequest) GetUpdateCustomHash() string

func (*PutShareLinkRequest) GetUpdatePassword

func (m *PutShareLinkRequest) GetUpdatePassword() string

func (*PutShareLinkRequest) ProtoMessage

func (*PutShareLinkRequest) ProtoMessage()

func (*PutShareLinkRequest) Reset

func (m *PutShareLinkRequest) Reset()

func (*PutShareLinkRequest) String

func (m *PutShareLinkRequest) String() string

func (*PutShareLinkRequest) Validate added in v1.6.0

func (this *PutShareLinkRequest) Validate() error

type PutUserMetaTagRequest added in v1.2.0

type PutUserMetaTagRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=Namespace" json:"Namespace,omitempty"`
	Tag       string `protobuf:"bytes,2,opt,name=Tag" json:"Tag,omitempty"`
}

func (*PutUserMetaTagRequest) Descriptor added in v1.2.0

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

func (*PutUserMetaTagRequest) GetNamespace added in v1.2.0

func (m *PutUserMetaTagRequest) GetNamespace() string

func (*PutUserMetaTagRequest) GetTag added in v1.2.0

func (m *PutUserMetaTagRequest) GetTag() string

func (*PutUserMetaTagRequest) ProtoMessage added in v1.2.0

func (*PutUserMetaTagRequest) ProtoMessage()

func (*PutUserMetaTagRequest) Reset added in v1.2.0

func (m *PutUserMetaTagRequest) Reset()

func (*PutUserMetaTagRequest) String added in v1.2.0

func (m *PutUserMetaTagRequest) String() string

func (*PutUserMetaTagRequest) Validate added in v1.6.0

func (this *PutUserMetaTagRequest) Validate() error

type PutUserMetaTagResponse added in v1.2.0

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

func (*PutUserMetaTagResponse) Descriptor added in v1.2.0

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

func (*PutUserMetaTagResponse) GetSuccess added in v1.2.0

func (m *PutUserMetaTagResponse) GetSuccess() bool

func (*PutUserMetaTagResponse) ProtoMessage added in v1.2.0

func (*PutUserMetaTagResponse) ProtoMessage()

func (*PutUserMetaTagResponse) Reset added in v1.2.0

func (m *PutUserMetaTagResponse) Reset()

func (*PutUserMetaTagResponse) String added in v1.2.0

func (m *PutUserMetaTagResponse) String() string

func (*PutUserMetaTagResponse) Validate added in v1.6.0

func (this *PutUserMetaTagResponse) Validate() error

type RelationRequest

type RelationRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=UserId" json:"UserId,omitempty"`
}

func (*RelationRequest) Descriptor

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

func (*RelationRequest) GetUserId

func (m *RelationRequest) GetUserId() string

func (*RelationRequest) ProtoMessage

func (*RelationRequest) ProtoMessage()

func (*RelationRequest) Reset

func (m *RelationRequest) Reset()

func (*RelationRequest) String

func (m *RelationRequest) String() string

func (*RelationRequest) Validate added in v1.6.0

func (this *RelationRequest) Validate() error

type RelationResponse

type RelationResponse struct {
	SharedCells    []*idm.Workspace `protobuf:"bytes,1,rep,name=SharedCells" json:"SharedCells,omitempty"`
	BelongsToTeams []*idm.Role      `protobuf:"bytes,3,rep,name=BelongsToTeams" json:"BelongsToTeams,omitempty"`
}

func (*RelationResponse) Descriptor

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

func (*RelationResponse) GetBelongsToTeams

func (m *RelationResponse) GetBelongsToTeams() []*idm.Role

func (*RelationResponse) GetSharedCells

func (m *RelationResponse) GetSharedCells() []*idm.Workspace

func (*RelationResponse) ProtoMessage

func (*RelationResponse) ProtoMessage()

func (*RelationResponse) Reset

func (m *RelationResponse) Reset()

func (*RelationResponse) String

func (m *RelationResponse) String() string

func (*RelationResponse) Validate added in v1.6.0

func (this *RelationResponse) Validate() error

type ResetPasswordRequest

type ResetPasswordRequest struct {
	ResetPasswordToken string `protobuf:"bytes,1,opt,name=ResetPasswordToken" json:"ResetPasswordToken,omitempty"`
	UserLogin          string `protobuf:"bytes,2,opt,name=UserLogin" json:"UserLogin,omitempty"`
	NewPassword        string `protobuf:"bytes,3,opt,name=NewPassword" json:"NewPassword,omitempty"`
}

func (*ResetPasswordRequest) Descriptor

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

func (*ResetPasswordRequest) GetNewPassword

func (m *ResetPasswordRequest) GetNewPassword() string

func (*ResetPasswordRequest) GetResetPasswordToken

func (m *ResetPasswordRequest) GetResetPasswordToken() string

func (*ResetPasswordRequest) GetUserLogin

func (m *ResetPasswordRequest) GetUserLogin() string

func (*ResetPasswordRequest) ProtoMessage

func (*ResetPasswordRequest) ProtoMessage()

func (*ResetPasswordRequest) Reset

func (m *ResetPasswordRequest) Reset()

func (*ResetPasswordRequest) String

func (m *ResetPasswordRequest) String() string

func (*ResetPasswordRequest) Validate added in v1.6.0

func (this *ResetPasswordRequest) Validate() error

type ResetPasswordResponse

type ResetPasswordResponse struct {
	Success bool   `protobuf:"varint,1,opt,name=Success" json:"Success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=Message" json:"Message,omitempty"`
}

func (*ResetPasswordResponse) Descriptor

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

func (*ResetPasswordResponse) GetMessage

func (m *ResetPasswordResponse) GetMessage() string

func (*ResetPasswordResponse) GetSuccess

func (m *ResetPasswordResponse) GetSuccess() bool

func (*ResetPasswordResponse) ProtoMessage

func (*ResetPasswordResponse) ProtoMessage()

func (*ResetPasswordResponse) Reset

func (m *ResetPasswordResponse) Reset()

func (*ResetPasswordResponse) String

func (m *ResetPasswordResponse) String() string

func (*ResetPasswordResponse) Validate added in v1.6.0

func (this *ResetPasswordResponse) Validate() error

type ResetPasswordTokenRequest

type ResetPasswordTokenRequest struct {
	UserLogin string `protobuf:"bytes,1,opt,name=UserLogin" json:"UserLogin,omitempty"`
}

func (*ResetPasswordTokenRequest) Descriptor

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

func (*ResetPasswordTokenRequest) GetUserLogin

func (m *ResetPasswordTokenRequest) GetUserLogin() string

func (*ResetPasswordTokenRequest) ProtoMessage

func (*ResetPasswordTokenRequest) ProtoMessage()

func (*ResetPasswordTokenRequest) Reset

func (m *ResetPasswordTokenRequest) Reset()

func (*ResetPasswordTokenRequest) String

func (m *ResetPasswordTokenRequest) String() string

func (*ResetPasswordTokenRequest) Validate added in v1.6.0

func (this *ResetPasswordTokenRequest) Validate() error

type ResetPasswordTokenResponse

type ResetPasswordTokenResponse struct {
	Success bool   `protobuf:"varint,1,opt,name=Success" json:"Success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=Message" json:"Message,omitempty"`
}

func (*ResetPasswordTokenResponse) Descriptor

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

func (*ResetPasswordTokenResponse) GetMessage

func (m *ResetPasswordTokenResponse) GetMessage() string

func (*ResetPasswordTokenResponse) GetSuccess

func (m *ResetPasswordTokenResponse) GetSuccess() bool

func (*ResetPasswordTokenResponse) ProtoMessage

func (*ResetPasswordTokenResponse) ProtoMessage()

func (*ResetPasswordTokenResponse) Reset

func (m *ResetPasswordTokenResponse) Reset()

func (*ResetPasswordTokenResponse) String

func (m *ResetPasswordTokenResponse) String() string

func (*ResetPasswordTokenResponse) Validate added in v1.6.0

func (this *ResetPasswordTokenResponse) Validate() error

type ResourcePolicyQuery

type ResourcePolicyQuery struct {
	Type   ResourcePolicyQuery_QueryType `protobuf:"varint,1,opt,name=Type,enum=rest.ResourcePolicyQuery_QueryType" json:"Type,omitempty"`
	UserId string                        `protobuf:"bytes,2,opt,name=UserId" json:"UserId,omitempty"`
}

Generic Query for limiting results based on resource permissions

func (*ResourcePolicyQuery) Descriptor

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

func (*ResourcePolicyQuery) GetType

func (*ResourcePolicyQuery) GetUserId

func (m *ResourcePolicyQuery) GetUserId() string

func (*ResourcePolicyQuery) ProtoMessage

func (*ResourcePolicyQuery) ProtoMessage()

func (*ResourcePolicyQuery) Reset

func (m *ResourcePolicyQuery) Reset()

func (*ResourcePolicyQuery) String

func (m *ResourcePolicyQuery) String() string

func (*ResourcePolicyQuery) Validate added in v1.6.0

func (this *ResourcePolicyQuery) Validate() error

type ResourcePolicyQuery_QueryType

type ResourcePolicyQuery_QueryType int32
const (
	ResourcePolicyQuery_CONTEXT ResourcePolicyQuery_QueryType = 0
	ResourcePolicyQuery_ANY     ResourcePolicyQuery_QueryType = 1
	ResourcePolicyQuery_NONE    ResourcePolicyQuery_QueryType = 2
	ResourcePolicyQuery_USER    ResourcePolicyQuery_QueryType = 3
)

func (ResourcePolicyQuery_QueryType) EnumDescriptor

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

func (ResourcePolicyQuery_QueryType) String

type RestoreNodesRequest added in v1.2.0

type RestoreNodesRequest struct {
	Nodes []*tree.Node `protobuf:"bytes,1,rep,name=Nodes" json:"Nodes,omitempty"`
}

func (*RestoreNodesRequest) Descriptor added in v1.2.0

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

func (*RestoreNodesRequest) GetNodes added in v1.2.0

func (m *RestoreNodesRequest) GetNodes() []*tree.Node

func (*RestoreNodesRequest) ProtoMessage added in v1.2.0

func (*RestoreNodesRequest) ProtoMessage()

func (*RestoreNodesRequest) Reset added in v1.2.0

func (m *RestoreNodesRequest) Reset()

func (*RestoreNodesRequest) String added in v1.2.0

func (m *RestoreNodesRequest) String() string

func (*RestoreNodesRequest) Validate added in v1.6.0

func (this *RestoreNodesRequest) Validate() error

type RestoreNodesResponse added in v1.2.0

type RestoreNodesResponse struct {
	RestoreJobs []*BackgroundJobResult `protobuf:"bytes,1,rep,name=RestoreJobs" json:"RestoreJobs,omitempty"`
}

func (*RestoreNodesResponse) Descriptor added in v1.2.0

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

func (*RestoreNodesResponse) GetRestoreJobs added in v1.2.0

func (m *RestoreNodesResponse) GetRestoreJobs() []*BackgroundJobResult

func (*RestoreNodesResponse) ProtoMessage added in v1.2.0

func (*RestoreNodesResponse) ProtoMessage()

func (*RestoreNodesResponse) Reset added in v1.2.0

func (m *RestoreNodesResponse) Reset()

func (*RestoreNodesResponse) String added in v1.2.0

func (m *RestoreNodesResponse) String() string

func (*RestoreNodesResponse) Validate added in v1.6.0

func (this *RestoreNodesResponse) Validate() error

type RevokeRequest

type RevokeRequest struct {
	TokenId string `protobuf:"bytes,1,opt,name=TokenId" json:"TokenId,omitempty"`
}

Rest request for revocation. Token is not mandatory, if not set request will use current JWT token

func (*RevokeRequest) Descriptor

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

func (*RevokeRequest) GetTokenId

func (m *RevokeRequest) GetTokenId() string

func (*RevokeRequest) ProtoMessage

func (*RevokeRequest) ProtoMessage()

func (*RevokeRequest) Reset

func (m *RevokeRequest) Reset()

func (*RevokeRequest) String

func (m *RevokeRequest) String() string

func (*RevokeRequest) Validate added in v1.6.0

func (this *RevokeRequest) Validate() error

type RevokeResponse

type RevokeResponse struct {
	Success bool   `protobuf:"varint,1,opt,name=Success" json:"Success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=Message" json:"Message,omitempty"`
}

Rest response

func (*RevokeResponse) Descriptor

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

func (*RevokeResponse) GetMessage

func (m *RevokeResponse) GetMessage() string

func (*RevokeResponse) GetSuccess

func (m *RevokeResponse) GetSuccess() bool

func (*RevokeResponse) ProtoMessage

func (*RevokeResponse) ProtoMessage()

func (*RevokeResponse) Reset

func (m *RevokeResponse) Reset()

func (*RevokeResponse) String

func (m *RevokeResponse) String() string

func (*RevokeResponse) Validate added in v1.6.0

func (this *RevokeResponse) Validate() error

type RoleService

type RoleService struct {
	RoleServiceHandler
}

func (*RoleService) DeleteRole

func (h *RoleService) DeleteRole(ctx context.Context, in *idm.Role, out *idm.Role) error

func (*RoleService) GetRole

func (h *RoleService) GetRole(ctx context.Context, in *idm.Role, out *idm.Role) error

func (*RoleService) SearchRoles

func (h *RoleService) SearchRoles(ctx context.Context, in *SearchRoleRequest, out *RolesCollection) error

func (*RoleService) SetRole

func (h *RoleService) SetRole(ctx context.Context, in *idm.Role, out *idm.Role) error

type RoleServiceClient

type RoleServiceClient interface {
	// Create or update a Role
	SetRole(ctx context.Context, in *idm.Role, opts ...client.CallOption) (*idm.Role, error)
	// Delete a Role by ID
	DeleteRole(ctx context.Context, in *idm.Role, opts ...client.CallOption) (*idm.Role, error)
	// Get a Role by ID
	GetRole(ctx context.Context, in *idm.Role, opts ...client.CallOption) (*idm.Role, error)
	// Search Roles
	SearchRoles(ctx context.Context, in *SearchRoleRequest, opts ...client.CallOption) (*RolesCollection, error)
}

func NewRoleServiceClient

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

type RoleServiceHandler

type RoleServiceHandler interface {
	// Create or update a Role
	SetRole(context.Context, *idm.Role, *idm.Role) error
	// Delete a Role by ID
	DeleteRole(context.Context, *idm.Role, *idm.Role) error
	// Get a Role by ID
	GetRole(context.Context, *idm.Role, *idm.Role) error
	// Search Roles
	SearchRoles(context.Context, *SearchRoleRequest, *RolesCollection) error
}

type RolesCollection

type RolesCollection struct {
	Roles []*idm.Role `protobuf:"bytes,1,rep,name=Roles" json:"Roles,omitempty"`
}

Roles Collection

func (*RolesCollection) Descriptor

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

func (*RolesCollection) GetRoles

func (m *RolesCollection) GetRoles() []*idm.Role

func (*RolesCollection) ProtoMessage

func (*RolesCollection) ProtoMessage()

func (*RolesCollection) Reset

func (m *RolesCollection) Reset()

func (*RolesCollection) String

func (m *RolesCollection) String() string

func (*RolesCollection) Validate added in v1.6.0

func (this *RolesCollection) Validate() error

type SearchACLRequest

type SearchACLRequest struct {
	Queries   []*idm.ACLSingleQuery `protobuf:"bytes,1,rep,name=Queries" json:"Queries,omitempty"`
	Offset    int64                 `protobuf:"varint,2,opt,name=Offset" json:"Offset,omitempty"`
	Limit     int64                 `protobuf:"varint,3,opt,name=Limit" json:"Limit,omitempty"`
	GroupBy   int32                 `protobuf:"varint,4,opt,name=GroupBy" json:"GroupBy,omitempty"`
	CountOnly bool                  `protobuf:"varint,5,opt,name=CountOnly" json:"CountOnly,omitempty"`
	Operation service.OperationType `protobuf:"varint,6,opt,name=Operation,enum=service.OperationType" json:"Operation,omitempty"`
}

Rest request for ACL's

func (*SearchACLRequest) Descriptor

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

func (*SearchACLRequest) GetCountOnly

func (m *SearchACLRequest) GetCountOnly() bool

func (*SearchACLRequest) GetGroupBy

func (m *SearchACLRequest) GetGroupBy() int32

func (*SearchACLRequest) GetLimit

func (m *SearchACLRequest) GetLimit() int64

func (*SearchACLRequest) GetOffset

func (m *SearchACLRequest) GetOffset() int64

func (*SearchACLRequest) GetOperation

func (m *SearchACLRequest) GetOperation() service.OperationType

func (*SearchACLRequest) GetQueries

func (m *SearchACLRequest) GetQueries() []*idm.ACLSingleQuery

func (*SearchACLRequest) ProtoMessage

func (*SearchACLRequest) ProtoMessage()

func (*SearchACLRequest) Reset

func (m *SearchACLRequest) Reset()

func (*SearchACLRequest) String

func (m *SearchACLRequest) String() string

func (*SearchACLRequest) Validate added in v1.6.0

func (this *SearchACLRequest) Validate() error

type SearchResults

type SearchResults struct {
	Results []*tree.Node `protobuf:"bytes,1,rep,name=Results" json:"Results,omitempty"`
	Total   int32        `protobuf:"varint,2,opt,name=Total" json:"Total,omitempty"`
}

func (*SearchResults) Descriptor

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

func (*SearchResults) GetResults

func (m *SearchResults) GetResults() []*tree.Node

func (*SearchResults) GetTotal

func (m *SearchResults) GetTotal() int32

func (*SearchResults) ProtoMessage

func (*SearchResults) ProtoMessage()

func (*SearchResults) Reset

func (m *SearchResults) Reset()

func (*SearchResults) String

func (m *SearchResults) String() string

func (*SearchResults) Validate added in v1.6.0

func (this *SearchResults) Validate() error

type SearchRoleRequest

type SearchRoleRequest struct {
	Queries             []*idm.RoleSingleQuery `protobuf:"bytes,1,rep,name=Queries" json:"Queries,omitempty"`
	ResourcePolicyQuery *ResourcePolicyQuery   `protobuf:"bytes,7,opt,name=ResourcePolicyQuery" json:"ResourcePolicyQuery,omitempty"`
	Offset              int64                  `protobuf:"varint,2,opt,name=Offset" json:"Offset,omitempty"`
	Limit               int64                  `protobuf:"varint,3,opt,name=Limit" json:"Limit,omitempty"`
	GroupBy             int32                  `protobuf:"varint,4,opt,name=GroupBy" json:"GroupBy,omitempty"`
	CountOnly           bool                   `protobuf:"varint,5,opt,name=CountOnly" json:"CountOnly,omitempty"`
	Operation           service.OperationType  `protobuf:"varint,6,opt,name=Operation,enum=service.OperationType" json:"Operation,omitempty"`
}

Roles Search

func (*SearchRoleRequest) Descriptor

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

func (*SearchRoleRequest) GetCountOnly

func (m *SearchRoleRequest) GetCountOnly() bool

func (*SearchRoleRequest) GetGroupBy

func (m *SearchRoleRequest) GetGroupBy() int32

func (*SearchRoleRequest) GetLimit

func (m *SearchRoleRequest) GetLimit() int64

func (*SearchRoleRequest) GetOffset

func (m *SearchRoleRequest) GetOffset() int64

func (*SearchRoleRequest) GetOperation

func (m *SearchRoleRequest) GetOperation() service.OperationType

func (*SearchRoleRequest) GetQueries

func (m *SearchRoleRequest) GetQueries() []*idm.RoleSingleQuery

func (*SearchRoleRequest) GetResourcePolicyQuery

func (m *SearchRoleRequest) GetResourcePolicyQuery() *ResourcePolicyQuery

func (*SearchRoleRequest) ProtoMessage

func (*SearchRoleRequest) ProtoMessage()

func (*SearchRoleRequest) Reset

func (m *SearchRoleRequest) Reset()

func (*SearchRoleRequest) String

func (m *SearchRoleRequest) String() string

func (*SearchRoleRequest) Validate added in v1.6.0

func (this *SearchRoleRequest) Validate() error

type SearchService

type SearchService struct {
	SearchServiceHandler
}

func (*SearchService) Nodes

type SearchServiceClient

type SearchServiceClient interface {
	// Search indexed nodes (files/folders) on various aspects
	Nodes(ctx context.Context, in *tree.SearchRequest, opts ...client.CallOption) (*SearchResults, error)
}

func NewSearchServiceClient

func NewSearchServiceClient(serviceName string, c client.Client) SearchServiceClient

type SearchServiceHandler

type SearchServiceHandler interface {
	// Search indexed nodes (files/folders) on various aspects
	Nodes(context.Context, *tree.SearchRequest, *SearchResults) error
}

type SearchUserRequest

type SearchUserRequest struct {
	Queries             []*idm.UserSingleQuery `protobuf:"bytes,1,rep,name=Queries" json:"Queries,omitempty"`
	ResourcePolicyQuery *ResourcePolicyQuery   `protobuf:"bytes,7,opt,name=ResourcePolicyQuery" json:"ResourcePolicyQuery,omitempty"`
	Offset              int64                  `protobuf:"varint,2,opt,name=Offset" json:"Offset,omitempty"`
	Limit               int64                  `protobuf:"varint,3,opt,name=Limit" json:"Limit,omitempty"`
	GroupBy             int32                  `protobuf:"varint,4,opt,name=GroupBy" json:"GroupBy,omitempty"`
	CountOnly           bool                   `protobuf:"varint,5,opt,name=CountOnly" json:"CountOnly,omitempty"`
	Operation           service.OperationType  `protobuf:"varint,6,opt,name=Operation,enum=service.OperationType" json:"Operation,omitempty"`
}

Users Search

func (*SearchUserRequest) Descriptor

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

func (*SearchUserRequest) GetCountOnly

func (m *SearchUserRequest) GetCountOnly() bool

func (*SearchUserRequest) GetGroupBy

func (m *SearchUserRequest) GetGroupBy() int32

func (*SearchUserRequest) GetLimit

func (m *SearchUserRequest) GetLimit() int64

func (*SearchUserRequest) GetOffset

func (m *SearchUserRequest) GetOffset() int64

func (*SearchUserRequest) GetOperation

func (m *SearchUserRequest) GetOperation() service.OperationType

func (*SearchUserRequest) GetQueries

func (m *SearchUserRequest) GetQueries() []*idm.UserSingleQuery

func (*SearchUserRequest) GetResourcePolicyQuery

func (m *SearchUserRequest) GetResourcePolicyQuery() *ResourcePolicyQuery

func (*SearchUserRequest) ProtoMessage

func (*SearchUserRequest) ProtoMessage()

func (*SearchUserRequest) Reset

func (m *SearchUserRequest) Reset()

func (*SearchUserRequest) String

func (m *SearchUserRequest) String() string

func (*SearchUserRequest) Validate added in v1.6.0

func (this *SearchUserRequest) Validate() error

type SearchWorkspaceRequest

type SearchWorkspaceRequest struct {
	Queries             []*idm.WorkspaceSingleQuery `protobuf:"bytes,1,rep,name=Queries" json:"Queries,omitempty"`
	ResourcePolicyQuery *ResourcePolicyQuery        `protobuf:"bytes,7,opt,name=ResourcePolicyQuery" json:"ResourcePolicyQuery,omitempty"`
	Offset              int64                       `protobuf:"varint,2,opt,name=Offset" json:"Offset,omitempty"`
	Limit               int64                       `protobuf:"varint,3,opt,name=Limit" json:"Limit,omitempty"`
	GroupBy             int32                       `protobuf:"varint,4,opt,name=GroupBy" json:"GroupBy,omitempty"`
	CountOnly           bool                        `protobuf:"varint,5,opt,name=CountOnly" json:"CountOnly,omitempty"`
	Operation           service.OperationType       `protobuf:"varint,6,opt,name=Operation,enum=service.OperationType" json:"Operation,omitempty"`
}

Rest request for searching workspaces

func (*SearchWorkspaceRequest) Descriptor

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

func (*SearchWorkspaceRequest) GetCountOnly

func (m *SearchWorkspaceRequest) GetCountOnly() bool

func (*SearchWorkspaceRequest) GetGroupBy

func (m *SearchWorkspaceRequest) GetGroupBy() int32

func (*SearchWorkspaceRequest) GetLimit

func (m *SearchWorkspaceRequest) GetLimit() int64

func (*SearchWorkspaceRequest) GetOffset

func (m *SearchWorkspaceRequest) GetOffset() int64

func (*SearchWorkspaceRequest) GetOperation

func (m *SearchWorkspaceRequest) GetOperation() service.OperationType

func (*SearchWorkspaceRequest) GetQueries

func (m *SearchWorkspaceRequest) GetQueries() []*idm.WorkspaceSingleQuery

func (*SearchWorkspaceRequest) GetResourcePolicyQuery

func (m *SearchWorkspaceRequest) GetResourcePolicyQuery() *ResourcePolicyQuery

func (*SearchWorkspaceRequest) ProtoMessage

func (*SearchWorkspaceRequest) ProtoMessage()

func (*SearchWorkspaceRequest) Reset

func (m *SearchWorkspaceRequest) Reset()

func (*SearchWorkspaceRequest) String

func (m *SearchWorkspaceRequest) String() string

func (*SearchWorkspaceRequest) Validate added in v1.6.0

func (this *SearchWorkspaceRequest) Validate() error

type ServiceCollection

type ServiceCollection struct {
	Services []*ctl.Service `protobuf:"bytes,1,rep,name=Services" json:"Services,omitempty"`
	Total    int32          `protobuf:"varint,2,opt,name=Total" json:"Total,omitempty"`
}

func (*ServiceCollection) Descriptor

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

func (*ServiceCollection) GetServices

func (m *ServiceCollection) GetServices() []*ctl.Service

func (*ServiceCollection) GetTotal

func (m *ServiceCollection) GetTotal() int32

func (*ServiceCollection) ProtoMessage

func (*ServiceCollection) ProtoMessage()

func (*ServiceCollection) Reset

func (m *ServiceCollection) Reset()

func (*ServiceCollection) String

func (m *ServiceCollection) String() string

func (*ServiceCollection) Validate added in v1.6.0

func (this *ServiceCollection) Validate() error

type SettingsEntry

type SettingsEntry struct {
	Key         string             `protobuf:"bytes,1,opt,name=Key" json:"Key,omitempty"`
	Label       string             `protobuf:"bytes,2,opt,name=Label,json=LABEL" json:"Label,omitempty"`
	Description string             `protobuf:"bytes,3,opt,name=Description,json=DESCRIPTION" json:"Description,omitempty"`
	Manager     string             `protobuf:"bytes,4,opt,name=Manager,json=MANAGER" json:"Manager,omitempty"`
	Alias       string             `protobuf:"bytes,5,opt,name=Alias,json=ALIAS" json:"Alias,omitempty"`
	Metadata    *SettingsEntryMeta `protobuf:"bytes,6,opt,name=Metadata,json=METADATA" json:"Metadata,omitempty"`
}

func (*SettingsEntry) Descriptor

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

func (*SettingsEntry) GetAlias

func (m *SettingsEntry) GetAlias() string

func (*SettingsEntry) GetDescription

func (m *SettingsEntry) GetDescription() string

func (*SettingsEntry) GetKey

func (m *SettingsEntry) GetKey() string

func (*SettingsEntry) GetLabel

func (m *SettingsEntry) GetLabel() string

func (*SettingsEntry) GetManager

func (m *SettingsEntry) GetManager() string

func (*SettingsEntry) GetMetadata

func (m *SettingsEntry) GetMetadata() *SettingsEntryMeta

func (*SettingsEntry) ProtoMessage

func (*SettingsEntry) ProtoMessage()

func (*SettingsEntry) Reset

func (m *SettingsEntry) Reset()

func (*SettingsEntry) String

func (m *SettingsEntry) String() string

func (*SettingsEntry) Validate added in v1.6.0

func (this *SettingsEntry) Validate() error

type SettingsEntryMeta

type SettingsEntryMeta struct {
	IconClass string   `protobuf:"bytes,1,opt,name=IconClass,json=icon_class" json:"IconClass,omitempty"`
	Component string   `protobuf:"bytes,2,opt,name=Component,json=component" json:"Component,omitempty"`
	Props     string   `protobuf:"bytes,3,opt,name=Props,json=props" json:"Props,omitempty"`
	Advanced  bool     `protobuf:"varint,4,opt,name=Advanced,json=advanced" json:"Advanced,omitempty"`
	Indexed   []string `protobuf:"bytes,5,rep,name=Indexed,json=indexed" json:"Indexed,omitempty"`
}

func (*SettingsEntryMeta) Descriptor

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

func (*SettingsEntryMeta) GetAdvanced added in v1.2.0

func (m *SettingsEntryMeta) GetAdvanced() bool

func (*SettingsEntryMeta) GetComponent

func (m *SettingsEntryMeta) GetComponent() string

func (*SettingsEntryMeta) GetIconClass

func (m *SettingsEntryMeta) GetIconClass() string

func (*SettingsEntryMeta) GetIndexed added in v1.2.0

func (m *SettingsEntryMeta) GetIndexed() []string

func (*SettingsEntryMeta) GetProps

func (m *SettingsEntryMeta) GetProps() string

func (*SettingsEntryMeta) ProtoMessage

func (*SettingsEntryMeta) ProtoMessage()

func (*SettingsEntryMeta) Reset

func (m *SettingsEntryMeta) Reset()

func (*SettingsEntryMeta) String

func (m *SettingsEntryMeta) String() string

func (*SettingsEntryMeta) Validate added in v1.6.0

func (this *SettingsEntryMeta) Validate() error

type SettingsMenuRequest

type SettingsMenuRequest struct {
}

func (*SettingsMenuRequest) Descriptor

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

func (*SettingsMenuRequest) ProtoMessage

func (*SettingsMenuRequest) ProtoMessage()

func (*SettingsMenuRequest) Reset

func (m *SettingsMenuRequest) Reset()

func (*SettingsMenuRequest) String

func (m *SettingsMenuRequest) String() string

func (*SettingsMenuRequest) Validate added in v1.6.0

func (this *SettingsMenuRequest) Validate() error

type SettingsMenuResponse

type SettingsMenuResponse struct {
	RootMetadata *SettingsEntryMeta `protobuf:"bytes,1,opt,name=RootMetadata,json=__metadata__" json:"RootMetadata,omitempty"`
	Sections     []*SettingsSection `protobuf:"bytes,2,rep,name=Sections" json:"Sections,omitempty"`
}

func (*SettingsMenuResponse) Descriptor

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

func (*SettingsMenuResponse) GetRootMetadata

func (m *SettingsMenuResponse) GetRootMetadata() *SettingsEntryMeta

func (*SettingsMenuResponse) GetSections

func (m *SettingsMenuResponse) GetSections() []*SettingsSection

func (*SettingsMenuResponse) ProtoMessage

func (*SettingsMenuResponse) ProtoMessage()

func (*SettingsMenuResponse) Reset

func (m *SettingsMenuResponse) Reset()

func (*SettingsMenuResponse) String

func (m *SettingsMenuResponse) String() string

func (*SettingsMenuResponse) Validate added in v1.6.0

func (this *SettingsMenuResponse) Validate() error

type SettingsSection

type SettingsSection struct {
	Key         string           `protobuf:"bytes,1,opt,name=Key" json:"Key,omitempty"`
	Label       string           `protobuf:"bytes,2,opt,name=Label,json=LABEL" json:"Label,omitempty"`
	Description string           `protobuf:"bytes,3,opt,name=Description,json=DESCRIPTION" json:"Description,omitempty"`
	Children    []*SettingsEntry `protobuf:"bytes,4,rep,name=Children,json=CHILDREN" json:"Children,omitempty"`
}

func (*SettingsSection) Descriptor

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

func (*SettingsSection) GetChildren

func (m *SettingsSection) GetChildren() []*SettingsEntry

func (*SettingsSection) GetDescription

func (m *SettingsSection) GetDescription() string

func (*SettingsSection) GetKey

func (m *SettingsSection) GetKey() string

func (*SettingsSection) GetLabel

func (m *SettingsSection) GetLabel() string

func (*SettingsSection) ProtoMessage

func (*SettingsSection) ProtoMessage()

func (*SettingsSection) Reset

func (m *SettingsSection) Reset()

func (*SettingsSection) String

func (m *SettingsSection) String() string

func (*SettingsSection) Validate added in v1.6.0

func (this *SettingsSection) Validate() error
type ShareLink struct {
	Uuid                    string                          `protobuf:"bytes,1,opt,name=Uuid" json:"Uuid,omitempty"`
	LinkHash                string                          `protobuf:"bytes,2,opt,name=LinkHash" json:"LinkHash,omitempty"`
	LinkUrl                 string                          `protobuf:"bytes,3,opt,name=LinkUrl" json:"LinkUrl,omitempty"`
	Label                   string                          `protobuf:"bytes,4,opt,name=Label" json:"Label,omitempty"`
	Description             string                          `protobuf:"bytes,5,opt,name=Description" json:"Description,omitempty"`
	UserUuid                string                          `protobuf:"bytes,6,opt,name=UserUuid" json:"UserUuid,omitempty"`
	UserLogin               string                          `protobuf:"bytes,7,opt,name=UserLogin" json:"UserLogin,omitempty"`
	PasswordRequired        bool                            `protobuf:"varint,8,opt,name=PasswordRequired" json:"PasswordRequired,omitempty"`
	AccessStart             int64                           `protobuf:"varint,9,opt,name=AccessStart" json:"AccessStart,omitempty"`
	AccessEnd               int64                           `protobuf:"varint,10,opt,name=AccessEnd" json:"AccessEnd,omitempty"`
	MaxDownloads            int64                           `protobuf:"varint,11,opt,name=MaxDownloads" json:"MaxDownloads,omitempty"`
	CurrentDownloads        int64                           `protobuf:"varint,12,opt,name=CurrentDownloads" json:"CurrentDownloads,omitempty"`
	ViewTemplateName        string                          `protobuf:"bytes,13,opt,name=ViewTemplateName" json:"ViewTemplateName,omitempty"`
	TargetUsers             map[string]*ShareLinkTargetUser `` /* 143-byte string literal not displayed */
	RestrictToTargetUsers   bool                            `protobuf:"varint,15,opt,name=RestrictToTargetUsers" json:"RestrictToTargetUsers,omitempty"`
	RootNodes               []*tree.Node                    `protobuf:"bytes,16,rep,name=RootNodes" json:"RootNodes,omitempty"`
	Permissions             []ShareLinkAccessType           `protobuf:"varint,17,rep,packed,name=Permissions,enum=rest.ShareLinkAccessType" json:"Permissions,omitempty"`
	Policies                []*service.ResourcePolicy       `protobuf:"bytes,18,rep,name=Policies" json:"Policies,omitempty"`
	PoliciesContextEditable bool                            `protobuf:"varint,19,opt,name=PoliciesContextEditable" json:"PoliciesContextEditable,omitempty"`
}

Model for representing a public link

func (*ShareLink) Descriptor

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

func (*ShareLink) GetAccessEnd

func (m *ShareLink) GetAccessEnd() int64

func (*ShareLink) GetAccessStart

func (m *ShareLink) GetAccessStart() int64

func (*ShareLink) GetCurrentDownloads

func (m *ShareLink) GetCurrentDownloads() int64

func (*ShareLink) GetDescription

func (m *ShareLink) GetDescription() string

func (*ShareLink) GetLabel

func (m *ShareLink) GetLabel() string

func (*ShareLink) GetLinkHash

func (m *ShareLink) GetLinkHash() string

func (*ShareLink) GetLinkUrl

func (m *ShareLink) GetLinkUrl() string

func (*ShareLink) GetMaxDownloads

func (m *ShareLink) GetMaxDownloads() int64

func (*ShareLink) GetPasswordRequired

func (m *ShareLink) GetPasswordRequired() bool

func (*ShareLink) GetPermissions

func (m *ShareLink) GetPermissions() []ShareLinkAccessType

func (*ShareLink) GetPolicies

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

func (*ShareLink) GetPoliciesContextEditable

func (m *ShareLink) GetPoliciesContextEditable() bool

func (*ShareLink) GetRestrictToTargetUsers

func (m *ShareLink) GetRestrictToTargetUsers() bool

func (*ShareLink) GetRootNodes

func (m *ShareLink) GetRootNodes() []*tree.Node

func (*ShareLink) GetTargetUsers

func (m *ShareLink) GetTargetUsers() map[string]*ShareLinkTargetUser

func (*ShareLink) GetUserLogin

func (m *ShareLink) GetUserLogin() string

func (*ShareLink) GetUserUuid

func (m *ShareLink) GetUserUuid() string

func (*ShareLink) GetUuid

func (m *ShareLink) GetUuid() string

func (*ShareLink) GetViewTemplateName

func (m *ShareLink) GetViewTemplateName() string

func (*ShareLink) ProtoMessage

func (*ShareLink) ProtoMessage()

func (*ShareLink) Reset

func (m *ShareLink) Reset()

func (*ShareLink) String

func (m *ShareLink) String() string

func (*ShareLink) Validate added in v1.6.0

func (this *ShareLink) Validate() error

type ShareLinkAccessType

type ShareLinkAccessType int32

Known values for link permissions

const (
	ShareLinkAccessType_NoAccess ShareLinkAccessType = 0
	ShareLinkAccessType_Preview  ShareLinkAccessType = 1
	ShareLinkAccessType_Download ShareLinkAccessType = 2
	ShareLinkAccessType_Upload   ShareLinkAccessType = 3
)

func (ShareLinkAccessType) EnumDescriptor

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

func (ShareLinkAccessType) String

func (x ShareLinkAccessType) String() string

type ShareLinkTargetUser

type ShareLinkTargetUser struct {
	Display       string `protobuf:"bytes,1,opt,name=Display" json:"Display,omitempty"`
	DownloadCount int32  `protobuf:"varint,2,opt,name=DownloadCount" json:"DownloadCount,omitempty"`
}

func (*ShareLinkTargetUser) Descriptor

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

func (*ShareLinkTargetUser) GetDisplay

func (m *ShareLinkTargetUser) GetDisplay() string

func (*ShareLinkTargetUser) GetDownloadCount

func (m *ShareLinkTargetUser) GetDownloadCount() int32

func (*ShareLinkTargetUser) ProtoMessage

func (*ShareLinkTargetUser) ProtoMessage()

func (*ShareLinkTargetUser) Reset

func (m *ShareLinkTargetUser) Reset()

func (*ShareLinkTargetUser) String

func (m *ShareLinkTargetUser) String() string

func (*ShareLinkTargetUser) Validate added in v1.6.0

func (this *ShareLinkTargetUser) Validate() error

type ShareService

type ShareService struct {
	ShareServiceHandler
}

func (*ShareService) DeleteCell

func (h *ShareService) DeleteCell(ctx context.Context, in *DeleteCellRequest, out *DeleteCellResponse) error

func (*ShareService) GetCell

func (h *ShareService) GetCell(ctx context.Context, in *GetCellRequest, out *Cell) error
func (h *ShareService) GetShareLink(ctx context.Context, in *GetShareLinkRequest, out *ShareLink) error

func (*ShareService) ListSharedResources

func (*ShareService) PutCell

func (h *ShareService) PutCell(ctx context.Context, in *PutCellRequest, out *Cell) error
func (h *ShareService) PutShareLink(ctx context.Context, in *PutShareLinkRequest, out *ShareLink) error

func (*ShareService) UpdateSharePolicies

type ShareServiceClient

type ShareServiceClient interface {
	// Put or Create a share room
	PutCell(ctx context.Context, in *PutCellRequest, opts ...client.CallOption) (*Cell, error)
	// Load a share room
	GetCell(ctx context.Context, in *GetCellRequest, opts ...client.CallOption) (*Cell, error)
	// Delete a share room
	DeleteCell(ctx context.Context, in *DeleteCellRequest, opts ...client.CallOption) (*DeleteCellResponse, error)
	// Put or Create a share room
	PutShareLink(ctx context.Context, in *PutShareLinkRequest, opts ...client.CallOption) (*ShareLink, error)
	// Load a share link with all infos
	GetShareLink(ctx context.Context, in *GetShareLinkRequest, opts ...client.CallOption) (*ShareLink, error)
	// Delete Share Link
	DeleteShareLink(ctx context.Context, in *DeleteShareLinkRequest, opts ...client.CallOption) (*DeleteShareLinkResponse, error)
	// List Shared Resources for current user or all users
	ListSharedResources(ctx context.Context, in *ListSharedResourcesRequest, opts ...client.CallOption) (*ListSharedResourcesResponse, error)
	// Updates policies associated to the underlying workspace for a Cell or a ShareLink
	UpdateSharePolicies(ctx context.Context, in *UpdateSharePoliciesRequest, opts ...client.CallOption) (*UpdateSharePoliciesResponse, error)
}

func NewShareServiceClient

func NewShareServiceClient(serviceName string, c client.Client) ShareServiceClient

type ShareServiceHandler

type ShareServiceHandler interface {
	// Put or Create a share room
	PutCell(context.Context, *PutCellRequest, *Cell) error
	// Load a share room
	GetCell(context.Context, *GetCellRequest, *Cell) error
	// Delete a share room
	DeleteCell(context.Context, *DeleteCellRequest, *DeleteCellResponse) error
	// Put or Create a share room
	PutShareLink(context.Context, *PutShareLinkRequest, *ShareLink) error
	// Load a share link with all infos
	GetShareLink(context.Context, *GetShareLinkRequest, *ShareLink) error
	// Delete Share Link
	DeleteShareLink(context.Context, *DeleteShareLinkRequest, *DeleteShareLinkResponse) error
	// List Shared Resources for current user or all users
	ListSharedResources(context.Context, *ListSharedResourcesRequest, *ListSharedResourcesResponse) error
	// Updates policies associated to the underlying workspace for a Cell or a ShareLink
	UpdateSharePolicies(context.Context, *UpdateSharePoliciesRequest, *UpdateSharePoliciesResponse) error
}

type SubscriptionsCollection

type SubscriptionsCollection struct {
	Subscriptions []*activity.Subscription `protobuf:"bytes,1,rep,name=subscriptions" json:"subscriptions,omitempty"`
}

func (*SubscriptionsCollection) Descriptor

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

func (*SubscriptionsCollection) GetSubscriptions

func (m *SubscriptionsCollection) GetSubscriptions() []*activity.Subscription

func (*SubscriptionsCollection) ProtoMessage

func (*SubscriptionsCollection) ProtoMessage()

func (*SubscriptionsCollection) Reset

func (m *SubscriptionsCollection) Reset()

func (*SubscriptionsCollection) String

func (m *SubscriptionsCollection) String() string

func (*SubscriptionsCollection) Validate added in v1.6.0

func (this *SubscriptionsCollection) Validate() error

type Template added in v1.2.2

type Template struct {
	// Unique identifier for this template
	UUID string `protobuf:"bytes,1,opt,name=UUID" json:"UUID,omitempty"`
	// Human friendly label
	Label string `protobuf:"bytes,2,opt,name=Label" json:"Label,omitempty"`
	// Template node, can be a file or a tree of folders
	Node *TemplateNode `protobuf:"bytes,3,opt,name=Node" json:"Node,omitempty"`
	// Associated policies
	Policies []*service.ResourcePolicy `protobuf:"bytes,4,rep,name=Policies" json:"Policies,omitempty"`
}

A template can be used to create files or tree from scratch

func (*Template) Descriptor added in v1.2.2

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

func (*Template) GetLabel added in v1.2.2

func (m *Template) GetLabel() string

func (*Template) GetNode added in v1.2.2

func (m *Template) GetNode() *TemplateNode

func (*Template) GetPolicies added in v1.2.2

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

func (*Template) GetUUID added in v1.2.2

func (m *Template) GetUUID() string

func (*Template) ProtoMessage added in v1.2.2

func (*Template) ProtoMessage()

func (*Template) Reset added in v1.2.2

func (m *Template) Reset()

func (*Template) String added in v1.2.2

func (m *Template) String() string

func (*Template) Validate added in v1.6.0

func (this *Template) Validate() error

type TemplateNode added in v1.2.2

type TemplateNode struct {
	// Whether it's a file or a folder
	IsFile bool `protobuf:"varint,1,opt,name=IsFile" json:"IsFile,omitempty"`
	// If stored in binary store, the binary Uuid
	BinaryUUUID string `protobuf:"bytes,2,opt,name=BinaryUUUID" json:"BinaryUUUID,omitempty"`
	// If it's embedded in binary
	EmbedPath string `protobuf:"bytes,3,opt,name=EmbedPath" json:"EmbedPath,omitempty"`
	// One or more children
	Children []*TemplateNode `protobuf:"bytes,4,rep,name=Children" json:"Children,omitempty"`
}

A template node is representing a file or a folder

func (*TemplateNode) Descriptor added in v1.2.2

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

func (*TemplateNode) GetBinaryUUUID added in v1.2.2

func (m *TemplateNode) GetBinaryUUUID() string

func (*TemplateNode) GetChildren added in v1.2.2

func (m *TemplateNode) GetChildren() []*TemplateNode

func (*TemplateNode) GetEmbedPath added in v1.2.2

func (m *TemplateNode) GetEmbedPath() string

func (*TemplateNode) GetIsFile added in v1.2.2

func (m *TemplateNode) GetIsFile() bool

func (*TemplateNode) ProtoMessage added in v1.2.2

func (*TemplateNode) ProtoMessage()

func (*TemplateNode) Reset added in v1.2.2

func (m *TemplateNode) Reset()

func (*TemplateNode) String added in v1.2.2

func (m *TemplateNode) String() string

func (*TemplateNode) Validate added in v1.6.0

func (this *TemplateNode) Validate() error

type TemplatesService

type TemplatesService struct {
	TemplatesServiceHandler
}

func (*TemplatesService) ListTemplates

type TemplatesServiceClient

type TemplatesServiceClient interface {
	// List available templates
	ListTemplates(ctx context.Context, in *ListTemplatesRequest, opts ...client.CallOption) (*ListTemplatesResponse, error)
}

func NewTemplatesServiceClient

func NewTemplatesServiceClient(serviceName string, c client.Client) TemplatesServiceClient

type TemplatesServiceHandler

type TemplatesServiceHandler interface {
	// List available templates
	ListTemplates(context.Context, *ListTemplatesRequest, *ListTemplatesResponse) error
}

type TimeRangeResultCollection

type TimeRangeResultCollection struct {
	Results []*log.TimeRangeResult `protobuf:"bytes,1,rep,name=Results" json:"Results,omitempty"`
	Links   []*log.TimeRangeCursor `protobuf:"bytes,2,rep,name=Links" json:"Links,omitempty"`
}

Collection of serialized aggregated result of time range request with a cursor to ease navigation implementation

func (*TimeRangeResultCollection) Descriptor

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

func (*TimeRangeResultCollection) GetResults

func (m *TimeRangeResultCollection) GetResults() []*log.TimeRangeResult

func (*TimeRangeResultCollection) ProtoMessage

func (*TimeRangeResultCollection) ProtoMessage()

func (*TimeRangeResultCollection) Reset

func (m *TimeRangeResultCollection) Reset()

func (*TimeRangeResultCollection) String

func (m *TimeRangeResultCollection) String() string

func (*TimeRangeResultCollection) Validate added in v1.6.0

func (this *TimeRangeResultCollection) Validate() error

type TokenService

type TokenService struct {
	TokenServiceHandler
}

func (*TokenService) ResetPassword

func (*TokenService) ResetPasswordToken

func (*TokenService) Revoke

func (h *TokenService) Revoke(ctx context.Context, in *RevokeRequest, out *RevokeResponse) error

type TokenServiceClient

type TokenServiceClient interface {
	// Revoke a JWT token
	Revoke(ctx context.Context, in *RevokeRequest, opts ...client.CallOption) (*RevokeResponse, error)
	// Generate a unique token for the reset password process
	ResetPasswordToken(ctx context.Context, in *ResetPasswordTokenRequest, opts ...client.CallOption) (*ResetPasswordTokenResponse, error)
	// Finish up the reset password process by providing the unique token
	ResetPassword(ctx context.Context, in *ResetPasswordRequest, opts ...client.CallOption) (*ResetPasswordResponse, error)
}

func NewTokenServiceClient

func NewTokenServiceClient(serviceName string, c client.Client) TokenServiceClient

type TokenServiceHandler

type TokenServiceHandler interface {
	// Revoke a JWT token
	Revoke(context.Context, *RevokeRequest, *RevokeResponse) error
	// Generate a unique token for the reset password process
	ResetPasswordToken(context.Context, *ResetPasswordTokenRequest, *ResetPasswordTokenResponse) error
	// Finish up the reset password process by providing the unique token
	ResetPassword(context.Context, *ResetPasswordRequest, *ResetPasswordResponse) error
}

type TreeService

type TreeService struct {
	TreeServiceHandler
}

func (*TreeService) BulkStatNodes

func (h *TreeService) BulkStatNodes(ctx context.Context, in *GetBulkMetaRequest, out *BulkMetaResponse) error

func (*TreeService) CreateNodes

func (h *TreeService) CreateNodes(ctx context.Context, in *CreateNodesRequest, out *NodesCollection) error

func (*TreeService) CreateSelection

func (*TreeService) DeleteNodes

func (h *TreeService) DeleteNodes(ctx context.Context, in *DeleteNodesRequest, out *DeleteNodesResponse) error

func (*TreeService) HeadNode

func (h *TreeService) HeadNode(ctx context.Context, in *HeadNodeRequest, out *HeadNodeResponse) error

func (*TreeService) RestoreNodes

func (h *TreeService) RestoreNodes(ctx context.Context, in *RestoreNodesRequest, out *RestoreNodesResponse) error

type TreeServiceClient

type TreeServiceClient interface {
	// List meta for a list of nodes, or a full directory using /path/* syntax
	BulkStatNodes(ctx context.Context, in *GetBulkMetaRequest, opts ...client.CallOption) (*BulkMetaResponse, error)
	// Create dirs or empty files inside the tree
	CreateNodes(ctx context.Context, in *CreateNodesRequest, opts ...client.CallOption) (*NodesCollection, error)
	// Return node meta without the node content itself
	HeadNode(ctx context.Context, in *HeadNodeRequest, opts ...client.CallOption) (*HeadNodeResponse, error)
	// Handle nodes deletion
	DeleteNodes(ctx context.Context, in *DeleteNodesRequest, opts ...client.CallOption) (*DeleteNodesResponse, error)
	// Handle nodes restoration from recycle bin
	RestoreNodes(ctx context.Context, in *RestoreNodesRequest, opts ...client.CallOption) (*RestoreNodesResponse, error)
	// Create a temporary selection for further action (namely download)
	CreateSelection(ctx context.Context, in *CreateSelectionRequest, opts ...client.CallOption) (*CreateSelectionResponse, error)
}

func NewTreeServiceClient

func NewTreeServiceClient(serviceName string, c client.Client) TreeServiceClient

type TreeServiceHandler

type TreeServiceHandler interface {
	// List meta for a list of nodes, or a full directory using /path/* syntax
	BulkStatNodes(context.Context, *GetBulkMetaRequest, *BulkMetaResponse) error
	// Create dirs or empty files inside the tree
	CreateNodes(context.Context, *CreateNodesRequest, *NodesCollection) error
	// Return node meta without the node content itself
	HeadNode(context.Context, *HeadNodeRequest, *HeadNodeResponse) error
	// Handle nodes deletion
	DeleteNodes(context.Context, *DeleteNodesRequest, *DeleteNodesResponse) error
	// Handle nodes restoration from recycle bin
	RestoreNodes(context.Context, *RestoreNodesRequest, *RestoreNodesResponse) error
	// Create a temporary selection for further action (namely download)
	CreateSelection(context.Context, *CreateSelectionRequest, *CreateSelectionResponse) error
}

type UpdateService

type UpdateService struct {
	UpdateServiceHandler
}

func (*UpdateService) ApplyUpdate

func (*UpdateService) UpdateRequired

func (h *UpdateService) UpdateRequired(ctx context.Context, in *update.UpdateRequest, out *update.UpdateResponse) error

type UpdateServiceClient

type UpdateServiceClient interface {
	// Check the remote server to see if there are available binaries
	UpdateRequired(ctx context.Context, in *update.UpdateRequest, opts ...client.CallOption) (*update.UpdateResponse, error)
	// Apply an update to a given version
	ApplyUpdate(ctx context.Context, in *update.ApplyUpdateRequest, opts ...client.CallOption) (*update.ApplyUpdateResponse, error)
}

func NewUpdateServiceClient

func NewUpdateServiceClient(serviceName string, c client.Client) UpdateServiceClient

type UpdateServiceHandler

type UpdateServiceHandler interface {
	// Check the remote server to see if there are available binaries
	UpdateRequired(context.Context, *update.UpdateRequest, *update.UpdateResponse) error
	// Apply an update to a given version
	ApplyUpdate(context.Context, *update.ApplyUpdateRequest, *update.ApplyUpdateResponse) error
}

type UpdateSharePoliciesRequest added in v1.5.3

type UpdateSharePoliciesRequest struct {
	Uuid     string                    `protobuf:"bytes,1,opt,name=Uuid" json:"Uuid,omitempty"`
	Policies []*service.ResourcePolicy `protobuf:"bytes,2,rep,name=Policies" json:"Policies,omitempty"`
}

func (*UpdateSharePoliciesRequest) Descriptor added in v1.5.3

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

func (*UpdateSharePoliciesRequest) GetPolicies added in v1.5.3

func (*UpdateSharePoliciesRequest) GetUuid added in v1.5.3

func (m *UpdateSharePoliciesRequest) GetUuid() string

func (*UpdateSharePoliciesRequest) ProtoMessage added in v1.5.3

func (*UpdateSharePoliciesRequest) ProtoMessage()

func (*UpdateSharePoliciesRequest) Reset added in v1.5.3

func (m *UpdateSharePoliciesRequest) Reset()

func (*UpdateSharePoliciesRequest) String added in v1.5.3

func (m *UpdateSharePoliciesRequest) String() string

func (*UpdateSharePoliciesRequest) Validate added in v1.6.0

func (this *UpdateSharePoliciesRequest) Validate() error

type UpdateSharePoliciesResponse added in v1.5.3

type UpdateSharePoliciesResponse struct {
	Success                 bool                      `protobuf:"varint,1,opt,name=Success" json:"Success,omitempty"`
	Policies                []*service.ResourcePolicy `protobuf:"bytes,2,rep,name=Policies" json:"Policies,omitempty"`
	PoliciesContextEditable bool                      `protobuf:"varint,3,opt,name=PoliciesContextEditable" json:"PoliciesContextEditable,omitempty"`
}

func (*UpdateSharePoliciesResponse) Descriptor added in v1.5.3

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

func (*UpdateSharePoliciesResponse) GetPolicies added in v1.5.3

func (*UpdateSharePoliciesResponse) GetPoliciesContextEditable added in v1.5.3

func (m *UpdateSharePoliciesResponse) GetPoliciesContextEditable() bool

func (*UpdateSharePoliciesResponse) GetSuccess added in v1.5.3

func (m *UpdateSharePoliciesResponse) GetSuccess() bool

func (*UpdateSharePoliciesResponse) ProtoMessage added in v1.5.3

func (*UpdateSharePoliciesResponse) ProtoMessage()

func (*UpdateSharePoliciesResponse) Reset added in v1.5.3

func (m *UpdateSharePoliciesResponse) Reset()

func (*UpdateSharePoliciesResponse) String added in v1.5.3

func (m *UpdateSharePoliciesResponse) String() string

func (*UpdateSharePoliciesResponse) Validate added in v1.6.0

func (this *UpdateSharePoliciesResponse) Validate() error

type UserBookmarksRequest

type UserBookmarksRequest struct {
}

func (*UserBookmarksRequest) Descriptor

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

func (*UserBookmarksRequest) ProtoMessage

func (*UserBookmarksRequest) ProtoMessage()

func (*UserBookmarksRequest) Reset

func (m *UserBookmarksRequest) Reset()

func (*UserBookmarksRequest) String

func (m *UserBookmarksRequest) String() string

func (*UserBookmarksRequest) Validate added in v1.6.0

func (this *UserBookmarksRequest) Validate() error

type UserJobRequest

type UserJobRequest struct {
	JobName        string `protobuf:"bytes,1,opt,name=JobName" json:"JobName,omitempty"`
	JsonParameters string `protobuf:"bytes,2,opt,name=JsonParameters" json:"JsonParameters,omitempty"`
}

func (*UserJobRequest) Descriptor

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

func (*UserJobRequest) GetJobName

func (m *UserJobRequest) GetJobName() string

func (*UserJobRequest) GetJsonParameters

func (m *UserJobRequest) GetJsonParameters() string

func (*UserJobRequest) ProtoMessage

func (*UserJobRequest) ProtoMessage()

func (*UserJobRequest) Reset

func (m *UserJobRequest) Reset()

func (*UserJobRequest) String

func (m *UserJobRequest) String() string

func (*UserJobRequest) Validate added in v1.6.0

func (this *UserJobRequest) Validate() error

type UserJobResponse

type UserJobResponse struct {
	JobUuid string `protobuf:"bytes,1,opt,name=JobUuid" json:"JobUuid,omitempty"`
}

func (*UserJobResponse) Descriptor

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

func (*UserJobResponse) GetJobUuid

func (m *UserJobResponse) GetJobUuid() string

func (*UserJobResponse) ProtoMessage

func (*UserJobResponse) ProtoMessage()

func (*UserJobResponse) Reset

func (m *UserJobResponse) Reset()

func (*UserJobResponse) String

func (m *UserJobResponse) String() string

func (*UserJobResponse) Validate added in v1.6.0

func (this *UserJobResponse) Validate() error

type UserJobsCollection

type UserJobsCollection struct {
	Jobs []*jobs.Job `protobuf:"bytes,1,rep,name=Jobs" json:"Jobs,omitempty"`
}

func (*UserJobsCollection) Descriptor

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

func (*UserJobsCollection) GetJobs

func (m *UserJobsCollection) GetJobs() []*jobs.Job

func (*UserJobsCollection) ProtoMessage

func (*UserJobsCollection) ProtoMessage()

func (*UserJobsCollection) Reset

func (m *UserJobsCollection) Reset()

func (*UserJobsCollection) String

func (m *UserJobsCollection) String() string

func (*UserJobsCollection) Validate added in v1.6.0

func (this *UserJobsCollection) Validate() error

type UserMetaCollection

type UserMetaCollection struct {
	Metadatas []*idm.UserMeta `protobuf:"bytes,1,rep,name=Metadatas" json:"Metadatas,omitempty"`
}

Collection of UserMeta

func (*UserMetaCollection) Descriptor

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

func (*UserMetaCollection) GetMetadatas

func (m *UserMetaCollection) GetMetadatas() []*idm.UserMeta

func (*UserMetaCollection) ProtoMessage

func (*UserMetaCollection) ProtoMessage()

func (*UserMetaCollection) Reset

func (m *UserMetaCollection) Reset()

func (*UserMetaCollection) String

func (m *UserMetaCollection) String() string

func (*UserMetaCollection) Validate added in v1.6.0

func (this *UserMetaCollection) Validate() error

type UserMetaNamespaceCollection

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

Collection of Meta Namespaces

func (*UserMetaNamespaceCollection) Descriptor

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

func (*UserMetaNamespaceCollection) GetNamespaces

func (m *UserMetaNamespaceCollection) GetNamespaces() []*idm.UserMetaNamespace

func (*UserMetaNamespaceCollection) ProtoMessage

func (*UserMetaNamespaceCollection) ProtoMessage()

func (*UserMetaNamespaceCollection) Reset

func (m *UserMetaNamespaceCollection) Reset()

func (*UserMetaNamespaceCollection) String

func (m *UserMetaNamespaceCollection) String() string

func (*UserMetaNamespaceCollection) Validate added in v1.6.0

func (this *UserMetaNamespaceCollection) Validate() error

type UserMetaService

type UserMetaService struct {
	UserMetaServiceHandler
}

func (*UserMetaService) DeleteUserMetaTags

func (*UserMetaService) ListUserMetaNamespace

func (*UserMetaService) ListUserMetaTags

func (*UserMetaService) PutUserMetaTag

func (*UserMetaService) SearchUserMeta

func (*UserMetaService) UpdateUserMeta

func (*UserMetaService) UpdateUserMetaNamespace

func (*UserMetaService) UserBookmarks

func (h *UserMetaService) UserBookmarks(ctx context.Context, in *UserBookmarksRequest, out *BulkMetaResponse) error

type UserMetaServiceClient

type UserMetaServiceClient interface {
	// Update/delete user meta
	UpdateUserMeta(ctx context.Context, in *idm.UpdateUserMetaRequest, opts ...client.CallOption) (*idm.UpdateUserMetaResponse, error)
	// Search a list of meta by node Id or by User id and by namespace
	SearchUserMeta(ctx context.Context, in *idm.SearchUserMetaRequest, opts ...client.CallOption) (*UserMetaCollection, error)
	// Special API for Bookmarks, will load userMeta and the associated nodes, and return
	// as a node list
	UserBookmarks(ctx context.Context, in *UserBookmarksRequest, opts ...client.CallOption) (*BulkMetaResponse, error)
	// Admin: update namespaces
	UpdateUserMetaNamespace(ctx context.Context, in *idm.UpdateUserMetaNamespaceRequest, opts ...client.CallOption) (*idm.UpdateUserMetaNamespaceResponse, error)
	// List defined meta namespaces
	ListUserMetaNamespace(ctx context.Context, in *idm.ListUserMetaNamespaceRequest, opts ...client.CallOption) (*UserMetaNamespaceCollection, error)
	// List Tags for a given namespace
	ListUserMetaTags(ctx context.Context, in *ListUserMetaTagsRequest, opts ...client.CallOption) (*ListUserMetaTagsResponse, error)
	// Add a new value to Tags for a given namespace
	PutUserMetaTag(ctx context.Context, in *PutUserMetaTagRequest, opts ...client.CallOption) (*PutUserMetaTagResponse, error)
	// Delete one or all tags for a given namespace (use * for all tags)
	DeleteUserMetaTags(ctx context.Context, in *DeleteUserMetaTagsRequest, opts ...client.CallOption) (*DeleteUserMetaTagsResponse, error)
}

func NewUserMetaServiceClient

func NewUserMetaServiceClient(serviceName string, c client.Client) UserMetaServiceClient

type UserMetaServiceHandler

type UserMetaServiceHandler interface {
	// Update/delete user meta
	UpdateUserMeta(context.Context, *idm.UpdateUserMetaRequest, *idm.UpdateUserMetaResponse) error
	// Search a list of meta by node Id or by User id and by namespace
	SearchUserMeta(context.Context, *idm.SearchUserMetaRequest, *UserMetaCollection) error
	// Special API for Bookmarks, will load userMeta and the associated nodes, and return
	// as a node list
	UserBookmarks(context.Context, *UserBookmarksRequest, *BulkMetaResponse) error
	// Admin: update namespaces
	UpdateUserMetaNamespace(context.Context, *idm.UpdateUserMetaNamespaceRequest, *idm.UpdateUserMetaNamespaceResponse) error
	// List defined meta namespaces
	ListUserMetaNamespace(context.Context, *idm.ListUserMetaNamespaceRequest, *UserMetaNamespaceCollection) error
	// List Tags for a given namespace
	ListUserMetaTags(context.Context, *ListUserMetaTagsRequest, *ListUserMetaTagsResponse) error
	// Add a new value to Tags for a given namespace
	PutUserMetaTag(context.Context, *PutUserMetaTagRequest, *PutUserMetaTagResponse) error
	// Delete one or all tags for a given namespace (use * for all tags)
	DeleteUserMetaTags(context.Context, *DeleteUserMetaTagsRequest, *DeleteUserMetaTagsResponse) error
}

type UserService

type UserService struct {
	UserServiceHandler
}

func (*UserService) DeleteUser

func (h *UserService) DeleteUser(ctx context.Context, in *idm.User, out *DeleteResponse) error

func (*UserService) GetUser

func (h *UserService) GetUser(ctx context.Context, in *idm.User, out *idm.User) error

func (*UserService) PutRoles

func (h *UserService) PutRoles(ctx context.Context, in *idm.User, out *idm.User) error

func (*UserService) PutUser

func (h *UserService) PutUser(ctx context.Context, in *idm.User, out *idm.User) error

func (*UserService) SearchUsers

func (h *UserService) SearchUsers(ctx context.Context, in *SearchUserRequest, out *UsersCollection) error

type UserServiceClient

type UserServiceClient interface {
	// Create or update a user
	PutUser(ctx context.Context, in *idm.User, opts ...client.CallOption) (*idm.User, error)
	// Delete a user
	DeleteUser(ctx context.Context, in *idm.User, opts ...client.CallOption) (*DeleteResponse, error)
	// Get a user by login
	GetUser(ctx context.Context, in *idm.User, opts ...client.CallOption) (*idm.User, error)
	// List/Search users
	SearchUsers(ctx context.Context, in *SearchUserRequest, opts ...client.CallOption) (*UsersCollection, error)
	// Just save a user roles, without other datas
	PutRoles(ctx context.Context, in *idm.User, opts ...client.CallOption) (*idm.User, error)
}

func NewUserServiceClient

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

type UserServiceHandler

type UserServiceHandler interface {
	// Create or update a user
	PutUser(context.Context, *idm.User, *idm.User) error
	// Delete a user
	DeleteUser(context.Context, *idm.User, *DeleteResponse) error
	// Get a user by login
	GetUser(context.Context, *idm.User, *idm.User) error
	// List/Search users
	SearchUsers(context.Context, *SearchUserRequest, *UsersCollection) error
	// Just save a user roles, without other datas
	PutRoles(context.Context, *idm.User, *idm.User) error
}

type UserStateRequest

type UserStateRequest struct {
	Segment string `protobuf:"bytes,1,opt,name=Segment" json:"Segment,omitempty"`
}

func (*UserStateRequest) Descriptor

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

func (*UserStateRequest) GetSegment

func (m *UserStateRequest) GetSegment() string

func (*UserStateRequest) ProtoMessage

func (*UserStateRequest) ProtoMessage()

func (*UserStateRequest) Reset

func (m *UserStateRequest) Reset()

func (*UserStateRequest) String

func (m *UserStateRequest) String() string

func (*UserStateRequest) Validate added in v1.6.0

func (this *UserStateRequest) Validate() error

type UserStateResponse

type UserStateResponse struct {
	Workspaces         []*idm.Workspace  `protobuf:"bytes,1,rep,name=Workspaces" json:"Workspaces,omitempty"`
	WorkspacesAccesses map[string]string `` /* 156-byte string literal not displayed */
}

func (*UserStateResponse) Descriptor

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

func (*UserStateResponse) GetWorkspaces

func (m *UserStateResponse) GetWorkspaces() []*idm.Workspace

func (*UserStateResponse) GetWorkspacesAccesses

func (m *UserStateResponse) GetWorkspacesAccesses() map[string]string

func (*UserStateResponse) ProtoMessage

func (*UserStateResponse) ProtoMessage()

func (*UserStateResponse) Reset

func (m *UserStateResponse) Reset()

func (*UserStateResponse) String

func (m *UserStateResponse) String() string

func (*UserStateResponse) Validate added in v1.6.0

func (this *UserStateResponse) Validate() error

type UsersCollection

type UsersCollection struct {
	Groups []*idm.User `protobuf:"bytes,1,rep,name=Groups" json:"Groups,omitempty"`
	Users  []*idm.User `protobuf:"bytes,2,rep,name=Users" json:"Users,omitempty"`
	Total  int32       `protobuf:"varint,3,opt,name=Total" json:"Total,omitempty"`
}

Users Collection

func (*UsersCollection) Descriptor

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

func (*UsersCollection) GetGroups

func (m *UsersCollection) GetGroups() []*idm.User

func (*UsersCollection) GetTotal

func (m *UsersCollection) GetTotal() int32

func (*UsersCollection) GetUsers

func (m *UsersCollection) GetUsers() []*idm.User

func (*UsersCollection) ProtoMessage

func (*UsersCollection) ProtoMessage()

func (*UsersCollection) Reset

func (m *UsersCollection) Reset()

func (*UsersCollection) String

func (m *UsersCollection) String() string

func (*UsersCollection) Validate added in v1.6.0

func (this *UsersCollection) Validate() error

type VersioningPolicyCollection

type VersioningPolicyCollection struct {
	Policies []*tree.VersioningPolicy `protobuf:"bytes,1,rep,name=Policies" json:"Policies,omitempty"`
}

func (*VersioningPolicyCollection) Descriptor

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

func (*VersioningPolicyCollection) GetPolicies

func (m *VersioningPolicyCollection) GetPolicies() []*tree.VersioningPolicy

func (*VersioningPolicyCollection) ProtoMessage

func (*VersioningPolicyCollection) ProtoMessage()

func (*VersioningPolicyCollection) Reset

func (m *VersioningPolicyCollection) Reset()

func (*VersioningPolicyCollection) String

func (m *VersioningPolicyCollection) String() string

func (*VersioningPolicyCollection) Validate added in v1.6.0

func (this *VersioningPolicyCollection) Validate() error

type WorkspaceCollection

type WorkspaceCollection struct {
	Workspaces []*idm.Workspace `protobuf:"bytes,1,rep,name=Workspaces" json:"Workspaces,omitempty"`
	Total      int32            `protobuf:"varint,2,opt,name=Total" json:"Total,omitempty"`
}

Rest response for workspace search

func (*WorkspaceCollection) Descriptor

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

func (*WorkspaceCollection) GetTotal

func (m *WorkspaceCollection) GetTotal() int32

func (*WorkspaceCollection) GetWorkspaces

func (m *WorkspaceCollection) GetWorkspaces() []*idm.Workspace

func (*WorkspaceCollection) ProtoMessage

func (*WorkspaceCollection) ProtoMessage()

func (*WorkspaceCollection) Reset

func (m *WorkspaceCollection) Reset()

func (*WorkspaceCollection) String

func (m *WorkspaceCollection) String() string

func (*WorkspaceCollection) Validate added in v1.6.0

func (this *WorkspaceCollection) Validate() error

type WorkspaceService

type WorkspaceService struct {
	WorkspaceServiceHandler
}

func (*WorkspaceService) DeleteWorkspace

func (h *WorkspaceService) DeleteWorkspace(ctx context.Context, in *idm.Workspace, out *DeleteResponse) error

func (*WorkspaceService) PutWorkspace

func (h *WorkspaceService) PutWorkspace(ctx context.Context, in *idm.Workspace, out *idm.Workspace) error

func (*WorkspaceService) SearchWorkspaces

type WorkspaceServiceClient

type WorkspaceServiceClient interface {
	// Create or update a workspace
	PutWorkspace(ctx context.Context, in *idm.Workspace, opts ...client.CallOption) (*idm.Workspace, error)
	// Delete an existing workspace
	DeleteWorkspace(ctx context.Context, in *idm.Workspace, opts ...client.CallOption) (*DeleteResponse, error)
	// Search workspaces on certain keys
	SearchWorkspaces(ctx context.Context, in *SearchWorkspaceRequest, opts ...client.CallOption) (*WorkspaceCollection, error)
}

func NewWorkspaceServiceClient

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

type WorkspaceServiceHandler

type WorkspaceServiceHandler interface {
	// Create or update a workspace
	PutWorkspace(context.Context, *idm.Workspace, *idm.Workspace) error
	// Delete an existing workspace
	DeleteWorkspace(context.Context, *idm.Workspace, *DeleteResponse) error
	// Search workspaces on certain keys
	SearchWorkspaces(context.Context, *SearchWorkspaceRequest, *WorkspaceCollection) error
}

Directories

Path Synopsis
Package cmd provides a specific tool for transforming json swagger file into a go file
Package cmd provides a specific tool for transforming json swagger file into a go file

Jump to

Keyboard shortcuts

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