Sha256: 6cbdd862c1c0e8a7e0e343a2348f68adac30d37f44466f8055d29acc5550bb8f

Contents?: true

Size: 1007 Bytes

Versions: 2

Compression:

Stored size: 1007 Bytes

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: audit.proto

require 'google/protobuf'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_message "audit_message" do
    oneof :msg do
      optional :commit, :message, 1, "commit_notification"
      optional :leader_status, :message, 2, "leader_status"
    end
  end
  add_message "leader_status" do
    optional :term, :uint64, 1
    optional :leader, :string, 2
    optional :current_log_index, :uint64, 3
    optional :current_commit_index, :uint64, 4
  end
  add_message "commit_notification" do
    optional :sender_uuid, :string, 1
    optional :log_index, :uint64, 2
    optional :operation, :string, 3
  end
end

Audit_message = Google::Protobuf::DescriptorPool.generated_pool.lookup("audit_message").msgclass
Leader_status = Google::Protobuf::DescriptorPool.generated_pool.lookup("leader_status").msgclass
Commit_notification = Google::Protobuf::DescriptorPool.generated_pool.lookup("commit_notification").msgclass

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
swarmclient-0.1.5 lib/swarmclient/protobuf/audit_pb.rb
swarmclient-0.1.4 lib/swarmclient/protobuf/audit_pb.rb