requestproject

package
v4.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdRequestProject

func NewCmdRequestProject(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         projectv1client.ProjectV1Interface
	ProjectOptions *ocproject.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