cmd

package
v0.0.0-...-64f8be3 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: BSD-3-Clause Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllowFromString

func AllowFromString(s string) (allow eris.AllowOps)

func AllowOps

func AllowOps(u *url.URL) (allow eris.AllowOps)

func CollectCaps

func CollectCaps(args []string) (caps []eris.ReadCapability, err error)

func CopyCBOR

func CopyCBOR(ctx context.Context, r io.Reader, args []string) (err error)

func Dumpfs

func Dumpfs(ctx context.Context, args []string) (err error)

func Get

func Get(ctx context.Context, w io.Writer, args []string) (err error)

func Mkfs

func Mkfs(ctx context.Context, w io.Writer, r io.Reader, args []string) (err error)

func OpenSimpleStoreByUrl

func OpenSimpleStoreByUrl(u *url.URL) (store eris.Store, err error)

If the URL schema is not supported then (nil, nil) is returned.

func ParseFlagsAndOpenStore

func ParseFlagsAndOpenStore(ctx context.Context, flagSet *flag.FlagSet, args []string) (store eris.Store, ep *coap.Endpoint, err error)

func PostServiceChannel

func PostServiceChannel(store eris.Store, name string) error

func Put

func Put(ctx context.Context, w io.Writer, r io.Reader, args []string) (err error)

func Serve

func Serve(ctx context.Context, args []string) (err error)

func ServeFuse

func ServeFuse(ctx context.Context, store eris.Store, mountpoint string) error

func StoreMerge

func StoreMerge(ctx context.Context, args []string) (err error)

func StoreVerify

func StoreVerify(ctx context.Context, args []string) (err error)

Types

type ErisFile

type ErisFile struct {
	// contains filtered or unexported fields
}

func (ErisFile) Attr

func (file ErisFile) Attr(ctx context.Context, a *fuse.Attr) error

func (ErisFile) Read

func (file ErisFile) Read(ctx context.Context, req *fuse.ReadRequest, resp *fuse.ReadResponse) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳