Documentation ¶
Index ¶
- type NodeProvider
- func (m *NodeProvider) EXPECT() *NodeProviderMockRecorder
- func (m *NodeProvider) GetPlatformSubFaultDomain() (string, error)
- func (m *NodeProvider) GetZone(arg0 context.Context, arg1 types.NodeName) (cloudprovider.Zone, error)
- func (m *NodeProvider) InstanceID(arg0 context.Context, arg1 types.NodeName) (string, error)
- func (m *NodeProvider) InstanceType(arg0 context.Context, arg1 types.NodeName) (string, error)
- func (m *NodeProvider) NodeAddresses(arg0 context.Context, arg1 types.NodeName) ([]v1.NodeAddress, error)
- type NodeProviderMockRecorder
- func (mr *NodeProviderMockRecorder) GetPlatformSubFaultDomain() *gomock.Call
- func (mr *NodeProviderMockRecorder) GetZone(arg0, arg1 interface{}) *gomock.Call
- func (mr *NodeProviderMockRecorder) InstanceID(arg0, arg1 interface{}) *gomock.Call
- func (mr *NodeProviderMockRecorder) InstanceType(arg0, arg1 interface{}) *gomock.Call
- func (mr *NodeProviderMockRecorder) NodeAddresses(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeProvider ¶
type NodeProvider struct {
// contains filtered or unexported fields
}
NodeProvider is a mock of NodeProvider interface.
func NewMockNodeProvider ¶ added in v0.7.13
func NewMockNodeProvider(ctrl *gomock.Controller) *NodeProvider
NewMockNodeProvider creates a new mock instance.
func (*NodeProvider) EXPECT ¶ added in v0.7.13
func (m *NodeProvider) EXPECT() *NodeProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*NodeProvider) GetPlatformSubFaultDomain ¶ added in v0.7.13
func (m *NodeProvider) GetPlatformSubFaultDomain() (string, error)
GetPlatformSubFaultDomain mocks base method.
func (*NodeProvider) GetZone ¶
func (m *NodeProvider) GetZone(arg0 context.Context, arg1 types.NodeName) (cloudprovider.Zone, error)
GetZone mocks base method.
func (*NodeProvider) InstanceID ¶
InstanceID mocks base method.
func (*NodeProvider) InstanceType ¶
InstanceType mocks base method.
func (*NodeProvider) NodeAddresses ¶
func (m *NodeProvider) NodeAddresses(arg0 context.Context, arg1 types.NodeName) ([]v1.NodeAddress, error)
NodeAddresses mocks base method.
type NodeProviderMockRecorder ¶ added in v0.7.13
type NodeProviderMockRecorder struct {
// contains filtered or unexported fields
}
NodeProviderMockRecorder is the mock recorder for NodeProvider.
func (*NodeProviderMockRecorder) GetPlatformSubFaultDomain ¶ added in v0.7.13
func (mr *NodeProviderMockRecorder) GetPlatformSubFaultDomain() *gomock.Call
GetPlatformSubFaultDomain indicates an expected call of GetPlatformSubFaultDomain.
func (*NodeProviderMockRecorder) GetZone ¶ added in v0.7.13
func (mr *NodeProviderMockRecorder) GetZone(arg0, arg1 interface{}) *gomock.Call
GetZone indicates an expected call of GetZone.
func (*NodeProviderMockRecorder) InstanceID ¶ added in v0.7.13
func (mr *NodeProviderMockRecorder) InstanceID(arg0, arg1 interface{}) *gomock.Call
InstanceID indicates an expected call of InstanceID.
func (*NodeProviderMockRecorder) InstanceType ¶ added in v0.7.13
func (mr *NodeProviderMockRecorder) InstanceType(arg0, arg1 interface{}) *gomock.Call
InstanceType indicates an expected call of InstanceType.
func (*NodeProviderMockRecorder) NodeAddresses ¶ added in v0.7.13
func (mr *NodeProviderMockRecorder) NodeAddresses(arg0, arg1 interface{}) *gomock.Call
NodeAddresses indicates an expected call of NodeAddresses.