Documentation
¶
Index ¶
- func Create(client *occlient.Client, projectName string) error
- func Delete(client *occlient.Client, projectName string) error
- func Exists(client *occlient.Client, projectName string) (bool, error)
- func GetCurrent(client *occlient.Client) string
- func SetCurrent(client *occlient.Client, projectName string) error
- type ProjectInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Delete ¶ added in v0.0.11
Delete deletes the project with name projectName and sets the project with name currentProject as current project and returns errors if any
func Exists ¶ added in v0.0.4
Checks whether a project with the given name exists or not projectName is the project name to perform check for The first returned parameter is a bool indicating if a project with the given name already exists or not The second returned parameter is the error that might occurs while execution
Types ¶
type ProjectInfo ¶ added in v0.0.4
type ProjectInfo struct { // Name of the project Name string // is this project active? Active bool }
ApplicationInfo holds information about one project
Click to show internal directories.
Click to hide internal directories.