requestproject

package
v3.11.0-0.10.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const RequestProjectRecommendedCommandName = "new-project"

RequestProjectRecommendedCommandName is the recommended command name.

Variables

This section is empty.

Functions

func NewCmdRequestProject

func NewCmdRequestProject(name, baseName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command

NewCmdRequestProject implement the OpenShift cli RequestProject command.

Types

type RequestProjectOptions

type RequestProjectOptions struct {
	ProjectName string
	DisplayName string
	Description string

	Name   string
	Server string

	SkipConfigWrite bool

	Client projectclient.ProjectInterface

	ProjectOptions *project.ProjectOptions
	genericclioptions.IOStreams
}

RequestProjectOptions contains all the options for running the RequestProject cli command.

func NewRequestProjectOptions

func NewRequestProjectOptions(baseName string, streams genericclioptions.IOStreams) *RequestProjectOptions

func (*RequestProjectOptions) Complete

func (o *RequestProjectOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) error

Complete completes all the required options.

func (*RequestProjectOptions) Run

func (o *RequestProjectOptions) Run() error

Run implements all the necessary functionality for RequestProject.

Jump to

Keyboard shortcuts

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