Documentation ¶
Overview ¶
Package mock provides all methods required to simulate a HCloud provider environment
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTestEnv ¶
type MockTestEnv struct { ChartApplier *mockkubernetes.MockChartApplier Client *mockclient.MockClient MockController *gomock.Controller StatusWriter *mockclient.MockStatusWriter }
MockTestEnv represents the test environment for testing HCloud API calls
func NewMockTestEnv ¶
func NewMockTestEnv() MockTestEnv
NewMockTestEnv generates a new, unconfigured test environment for testing purposes.
func (*MockTestEnv) Teardown ¶
func (env *MockTestEnv) Teardown()
Teardown shuts down the test environment
Click to show internal directories.
Click to hide internal directories.