go.mod: update osbuild/images to v0.69.0
This commit is contained in:
parent
1cc90c6a0b
commit
8ac80e8abc
611 changed files with 28281 additions and 32629 deletions
12
vendor/github.com/sigstore/rekor/pkg/generated/models/cose_v001_schema.go
generated
vendored
12
vendor/github.com/sigstore/rekor/pkg/generated/models/cose_v001_schema.go
generated
vendored
|
|
@ -39,8 +39,7 @@ import (
|
|||
type CoseV001Schema struct {
|
||||
|
||||
// data
|
||||
// Required: true
|
||||
Data *CoseV001SchemaData `json:"data"`
|
||||
Data *CoseV001SchemaData `json:"data,omitempty"`
|
||||
|
||||
// The COSE Sign1 Message
|
||||
// Format: byte
|
||||
|
|
@ -71,9 +70,8 @@ func (m *CoseV001Schema) Validate(formats strfmt.Registry) error {
|
|||
}
|
||||
|
||||
func (m *CoseV001Schema) validateData(formats strfmt.Registry) error {
|
||||
|
||||
if err := validate.Required("data", "body", m.Data); err != nil {
|
||||
return err
|
||||
if swag.IsZero(m.Data) { // not required
|
||||
return nil
|
||||
}
|
||||
|
||||
if m.Data != nil {
|
||||
|
|
@ -117,6 +115,10 @@ func (m *CoseV001Schema) contextValidateData(ctx context.Context, formats strfmt
|
|||
|
||||
if m.Data != nil {
|
||||
|
||||
if swag.IsZero(m.Data) { // not required
|
||||
return nil
|
||||
}
|
||||
|
||||
if err := m.Data.ContextValidate(ctx, formats); err != nil {
|
||||
if ve, ok := err.(*errors.Validation); ok {
|
||||
return ve.ValidateName("data")
|
||||
|
|
|
|||
12
vendor/github.com/sigstore/rekor/pkg/generated/models/hashedrekord_v001_schema.go
generated
vendored
12
vendor/github.com/sigstore/rekor/pkg/generated/models/hashedrekord_v001_schema.go
generated
vendored
|
|
@ -277,10 +277,10 @@ type HashedrekordV001SchemaDataHash struct {
|
|||
|
||||
// The hashing function used to compute the hash value
|
||||
// Required: true
|
||||
// Enum: [sha256]
|
||||
// Enum: [sha256 sha384 sha512]
|
||||
Algorithm *string `json:"algorithm"`
|
||||
|
||||
// The hash value for the content
|
||||
// The hash value for the content, as represented by a lower case hexadecimal string
|
||||
// Required: true
|
||||
Value *string `json:"value"`
|
||||
}
|
||||
|
|
@ -307,7 +307,7 @@ var hashedrekordV001SchemaDataHashTypeAlgorithmPropEnum []interface{}
|
|||
|
||||
func init() {
|
||||
var res []string
|
||||
if err := json.Unmarshal([]byte(`["sha256"]`), &res); err != nil {
|
||||
if err := json.Unmarshal([]byte(`["sha256","sha384","sha512"]`), &res); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
for _, v := range res {
|
||||
|
|
@ -319,6 +319,12 @@ const (
|
|||
|
||||
// HashedrekordV001SchemaDataHashAlgorithmSha256 captures enum value "sha256"
|
||||
HashedrekordV001SchemaDataHashAlgorithmSha256 string = "sha256"
|
||||
|
||||
// HashedrekordV001SchemaDataHashAlgorithmSha384 captures enum value "sha384"
|
||||
HashedrekordV001SchemaDataHashAlgorithmSha384 string = "sha384"
|
||||
|
||||
// HashedrekordV001SchemaDataHashAlgorithmSha512 captures enum value "sha512"
|
||||
HashedrekordV001SchemaDataHashAlgorithmSha512 string = "sha512"
|
||||
)
|
||||
|
||||
// prop value enum
|
||||
|
|
|
|||
2
vendor/github.com/sigstore/rekor/pkg/generated/models/log_entry.go
generated
vendored
2
vendor/github.com/sigstore/rekor/pkg/generated/models/log_entry.go
generated
vendored
|
|
@ -95,7 +95,7 @@ type LogEntryAnon struct {
|
|||
// Required: true
|
||||
Body interface{} `json:"body"`
|
||||
|
||||
// integrated time
|
||||
// The time the entry was added to the log as a Unix timestamp in seconds
|
||||
// Required: true
|
||||
IntegratedTime *int64 `json:"integratedTime"`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue