Documentation
¶
Index ¶
- Constants
- func DeleteApp(appId string) error
- func DeleteAppFile(appId string, fileName string) error
- func DraftHasLocalVersion(draftAppId string) (bool, error)
- func GetAppDir(appId string) (string, error)
- func ListAllAppFiles(appId string) (*fileutil.ReadDirResult, error)
- func ListAllApps() ([]string, error)
- func ListAllEditableApps() ([]string, error)
- func MakeAppId(appNS string, appName string) string
- func MakeDraftFromLocal(localAppId string) (string, error)
- func ParseAppId(appId string) (appNS string, appName string, err error)
- func PublishDraft(draftAppId string) (string, error)
- func RenameAppFile(appId string, fromFileName string, toFileName string) error
- func ReplaceInAppFile(appId string, fileName string, edits []fileutil.EditSpec) error
- func RevertDraft(draftAppId string) error
- func ValidateAppId(appId string) error
- func WriteAppFile(appId string, fileName string, contents []byte) error
- type FileData
Constants ¶
View Source
const ( AppNSLocal = "local" AppNSDraft = "draft" MaxNamespaceLen = 30 MaxAppNameLen = 50 )
Variables ¶
This section is empty.
Functions ¶
func DeleteAppFile ¶
func DraftHasLocalVersion ¶
func ListAllAppFiles ¶
func ListAllAppFiles(appId string) (*fileutil.ReadDirResult, error)
func ListAllApps ¶
func ListAllEditableApps ¶
func MakeDraftFromLocal ¶
func PublishDraft ¶
func ReplaceInAppFile ¶
func RevertDraft ¶
func ValidateAppId ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.