<commit_before>package ingress_driver

import (
	"concierge/pkg"
	log "github.com/sirupsen/logrus"
)

func (k *LookerIngressDriver) ShowAllowedIngress(ShowAllowedIngressRequest) (ShowAllowedIngressResponse, error) {
	resp := ShowAllowedIngressResponse{
		Ingresses: []pkg.IngressList{k.ingress},
	}

	return resp, nil
}

func (k *LookerIngressDriver) EnableUser(req EnableUserRequest) (EnableUserResponse, error) {
	log.Infof("Received EnableUserRequest %v", req.User.Name)

	// todo make call

	return EnableUserResponse{
		UpdateStatusFlag: true,
		Ingress:          k.ingress,
		Identifier:       req.User.Email,
	}, nil
}

func (k *LookerIngressDriver) DisableUser(req DisableUserRequest) (DisableUserResponse, error) {
	return DisableUserResponse{
		UpdateStatusFlag: true,
	}, nil
}

func (k *LookerIngressDriver) ShowIngressDetails(ShowIngressDetailsRequest) (ShowIngressDetailsResponse, error) {
	return ShowIngressDetailsResponse{Ingress: k.ingress}, nil
}

func (k *LookerIngressDriver) GetName() string {
	return "looker"<commit_msg>working delete skeleton (kube+looker)<commit_after>package ingress_driver

import (
	"concierge/pkg"
	log "github.com/sirupsen/logrus"
)

func (k *LookerIngressDriver) ShowAllowedIngress(ShowAllowedIngressRequest) (ShowAllowedIngressResponse, error) {
	resp := ShowAllowedIngressResponse{
		Ingresses: []pkg.IngressList{k.ingress},
	}

	return resp, nil
}

func (k *LookerIngressDriver) EnableUser(req EnableUserRequest) (EnableUserResponse, error) {
	log.Infof("Received EnableUserRequest %v", req.User.Name)

	// todo make call to looker

	return EnableUserResponse{
		UpdateStatusFlag: true,
		Ingress:          k.ingress,
		Identifier:       req.User.Email,
	}, nil
}

func (k *LookerIngressDriver) DisableUser(req DisableUserRequest) (DisableUserResponse, error) {

	// todo make call to looker

	return DisableUserResponse{
		UpdateStatusFlag: true,
	}, nil
}

func (k *LookerIngressDriver) ShowIngressDetails(ShowIngressDetailsRequest) (ShowIngressDetailsResponse, error) {
	return ShowIngressDetailsResponse{Ingress: k.ingress}, nil
}

func (k *LookerIngressDriver) GetName() string {
	return "looker"
{'fraction_non_alphanumeric': 0.10171853228053879, 'fraction_numerical': 0.0, 'mean_word_length': 5.881789137380192, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2098388', 'n_tokens_mistral': 725, 'n_tokens_neox': 712, 'n_words': 151}