{"modulePath":"github.com/2lambda123/openshift-origin","version":"v4.1.0+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package projects\n\n## Functions\n\n```go\nfunc NewCmdProjects(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command\n```\nNewCmdProjects implements the OpenShift cli rollback command\n\n## Types\n\n```go\ntype ProjectsOptions struct {\n\tConfig      clientcmdapi.Config\n\tRESTConfig  *rest.Config\n\tClient      projectv1client.ProjectV1Interface\n\tKubeClient  corev1client.CoreV1Interface\n\tPathOptions *kclientcmd.PathOptions\n\n\t// internal strings\n\tCommandName  string\n\tDisplayShort bool\n\tArgs         []string\n\n\tgenericclioptions.IOStreams\n}\n```\n\n```go\nfunc NewProjectsOptions(name string, streams genericclioptions.IOStreams) *ProjectsOptions\n```\n\n```go\nfunc (o *ProjectsOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) error\n```\n\n```go\nfunc (o ProjectsOptions) Run() error\n```\nRunProjects lists all projects a user belongs to\n\n```go\nfunc (o *ProjectsOptions) Validate() error\n```\n\n```go\ntype SortByProjectName []projectv1.Project\n```\nSortByProjectName is sort\n\n```go\nfunc (p SortByProjectName) Len() int\n```\n\n```go\nfunc (p SortByProjectName) Less(i, j int) bool\n```\n\n```go\nfunc (p SortByProjectName) Swap(i, j int)\n```\n\n","path":"github.com/2lambda123/openshift-origin/pkg/oc/cli/projects","name":"projects","synopsis":"","isRedistributable":true}
