Class: Grafeas::V1::Source

Inherits:
Object
  • Object
show all
Extended by:
Google::Protobuf::MessageExts::ClassMethods
Includes:
Google::Protobuf::MessageExts
Defined in:
proto_docs/grafeas/v1/provenance.rb

Overview

Source describes the location of the source used for the build.

Defined Under Namespace

Classes: FileHashesEntry

Instance Attribute Summary collapse

Instance Attribute Details

#additional_contexts::Array<::Grafeas::V1::SourceContext>

Returns If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.

Returns:

  • (::Array<::Grafeas::V1::SourceContext>)

    If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.



104
105
106
107
108
109
110
111
112
113
114
115
116
# File 'proto_docs/grafeas/v1/provenance.rb', line 104

class Source
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Grafeas::V1::FileHashes]
  class FileHashesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#artifact_storage_source_uri::String

Returns If provided, the input binary artifacts for the build came from this location.

Returns:

  • (::String)

    If provided, the input binary artifacts for the build came from this location.



104
105
106
107
108
109
110
111
112
113
114
115
116
# File 'proto_docs/grafeas/v1/provenance.rb', line 104

class Source
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Grafeas::V1::FileHashes]
  class FileHashesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#context::Grafeas::V1::SourceContext

Returns If provided, the source code used for the build came from this location.

Returns:



104
105
106
107
108
109
110
111
112
113
114
115
116
# File 'proto_docs/grafeas/v1/provenance.rb', line 104

class Source
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Grafeas::V1::FileHashes]
  class FileHashesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#file_hashes::Google::Protobuf::Map{::String => ::Grafeas::V1::FileHashes}

Returns Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build.

The keys to this map are file paths used as build source and the values contain the hash values for those files.

If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.

Returns:

  • (::Google::Protobuf::Map{::String => ::Grafeas::V1::FileHashes})

    Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build.

    The keys to this map are file paths used as build source and the values contain the hash values for those files.

    If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.



104
105
106
107
108
109
110
111
112
113
114
115
116
# File 'proto_docs/grafeas/v1/provenance.rb', line 104

class Source
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Grafeas::V1::FileHashes]
  class FileHashesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end