Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProviderInterface ¶
type ProviderInterface interface { RunCommandOnNode(nodeName string, cmd string) (code int, stdout string, stderr string, err error) GetKubeconfigPath() (string, error) }
ProviderInterface Hides away specific characteristics of the K8s cluster. This should enable the same tests to be run on a variety of providers.
func NewRemoteProvider ¶
func NewRemoteProvider(_ string) (ProviderInterface, error)
NewRemoteProvider returns an implementation of ProviderInterface which enables tests to run on a remote cluster. configPath is unused for the remote provider
type RemoteProvider ¶
type RemoteProvider struct {
// contains filtered or unexported fields
}
func (*RemoteProvider) GetKubeconfigPath ¶
func (p *RemoteProvider) GetKubeconfigPath() (string, error)
func (*RemoteProvider) RunCommandOnNode ¶
Click to show internal directories.
Click to hide internal directories.