//go:build generate_mocks

// Package mock_rpc contains mocks for gRPC interfaces.
package mock_rpc

//go:generate mockgen.sh -destination "grpc.go" -package "mock_rpc" "google.golang.org/grpc" "ServerStream,ClientStream,ClientConnInterface,ServerTransportStream"

//go:generate mockgen.sh -source "../../../module/agent_configuration/rpc/rpc_grpc.pb.go" -destination "agent_configuration.go" -package "mock_rpc"

//go:generate mockgen.sh -destination "gitlab_access.go" -package "mock_rpc" "gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/internal/module/gitlab_access/rpc" "GitlabAccess_MakeRequestServer"

//go:generate mockgen.sh -destination "grpctool.go" -package "mock_rpc" "gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/internal/tool/grpctool" "InboundGRPCToOutboundHTTPStream,ServerErrorReporter"

//go:generate mockgen.sh -source "api_for_mocks.go" -destination "mock.go" -package "mock_rpc"
