package cmd
import "codeberg.org/eris/eris-go/cmd"
Index ¶
- func AllowFromString(s string) (allow eris.AllowOps)
- func AllowOps(u *url.URL) (allow eris.AllowOps)
- func CollectCaps(args []string) (caps []eris.ReadCapability, err error)
- func CopyCBOR(ctx context.Context, r io.Reader, args []string) (err error)
- func Dumpfs(ctx context.Context, args []string) (err error)
- func Get(ctx context.Context, w io.Writer, args []string) (err error)
- func Mkfs(ctx context.Context, w io.Writer, r io.Reader, args []string) (err error)
- func OpenSimpleStoreByUrl(u *url.URL) (store eris.Store, err error)
- func ParseFlagsAndOpenStore(ctx context.Context, flagSet *flag.FlagSet, args []string) (store eris.Store, ep *coap.Endpoint, err error)
- func PostServiceChannel(store eris.Store, name string) error
- func Put(ctx context.Context, w io.Writer, r io.Reader, args []string) (err error)
- func Serve(ctx context.Context, args []string) (err error)
- func ServeFuse(ctx context.Context, store eris.Store, mountpoint string) error
- func StoreMerge(ctx context.Context, args []string) (err error)
- func StoreVerify(ctx context.Context, args []string) (err error)
- type ErisFile
Functions ¶
func AllowFromString ¶
func AllowOps ¶
func CollectCaps ¶
func CollectCaps(args []string) (caps []eris.ReadCapability, err error)
func CopyCBOR ¶
func Dumpfs ¶
func Get ¶
func Mkfs ¶
func OpenSimpleStoreByUrl ¶
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 Put ¶
func Serve ¶
func ServeFuse ¶
func StoreMerge ¶
func StoreVerify ¶
Types ¶
type ErisFile ¶
type ErisFile struct {
// contains filtered or unexported fields
}
func (ErisFile) Attr ¶
func (ErisFile) Read ¶
func (file ErisFile) Read(ctx context.Context, req *fuse.ReadRequest, resp *fuse.ReadResponse) (err error)
Source Files ¶
copy_cbor.go dumpfs.go fuse.go get.go legacy.go mkfs.go parse_caps.go put.go server.go storemerge.go stores.go stores_legacy.go storeverify.go
- Version
- v0.0.0-20250117134628-64f8be33f6fe (latest)
- Published
- Jan 17, 2025
- Platform
- linux/amd64
- Imports
- 28 packages
- Last checked
- 1 day ago –
Tools for package owners.