wafregional

package
v0.0.0-...-ba4152c Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package wafregional is a generated GoMock package.

Index

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

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.

Jump to

Keyboard shortcuts

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