Documentation ¶
Index ¶
Constants ¶
View Source
const ( NodeConfigDirName = "node" KubeDNSDirName = "kubedns" PodManifestDirName = "static-pod-manifests" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KubeletRunConfig ¶
type KubeletRunConfig struct { // ContainerBinds is a list of local/path:image/path pairs ContainerBinds []string // NodeImage is the docker image for openshift start node NodeImage string Environment []string HTTPProxy string HTTPSProxy string NoProxy []string Args []string }
func NewKubeletRunConfig ¶
func NewKubeletRunConfig() *KubeletRunConfig
func (KubeletRunConfig) StartKubelet ¶
func (opt KubeletRunConfig) StartKubelet(dockerClient dockerhelper.Interface, logdir string) (string, error)
Start starts the OpenShift master as a Docker container and returns a directory in the local file system where the OpenShift configuration has been copied
type KubeletStartFlags ¶
type KubeletStartFlags struct { // ContainerBinds is a list of local/path:image/path pairs ContainerBinds []string // NodeImage is the docker image for openshift start node NodeImage string Environment []string }
func NewKubeletStartFlags ¶
func NewKubeletStartFlags() *KubeletStartFlags
func (KubeletStartFlags) MakeKubeletFlags ¶
func (opt KubeletStartFlags) MakeKubeletFlags(dockerClient dockerhelper.Interface, basedir string) (string, error)
MakeKubeletFlags returns the flags to start the kubelet
type NodeStartConfig ¶
type NodeStartConfig struct { // ContainerBinds is a list of local/path:image/path pairs ContainerBinds []string // NodeImage is the docker image for openshift start node NodeImage string Args []string }
func NewNodeStartConfig ¶
func NewNodeStartConfig() *NodeStartConfig
func (NodeStartConfig) MakeNodeConfig ¶
func (opt NodeStartConfig) MakeNodeConfig(dockerClient dockerhelper.Interface, basedir string) (string, error)
Start starts the OpenShift master as a Docker container and returns a directory in the local file system where the OpenShift configuration has been copied
Click to show internal directories.
Click to hide internal directories.