oc-wrapper

module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: Apache-2.0

README

openshift/client-go Wrapper

Wrapps up the main functionality used to manage your applications on an Openshift Cluster. Setup your app locally and deploy it to remote cluster with only few lines of code. This makes it easy to test new poc setups and also to manage large applications with many items.

Install

You can add oc-wrapper as a go-dependency like this:

$ go get github.com/kgysu/oc-wrapper

Or directly in code like:

package main
import "github.com/kgysu/oc-wrapper/<submodule>"

How to use it

See examples.

Types

The following Openshift-Item-Types are supported:

  • DeploymentConfig
  • StatefulSet
  • Service
  • Route
  • ConfigMap
  • PersistentVolumeClaim
  • ServiceAccount
  • Role
  • RoleBinding
  • Pod*

(* read only)

License

Wrapper(oc-wrapper) is licensed under the Apache License 2.0.

Jump to

Keyboard shortcuts

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