Documentation ¶
Overview ¶
Package ulext provides an interface for the CLI to interface with the external world.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type External ¶
type External interface { OpenFilesystem(ctx context.Context, accessName string, options ...Option) (ulfs.Filesystem, error) OpenProject(ctx context.Context, accessName string, options ...Option) (*uplink.Project, error) AccessInfoFile() string OpenAccess(accessName string) (access *uplink.Access, err error) GetAccessInfo(required bool) (string, map[string]string, error) SaveAccessInfo(defaultName string, accesses map[string]string) error RequestAccess(ctx context.Context, token, passphrase string) (*uplink.Access, error) PromptInput(ctx clingy.Context, prompt string) (input string, err error) }
External is the interface for all of the ways that the uplink command may interact with any external state.
type Option ¶
type Option struct {
// contains filtered or unexported fields
}
Option is a single option that controls the Options struct.
func BypassEncryption ¶
BypassEncryption will disable decrypting of path names if bypass is true.
Click to show internal directories.
Click to hide internal directories.