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 *v1.DestinationStatus_AppliedTrafficPolicy, ...) error
- func (m *MockTrafficPolicyDestinationRuleDecorator) DecoratorName() string
- func (m *MockTrafficPolicyDestinationRuleDecorator) EXPECT() *MockTrafficPolicyDestinationRuleDecoratorMockRecorder
- type MockTrafficPolicyDestinationRuleDecoratorMockRecorder
- type MockTrafficPolicyVirtualServiceDecorator
- func (m *MockTrafficPolicyVirtualServiceDecorator) ApplyTrafficPolicyToVirtualService(appliedPolicy *v1.DestinationStatus_AppliedTrafficPolicy, ...) error
- func (m *MockTrafficPolicyVirtualServiceDecorator) DecoratorName() string
- func (m *MockTrafficPolicyVirtualServiceDecorator) EXPECT() *MockTrafficPolicyVirtualServiceDecoratorMockRecorder
- type MockTrafficPolicyVirtualServiceDecoratorMockRecorder
- type MockVirtualDestinationEntryDecorator
- func (m *MockVirtualDestinationEntryDecorator) ApplyVirtualMeshToServiceEntry(appliedVirtualMesh *v1.MeshStatus_AppliedVirtualMesh, service *v1.Destination, ...) error
- func (m *MockVirtualDestinationEntryDecorator) DecoratorName() string
- func (m *MockVirtualDestinationEntryDecorator) EXPECT() *MockVirtualDestinationEntryDecoratorMockRecorder
- type MockVirtualDestinationEntryDecoratorMockRecorder
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 *v1.DestinationStatus_AppliedTrafficPolicy, service *v1.Destination, 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 *v1.DestinationStatus_AppliedTrafficPolicy, destination *v1.Destination, sourceMeshInstallation *v1.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, destination, 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 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
func (m *MockVirtualDestinationEntryDecorator) EXPECT() *MockVirtualDestinationEntryDecoratorMockRecorder
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
func (mr *MockVirtualDestinationEntryDecoratorMockRecorder) DecoratorName() *gomock.Call
DecoratorName indicates an expected call of DecoratorName