Documentation ¶
Index ¶
- func GetFilePath(appID, instanceID, name string) (path string, err error)
- type SpaceOperation
- func (o *SpaceOperation) AppendBytes(filePath string, byteSlice []byte) PluginError
- func (o *SpaceOperation) AppendStrings(filePath string, content []string) PluginError
- func (o *SpaceOperation) Copy(originalPath string, newPath string) PluginError
- func (o *SpaceOperation) CreateFile(name string) PluginError
- func (o *SpaceOperation) Gz(name string) PluginError
- func (o *SpaceOperation) Hash(name string) ([]byte, PluginError)
- func (o *SpaceOperation) IsDir(name string) (bool, PluginError)
- func (o *SpaceOperation) IsExist(name string) (bool, PluginError)
- func (o *SpaceOperation) List(dirPath string) ([]string, PluginError)
- func (o *SpaceOperation) MakeDir(name string) PluginError
- func (o *SpaceOperation) Read(name string) ([]byte, PluginError)
- func (o *SpaceOperation) ReadLines(name string, lineBegin, lineEnd int32) ([]byte, PluginError)
- func (o *SpaceOperation) Remove(name string) PluginError
- func (o *SpaceOperation) Rename(originalPath string, newPath string) PluginError
- func (o *SpaceOperation) UnGz(name string, targetFile string) PluginError
- func (o *SpaceOperation) UnZip(name string, targetDir string) PluginError
- func (o *SpaceOperation) WriteBytes(name string, byteSlice []byte) PluginError
- func (o *SpaceOperation) WriteStrings(name string, content []string) PluginError
- func (o *SpaceOperation) Zip(outFileName string, targetFiles []string) PluginError
- type WorkSpace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFilePath ¶
Types ¶
type SpaceOperation ¶
func (*SpaceOperation) AppendBytes ¶
func (o *SpaceOperation) AppendBytes(filePath string, byteSlice []byte) PluginError
func (*SpaceOperation) AppendStrings ¶
func (o *SpaceOperation) AppendStrings(filePath string, content []string) PluginError
func (*SpaceOperation) Copy ¶
func (o *SpaceOperation) Copy(originalPath string, newPath string) PluginError
func (*SpaceOperation) CreateFile ¶
func (o *SpaceOperation) CreateFile(name string) PluginError
func (*SpaceOperation) Gz ¶
func (o *SpaceOperation) Gz(name string) PluginError
func (*SpaceOperation) Hash ¶
func (o *SpaceOperation) Hash(name string) ([]byte, PluginError)
func (*SpaceOperation) IsDir ¶
func (o *SpaceOperation) IsDir(name string) (bool, PluginError)
func (*SpaceOperation) IsExist ¶
func (o *SpaceOperation) IsExist(name string) (bool, PluginError)
func (*SpaceOperation) List ¶
func (o *SpaceOperation) List(dirPath string) ([]string, PluginError)
func (*SpaceOperation) MakeDir ¶
func (o *SpaceOperation) MakeDir(name string) PluginError
func (*SpaceOperation) Read ¶
func (o *SpaceOperation) Read(name string) ([]byte, PluginError)
func (*SpaceOperation) ReadLines ¶
func (o *SpaceOperation) ReadLines(name string, lineBegin, lineEnd int32) ([]byte, PluginError)
func (*SpaceOperation) Remove ¶
func (o *SpaceOperation) Remove(name string) PluginError
func (*SpaceOperation) Rename ¶
func (o *SpaceOperation) Rename(originalPath string, newPath string) PluginError
func (*SpaceOperation) UnGz ¶
func (o *SpaceOperation) UnGz(name string, targetFile string) PluginError
func (*SpaceOperation) UnZip ¶
func (o *SpaceOperation) UnZip(name string, targetDir string) PluginError
func (*SpaceOperation) WriteBytes ¶
func (o *SpaceOperation) WriteBytes(name string, byteSlice []byte) PluginError
func (*SpaceOperation) WriteStrings ¶
func (o *SpaceOperation) WriteStrings(name string, content []string) PluginError
func (*SpaceOperation) Zip ¶
func (o *SpaceOperation) Zip(outFileName string, targetFiles []string) PluginError
Click to show internal directories.
Click to hide internal directories.