openshift

package
v1.0.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const OPENSHIFT_CONTAINER_NAME = "origin"
View Source
const OPENSHIFT_EXEC = "/usr/bin/openshift"

Variables

View Source
var (
	MASTER = OpenShiftPatchTarget{
		"master",
		"/var/lib/origin/openshift.local.config/master/master-config.yaml",
		"/var/lib/minishift/openshift.local.config/master/master-config.yaml",
		"",
	}

	NODE = OpenShiftPatchTarget{
		"node",
		"/var/lib/origin/openshift.local.config/node-%s/node-config.yaml",
		"/var/lib/minishift/openshift.local.config/node-%s/node-config.yaml",
		"",
	}

	UNKNOWN = OpenShiftPatchTarget{
		"unkown",
		"",
		"",
		"",
	}
)

Functions

func Patch

func Patch(target OpenShiftPatchTarget, patch string, commander docker.DockerCommander) (bool, error)

func RestartOpenShift

func RestartOpenShift(commander docker.DockerCommander) (bool, error)

func ViewConfig

func ViewConfig(target OpenShiftPatchTarget, commander docker.DockerCommander) (string, error)

Types

type OpenShiftPatchTarget

type OpenShiftPatchTarget struct {
	// contains filtered or unexported fields
}

func (*OpenShiftPatchTarget) SetIp

func (t *OpenShiftPatchTarget) SetIp(ip string)

Jump to

Keyboard shortcuts

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