MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / AuthInstance

Method AuthInstance

pkg/cluster/node.go:43–43  ·  view source on GitHub ↗

AuthInstance returns the auth instance for the node.

()

Source from the content-addressed store, hash-verified

41 CleanupFolders(ctx context.Context, folders ...string) error
42 // AuthInstance returns the auth instance for the node.
43 AuthInstance() auth.Auth
44 // CreateDownloader creates a downloader instance from the node for remote download tasks.
45 CreateDownloader(ctx context.Context, c request.Client, settings setting.Provider) (downloader.Downloader, error)
46 // Settings returns the settings of the node.

Callers 1

SlaveRPCSignRequiredFunction · 0.65

Implementers 1

nodeBasepkg/cluster/node.go

Calls

no outgoing calls

Tested by

no test coverage detected