mocks

package
v1.9.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ShardStrategy

type ShardStrategy struct {
	mock.Mock
}

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

func (_m *ShardStrategy) UpdatePodSpec(pod *v1.PodSpec, containerName string, podIndex int) error

UpdatePodSpec provides a mock function with given fields: pod, containerName, podIndex

type ShardStrategy_GetPodCount

type ShardStrategy_GetPodCount struct {
	*mock.Call
}

func (ShardStrategy_GetPodCount) Return

type ShardStrategy_HashCode

type ShardStrategy_HashCode struct {
	*mock.Call
}

func (ShardStrategy_HashCode) Return

type ShardStrategy_UpdatePodSpec

type ShardStrategy_UpdatePodSpec struct {
	*mock.Call
}

func (ShardStrategy_UpdatePodSpec) Return

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL