Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdProjects ¶
func NewCmdProjects(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
NewCmdProjects implements the OpenShift cli rollback command
Types ¶
type ProjectsOptions ¶
type ProjectsOptions struct { Config clientcmdapi.Config ClientConfig *restclient.Config Client projectclient.ProjectInterface KubeClient kclientset.Interface PathOptions *kclientcmd.PathOptions // internal strings CommandName string DisplayShort bool genericclioptions.IOStreams }
func NewProjectsOptions ¶
func NewProjectsOptions(name string, streams genericclioptions.IOStreams) *ProjectsOptions
func (ProjectsOptions) RunProjects ¶
func (o ProjectsOptions) RunProjects() error
RunProjects lists all projects a user belongs to
func (*ProjectsOptions) Validate ¶
func (o *ProjectsOptions) Validate(args []string) error
type SortByProjectName ¶
type SortByProjectName []projectapi.Project
SortByProjectName is sort
func (SortByProjectName) Len ¶
func (p SortByProjectName) Len() int
func (SortByProjectName) Less ¶
func (p SortByProjectName) Less(i, j int) bool
func (SortByProjectName) Swap ¶
func (p SortByProjectName) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.