projects

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: 17 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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) Complete

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

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

type SortByProjectName []projectv1.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)

Jump to

Keyboard shortcuts

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