Sha256: fb7e48f6ecab37de50c67ec53396289190809e690d9a5acd75cae88036cf27d8

Contents?: true

Size: 1.09 KB

Versions: 1

Compression:

Stored size: 1.09 KB

Contents

# frozen_string_literal: true

module Rancher
  module Api
    class Service
      include Her::Model
      include Helpers::Model

      belongs_to :account
      belongs_to :stack
      has_one :stack
      has_one :account
      has_many :consumedbyservices
      has_many :instances
      has_many :storagedrivers
      has_many :consumedservices
      has_many :configitemstatuses
      has_many :serviceexposemaps
      has_many :networkdrivers
      has_many :servicelogs

      attributes :accountId, :createIndex, :created, :data, :description,
                 :externalId, :healthState, :id, :kind, :name,
                 :removeTime, :removed, :selectorContainer, :selectorLink, :stackId,
                 :state, :system, :uuid, :vip, :transitioning,
                 :transitioningMessage, :transitioningProgress, :scale, :currentScale, :scalePolicy,
                 :launchConfig, :upgrade, :secondaryLaunchConfigs, :metadata, :fqdn,
                 :publicEndpoints, :retainIp, :assignServiceIpAddress, :startOnCreate, :linkedServices,
                 :instanceIds, :lbConfig
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rancher-api-beta-0.8.1 lib/rancher/api/models/service.rb