Documentation ¶
Index ¶
- Constants
- Variables
- func Patch(target OpenShiftPatchTarget, patch string, commander docker.DockerCommander) (bool, error)
- func RestartOpenShift(commander docker.DockerCommander) (bool, error)
- func ViewConfig(target OpenShiftPatchTarget, commander docker.DockerCommander) (string, error)
- type OpenShiftPatchTarget
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)
Click to show internal directories.
Click to hide internal directories.