Move core workflow packages under core. (#1684)

* Move core workflow packages under core.

* lint.
This commit is contained in:
Nish Krishnan
2021-07-01 12:54:44 -07:00
committed by GitHub
parent 1637171dc9
commit d914eafd2a
108 changed files with 108 additions and 108 deletions

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"
)

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -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"
)

View File

@@ -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"
)

View File

@@ -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

View File

@@ -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"

View File

@@ -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"

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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"
)

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"
)

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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 {

View File

@@ -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

View File

@@ -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"
)

View File

@@ -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"

View File

@@ -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 = `

View File

@@ -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"
)

View File

@@ -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"

View File

@@ -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

View File

@@ -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"

View File

@@ -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"
)

View File

@@ -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"
)

View File

@@ -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"
)

View File

@@ -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"
)

View File

@@ -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"
)

View File

@@ -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

View File

@@ -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

View File

@@ -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"
)

View File

@@ -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"
)

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"
)

View File

@@ -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"
)

View File

@@ -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"

View File

@@ -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

View File

@@ -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"
)

View File

@@ -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