2019-10-24 18:38:09 +00:00
|
|
|
// +build !consulent
|
|
|
|
|
|
|
|
package structs
|
|
|
|
|
|
|
|
import (
|
|
|
|
"hash"
|
|
|
|
|
|
|
|
"github.com/hashicorp/consul/acl"
|
|
|
|
)
|
|
|
|
|
|
|
|
// EnterpriseMeta stub
|
|
|
|
type EnterpriseMeta struct{}
|
|
|
|
|
|
|
|
func (m *EnterpriseMeta) estimateSize() int {
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *EnterpriseMeta) addToHash(hasher hash.Hash) {
|
|
|
|
// do nothing
|
|
|
|
}
|
|
|
|
|
2019-11-25 17:07:04 +00:00
|
|
|
// WildcardEnterpriseMeta stub
|
|
|
|
func WildcardEnterpriseMeta() *EnterpriseMeta {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-10-24 18:38:09 +00:00
|
|
|
// ReplicationEnterpriseMeta stub
|
|
|
|
func ReplicationEnterpriseMeta() *EnterpriseMeta {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// DefaultEnterpriseMeta stub
|
|
|
|
func DefaultEnterpriseMeta() *EnterpriseMeta {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// InitDefault stub
|
|
|
|
func (m *EnterpriseMeta) InitDefault() {}
|
|
|
|
|
|
|
|
// FillAuthzContext stub
|
|
|
|
func (m *EnterpriseMeta) FillAuthzContext(*acl.EnterpriseAuthorizerContext) {}
|
2019-11-01 20:48:44 +00:00
|
|
|
|
|
|
|
// FillAuthzContext stub
|
2019-11-01 20:58:00 +00:00
|
|
|
func (d *DirEntry) FillAuthzContext(*acl.EnterpriseAuthorizerContext) {}
|