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 RESTConfig *rest.Config Client projectv1client.ProjectV1Interface KubeClient corev1client.CoreV1Interface PathOptions *kclientcmd.PathOptions // internal strings CommandName string DisplayShort bool Args []string genericclioptions.IOStreams }
func NewProjectsOptions ¶
func NewProjectsOptions(name string, streams genericclioptions.IOStreams) *ProjectsOptions
func (ProjectsOptions) Run ¶
func (o ProjectsOptions) Run() error
RunProjects lists all projects a user belongs to
func (*ProjectsOptions) Validate ¶
func (o *ProjectsOptions) Validate() error
type SortByProjectName ¶
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.