Documentation ¶
Index ¶
- func CreateProject(projectName string, r io.Reader) error
- func GetProject(slugs ...string) (*api.Project, error)
- func ListProjects(privateProjectsOnly bool) (err error)
- func ProjectConfigure(p *api.Project, slug string, r io.Reader, w io.Writer) error
- func ProjectDependencies(p *api.Project) (deps []api.Dependency, err error)
- func ProjectDependencyFiles(p *api.Project) (dfiles []api.DependencyFile, err error)
- func ProjectFetch(p *api.Project) (err error)
- func ProjectShow(p *api.Project) error
- func ProjectSync(p *api.Project) (err error)
- func ProjectUpdate(p *api.Project, name, desc *string, monitored *bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateProject ¶
Create a new project on gemnasium. The first arg is used as the project name. If no arg is provided, the user will be prompted to enter a project name. http://docs.gemnasium.apiary.io/#post-%2Fprojects
func GetProject ¶
Return a new Project with Slug set. The slugs in param are tried in order.
func ListProjects ¶
List projects on gemnasium TODO: Add a flag to display unmonitored projects too
func ProjectConfigure ¶
Create a project config gile (.gemnasium.yml)
func ProjectDependencies ¶
func ProjectDependencies(p *api.Project) (deps []api.Dependency, err error)
func ProjectDependencyFiles ¶
func ProjectDependencyFiles(p *api.Project) (dfiles []api.DependencyFile, err error)
Fetch and return the dependency files ([]DependecyFile) for the current project
func ProjectFetch ¶
func ProjectShow ¶
Display project details http://docs.gemnasium.apiary.io/#get-%2Fprojects%2F%7Bslug%7D
func ProjectSync ¶
Start project synchronization http://docs.gemnasium.apiary.io/#post-%2Fprojects%2F%7Bslug%7D%2Fsync
func ProjectUpdate ¶
Update project details http://docs.gemnasium.apiary.io/#patch-%2Fprojects%2F%7Bslug%7D
Types ¶
This section is empty.