constants

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	B2dIsoAlias                    = "b2d"
	CentOsIsoAlias                 = "centos"
	OpenshiftContainerName         = "origin"
	OpenshiftApiContainerLabel     = "io.kubernetes.container.name=apiserver"
	KubernetesApiContainerLabel    = "io.kubernetes.container.name=api"
	OpenshiftExec                  = "/usr/bin/openshift"
	OpenshiftOcExec                = "/usr/bin/oc"
	DefaultProject                 = "myproject"
	DefaultUser                    = "developer"
	DefaultUserPassword            = "developer"
	SkipVerifyInsecureTLS          = "insecure-skip-tls-verify=true"
	BinaryName                     = "minishift"
	OcPathInsideVM                 = "/var/lib/minishift/bin"
	BaseDirInsideInstance          = "/var/lib/minishift/base"
	ImageNameForClusterUpImageFlag = "openshift/origin-${component}"
	HypervDefaultVirtualSwitchId   = "c08cb7b8-9b3c-408e-8e30-5e16a3aeb444"
	HypervDefaultVirtualSwitchName = "Default Switch"
)

Variables

View Source
var (
	ValidIsoAliases = []string{B2dIsoAlias, CentOsIsoAlias}
	ValidComponents = []string{"automation-service-broker", "service-catalog", "template-service-broker"}
)

Functions

func GetInstanceConfigPath added in v1.19.0

func GetInstanceConfigPath() string

GetInstanceConfigPath return the path of instance config json file

func GetInstanceStateConfigOldPath added in v1.22.0

func GetInstanceStateConfigOldPath() string

GetInstanceStateConfigOldPath return the old path of instance config to make new binary backward compatible

func GetInstanceStateConfigPath added in v1.22.0

func GetInstanceStateConfigPath() string

GetInstanceStateConfigPath return the path of instance config json file

func GetOpenshiftImageToFetchOC added in v1.24.0

func GetOpenshiftImageToFetchOC(openshiftVersion string) string

func ProfileAuthorizedKeysPath added in v1.16.0

func ProfileAuthorizedKeysPath() string

ProfileAuthorizedKeysPath returns the path of authorized_keys file in profile dir used for authentication purpose

func ProfilePrivateKeyPath added in v1.16.0

func ProfilePrivateKeyPath() string

ProfilePrivateKeyPath returns the path of private key of VM present in profile dir which is used for authentication purpose

Types

This section is empty.

Jump to

Keyboard shortcuts

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