opc

command module
v1.11.0-rc1 Latest Latest
Warning

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

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

README

opc - A CLI for OpenShift Pipeline

opc make it easy to work with Tekton resources in OpenShift Pipelines. It is built on top of tkn and tkn-pac and expands their capablities to the functionality and user-experience that is available on OpenShift.

Build

Use the default target of the Makefile:

i.e:

make

Useful commands

The following commands help you understand and effectively use the OpenShift Pipelines CLI:

opc hub: search and install from Tekton Hub

opc pac: add and manage git repositories (pipelines as code)

opc results : interact with results api

opc pipeline: manage Pipelines opc pipelinerun: manage PipelineRuns opc task: manage Tasks opc clustertask: manage ClusterTasks opc taskrun: manage TaskRuns

opc triggerbinding: manage TriggerBindings opc clustertriggerbinding: manage ClusterTriggerBindings opc triggertemplate: manage TriggerTemplates opc eventlistener: manage EventListeners

Features

Versions :
  • opc version: Show all versions of all components
  • opc version [pac|tkn|opc] show version of a specific component
Completion :

opc completions [bash|zsh|...]

Plugins :

tkn plugins are used for opc plugins (ie: tkn-watch become opc watch), it doesn't try to show any opc plugins. (may change).

Install

Release

Release download

Go to the release page and choose your archive or package for your platform.

Homebrew

brew tap openshift-pipelines/opc https://github.com/openshift-pipelines/opc
brew install opc

Arch

yay -S opc-bin

GO

go install -v github.com/openshift-pipelines/opc@latest
Git

Checkout the directory and use :

-$ make
-$ ./bin/opc --help

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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