lib/rancher/api/models/registry.rb in rancher-api-beta-0.8.0.pre.beta vs lib/rancher/api/models/registry.rb in rancher-api-beta-0.8.1
- old
+ new
@@ -4,9 +4,19 @@
module Api
class Registry
include Her::Model
include Helpers::Model
- belongs_to :project
+ belongs_to :account
+ has_one :account
+ has_many :images
+ has_many :credentials
+ has_many :hosts
+ has_many :volumes
+
+ attributes :accountId, :blockDevicePath, :created, :data, :description,
+ :driverName, :externalId, :id, :kind, :name,
+ :removeTime, :removed, :state, :transitioning, :transitioningMessage,
+ :transitioningProgress, :uuid, :volumeAccessMode, :volumeCapabilities, :serverAddress
end
end
end