Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KindCluster ¶
type KindCluster struct {
// contains filtered or unexported fields
}
func NewKindCluster ¶
func NewKindCluster(config, name string) *KindCluster
func (*KindCluster) Create ¶
func (k *KindCluster) Create() error
func (*KindCluster) Destroy ¶
func (k *KindCluster) Destroy() error
func (*KindCluster) GetKubeConfig ¶
func (k *KindCluster) GetKubeConfig() (io.Reader, error)
func (*KindCluster) GetKubeCtlContext ¶
func (k *KindCluster) GetKubeCtlContext() string
func (*KindCluster) MakeKubeConfigFile ¶
func (k *KindCluster) MakeKubeConfigFile(path string) error
type SSHServer ¶
type SSHServer struct {
// contains filtered or unexported fields
}
func NewSSHServer ¶
func (*SSHServer) Start ¶
StartSSHServer starts starts sshd process using image linuxserver/openssh-server.DockerRunSSH The server opnes up port 2222 with the following command
docker create \ --name=test-sshd \ -e PUBLIC_KEY_FILE=$HOME/.ssh/id_rsa.pub \ -e USER_NAME=$USER \ -e SUDO_ACCESS=true \ -p 2222:2222 \ -v $HOME/.ssh:/config linuxserver/openssh-server
Click to show internal directories.
Click to hide internal directories.