project

package
v3.10.42-1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2018 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const NewProjectRecommendedName = "new-project"

Variables

This section is empty.

Functions

func NewCmdNewProject

func NewCmdNewProject(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

NewCmdNewProject implements the OpenShift cli new-project command

Types

type NewProjectOptions

type NewProjectOptions struct {
	ProjectName  string
	DisplayName  string
	Description  string
	NodeSelector string

	ProjectClient     projectclient.ProjectInterface
	RoleBindingClient authorizationtypedclient.RoleBindingsGetter
	SARClient         authorizationtypedclient.SubjectAccessReviewInterface

	AdminRole string
	AdminUser string

	Output io.Writer
}

func (*NewProjectOptions) Run

func (o *NewProjectOptions) Run(useNodeSelector bool) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL