Documentation ¶
Overview ¶
Package mock_decorators is a generated GoMock package.
Index ¶
- type MockDecorator
- type MockDecoratorMockRecorder
- type MockFactory
- type MockFactoryMockRecorder
- type MockTrafficPolicyDestinationRuleDecorator
- func (m *MockTrafficPolicyDestinationRuleDecorator) ApplyTrafficPolicyToDestinationRule(appliedPolicy *v1alpha2.TrafficTargetStatus_AppliedTrafficPolicy, ...) error
- func (m *MockTrafficPolicyDestinationRuleDecorator) DecoratorName() string
- func (m *MockTrafficPolicyDestinationRuleDecorator) EXPECT() *MockTrafficPolicyDestinationRuleDecoratorMockRecorder
- type MockTrafficPolicyDestinationRuleDecoratorMockRecorder
- type MockTrafficPolicyVirtualServiceDecorator
- func (m *MockTrafficPolicyVirtualServiceDecorator) ApplyTrafficPolicyToVirtualService(appliedPolicy *v1alpha2.TrafficTargetStatus_AppliedTrafficPolicy, ...) error
- func (m *MockTrafficPolicyVirtualServiceDecorator) DecoratorName() string
- func (m *MockTrafficPolicyVirtualServiceDecorator) EXPECT() *MockTrafficPolicyVirtualServiceDecoratorMockRecorder
- type MockTrafficPolicyVirtualServiceDecoratorMockRecorder
- type MockVirtualTrafficTargetEntryDecorator
- func (m *MockVirtualTrafficTargetEntryDecorator) ApplyVirtualMeshToServiceEntry(appliedVirtualMesh *v1alpha2.MeshStatus_AppliedVirtualMesh, ...) error
- func (m *MockVirtualTrafficTargetEntryDecorator) DecoratorName() string
- func (m *MockVirtualTrafficTargetEntryDecorator) EXPECT() *MockVirtualTrafficTargetEntryDecoratorMockRecorder
- type MockVirtualTrafficTargetEntryDecoratorMockRecorder
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 ¶
func (m *MockDecorator) EXPECT() *MockDecoratorMockRecorder
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 *v1alpha2.TrafficTargetStatus_AppliedTrafficPolicy, service *v1alpha2.TrafficTarget, output *v1alpha3.DestinationRule, registerField decorators.RegisterField) error
ApplyTrafficPolicyToDestinationRule mocks base method
func (*MockTrafficPolicyDestinationRuleDecorator) DecoratorName ¶
func (m *MockTrafficPolicyDestinationRuleDecorator) DecoratorName() string
DecoratorName mocks base method
func (*MockTrafficPolicyDestinationRuleDecorator) EXPECT ¶
func (m *MockTrafficPolicyDestinationRuleDecorator) EXPECT() *MockTrafficPolicyDestinationRuleDecoratorMockRecorder
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 ¶
func (mr *MockTrafficPolicyDestinationRuleDecoratorMockRecorder) DecoratorName() *gomock.Call
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 ¶
func (m *MockTrafficPolicyVirtualServiceDecorator) DecoratorName() string
DecoratorName mocks base method
func (*MockTrafficPolicyVirtualServiceDecorator) EXPECT ¶
func (m *MockTrafficPolicyVirtualServiceDecorator) EXPECT() *MockTrafficPolicyVirtualServiceDecoratorMockRecorder
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 ¶
func (mr *MockTrafficPolicyVirtualServiceDecoratorMockRecorder) DecoratorName() *gomock.Call
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 ¶
func (m *MockVirtualTrafficTargetEntryDecorator) DecoratorName() string
DecoratorName mocks base method
func (*MockVirtualTrafficTargetEntryDecorator) EXPECT ¶
func (m *MockVirtualTrafficTargetEntryDecorator) EXPECT() *MockVirtualTrafficTargetEntryDecoratorMockRecorder
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 ¶
func (mr *MockVirtualTrafficTargetEntryDecoratorMockRecorder) DecoratorName() *gomock.Call
DecoratorName indicates an expected call of DecoratorName