// Code generated by moq; DO NOT EDIT.
// github.com/matryer/moq

package mocks

import (
	context "context"
	"github.com/schmitthub/clawker/api/admin/v1"
	grpc "google.golang.org/grpc"
	sync "sync"
)

// Ensure, that AdminServiceClientMock does implement v1.AdminServiceClient.
// If this is not the case, regenerate this file with moq.
var _ v1.AdminServiceClient = &AdminServiceClientMock{}

// AdminServiceClientMock is a mock implementation of v1.AdminServiceClient.
//
//	func TestSomethingThatUsesAdminServiceClient(t *testing.T) {
//
//		// make and configure a mocked v1.AdminServiceClient
//		mockedAdminServiceClient := &AdminServiceClientMock{
//			FirewallAddRulesFunc: func(ctx context.Context, in *v1.FirewallAddRulesRequest, opts ...grpc.CallOption) (*v1.FirewallAddRulesResult, error) {
//				panic("mock out the FirewallAddRules method")
//			},
//			FirewallBypassFunc: func(ctx context.Context, in *v1.FirewallBypassRequest, opts ...grpc.CallOption) (*v1.FirewallBypassResult, error) {
//				panic("mock out the FirewallBypass method")
//			},
//			FirewallDisableFunc: func(ctx context.Context, in *v1.FirewallDisableRequest, opts ...grpc.CallOption) (*v1.FirewallDisableResult, error) {
//				panic("mock out the FirewallDisable method")
//			},
//			FirewallEnableFunc: func(ctx context.Context, in *v1.FirewallEnableRequest, opts ...grpc.CallOption) (*v1.FirewallEnableResult, error) {
//				panic("mock out the FirewallEnable method")
//			},
//			FirewallInitFunc: func(ctx context.Context, in *v1.FirewallInitRequest, opts ...grpc.CallOption) (*v1.FirewallInitResult, error) {
//				panic("mock out the FirewallInit method")
//			},
//			FirewallListRulesFunc: func(ctx context.Context, in *v1.FirewallListRulesRequest, opts ...grpc.CallOption) (*v1.FirewallListRulesResult, error) {
//				panic("mock out the FirewallListRules method")
//			},
//			FirewallReloadFunc: func(ctx context.Context, in *v1.FirewallReloadRequest, opts ...grpc.CallOption) (*v1.FirewallReloadResult, error) {
//				panic("mock out the FirewallReload method")
//			},
//			FirewallRemoveFunc: func(ctx context.Context, in *v1.FirewallRemoveRequest, opts ...grpc.CallOption) (*v1.FirewallRemoveResult, error) {
//				panic("mock out the FirewallRemove method")
//			},
//			FirewallRemoveRuleFunc: func(ctx context.Context, in *v1.FirewallRemoveRuleRequest, opts ...grpc.CallOption) (*v1.FirewallRemoveRuleResult, error) {
//				panic("mock out the FirewallRemoveRule method")
//			},
//			FirewallResolveHostnameFunc: func(ctx context.Context, in *v1.FirewallResolveHostnameRequest, opts ...grpc.CallOption) (*v1.FirewallResolveHostnameResult, error) {
//				panic("mock out the FirewallResolveHostname method")
//			},
//			FirewallRotateCAFunc: func(ctx context.Context, in *v1.FirewallRotateCARequest, opts ...grpc.CallOption) (*v1.FirewallRotateCAResult, error) {
//				panic("mock out the FirewallRotateCA method")
//			},
//			FirewallStatusFunc: func(ctx context.Context, in *v1.FirewallStatusRequest, opts ...grpc.CallOption) (*v1.FirewallStatusResult, error) {
//				panic("mock out the FirewallStatus method")
//			},
//			FirewallSyncRoutesFunc: func(ctx context.Context, in *v1.FirewallSyncRoutesRequest, opts ...grpc.CallOption) (*v1.FirewallSyncRoutesResult, error) {
//				panic("mock out the FirewallSyncRoutes method")
//			},
//			ListAgentsFunc: func(ctx context.Context, in *v1.ListAgentsRequest, opts ...grpc.CallOption) (*v1.ListAgentsResult, error) {
//				panic("mock out the ListAgents method")
//			},
//		}
//
//		// use mockedAdminServiceClient in code that requires v1.AdminServiceClient
//		// and then make assertions.
//
//	}
type AdminServiceClientMock struct {
	// FirewallAddRulesFunc mocks the FirewallAddRules method.
	FirewallAddRulesFunc func(ctx context.Context, in *v1.FirewallAddRulesRequest, opts ...grpc.CallOption) (*v1.FirewallAddRulesResult, error)

	// FirewallBypassFunc mocks the FirewallBypass method.
	FirewallBypassFunc func(ctx context.Context, in *v1.FirewallBypassRequest, opts ...grpc.CallOption) (*v1.FirewallBypassResult, error)

	// FirewallDisableFunc mocks the FirewallDisable method.
	FirewallDisableFunc func(ctx context.Context, in *v1.FirewallDisableRequest, opts ...grpc.CallOption) (*v1.FirewallDisableResult, error)

	// FirewallEnableFunc mocks the FirewallEnable method.
	FirewallEnableFunc func(ctx context.Context, in *v1.FirewallEnableRequest, opts ...grpc.CallOption) (*v1.FirewallEnableResult, error)

	// FirewallInitFunc mocks the FirewallInit method.
	FirewallInitFunc func(ctx context.Context, in *v1.FirewallInitRequest, opts ...grpc.CallOption) (*v1.FirewallInitResult, error)

	// FirewallListRulesFunc mocks the FirewallListRules method.
	FirewallListRulesFunc func(ctx context.Context, in *v1.FirewallListRulesRequest, opts ...grpc.CallOption) (*v1.FirewallListRulesResult, error)

	// FirewallReloadFunc mocks the FirewallReload method.
	FirewallReloadFunc func(ctx context.Context, in *v1.FirewallReloadRequest, opts ...grpc.CallOption) (*v1.FirewallReloadResult, error)

	// FirewallRemoveFunc mocks the FirewallRemove method.
	FirewallRemoveFunc func(ctx context.Context, in *v1.FirewallRemoveRequest, opts ...grpc.CallOption) (*v1.FirewallRemoveResult, error)

	// FirewallRemoveRuleFunc mocks the FirewallRemoveRule method.
	FirewallRemoveRuleFunc func(ctx context.Context, in *v1.FirewallRemoveRuleRequest, opts ...grpc.CallOption) (*v1.FirewallRemoveRuleResult, error)

	// FirewallResolveHostnameFunc mocks the FirewallResolveHostname method.
	FirewallResolveHostnameFunc func(ctx context.Context, in *v1.FirewallResolveHostnameRequest, opts ...grpc.CallOption) (*v1.FirewallResolveHostnameResult, error)

	// FirewallRotateCAFunc mocks the FirewallRotateCA method.
	FirewallRotateCAFunc func(ctx context.Context, in *v1.FirewallRotateCARequest, opts ...grpc.CallOption) (*v1.FirewallRotateCAResult, error)

	// FirewallStatusFunc mocks the FirewallStatus method.
	FirewallStatusFunc func(ctx context.Context, in *v1.FirewallStatusRequest, opts ...grpc.CallOption) (*v1.FirewallStatusResult, error)

	// FirewallSyncRoutesFunc mocks the FirewallSyncRoutes method.
	FirewallSyncRoutesFunc func(ctx context.Context, in *v1.FirewallSyncRoutesRequest, opts ...grpc.CallOption) (*v1.FirewallSyncRoutesResult, error)

	// ListAgentsFunc mocks the ListAgents method.
	ListAgentsFunc func(ctx context.Context, in *v1.ListAgentsRequest, opts ...grpc.CallOption) (*v1.ListAgentsResult, error)

	// calls tracks calls to the methods.
	calls struct {
		// FirewallAddRules holds details about calls to the FirewallAddRules method.
		FirewallAddRules []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// In is the in argument value.
			In *v1.FirewallAddRulesRequest
			// Opts is the opts argument value.
			Opts []grpc.CallOption
		}
		// FirewallBypass holds details about calls to the FirewallBypass method.
		FirewallBypass []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// In is the in argument value.
			In *v1.FirewallBypassRequest
			// Opts is the opts argument value.
			Opts []grpc.CallOption
		}
		// FirewallDisable holds details about calls to the FirewallDisable method.
		FirewallDisable []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// In is the in argument value.
			In *v1.FirewallDisableRequest
			// Opts is the opts argument value.
			Opts []grpc.CallOption
		}
		// FirewallEnable holds details about calls to the FirewallEnable method.
		FirewallEnable []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// In is the in argument value.
			In *v1.FirewallEnableRequest
			// Opts is the opts argument value.
			Opts []grpc.CallOption
		}
		// FirewallInit holds details about calls to the FirewallInit method.
		FirewallInit []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// In is the in argument value.
			In *v1.FirewallInitRequest
			// Opts is the opts argument value.
			Opts []grpc.CallOption
		}
		// FirewallListRules holds details about calls to the FirewallListRules method.
		FirewallListRules []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// In is the in argument value.
			In *v1.FirewallListRulesRequest
			// Opts is the opts argument value.
			Opts []grpc.CallOption
		}
		// FirewallReload holds details about calls to the FirewallReload method.
		FirewallReload []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// In is the in argument value.
			In *v1.FirewallReloadRequest
			// Opts is the opts argument value.
			Opts []grpc.CallOption
		}
		// FirewallRemove holds details about calls to the FirewallRemove method.
		FirewallRemove []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// In is the in argument value.
			In *v1.FirewallRemoveRequest
			// Opts is the opts argument value.
			Opts []grpc.CallOption
		}
		// FirewallRemoveRule holds details about calls to the FirewallRemoveRule method.
		FirewallRemoveRule []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// In is the in argument value.
			In *v1.FirewallRemoveRuleRequest
			// Opts is the opts argument value.
			Opts []grpc.CallOption
		}
		// FirewallResolveHostname holds details about calls to the FirewallResolveHostname method.
		FirewallResolveHostname []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// In is the in argument value.
			In *v1.FirewallResolveHostnameRequest
			// Opts is the opts argument value.
			Opts []grpc.CallOption
		}
		// FirewallRotateCA holds details about calls to the FirewallRotateCA method.
		FirewallRotateCA []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// In is the in argument value.
			In *v1.FirewallRotateCARequest
			// Opts is the opts argument value.
			Opts []grpc.CallOption
		}
		// FirewallStatus holds details about calls to the FirewallStatus method.
		FirewallStatus []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// In is the in argument value.
			In *v1.FirewallStatusRequest
			// Opts is the opts argument value.
			Opts []grpc.CallOption
		}
		// FirewallSyncRoutes holds details about calls to the FirewallSyncRoutes method.
		FirewallSyncRoutes []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// In is the in argument value.
			In *v1.FirewallSyncRoutesRequest
			// Opts is the opts argument value.
			Opts []grpc.CallOption
		}
		// ListAgents holds details about calls to the ListAgents method.
		ListAgents []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// In is the in argument value.
			In *v1.ListAgentsRequest
			// Opts is the opts argument value.
			Opts []grpc.CallOption
		}
	}
	lockFirewallAddRules        sync.RWMutex
	lockFirewallBypass          sync.RWMutex
	lockFirewallDisable         sync.RWMutex
	lockFirewallEnable          sync.RWMutex
	lockFirewallInit            sync.RWMutex
	lockFirewallListRules       sync.RWMutex
	lockFirewallReload          sync.RWMutex
	lockFirewallRemove          sync.RWMutex
	lockFirewallRemoveRule      sync.RWMutex
	lockFirewallResolveHostname sync.RWMutex
	lockFirewallRotateCA        sync.RWMutex
	lockFirewallStatus          sync.RWMutex
	lockFirewallSyncRoutes      sync.RWMutex
	lockListAgents              sync.RWMutex
}

// FirewallAddRules calls FirewallAddRulesFunc.
func (mock *AdminServiceClientMock) FirewallAddRules(ctx context.Context, in *v1.FirewallAddRulesRequest, opts ...grpc.CallOption) (*v1.FirewallAddRulesResult, error) {
	if mock.FirewallAddRulesFunc == nil {
		panic("AdminServiceClientMock.FirewallAddRulesFunc: method is nil but AdminServiceClient.FirewallAddRules was just called")
	}
	callInfo := struct {
		Ctx  context.Context
		In   *v1.FirewallAddRulesRequest
		Opts []grpc.CallOption
	}{
		Ctx:  ctx,
		In:   in,
		Opts: opts,
	}
	mock.lockFirewallAddRules.Lock()
	mock.calls.FirewallAddRules = append(mock.calls.FirewallAddRules, callInfo)
	mock.lockFirewallAddRules.Unlock()
	return mock.FirewallAddRulesFunc(ctx, in, opts...)
}

// FirewallAddRulesCalls gets all the calls that were made to FirewallAddRules.
// Check the length with:
//
//	len(mockedAdminServiceClient.FirewallAddRulesCalls())
func (mock *AdminServiceClientMock) FirewallAddRulesCalls() []struct {
	Ctx  context.Context
	In   *v1.FirewallAddRulesRequest
	Opts []grpc.CallOption
} {
	var calls []struct {
		Ctx  context.Context
		In   *v1.FirewallAddRulesRequest
		Opts []grpc.CallOption
	}
	mock.lockFirewallAddRules.RLock()
	calls = mock.calls.FirewallAddRules
	mock.lockFirewallAddRules.RUnlock()
	return calls
}

// FirewallBypass calls FirewallBypassFunc.
func (mock *AdminServiceClientMock) FirewallBypass(ctx context.Context, in *v1.FirewallBypassRequest, opts ...grpc.CallOption) (*v1.FirewallBypassResult, error) {
	if mock.FirewallBypassFunc == nil {
		panic("AdminServiceClientMock.FirewallBypassFunc: method is nil but AdminServiceClient.FirewallBypass was just called")
	}
	callInfo := struct {
		Ctx  context.Context
		In   *v1.FirewallBypassRequest
		Opts []grpc.CallOption
	}{
		Ctx:  ctx,
		In:   in,
		Opts: opts,
	}
	mock.lockFirewallBypass.Lock()
	mock.calls.FirewallBypass = append(mock.calls.FirewallBypass, callInfo)
	mock.lockFirewallBypass.Unlock()
	return mock.FirewallBypassFunc(ctx, in, opts...)
}

// FirewallBypassCalls gets all the calls that were made to FirewallBypass.
// Check the length with:
//
//	len(mockedAdminServiceClient.FirewallBypassCalls())
func (mock *AdminServiceClientMock) FirewallBypassCalls() []struct {
	Ctx  context.Context
	In   *v1.FirewallBypassRequest
	Opts []grpc.CallOption
} {
	var calls []struct {
		Ctx  context.Context
		In   *v1.FirewallBypassRequest
		Opts []grpc.CallOption
	}
	mock.lockFirewallBypass.RLock()
	calls = mock.calls.FirewallBypass
	mock.lockFirewallBypass.RUnlock()
	return calls
}

// FirewallDisable calls FirewallDisableFunc.
func (mock *AdminServiceClientMock) FirewallDisable(ctx context.Context, in *v1.FirewallDisableRequest, opts ...grpc.CallOption) (*v1.FirewallDisableResult, error) {
	if mock.FirewallDisableFunc == nil {
		panic("AdminServiceClientMock.FirewallDisableFunc: method is nil but AdminServiceClient.FirewallDisable was just called")
	}
	callInfo := struct {
		Ctx  context.Context
		In   *v1.FirewallDisableRequest
		Opts []grpc.CallOption
	}{
		Ctx:  ctx,
		In:   in,
		Opts: opts,
	}
	mock.lockFirewallDisable.Lock()
	mock.calls.FirewallDisable = append(mock.calls.FirewallDisable, callInfo)
	mock.lockFirewallDisable.Unlock()
	return mock.FirewallDisableFunc(ctx, in, opts...)
}

// FirewallDisableCalls gets all the calls that were made to FirewallDisable.
// Check the length with:
//
//	len(mockedAdminServiceClient.FirewallDisableCalls())
func (mock *AdminServiceClientMock) FirewallDisableCalls() []struct {
	Ctx  context.Context
	In   *v1.FirewallDisableRequest
	Opts []grpc.CallOption
} {
	var calls []struct {
		Ctx  context.Context
		In   *v1.FirewallDisableRequest
		Opts []grpc.CallOption
	}
	mock.lockFirewallDisable.RLock()
	calls = mock.calls.FirewallDisable
	mock.lockFirewallDisable.RUnlock()
	return calls
}

// FirewallEnable calls FirewallEnableFunc.
func (mock *AdminServiceClientMock) FirewallEnable(ctx context.Context, in *v1.FirewallEnableRequest, opts ...grpc.CallOption) (*v1.FirewallEnableResult, error) {
	if mock.FirewallEnableFunc == nil {
		panic("AdminServiceClientMock.FirewallEnableFunc: method is nil but AdminServiceClient.FirewallEnable was just called")
	}
	callInfo := struct {
		Ctx  context.Context
		In   *v1.FirewallEnableRequest
		Opts []grpc.CallOption
	}{
		Ctx:  ctx,
		In:   in,
		Opts: opts,
	}
	mock.lockFirewallEnable.Lock()
	mock.calls.FirewallEnable = append(mock.calls.FirewallEnable, callInfo)
	mock.lockFirewallEnable.Unlock()
	return mock.FirewallEnableFunc(ctx, in, opts...)
}

// FirewallEnableCalls gets all the calls that were made to FirewallEnable.
// Check the length with:
//
//	len(mockedAdminServiceClient.FirewallEnableCalls())
func (mock *AdminServiceClientMock) FirewallEnableCalls() []struct {
	Ctx  context.Context
	In   *v1.FirewallEnableRequest
	Opts []grpc.CallOption
} {
	var calls []struct {
		Ctx  context.Context
		In   *v1.FirewallEnableRequest
		Opts []grpc.CallOption
	}
	mock.lockFirewallEnable.RLock()
	calls = mock.calls.FirewallEnable
	mock.lockFirewallEnable.RUnlock()
	return calls
}

// FirewallInit calls FirewallInitFunc.
func (mock *AdminServiceClientMock) FirewallInit(ctx context.Context, in *v1.FirewallInitRequest, opts ...grpc.CallOption) (*v1.FirewallInitResult, error) {
	if mock.FirewallInitFunc == nil {
		panic("AdminServiceClientMock.FirewallInitFunc: method is nil but AdminServiceClient.FirewallInit was just called")
	}
	callInfo := struct {
		Ctx  context.Context
		In   *v1.FirewallInitRequest
		Opts []grpc.CallOption
	}{
		Ctx:  ctx,
		In:   in,
		Opts: opts,
	}
	mock.lockFirewallInit.Lock()
	mock.calls.FirewallInit = append(mock.calls.FirewallInit, callInfo)
	mock.lockFirewallInit.Unlock()
	return mock.FirewallInitFunc(ctx, in, opts...)
}

// FirewallInitCalls gets all the calls that were made to FirewallInit.
// Check the length with:
//
//	len(mockedAdminServiceClient.FirewallInitCalls())
func (mock *AdminServiceClientMock) FirewallInitCalls() []struct {
	Ctx  context.Context
	In   *v1.FirewallInitRequest
	Opts []grpc.CallOption
} {
	var calls []struct {
		Ctx  context.Context
		In   *v1.FirewallInitRequest
		Opts []grpc.CallOption
	}
	mock.lockFirewallInit.RLock()
	calls = mock.calls.FirewallInit
	mock.lockFirewallInit.RUnlock()
	return calls
}

// FirewallListRules calls FirewallListRulesFunc.
func (mock *AdminServiceClientMock) FirewallListRules(ctx context.Context, in *v1.FirewallListRulesRequest, opts ...grpc.CallOption) (*v1.FirewallListRulesResult, error) {
	if mock.FirewallListRulesFunc == nil {
		panic("AdminServiceClientMock.FirewallListRulesFunc: method is nil but AdminServiceClient.FirewallListRules was just called")
	}
	callInfo := struct {
		Ctx  context.Context
		In   *v1.FirewallListRulesRequest
		Opts []grpc.CallOption
	}{
		Ctx:  ctx,
		In:   in,
		Opts: opts,
	}
	mock.lockFirewallListRules.Lock()
	mock.calls.FirewallListRules = append(mock.calls.FirewallListRules, callInfo)
	mock.lockFirewallListRules.Unlock()
	return mock.FirewallListRulesFunc(ctx, in, opts...)
}

// FirewallListRulesCalls gets all the calls that were made to FirewallListRules.
// Check the length with:
//
//	len(mockedAdminServiceClient.FirewallListRulesCalls())
func (mock *AdminServiceClientMock) FirewallListRulesCalls() []struct {
	Ctx  context.Context
	In   *v1.FirewallListRulesRequest
	Opts []grpc.CallOption
} {
	var calls []struct {
		Ctx  context.Context
		In   *v1.FirewallListRulesRequest
		Opts []grpc.CallOption
	}
	mock.lockFirewallListRules.RLock()
	calls = mock.calls.FirewallListRules
	mock.lockFirewallListRules.RUnlock()
	return calls
}

// FirewallReload calls FirewallReloadFunc.
func (mock *AdminServiceClientMock) FirewallReload(ctx context.Context, in *v1.FirewallReloadRequest, opts ...grpc.CallOption) (*v1.FirewallReloadResult, error) {
	if mock.FirewallReloadFunc == nil {
		panic("AdminServiceClientMock.FirewallReloadFunc: method is nil but AdminServiceClient.FirewallReload was just called")
	}
	callInfo := struct {
		Ctx  context.Context
		In   *v1.FirewallReloadRequest
		Opts []grpc.CallOption
	}{
		Ctx:  ctx,
		In:   in,
		Opts: opts,
	}
	mock.lockFirewallReload.Lock()
	mock.calls.FirewallReload = append(mock.calls.FirewallReload, callInfo)
	mock.lockFirewallReload.Unlock()
	return mock.FirewallReloadFunc(ctx, in, opts...)
}

// FirewallReloadCalls gets all the calls that were made to FirewallReload.
// Check the length with:
//
//	len(mockedAdminServiceClient.FirewallReloadCalls())
func (mock *AdminServiceClientMock) FirewallReloadCalls() []struct {
	Ctx  context.Context
	In   *v1.FirewallReloadRequest
	Opts []grpc.CallOption
} {
	var calls []struct {
		Ctx  context.Context
		In   *v1.FirewallReloadRequest
		Opts []grpc.CallOption
	}
	mock.lockFirewallReload.RLock()
	calls = mock.calls.FirewallReload
	mock.lockFirewallReload.RUnlock()
	return calls
}

// FirewallRemove calls FirewallRemoveFunc.
func (mock *AdminServiceClientMock) FirewallRemove(ctx context.Context, in *v1.FirewallRemoveRequest, opts ...grpc.CallOption) (*v1.FirewallRemoveResult, error) {
	if mock.FirewallRemoveFunc == nil {
		panic("AdminServiceClientMock.FirewallRemoveFunc: method is nil but AdminServiceClient.FirewallRemove was just called")
	}
	callInfo := struct {
		Ctx  context.Context
		In   *v1.FirewallRemoveRequest
		Opts []grpc.CallOption
	}{
		Ctx:  ctx,
		In:   in,
		Opts: opts,
	}
	mock.lockFirewallRemove.Lock()
	mock.calls.FirewallRemove = append(mock.calls.FirewallRemove, callInfo)
	mock.lockFirewallRemove.Unlock()
	return mock.FirewallRemoveFunc(ctx, in, opts...)
}

// FirewallRemoveCalls gets all the calls that were made to FirewallRemove.
// Check the length with:
//
//	len(mockedAdminServiceClient.FirewallRemoveCalls())
func (mock *AdminServiceClientMock) FirewallRemoveCalls() []struct {
	Ctx  context.Context
	In   *v1.FirewallRemoveRequest
	Opts []grpc.CallOption
} {
	var calls []struct {
		Ctx  context.Context
		In   *v1.FirewallRemoveRequest
		Opts []grpc.CallOption
	}
	mock.lockFirewallRemove.RLock()
	calls = mock.calls.FirewallRemove
	mock.lockFirewallRemove.RUnlock()
	return calls
}

// FirewallRemoveRule calls FirewallRemoveRuleFunc.
func (mock *AdminServiceClientMock) FirewallRemoveRule(ctx context.Context, in *v1.FirewallRemoveRuleRequest, opts ...grpc.CallOption) (*v1.FirewallRemoveRuleResult, error) {
	if mock.FirewallRemoveRuleFunc == nil {
		panic("AdminServiceClientMock.FirewallRemoveRuleFunc: method is nil but AdminServiceClient.FirewallRemoveRule was just called")
	}
	callInfo := struct {
		Ctx  context.Context
		In   *v1.FirewallRemoveRuleRequest
		Opts []grpc.CallOption
	}{
		Ctx:  ctx,
		In:   in,
		Opts: opts,
	}
	mock.lockFirewallRemoveRule.Lock()
	mock.calls.FirewallRemoveRule = append(mock.calls.FirewallRemoveRule, callInfo)
	mock.lockFirewallRemoveRule.Unlock()
	return mock.FirewallRemoveRuleFunc(ctx, in, opts...)
}

// FirewallRemoveRuleCalls gets all the calls that were made to FirewallRemoveRule.
// Check the length with:
//
//	len(mockedAdminServiceClient.FirewallRemoveRuleCalls())
func (mock *AdminServiceClientMock) FirewallRemoveRuleCalls() []struct {
	Ctx  context.Context
	In   *v1.FirewallRemoveRuleRequest
	Opts []grpc.CallOption
} {
	var calls []struct {
		Ctx  context.Context
		In   *v1.FirewallRemoveRuleRequest
		Opts []grpc.CallOption
	}
	mock.lockFirewallRemoveRule.RLock()
	calls = mock.calls.FirewallRemoveRule
	mock.lockFirewallRemoveRule.RUnlock()
	return calls
}

// FirewallResolveHostname calls FirewallResolveHostnameFunc.
func (mock *AdminServiceClientMock) FirewallResolveHostname(ctx context.Context, in *v1.FirewallResolveHostnameRequest, opts ...grpc.CallOption) (*v1.FirewallResolveHostnameResult, error) {
	if mock.FirewallResolveHostnameFunc == nil {
		panic("AdminServiceClientMock.FirewallResolveHostnameFunc: method is nil but AdminServiceClient.FirewallResolveHostname was just called")
	}
	callInfo := struct {
		Ctx  context.Context
		In   *v1.FirewallResolveHostnameRequest
		Opts []grpc.CallOption
	}{
		Ctx:  ctx,
		In:   in,
		Opts: opts,
	}
	mock.lockFirewallResolveHostname.Lock()
	mock.calls.FirewallResolveHostname = append(mock.calls.FirewallResolveHostname, callInfo)
	mock.lockFirewallResolveHostname.Unlock()
	return mock.FirewallResolveHostnameFunc(ctx, in, opts...)
}

// FirewallResolveHostnameCalls gets all the calls that were made to FirewallResolveHostname.
// Check the length with:
//
//	len(mockedAdminServiceClient.FirewallResolveHostnameCalls())
func (mock *AdminServiceClientMock) FirewallResolveHostnameCalls() []struct {
	Ctx  context.Context
	In   *v1.FirewallResolveHostnameRequest
	Opts []grpc.CallOption
} {
	var calls []struct {
		Ctx  context.Context
		In   *v1.FirewallResolveHostnameRequest
		Opts []grpc.CallOption
	}
	mock.lockFirewallResolveHostname.RLock()
	calls = mock.calls.FirewallResolveHostname
	mock.lockFirewallResolveHostname.RUnlock()
	return calls
}

// FirewallRotateCA calls FirewallRotateCAFunc.
func (mock *AdminServiceClientMock) FirewallRotateCA(ctx context.Context, in *v1.FirewallRotateCARequest, opts ...grpc.CallOption) (*v1.FirewallRotateCAResult, error) {
	if mock.FirewallRotateCAFunc == nil {
		panic("AdminServiceClientMock.FirewallRotateCAFunc: method is nil but AdminServiceClient.FirewallRotateCA was just called")
	}
	callInfo := struct {
		Ctx  context.Context
		In   *v1.FirewallRotateCARequest
		Opts []grpc.CallOption
	}{
		Ctx:  ctx,
		In:   in,
		Opts: opts,
	}
	mock.lockFirewallRotateCA.Lock()
	mock.calls.FirewallRotateCA = append(mock.calls.FirewallRotateCA, callInfo)
	mock.lockFirewallRotateCA.Unlock()
	return mock.FirewallRotateCAFunc(ctx, in, opts...)
}

// FirewallRotateCACalls gets all the calls that were made to FirewallRotateCA.
// Check the length with:
//
//	len(mockedAdminServiceClient.FirewallRotateCACalls())
func (mock *AdminServiceClientMock) FirewallRotateCACalls() []struct {
	Ctx  context.Context
	In   *v1.FirewallRotateCARequest
	Opts []grpc.CallOption
} {
	var calls []struct {
		Ctx  context.Context
		In   *v1.FirewallRotateCARequest
		Opts []grpc.CallOption
	}
	mock.lockFirewallRotateCA.RLock()
	calls = mock.calls.FirewallRotateCA
	mock.lockFirewallRotateCA.RUnlock()
	return calls
}

// FirewallStatus calls FirewallStatusFunc.
func (mock *AdminServiceClientMock) FirewallStatus(ctx context.Context, in *v1.FirewallStatusRequest, opts ...grpc.CallOption) (*v1.FirewallStatusResult, error) {
	if mock.FirewallStatusFunc == nil {
		panic("AdminServiceClientMock.FirewallStatusFunc: method is nil but AdminServiceClient.FirewallStatus was just called")
	}
	callInfo := struct {
		Ctx  context.Context
		In   *v1.FirewallStatusRequest
		Opts []grpc.CallOption
	}{
		Ctx:  ctx,
		In:   in,
		Opts: opts,
	}
	mock.lockFirewallStatus.Lock()
	mock.calls.FirewallStatus = append(mock.calls.FirewallStatus, callInfo)
	mock.lockFirewallStatus.Unlock()
	return mock.FirewallStatusFunc(ctx, in, opts...)
}

// FirewallStatusCalls gets all the calls that were made to FirewallStatus.
// Check the length with:
//
//	len(mockedAdminServiceClient.FirewallStatusCalls())
func (mock *AdminServiceClientMock) FirewallStatusCalls() []struct {
	Ctx  context.Context
	In   *v1.FirewallStatusRequest
	Opts []grpc.CallOption
} {
	var calls []struct {
		Ctx  context.Context
		In   *v1.FirewallStatusRequest
		Opts []grpc.CallOption
	}
	mock.lockFirewallStatus.RLock()
	calls = mock.calls.FirewallStatus
	mock.lockFirewallStatus.RUnlock()
	return calls
}

// FirewallSyncRoutes calls FirewallSyncRoutesFunc.
func (mock *AdminServiceClientMock) FirewallSyncRoutes(ctx context.Context, in *v1.FirewallSyncRoutesRequest, opts ...grpc.CallOption) (*v1.FirewallSyncRoutesResult, error) {
	if mock.FirewallSyncRoutesFunc == nil {
		panic("AdminServiceClientMock.FirewallSyncRoutesFunc: method is nil but AdminServiceClient.FirewallSyncRoutes was just called")
	}
	callInfo := struct {
		Ctx  context.Context
		In   *v1.FirewallSyncRoutesRequest
		Opts []grpc.CallOption
	}{
		Ctx:  ctx,
		In:   in,
		Opts: opts,
	}
	mock.lockFirewallSyncRoutes.Lock()
	mock.calls.FirewallSyncRoutes = append(mock.calls.FirewallSyncRoutes, callInfo)
	mock.lockFirewallSyncRoutes.Unlock()
	return mock.FirewallSyncRoutesFunc(ctx, in, opts...)
}

// FirewallSyncRoutesCalls gets all the calls that were made to FirewallSyncRoutes.
// Check the length with:
//
//	len(mockedAdminServiceClient.FirewallSyncRoutesCalls())
func (mock *AdminServiceClientMock) FirewallSyncRoutesCalls() []struct {
	Ctx  context.Context
	In   *v1.FirewallSyncRoutesRequest
	Opts []grpc.CallOption
} {
	var calls []struct {
		Ctx  context.Context
		In   *v1.FirewallSyncRoutesRequest
		Opts []grpc.CallOption
	}
	mock.lockFirewallSyncRoutes.RLock()
	calls = mock.calls.FirewallSyncRoutes
	mock.lockFirewallSyncRoutes.RUnlock()
	return calls
}

// ListAgents calls ListAgentsFunc.
func (mock *AdminServiceClientMock) ListAgents(ctx context.Context, in *v1.ListAgentsRequest, opts ...grpc.CallOption) (*v1.ListAgentsResult, error) {
	if mock.ListAgentsFunc == nil {
		panic("AdminServiceClientMock.ListAgentsFunc: method is nil but AdminServiceClient.ListAgents was just called")
	}
	callInfo := struct {
		Ctx  context.Context
		In   *v1.ListAgentsRequest
		Opts []grpc.CallOption
	}{
		Ctx:  ctx,
		In:   in,
		Opts: opts,
	}
	mock.lockListAgents.Lock()
	mock.calls.ListAgents = append(mock.calls.ListAgents, callInfo)
	mock.lockListAgents.Unlock()
	return mock.ListAgentsFunc(ctx, in, opts...)
}

// ListAgentsCalls gets all the calls that were made to ListAgents.
// Check the length with:
//
//	len(mockedAdminServiceClient.ListAgentsCalls())
func (mock *AdminServiceClientMock) ListAgentsCalls() []struct {
	Ctx  context.Context
	In   *v1.ListAgentsRequest
	Opts []grpc.CallOption
} {
	var calls []struct {
		Ctx  context.Context
		In   *v1.ListAgentsRequest
		Opts []grpc.CallOption
	}
	mock.lockListAgents.RLock()
	calls = mock.calls.ListAgents
	mock.lockListAgents.RUnlock()
	return calls
}
