Permalink
Browse files

shipperctl: first draft of `admin clusters apply` (#45)

crds: translate remaining CRDs to structs

shipperctl: create all the CRDs in 'apply'

Fixed bugs discovered in functional testing.

Changed code and custom resource definitions to migrate to v1alpha1.

Updated dep in the Travis configuration

Fixed a linting error.

Attempting to force vendor errors to be excluded.

- Removed the Should* methods on the Cluster configurator, except
  ShouldCopySecret -- kept that one to generate better output
- Formatted go imports
- Fixed the definition of the SecretNotFound error struct
- Changed the output of the command to conform to this new way of
  calling functions and using the already exists error as an
  indication that the object already exists

Turned variable declarations into constants where needed.

Improved outputting errors and fixed the Shipper import name.

- INitialize the list of capabilities to an empty slice if it's nil
- Do a priliminary validation of clusters to generate nicer
- messages. At this point, this is only checking if region is empty.

shipperctl: use shipper.SchemaGroupVersion instead of string

shipperctl: include secrets/events in management clusterrole

This is a bug, since Shipper doesn't need cluster-wide access to Secrets
in the management cluster, but it isn't ready to have scoped access. So,
until we fix that (#52) we don't need code for Roles or RoleBindings,
and just include cluster-wide access to secrets in the ClusterRole.

shipperctl: firmer split between app/management clusters

This commit ensures that management cluster and app cluster setup are
kept distinct, and introduces seperate service accounts for the two.

Furthermore, all RBAC objects are labled with the domain that pertain to
-- management or application. This helps to keep things straight in
a combo cluster, as in development.
  • Loading branch information...
parhamdoustdar authored and kanatohodets committed Nov 23, 2018
1 parent 20e66cf commit d7aa70f153e879bf338a52c4398ff28ddde3bb64
Showing with 46,174 additions and 76 deletions.
  1. +1 −1 .travis.yml
  2. +228 −26 Gopkg.lock
  3. +11 −0 Gopkg.toml
  4. +1 −0 ci/test.sh
  5. +12 −0 cmd/shipperctl/cmd/admin.go
  6. +390 −0 cmd/shipperctl/cmd/apply.go
  7. +12 −0 cmd/shipperctl/cmd/clusters.go
  8. +27 −0 cmd/shipperctl/cmd/root.go
  9. +16 −0 cmd/shipperctl/config/types.go
  10. +281 −0 cmd/shipperctl/configurator/cluster.go
  11. +25 −0 cmd/shipperctl/configurator/errors.go
  12. +12 −0 cmd/shipperctl/main.go
  13. +4 −0 pkg/apis/shipper/v1alpha1/types.go
  14. +44 −0 pkg/crds/application.go
  15. +65 −0 pkg/crds/capacitytarget.go
  16. +73 −0 pkg/crds/cluster.go
  17. +105 −0 pkg/crds/environment_validation.go
  18. +51 −0 pkg/crds/installationtarget.go
  19. +7 −0 pkg/crds/numbers.go
  20. +49 −0 pkg/crds/release.go
  21. +64 −0 pkg/crds/traffictarget.go
  22. +13 −0 vendor/github.com/inconshreveable/mousetrap/LICENSE
  23. +23 −0 vendor/github.com/inconshreveable/mousetrap/README.md
  24. +15 −0 vendor/github.com/inconshreveable/mousetrap/trap_others.go
  25. +98 −0 vendor/github.com/inconshreveable/mousetrap/trap_windows.go
  26. +46 −0 vendor/github.com/inconshreveable/mousetrap/trap_windows_1.4.go
  27. +21 −0 vendor/github.com/mitchellh/go-homedir/LICENSE
  28. +14 −0 vendor/github.com/mitchellh/go-homedir/README.md
  29. +1 −0 vendor/github.com/mitchellh/go-homedir/go.mod
  30. +157 −0 vendor/github.com/mitchellh/go-homedir/homedir.go
  31. +129 −0 vendor/github.com/mitchellh/go-homedir/homedir_test.go
  32. +38 −0 vendor/github.com/spf13/cobra/.circleci/config.yml
  33. +36 −0 vendor/github.com/spf13/cobra/.gitignore
  34. +3 −0 vendor/github.com/spf13/cobra/.mailmap
  35. +21 −0 vendor/github.com/spf13/cobra/.travis.yml
  36. +174 −0 vendor/github.com/spf13/cobra/LICENSE.txt
  37. +736 −0 vendor/github.com/spf13/cobra/README.md
  38. +89 −0 vendor/github.com/spf13/cobra/args.go
  39. +241 −0 vendor/github.com/spf13/cobra/args_test.go
  40. +584 −0 vendor/github.com/spf13/cobra/bash_completions.go
  41. +221 −0 vendor/github.com/spf13/cobra/bash_completions.md
  42. +217 −0 vendor/github.com/spf13/cobra/bash_completions_test.go
  43. +200 −0 vendor/github.com/spf13/cobra/cobra.go
  44. +94 −0 vendor/github.com/spf13/cobra/cobra/README.md
  45. +179 −0 vendor/github.com/spf13/cobra/cobra/cmd/add.go
  46. +109 −0 vendor/github.com/spf13/cobra/cobra/cmd/add_test.go
  47. +77 −0 vendor/github.com/spf13/cobra/cobra/cmd/golden_test.go
  48. +168 −0 vendor/github.com/spf13/cobra/cobra/cmd/helpers.go
  49. +234 −0 vendor/github.com/spf13/cobra/cobra/cmd/init.go
  50. +83 −0 vendor/github.com/spf13/cobra/cobra/cmd/init_test.go
  51. +683 −0 vendor/github.com/spf13/cobra/cobra/cmd/license_agpl.go
  52. +238 −0 vendor/github.com/spf13/cobra/cobra/cmd/license_apache_2.go
  53. +71 −0 vendor/github.com/spf13/cobra/cobra/cmd/license_bsd_clause_2.go
  54. +78 −0 vendor/github.com/spf13/cobra/cobra/cmd/license_bsd_clause_3.go
  55. +376 −0 vendor/github.com/spf13/cobra/cobra/cmd/license_gpl_2.go
  56. +711 −0 vendor/github.com/spf13/cobra/cobra/cmd/license_gpl_3.go
  57. +186 −0 vendor/github.com/spf13/cobra/cobra/cmd/license_lgpl.go
  58. +63 −0 vendor/github.com/spf13/cobra/cobra/cmd/license_mit.go
  59. +118 −0 vendor/github.com/spf13/cobra/cobra/cmd/licenses.go
  60. +200 −0 vendor/github.com/spf13/cobra/cobra/cmd/project.go
  61. +24 −0 vendor/github.com/spf13/cobra/cobra/cmd/project_test.go
  62. +79 −0 vendor/github.com/spf13/cobra/cobra/cmd/root.go
  63. +202 −0 vendor/github.com/spf13/cobra/cobra/cmd/testdata/LICENSE.golden
  64. +21 −0 vendor/github.com/spf13/cobra/cobra/cmd/testdata/main.go.golden
  65. +89 −0 vendor/github.com/spf13/cobra/cobra/cmd/testdata/root.go.golden
  66. +50 −0 vendor/github.com/spf13/cobra/cobra/cmd/testdata/test.go.golden
  67. +20 −0 vendor/github.com/spf13/cobra/cobra/main.go
  68. +22 −0 vendor/github.com/spf13/cobra/cobra_test.go
  69. +1,517 −0 vendor/github.com/spf13/cobra/command.go
  70. +5 −0 vendor/github.com/spf13/cobra/command_notwin.go
  71. +1,733 −0 vendor/github.com/spf13/cobra/command_test.go
  72. +20 −0 vendor/github.com/spf13/cobra/command_win.go
  73. +86 −0 vendor/github.com/spf13/cobra/doc/cmd_test.go
  74. +236 −0 vendor/github.com/spf13/cobra/doc/man_docs.go
  75. +31 −0 vendor/github.com/spf13/cobra/doc/man_docs.md
  76. +213 −0 vendor/github.com/spf13/cobra/doc/man_docs_test.go
  77. +35 −0 vendor/github.com/spf13/cobra/doc/man_examples_test.go
  78. +159 −0 vendor/github.com/spf13/cobra/doc/md_docs.go
  79. +115 −0 vendor/github.com/spf13/cobra/doc/md_docs.md
  80. +98 −0 vendor/github.com/spf13/cobra/doc/md_docs_test.go
  81. +185 −0 vendor/github.com/spf13/cobra/doc/rest_docs.go
  82. +114 −0 vendor/github.com/spf13/cobra/doc/rest_docs.md
  83. +99 −0 vendor/github.com/spf13/cobra/doc/rest_docs_test.go
  84. +51 −0 vendor/github.com/spf13/cobra/doc/util.go
  85. +169 −0 vendor/github.com/spf13/cobra/doc/yaml_docs.go
  86. +112 −0 vendor/github.com/spf13/cobra/doc/yaml_docs.md
  87. +74 −0 vendor/github.com/spf13/cobra/doc/yaml_docs_test.go
  88. +126 −0 vendor/github.com/spf13/cobra/zsh_completions.go
  89. +89 −0 vendor/github.com/spf13/cobra/zsh_completions_test.go
  90. +209 −0 vendor/github.com/spf13/pflag/bytes.go
  91. +134 −0 vendor/github.com/spf13/pflag/bytes_test.go
  92. +6 −6 vendor/github.com/spf13/pflag/count.go
  93. +5 −1 vendor/github.com/spf13/pflag/count_test.go
  94. +128 −0 vendor/github.com/spf13/pflag/duration_slice.go
  95. +165 −0 vendor/github.com/spf13/pflag/duration_slice_test.go
  96. +130 −31 vendor/github.com/spf13/pflag/flag.go
  97. +186 −7 vendor/github.com/spf13/pflag/flag_test.go
  98. +4 −0 vendor/github.com/spf13/pflag/golangflag.go
  99. +8 −0 vendor/github.com/spf13/pflag/golangflag_test.go
  100. +88 −0 vendor/github.com/spf13/pflag/int16.go
  101. +74 −0 vendor/github.com/spf13/pflag/printusage_test.go
  102. +4 −4 vendor/github.com/spf13/pflag/string_array.go
  103. +20 −0 vendor/github.com/spf13/pflag/string_slice.go
  104. +149 −0 vendor/github.com/spf13/pflag/string_to_int.go
  105. +156 −0 vendor/github.com/spf13/pflag/string_to_int_test.go
  106. +160 −0 vendor/github.com/spf13/pflag/string_to_string.go
  107. +162 −0 vendor/github.com/spf13/pflag/string_to_string_test.go
  108. +2 −0 vendor/k8s.io/apiextensions-apiserver/.github/PULL_REQUEST_TEMPLATE.md
  109. +7 −0 vendor/k8s.io/apiextensions-apiserver/CONTRIBUTING.md
  110. +2,102 −0 vendor/k8s.io/apiextensions-apiserver/Godeps/Godeps.json
  111. +2 −0 vendor/k8s.io/apiextensions-apiserver/Godeps/OWNERS
  112. +5 −0 vendor/k8s.io/apiextensions-apiserver/Godeps/Readme
  113. +202 −0 vendor/k8s.io/apiextensions-apiserver/LICENSE
  114. +9 −0 vendor/k8s.io/apiextensions-apiserver/OWNERS
  115. +20 −0 vendor/k8s.io/apiextensions-apiserver/README.md
  116. +17 −0 vendor/k8s.io/apiextensions-apiserver/SECURITY_CONTACTS
  117. +12 −0 vendor/k8s.io/apiextensions-apiserver/artifacts/customresource-01/noxu-apiservice.yaml
  118. +13 −0 vendor/k8s.io/apiextensions-apiserver/artifacts/customresource-01/noxu-resource-definition.yaml
  119. +6 −0 vendor/k8s.io/apiextensions-apiserver/artifacts/customresource-01/noxu.yaml
  120. +12 −0 vendor/k8s.io/apiextensions-apiserver/artifacts/example/apiservice.yaml
  121. +12 −0 vendor/k8s.io/apiextensions-apiserver/artifacts/example/auth-delegator.yaml
  122. +13 −0 vendor/k8s.io/apiextensions-apiserver/artifacts/example/auth-reader.yaml
  123. +26 −0 vendor/k8s.io/apiextensions-apiserver/artifacts/example/rc.yaml
  124. +5 −0 vendor/k8s.io/apiextensions-apiserver/artifacts/example/sa.yaml
  125. +12 −0 vendor/k8s.io/apiextensions-apiserver/artifacts/example/service.yaml
  126. +17 −0 vendor/k8s.io/apiextensions-apiserver/artifacts/simple-image/Dockerfile
  127. +3 −0 vendor/k8s.io/apiextensions-apiserver/code-of-conduct.md
  128. +57 −0 vendor/k8s.io/apiextensions-apiserver/examples/client-go/README.md
  129. +34 −0 vendor/k8s.io/apiextensions-apiserver/examples/client-go/hack/update-codegen.sh
  130. +48 −0 vendor/k8s.io/apiextensions-apiserver/examples/client-go/hack/verify-codegen.sh
  131. +21 −0 vendor/k8s.io/apiextensions-apiserver/examples/client-go/pkg/apis/cr/register.go
  132. +21 −0 vendor/k8s.io/apiextensions-apiserver/examples/client-go/pkg/apis/cr/v1/doc.go
  133. +51 −0 vendor/k8s.io/apiextensions-apiserver/examples/client-go/pkg/apis/cr/v1/register.go
  134. +63 −0 vendor/k8s.io/apiextensions-apiserver/examples/client-go/pkg/apis/cr/v1/types.go
  135. +118 −0 vendor/k8s.io/apiextensions-apiserver/examples/client-go/pkg/apis/cr/v1/zz_generated.deepcopy.go
  136. +98 −0 vendor/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/clientset.go
  137. +20 −0 vendor/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/doc.go
  138. +82 −0 ...xtensions-apiserver/examples/client-go/pkg/client/clientset/versioned/fake/clientset_generated.go
  139. +20 −0 vendor/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/fake/doc.go
  140. +54 −0 ...k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/fake/register.go
  141. +20 −0 ...or/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/scheme/doc.go
  142. +54 −0 ...s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/scheme/register.go
  143. +90 −0 ...piextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/cr_client.go
  144. +20 −0 ...s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/doc.go
  145. +157 −0 .../apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go
  146. +20 −0 ...apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/fake/doc.go
  147. +40 −0 ...ns-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/fake/fake_cr_client.go
  148. +128 −0 ...ions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/fake/fake_example.go
  149. +21 −0 ...ns-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/generated_expansion.go
  150. +46 −0 .../apiextensions-apiserver/examples/client-go/pkg/client/informers/externalversions/cr/interface.go
  151. +89 −0 ...apiextensions-apiserver/examples/client-go/pkg/client/informers/externalversions/cr/v1/example.go
  152. +45 −0 ...iextensions-apiserver/examples/client-go/pkg/client/informers/externalversions/cr/v1/interface.go
  153. +180 −0 ...8s.io/apiextensions-apiserver/examples/client-go/pkg/client/informers/externalversions/factory.go
  154. +62 −0 ...8s.io/apiextensions-apiserver/examples/client-go/pkg/client/informers/externalversions/generic.go
  155. +38 −0 ...examples/client-go/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go
  156. +94 −0 vendor/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/listers/cr/v1/example.go
  157. +27 −0 ...k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/listers/cr/v1/expansion_generated.go
  158. +16 −0 vendor/k8s.io/apiextensions-apiserver/hack/boilerplate.go.txt
  159. +30 −0 vendor/k8s.io/apiextensions-apiserver/hack/build-image.sh
  160. +80 −0 vendor/k8s.io/apiextensions-apiserver/hack/update-codegen.sh
  161. +49 −0 vendor/k8s.io/apiextensions-apiserver/hack/verify-codegen.sh
  162. +40 −0 vendor/k8s.io/apiextensions-apiserver/main.go
  163. +262 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/deepcopy.go
  164. +21 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/doc.go
  165. +142 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/fuzzer/fuzzer.go
  166. +149 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/helpers.go
  167. +421 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/helpers_test.go
  168. +31 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/install/install.go
  169. +28 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/install/roundtrip_test.go
  170. +51 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/register.go
  171. +250 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/types.go
  172. +96 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/types_jsonschema.go
  173. +73 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/conversion.go
  174. +113 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/conversion_test.go
  175. +238 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/deepcopy.go
  176. +74 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/defaults.go
  177. +24 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/doc.go
  178. +6,022 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.pb.go
  179. +353 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.proto
  180. +135 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/marshal.go
  181. +150 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/marshal_test.go
  182. +61 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/register.go
  183. +253 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/types.go
  184. +150 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/types_jsonschema.go
  185. +967 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/zz_generated.conversion.go
  186. +506 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/zz_generated.deepcopy.go
  187. +48 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/zz_generated.defaults.go
  188. +523 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go
  189. +877 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go
  190. +485 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/zz_generated.deepcopy.go
  191. +214 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apiserver/apiserver.go
  192. +117 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/converter.go
  193. +79 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/nop_converter.go
  194. +127 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_discovery.go
  195. +275 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_discovery_controller.go
  196. +883 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go
  197. +308 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler_test.go
  198. +235 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apiserver/jsonpath_test.go
  199. +249 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/validation.go
  200. +87 −0 vendor/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/validation_test.go
  201. +98 −0 vendor/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/clientset.go
  202. +20 −0 vendor/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/doc.go
  203. +82 −0 vendor/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/fake/clientset_generated.go
  204. +20 −0 vendor/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/fake/doc.go
  205. +54 −0 vendor/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/fake/register.go
  206. +20 −0 vendor/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/scheme/doc.go
  207. +54 −0 vendor/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/scheme/register.go
  208. +90 −0 ...ions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/apiextensions_client.go
  209. +163 −0 ...-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/customresourcedefinition.go
  210. +20 −0 .../k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/doc.go
  211. +20 −0 ...io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/fake/doc.go
  212. +40 −0 ...rver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/fake/fake_apiextensions_client.go
  213. +131 −0 .../pkg/client/clientset/clientset/typed/apiextensions/v1beta1/fake/fake_customresourcedefinition.go
  214. +21 −0 ...sions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/generated_expansion.go
  215. +90 −0 vendor/k8s.io/apiextensions-apiserver/pkg/client/clientset/internalclientset/clientset.go
  216. +20 −0 vendor/k8s.io/apiextensions-apiserver/pkg/client/clientset/internalclientset/doc.go
  217. +77 −0 ...k8s.io/apiextensions-apiserver/pkg/client/clientset/internalclientset/fake/clientset_generated.go
  218. +20 −0 vendor/k8s.io/apiextensions-apiserver/pkg/client/clientset/internalclientset/fake/doc.go
  219. +54 −0 vendor/k8s.io/apiextensions-apiserver/pkg/client/clientset/internalclientset/fake/register.go
  220. +20 −0 vendor/k8s.io/apiextensions-apiserver/pkg/client/clientset/internalclientset/scheme/doc.go
  221. +41 −0 vendor/k8s.io/apiextensions-apiserver/pkg/client/clientset/internalclientset/scheme/register.go
  222. +96 −0 ...kg/client/clientset/internalclientset/typed/apiextensions/internalversion/apiextensions_client.go
  223. +163 −0 ...lient/clientset/internalclientset/typed/apiextensions/internalversion/customresourcedefinition.go
  224. +20 −0 ...sions-apiserver/pkg/client/clientset/internalclientset/typed/apiextensions/internalversion/doc.go
  225. +20 −0 ...-apiserver/pkg/client/clientset/internalclientset/typed/apiextensions/internalversion/fake/doc.go
  226. +40 −0 ...clientset/internalclientset/typed/apiextensions/internalversion/fake/fake_apiextensions_client.go
  227. +131 −0 ...ntset/internalclientset/typed/apiextensions/internalversion/fake/fake_customresourcedefinition.go
  228. +21 −0 ...pkg/client/clientset/internalclientset/typed/apiextensions/internalversion/generated_expansion.go
  229. +46 −0 ...r/k8s.io/apiextensions-apiserver/pkg/client/informers/externalversions/apiextensions/interface.go
  230. +88 −0 ...apiserver/pkg/client/informers/externalversions/apiextensions/v1beta1/customresourcedefinition.go
  231. +45 −0 .../apiextensions-apiserver/pkg/client/informers/externalversions/apiextensions/v1beta1/interface.go
  232. +180 −0 vendor/k8s.io/apiextensions-apiserver/pkg/client/informers/externalversions/factory.go
  233. +62 −0 vendor/k8s.io/apiextensions-apiserver/pkg/client/informers/externalversions/generic.go
  234. +38 −0 ...tensions-apiserver/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go
  235. +46 −0 ...or/k8s.io/apiextensions-apiserver/pkg/client/informers/internalversion/apiextensions/interface.go
  236. +88 −0 ...er/pkg/client/informers/internalversion/apiextensions/internalversion/customresourcedefinition.go
  237. +45 −0 ...ensions-apiserver/pkg/client/informers/internalversion/apiextensions/internalversion/interface.go
  238. +180 −0 vendor/k8s.io/apiextensions-apiserver/pkg/client/informers/internalversion/factory.go
  239. +62 −0 vendor/k8s.io/apiextensions-apiserver/pkg/client/informers/internalversion/generic.go
  240. +38 −0 ...xtensions-apiserver/pkg/client/informers/internalversion/internalinterfaces/factory_interfaces.go
  241. +65 −0 ...extensions-apiserver/pkg/client/listers/apiextensions/internalversion/customresourcedefinition.go
  242. +23 −0 ...o/apiextensions-apiserver/pkg/client/listers/apiextensions/internalversion/expansion_generated.go
  243. +65 −0 ...s.io/apiextensions-apiserver/pkg/client/listers/apiextensions/v1beta1/customresourcedefinition.go
  244. +23 −0 ...or/k8s.io/apiextensions-apiserver/pkg/client/listers/apiextensions/v1beta1/expansion_generated.go
  245. +145 −0 vendor/k8s.io/apiextensions-apiserver/pkg/cmd/server/start.go
  246. +142 −0 vendor/k8s.io/apiextensions-apiserver/pkg/controller/establish/establishing_controller.go
  247. +327 −0 vendor/k8s.io/apiextensions-apiserver/pkg/controller/finalizer/crd_finalizer.go
  248. +374 −0 vendor/k8s.io/apiextensions-apiserver/pkg/controller/status/naming_controller.go
  249. +344 −0 vendor/k8s.io/apiextensions-apiserver/pkg/controller/status/naming_controller_test.go
  250. +2 −0 vendor/k8s.io/apiextensions-apiserver/pkg/features/OWNERS
  251. +55 −0 vendor/k8s.io/apiextensions-apiserver/pkg/features/kube_features.go
  252. +321 −0 vendor/k8s.io/apiextensions-apiserver/pkg/registry/customresource/etcd.go
  253. +575 −0 vendor/k8s.io/apiextensions-apiserver/pkg/registry/customresource/etcd_test.go
  254. +104 −0 vendor/k8s.io/apiextensions-apiserver/pkg/registry/customresource/registry.go
  255. +59 −0 vendor/k8s.io/apiextensions-apiserver/pkg/registry/customresource/status_strategy.go
  256. +138 −0 vendor/k8s.io/apiextensions-apiserver/pkg/registry/customresource/status_strategy_test.go
  257. +185 −0 vendor/k8s.io/apiextensions-apiserver/pkg/registry/customresource/strategy.go
  258. +172 −0 vendor/k8s.io/apiextensions-apiserver/pkg/registry/customresource/tableconvertor/tableconvertor.go
  259. +68 −0 .../k8s.io/apiextensions-apiserver/pkg/registry/customresource/tableconvertor/tableconvertor_test.go
  260. +195 −0 vendor/k8s.io/apiextensions-apiserver/pkg/registry/customresource/validator.go
  261. +177 −0 vendor/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/etcd.go
  262. +202 −0 vendor/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/strategy.go
  263. +19 −0 ...k8s.io/apiextensions-apiserver/test/integration/apiserver.local.config/certificates/apiserver.crt
  264. +27 −0 ...k8s.io/apiextensions-apiserver/test/integration/apiserver.local.config/certificates/apiserver.key
  265. +914 −0 vendor/k8s.io/apiextensions-apiserver/test/integration/basic_test.go
  266. +165 −0 vendor/k8s.io/apiextensions-apiserver/test/integration/finalization_test.go
  267. +94 −0 vendor/k8s.io/apiextensions-apiserver/test/integration/helpers.go
  268. +166 −0 vendor/k8s.io/apiextensions-apiserver/test/integration/objectmeta_test.go
  269. +469 −0 vendor/k8s.io/apiextensions-apiserver/test/integration/registration_test.go
  270. +770 −0 vendor/k8s.io/apiextensions-apiserver/test/integration/subresources_test.go
  271. +185 −0 vendor/k8s.io/apiextensions-apiserver/test/integration/table_test.go
  272. +377 −0 vendor/k8s.io/apiextensions-apiserver/test/integration/testserver/resources.go
  273. +161 −0 vendor/k8s.io/apiextensions-apiserver/test/integration/testserver/start.go
  274. +431 −0 vendor/k8s.io/apiextensions-apiserver/test/integration/validation_test.go
  275. +138 −0 vendor/k8s.io/apiextensions-apiserver/test/integration/versioning_test.go
  276. +541 −0 vendor/k8s.io/apiextensions-apiserver/test/integration/yaml_test.go
@@ -15,7 +15,7 @@ env:
before_install:
- sudo snap install microk8s --classic --channel=1.11/stable
- curl -Lo $GOPATH/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/v1.11.4/bin/linux/amd64/kubectl
- curl -Lo $GOPATH/bin/dep https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64
- curl -Lo $GOPATH/bin/dep https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64
- curl -L https://raw.githubusercontent.com/alecthomas/gometalinter/master/scripts/install.sh | bash -s -- -b $GOPATH/bin
- chmod +x $GOPATH/bin/*
- echo $PATH && ls -la $GOPATH/bin
Oops, something went wrong.

0 comments on commit d7aa70f

Please sign in to comment.