Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrK8SConnectionError = errors.New("unable to connection the kubernetes API")
)
Functions ¶
func GetNATPrefix ¶
GetNATPrefix returns the IP address of the SNAT that the control plane and by extension we, sit behind.
Types ¶
type DefaultK8SAPITester ¶
type DefaultK8SAPITester struct{}
func (*DefaultK8SAPITester) Connect ¶
func (t *DefaultK8SAPITester) Connect(ctx context.Context, config *clientcmdapi.Config) error
type K8SAPITester ¶
type K8SAPITester interface {
Connect(ctx context.Context, config *clientcmdapi.Config) error
}
Click to show internal directories.
Click to hide internal directories.