mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
* update vendor directory, add go.opencensus.io * update imports * oops * s/opentracing/opencensus/ & remove prometheus / zipkin stuff & remove old stats * the dep train rides again * fix gin build * deps from last guy * start in on the agent metrics * she builds * remove tags for now, cardinality error is fussing. subscribe instead of register * update to patched version of opencensus to proceed for now TODO switch to a release * meh fix imports * println debug the bad boys * lace it with the tags * update deps again * fix all inconsistent cardinality errors * add our own logger * fix init * fix oom measure * remove bugged removal code * fix s3 measures * fix prom handler nil
45 lines
1.1 KiB
Go
45 lines
1.1 KiB
Go
// +build freebsd openbsd solaris
|
|
|
|
package sysx
|
|
|
|
// Listxattr calls syscall listxattr and reads all content
|
|
// and returns a string array
|
|
func Listxattr(path string) ([]string, error) {
|
|
return []string{}, nil
|
|
}
|
|
|
|
// Removexattr calls syscall removexattr
|
|
func Removexattr(path string, attr string) (err error) {
|
|
return unsupported
|
|
}
|
|
|
|
// Setxattr calls syscall setxattr
|
|
func Setxattr(path string, attr string, data []byte, flags int) (err error) {
|
|
return unsupported
|
|
}
|
|
|
|
// Getxattr calls syscall getxattr
|
|
func Getxattr(path, attr string) ([]byte, error) {
|
|
return []byte{}, unsupported
|
|
}
|
|
|
|
// LListxattr lists xattrs, not following symlinks
|
|
func LListxattr(path string) ([]string, error) {
|
|
return []string{}, nil
|
|
}
|
|
|
|
// LRemovexattr removes an xattr, not following symlinks
|
|
func LRemovexattr(path string, attr string) (err error) {
|
|
return unsupported
|
|
}
|
|
|
|
// LSetxattr sets an xattr, not following symlinks
|
|
func LSetxattr(path string, attr string, data []byte, flags int) (err error) {
|
|
return unsupported
|
|
}
|
|
|
|
// LGetxattr gets an xattr, not following symlinks
|
|
func LGetxattr(path, attr string) ([]byte, error) {
|
|
return []byte{}, nil
|
|
}
|