Import checker-delegation into happydomain

This commit is contained in:
nemunaire 2026-04-26 22:14:15 +07:00
commit 3c28c69049
3 changed files with 37 additions and 0 deletions

34
checkers/delegation.go Normal file
View file

@ -0,0 +1,34 @@
// This file is part of the happyDomain (R) project.
// Copyright (c) 2020-2026 happyDomain
// Authors: Pierre-Olivier Mercier, et al.
//
// This program is offered under a commercial and under the AGPL license.
// For commercial licensing, contact us at <contact@happydomain.org>.
//
// For AGPL licensing:
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
package checkers
import (
delegation "git.happydns.org/checker-delegation/checker"
sdk "git.happydns.org/checker-sdk-go/checker"
"git.happydns.org/happyDomain/internal/checker"
)
func init() {
prvd := delegation.Provider()
checker.RegisterObservationProvider(prvd)
checker.RegisterExternalizableChecker(prvd.(sdk.CheckerDefinitionProvider).Definition())
}

1
go.mod
View file

@ -10,6 +10,7 @@ require (
git.happydns.org/checker-dane v0.1.3
git.happydns.org/checker-dangling v0.1.0
git.happydns.org/checker-dav v0.1.0
git.happydns.org/checker-delegation v0.1.0
git.happydns.org/checker-kerberos v0.2.0
git.happydns.org/checker-ldap v0.1.0
git.happydns.org/checker-legacy-records v0.1.0

2
go.sum
View file

@ -18,6 +18,8 @@ git.happydns.org/checker-dangling v0.1.0 h1:gZVyHAKG2U1FXBt7cPnZsr45JQWZ21jlThKh
git.happydns.org/checker-dangling v0.1.0/go.mod h1:pVvhXkZiKueKhWe878GrN+7BMRrqtJDfTSKLX5eCC5M=
git.happydns.org/checker-dav v0.1.0 h1:7IcviX3IKWdCzzxkILFegOgTrq20EX8CQ+jdfKeP2bs=
git.happydns.org/checker-dav v0.1.0/go.mod h1:xLBErwwNqEd27aVCkVFnPEIKFdUqvTqvbhq4AoHXIOY=
git.happydns.org/checker-delegation v0.1.0 h1:hlUGu4FZb9uBZXINTShDuGuuaeTQmIdYjmaM1367v5U=
git.happydns.org/checker-delegation v0.1.0/go.mod h1:std/OYsToEWzYMf95IfVOuGaF5367WMUUTeORadgjhM=
git.happydns.org/checker-kerberos v0.2.0 h1:GKPI6LUMa8VngfeHrB8S7qTvnNqvI/UI+1+8yZRy5QE=
git.happydns.org/checker-kerberos v0.2.0/go.mod h1:M6WndNKJUkNL25KJvFSAEtGxb0iEF3NK/zatzWSw4xo=
git.happydns.org/checker-ldap v0.1.0 h1:BQqx6yPLNDI7Eynf2l5GboMAxtxCXEGk/37Zp5SWwDk=