Documentation ¶
Index ¶
Constants ¶
View Source
const NewProjectRecommendedName = "new-project"
Variables ¶
This section is empty.
Functions ¶
func NewCmdNewProject ¶
func NewCmdNewProject(name, fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
NewCmdNewProject implements the OpenShift cli new-project command
Types ¶
type NewProjectOptions ¶
type NewProjectOptions struct { ProjectName string DisplayName string Description string NodeSelector string UseNodeSelector bool ProjectClient projectclient.ProjectInterface RbacClient rbacv1client.RbacV1Interface SARClient authorizationtypedclient.SubjectAccessReviewInterface AdminRole string AdminUser string genericclioptions.IOStreams }
func NewNewProjectOptions ¶
func NewNewProjectOptions(streams genericclioptions.IOStreams) *NewProjectOptions
func (*NewProjectOptions) Run ¶
func (o *NewProjectOptions) Run() error
Click to show internal directories.
Click to hide internal directories.