mock_decorators

package
v1.1.0-beta33 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_decorators is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDecorator

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

MockDecorator is a mock of Decorator interface.

func NewMockDecorator

func NewMockDecorator(ctrl *gomock.Controller) *MockDecorator

NewMockDecorator creates a new mock instance.

func (*MockDecorator) DecoratorName

func (m *MockDecorator) DecoratorName() string

DecoratorName mocks base method.

func (*MockDecorator) EXPECT

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

type MockDecoratorMockRecorder

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

MockDecoratorMockRecorder is the mock recorder for MockDecorator.

func (*MockDecoratorMockRecorder) DecoratorName

func (mr *MockDecoratorMockRecorder) DecoratorName() *gomock.Call

DecoratorName indicates an expected call of DecoratorName.

type MockFactory

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

MockFactory is a mock of Factory interface.

func NewMockFactory

func NewMockFactory(ctrl *gomock.Controller) *MockFactory

NewMockFactory creates a new mock instance.

func (*MockFactory) EXPECT

func (m *MockFactory) EXPECT() *MockFactoryMockRecorder

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

func (*MockFactory) MakeDecorators

func (m *MockFactory) MakeDecorators(params decorators.Parameters) []decorators.Decorator

MakeDecorators mocks base method.

type MockFactoryMockRecorder

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

MockFactoryMockRecorder is the mock recorder for MockFactory.

func (*MockFactoryMockRecorder) MakeDecorators

func (mr *MockFactoryMockRecorder) MakeDecorators(params interface{}) *gomock.Call

MakeDecorators indicates an expected call of MakeDecorators.

type MockTrafficPolicyDestinationRuleDecorator

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

MockTrafficPolicyDestinationRuleDecorator is a mock of TrafficPolicyDestinationRuleDecorator interface.

func NewMockTrafficPolicyDestinationRuleDecorator

func NewMockTrafficPolicyDestinationRuleDecorator(ctrl *gomock.Controller) *MockTrafficPolicyDestinationRuleDecorator

NewMockTrafficPolicyDestinationRuleDecorator creates a new mock instance.

func (*MockTrafficPolicyDestinationRuleDecorator) ApplyTrafficPolicyToDestinationRule

func (m *MockTrafficPolicyDestinationRuleDecorator) ApplyTrafficPolicyToDestinationRule(appliedPolicy *v10.AppliedTrafficPolicy, service *v1.Destination, output *v1alpha3.DestinationRule, registerField decorators.RegisterField) error

ApplyTrafficPolicyToDestinationRule mocks base method.

func (*MockTrafficPolicyDestinationRuleDecorator) DecoratorName

DecoratorName mocks base method.

func (*MockTrafficPolicyDestinationRuleDecorator) EXPECT

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

type MockTrafficPolicyDestinationRuleDecoratorMockRecorder

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

MockTrafficPolicyDestinationRuleDecoratorMockRecorder is the mock recorder for MockTrafficPolicyDestinationRuleDecorator.

func (*MockTrafficPolicyDestinationRuleDecoratorMockRecorder) ApplyTrafficPolicyToDestinationRule

func (mr *MockTrafficPolicyDestinationRuleDecoratorMockRecorder) ApplyTrafficPolicyToDestinationRule(appliedPolicy, service, output, registerField interface{}) *gomock.Call

ApplyTrafficPolicyToDestinationRule indicates an expected call of ApplyTrafficPolicyToDestinationRule.

func (*MockTrafficPolicyDestinationRuleDecoratorMockRecorder) DecoratorName

DecoratorName indicates an expected call of DecoratorName.

type MockTrafficPolicyVirtualServiceDecorator

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

MockTrafficPolicyVirtualServiceDecorator is a mock of TrafficPolicyVirtualServiceDecorator interface.

func NewMockTrafficPolicyVirtualServiceDecorator

func NewMockTrafficPolicyVirtualServiceDecorator(ctrl *gomock.Controller) *MockTrafficPolicyVirtualServiceDecorator

NewMockTrafficPolicyVirtualServiceDecorator creates a new mock instance.

func (*MockTrafficPolicyVirtualServiceDecorator) ApplyTrafficPolicyToVirtualService

func (m *MockTrafficPolicyVirtualServiceDecorator) ApplyTrafficPolicyToVirtualService(appliedPolicy *v10.AppliedTrafficPolicy, destination *v1.Destination, sourceMeshInstallation *v1.MeshInstallation, output *v1alpha3.HTTPRoute, registerField decorators.RegisterField) error

ApplyTrafficPolicyToVirtualService mocks base method.

func (*MockTrafficPolicyVirtualServiceDecorator) DecoratorName

DecoratorName mocks base method.

func (*MockTrafficPolicyVirtualServiceDecorator) EXPECT

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

type MockTrafficPolicyVirtualServiceDecoratorMockRecorder

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

MockTrafficPolicyVirtualServiceDecoratorMockRecorder is the mock recorder for MockTrafficPolicyVirtualServiceDecorator.

func (*MockTrafficPolicyVirtualServiceDecoratorMockRecorder) ApplyTrafficPolicyToVirtualService

func (mr *MockTrafficPolicyVirtualServiceDecoratorMockRecorder) ApplyTrafficPolicyToVirtualService(appliedPolicy, destination, sourceMeshInstallation, output, registerField interface{}) *gomock.Call

ApplyTrafficPolicyToVirtualService indicates an expected call of ApplyTrafficPolicyToVirtualService.

func (*MockTrafficPolicyVirtualServiceDecoratorMockRecorder) DecoratorName

DecoratorName indicates an expected call of DecoratorName.

type MockVirtualDestinationEntryDecorator added in v1.0.0

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

MockVirtualDestinationEntryDecorator is a mock of VirtualDestinationEntryDecorator interface.

func NewMockVirtualDestinationEntryDecorator added in v1.0.0

func NewMockVirtualDestinationEntryDecorator(ctrl *gomock.Controller) *MockVirtualDestinationEntryDecorator

NewMockVirtualDestinationEntryDecorator creates a new mock instance.

func (*MockVirtualDestinationEntryDecorator) ApplyVirtualMeshToServiceEntry added in v1.0.0

func (m *MockVirtualDestinationEntryDecorator) ApplyVirtualMeshToServiceEntry(appliedVirtualMesh *v1.MeshStatus_AppliedVirtualMesh, service *v1.Destination, output *v1alpha3.ServiceEntry, registerField decorators.RegisterField) error

ApplyVirtualMeshToServiceEntry mocks base method.

func (*MockVirtualDestinationEntryDecorator) DecoratorName added in v1.0.0

func (m *MockVirtualDestinationEntryDecorator) DecoratorName() string

DecoratorName mocks base method.

func (*MockVirtualDestinationEntryDecorator) EXPECT added in v1.0.0

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

type MockVirtualDestinationEntryDecoratorMockRecorder added in v1.0.0

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

MockVirtualDestinationEntryDecoratorMockRecorder is the mock recorder for MockVirtualDestinationEntryDecorator.

func (*MockVirtualDestinationEntryDecoratorMockRecorder) ApplyVirtualMeshToServiceEntry added in v1.0.0

func (mr *MockVirtualDestinationEntryDecoratorMockRecorder) ApplyVirtualMeshToServiceEntry(appliedVirtualMesh, service, output, registerField interface{}) *gomock.Call

ApplyVirtualMeshToServiceEntry indicates an expected call of ApplyVirtualMeshToServiceEntry.

func (*MockVirtualDestinationEntryDecoratorMockRecorder) DecoratorName added in v1.0.0

DecoratorName indicates an expected call of DecoratorName.

Jump to

Keyboard shortcuts

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