Documentation ¶
Index ¶
- type Client
- type ClientMock
- func (mmGetZonesDatastores *ClientMock) GetZonesDatastores() (op1 *Output, err error)
- func (mmGetZonesDatastores *ClientMock) GetZonesDatastoresAfterCounter() uint64
- func (mmGetZonesDatastores *ClientMock) GetZonesDatastoresBeforeCounter() uint64
- func (m *ClientMock) MinimockFinish()
- func (m *ClientMock) MinimockGetZonesDatastoresDone() bool
- func (m *ClientMock) MinimockGetZonesDatastoresInspect()
- func (m *ClientMock) MinimockWait(timeout mm_time.Duration)
- type ClientMockGetZonesDatastoresExpectation
- type ClientMockGetZonesDatastoresResults
- type Output
- type Provider
- type ProviderClusterConfiguration
- type ZonedDataStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientMock ¶
type ClientMock struct { GetZonesDatastoresMock mClientMockGetZonesDatastores // contains filtered or unexported fields }
ClientMock implements Client
func NewClientMock ¶
func NewClientMock(t minimock.Tester) *ClientMock
NewClientMock returns a mock for Client
func (*ClientMock) GetZonesDatastores ¶
func (mmGetZonesDatastores *ClientMock) GetZonesDatastores() (op1 *Output, err error)
GetZonesDatastores implements Client
func (*ClientMock) GetZonesDatastoresAfterCounter ¶
func (mmGetZonesDatastores *ClientMock) GetZonesDatastoresAfterCounter() uint64
GetZonesDatastoresAfterCounter returns a count of finished ClientMock.GetZonesDatastores invocations
func (*ClientMock) GetZonesDatastoresBeforeCounter ¶
func (mmGetZonesDatastores *ClientMock) GetZonesDatastoresBeforeCounter() uint64
GetZonesDatastoresBeforeCounter returns a count of ClientMock.GetZonesDatastores invocations
func (*ClientMock) MinimockFinish ¶
func (m *ClientMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*ClientMock) MinimockGetZonesDatastoresDone ¶
func (m *ClientMock) MinimockGetZonesDatastoresDone() bool
MinimockGetZonesDatastoresDone returns true if the count of the GetZonesDatastores invocations corresponds the number of defined expectations
func (*ClientMock) MinimockGetZonesDatastoresInspect ¶
func (m *ClientMock) MinimockGetZonesDatastoresInspect()
MinimockGetZonesDatastoresInspect logs each unmet expectation
func (*ClientMock) MinimockWait ¶
func (m *ClientMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
type ClientMockGetZonesDatastoresExpectation ¶
type ClientMockGetZonesDatastoresExpectation struct { Counter uint64 // contains filtered or unexported fields }
ClientMockGetZonesDatastoresExpectation specifies expectation struct of the Client.GetZonesDatastores
type ClientMockGetZonesDatastoresResults ¶
type ClientMockGetZonesDatastoresResults struct {
// contains filtered or unexported fields
}
ClientMockGetZonesDatastoresResults contains results of the Client.GetZonesDatastores
type Output ¶
type Output struct { Datacenter string `json:"datacenter"` Zones []string `json:"zones"` ZonedDataStores []ZonedDataStore `json:"datastores"` }