Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProviderInterface ¶
type ProviderInterface interface { GetSSHConfig(name string) (string, *ssh.ClientConfig, error) GetKubeconfigPath() (string, error) }
Hides away specific characteristics of the K8s cluster. This should enable the same tests to be run on a variety of providers.
func NewVagrantProvider ¶
func NewVagrantProvider(configPath string) (ProviderInterface, error)
NewVagrantProvider returns an implementation of ProviderInterface which is suitable for a Kubernetes test cluster created with the provided Vagrantfile. configPath is unused for the vagrant provider
type VagrantProvider ¶
type VagrantProvider struct{}
func (*VagrantProvider) GetKubeconfigPath ¶
func (provider *VagrantProvider) GetKubeconfigPath() (string, error)
func (*VagrantProvider) GetSSHConfig ¶
func (provider *VagrantProvider) GetSSHConfig(name string) (string, *ssh.ClientConfig, error)
Click to show internal directories.
Click to hide internal directories.