mock_chaosmesh

package
v0.0.0-...-f5de34e Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_chaosmesh is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBuilder

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

MockBuilder is a mock of Builder interface.

func NewMockBuilder

func NewMockBuilder(ctrl *gomock.Controller) *MockBuilder

NewMockBuilder creates a new mock instance.

func (*MockBuilder) EXPECT

func (m *MockBuilder) EXPECT() *MockBuilderMockRecorder

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

func (*MockBuilder) NewNetworkChaos

func (m *MockBuilder) NewNetworkChaos(arg0 context.Context, arg1 *v1alpha1.Chaos) chaosmesh.NetworkChaos

NewNetworkChaos mocks base method.

func (*MockBuilder) NewPodChaos

func (m *MockBuilder) NewPodChaos(arg0 context.Context, arg1 *v1alpha1.Chaos) chaosmesh.PodChaos

NewPodChaos mocks base method.

func (*MockBuilder) NewStressChaos

func (m *MockBuilder) NewStressChaos(arg0 context.Context, arg1 *v1alpha1.Chaos) chaosmesh.StressChaos

NewStressChaos mocks base method.

type MockBuilderMockRecorder

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

MockBuilderMockRecorder is the mock recorder for MockBuilder.

func (*MockBuilderMockRecorder) NewNetworkChaos

func (mr *MockBuilderMockRecorder) NewNetworkChaos(arg0, arg1 interface{}) *gomock.Call

NewNetworkChaos indicates an expected call of NewNetworkChaos.

func (*MockBuilderMockRecorder) NewPodChaos

func (mr *MockBuilderMockRecorder) NewPodChaos(arg0, arg1 interface{}) *gomock.Call

NewPodChaos indicates an expected call of NewPodChaos.

func (*MockBuilderMockRecorder) NewStressChaos

func (mr *MockBuilderMockRecorder) NewStressChaos(arg0, arg1 interface{}) *gomock.Call

NewStressChaos indicates an expected call of NewStressChaos.

type MockChaos

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

MockChaos is a mock of Chaos interface.

func NewMockChaos

func NewMockChaos(ctrl *gomock.Controller) *MockChaos

NewMockChaos creates a new mock instance.

func (*MockChaos) CreateNetworkChaos

func (m *MockChaos) CreateNetworkChaos(arg0 context.Context, arg1 *v1alpha1.Chaos) error

CreateNetworkChaos mocks base method.

func (*MockChaos) CreatePodChaos

func (m *MockChaos) CreatePodChaos(arg0 context.Context, arg1 *v1alpha1.Chaos) error

CreatePodChaos mocks base method.

func (*MockChaos) CreateStressChaos

func (m *MockChaos) CreateStressChaos(arg0 context.Context, arg1 *v1alpha1.Chaos) error

CreateStressChaos mocks base method.

func (*MockChaos) DeleteNetworkChaos

func (m *MockChaos) DeleteNetworkChaos(arg0 context.Context, arg1 chaosmesh.NetworkChaos) error

DeleteNetworkChaos mocks base method.

func (*MockChaos) DeletePodChaos

func (m *MockChaos) DeletePodChaos(arg0 context.Context, arg1 chaosmesh.PodChaos) error

DeletePodChaos mocks base method.

func (*MockChaos) DeleteStressChaos

func (m *MockChaos) DeleteStressChaos(arg0 context.Context, arg1 chaosmesh.StressChaos) error

DeleteStressChaos mocks base method.

func (*MockChaos) EXPECT

func (m *MockChaos) EXPECT() *MockChaosMockRecorder

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

func (*MockChaos) GetNetworkChaosByNamespacedName

func (m *MockChaos) GetNetworkChaosByNamespacedName(arg0 context.Context, arg1 types.NamespacedName) (chaosmesh.NetworkChaos, error)

GetNetworkChaosByNamespacedName mocks base method.

func (*MockChaos) GetPodChaosByNamespacedName

func (m *MockChaos) GetPodChaosByNamespacedName(arg0 context.Context, arg1 types.NamespacedName) (chaosmesh.PodChaos, error)

GetPodChaosByNamespacedName mocks base method.

func (*MockChaos) GetStressChaosByNamespacedName

func (m *MockChaos) GetStressChaosByNamespacedName(arg0 context.Context, arg1 types.NamespacedName) (chaosmesh.StressChaos, error)

GetStressChaosByNamespacedName mocks base method.

func (*MockChaos) NewNetworkChaos

func (m *MockChaos) NewNetworkChaos(arg0 context.Context, arg1 *v1alpha1.Chaos) chaosmesh.NetworkChaos

NewNetworkChaos mocks base method.

func (*MockChaos) NewPodChaos

func (m *MockChaos) NewPodChaos(arg0 context.Context, arg1 *v1alpha1.Chaos) chaosmesh.PodChaos

NewPodChaos mocks base method.

func (*MockChaos) NewStressChaos

func (m *MockChaos) NewStressChaos(arg0 context.Context, arg1 *v1alpha1.Chaos) chaosmesh.StressChaos

NewStressChaos mocks base method.

func (*MockChaos) UpdateNetworkChaos

func (m *MockChaos) UpdateNetworkChaos(arg0 context.Context, arg1 chaosmesh.NetworkChaos, arg2 *v1alpha1.Chaos) error

UpdateNetworkChaos mocks base method.

func (*MockChaos) UpdatePodChaos

func (m *MockChaos) UpdatePodChaos(arg0 context.Context, arg1 chaosmesh.PodChaos, arg2 *v1alpha1.Chaos) error

UpdatePodChaos mocks base method.

func (*MockChaos) UpdateStressChaos

func (m *MockChaos) UpdateStressChaos(arg0 context.Context, arg1 chaosmesh.StressChaos, arg2 *v1alpha1.Chaos) error

UpdateStressChaos mocks base method.

type MockChaosMockRecorder

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

MockChaosMockRecorder is the mock recorder for MockChaos.

func (*MockChaosMockRecorder) CreateNetworkChaos

func (mr *MockChaosMockRecorder) CreateNetworkChaos(arg0, arg1 interface{}) *gomock.Call

CreateNetworkChaos indicates an expected call of CreateNetworkChaos.

func (*MockChaosMockRecorder) CreatePodChaos

func (mr *MockChaosMockRecorder) CreatePodChaos(arg0, arg1 interface{}) *gomock.Call

CreatePodChaos indicates an expected call of CreatePodChaos.

func (*MockChaosMockRecorder) CreateStressChaos

func (mr *MockChaosMockRecorder) CreateStressChaos(arg0, arg1 interface{}) *gomock.Call

CreateStressChaos indicates an expected call of CreateStressChaos.

func (*MockChaosMockRecorder) DeleteNetworkChaos

func (mr *MockChaosMockRecorder) DeleteNetworkChaos(arg0, arg1 interface{}) *gomock.Call

DeleteNetworkChaos indicates an expected call of DeleteNetworkChaos.

func (*MockChaosMockRecorder) DeletePodChaos

func (mr *MockChaosMockRecorder) DeletePodChaos(arg0, arg1 interface{}) *gomock.Call

DeletePodChaos indicates an expected call of DeletePodChaos.

func (*MockChaosMockRecorder) DeleteStressChaos

func (mr *MockChaosMockRecorder) DeleteStressChaos(arg0, arg1 interface{}) *gomock.Call

DeleteStressChaos indicates an expected call of DeleteStressChaos.

func (*MockChaosMockRecorder) GetNetworkChaosByNamespacedName

func (mr *MockChaosMockRecorder) GetNetworkChaosByNamespacedName(arg0, arg1 interface{}) *gomock.Call

GetNetworkChaosByNamespacedName indicates an expected call of GetNetworkChaosByNamespacedName.

func (*MockChaosMockRecorder) GetPodChaosByNamespacedName

func (mr *MockChaosMockRecorder) GetPodChaosByNamespacedName(arg0, arg1 interface{}) *gomock.Call

GetPodChaosByNamespacedName indicates an expected call of GetPodChaosByNamespacedName.

func (*MockChaosMockRecorder) GetStressChaosByNamespacedName

func (mr *MockChaosMockRecorder) GetStressChaosByNamespacedName(arg0, arg1 interface{}) *gomock.Call

GetStressChaosByNamespacedName indicates an expected call of GetStressChaosByNamespacedName.

func (*MockChaosMockRecorder) NewNetworkChaos

func (mr *MockChaosMockRecorder) NewNetworkChaos(arg0, arg1 interface{}) *gomock.Call

NewNetworkChaos indicates an expected call of NewNetworkChaos.

func (*MockChaosMockRecorder) NewPodChaos

func (mr *MockChaosMockRecorder) NewPodChaos(arg0, arg1 interface{}) *gomock.Call

NewPodChaos indicates an expected call of NewPodChaos.

func (*MockChaosMockRecorder) NewStressChaos

func (mr *MockChaosMockRecorder) NewStressChaos(arg0, arg1 interface{}) *gomock.Call

NewStressChaos indicates an expected call of NewStressChaos.

func (*MockChaosMockRecorder) UpdateNetworkChaos

func (mr *MockChaosMockRecorder) UpdateNetworkChaos(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateNetworkChaos indicates an expected call of UpdateNetworkChaos.

func (*MockChaosMockRecorder) UpdatePodChaos

func (mr *MockChaosMockRecorder) UpdatePodChaos(arg0, arg1, arg2 interface{}) *gomock.Call

UpdatePodChaos indicates an expected call of UpdatePodChaos.

func (*MockChaosMockRecorder) UpdateStressChaos

func (mr *MockChaosMockRecorder) UpdateStressChaos(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateStressChaos indicates an expected call of UpdateStressChaos.

type MockGetter

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

MockGetter is a mock of Getter interface.

func NewMockGetter

func NewMockGetter(ctrl *gomock.Controller) *MockGetter

NewMockGetter creates a new mock instance.

func (*MockGetter) EXPECT

func (m *MockGetter) EXPECT() *MockGetterMockRecorder

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

func (*MockGetter) GetNetworkChaosByNamespacedName

func (m *MockGetter) GetNetworkChaosByNamespacedName(arg0 context.Context, arg1 types.NamespacedName) (chaosmesh.NetworkChaos, error)

GetNetworkChaosByNamespacedName mocks base method.

func (*MockGetter) GetPodChaosByNamespacedName

func (m *MockGetter) GetPodChaosByNamespacedName(arg0 context.Context, arg1 types.NamespacedName) (chaosmesh.PodChaos, error)

GetPodChaosByNamespacedName mocks base method.

func (*MockGetter) GetStressChaosByNamespacedName

func (m *MockGetter) GetStressChaosByNamespacedName(arg0 context.Context, arg1 types.NamespacedName) (chaosmesh.StressChaos, error)

GetStressChaosByNamespacedName mocks base method.

type MockGetterMockRecorder

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

MockGetterMockRecorder is the mock recorder for MockGetter.

func (*MockGetterMockRecorder) GetNetworkChaosByNamespacedName

func (mr *MockGetterMockRecorder) GetNetworkChaosByNamespacedName(arg0, arg1 interface{}) *gomock.Call

GetNetworkChaosByNamespacedName indicates an expected call of GetNetworkChaosByNamespacedName.

func (*MockGetterMockRecorder) GetPodChaosByNamespacedName

func (mr *MockGetterMockRecorder) GetPodChaosByNamespacedName(arg0, arg1 interface{}) *gomock.Call

GetPodChaosByNamespacedName indicates an expected call of GetPodChaosByNamespacedName.

func (*MockGetterMockRecorder) GetStressChaosByNamespacedName

func (mr *MockGetterMockRecorder) GetStressChaosByNamespacedName(arg0, arg1 interface{}) *gomock.Call

GetStressChaosByNamespacedName indicates an expected call of GetStressChaosByNamespacedName.

type MockNetworkChaos

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

MockNetworkChaos is a mock of NetworkChaos interface.

func NewMockNetworkChaos

func NewMockNetworkChaos(ctrl *gomock.Controller) *MockNetworkChaos

NewMockNetworkChaos creates a new mock instance.

func (*MockNetworkChaos) EXPECT

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

type MockNetworkChaosMockRecorder

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

MockNetworkChaosMockRecorder is the mock recorder for MockNetworkChaos.

type MockPodChaos

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

MockPodChaos is a mock of PodChaos interface.

func NewMockPodChaos

func NewMockPodChaos(ctrl *gomock.Controller) *MockPodChaos

NewMockPodChaos creates a new mock instance.

func (*MockPodChaos) EXPECT

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

type MockPodChaosMockRecorder

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

MockPodChaosMockRecorder is the mock recorder for MockPodChaos.

type MockSetter

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

MockSetter is a mock of Setter interface.

func NewMockSetter

func NewMockSetter(ctrl *gomock.Controller) *MockSetter

NewMockSetter creates a new mock instance.

func (*MockSetter) CreateNetworkChaos

func (m *MockSetter) CreateNetworkChaos(arg0 context.Context, arg1 *v1alpha1.Chaos) error

CreateNetworkChaos mocks base method.

func (*MockSetter) CreatePodChaos

func (m *MockSetter) CreatePodChaos(arg0 context.Context, arg1 *v1alpha1.Chaos) error

CreatePodChaos mocks base method.

func (*MockSetter) CreateStressChaos

func (m *MockSetter) CreateStressChaos(arg0 context.Context, arg1 *v1alpha1.Chaos) error

CreateStressChaos mocks base method.

func (*MockSetter) DeleteNetworkChaos

func (m *MockSetter) DeleteNetworkChaos(arg0 context.Context, arg1 chaosmesh.NetworkChaos) error

DeleteNetworkChaos mocks base method.

func (*MockSetter) DeletePodChaos

func (m *MockSetter) DeletePodChaos(arg0 context.Context, arg1 chaosmesh.PodChaos) error

DeletePodChaos mocks base method.

func (*MockSetter) DeleteStressChaos

func (m *MockSetter) DeleteStressChaos(arg0 context.Context, arg1 chaosmesh.StressChaos) error

DeleteStressChaos mocks base method.

func (*MockSetter) EXPECT

func (m *MockSetter) EXPECT() *MockSetterMockRecorder

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

func (*MockSetter) UpdateNetworkChaos

func (m *MockSetter) UpdateNetworkChaos(arg0 context.Context, arg1 chaosmesh.NetworkChaos, arg2 *v1alpha1.Chaos) error

UpdateNetworkChaos mocks base method.

func (*MockSetter) UpdatePodChaos

func (m *MockSetter) UpdatePodChaos(arg0 context.Context, arg1 chaosmesh.PodChaos, arg2 *v1alpha1.Chaos) error

UpdatePodChaos mocks base method.

func (*MockSetter) UpdateStressChaos

func (m *MockSetter) UpdateStressChaos(arg0 context.Context, arg1 chaosmesh.StressChaos, arg2 *v1alpha1.Chaos) error

UpdateStressChaos mocks base method.

type MockSetterMockRecorder

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

MockSetterMockRecorder is the mock recorder for MockSetter.

func (*MockSetterMockRecorder) CreateNetworkChaos

func (mr *MockSetterMockRecorder) CreateNetworkChaos(arg0, arg1 interface{}) *gomock.Call

CreateNetworkChaos indicates an expected call of CreateNetworkChaos.

func (*MockSetterMockRecorder) CreatePodChaos

func (mr *MockSetterMockRecorder) CreatePodChaos(arg0, arg1 interface{}) *gomock.Call

CreatePodChaos indicates an expected call of CreatePodChaos.

func (*MockSetterMockRecorder) CreateStressChaos

func (mr *MockSetterMockRecorder) CreateStressChaos(arg0, arg1 interface{}) *gomock.Call

CreateStressChaos indicates an expected call of CreateStressChaos.

func (*MockSetterMockRecorder) DeleteNetworkChaos

func (mr *MockSetterMockRecorder) DeleteNetworkChaos(arg0, arg1 interface{}) *gomock.Call

DeleteNetworkChaos indicates an expected call of DeleteNetworkChaos.

func (*MockSetterMockRecorder) DeletePodChaos

func (mr *MockSetterMockRecorder) DeletePodChaos(arg0, arg1 interface{}) *gomock.Call

DeletePodChaos indicates an expected call of DeletePodChaos.

func (*MockSetterMockRecorder) DeleteStressChaos

func (mr *MockSetterMockRecorder) DeleteStressChaos(arg0, arg1 interface{}) *gomock.Call

DeleteStressChaos indicates an expected call of DeleteStressChaos.

func (*MockSetterMockRecorder) UpdateNetworkChaos

func (mr *MockSetterMockRecorder) UpdateNetworkChaos(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateNetworkChaos indicates an expected call of UpdateNetworkChaos.

func (*MockSetterMockRecorder) UpdatePodChaos

func (mr *MockSetterMockRecorder) UpdatePodChaos(arg0, arg1, arg2 interface{}) *gomock.Call

UpdatePodChaos indicates an expected call of UpdatePodChaos.

func (*MockSetterMockRecorder) UpdateStressChaos

func (mr *MockSetterMockRecorder) UpdateStressChaos(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateStressChaos indicates an expected call of UpdateStressChaos.

type MockStressChaos

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

MockStressChaos is a mock of StressChaos interface.

func NewMockStressChaos

func NewMockStressChaos(ctrl *gomock.Controller) *MockStressChaos

NewMockStressChaos creates a new mock instance.

func (*MockStressChaos) EXPECT

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

type MockStressChaosMockRecorder

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

MockStressChaosMockRecorder is the mock recorder for MockStressChaos.

Jump to

Keyboard shortcuts

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