b73b68d696
And all code that was no longer used once those two were removed.
32 lines
884 B
Go
32 lines
884 B
Go
package consul
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/hashicorp/consul/agent/structs"
|
|
)
|
|
|
|
type LegacyACLGetPolicy struct{}
|
|
|
|
func (a *ACL) GetPolicy(*LegacyACLGetPolicy, *LegacyACLGetPolicy) error {
|
|
return fmt.Errorf("ACL.GetPolicy: the legacy ACL system has been removed")
|
|
}
|
|
|
|
func (a *ACL) Bootstrap(*structs.DCSpecificRequest, *structs.ACL) error {
|
|
return fmt.Errorf("ACL.Bootstrap: the legacy ACL system has been removed")
|
|
}
|
|
|
|
type LegacyACLRequest struct{}
|
|
|
|
func (a *ACL) Apply(*LegacyACLRequest, *string) error {
|
|
return fmt.Errorf("ACL.Apply: the legacy ACL system has been removed")
|
|
}
|
|
|
|
func (a *ACL) Get(*structs.ACLSpecificRequest, *structs.IndexedACLs) error {
|
|
return fmt.Errorf("ACL.Get: the legacy ACL system has been removed")
|
|
}
|
|
|
|
func (a *ACL) List(*structs.DCSpecificRequest, *structs.IndexedACLs) error {
|
|
return fmt.Errorf("ACL.List: the legacy ACL system has been removed")
|
|
}
|