Documentation ¶
Index ¶
- type Handler
- func (s *Handler) ConfigFormsDiscovery(req *restful.Request, rsp *restful.Response)
- func (h *Handler) ControlService(req *restful.Request, resp *restful.Response)
- func (s *Handler) CreateEncryptionKey(req *restful.Request, resp *restful.Response)
- func (h *Handler) CreatePeerFolder(req *restful.Request, resp *restful.Response)
- func (s *Handler) CreateStorageBucket(req *restful.Request, resp *restful.Response)
- func (s *Handler) DeleteDataSource(req *restful.Request, resp *restful.Response)
- func (s *Handler) DeleteEncryptionKey(req *restful.Request, resp *restful.Response)
- func (s *Handler) EndpointsDiscovery(req *restful.Request, resp *restful.Response)
- func (s *Handler) ExportEncryptionKey(req *restful.Request, resp *restful.Response)
- func (a *Handler) Filter() func(string) string
- func (s *Handler) GetConfig(req *restful.Request, resp *restful.Response)
- func (s *Handler) GetDataSource(req *restful.Request, resp *restful.Response)
- func (s *Handler) GetVersioningPolicy(req *restful.Request, resp *restful.Response)
- func (s *Handler) ImportEncryptionKey(req *restful.Request, resp *restful.Response)
- func (s *Handler) ListDataSources(req *restful.Request, resp *restful.Response)
- func (s *Handler) ListEncryptionKeys(req *restful.Request, resp *restful.Response)
- func (h *Handler) ListPeerFolders(req *restful.Request, resp *restful.Response)
- func (h *Handler) ListPeersAddresses(req *restful.Request, resp *restful.Response)
- func (h *Handler) ListProcesses(req *restful.Request, resp *restful.Response)
- func (h *Handler) ListRegistry(req *restful.Request, resp *restful.Response)
- func (h *Handler) ListServices(req *restful.Request, resp *restful.Response)
- func (s *Handler) ListSites(req *restful.Request, rsp *restful.Response)
- func (s *Handler) ListStorageBuckets(req *restful.Request, resp *restful.Response)
- func (s *Handler) ListVersioningPolicies(req *restful.Request, resp *restful.Response)
- func (s *Handler) ListVirtualNodes(req *restful.Request, resp *restful.Response)
- func (s *Handler) OpenApiDiscovery(req *restful.Request, resp *restful.Response)
- func (s *Handler) PutConfig(req *restful.Request, resp *restful.Response)
- func (s *Handler) PutDataSource(req *restful.Request, resp *restful.Response)
- func (s *Handler) SchedulerActionFormDiscovery(req *restful.Request, rsp *restful.Response)
- func (s *Handler) SchedulerActionsDiscovery(req *restful.Request, rsp *restful.Response)
- func (a *Handler) SwaggerTags() []string
- func (h *Handler) ValidateLocalDSFolderOnPeer(ctx context.Context, newSource *object.DataSource) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
func (*Handler) ConfigFormsDiscovery ¶
ConfigFormsDiscovery serves an XML description for building a form
func (*Handler) ControlService ¶
ControlService is sends a command to a specific service - Not used for the moment.
func (*Handler) CreateEncryptionKey ¶
CreateEncryptionKey simply forwards to underlying key service
func (*Handler) CreatePeerFolder ¶
CreatePeerFolder forwards folder creation call to specific peer
func (*Handler) CreateStorageBucket ¶ added in v4.0.1
CreateStorageBucket instantiates a Storage client to create a bucket
func (*Handler) DeleteDataSource ¶
func (*Handler) DeleteEncryptionKey ¶
DeleteEncryptionKey simply forwards to underlying key service
func (*Handler) EndpointsDiscovery ¶
EndpointsDiscovery publishes a list of available endpoints
func (*Handler) ExportEncryptionKey ¶
ExportEncryptionKey simply forwards to underlying key service
func (*Handler) GetDataSource ¶
GetDataSource retrieves a datasource given its name.
func (*Handler) GetVersioningPolicy ¶
GetVersioningPolicy returns a specific policy
func (*Handler) ImportEncryptionKey ¶
ImportEncryptionKey forwards call to underlying key service
func (*Handler) ListDataSources ¶
func (*Handler) ListEncryptionKeys ¶
ListEncryptionKeys simply forwards to underlying key service
func (*Handler) ListPeerFolders ¶
ListPeerFolders lists folders on a given peer to configure a local folder datasource.
func (*Handler) ListPeersAddresses ¶
ListPeersAddresses lists all Peers (servers) on which any pydio service is running
func (*Handler) ListProcesses ¶
ListProcesses lists running Processes from registry, with option PeerId or ServiceName filter.
func (*Handler) ListRegistry ¶ added in v4.0.1
func (*Handler) ListServices ¶
ListServices lists all services with their status
func (*Handler) ListStorageBuckets ¶
ListStorageBuckets implements corresponding API. Lists available buckets on a remote object storage. Currently only supports S3 type storages.
func (*Handler) ListVersioningPolicies ¶
ListVersioningPolicies list all defined policies.
func (*Handler) ListVirtualNodes ¶
ListVirtualNodes list all defined template paths.
func (*Handler) OpenApiDiscovery ¶
OpenApiDiscovery prints out the Swagger Spec in JSON format
func (*Handler) PutDataSource ¶
func (*Handler) SchedulerActionFormDiscovery ¶
SchedulerActionFormDiscovery sends an XML-serialized form for building parameters for a given action
func (*Handler) SchedulerActionsDiscovery ¶
SchedulerActionsDiscovery lists all registered actions
func (*Handler) SwaggerTags ¶
SwaggerTags list the names of the service tags declared in the swagger json implemented by this service
func (*Handler) ValidateLocalDSFolderOnPeer ¶
func (h *Handler) ValidateLocalDSFolderOnPeer(ctx context.Context, newSource *object.DataSource) error
ValidateLocalDSFolderOnPeer sends a couple of stat/create requests to the target Peer to make sure folder is valid