Documentation ¶
Index ¶
Constants ¶
View Source
const ProviderName = "test"
ProviderName is the name of this provider
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudProvider ¶
type CloudProvider struct { sync.Mutex DeletedNodes []*kubernetes.Node }
CloudProvider is a dummy cloud provider to be used in tests
func NewTestCloudProvider ¶
func NewTestCloudProvider() *CloudProvider
NewTestCloudProvider instantiates a new CloudProvider
func (*CloudProvider) Delete ¶
func (t *CloudProvider) Delete(node *kubernetes.Node) error
Delete deletes the specified node
func (*CloudProvider) Name ¶
func (t *CloudProvider) Name() string
Name is the name of that cloud provider
Click to show internal directories.
Click to hide internal directories.