gardener: github.com/gardener/gardener/pkg/mock/gardener/utils/retry Index | Files

package retry

import "github.com/gardener/gardener/pkg/mock/gardener/utils/retry"

Package retry is a generated GoMock package.

Package retry is a generated GoMock package.

Index

Package Files

doc.go funcs.go mocks.go

type Func Uses

type Func interface {
    Do(ctx context.Context) (done bool, err error)
}

Func allows mocking retry.Func.

type MockErrorAggregator Uses

type MockErrorAggregator struct {
    // contains filtered or unexported fields
}

MockErrorAggregator is a mock of ErrorAggregator interface

func NewMockErrorAggregator Uses

func NewMockErrorAggregator(ctrl *gomock.Controller) *MockErrorAggregator

NewMockErrorAggregator creates a new mock instance

func (*MockErrorAggregator) EXPECT Uses

func (m *MockErrorAggregator) EXPECT() *MockErrorAggregatorMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockErrorAggregator) Error Uses

func (m *MockErrorAggregator) Error() error

Error mocks base method

func (*MockErrorAggregator) Minor Uses

func (m *MockErrorAggregator) Minor(arg0 error)

Minor mocks base method

func (*MockErrorAggregator) Severe Uses

func (m *MockErrorAggregator) Severe(arg0 error)

Severe mocks base method

type MockErrorAggregatorFactory Uses

type MockErrorAggregatorFactory struct {
    // contains filtered or unexported fields
}

MockErrorAggregatorFactory is a mock of ErrorAggregatorFactory interface

func NewMockErrorAggregatorFactory Uses

func NewMockErrorAggregatorFactory(ctrl *gomock.Controller) *MockErrorAggregatorFactory

NewMockErrorAggregatorFactory creates a new mock instance

func (*MockErrorAggregatorFactory) EXPECT Uses

func (m *MockErrorAggregatorFactory) EXPECT() *MockErrorAggregatorFactoryMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockErrorAggregatorFactory) New Uses

func (m *MockErrorAggregatorFactory) New() retry.ErrorAggregator

New mocks base method

type MockErrorAggregatorFactoryMockRecorder Uses

type MockErrorAggregatorFactoryMockRecorder struct {
    // contains filtered or unexported fields
}

MockErrorAggregatorFactoryMockRecorder is the mock recorder for MockErrorAggregatorFactory

func (*MockErrorAggregatorFactoryMockRecorder) New Uses

func (mr *MockErrorAggregatorFactoryMockRecorder) New() *gomock.Call

New indicates an expected call of New

type MockErrorAggregatorMockRecorder Uses

type MockErrorAggregatorMockRecorder struct {
    // contains filtered or unexported fields
}

MockErrorAggregatorMockRecorder is the mock recorder for MockErrorAggregator

func (*MockErrorAggregatorMockRecorder) Error Uses

func (mr *MockErrorAggregatorMockRecorder) Error() *gomock.Call

Error indicates an expected call of Error

func (*MockErrorAggregatorMockRecorder) Minor Uses

func (mr *MockErrorAggregatorMockRecorder) Minor(arg0 interface{}) *gomock.Call

Minor indicates an expected call of Minor

func (*MockErrorAggregatorMockRecorder) Severe Uses

func (mr *MockErrorAggregatorMockRecorder) Severe(arg0 interface{}) *gomock.Call

Severe indicates an expected call of Severe

type MockFunc Uses

type MockFunc struct {
    // contains filtered or unexported fields
}

MockFunc is a mock of Func interface

func NewMockFunc Uses

func NewMockFunc(ctrl *gomock.Controller) *MockFunc

NewMockFunc creates a new mock instance

func (*MockFunc) Do Uses

func (m *MockFunc) Do(arg0 context.Context) (bool, error)

Do mocks base method

func (*MockFunc) EXPECT Uses

func (m *MockFunc) EXPECT() *MockFuncMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

type MockFuncMockRecorder Uses

type MockFuncMockRecorder struct {
    // contains filtered or unexported fields
}

MockFuncMockRecorder is the mock recorder for MockFunc

func (*MockFuncMockRecorder) Do Uses

func (mr *MockFuncMockRecorder) Do(arg0 interface{}) *gomock.Call

Do indicates an expected call of Do

type MockIntervalFactory Uses

type MockIntervalFactory struct {
    // contains filtered or unexported fields
}

MockIntervalFactory is a mock of IntervalFactory interface

func NewMockIntervalFactory Uses

func NewMockIntervalFactory(ctrl *gomock.Controller) *MockIntervalFactory

NewMockIntervalFactory creates a new mock instance

func (*MockIntervalFactory) EXPECT Uses

func (m *MockIntervalFactory) EXPECT() *MockIntervalFactoryMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockIntervalFactory) New Uses

func (m *MockIntervalFactory) New(arg0 time.Duration) retry.WaitFunc

New mocks base method

type MockIntervalFactoryMockRecorder Uses

type MockIntervalFactoryMockRecorder struct {
    // contains filtered or unexported fields
}

MockIntervalFactoryMockRecorder is the mock recorder for MockIntervalFactory

func (*MockIntervalFactoryMockRecorder) New Uses

func (mr *MockIntervalFactoryMockRecorder) New(arg0 interface{}) *gomock.Call

New indicates an expected call of New

type MockWaitFunc Uses

type MockWaitFunc struct {
    // contains filtered or unexported fields
}

MockWaitFunc is a mock of WaitFunc interface

func NewMockWaitFunc Uses

func NewMockWaitFunc(ctrl *gomock.Controller) *MockWaitFunc

NewMockWaitFunc creates a new mock instance

func (*MockWaitFunc) Do Uses

func (m *MockWaitFunc) Do(arg0 context.Context) (context.Context, context.CancelFunc)

Do mocks base method

func (*MockWaitFunc) EXPECT Uses

func (m *MockWaitFunc) EXPECT() *MockWaitFuncMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

type MockWaitFuncMockRecorder Uses

type MockWaitFuncMockRecorder struct {
    // contains filtered or unexported fields
}

MockWaitFuncMockRecorder is the mock recorder for MockWaitFunc

func (*MockWaitFuncMockRecorder) Do Uses

func (mr *MockWaitFuncMockRecorder) Do(arg0 interface{}) *gomock.Call

Do indicates an expected call of Do

type WaitFunc Uses

type WaitFunc interface {
    Do(ctx context.Context) (context.Context, context.CancelFunc)
}

WaitFunc allows mocking retry.WaitFunc.

Package retry imports 5 packages (graph). Updated 2019-06-06. Refresh now. Tools for package owners.