Esempio n. 1
0
// CreateProject creates a new project for the current user
func (c *ClientStartConfig) CreateProject(out io.Writer) error {
	f, err := openshift.LoggedInUserFactory()
	if err != nil {
		return errors.NewError("cannot get logged in user client").WithCause(err)
	}
	return openshift.CreateProject(f, initialProjectName, initialProjectDisplay, initialProjectDesc, "oc", out)
}
Esempio n. 2
0
File: up.go Progetto: bmeng/origin
// CreateProject creates a new project for the current user
func (c *ClientStartConfig) CreateProject(out io.Writer) error {
	return openshift.CreateProject(initialProjectName, initialProjectDisplay, initialProjectDesc, "oc", out)

}