mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
go.mod still declared `module github.com/hanzoai/deploy` after the repo was renamed. A Go module path is not cosmetic — it is the resolvable location. So `go get github.com/hanzoai/cd` could not work, and anything importing this module had to spell a name that no longer exists at that address. The build log of v3.6.0 is where it surfaced: the compiler was still emitting github.com/hanzoai/deploy/cmd/cd/commands. 3541 import paths across 690 .go, 19 .proto, 4 .yaml, 3 .sh, 2 .mod, Procfile and Makefile. Plus the 62 ghcr.io/hanzoai/deploy image references, moved to ghcr.io/hanzoai/cd to match hanzo.yml's build target — a distinct string from the module path, replaced separately so neither could clobber the other. go mod tidy clean, CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build ./... clean. Co-authored-by: Hanzo Dev <[email protected]>
109 lines
3.1 KiB
YAML
109 lines
3.1 KiB
YAML
dir: '{{.InterfaceDir}}/mocks'
|
|
filename: '{{.InterfaceName}}.go'
|
|
include-auto-generated: true # Needed since mockery 3.6.1
|
|
packages:
|
|
github.com/hanzoai/cd/applicationset/generators:
|
|
interfaces:
|
|
Generator: {}
|
|
github.com/hanzoai/cd/applicationset/services:
|
|
interfaces:
|
|
Repos: {}
|
|
github.com/hanzoai/cd/applicationset/services/scm_provider:
|
|
interfaces:
|
|
AWSCodeCommitClient: {}
|
|
AWSTaggingClient: {}
|
|
AzureDevOpsClientFactory: {}
|
|
github.com/hanzoai/cd/applicationset/utils:
|
|
interfaces:
|
|
Renderer: {}
|
|
github.com/hanzoai/cd/commitserver/apiclient:
|
|
interfaces:
|
|
CommitServiceClient: {}
|
|
github.com/hanzoai/cd/commitserver/commit:
|
|
interfaces:
|
|
RepoClientFactory: {}
|
|
github.com/hanzoai/cd/controller/cache:
|
|
interfaces:
|
|
LiveStateCache: {}
|
|
github.com/hanzoai/cd/controller/hydrator:
|
|
interfaces:
|
|
Dependencies: {}
|
|
RepoGetter: {}
|
|
github.com/hanzoai/cd/pkg/apiclient/application:
|
|
interfaces:
|
|
ApplicationServiceClient: {}
|
|
github.com/hanzoai/cd/pkg/apiclient/cluster:
|
|
interfaces:
|
|
ClusterServiceClient: {}
|
|
ClusterServiceServer: {}
|
|
github.com/hanzoai/cd/pkg/apiclient/gpgkey:
|
|
interfaces:
|
|
GPGKeyServiceClient: {}
|
|
github.com/hanzoai/cd/pkg/apiclient/project:
|
|
interfaces:
|
|
ProjectServiceClient: {}
|
|
github.com/hanzoai/cd/pkg/apiclient/session:
|
|
interfaces:
|
|
SessionServiceClient: {}
|
|
SessionServiceServer: {}
|
|
github.com/hanzoai/cd/pkg/client/clientset/versioned/typed/application/v1alpha1:
|
|
interfaces:
|
|
AppProjectInterface: {}
|
|
github.com/hanzoai/cd/reposerver/apiclient:
|
|
interfaces:
|
|
RepoServerServiceClient: {}
|
|
RepoServerService_GenerateManifestWithFilesClient: {}
|
|
github.com/hanzoai/cd/server/broadcast:
|
|
interfaces:
|
|
Broadcaster: {}
|
|
github.com/hanzoai/cd/server/extension:
|
|
interfaces:
|
|
ApplicationGetter: {}
|
|
ExtensionMetricsRegistry: {}
|
|
ProjectGetter: {}
|
|
RbacEnforcer: {}
|
|
SettingsGetter: {}
|
|
UserGetter: {}
|
|
github.com/hanzoai/cd/util/db:
|
|
interfaces:
|
|
ArgoDB: {}
|
|
RepoCredsDB: {}
|
|
github.com/hanzoai/cd/util/git:
|
|
interfaces:
|
|
Client: {}
|
|
github.com/hanzoai/cd/util/helm:
|
|
interfaces:
|
|
Client: {}
|
|
github.com/hanzoai/cd/util/io:
|
|
interfaces:
|
|
TempPaths: {}
|
|
github.com/hanzoai/cd/util/notification/cd:
|
|
interfaces:
|
|
Service: {}
|
|
github.com/hanzoai/cd/util/oci:
|
|
interfaces:
|
|
Client: {}
|
|
github.com/hanzoai/cd/util/workloadidentity:
|
|
interfaces:
|
|
TokenProvider: {}
|
|
github.com/hanzoai/cd/gitops-engine/pkg/cache:
|
|
interfaces:
|
|
ClusterCache: {}
|
|
github.com/hanzoai/cd/gitops-engine/pkg/diff:
|
|
interfaces:
|
|
ServerSideDryRunner: {}
|
|
github.com/go-logr/logr:
|
|
config:
|
|
dir: gitops-engine/pkg/utils/tracing/mocks
|
|
interfaces:
|
|
LogSink: {}
|
|
github.com/microsoft/azure-devops-go-api/azuredevops/v7/git:
|
|
config:
|
|
dir: applicationset/services/scm_provider/azure_devops/git/mocks
|
|
interfaces:
|
|
Client: {}
|
|
pkgname: mocks
|
|
structname: '{{.InterfaceName}}'
|
|
template-data:
|
|
unroll-variadic: true
|