func (_m *DockerClient) NodeInspectWithRaw(ctx context.Context, nodeID string) (swarm.Node, []byte, error) {
	ret := _m.Called(ctx, nodeID)

	var r0 swarm.Node
	if rf, ok := ret.Get(0).(func(context.Context, string) swarm.Node); ok {
		r0 = rf(ctx, nodeID)
	} else {
		r0 = ret.Get(0).(swarm.Node)
	}

	var r1 []byte
	if rf, ok := ret.Get(1).(func(context.Context, string) []byte); ok {
		r1 = rf(ctx, nodeID)
	} else {
		if ret.Get(1) != nil {
			r1 = ret.Get(1).([]byte)
		}
	}

	var r2 error
	if rf, ok := ret.Get(2).(func(context.Context, string) error); ok {
		r2 = rf(ctx, nodeID)
	} else {
		r2 = ret.Error(2)
	}

	return r0, r1, r2
}
// NodeInspectWithRaw provides a mock function with given fields: ctx, nodeID
NodeInspectWithRaw provides a mock function with given fields: ctx, nodeID
// NodeInspectWithRaw provides a mock function with given fields : ctx nodeID
func (_m *DockerClient) NodeInspectWithRaw(ctx context.Context, nodeID string) (swarm.Node, []byte, error) {
	ret := _m.Called(ctx, nodeID)
	var r0 swarm.Node
	if rf, ok := ret.Get(0).(func(context.Context, string) swarm.Node); ok {
		r0 = rf(ctx, nodeID)
	} else {
		r0 = ret.Get(0).(swarm.Node)
	}
	var r1 []byte
	if rf, ok := ret.Get(1).(func(context.Context, string) []byte); ok {
		r1 = rf(ctx, nodeID)
	} else {
		if ret.Get(1) != nil {
			r1 = ret.Get(1).([]byte)
		}
	}
	var r2 error
	if rf, ok := ret.Get(2).(func(context.Context, string) error); ok {
		r2 = rf(ctx, nodeID)
	} else {
		r2 = ret.Error(2)
	}
	return r0, r1, r2
}
func ( _m * DockerClient ) NodeInspectWithRaw ( ctx context . Context , nodeID string ) ( swarm . Node , [ ] byte , error ) { ret := _m . Called ( ctx , nodeID ) var r0 swarm . Node if rf , ok := ret . Get ( 0 ) . ( func ( context . Context , string ) swarm . Node ) ; ok { r0 = rf ( ctx , nodeID ) } else { r0 = ret . Get ( 0 ) . ( swarm . Node ) } var r1 [ ] byte if rf , ok := ret . Get ( 1 ) . ( func ( context . Context , string ) [ ] byte ) ; ok { r1 = rf ( ctx , nodeID ) } else { if ret . Get ( 1 ) != nil { r1 = ret . Get ( 1 ) . ( [ ] byte ) } } var r2 error if rf , ok := ret . Get ( 2 ) . ( func ( context . Context , string ) error ) ; ok { r2 = rf ( ctx , nodeID ) } else { r2 = ret . Error ( 2 ) } return r0 , r1 , r2 }
NodeInspectWithRaw provides a mock function with given fields: ctx, nodeID
NodeInspectWithRaw provides a mock function with given fields : ctx nodeID