Documentation ¶
Index ¶
- Constants
- Variables
- func GetInstanceConfigPath() string
- func GetInstanceStateConfigOldPath() string
- func GetInstanceStateConfigPath() string
- func GetOpenshiftImageToFetchOC(openshiftVersion string) string
- func GetProfileInstanceConfigPath(profileName string) string
- func ProfileAuthorizedKeysPath() string
- func ProfilePrivateKeyPath() string
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 GetProfileInstanceConfigPath ¶ added in v1.32.0
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.
Click to show internal directories.
Click to hide internal directories.