23 lines
455 B
Go
23 lines
455 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
//go:build !consulent
|
|
// +build !consulent
|
|
|
|
package kubeauth
|
|
|
|
import (
|
|
"github.com/hashicorp/consul/acl"
|
|
"github.com/hashicorp/consul/agent/structs"
|
|
)
|
|
|
|
type enterpriseConfig struct{}
|
|
|
|
func enterpriseValidation(method *structs.ACLAuthMethod, config *Config) error {
|
|
return nil
|
|
}
|
|
|
|
func (v *Validator) k8sEntMetaFromFields(fields map[string]string) *acl.EnterpriseMeta {
|
|
return nil
|
|
}
|