Class: Aws::Continuum::Types::PatchBody
- Inherits:
-
Struct
- Object
- Struct
- Aws::Continuum::Types::PatchBody
- Defined in:
- gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb
Overview
Projected content for a PATCH artifact: the remediation patch for one repository, with the descriptors needed to verify and apply it and the state of its delivery to the customer's own bucket or repository.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#delivery ⇒ Types::PatchDelivery
Delivery of the patch to the customer's bucket or repository.
-
#format ⇒ String
The patch's wire format, read from the patch itself, which determines how to apply it.
-
#patch ⇒ String
The patch exactly as stored, unmodified.
-
#patch_sha_256 ⇒ String
SHA-256 of the patch's UTF-8 bytes in lowercase hex, computed by Control Plane when it stored the patch.
-
#repository_name ⇒ String
The repository the patch applies to, as named in the source snapshot it was generated against.
-
#size_bytes ⇒ Integer
Size of the patch in UTF-8 bytes, the unit the digest is computed over.
Instance Attribute Details
#delivery ⇒ Types::PatchDelivery
Delivery of the patch to the customer's bucket or repository. Absent when the artifact has no delivery destination.
3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 3308 class PatchBody < Struct.new( :patch, :format, :repository_name, :patch_sha_256, :size_bytes, :delivery) SENSITIVE = [] include Aws::Structure end |
#format ⇒ String
The patch's wire format, read from the patch itself, which
determines how to apply it. Absent when the patch starts with
neither a git mailbox header nor a diff --git header.
3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 3308 class PatchBody < Struct.new( :patch, :format, :repository_name, :patch_sha_256, :size_bytes, :delivery) SENSITIVE = [] include Aws::Structure end |
#patch ⇒ String
The patch exactly as stored, unmodified. Control Plane accepted it
only as a text unified diff, so git apply applies it.
3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 3308 class PatchBody < Struct.new( :patch, :format, :repository_name, :patch_sha_256, :size_bytes, :delivery) SENSITIVE = [] include Aws::Structure end |
#patch_sha_256 ⇒ String
SHA-256 of the patch's UTF-8 bytes in lowercase hex, computed by Control Plane when it stored the patch.
Lets a caller confirm the patch it applies is byte-for-byte the one
that was reviewed. Computed over the patch bytes, so it is
verifiable against patch without trusting this value.
3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 3308 class PatchBody < Struct.new( :patch, :format, :repository_name, :patch_sha_256, :size_bytes, :delivery) SENSITIVE = [] include Aws::Structure end |
#repository_name ⇒ String
The repository the patch applies to, as named in the source snapshot it was generated against.
3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 3308 class PatchBody < Struct.new( :patch, :format, :repository_name, :patch_sha_256, :size_bytes, :delivery) SENSITIVE = [] include Aws::Structure end |
#size_bytes ⇒ Integer
Size of the patch in UTF-8 bytes, the unit the digest is computed over.
3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 3308 class PatchBody < Struct.new( :patch, :format, :repository_name, :patch_sha_256, :size_bytes, :delivery) SENSITIVE = [] include Aws::Structure end |