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 ¶
func NewMockNodeProvider(ctrl *gomock.Controller) *NodeProvider
NewMockNodeProvider creates a new mock instance.
func (*NodeProvider) EXPECT ¶
func (m *NodeProvider) EXPECT() *NodeProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*NodeProvider) GetPlatformSubFaultDomain ¶
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 ¶
type NodeProviderMockRecorder struct {
// contains filtered or unexported fields
}
NodeProviderMockRecorder is the mock recorder for NodeProvider.
func (*NodeProviderMockRecorder) GetPlatformSubFaultDomain ¶
func (mr *NodeProviderMockRecorder) GetPlatformSubFaultDomain() *gomock.Call
GetPlatformSubFaultDomain indicates an expected call of GetPlatformSubFaultDomain.
func (*NodeProviderMockRecorder) GetZone ¶
func (mr *NodeProviderMockRecorder) GetZone(arg0, arg1 interface{}) *gomock.Call
GetZone indicates an expected call of GetZone.
func (*NodeProviderMockRecorder) InstanceID ¶
func (mr *NodeProviderMockRecorder) InstanceID(arg0, arg1 interface{}) *gomock.Call
InstanceID indicates an expected call of InstanceID.
func (*NodeProviderMockRecorder) InstanceType ¶
func (mr *NodeProviderMockRecorder) InstanceType(arg0, arg1 interface{}) *gomock.Call
InstanceType indicates an expected call of InstanceType.
func (*NodeProviderMockRecorder) NodeAddresses ¶
func (mr *NodeProviderMockRecorder) NodeAddresses(arg0, arg1 interface{}) *gomock.Call
NodeAddresses indicates an expected call of NodeAddresses.