mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-28 23:08:26 +00:00
Move core workflow packages under core. (#1684)
* Move core workflow packages under core. * lint.
This commit is contained in:
@@ -19,17 +19,17 @@ import (
|
||||
. "github.com/petergtz/pegomock"
|
||||
"github.com/runatlantis/atlantis/server"
|
||||
events_controllers "github.com/runatlantis/atlantis/server/controllers/events"
|
||||
"github.com/runatlantis/atlantis/server/core/db"
|
||||
"github.com/runatlantis/atlantis/server/core/locking"
|
||||
"github.com/runatlantis/atlantis/server/core/runtime"
|
||||
runtimemocks "github.com/runatlantis/atlantis/server/core/runtime/mocks"
|
||||
runtimematchers "github.com/runatlantis/atlantis/server/core/runtime/mocks/matchers"
|
||||
"github.com/runatlantis/atlantis/server/core/runtime/policy"
|
||||
"github.com/runatlantis/atlantis/server/core/terraform"
|
||||
"github.com/runatlantis/atlantis/server/events"
|
||||
"github.com/runatlantis/atlantis/server/events/db"
|
||||
"github.com/runatlantis/atlantis/server/events/locking"
|
||||
"github.com/runatlantis/atlantis/server/events/mocks"
|
||||
"github.com/runatlantis/atlantis/server/events/mocks/matchers"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
"github.com/runatlantis/atlantis/server/events/runtime"
|
||||
runtimemocks "github.com/runatlantis/atlantis/server/events/runtime/mocks"
|
||||
runtimematchers "github.com/runatlantis/atlantis/server/events/runtime/mocks/matchers"
|
||||
"github.com/runatlantis/atlantis/server/events/runtime/policy"
|
||||
"github.com/runatlantis/atlantis/server/events/terraform"
|
||||
vcsmocks "github.com/runatlantis/atlantis/server/events/vcs/mocks"
|
||||
"github.com/runatlantis/atlantis/server/events/webhooks"
|
||||
"github.com/runatlantis/atlantis/server/events/yaml"
|
||||
|
||||
@@ -6,11 +6,11 @@ import (
|
||||
"net/url"
|
||||
|
||||
"github.com/runatlantis/atlantis/server/controllers/templates"
|
||||
"github.com/runatlantis/atlantis/server/events/db"
|
||||
"github.com/runatlantis/atlantis/server/core/db"
|
||||
|
||||
"github.com/gorilla/mux"
|
||||
"github.com/runatlantis/atlantis/server/core/locking"
|
||||
"github.com/runatlantis/atlantis/server/events"
|
||||
"github.com/runatlantis/atlantis/server/events/locking"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
"github.com/runatlantis/atlantis/server/events/vcs"
|
||||
"github.com/runatlantis/atlantis/server/logging"
|
||||
|
||||
@@ -14,14 +14,14 @@ import (
|
||||
"github.com/runatlantis/atlantis/server/controllers"
|
||||
"github.com/runatlantis/atlantis/server/controllers/templates"
|
||||
tMocks "github.com/runatlantis/atlantis/server/controllers/templates/mocks"
|
||||
"github.com/runatlantis/atlantis/server/events/db"
|
||||
"github.com/runatlantis/atlantis/server/events/locking"
|
||||
"github.com/runatlantis/atlantis/server/core/db"
|
||||
"github.com/runatlantis/atlantis/server/core/locking"
|
||||
|
||||
"github.com/gorilla/mux"
|
||||
. "github.com/petergtz/pegomock"
|
||||
"github.com/runatlantis/atlantis/server/events"
|
||||
|
||||
"github.com/runatlantis/atlantis/server/events/locking/mocks"
|
||||
"github.com/runatlantis/atlantis/server/core/locking/mocks"
|
||||
mocks2 "github.com/runatlantis/atlantis/server/events/mocks"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
vcsmocks "github.com/runatlantis/atlantis/server/events/vcs/mocks"
|
||||
|
||||
@@ -19,7 +19,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/runatlantis/atlantis/server/events/db"
|
||||
"github.com/runatlantis/atlantis/server/core/db"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
@@ -21,9 +21,9 @@ import (
|
||||
"strings"
|
||||
|
||||
. "github.com/petergtz/pegomock"
|
||||
"github.com/runatlantis/atlantis/server/events/locking"
|
||||
"github.com/runatlantis/atlantis/server/events/locking/mocks"
|
||||
"github.com/runatlantis/atlantis/server/events/locking/mocks/matchers"
|
||||
"github.com/runatlantis/atlantis/server/core/locking"
|
||||
"github.com/runatlantis/atlantis/server/core/locking/mocks"
|
||||
"github.com/runatlantis/atlantis/server/core/locking/mocks/matchers"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
. "github.com/runatlantis/atlantis/testing"
|
||||
)
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"github.com/petergtz/pegomock"
|
||||
"reflect"
|
||||
|
||||
locking "github.com/runatlantis/atlantis/server/events/locking"
|
||||
locking "github.com/runatlantis/atlantis/server/core/locking"
|
||||
)
|
||||
|
||||
func AnyLockingApplyCommandLock() locking.ApplyCommandLock {
|
||||
@@ -2,9 +2,9 @@
|
||||
package matchers
|
||||
|
||||
import (
|
||||
"reflect"
|
||||
"github.com/petergtz/pegomock"
|
||||
locking "github.com/runatlantis/atlantis/server/events/locking"
|
||||
locking "github.com/runatlantis/atlantis/server/core/locking"
|
||||
"reflect"
|
||||
)
|
||||
|
||||
func AnyLockingApplyCommandLockResponse() locking.ApplyCommandLock {
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"github.com/petergtz/pegomock"
|
||||
"reflect"
|
||||
|
||||
locking "github.com/runatlantis/atlantis/server/events/locking"
|
||||
locking "github.com/runatlantis/atlantis/server/core/locking"
|
||||
)
|
||||
|
||||
func AnyLockingTryLockResponse() locking.TryLockResponse {
|
||||
@@ -1,11 +1,11 @@
|
||||
// Code generated by pegomock. DO NOT EDIT.
|
||||
// Source: github.com/runatlantis/atlantis/server/events/locking (interfaces: ApplyLockChecker)
|
||||
// Source: github.com/runatlantis/atlantis/server/core/locking (interfaces: ApplyLockChecker)
|
||||
|
||||
package mocks
|
||||
|
||||
import (
|
||||
pegomock "github.com/petergtz/pegomock"
|
||||
locking "github.com/runatlantis/atlantis/server/events/locking"
|
||||
locking "github.com/runatlantis/atlantis/server/core/locking"
|
||||
"reflect"
|
||||
"time"
|
||||
)
|
||||
@@ -1,11 +1,11 @@
|
||||
// Code generated by pegomock. DO NOT EDIT.
|
||||
// Source: github.com/runatlantis/atlantis/server/events/locking (interfaces: ApplyLocker)
|
||||
// Source: github.com/runatlantis/atlantis/server/core/locking (interfaces: ApplyLocker)
|
||||
|
||||
package mocks
|
||||
|
||||
import (
|
||||
pegomock "github.com/petergtz/pegomock"
|
||||
locking "github.com/runatlantis/atlantis/server/events/locking"
|
||||
locking "github.com/runatlantis/atlantis/server/core/locking"
|
||||
"reflect"
|
||||
"time"
|
||||
)
|
||||
@@ -1,5 +1,5 @@
|
||||
// Code generated by pegomock. DO NOT EDIT.
|
||||
// Source: github.com/runatlantis/atlantis/server/events/locking (interfaces: Backend)
|
||||
// Source: github.com/runatlantis/atlantis/server/core/locking (interfaces: Backend)
|
||||
|
||||
package mocks
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
// Code generated by pegomock. DO NOT EDIT.
|
||||
// Source: github.com/runatlantis/atlantis/server/events/locking (interfaces: Locker)
|
||||
// Source: github.com/runatlantis/atlantis/server/core/locking (interfaces: Locker)
|
||||
|
||||
package mocks
|
||||
|
||||
import (
|
||||
pegomock "github.com/petergtz/pegomock"
|
||||
locking "github.com/runatlantis/atlantis/server/events/locking"
|
||||
locking "github.com/runatlantis/atlantis/server/core/locking"
|
||||
models "github.com/runatlantis/atlantis/server/events/models"
|
||||
"reflect"
|
||||
"time"
|
||||
@@ -12,13 +12,13 @@ import (
|
||||
|
||||
version "github.com/hashicorp/go-version"
|
||||
. "github.com/petergtz/pegomock"
|
||||
"github.com/runatlantis/atlantis/server/core/runtime"
|
||||
"github.com/runatlantis/atlantis/server/core/terraform"
|
||||
"github.com/runatlantis/atlantis/server/core/terraform/mocks"
|
||||
matchers2 "github.com/runatlantis/atlantis/server/core/terraform/mocks/matchers"
|
||||
mocks2 "github.com/runatlantis/atlantis/server/events/mocks"
|
||||
"github.com/runatlantis/atlantis/server/events/mocks/matchers"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
"github.com/runatlantis/atlantis/server/events/runtime"
|
||||
"github.com/runatlantis/atlantis/server/events/terraform"
|
||||
"github.com/runatlantis/atlantis/server/events/terraform/mocks"
|
||||
matchers2 "github.com/runatlantis/atlantis/server/events/terraform/mocks/matchers"
|
||||
"github.com/runatlantis/atlantis/server/logging"
|
||||
logging_matchers "github.com/runatlantis/atlantis/server/logging/mocks/matchers"
|
||||
. "github.com/runatlantis/atlantis/testing"
|
||||
@@ -1,5 +1,5 @@
|
||||
// Code generated by pegomock. DO NOT EDIT.
|
||||
// Source: github.com/runatlantis/atlantis/server/events/runtime/cache (interfaces: KeySerializer)
|
||||
// Source: github.com/runatlantis/atlantis/server/core/runtime/cache (interfaces: KeySerializer)
|
||||
|
||||
package mocks
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Code generated by pegomock. DO NOT EDIT.
|
||||
// Source: github.com/runatlantis/atlantis/server/events/runtime/cache (interfaces: ExecutionVersionCache)
|
||||
// Source: github.com/runatlantis/atlantis/server/core/runtime/cache (interfaces: ExecutionVersionCache)
|
||||
|
||||
package mocks
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
|
||||
"github.com/hashicorp/go-version"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/runatlantis/atlantis/server/events/runtime/models"
|
||||
"github.com/runatlantis/atlantis/server/core/runtime/models"
|
||||
)
|
||||
|
||||
//go:generate pegomock generate -m --use-experimental-model-gen --package mocks -o mocks/mock_version_path.go ExecutionVersionCache
|
||||
@@ -7,9 +7,9 @@ import (
|
||||
|
||||
"github.com/hashicorp/go-version"
|
||||
. "github.com/petergtz/pegomock"
|
||||
cache_mocks "github.com/runatlantis/atlantis/server/events/runtime/cache/mocks"
|
||||
"github.com/runatlantis/atlantis/server/events/runtime/models"
|
||||
models_mocks "github.com/runatlantis/atlantis/server/events/runtime/models/mocks"
|
||||
cache_mocks "github.com/runatlantis/atlantis/server/core/runtime/cache/mocks"
|
||||
"github.com/runatlantis/atlantis/server/core/runtime/models"
|
||||
models_mocks "github.com/runatlantis/atlantis/server/core/runtime/models/mocks"
|
||||
. "github.com/runatlantis/atlantis/testing"
|
||||
)
|
||||
|
||||
@@ -4,9 +4,9 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/hashicorp/go-version"
|
||||
"github.com/runatlantis/atlantis/server/core/runtime"
|
||||
"github.com/runatlantis/atlantis/server/core/terraform/mocks"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
"github.com/runatlantis/atlantis/server/events/runtime"
|
||||
"github.com/runatlantis/atlantis/server/events/terraform/mocks"
|
||||
"github.com/runatlantis/atlantis/server/logging"
|
||||
|
||||
. "github.com/petergtz/pegomock"
|
||||
@@ -9,10 +9,10 @@ import (
|
||||
. "github.com/petergtz/pegomock"
|
||||
"github.com/pkg/errors"
|
||||
|
||||
"github.com/runatlantis/atlantis/server/core/runtime"
|
||||
"github.com/runatlantis/atlantis/server/core/terraform/mocks"
|
||||
matchers2 "github.com/runatlantis/atlantis/server/core/terraform/mocks/matchers"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
"github.com/runatlantis/atlantis/server/events/runtime"
|
||||
"github.com/runatlantis/atlantis/server/events/terraform/mocks"
|
||||
matchers2 "github.com/runatlantis/atlantis/server/events/terraform/mocks/matchers"
|
||||
"github.com/runatlantis/atlantis/server/logging"
|
||||
logging_matchers "github.com/runatlantis/atlantis/server/logging/mocks/matchers"
|
||||
. "github.com/runatlantis/atlantis/testing"
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
|
||||
"github.com/hashicorp/go-version"
|
||||
. "github.com/petergtz/pegomock"
|
||||
"github.com/runatlantis/atlantis/server/core/runtime/mocks"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
"github.com/runatlantis/atlantis/server/events/runtime/mocks"
|
||||
. "github.com/runatlantis/atlantis/testing"
|
||||
)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Code generated by pegomock. DO NOT EDIT.
|
||||
// Source: github.com/runatlantis/atlantis/server/events/runtime (interfaces: PreWorkflowHookRunner)
|
||||
// Source: github.com/runatlantis/atlantis/server/core/runtime (interfaces: PreWorkflowHookRunner)
|
||||
|
||||
package mocks
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Code generated by pegomock. DO NOT EDIT.
|
||||
// Source: github.com/runatlantis/atlantis/server/events/runtime (interfaces: PullApprovedChecker)
|
||||
// Source: github.com/runatlantis/atlantis/server/core/runtime (interfaces: PullApprovedChecker)
|
||||
|
||||
package mocks
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Code generated by pegomock. DO NOT EDIT.
|
||||
// Source: github.com/runatlantis/atlantis/server/events/runtime (interfaces: Runner)
|
||||
// Source: github.com/runatlantis/atlantis/server/core/runtime (interfaces: Runner)
|
||||
|
||||
package mocks
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Code generated by pegomock. DO NOT EDIT.
|
||||
// Source: github.com/runatlantis/atlantis/server/events/runtime (interfaces: VersionedExecutorWorkflow)
|
||||
// Source: github.com/runatlantis/atlantis/server/core/runtime (interfaces: VersionedExecutorWorkflow)
|
||||
|
||||
package mocks
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"github.com/petergtz/pegomock"
|
||||
"reflect"
|
||||
|
||||
models "github.com/runatlantis/atlantis/server/events/runtime/models"
|
||||
models "github.com/runatlantis/atlantis/server/core/runtime/models"
|
||||
)
|
||||
|
||||
func AnyModelsFilePath() models.FilePath {
|
||||
@@ -1,5 +1,5 @@
|
||||
// Code generated by pegomock. DO NOT EDIT.
|
||||
// Source: github.com/runatlantis/atlantis/server/events/runtime/models (interfaces: Exec)
|
||||
// Source: github.com/runatlantis/atlantis/server/core/runtime/models (interfaces: Exec)
|
||||
|
||||
package mocks
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
// Code generated by pegomock. DO NOT EDIT.
|
||||
// Source: github.com/runatlantis/atlantis/server/events/runtime/models (interfaces: FilePath)
|
||||
// Source: github.com/runatlantis/atlantis/server/core/runtime/models (interfaces: FilePath)
|
||||
|
||||
package mocks
|
||||
|
||||
import (
|
||||
pegomock "github.com/petergtz/pegomock"
|
||||
models "github.com/runatlantis/atlantis/server/events/runtime/models"
|
||||
models "github.com/runatlantis/atlantis/server/core/runtime/models"
|
||||
"reflect"
|
||||
"time"
|
||||
)
|
||||
@@ -9,16 +9,16 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/hashicorp/go-version"
|
||||
"github.com/runatlantis/atlantis/server/core/terraform"
|
||||
mocks2 "github.com/runatlantis/atlantis/server/events/mocks"
|
||||
"github.com/runatlantis/atlantis/server/events/terraform"
|
||||
|
||||
. "github.com/petergtz/pegomock"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/runatlantis/atlantis/server/core/runtime"
|
||||
"github.com/runatlantis/atlantis/server/core/terraform/mocks"
|
||||
matchers2 "github.com/runatlantis/atlantis/server/core/terraform/mocks/matchers"
|
||||
"github.com/runatlantis/atlantis/server/events/mocks/matchers"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
"github.com/runatlantis/atlantis/server/events/runtime"
|
||||
"github.com/runatlantis/atlantis/server/events/terraform/mocks"
|
||||
matchers2 "github.com/runatlantis/atlantis/server/events/terraform/mocks/matchers"
|
||||
"github.com/runatlantis/atlantis/server/logging"
|
||||
logging_matchers "github.com/runatlantis/atlantis/server/logging/mocks/matchers"
|
||||
. "github.com/runatlantis/atlantis/testing"
|
||||
@@ -10,8 +10,8 @@ import (
|
||||
. "github.com/petergtz/pegomock"
|
||||
. "github.com/runatlantis/atlantis/testing"
|
||||
|
||||
"github.com/runatlantis/atlantis/server/core/runtime/mocks"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
"github.com/runatlantis/atlantis/server/events/runtime/mocks"
|
||||
)
|
||||
|
||||
var planFileContents = `
|
||||
@@ -9,10 +9,10 @@ import (
|
||||
|
||||
version "github.com/hashicorp/go-version"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/runatlantis/atlantis/server/core/runtime/cache"
|
||||
runtime_models "github.com/runatlantis/atlantis/server/core/runtime/models"
|
||||
"github.com/runatlantis/atlantis/server/core/terraform"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
"github.com/runatlantis/atlantis/server/events/runtime/cache"
|
||||
runtime_models "github.com/runatlantis/atlantis/server/events/runtime/models"
|
||||
"github.com/runatlantis/atlantis/server/events/terraform"
|
||||
"github.com/runatlantis/atlantis/server/events/yaml/valid"
|
||||
"github.com/runatlantis/atlantis/server/logging"
|
||||
)
|
||||
@@ -10,11 +10,11 @@ import (
|
||||
|
||||
"github.com/hashicorp/go-version"
|
||||
. "github.com/petergtz/pegomock"
|
||||
"github.com/runatlantis/atlantis/server/core/runtime/cache/mocks"
|
||||
models_mocks "github.com/runatlantis/atlantis/server/core/runtime/models/mocks"
|
||||
conftest_mocks "github.com/runatlantis/atlantis/server/core/runtime/policy/mocks"
|
||||
terraform_mocks "github.com/runatlantis/atlantis/server/core/terraform/mocks"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
"github.com/runatlantis/atlantis/server/events/runtime/cache/mocks"
|
||||
models_mocks "github.com/runatlantis/atlantis/server/events/runtime/models/mocks"
|
||||
conftest_mocks "github.com/runatlantis/atlantis/server/events/runtime/policy/mocks"
|
||||
terraform_mocks "github.com/runatlantis/atlantis/server/events/terraform/mocks"
|
||||
"github.com/runatlantis/atlantis/server/events/yaml/valid"
|
||||
"github.com/runatlantis/atlantis/server/logging"
|
||||
. "github.com/runatlantis/atlantis/testing"
|
||||
@@ -1,5 +1,5 @@
|
||||
// Code generated by pegomock. DO NOT EDIT.
|
||||
// Source: github.com/runatlantis/atlantis/server/events/runtime/policy (interfaces: SourceResolver)
|
||||
// Source: github.com/runatlantis/atlantis/server/core/runtime/policy (interfaces: SourceResolver)
|
||||
|
||||
package mocks
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
|
||||
"github.com/hashicorp/go-version"
|
||||
. "github.com/petergtz/pegomock"
|
||||
"github.com/runatlantis/atlantis/server/core/runtime/mocks"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
"github.com/runatlantis/atlantis/server/events/runtime/mocks"
|
||||
"github.com/runatlantis/atlantis/server/events/yaml/valid"
|
||||
"github.com/runatlantis/atlantis/server/logging"
|
||||
. "github.com/runatlantis/atlantis/testing"
|
||||
@@ -5,11 +5,11 @@ import (
|
||||
"testing"
|
||||
|
||||
. "github.com/petergtz/pegomock"
|
||||
"github.com/runatlantis/atlantis/server/core/runtime"
|
||||
"github.com/runatlantis/atlantis/server/core/terraform/mocks"
|
||||
matchers2 "github.com/runatlantis/atlantis/server/core/terraform/mocks/matchers"
|
||||
"github.com/runatlantis/atlantis/server/events/mocks/matchers"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
"github.com/runatlantis/atlantis/server/events/runtime"
|
||||
"github.com/runatlantis/atlantis/server/events/terraform/mocks"
|
||||
matchers2 "github.com/runatlantis/atlantis/server/events/terraform/mocks/matchers"
|
||||
"github.com/runatlantis/atlantis/server/logging"
|
||||
. "github.com/runatlantis/atlantis/testing"
|
||||
)
|
||||
@@ -8,11 +8,11 @@ import (
|
||||
|
||||
version "github.com/hashicorp/go-version"
|
||||
. "github.com/petergtz/pegomock"
|
||||
"github.com/runatlantis/atlantis/server/core/runtime"
|
||||
"github.com/runatlantis/atlantis/server/core/terraform/mocks"
|
||||
matchers2 "github.com/runatlantis/atlantis/server/core/terraform/mocks/matchers"
|
||||
"github.com/runatlantis/atlantis/server/events/mocks/matchers"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
"github.com/runatlantis/atlantis/server/events/runtime"
|
||||
"github.com/runatlantis/atlantis/server/events/terraform/mocks"
|
||||
matchers2 "github.com/runatlantis/atlantis/server/events/terraform/mocks/matchers"
|
||||
"github.com/runatlantis/atlantis/server/logging"
|
||||
. "github.com/runatlantis/atlantis/testing"
|
||||
)
|
||||
@@ -10,8 +10,8 @@ import (
|
||||
|
||||
version "github.com/hashicorp/go-version"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/runatlantis/atlantis/server/core/terraform"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
"github.com/runatlantis/atlantis/server/events/terraform"
|
||||
"github.com/runatlantis/atlantis/server/logging"
|
||||
)
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/runatlantis/atlantis/server/events/runtime"
|
||||
"github.com/runatlantis/atlantis/server/core/runtime"
|
||||
. "github.com/runatlantis/atlantis/testing"
|
||||
)
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
|
||||
"github.com/hashicorp/go-version"
|
||||
. "github.com/petergtz/pegomock"
|
||||
"github.com/runatlantis/atlantis/server/core/terraform/mocks"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
"github.com/runatlantis/atlantis/server/events/terraform/mocks"
|
||||
"github.com/runatlantis/atlantis/server/logging"
|
||||
. "github.com/runatlantis/atlantis/testing"
|
||||
)
|
||||
@@ -1,5 +1,5 @@
|
||||
// Code generated by pegomock. DO NOT EDIT.
|
||||
// Source: github.com/runatlantis/atlantis/server/events/terraform (interfaces: Downloader)
|
||||
// Source: github.com/runatlantis/atlantis/server/core/terraform (interfaces: Downloader)
|
||||
|
||||
package mocks
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Code generated by pegomock. DO NOT EDIT.
|
||||
// Source: github.com/runatlantis/atlantis/server/events/terraform (interfaces: Client)
|
||||
// Source: github.com/runatlantis/atlantis/server/core/terraform (interfaces: Client)
|
||||
|
||||
package mocks
|
||||
|
||||
@@ -26,8 +26,8 @@ import (
|
||||
"github.com/petergtz/pegomock"
|
||||
. "github.com/petergtz/pegomock"
|
||||
"github.com/runatlantis/atlantis/cmd"
|
||||
"github.com/runatlantis/atlantis/server/events/terraform"
|
||||
"github.com/runatlantis/atlantis/server/events/terraform/mocks"
|
||||
"github.com/runatlantis/atlantis/server/core/terraform"
|
||||
"github.com/runatlantis/atlantis/server/core/terraform/mocks"
|
||||
"github.com/runatlantis/atlantis/server/logging"
|
||||
. "github.com/runatlantis/atlantis/testing"
|
||||
)
|
||||
@@ -1,8 +1,8 @@
|
||||
package events
|
||||
|
||||
import (
|
||||
"github.com/runatlantis/atlantis/server/events/db"
|
||||
"github.com/runatlantis/atlantis/server/events/locking"
|
||||
"github.com/runatlantis/atlantis/server/core/db"
|
||||
"github.com/runatlantis/atlantis/server/core/locking"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
"github.com/runatlantis/atlantis/server/events/vcs"
|
||||
)
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
|
||||
"github.com/google/go-github/v31/github"
|
||||
. "github.com/petergtz/pegomock"
|
||||
"github.com/runatlantis/atlantis/server/core/locking"
|
||||
"github.com/runatlantis/atlantis/server/events"
|
||||
"github.com/runatlantis/atlantis/server/events/locking"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
"github.com/runatlantis/atlantis/server/events/models/fixtures"
|
||||
"github.com/runatlantis/atlantis/server/logging"
|
||||
|
||||
@@ -19,14 +19,14 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/runatlantis/atlantis/server/events/db"
|
||||
"github.com/runatlantis/atlantis/server/core/db"
|
||||
"github.com/runatlantis/atlantis/server/events/yaml/valid"
|
||||
"github.com/runatlantis/atlantis/server/logging"
|
||||
|
||||
"github.com/google/go-github/v31/github"
|
||||
. "github.com/petergtz/pegomock"
|
||||
lockingmocks "github.com/runatlantis/atlantis/server/core/locking/mocks"
|
||||
"github.com/runatlantis/atlantis/server/events"
|
||||
lockingmocks "github.com/runatlantis/atlantis/server/events/locking/mocks"
|
||||
"github.com/runatlantis/atlantis/server/events/mocks"
|
||||
eventmocks "github.com/runatlantis/atlantis/server/events/mocks"
|
||||
"github.com/runatlantis/atlantis/server/events/mocks/matchers"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package events
|
||||
|
||||
import (
|
||||
"github.com/runatlantis/atlantis/server/events/db"
|
||||
"github.com/runatlantis/atlantis/server/core/db"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package events
|
||||
|
||||
import (
|
||||
"github.com/runatlantis/atlantis/server/events/db"
|
||||
"github.com/runatlantis/atlantis/server/events/locking"
|
||||
"github.com/runatlantis/atlantis/server/core/db"
|
||||
"github.com/runatlantis/atlantis/server/core/locking"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
"github.com/runatlantis/atlantis/server/logging"
|
||||
)
|
||||
|
||||
@@ -5,9 +5,9 @@ import (
|
||||
"testing"
|
||||
|
||||
. "github.com/petergtz/pegomock"
|
||||
"github.com/runatlantis/atlantis/server/core/db"
|
||||
lockmocks "github.com/runatlantis/atlantis/server/core/locking/mocks"
|
||||
"github.com/runatlantis/atlantis/server/events"
|
||||
"github.com/runatlantis/atlantis/server/events/db"
|
||||
lockmocks "github.com/runatlantis/atlantis/server/events/locking/mocks"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
"github.com/runatlantis/atlantis/server/logging"
|
||||
. "github.com/runatlantis/atlantis/testing"
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
"github.com/runatlantis/atlantis/server/events/runtime"
|
||||
"github.com/runatlantis/atlantis/server/core/runtime"
|
||||
)
|
||||
|
||||
//go:generate pegomock generate -m --use-experimental-model-gen --package mocks -o mocks/mock_pending_plan_finder.go PendingPlanFinder
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package events
|
||||
|
||||
import (
|
||||
"github.com/runatlantis/atlantis/server/core/runtime"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
"github.com/runatlantis/atlantis/server/events/runtime"
|
||||
"github.com/runatlantis/atlantis/server/events/vcs"
|
||||
"github.com/runatlantis/atlantis/server/events/yaml/valid"
|
||||
)
|
||||
|
||||
@@ -5,11 +5,11 @@ import (
|
||||
"testing"
|
||||
|
||||
. "github.com/petergtz/pegomock"
|
||||
runtime_mocks "github.com/runatlantis/atlantis/server/core/runtime/mocks"
|
||||
"github.com/runatlantis/atlantis/server/events"
|
||||
"github.com/runatlantis/atlantis/server/events/mocks"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
"github.com/runatlantis/atlantis/server/events/models/fixtures"
|
||||
runtime_mocks "github.com/runatlantis/atlantis/server/events/runtime/mocks"
|
||||
vcsmocks "github.com/runatlantis/atlantis/server/events/vcs/mocks"
|
||||
"github.com/runatlantis/atlantis/server/events/yaml/valid"
|
||||
"github.com/runatlantis/atlantis/server/logging"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user