Skip to content

Commit

Permalink
Remove dead code in apis package
Browse files Browse the repository at this point in the history
Signed-off-by: James Munnelly <james@munnelly.eu>
  • Loading branch information
munnerz committed Aug 13, 2019
1 parent 23541ed commit c8a326d
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 87 deletions.
3 changes: 0 additions & 3 deletions pkg/apis/certmanager/v1alpha1/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ go_library(
name = "go_default_library",
srcs = [
"const.go",
"conversion.go",
"defaults.go",
"doc.go",
"generic_issuer.go",
"register.go",
Expand All @@ -16,7 +14,6 @@ go_library(
"types_issuer.go",
"types_order.go",
"zz_generated.deepcopy.go",
"zz_generated.defaults.go",
],
importpath = "github.com/jetstack/cert-manager/pkg/apis/certmanager/v1alpha1",
visibility = ["//visibility:public"],
Expand Down
26 changes: 0 additions & 26 deletions pkg/apis/certmanager/v1alpha1/conversion.go

This file was deleted.

25 changes: 0 additions & 25 deletions pkg/apis/certmanager/v1alpha1/defaults.go

This file was deleted.

2 changes: 1 addition & 1 deletion pkg/apis/certmanager/v1alpha1/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func init() {
// We only register manually written functions here. The registration of the
// generated functions takes place in the generated files. The separation
// makes the code compile even when the generated files are missing.
localSchemeBuilder.Register(addKnownTypes, addDefaultingFuncs, addConversionFuncs)
localSchemeBuilder.Register(addKnownTypes)
}

// Adds the list of known types to api.Scheme.
Expand Down
32 changes: 0 additions & 32 deletions pkg/apis/certmanager/v1alpha1/zz_generated.defaults.go

This file was deleted.

0 comments on commit c8a326d

Please sign in to comment.