Sha256: b047ded465a3b94eaf554842f015c7cf3b0c53844c8d1ee4f6030d0ec1da5e48

Contents?: true

Size: 1.24 KB

Versions: 8

Compression:

Stored size: 1.24 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: grafeas/v1/intoto_statement.proto

require 'google/protobuf'

require 'grafeas/v1/intoto_provenance_pb'
require 'grafeas/v1/slsa_provenance_pb'
require 'grafeas/v1/slsa_provenance_zero_two_pb'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("grafeas/v1/intoto_statement.proto", :syntax => :proto3) do
    add_message "grafeas.v1.InTotoStatement" do
      optional :type, :string, 1, json_name: "_type"
      repeated :subject, :message, 2, "grafeas.v1.Subject"
      optional :predicate_type, :string, 3
      oneof :predicate do
        optional :provenance, :message, 4, "grafeas.v1.InTotoProvenance"
        optional :slsa_provenance, :message, 5, "grafeas.v1.SlsaProvenance"
        optional :slsa_provenance_zero_two, :message, 6, "grafeas.v1.SlsaProvenanceZeroTwo"
      end
    end
    add_message "grafeas.v1.Subject" do
      optional :name, :string, 1
      map :digest, :string, :string, 2
    end
  end
end

module Grafeas
  module V1
    InTotoStatement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.InTotoStatement").msgclass
    Subject = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.Subject").msgclass
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
grafeas-v1-0.11.0 lib/grafeas/v1/intoto_statement_pb.rb
grafeas-v1-0.10.0 lib/grafeas/v1/intoto_statement_pb.rb
grafeas-v1-0.9.0 lib/grafeas/v1/intoto_statement_pb.rb
grafeas-v1-0.8.0 lib/grafeas/v1/intoto_statement_pb.rb
grafeas-v1-0.7.0 lib/grafeas/v1/intoto_statement_pb.rb
grafeas-v1-0.6.1 lib/grafeas/v1/intoto_statement_pb.rb
grafeas-v1-0.6.0 lib/grafeas/v1/intoto_statement_pb.rb
grafeas-v1-0.5.0 lib/grafeas/v1/intoto_statement_pb.rb