mock_decorators

package
v1.0.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: Apache-2.0 Imports: 5 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

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 *v1alpha2.TrafficTargetStatus_AppliedTrafficPolicy, trafficTarget *v1alpha2.TrafficTarget, sourceMeshInstallation *v1alpha2.MeshSpec_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, trafficTarget, sourceMeshInstallation, output, registerField interface{}) *gomock.Call

ApplyTrafficPolicyToVirtualService indicates an expected call of ApplyTrafficPolicyToVirtualService

func (*MockTrafficPolicyVirtualServiceDecoratorMockRecorder) DecoratorName

DecoratorName indicates an expected call of DecoratorName

type MockVirtualTrafficTargetEntryDecorator

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

MockVirtualTrafficTargetEntryDecorator is a mock of VirtualTrafficTargetEntryDecorator interface

func NewMockVirtualTrafficTargetEntryDecorator

func NewMockVirtualTrafficTargetEntryDecorator(ctrl *gomock.Controller) *MockVirtualTrafficTargetEntryDecorator

NewMockVirtualTrafficTargetEntryDecorator creates a new mock instance

func (*MockVirtualTrafficTargetEntryDecorator) ApplyVirtualMeshToServiceEntry

func (m *MockVirtualTrafficTargetEntryDecorator) ApplyVirtualMeshToServiceEntry(appliedVirtualMesh *v1alpha2.MeshStatus_AppliedVirtualMesh, service *v1alpha2.TrafficTarget, output *v1alpha3.ServiceEntry, registerField decorators.RegisterField) error

ApplyVirtualMeshToServiceEntry mocks base method

func (*MockVirtualTrafficTargetEntryDecorator) DecoratorName

DecoratorName mocks base method

func (*MockVirtualTrafficTargetEntryDecorator) EXPECT

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

type MockVirtualTrafficTargetEntryDecoratorMockRecorder

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

MockVirtualTrafficTargetEntryDecoratorMockRecorder is the mock recorder for MockVirtualTrafficTargetEntryDecorator

func (*MockVirtualTrafficTargetEntryDecoratorMockRecorder) ApplyVirtualMeshToServiceEntry

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

ApplyVirtualMeshToServiceEntry indicates an expected call of ApplyVirtualMeshToServiceEntry

func (*MockVirtualTrafficTargetEntryDecoratorMockRecorder) DecoratorName

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