kontena / k8s-client

Ruby Kubernetes API client
Apache License 2.0
76 stars 26 forks source link

[WIP] use generated (swagger) api resources #104

Closed jakolehm closed 5 years ago

kke commented 5 years ago

How about a separate repo/gem? k8s-client-models or something? It could then even have tagged versions that follow kube api versions, users could then do something like:

gem 'k8s-client'
gem 'k8s-client-models', '1.12.5'

And k8s-client could do something like:

begin
  require 'k8s-client-models'
rescue LoadError
end
kke commented 5 years ago

Outdated by #147