Documentation ¶
Overview ¶
Package wafregional is a generated GoMock package.
Index ¶
- func NewDefaultWebACLAssociationManager(wafRegionalClient services.WAFRegional, logger logr.Logger) *defaultWebACLAssociationManager
- func NewWebACLAssociationSynthesizer(associationManager WebACLAssociationManager, logger logr.Logger, ...) *webACLAssociationSynthesizer
- type MockWebACLAssociationManager
- func (m *MockWebACLAssociationManager) AssociateWebACL(arg0 context.Context, arg1, arg2 string) error
- func (m *MockWebACLAssociationManager) DisassociateWebACL(arg0 context.Context, arg1 string) error
- func (m *MockWebACLAssociationManager) EXPECT() *MockWebACLAssociationManagerMockRecorder
- func (m *MockWebACLAssociationManager) GetAssociatedWebACL(arg0 context.Context, arg1 string) (string, error)
- type MockWebACLAssociationManagerMockRecorder
- func (mr *MockWebACLAssociationManagerMockRecorder) AssociateWebACL(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockWebACLAssociationManagerMockRecorder) DisassociateWebACL(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockWebACLAssociationManagerMockRecorder) GetAssociatedWebACL(arg0, arg1 interface{}) *gomock.Call
- type WebACLAssociationManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultWebACLAssociationManager ¶
func NewDefaultWebACLAssociationManager(wafRegionalClient services.WAFRegional, logger logr.Logger) *defaultWebACLAssociationManager
NewDefaultWebACLAssociationManager constructs new defaultWebACLAssociationManager.
func NewWebACLAssociationSynthesizer ¶
func NewWebACLAssociationSynthesizer(associationManager WebACLAssociationManager, logger logr.Logger, stack core.Stack) *webACLAssociationSynthesizer
NewWebACLAssociationSynthesizer constructs new webACLAssociationSynthesizer.
Types ¶
type MockWebACLAssociationManager ¶
type MockWebACLAssociationManager struct {
// contains filtered or unexported fields
}
MockWebACLAssociationManager is a mock of WebACLAssociationManager interface.
func NewMockWebACLAssociationManager ¶
func NewMockWebACLAssociationManager(ctrl *gomock.Controller) *MockWebACLAssociationManager
NewMockWebACLAssociationManager creates a new mock instance.
func (*MockWebACLAssociationManager) AssociateWebACL ¶
func (m *MockWebACLAssociationManager) AssociateWebACL(arg0 context.Context, arg1, arg2 string) error
AssociateWebACL mocks base method.
func (*MockWebACLAssociationManager) DisassociateWebACL ¶
func (m *MockWebACLAssociationManager) DisassociateWebACL(arg0 context.Context, arg1 string) error
DisassociateWebACL mocks base method.
func (*MockWebACLAssociationManager) EXPECT ¶
func (m *MockWebACLAssociationManager) EXPECT() *MockWebACLAssociationManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWebACLAssociationManager) GetAssociatedWebACL ¶
func (m *MockWebACLAssociationManager) GetAssociatedWebACL(arg0 context.Context, arg1 string) (string, error)
GetAssociatedWebACL mocks base method.
type MockWebACLAssociationManagerMockRecorder ¶
type MockWebACLAssociationManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockWebACLAssociationManagerMockRecorder is the mock recorder for MockWebACLAssociationManager.
func (*MockWebACLAssociationManagerMockRecorder) AssociateWebACL ¶
func (mr *MockWebACLAssociationManagerMockRecorder) AssociateWebACL(arg0, arg1, arg2 interface{}) *gomock.Call
AssociateWebACL indicates an expected call of AssociateWebACL.
func (*MockWebACLAssociationManagerMockRecorder) DisassociateWebACL ¶
func (mr *MockWebACLAssociationManagerMockRecorder) DisassociateWebACL(arg0, arg1 interface{}) *gomock.Call
DisassociateWebACL indicates an expected call of DisassociateWebACL.
func (*MockWebACLAssociationManagerMockRecorder) GetAssociatedWebACL ¶
func (mr *MockWebACLAssociationManagerMockRecorder) GetAssociatedWebACL(arg0, arg1 interface{}) *gomock.Call
GetAssociatedWebACL indicates an expected call of GetAssociatedWebACL.
type WebACLAssociationManager ¶
type WebACLAssociationManager interface { // AssociateWebACL associate webACL to resources. AssociateWebACL(ctx context.Context, resourceARN string, webACLID string) error // DisassociateWebACL disassociate webACL from resources. DisassociateWebACL(ctx context.Context, resourceARN string) error // GetAssociatedWebACL returns the associated webACL for resource, returns empty if no webACL is associated. GetAssociatedWebACL(ctx context.Context, resourceARN string) (string, error) }
WebACLAssociationManager is responsible for manage WAFRegion webACL associations.