feat: changes module version.

This commit is contained in:
Fernandez Ludovic 2020-09-02 03:20:01 +02:00 committed by Ludovic Fernandez
parent 50a87b031e
commit 2582acc932
233 changed files with 531 additions and 531 deletions

View file

@ -2,7 +2,7 @@
Let's Encrypt client and ACME library written in Go. Let's Encrypt client and ACME library written in Go.
[![GoDoc](https://godoc.org/github.com/go-acme/lego?status.svg)](https://pkg.go.dev/mod/github.com/go-acme/lego/v3) [![GoDoc](https://godoc.org/github.com/go-acme/lego?status.svg)](https://pkg.go.dev/mod/github.com/go-acme/lego/v4)
[![Build Status](https://travis-ci.com/go-acme/lego.svg?branch=master)](https://travis-ci.com/go-acme/lego) [![Build Status](https://travis-ci.com/go-acme/lego.svg?branch=master)](https://travis-ci.com/go-acme/lego)
[![Docker Pulls](https://img.shields.io/docker/pulls/goacme/lego.svg)](https://hub.docker.com/r/goacme/lego/) [![Docker Pulls](https://img.shields.io/docker/pulls/goacme/lego.svg)](https://hub.docker.com/r/goacme/lego/)

View file

@ -5,7 +5,7 @@ import (
"errors" "errors"
"fmt" "fmt"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
) )
type AccountService service type AccountService service

View file

@ -11,11 +11,11 @@ import (
"time" "time"
"github.com/cenkalti/backoff/v4" "github.com/cenkalti/backoff/v4"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
"github.com/go-acme/lego/v3/acme/api/internal/nonces" "github.com/go-acme/lego/v4/acme/api/internal/nonces"
"github.com/go-acme/lego/v3/acme/api/internal/secure" "github.com/go-acme/lego/v4/acme/api/internal/secure"
"github.com/go-acme/lego/v3/acme/api/internal/sender" "github.com/go-acme/lego/v4/acme/api/internal/sender"
"github.com/go-acme/lego/v3/log" "github.com/go-acme/lego/v4/log"
) )
// Core ACME/LE core API. // Core ACME/LE core API.

View file

@ -3,7 +3,7 @@ package api
import ( import (
"errors" "errors"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
) )
type AuthorizationService service type AuthorizationService service

View file

@ -7,9 +7,9 @@ import (
"io/ioutil" "io/ioutil"
"net/http" "net/http"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
"github.com/go-acme/lego/v3/certcrypto" "github.com/go-acme/lego/v4/certcrypto"
"github.com/go-acme/lego/v3/log" "github.com/go-acme/lego/v4/log"
) )
// maxBodySize is the maximum size of body that we will read. // maxBodySize is the maximum size of body that we will read.

View file

@ -7,7 +7,7 @@ import (
"net/http" "net/http"
"testing" "testing"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -3,7 +3,7 @@ package api
import ( import (
"errors" "errors"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
) )
type ChallengeService service type ChallengeService service

View file

@ -6,7 +6,7 @@ import (
"net/http" "net/http"
"sync" "sync"
"github.com/go-acme/lego/v3/acme/api/internal/sender" "github.com/go-acme/lego/v4/acme/api/internal/sender"
) )
// Manager Manages nonces. // Manager Manages nonces.

View file

@ -6,9 +6,9 @@ import (
"testing" "testing"
"time" "time"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
"github.com/go-acme/lego/v3/acme/api/internal/sender" "github.com/go-acme/lego/v4/acme/api/internal/sender"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
) )
func TestNotHoldingLockWhileMakingHTTPRequests(t *testing.T) { func TestNotHoldingLockWhileMakingHTTPRequests(t *testing.T) {

View file

@ -8,7 +8,7 @@ import (
"encoding/base64" "encoding/base64"
"fmt" "fmt"
"github.com/go-acme/lego/v3/acme/api/internal/nonces" "github.com/go-acme/lego/v4/acme/api/internal/nonces"
jose "gopkg.in/square/go-jose.v2" jose "gopkg.in/square/go-jose.v2"
) )

View file

@ -6,10 +6,10 @@ import (
"testing" "testing"
"time" "time"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
"github.com/go-acme/lego/v3/acme/api/internal/nonces" "github.com/go-acme/lego/v4/acme/api/internal/nonces"
"github.com/go-acme/lego/v3/acme/api/internal/sender" "github.com/go-acme/lego/v4/acme/api/internal/sender"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
) )
func TestNotHoldingLockWhileMakingHTTPRequests(t *testing.T) { func TestNotHoldingLockWhileMakingHTTPRequests(t *testing.T) {

View file

@ -9,7 +9,7 @@ import (
"runtime" "runtime"
"strings" "strings"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
) )
type RequestOption func(*http.Request) error type RequestOption func(*http.Request) error

View file

@ -4,7 +4,7 @@ import (
"encoding/base64" "encoding/base64"
"errors" "errors"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
) )
type OrderService service type OrderService service

View file

@ -8,8 +8,8 @@ import (
"net/http" "net/http"
"testing" "testing"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
jose "gopkg.in/square/go-jose.v2" jose "gopkg.in/square/go-jose.v2"

View file

@ -3,8 +3,8 @@ package certificate
import ( import (
"time" "time"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
"github.com/go-acme/lego/v3/log" "github.com/go-acme/lego/v4/log"
) )
const ( const (

View file

@ -12,12 +12,12 @@ import (
"strings" "strings"
"time" "time"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
"github.com/go-acme/lego/v3/acme/api" "github.com/go-acme/lego/v4/acme/api"
"github.com/go-acme/lego/v3/certcrypto" "github.com/go-acme/lego/v4/certcrypto"
"github.com/go-acme/lego/v3/challenge" "github.com/go-acme/lego/v4/challenge"
"github.com/go-acme/lego/v3/log" "github.com/go-acme/lego/v4/log"
"github.com/go-acme/lego/v3/platform/wait" "github.com/go-acme/lego/v4/platform/wait"
"golang.org/x/crypto/ocsp" "golang.org/x/crypto/ocsp"
"golang.org/x/net/idna" "golang.org/x/net/idna"
) )

View file

@ -7,10 +7,10 @@ import (
"net/http" "net/http"
"testing" "testing"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
"github.com/go-acme/lego/v3/acme/api" "github.com/go-acme/lego/v4/acme/api"
"github.com/go-acme/lego/v3/certcrypto" "github.com/go-acme/lego/v4/certcrypto"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -3,7 +3,7 @@ package challenge
import ( import (
"fmt" "fmt"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
) )
// Type is a string that identifies a particular challenge type and version of ACME challenge. // Type is a string that identifies a particular challenge type and version of ACME challenge.

View file

@ -8,11 +8,11 @@ import (
"strconv" "strconv"
"time" "time"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
"github.com/go-acme/lego/v3/acme/api" "github.com/go-acme/lego/v4/acme/api"
"github.com/go-acme/lego/v3/challenge" "github.com/go-acme/lego/v4/challenge"
"github.com/go-acme/lego/v3/log" "github.com/go-acme/lego/v4/log"
"github.com/go-acme/lego/v3/platform/wait" "github.com/go-acme/lego/v4/platform/wait"
"github.com/miekg/dns" "github.com/miekg/dns"
) )

View file

@ -8,10 +8,10 @@ import (
"testing" "testing"
"time" "time"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
"github.com/go-acme/lego/v3/acme/api" "github.com/go-acme/lego/v4/acme/api"
"github.com/go-acme/lego/v3/challenge" "github.com/go-acme/lego/v4/challenge"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -3,10 +3,10 @@ package http01
import ( import (
"fmt" "fmt"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
"github.com/go-acme/lego/v3/acme/api" "github.com/go-acme/lego/v4/acme/api"
"github.com/go-acme/lego/v3/challenge" "github.com/go-acme/lego/v4/challenge"
"github.com/go-acme/lego/v3/log" "github.com/go-acme/lego/v4/log"
) )
type ValidateFunc func(core *api.Core, domain string, chlng acme.Challenge) error type ValidateFunc func(core *api.Core, domain string, chlng acme.Challenge) error

View file

@ -7,7 +7,7 @@ import (
"net/textproto" "net/textproto"
"strings" "strings"
"github.com/go-acme/lego/v3/log" "github.com/go-acme/lego/v4/log"
) )
// ProviderServer implements ChallengeProvider for `http-01` challenge. // ProviderServer implements ChallengeProvider for `http-01` challenge.

View file

@ -9,10 +9,10 @@ import (
"net/textproto" "net/textproto"
"testing" "testing"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
"github.com/go-acme/lego/v3/acme/api" "github.com/go-acme/lego/v4/acme/api"
"github.com/go-acme/lego/v3/challenge" "github.com/go-acme/lego/v4/challenge"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -4,9 +4,9 @@ import (
"fmt" "fmt"
"time" "time"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
"github.com/go-acme/lego/v3/challenge" "github.com/go-acme/lego/v4/challenge"
"github.com/go-acme/lego/v3/log" "github.com/go-acme/lego/v4/log"
) )
// Interface for all challenge solvers to implement. // Interface for all challenge solvers to implement.

View file

@ -3,8 +3,8 @@ package resolver
import ( import (
"time" "time"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
"github.com/go-acme/lego/v3/challenge" "github.com/go-acme/lego/v4/challenge"
) )
type preSolverMock struct { type preSolverMock struct {

View file

@ -4,8 +4,8 @@ import (
"errors" "errors"
"testing" "testing"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
"github.com/go-acme/lego/v3/challenge" "github.com/go-acme/lego/v4/challenge"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -9,13 +9,13 @@ import (
"time" "time"
"github.com/cenkalti/backoff/v4" "github.com/cenkalti/backoff/v4"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
"github.com/go-acme/lego/v3/acme/api" "github.com/go-acme/lego/v4/acme/api"
"github.com/go-acme/lego/v3/challenge" "github.com/go-acme/lego/v4/challenge"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
"github.com/go-acme/lego/v3/challenge/http01" "github.com/go-acme/lego/v4/challenge/http01"
"github.com/go-acme/lego/v3/challenge/tlsalpn01" "github.com/go-acme/lego/v4/challenge/tlsalpn01"
"github.com/go-acme/lego/v3/log" "github.com/go-acme/lego/v4/log"
) )
type byType []acme.Challenge type byType []acme.Challenge

View file

@ -9,9 +9,9 @@ import (
"sort" "sort"
"testing" "testing"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
"github.com/go-acme/lego/v3/acme/api" "github.com/go-acme/lego/v4/acme/api"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
jose "gopkg.in/square/go-jose.v2" jose "gopkg.in/square/go-jose.v2"

View file

@ -8,11 +8,11 @@ import (
"encoding/asn1" "encoding/asn1"
"fmt" "fmt"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
"github.com/go-acme/lego/v3/acme/api" "github.com/go-acme/lego/v4/acme/api"
"github.com/go-acme/lego/v3/certcrypto" "github.com/go-acme/lego/v4/certcrypto"
"github.com/go-acme/lego/v3/challenge" "github.com/go-acme/lego/v4/challenge"
"github.com/go-acme/lego/v3/log" "github.com/go-acme/lego/v4/log"
) )
// idPeAcmeIdentifierV1 is the SMI Security for PKIX Certification Extension OID referencing the ACME extension. // idPeAcmeIdentifierV1 is the SMI Security for PKIX Certification Extension OID referencing the ACME extension.

View file

@ -7,7 +7,7 @@ import (
"net/http" "net/http"
"strings" "strings"
"github.com/go-acme/lego/v3/log" "github.com/go-acme/lego/v4/log"
) )
const ( const (

View file

@ -10,10 +10,10 @@ import (
"net/http" "net/http"
"testing" "testing"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
"github.com/go-acme/lego/v3/acme/api" "github.com/go-acme/lego/v4/acme/api"
"github.com/go-acme/lego/v3/challenge" "github.com/go-acme/lego/v4/challenge"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -3,7 +3,7 @@ package cmd
import ( import (
"crypto" "crypto"
"github.com/go-acme/lego/v3/registration" "github.com/go-acme/lego/v4/registration"
) )
// Account represents a users local saved credentials. // Account represents a users local saved credentials.

View file

@ -13,10 +13,10 @@ import (
"path/filepath" "path/filepath"
"strings" "strings"
"github.com/go-acme/lego/v3/certcrypto" "github.com/go-acme/lego/v4/certcrypto"
"github.com/go-acme/lego/v3/lego" "github.com/go-acme/lego/v4/lego"
"github.com/go-acme/lego/v3/log" "github.com/go-acme/lego/v4/log"
"github.com/go-acme/lego/v3/registration" "github.com/go-acme/lego/v4/registration"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -11,9 +11,9 @@ import (
"strings" "strings"
"time" "time"
"github.com/go-acme/lego/v3/certcrypto" "github.com/go-acme/lego/v4/certcrypto"
"github.com/go-acme/lego/v3/certificate" "github.com/go-acme/lego/v4/certificate"
"github.com/go-acme/lego/v3/log" "github.com/go-acme/lego/v4/log"
"github.com/urfave/cli" "github.com/urfave/cli"
"golang.org/x/net/idna" "golang.org/x/net/idna"
) )

View file

@ -1,7 +1,7 @@
package cmd package cmd
import ( import (
"github.com/go-acme/lego/v3/log" "github.com/go-acme/lego/v4/log"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -8,7 +8,7 @@ import (
"path/filepath" "path/filepath"
"strings" "strings"
"github.com/go-acme/lego/v3/certcrypto" "github.com/go-acme/lego/v4/certcrypto"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -5,10 +5,10 @@ import (
"crypto/x509" "crypto/x509"
"time" "time"
"github.com/go-acme/lego/v3/certcrypto" "github.com/go-acme/lego/v4/certcrypto"
"github.com/go-acme/lego/v3/certificate" "github.com/go-acme/lego/v4/certificate"
"github.com/go-acme/lego/v3/lego" "github.com/go-acme/lego/v4/lego"
"github.com/go-acme/lego/v3/log" "github.com/go-acme/lego/v4/log"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -1,7 +1,7 @@
package cmd package cmd
import ( import (
"github.com/go-acme/lego/v3/log" "github.com/go-acme/lego/v4/log"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -6,10 +6,10 @@ import (
"os" "os"
"strings" "strings"
"github.com/go-acme/lego/v3/certificate" "github.com/go-acme/lego/v4/certificate"
"github.com/go-acme/lego/v3/lego" "github.com/go-acme/lego/v4/lego"
"github.com/go-acme/lego/v3/log" "github.com/go-acme/lego/v4/log"
"github.com/go-acme/lego/v3/registration" "github.com/go-acme/lego/v4/registration"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -1,7 +1,7 @@
package cmd package cmd
import ( import (
"github.com/go-acme/lego/v3/lego" "github.com/go-acme/lego/v4/lego"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -8,8 +8,8 @@ import (
"path/filepath" "path/filepath"
"runtime" "runtime"
"github.com/go-acme/lego/v3/cmd" "github.com/go-acme/lego/v4/cmd"
"github.com/go-acme/lego/v3/log" "github.com/go-acme/lego/v4/log"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -9,10 +9,10 @@ import (
"strings" "strings"
"time" "time"
"github.com/go-acme/lego/v3/certcrypto" "github.com/go-acme/lego/v4/certcrypto"
"github.com/go-acme/lego/v3/lego" "github.com/go-acme/lego/v4/lego"
"github.com/go-acme/lego/v3/log" "github.com/go-acme/lego/v4/log"
"github.com/go-acme/lego/v3/registration" "github.com/go-acme/lego/v4/registration"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -5,15 +5,15 @@ import (
"strings" "strings"
"time" "time"
"github.com/go-acme/lego/v3/challenge" "github.com/go-acme/lego/v4/challenge"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
"github.com/go-acme/lego/v3/challenge/http01" "github.com/go-acme/lego/v4/challenge/http01"
"github.com/go-acme/lego/v3/challenge/tlsalpn01" "github.com/go-acme/lego/v4/challenge/tlsalpn01"
"github.com/go-acme/lego/v3/lego" "github.com/go-acme/lego/v4/lego"
"github.com/go-acme/lego/v3/log" "github.com/go-acme/lego/v4/log"
"github.com/go-acme/lego/v3/providers/dns" "github.com/go-acme/lego/v4/providers/dns"
"github.com/go-acme/lego/v3/providers/http/memcached" "github.com/go-acme/lego/v4/providers/http/memcached"
"github.com/go-acme/lego/v3/providers/http/webroot" "github.com/go-acme/lego/v4/providers/http/webroot"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -48,7 +48,7 @@ Requirements:
To install the latest development version from sources, just run: To install the latest development version from sources, just run:
```bash ```bash
go get -u github.com/go-acme/lego/v3/cmd/lego go get -u github.com/go-acme/lego/v4/cmd/lego
``` ```
or or

View file

@ -27,12 +27,12 @@ import (
"fmt" "fmt"
"log" "log"
"github.com/go-acme/lego/v3/certcrypto" "github.com/go-acme/lego/v4/certcrypto"
"github.com/go-acme/lego/v3/certificate" "github.com/go-acme/lego/v4/certificate"
"github.com/go-acme/lego/v3/challenge/http01" "github.com/go-acme/lego/v4/challenge/http01"
"github.com/go-acme/lego/v3/challenge/tlsalpn01" "github.com/go-acme/lego/v4/challenge/tlsalpn01"
"github.com/go-acme/lego/v3/lego" "github.com/go-acme/lego/v4/lego"
"github.com/go-acme/lego/v3/registration" "github.com/go-acme/lego/v4/registration"
) )
// You'll need a user or account type that implements acme.User // You'll need a user or account type that implements acme.User

View file

@ -10,12 +10,12 @@ import (
"os" "os"
"testing" "testing"
"github.com/go-acme/lego/v3/certificate" "github.com/go-acme/lego/v4/certificate"
"github.com/go-acme/lego/v3/challenge/http01" "github.com/go-acme/lego/v4/challenge/http01"
"github.com/go-acme/lego/v3/challenge/tlsalpn01" "github.com/go-acme/lego/v4/challenge/tlsalpn01"
"github.com/go-acme/lego/v3/e2e/loader" "github.com/go-acme/lego/v4/e2e/loader"
"github.com/go-acme/lego/v3/lego" "github.com/go-acme/lego/v4/lego"
"github.com/go-acme/lego/v3/registration" "github.com/go-acme/lego/v4/registration"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -8,12 +8,12 @@ import (
"os" "os"
"testing" "testing"
"github.com/go-acme/lego/v3/certificate" "github.com/go-acme/lego/v4/certificate"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
"github.com/go-acme/lego/v3/e2e/loader" "github.com/go-acme/lego/v4/e2e/loader"
"github.com/go-acme/lego/v3/lego" "github.com/go-acme/lego/v4/lego"
"github.com/go-acme/lego/v3/providers/dns" "github.com/go-acme/lego/v4/providers/dns"
"github.com/go-acme/lego/v3/registration" "github.com/go-acme/lego/v4/registration"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -15,7 +15,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/go-acme/lego/v3/platform/wait" "github.com/go-acme/lego/v4/platform/wait"
) )
const ( const (

2
go.mod
View file

@ -1,4 +1,4 @@
module github.com/go-acme/lego/v3 module github.com/go-acme/lego/v4
go 1.14 go 1.14

View file

@ -4,10 +4,10 @@ import (
"errors" "errors"
"net/url" "net/url"
"github.com/go-acme/lego/v3/acme/api" "github.com/go-acme/lego/v4/acme/api"
"github.com/go-acme/lego/v3/certificate" "github.com/go-acme/lego/v4/certificate"
"github.com/go-acme/lego/v3/challenge/resolver" "github.com/go-acme/lego/v4/challenge/resolver"
"github.com/go-acme/lego/v3/registration" "github.com/go-acme/lego/v4/registration"
) )
// Client is the user-friendly way to ACME. // Client is the user-friendly way to ACME.

View file

@ -10,8 +10,8 @@ import (
"os" "os"
"time" "time"
"github.com/go-acme/lego/v3/certcrypto" "github.com/go-acme/lego/v4/certcrypto"
"github.com/go-acme/lego/v3/registration" "github.com/go-acme/lego/v4/registration"
) )
const ( const (

View file

@ -6,8 +6,8 @@ import (
"crypto/rsa" "crypto/rsa"
"testing" "testing"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/go-acme/lego/v3/registration" "github.com/go-acme/lego/v4/registration"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -9,7 +9,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/go-acme/lego/v3/log" "github.com/go-acme/lego/v4/log"
) )
// Get environment variables. // Get environment variables.

View file

@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"net/http/httptest" "net/http/httptest"
"github.com/go-acme/lego/v3/acme" "github.com/go-acme/lego/v4/acme"
) )
// SetupFakeAPI Minimal stub ACME server for validation. // SetupFakeAPI Minimal stub ACME server for validation.

View file

@ -5,7 +5,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
) )

View file

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"time" "time"
"github.com/go-acme/lego/v3/log" "github.com/go-acme/lego/v4/log"
) )
// For polls the given function 'f', once every 'interval', up to 'timeout'. // For polls the given function 'f', once every 'interval', up to 'timeout'.

View file

@ -7,8 +7,8 @@ import (
"fmt" "fmt"
"github.com/cpu/goacmedns" "github.com/cpu/goacmedns"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
"github.com/go-acme/lego/v3/platform/config/env" "github.com/go-acme/lego/v4/platform/config/env"
) )
const ( const (

View file

@ -11,8 +11,8 @@ import (
"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth/credentials" "github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth/credentials"
"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests" "github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
"github.com/aliyun/alibaba-cloud-sdk-go/services/alidns" "github.com/aliyun/alibaba-cloud-sdk-go/services/alidns"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
"github.com/go-acme/lego/v3/platform/config/env" "github.com/go-acme/lego/v4/platform/config/env"
"golang.org/x/net/idna" "golang.org/x/net/idna"
) )

View file

@ -4,7 +4,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -9,9 +9,9 @@ import (
"sync" "sync"
"time" "time"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
"github.com/go-acme/lego/v3/platform/config/env" "github.com/go-acme/lego/v4/platform/config/env"
"github.com/go-acme/lego/v3/providers/dns/arvancloud/internal" "github.com/go-acme/lego/v4/providers/dns/arvancloud/internal"
) )
const minTTL = 600 const minTTL = 600

View file

@ -3,7 +3,7 @@ package arvancloud
import ( import (
"testing" "testing"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -7,8 +7,8 @@ import (
"sync" "sync"
"time" "time"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
"github.com/go-acme/lego/v3/platform/config/env" "github.com/go-acme/lego/v4/platform/config/env"
"github.com/nrdcg/auroradns" "github.com/nrdcg/auroradns"
) )

View file

@ -7,7 +7,7 @@ import (
"net/http/httptest" "net/http/httptest"
"testing" "testing"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -8,8 +8,8 @@ import (
"net/url" "net/url"
"time" "time"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
"github.com/go-acme/lego/v3/platform/config/env" "github.com/go-acme/lego/v4/platform/config/env"
) )
// Environment variables names. // Environment variables names.

View file

@ -3,7 +3,7 @@ package autodns
import ( import (
"testing" "testing"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -16,8 +16,8 @@ import (
aazure "github.com/Azure/go-autorest/autorest/azure" aazure "github.com/Azure/go-autorest/autorest/azure"
"github.com/Azure/go-autorest/autorest/azure/auth" "github.com/Azure/go-autorest/autorest/azure/auth"
"github.com/Azure/go-autorest/autorest/to" "github.com/Azure/go-autorest/autorest/to"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
"github.com/go-acme/lego/v3/platform/config/env" "github.com/go-acme/lego/v4/platform/config/env"
) )
const defaultMetadataEndpoint = "http://169.254.169.254" const defaultMetadataEndpoint = "http://169.254.169.254"

View file

@ -6,7 +6,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -7,8 +7,8 @@ import (
"net/http" "net/http"
"time" "time"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
"github.com/go-acme/lego/v3/platform/config/env" "github.com/go-acme/lego/v4/platform/config/env"
"github.com/labbsr0x/bindman-dns-webhook/src/client" "github.com/labbsr0x/bindman-dns-webhook/src/client"
) )

View file

@ -7,7 +7,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
bindmanClient "github.com/labbsr0x/bindman-dns-webhook/src/client" bindmanClient "github.com/labbsr0x/bindman-dns-webhook/src/client"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -10,8 +10,8 @@ import (
"strconv" "strconv"
"time" "time"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
"github.com/go-acme/lego/v3/platform/config/env" "github.com/go-acme/lego/v4/platform/config/env"
) )
const ( const (

View file

@ -4,7 +4,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -9,8 +9,8 @@ import (
"sync" "sync"
"time" "time"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
"github.com/go-acme/lego/v3/platform/config/env" "github.com/go-acme/lego/v4/platform/config/env"
) )
// Environment variables names. // Environment variables names.

View file

@ -4,7 +4,7 @@ import (
"net/url" "net/url"
"testing" "testing"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -10,7 +10,7 @@ import (
"reflect" "reflect"
"testing" "testing"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -7,9 +7,9 @@ import (
"net/http" "net/http"
"time" "time"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
"github.com/go-acme/lego/v3/platform/config/env" "github.com/go-acme/lego/v4/platform/config/env"
"github.com/go-acme/lego/v3/providers/dns/clouddns/internal" "github.com/go-acme/lego/v4/providers/dns/clouddns/internal"
) )
// Environment variables names. // Environment variables names.

View file

@ -4,7 +4,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -4,7 +4,7 @@ import (
"sync" "sync"
"github.com/cloudflare/cloudflare-go" "github.com/cloudflare/cloudflare-go"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
) )
type metaClient struct { type metaClient struct {

View file

@ -9,9 +9,9 @@ import (
"time" "time"
cloudflare "github.com/cloudflare/cloudflare-go" cloudflare "github.com/cloudflare/cloudflare-go"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
"github.com/go-acme/lego/v3/log" "github.com/go-acme/lego/v4/log"
"github.com/go-acme/lego/v3/platform/config/env" "github.com/go-acme/lego/v4/platform/config/env"
) )
const ( const (

View file

@ -4,7 +4,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -7,9 +7,9 @@ import (
"net/http" "net/http"
"time" "time"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
"github.com/go-acme/lego/v3/platform/config/env" "github.com/go-acme/lego/v4/platform/config/env"
"github.com/go-acme/lego/v3/providers/dns/cloudns/internal" "github.com/go-acme/lego/v4/providers/dns/cloudns/internal"
) )
// Environment variables names. // Environment variables names.

View file

@ -4,7 +4,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -10,7 +10,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
) )
const defaultBaseURL = "https://api.cloudns.net/dns/" const defaultBaseURL = "https://api.cloudns.net/dns/"

View file

@ -7,9 +7,9 @@ import (
"net/http" "net/http"
"time" "time"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
"github.com/go-acme/lego/v3/platform/config/env" "github.com/go-acme/lego/v4/platform/config/env"
"github.com/go-acme/lego/v3/providers/dns/cloudxns/internal" "github.com/go-acme/lego/v4/providers/dns/cloudxns/internal"
) )
// Environment variables names. // Environment variables names.

View file

@ -4,7 +4,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -13,7 +13,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
) )
const defaultBaseURL = "https://www.cloudxns.net/api2/" const defaultBaseURL = "https://www.cloudxns.net/api2/"

View file

@ -7,9 +7,9 @@ import (
"net/http" "net/http"
"time" "time"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
"github.com/go-acme/lego/v3/platform/config/env" "github.com/go-acme/lego/v4/platform/config/env"
"github.com/go-acme/lego/v3/providers/dns/conoha/internal" "github.com/go-acme/lego/v4/providers/dns/conoha/internal"
) )
// Environment variables names. // Environment variables names.

View file

@ -4,7 +4,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -7,9 +7,9 @@ import (
"net/http" "net/http"
"time" "time"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
"github.com/go-acme/lego/v3/platform/config/env" "github.com/go-acme/lego/v4/platform/config/env"
"github.com/go-acme/lego/v3/providers/dns/constellix/internal" "github.com/go-acme/lego/v4/providers/dns/constellix/internal"
) )
// Environment variables names. // Environment variables names.

View file

@ -4,7 +4,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -7,8 +7,8 @@ import (
"net/http" "net/http"
"time" "time"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
"github.com/go-acme/lego/v3/platform/config/env" "github.com/go-acme/lego/v4/platform/config/env"
"github.com/nrdcg/desec" "github.com/nrdcg/desec"
) )

View file

@ -4,7 +4,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -9,8 +9,8 @@ import (
"sync" "sync"
"time" "time"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
"github.com/go-acme/lego/v3/platform/config/env" "github.com/go-acme/lego/v4/platform/config/env"
"github.com/gophercloud/gophercloud" "github.com/gophercloud/gophercloud"
"github.com/gophercloud/gophercloud/openstack" "github.com/gophercloud/gophercloud/openstack"
"github.com/gophercloud/gophercloud/openstack/dns/v2/recordsets" "github.com/gophercloud/gophercloud/openstack/dns/v2/recordsets"

View file

@ -8,7 +8,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/gophercloud/utils/openstack/clientconfig" "github.com/gophercloud/utils/openstack/clientconfig"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"gopkg.in/yaml.v2" "gopkg.in/yaml.v2"

View file

@ -9,7 +9,7 @@ import (
"io/ioutil" "io/ioutil"
"net/http" "net/http"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
) )
const defaultBaseURL = "https://api.digitalocean.com" const defaultBaseURL = "https://api.digitalocean.com"

View file

@ -8,8 +8,8 @@ import (
"sync" "sync"
"time" "time"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
"github.com/go-acme/lego/v3/platform/config/env" "github.com/go-acme/lego/v4/platform/config/env"
) )
// Environment variables names. // Environment variables names.

View file

@ -7,7 +7,7 @@ import (
"net/http/httptest" "net/http/httptest"
"testing" "testing"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -3,85 +3,85 @@ package dns
import ( import (
"fmt" "fmt"
"github.com/go-acme/lego/v3/challenge" "github.com/go-acme/lego/v4/challenge"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
"github.com/go-acme/lego/v3/providers/dns/acmedns" "github.com/go-acme/lego/v4/providers/dns/acmedns"
"github.com/go-acme/lego/v3/providers/dns/alidns" "github.com/go-acme/lego/v4/providers/dns/alidns"
"github.com/go-acme/lego/v3/providers/dns/arvancloud" "github.com/go-acme/lego/v4/providers/dns/arvancloud"
"github.com/go-acme/lego/v3/providers/dns/auroradns" "github.com/go-acme/lego/v4/providers/dns/auroradns"
"github.com/go-acme/lego/v3/providers/dns/autodns" "github.com/go-acme/lego/v4/providers/dns/autodns"
"github.com/go-acme/lego/v3/providers/dns/azure" "github.com/go-acme/lego/v4/providers/dns/azure"
"github.com/go-acme/lego/v3/providers/dns/bindman" "github.com/go-acme/lego/v4/providers/dns/bindman"
"github.com/go-acme/lego/v3/providers/dns/bluecat" "github.com/go-acme/lego/v4/providers/dns/bluecat"
"github.com/go-acme/lego/v3/providers/dns/checkdomain" "github.com/go-acme/lego/v4/providers/dns/checkdomain"
"github.com/go-acme/lego/v3/providers/dns/clouddns" "github.com/go-acme/lego/v4/providers/dns/clouddns"
"github.com/go-acme/lego/v3/providers/dns/cloudflare" "github.com/go-acme/lego/v4/providers/dns/cloudflare"
"github.com/go-acme/lego/v3/providers/dns/cloudns" "github.com/go-acme/lego/v4/providers/dns/cloudns"
"github.com/go-acme/lego/v3/providers/dns/cloudxns" "github.com/go-acme/lego/v4/providers/dns/cloudxns"
"github.com/go-acme/lego/v3/providers/dns/conoha" "github.com/go-acme/lego/v4/providers/dns/conoha"
"github.com/go-acme/lego/v3/providers/dns/constellix" "github.com/go-acme/lego/v4/providers/dns/constellix"
"github.com/go-acme/lego/v3/providers/dns/desec" "github.com/go-acme/lego/v4/providers/dns/desec"
"github.com/go-acme/lego/v3/providers/dns/designate" "github.com/go-acme/lego/v4/providers/dns/designate"
"github.com/go-acme/lego/v3/providers/dns/digitalocean" "github.com/go-acme/lego/v4/providers/dns/digitalocean"
"github.com/go-acme/lego/v3/providers/dns/dnsimple" "github.com/go-acme/lego/v4/providers/dns/dnsimple"
"github.com/go-acme/lego/v3/providers/dns/dnsmadeeasy" "github.com/go-acme/lego/v4/providers/dns/dnsmadeeasy"
"github.com/go-acme/lego/v3/providers/dns/dnspod" "github.com/go-acme/lego/v4/providers/dns/dnspod"
"github.com/go-acme/lego/v3/providers/dns/dode" "github.com/go-acme/lego/v4/providers/dns/dode"
"github.com/go-acme/lego/v3/providers/dns/dreamhost" "github.com/go-acme/lego/v4/providers/dns/dreamhost"
"github.com/go-acme/lego/v3/providers/dns/duckdns" "github.com/go-acme/lego/v4/providers/dns/duckdns"
"github.com/go-acme/lego/v3/providers/dns/dyn" "github.com/go-acme/lego/v4/providers/dns/dyn"
"github.com/go-acme/lego/v3/providers/dns/dynu" "github.com/go-acme/lego/v4/providers/dns/dynu"
"github.com/go-acme/lego/v3/providers/dns/easydns" "github.com/go-acme/lego/v4/providers/dns/easydns"
"github.com/go-acme/lego/v3/providers/dns/edgedns" "github.com/go-acme/lego/v4/providers/dns/edgedns"
"github.com/go-acme/lego/v3/providers/dns/exec" "github.com/go-acme/lego/v4/providers/dns/exec"
"github.com/go-acme/lego/v3/providers/dns/exoscale" "github.com/go-acme/lego/v4/providers/dns/exoscale"
"github.com/go-acme/lego/v3/providers/dns/gandi" "github.com/go-acme/lego/v4/providers/dns/gandi"
"github.com/go-acme/lego/v3/providers/dns/gandiv5" "github.com/go-acme/lego/v4/providers/dns/gandiv5"
"github.com/go-acme/lego/v3/providers/dns/gcloud" "github.com/go-acme/lego/v4/providers/dns/gcloud"
"github.com/go-acme/lego/v3/providers/dns/glesys" "github.com/go-acme/lego/v4/providers/dns/glesys"
"github.com/go-acme/lego/v3/providers/dns/godaddy" "github.com/go-acme/lego/v4/providers/dns/godaddy"
"github.com/go-acme/lego/v3/providers/dns/hetzner" "github.com/go-acme/lego/v4/providers/dns/hetzner"
"github.com/go-acme/lego/v3/providers/dns/hostingde" "github.com/go-acme/lego/v4/providers/dns/hostingde"
"github.com/go-acme/lego/v3/providers/dns/httpreq" "github.com/go-acme/lego/v4/providers/dns/httpreq"
"github.com/go-acme/lego/v3/providers/dns/hyperone" "github.com/go-acme/lego/v4/providers/dns/hyperone"
"github.com/go-acme/lego/v3/providers/dns/iij" "github.com/go-acme/lego/v4/providers/dns/iij"
"github.com/go-acme/lego/v3/providers/dns/inwx" "github.com/go-acme/lego/v4/providers/dns/inwx"
"github.com/go-acme/lego/v3/providers/dns/joker" "github.com/go-acme/lego/v4/providers/dns/joker"
"github.com/go-acme/lego/v3/providers/dns/lightsail" "github.com/go-acme/lego/v4/providers/dns/lightsail"
"github.com/go-acme/lego/v3/providers/dns/linode" "github.com/go-acme/lego/v4/providers/dns/linode"
"github.com/go-acme/lego/v3/providers/dns/liquidweb" "github.com/go-acme/lego/v4/providers/dns/liquidweb"
"github.com/go-acme/lego/v3/providers/dns/luadns" "github.com/go-acme/lego/v4/providers/dns/luadns"
"github.com/go-acme/lego/v3/providers/dns/mydnsjp" "github.com/go-acme/lego/v4/providers/dns/mydnsjp"
"github.com/go-acme/lego/v3/providers/dns/mythicbeasts" "github.com/go-acme/lego/v4/providers/dns/mythicbeasts"
"github.com/go-acme/lego/v3/providers/dns/namecheap" "github.com/go-acme/lego/v4/providers/dns/namecheap"
"github.com/go-acme/lego/v3/providers/dns/namedotcom" "github.com/go-acme/lego/v4/providers/dns/namedotcom"
"github.com/go-acme/lego/v3/providers/dns/namesilo" "github.com/go-acme/lego/v4/providers/dns/namesilo"
"github.com/go-acme/lego/v3/providers/dns/netcup" "github.com/go-acme/lego/v4/providers/dns/netcup"
"github.com/go-acme/lego/v3/providers/dns/netlify" "github.com/go-acme/lego/v4/providers/dns/netlify"
"github.com/go-acme/lego/v3/providers/dns/nifcloud" "github.com/go-acme/lego/v4/providers/dns/nifcloud"
"github.com/go-acme/lego/v3/providers/dns/ns1" "github.com/go-acme/lego/v4/providers/dns/ns1"
"github.com/go-acme/lego/v3/providers/dns/oraclecloud" "github.com/go-acme/lego/v4/providers/dns/oraclecloud"
"github.com/go-acme/lego/v3/providers/dns/otc" "github.com/go-acme/lego/v4/providers/dns/otc"
"github.com/go-acme/lego/v3/providers/dns/ovh" "github.com/go-acme/lego/v4/providers/dns/ovh"
"github.com/go-acme/lego/v3/providers/dns/pdns" "github.com/go-acme/lego/v4/providers/dns/pdns"
"github.com/go-acme/lego/v3/providers/dns/rackspace" "github.com/go-acme/lego/v4/providers/dns/rackspace"
"github.com/go-acme/lego/v3/providers/dns/regru" "github.com/go-acme/lego/v4/providers/dns/regru"
"github.com/go-acme/lego/v3/providers/dns/rfc2136" "github.com/go-acme/lego/v4/providers/dns/rfc2136"
"github.com/go-acme/lego/v3/providers/dns/rimuhosting" "github.com/go-acme/lego/v4/providers/dns/rimuhosting"
"github.com/go-acme/lego/v3/providers/dns/route53" "github.com/go-acme/lego/v4/providers/dns/route53"
"github.com/go-acme/lego/v3/providers/dns/sakuracloud" "github.com/go-acme/lego/v4/providers/dns/sakuracloud"
"github.com/go-acme/lego/v3/providers/dns/scaleway" "github.com/go-acme/lego/v4/providers/dns/scaleway"
"github.com/go-acme/lego/v3/providers/dns/selectel" "github.com/go-acme/lego/v4/providers/dns/selectel"
"github.com/go-acme/lego/v3/providers/dns/servercow" "github.com/go-acme/lego/v4/providers/dns/servercow"
"github.com/go-acme/lego/v3/providers/dns/stackpath" "github.com/go-acme/lego/v4/providers/dns/stackpath"
"github.com/go-acme/lego/v3/providers/dns/transip" "github.com/go-acme/lego/v4/providers/dns/transip"
"github.com/go-acme/lego/v3/providers/dns/vegadns" "github.com/go-acme/lego/v4/providers/dns/vegadns"
"github.com/go-acme/lego/v3/providers/dns/versio" "github.com/go-acme/lego/v4/providers/dns/versio"
"github.com/go-acme/lego/v3/providers/dns/vscale" "github.com/go-acme/lego/v4/providers/dns/vscale"
"github.com/go-acme/lego/v3/providers/dns/vultr" "github.com/go-acme/lego/v4/providers/dns/vultr"
"github.com/go-acme/lego/v3/providers/dns/yandex" "github.com/go-acme/lego/v4/providers/dns/yandex"
"github.com/go-acme/lego/v3/providers/dns/zoneee" "github.com/go-acme/lego/v4/providers/dns/zoneee"
"github.com/go-acme/lego/v3/providers/dns/zonomi" "github.com/go-acme/lego/v4/providers/dns/zonomi"
) )
// NewDNSChallengeProviderByName Factory for DNS providers. // NewDNSChallengeProviderByName Factory for DNS providers.

View file

@ -3,8 +3,8 @@ package dns
import ( import (
"testing" "testing"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/go-acme/lego/v3/providers/dns/exec" "github.com/go-acme/lego/v4/providers/dns/exec"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -10,8 +10,8 @@ import (
"time" "time"
"github.com/dnsimple/dnsimple-go/dnsimple" "github.com/dnsimple/dnsimple-go/dnsimple"
"github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v4/challenge/dns01"
"github.com/go-acme/lego/v3/platform/config/env" "github.com/go-acme/lego/v4/platform/config/env"
"golang.org/x/oauth2" "golang.org/x/oauth2"
) )

View file

@ -5,7 +5,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/go-acme/lego/v3/platform/tester" "github.com/go-acme/lego/v4/platform/tester"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

Some files were not shown because too many files have changed in this diff Show more