Expand description
Port of internal/cluster/mock/driver.go: a mock super::Driver
implementation for testing. This module is intended for use in tests
only and should not be depended on by production code.
Structs§
- Cluster
State - Port of
mock.ClusterState, the externally visible mirror of the internalclusterState. - Driver
- Port of
mock.Driver. - Error
Config - Port of
mock.ErrorConfig.
Constants§
Functions§
- clear_
error_ config - Port of
mock.ClearErrorConfig. - get_
state - Port of
mock.GetState. - profile_
exists - Port of
mock.ProfileExists. - reset_
global_ state - Port of
mock.ResetGlobalState: clears all global mock state and error configuration. Call between tests to avoid cross-test contamination. - set_
cluster_ state - Port of
mock.SetClusterState. - set_
error_ config - Port of
mock.SetErrorConfig. - set_
kubeconfig - Port of
mock.SetKubeconfig.