Skip to content

Commit

Permalink
Add a submodule for /pkg/apis
Browse files Browse the repository at this point in the history
This will make the apis easier to consume from outside hive be limiting
the dependencies needed to access them.

Fixes openshift#1279
  • Loading branch information
carbonin committed Feb 9, 2021
1 parent b7f5273 commit 811f5fc
Show file tree
Hide file tree
Showing 78 changed files with 11,741 additions and 0 deletions.
4 changes: 4 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ require (
github.com/openshift/cluster-api-provider-ovirt v0.1.1-0.20200504092944-27473ea1ae43
github.com/openshift/cluster-autoscaler-operator v0.0.0-20190521201101-62768a6ba480
github.com/openshift/generic-admission-server v1.14.1-0.20200903115324-4ddcdd976480
github.com/openshift/hive/pkg/apis v0.0.0
github.com/openshift/installer v0.9.0-master.0.20210201172249-df32ad26dd6f
github.com/openshift/library-go v0.0.0-20201109112824-093ad3cf6600
github.com/openshift/machine-api-operator v0.2.1-0.20201111151924-77300d0c997a
Expand Down Expand Up @@ -102,3 +103,6 @@ replace (

// needed because otherwise v12.0.0 is picked up as a more recent version
replace k8s.io/client-go => k8s.io/client-go v0.19.5

// submodule
replace github.com/openshift/hive/pkg/apis => ./pkg/apis
10 changes: 10 additions & 0 deletions pkg/apis/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module github.com/openshift/hive/pkg/apis

go 1.15

require (
github.com/openshift/api v3.9.1-0.20191111211345-a27ff30ebf09+incompatible
k8s.io/api v0.19.5
k8s.io/apimachinery v0.19.5
sigs.k8s.io/controller-runtime v0.6.2
)
479 changes: 479 additions & 0 deletions pkg/apis/go.sum

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions vendor/github.com/openshift/hive/pkg/apis/addtoscheme_hive_v1.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions vendor/github.com/openshift/hive/pkg/apis/apis.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions vendor/github.com/openshift/hive/pkg/apis/go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

479 changes: 479 additions & 0 deletions vendor/github.com/openshift/hive/pkg/apis/go.sum

Large diffs are not rendered by default.

70 changes: 70 additions & 0 deletions vendor/github.com/openshift/hive/pkg/apis/helpers/namer.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions vendor/github.com/openshift/hive/pkg/apis/hive/v1/agent/status.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 811f5fc

Please sign in to comment.