-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tar): for do fsys export or import
- Loading branch information
Showing
28 changed files
with
1,256 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
/* | ||
Package main GENERATED BY gengo:runtimedoc | ||
DON'T EDIT THIS FILE | ||
*/ | ||
package main | ||
|
||
// nolint:deadcode,unused | ||
func runtimeDoc(v any, names ...string) ([]string, bool) { | ||
if c, ok := v.(interface { | ||
RuntimeDoc(names ...string) ([]string, bool) | ||
}); ok { | ||
return c.RuntimeDoc(names...) | ||
} | ||
return nil, false | ||
} | ||
|
||
func (v CSIDriver) RuntimeDoc(names ...string) ([]string, bool) { | ||
if len(names) > 0 { | ||
switch names[0] { | ||
case "Otel": | ||
return []string{}, true | ||
case "Driver": | ||
return []string{}, true | ||
|
||
} | ||
if doc, ok := runtimeDoc(v.Driver, names...); ok { | ||
return doc, ok | ||
} | ||
|
||
return nil, false | ||
} | ||
return []string{ | ||
"Serve CSIDriver", | ||
}, true | ||
} | ||
|
||
func (v Ftp) RuntimeDoc(names ...string) ([]string, bool) { | ||
if len(names) > 0 { | ||
switch names[0] { | ||
case "Otel": | ||
return []string{}, true | ||
case "FileSystemBackend": | ||
return []string{}, true | ||
case "Server": | ||
return []string{}, true | ||
|
||
} | ||
if doc, ok := runtimeDoc(v.FileSystemBackend, names...); ok { | ||
return doc, ok | ||
} | ||
if doc, ok := runtimeDoc(v.Server, names...); ok { | ||
return doc, ok | ||
} | ||
|
||
return nil, false | ||
} | ||
return []string{ | ||
"Serve Webdav as fuse fs", | ||
}, true | ||
} | ||
|
||
func (v Mount) RuntimeDoc(names ...string) ([]string, bool) { | ||
if len(names) > 0 { | ||
switch names[0] { | ||
case "Otel": | ||
return []string{}, true | ||
case "Mounter": | ||
return []string{}, true | ||
|
||
} | ||
if doc, ok := runtimeDoc(v.Mounter, names...); ok { | ||
return doc, ok | ||
} | ||
|
||
return nil, false | ||
} | ||
return []string{ | ||
"Mount as fuse fs", | ||
}, true | ||
} | ||
|
||
func (v Mounter) RuntimeDoc(names ...string) ([]string, bool) { | ||
if len(names) > 0 { | ||
switch names[0] { | ||
case "MountPoint": | ||
return []string{}, true | ||
case "Backend": | ||
return []string{}, true | ||
case "Foreground": | ||
return []string{}, true | ||
case "Delegate": | ||
return []string{}, true | ||
|
||
} | ||
|
||
return nil, false | ||
} | ||
return []string{}, true | ||
} | ||
|
||
func (v WebDAV) RuntimeDoc(names ...string) ([]string, bool) { | ||
if len(names) > 0 { | ||
switch names[0] { | ||
case "Otel": | ||
return []string{}, true | ||
case "WebDAVServer": | ||
return []string{}, true | ||
|
||
} | ||
if doc, ok := runtimeDoc(v.WebDAVServer, names...); ok { | ||
return doc, ok | ||
} | ||
|
||
return nil, false | ||
} | ||
return []string{ | ||
"Serve Webdav as fuse fs", | ||
}, true | ||
} | ||
|
||
func (v WebDAVServer) RuntimeDoc(names ...string) ([]string, bool) { | ||
if len(names) > 0 { | ||
switch names[0] { | ||
case "Addr": | ||
return []string{}, true | ||
case "FileSystemBackend": | ||
return []string{}, true | ||
|
||
} | ||
if doc, ok := runtimeDoc(v.FileSystemBackend, names...); ok { | ||
return doc, ok | ||
} | ||
|
||
return nil, false | ||
} | ||
return []string{}, true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
deps: { | ||
"github.com/octohelm/kubepkg@v0": { | ||
path: "github.com/octohelm/kubepkg" | ||
v: "v0.5.4" | ||
"github.com/octohelm/kubepkgspec@v0": { | ||
path: "github.com/octohelm/kubepkgspec" | ||
v: "v0.0.0-20240521102121-31a405691640" | ||
} | ||
"github.com/octohelm/piper@v0": { | ||
path: "github.com/octohelm/piper" | ||
v: "v0.0.0-20240414075629-6284b300365f" | ||
v: "v0.0.0-20240612072825-3e6e200ba813" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.