Documentation ¶
Index ¶
- type ShardStrategy
- func (_m *ShardStrategy) GetPodCount() int
- func (_m *ShardStrategy) HashCode() (uint32, error)
- func (_m *ShardStrategy) OnGetPodCount() *ShardStrategy_GetPodCount
- func (_m *ShardStrategy) OnGetPodCountMatch(matchers ...interface{}) *ShardStrategy_GetPodCount
- func (_m *ShardStrategy) OnHashCode() *ShardStrategy_HashCode
- func (_m *ShardStrategy) OnHashCodeMatch(matchers ...interface{}) *ShardStrategy_HashCode
- func (_m *ShardStrategy) OnUpdatePodSpec(pod *v1.PodSpec, containerName string, podIndex int) *ShardStrategy_UpdatePodSpec
- func (_m *ShardStrategy) OnUpdatePodSpecMatch(matchers ...interface{}) *ShardStrategy_UpdatePodSpec
- func (_m *ShardStrategy) UpdatePodSpec(pod *v1.PodSpec, containerName string, podIndex int) error
- type ShardStrategy_GetPodCount
- type ShardStrategy_HashCode
- type ShardStrategy_UpdatePodSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ShardStrategy ¶
ShardStrategy is an autogenerated mock type for the ShardStrategy type
func (*ShardStrategy) GetPodCount ¶
func (_m *ShardStrategy) GetPodCount() int
GetPodCount provides a mock function with given fields:
func (*ShardStrategy) HashCode ¶
func (_m *ShardStrategy) HashCode() (uint32, error)
HashCode provides a mock function with given fields:
func (*ShardStrategy) OnGetPodCount ¶
func (_m *ShardStrategy) OnGetPodCount() *ShardStrategy_GetPodCount
func (*ShardStrategy) OnGetPodCountMatch ¶
func (_m *ShardStrategy) OnGetPodCountMatch(matchers ...interface{}) *ShardStrategy_GetPodCount
func (*ShardStrategy) OnHashCode ¶
func (_m *ShardStrategy) OnHashCode() *ShardStrategy_HashCode
func (*ShardStrategy) OnHashCodeMatch ¶
func (_m *ShardStrategy) OnHashCodeMatch(matchers ...interface{}) *ShardStrategy_HashCode
func (*ShardStrategy) OnUpdatePodSpec ¶
func (_m *ShardStrategy) OnUpdatePodSpec(pod *v1.PodSpec, containerName string, podIndex int) *ShardStrategy_UpdatePodSpec
func (*ShardStrategy) OnUpdatePodSpecMatch ¶
func (_m *ShardStrategy) OnUpdatePodSpecMatch(matchers ...interface{}) *ShardStrategy_UpdatePodSpec
func (*ShardStrategy) UpdatePodSpec ¶
UpdatePodSpec provides a mock function with given fields: pod, containerName, podIndex
type ShardStrategy_GetPodCount ¶
func (ShardStrategy_GetPodCount) Return ¶
func (_m ShardStrategy_GetPodCount) Return(_a0 int) *ShardStrategy_GetPodCount
type ShardStrategy_HashCode ¶
func (ShardStrategy_HashCode) Return ¶
func (_m ShardStrategy_HashCode) Return(_a0 uint32, _a1 error) *ShardStrategy_HashCode
type ShardStrategy_UpdatePodSpec ¶
func (ShardStrategy_UpdatePodSpec) Return ¶
func (_m ShardStrategy_UpdatePodSpec) Return(_a0 error) *ShardStrategy_UpdatePodSpec
Click to show internal directories.
Click to hide internal directories.