Documentation ¶
Index ¶
- Constants
- type OpenShift
- func (o *OpenShift) Deploy(komposeObject kobject.KomposeObject, opt kobject.ConvertOptions) error
- func (o *OpenShift) Transform(komposeObject kobject.KomposeObject, opt kobject.ConvertOptions) []runtime.Object
- func (o *OpenShift) Undeploy(komposeObject kobject.KomposeObject, opt kobject.ConvertOptions) error
Constants ¶
View Source
const TIMEOUT = 300
TIMEOUT is how long we'll wait for the termination of OpenShift resource to be successful used when undeploying resources from OpenShift
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenShift ¶
type OpenShift struct { // Anonymous field allows for inheritance. We are basically inheriting // all of kubernetes.Kubernetes Methods and variables here. We'll overwite // some of those methods with our own for openshift. kubernetes.Kubernetes }
OpenShift implements Transformer interface and represents OpenShift transformer
func (*OpenShift) Deploy ¶ added in v0.1.1
func (o *OpenShift) Deploy(komposeObject kobject.KomposeObject, opt kobject.ConvertOptions) error
Deploy transofrms and deploys kobject to OpenShift
func (*OpenShift) Transform ¶
func (o *OpenShift) Transform(komposeObject kobject.KomposeObject, opt kobject.ConvertOptions) []runtime.Object
Transform maps komposeObject to openshift objects returns objects that are already sorted in the way that Services are first
func (*OpenShift) Undeploy ¶ added in v0.1.1
func (o *OpenShift) Undeploy(komposeObject kobject.KomposeObject, opt kobject.ConvertOptions) error
Undeploy removes deployed artifacts from OpenShift cluster
Click to show internal directories.
Click to hide internal directories.