Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove legacy CLI, code, and scaffold templates #3385

Merged
merged 13 commits into from
Jul 13, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 0 additions & 50 deletions internal/scaffold/apis.go

This file was deleted.

49 changes: 0 additions & 49 deletions internal/scaffold/apis_test.go

This file was deleted.

52 changes: 0 additions & 52 deletions internal/scaffold/build_dockerfile.go

This file was deleted.

51 changes: 0 additions & 51 deletions internal/scaffold/build_dockerfile_test.go

This file was deleted.

24 changes: 13 additions & 11 deletions internal/scaffold/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,17 @@ const (
filePathSep = string(filepath.Separator)

// dirs
CmdDir = "cmd"
ManagerDir = CmdDir + filePathSep + "manager"
PkgDir = "pkg"
ApisDir = PkgDir + filePathSep + "apis"
ControllerDir = PkgDir + filePathSep + "controller"
BuildDir = "build"
BuildTestDir = BuildDir + filePathSep + "test-framework"
BuildBinDir = BuildDir + filePathSep + "_output" + filePathSep + "bin"
BuildScriptDir = BuildDir + filePathSep + "bin"
DeployDir = "deploy"
CRDsDir = DeployDir + filePathSep + "crds"
CmdDir = "cmd"
ManagerDir = CmdDir + filePathSep + "manager"
PkgDir = "pkg"
ApisDir = PkgDir + filePathSep + "apis"
ControllerDir = PkgDir + filePathSep + "controller"
BuildDir = "build"
BuildBinDir = BuildDir + filePathSep + "_output" + filePathSep + "bin"
DeployDir = "deploy"
CRDsDir = DeployDir + filePathSep + "crds"

// files
DockerfileFile = "Dockerfile"
OperatorYamlFile = "operator.yaml"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we will be able to remove the vars related to the legacy layout. However, it is not in the scope of this pr.

)
55 changes: 0 additions & 55 deletions internal/scaffold/controller.go

This file was deleted.

54 changes: 0 additions & 54 deletions internal/scaffold/controller_test.go

This file was deleted.

42 changes: 0 additions & 42 deletions internal/scaffold/entrypoint.go

This file was deleted.

Loading