func WithGoogleCloudServerlessAuthenticationServiceAccount(serviceAccount string) Option {
	return func(cfg *evaluatorConfig) {
		cfg.googleCloudServerlessAuthenticationServiceAccount = serviceAccount
	}
}
WithGoogleCloudServerlessAuthenticationServiceAccount sets the google cloud serverless authentication service
account in the config.
package evaluator
import (
	"github.com/pomerium/pomerium/config"
)
type evaluatorConfig struct {
	policies                                          []config.Policy
	clientCA                                          []byte
	signingKey                                        string
	authenticateURL                                   string
	googleCloudServerlessAuthenticationServiceAccount string
	jwtClaimsHeaders                                  config.JWTClaimHeaders
}
type Option func(*evaluatorConfig)
func getConfig(options ...Option) *evaluatorConfig {
	cfg := new(evaluatorConfig)
	for _, o := range options {
		o(cfg)
	}
	return cfg
}
func WithPolicies(policies []config.Policy) Option {
	return func(cfg *evaluatorConfig) {
		cfg.policies = policies
	}
}
func WithClientCA(clientCA []byte) Option {
	return func(cfg *evaluatorConfig) {
		cfg.clientCA = clientCA
	}
}
func WithSigningKey(signingKey string) Option {
	return func(cfg *evaluatorConfig) {
		cfg.signingKey = signingKey
	}
}
func WithAuthenticateURL(authenticateURL string) Option {
	return func(cfg *evaluatorConfig) {
		cfg.authenticateURL = authenticateURL
	}
}