constants

package
v1.34.3 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2020 License: Apache-2.0 Imports: 3 Imported by: 58

Documentation

Index

Constants

View Source
const (
	CentOsIsoAlias                 = "centos"
	OpenshiftContainerName         = "origin"
	OpenshiftApiContainerLabel     = "io.kubernetes.container.name=apiserver"
	KubernetesApiContainerLabel    = "io.kubernetes.container.name=api"
	OpenshiftOcExec                = "/usr/bin/oc"
	DefaultProject                 = "myproject"
	DefaultUser                    = "developer"
	DefaultUserPassword            = "developer"
	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"
	DockerbridgeSubnetCmd          = `docker network inspect -f "{{range .IPAM.Config }}{{ .Subnet }}{{end}}" bridge`
	MinishiftEnableExperimental    = "MINISHIFT_ENABLE_EXPERIMENTAL"
	SystemtrayDaemon               = "systemtray"
	SftpdDaemon                    = "sftpd"
	ProxyDaemon                    = "proxy"
)

Variables

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

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 GetProfileInstanceConfigPath added in v1.32.0

func GetProfileInstanceConfigPath(profileName string) string

GetProfileInstanceConfigPath return the path of instance config json file for a profile

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