models

package
v1.0.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2022 License: Apache-2.0 Imports: 10 Imported by: 81

Documentation

Index

Constants

View Source
const (

	// RekordV001SchemaSignatureFormatPgp captures enum value "pgp"
	RekordV001SchemaSignatureFormatPgp string = "pgp"

	// RekordV001SchemaSignatureFormatMinisign captures enum value "minisign"
	RekordV001SchemaSignatureFormatMinisign string = "minisign"

	// RekordV001SchemaSignatureFormatX509 captures enum value "x509"
	RekordV001SchemaSignatureFormatX509 string = "x509"

	// RekordV001SchemaSignatureFormatSSH captures enum value "ssh"
	RekordV001SchemaSignatureFormatSSH string = "ssh"
)
View Source
const (

	// SearchIndexOperatorAnd captures enum value "and"
	SearchIndexOperatorAnd string = "and"

	// SearchIndexOperatorOr captures enum value "or"
	SearchIndexOperatorOr string = "or"
)
View Source
const (

	// SearchIndexPublicKeyFormatPgp captures enum value "pgp"
	SearchIndexPublicKeyFormatPgp string = "pgp"

	// SearchIndexPublicKeyFormatX509 captures enum value "x509"
	SearchIndexPublicKeyFormatX509 string = "x509"

	// SearchIndexPublicKeyFormatMinisign captures enum value "minisign"
	SearchIndexPublicKeyFormatMinisign string = "minisign"

	// SearchIndexPublicKeyFormatSSH captures enum value "ssh"
	SearchIndexPublicKeyFormatSSH string = "ssh"

	// SearchIndexPublicKeyFormatTUF captures enum value "tuf"
	SearchIndexPublicKeyFormatTUF string = "tuf"
)
View Source
const (

	// AlpineV001SchemaPackageHashAlgorithmSha256 captures enum value "sha256"
	AlpineV001SchemaPackageHashAlgorithmSha256 string = "sha256"
)
View Source
const (

	// CoseV001SchemaDataEnvelopeHashAlgorithmSha256 captures enum value "sha256"
	CoseV001SchemaDataEnvelopeHashAlgorithmSha256 string = "sha256"
)
View Source
const (

	// CoseV001SchemaDataPayloadHashAlgorithmSha256 captures enum value "sha256"
	CoseV001SchemaDataPayloadHashAlgorithmSha256 string = "sha256"
)
View Source
const (

	// HashedrekordV001SchemaDataHashAlgorithmSha256 captures enum value "sha256"
	HashedrekordV001SchemaDataHashAlgorithmSha256 string = "sha256"
)
View Source
const (

	// HelmV001SchemaChartHashAlgorithmSha256 captures enum value "sha256"
	HelmV001SchemaChartHashAlgorithmSha256 string = "sha256"
)
View Source
const (

	// IntotoV001SchemaContentHashAlgorithmSha256 captures enum value "sha256"
	IntotoV001SchemaContentHashAlgorithmSha256 string = "sha256"
)
View Source
const (

	// IntotoV001SchemaContentPayloadHashAlgorithmSha256 captures enum value "sha256"
	IntotoV001SchemaContentPayloadHashAlgorithmSha256 string = "sha256"
)
View Source
const (

	// IntotoV002SchemaContentHashAlgorithmSha256 captures enum value "sha256"
	IntotoV002SchemaContentHashAlgorithmSha256 string = "sha256"
)
View Source
const (

	// IntotoV002SchemaContentPayloadHashAlgorithmSha256 captures enum value "sha256"
	IntotoV002SchemaContentPayloadHashAlgorithmSha256 string = "sha256"
)
View Source
const (

	// JarV001SchemaArchiveHashAlgorithmSha256 captures enum value "sha256"
	JarV001SchemaArchiveHashAlgorithmSha256 string = "sha256"
)
View Source
const (

	// RekordV001SchemaDataHashAlgorithmSha256 captures enum value "sha256"
	RekordV001SchemaDataHashAlgorithmSha256 string = "sha256"
)
View Source
const (

	// RpmV001SchemaPackageHashAlgorithmSha256 captures enum value "sha256"
	RpmV001SchemaPackageHashAlgorithmSha256 string = "sha256"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Alpine added in v0.3.0

type Alpine struct {

	// api version
	// Required: true
	// Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
	APIVersion *string `json:"apiVersion"`

	// spec
	// Required: true
	Spec AlpineSchema `json:"spec"`
}

Alpine Alpine package

swagger:model alpine

func (*Alpine) ContextValidate added in v0.3.0

func (m *Alpine) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this alpine based on the context it is used

func (*Alpine) Kind added in v0.3.0

func (m *Alpine) Kind() string

Kind gets the kind of this subtype

func (*Alpine) MarshalBinary added in v0.3.0

func (m *Alpine) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (Alpine) MarshalJSON added in v0.3.0

func (m Alpine) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*Alpine) SetKind added in v0.3.0

func (m *Alpine) SetKind(val string)

SetKind sets the kind of this subtype

func (*Alpine) UnmarshalBinary added in v0.3.0

func (m *Alpine) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Alpine) UnmarshalJSON added in v0.3.0

func (m *Alpine) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*Alpine) Validate added in v0.3.0

func (m *Alpine) Validate(formats strfmt.Registry) error

Validate validates this alpine

type AlpineSchema added in v0.3.0

type AlpineSchema interface{}

AlpineSchema Alpine Package Schema

Schema for Alpine package objects

swagger:model alpineSchema

type AlpineV001Schema added in v0.3.0

type AlpineV001Schema struct {

	// package
	// Required: true
	Package *AlpineV001SchemaPackage `json:"package"`

	// public key
	// Required: true
	PublicKey *AlpineV001SchemaPublicKey `json:"publicKey"`
}

AlpineV001Schema Alpine v0.0.1 Schema

Schema for Alpine Package entries

swagger:model alpineV001Schema

func (*AlpineV001Schema) ContextValidate added in v0.3.0

func (m *AlpineV001Schema) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this alpine v001 schema based on the context it is used

func (*AlpineV001Schema) MarshalBinary added in v0.3.0

func (m *AlpineV001Schema) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AlpineV001Schema) UnmarshalBinary added in v0.3.0

func (m *AlpineV001Schema) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AlpineV001Schema) Validate added in v0.3.0

func (m *AlpineV001Schema) Validate(formats strfmt.Registry) error

Validate validates this alpine v001 schema

type AlpineV001SchemaPackage added in v0.3.0

type AlpineV001SchemaPackage struct {

	// Specifies the package inline within the document
	// Format: byte
	Content strfmt.Base64 `json:"content,omitempty"`

	// hash
	Hash *AlpineV001SchemaPackageHash `json:"hash,omitempty"`

	// Values of the .PKGINFO key / value pairs
	// Read Only: true
	Pkginfo map[string]string `json:"pkginfo,omitempty"`
}

AlpineV001SchemaPackage Information about the package associated with the entry

swagger:model AlpineV001SchemaPackage

func (*AlpineV001SchemaPackage) ContextValidate added in v0.3.0

func (m *AlpineV001SchemaPackage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this alpine v001 schema package based on the context it is used

func (*AlpineV001SchemaPackage) MarshalBinary added in v0.3.0

func (m *AlpineV001SchemaPackage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AlpineV001SchemaPackage) UnmarshalBinary added in v0.3.0

func (m *AlpineV001SchemaPackage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AlpineV001SchemaPackage) Validate added in v0.3.0

func (m *AlpineV001SchemaPackage) Validate(formats strfmt.Registry) error

Validate validates this alpine v001 schema package

type AlpineV001SchemaPackageHash added in v0.3.0

type AlpineV001SchemaPackageHash struct {

	// The hashing function used to compute the hash value
	// Required: true
	// Enum: [sha256]
	Algorithm *string `json:"algorithm"`

	// The hash value for the package
	// Required: true
	Value *string `json:"value"`
}

AlpineV001SchemaPackageHash Specifies the hash algorithm and value for the package

swagger:model AlpineV001SchemaPackageHash

func (*AlpineV001SchemaPackageHash) ContextValidate added in v0.3.0

func (m *AlpineV001SchemaPackageHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this alpine v001 schema package hash based on the context it is used

func (*AlpineV001SchemaPackageHash) MarshalBinary added in v0.3.0

func (m *AlpineV001SchemaPackageHash) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AlpineV001SchemaPackageHash) UnmarshalBinary added in v0.3.0

func (m *AlpineV001SchemaPackageHash) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AlpineV001SchemaPackageHash) Validate added in v0.3.0

func (m *AlpineV001SchemaPackageHash) Validate(formats strfmt.Registry) error

Validate validates this alpine v001 schema package hash

type AlpineV001SchemaPublicKey added in v0.3.0

type AlpineV001SchemaPublicKey struct {

	// Specifies the content of the public key inline within the document
	// Required: true
	// Format: byte
	Content *strfmt.Base64 `json:"content"`
}

AlpineV001SchemaPublicKey The public key that can verify the package signature

swagger:model AlpineV001SchemaPublicKey

func (*AlpineV001SchemaPublicKey) ContextValidate added in v0.3.0

func (m *AlpineV001SchemaPublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this alpine v001 schema public key based on context it is used

func (*AlpineV001SchemaPublicKey) MarshalBinary added in v0.3.0

func (m *AlpineV001SchemaPublicKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AlpineV001SchemaPublicKey) UnmarshalBinary added in v0.3.0

func (m *AlpineV001SchemaPublicKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AlpineV001SchemaPublicKey) Validate added in v0.3.0

func (m *AlpineV001SchemaPublicKey) Validate(formats strfmt.Registry) error

Validate validates this alpine v001 schema public key

type ConsistencyProof

type ConsistencyProof struct {

	// hashes
	// Required: true
	Hashes []string `json:"hashes"`

	// The hash value stored at the root of the merkle tree at the time the proof was generated
	// Required: true
	// Pattern: ^[0-9a-fA-F]{64}$
	RootHash *string `json:"rootHash"`
}

ConsistencyProof consistency proof

swagger:model ConsistencyProof

func (*ConsistencyProof) ContextValidate added in v0.2.0

func (m *ConsistencyProof) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this consistency proof based on context it is used

func (*ConsistencyProof) MarshalBinary

func (m *ConsistencyProof) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConsistencyProof) UnmarshalBinary

func (m *ConsistencyProof) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConsistencyProof) Validate

func (m *ConsistencyProof) Validate(formats strfmt.Registry) error

Validate validates this consistency proof

type Cose added in v0.9.0

type Cose struct {

	// api version
	// Required: true
	// Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
	APIVersion *string `json:"apiVersion"`

	// spec
	// Required: true
	Spec CoseSchema `json:"spec"`
}

Cose COSE object

swagger:model cose

func (*Cose) ContextValidate added in v0.9.0

func (m *Cose) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cose based on the context it is used

func (*Cose) Kind added in v0.9.0

func (m *Cose) Kind() string

Kind gets the kind of this subtype

func (*Cose) MarshalBinary added in v0.9.0

func (m *Cose) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (Cose) MarshalJSON added in v0.9.0

func (m Cose) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*Cose) SetKind added in v0.9.0

func (m *Cose) SetKind(val string)

SetKind sets the kind of this subtype

func (*Cose) UnmarshalBinary added in v0.9.0

func (m *Cose) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Cose) UnmarshalJSON added in v0.9.0

func (m *Cose) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*Cose) Validate added in v0.9.0

func (m *Cose) Validate(formats strfmt.Registry) error

Validate validates this cose

type CoseSchema added in v0.9.0

type CoseSchema interface{}

CoseSchema COSE Schema

COSE for Rekord objects

swagger:model coseSchema

type CoseV001Schema added in v0.9.0

type CoseV001Schema struct {

	// data
	// Required: true
	Data *CoseV001SchemaData `json:"data"`

	// The COSE Sign1 Message
	// Format: byte
	Message strfmt.Base64 `json:"message,omitempty"`

	// The public key that can verify the signature
	// Required: true
	// Format: byte
	PublicKey *strfmt.Base64 `json:"publicKey"`
}

CoseV001Schema cose v0.0.1 Schema

Schema for cose object

swagger:model coseV001Schema

func (*CoseV001Schema) ContextValidate added in v0.9.0

func (m *CoseV001Schema) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cose v001 schema based on the context it is used

func (*CoseV001Schema) MarshalBinary added in v0.9.0

func (m *CoseV001Schema) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CoseV001Schema) UnmarshalBinary added in v0.9.0

func (m *CoseV001Schema) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CoseV001Schema) Validate added in v0.9.0

func (m *CoseV001Schema) Validate(formats strfmt.Registry) error

Validate validates this cose v001 schema

type CoseV001SchemaData added in v0.9.0

type CoseV001SchemaData struct {

	// Specifies the additional authenticated data required to verify the signature
	// Format: byte
	Aad strfmt.Base64 `json:"aad,omitempty"`

	// envelope hash
	EnvelopeHash *CoseV001SchemaDataEnvelopeHash `json:"envelopeHash,omitempty"`

	// payload hash
	PayloadHash *CoseV001SchemaDataPayloadHash `json:"payloadHash,omitempty"`
}

CoseV001SchemaData Information about the content associated with the entry

swagger:model CoseV001SchemaData

func (*CoseV001SchemaData) ContextValidate added in v0.9.0

func (m *CoseV001SchemaData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cose v001 schema data based on the context it is used

func (*CoseV001SchemaData) MarshalBinary added in v0.9.0

func (m *CoseV001SchemaData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CoseV001SchemaData) UnmarshalBinary added in v0.9.0

func (m *CoseV001SchemaData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CoseV001SchemaData) Validate added in v0.9.0

func (m *CoseV001SchemaData) Validate(formats strfmt.Registry) error

Validate validates this cose v001 schema data

type CoseV001SchemaDataEnvelopeHash added in v0.9.0

type CoseV001SchemaDataEnvelopeHash struct {

	// The hashing function used to compute the hash value
	// Required: true
	// Enum: [sha256]
	Algorithm *string `json:"algorithm"`

	// The hash value for the envelope
	// Required: true
	Value *string `json:"value"`
}

CoseV001SchemaDataEnvelopeHash Specifies the hash algorithm and value for the COSE envelope

swagger:model CoseV001SchemaDataEnvelopeHash

func (*CoseV001SchemaDataEnvelopeHash) ContextValidate added in v0.9.0

func (m *CoseV001SchemaDataEnvelopeHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cose v001 schema data envelope hash based on the context it is used

func (*CoseV001SchemaDataEnvelopeHash) MarshalBinary added in v0.9.0

func (m *CoseV001SchemaDataEnvelopeHash) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CoseV001SchemaDataEnvelopeHash) UnmarshalBinary added in v0.9.0

func (m *CoseV001SchemaDataEnvelopeHash) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CoseV001SchemaDataEnvelopeHash) Validate added in v0.9.0

func (m *CoseV001SchemaDataEnvelopeHash) Validate(formats strfmt.Registry) error

Validate validates this cose v001 schema data envelope hash

type CoseV001SchemaDataPayloadHash added in v0.9.0

type CoseV001SchemaDataPayloadHash struct {

	// The hashing function used to compute the hash value
	// Required: true
	// Enum: [sha256]
	Algorithm *string `json:"algorithm"`

	// The hash value for the content
	// Required: true
	Value *string `json:"value"`
}

CoseV001SchemaDataPayloadHash Specifies the hash algorithm and value for the content

swagger:model CoseV001SchemaDataPayloadHash

func (*CoseV001SchemaDataPayloadHash) ContextValidate added in v0.9.0

func (m *CoseV001SchemaDataPayloadHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cose v001 schema data payload hash based on the context it is used

func (*CoseV001SchemaDataPayloadHash) MarshalBinary added in v0.9.0

func (m *CoseV001SchemaDataPayloadHash) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CoseV001SchemaDataPayloadHash) UnmarshalBinary added in v0.9.0

func (m *CoseV001SchemaDataPayloadHash) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CoseV001SchemaDataPayloadHash) Validate added in v0.9.0

func (m *CoseV001SchemaDataPayloadHash) Validate(formats strfmt.Registry) error

Validate validates this cose v001 schema data payload hash

type Error

type Error struct {

	// code
	Code int64 `json:"code,omitempty"`

	// message
	Message string `json:"message,omitempty"`
}

Error error

swagger:model Error

func (*Error) ContextValidate added in v0.2.0

func (m *Error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type Hashedrekord added in v0.4.0

type Hashedrekord struct {

	// api version
	// Required: true
	// Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
	APIVersion *string `json:"apiVersion"`

	// spec
	// Required: true
	Spec HashedrekordSchema `json:"spec"`
}

Hashedrekord Hashed Rekord object

swagger:model hashedrekord

func (*Hashedrekord) ContextValidate added in v0.4.0

func (m *Hashedrekord) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hashedrekord based on the context it is used

func (*Hashedrekord) Kind added in v0.4.0

func (m *Hashedrekord) Kind() string

Kind gets the kind of this subtype

func (*Hashedrekord) MarshalBinary added in v0.4.0

func (m *Hashedrekord) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (Hashedrekord) MarshalJSON added in v0.4.0

func (m Hashedrekord) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*Hashedrekord) SetKind added in v0.4.0

func (m *Hashedrekord) SetKind(val string)

SetKind sets the kind of this subtype

func (*Hashedrekord) UnmarshalBinary added in v0.4.0

func (m *Hashedrekord) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Hashedrekord) UnmarshalJSON added in v0.4.0

func (m *Hashedrekord) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*Hashedrekord) Validate added in v0.4.0

func (m *Hashedrekord) Validate(formats strfmt.Registry) error

Validate validates this hashedrekord

type HashedrekordSchema added in v0.4.0

type HashedrekordSchema interface{}

HashedrekordSchema Rekor Schema

Schema for Rekord objects

swagger:model hashedrekordSchema

type HashedrekordV001Schema added in v0.4.0

type HashedrekordV001Schema struct {

	// data
	// Required: true
	Data *HashedrekordV001SchemaData `json:"data"`

	// signature
	// Required: true
	Signature *HashedrekordV001SchemaSignature `json:"signature"`
}

HashedrekordV001Schema Hashed Rekor v0.0.1 Schema

Schema for Hashed Rekord object

swagger:model hashedrekordV001Schema

func (*HashedrekordV001Schema) ContextValidate added in v0.4.0

func (m *HashedrekordV001Schema) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hashedrekord v001 schema based on the context it is used

func (*HashedrekordV001Schema) MarshalBinary added in v0.4.0

func (m *HashedrekordV001Schema) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashedrekordV001Schema) UnmarshalBinary added in v0.4.0

func (m *HashedrekordV001Schema) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashedrekordV001Schema) Validate added in v0.4.0

func (m *HashedrekordV001Schema) Validate(formats strfmt.Registry) error

Validate validates this hashedrekord v001 schema

type HashedrekordV001SchemaData added in v0.4.0

type HashedrekordV001SchemaData struct {

	// hash
	Hash *HashedrekordV001SchemaDataHash `json:"hash,omitempty"`
}

HashedrekordV001SchemaData Information about the content associated with the entry

swagger:model HashedrekordV001SchemaData

func (*HashedrekordV001SchemaData) ContextValidate added in v0.4.0

func (m *HashedrekordV001SchemaData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hashedrekord v001 schema data based on the context it is used

func (*HashedrekordV001SchemaData) MarshalBinary added in v0.4.0

func (m *HashedrekordV001SchemaData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashedrekordV001SchemaData) UnmarshalBinary added in v0.4.0

func (m *HashedrekordV001SchemaData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashedrekordV001SchemaData) Validate added in v0.4.0

func (m *HashedrekordV001SchemaData) Validate(formats strfmt.Registry) error

Validate validates this hashedrekord v001 schema data

type HashedrekordV001SchemaDataHash added in v0.4.0

type HashedrekordV001SchemaDataHash struct {

	// The hashing function used to compute the hash value
	// Required: true
	// Enum: [sha256]
	Algorithm *string `json:"algorithm"`

	// The hash value for the content
	// Required: true
	Value *string `json:"value"`
}

HashedrekordV001SchemaDataHash Specifies the hash algorithm and value for the content

swagger:model HashedrekordV001SchemaDataHash

func (*HashedrekordV001SchemaDataHash) ContextValidate added in v0.4.0

func (m *HashedrekordV001SchemaDataHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this hashedrekord v001 schema data hash based on context it is used

func (*HashedrekordV001SchemaDataHash) MarshalBinary added in v0.4.0

func (m *HashedrekordV001SchemaDataHash) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashedrekordV001SchemaDataHash) UnmarshalBinary added in v0.4.0

func (m *HashedrekordV001SchemaDataHash) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashedrekordV001SchemaDataHash) Validate added in v0.4.0

func (m *HashedrekordV001SchemaDataHash) Validate(formats strfmt.Registry) error

Validate validates this hashedrekord v001 schema data hash

type HashedrekordV001SchemaSignature added in v0.4.0

type HashedrekordV001SchemaSignature struct {

	// Specifies the content of the signature inline within the document
	// Format: byte
	Content strfmt.Base64 `json:"content,omitempty"`

	// public key
	PublicKey *HashedrekordV001SchemaSignaturePublicKey `json:"publicKey,omitempty"`
}

HashedrekordV001SchemaSignature Information about the detached signature associated with the entry

swagger:model HashedrekordV001SchemaSignature

func (*HashedrekordV001SchemaSignature) ContextValidate added in v0.4.0

func (m *HashedrekordV001SchemaSignature) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hashedrekord v001 schema signature based on the context it is used

func (*HashedrekordV001SchemaSignature) MarshalBinary added in v0.4.0

func (m *HashedrekordV001SchemaSignature) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashedrekordV001SchemaSignature) UnmarshalBinary added in v0.4.0

func (m *HashedrekordV001SchemaSignature) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashedrekordV001SchemaSignature) Validate added in v0.4.0

Validate validates this hashedrekord v001 schema signature

type HashedrekordV001SchemaSignaturePublicKey added in v0.4.0

type HashedrekordV001SchemaSignaturePublicKey struct {

	// Specifies the content of the public key or code signing certificate inline within the document
	// Format: byte
	Content strfmt.Base64 `json:"content,omitempty"`
}

HashedrekordV001SchemaSignaturePublicKey The public key that can verify the signature; this can also be an X509 code signing certificate that contains the raw public key information

swagger:model HashedrekordV001SchemaSignaturePublicKey

func (*HashedrekordV001SchemaSignaturePublicKey) ContextValidate added in v0.4.0

ContextValidate validates this hashedrekord v001 schema signature public key based on context it is used

func (*HashedrekordV001SchemaSignaturePublicKey) MarshalBinary added in v0.4.0

func (m *HashedrekordV001SchemaSignaturePublicKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashedrekordV001SchemaSignaturePublicKey) UnmarshalBinary added in v0.4.0

func (m *HashedrekordV001SchemaSignaturePublicKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashedrekordV001SchemaSignaturePublicKey) Validate added in v0.4.0

Validate validates this hashedrekord v001 schema signature public key

type Helm added in v0.3.0

type Helm struct {

	// api version
	// Required: true
	// Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
	APIVersion *string `json:"apiVersion"`

	// spec
	// Required: true
	Spec HelmSchema `json:"spec"`
}

Helm Helm chart

swagger:model helm

func (*Helm) ContextValidate added in v0.3.0

func (m *Helm) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this helm based on the context it is used

func (*Helm) Kind added in v0.3.0

func (m *Helm) Kind() string

Kind gets the kind of this subtype

func (*Helm) MarshalBinary added in v0.3.0

func (m *Helm) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (Helm) MarshalJSON added in v0.3.0

func (m Helm) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*Helm) SetKind added in v0.3.0

func (m *Helm) SetKind(val string)

SetKind sets the kind of this subtype

func (*Helm) UnmarshalBinary added in v0.3.0

func (m *Helm) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Helm) UnmarshalJSON added in v0.3.0

func (m *Helm) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*Helm) Validate added in v0.3.0

func (m *Helm) Validate(formats strfmt.Registry) error

Validate validates this helm

type HelmSchema added in v0.3.0

type HelmSchema interface{}

HelmSchema Helm Schema

Schema for Helm objects

swagger:model helmSchema

type HelmV001Schema added in v0.3.0

type HelmV001Schema struct {

	// chart
	// Required: true
	Chart *HelmV001SchemaChart `json:"chart"`

	// public key
	// Required: true
	PublicKey *HelmV001SchemaPublicKey `json:"publicKey"`
}

HelmV001Schema Helm v0.0.1 Schema

Schema for Helm object

swagger:model helmV001Schema

func (*HelmV001Schema) ContextValidate added in v0.3.0

func (m *HelmV001Schema) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this helm v001 schema based on the context it is used

func (*HelmV001Schema) MarshalBinary added in v0.3.0

func (m *HelmV001Schema) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HelmV001Schema) UnmarshalBinary added in v0.3.0

func (m *HelmV001Schema) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HelmV001Schema) Validate added in v0.3.0

func (m *HelmV001Schema) Validate(formats strfmt.Registry) error

Validate validates this helm v001 schema

type HelmV001SchemaChart added in v0.3.0

type HelmV001SchemaChart struct {

	// hash
	Hash *HelmV001SchemaChartHash `json:"hash,omitempty"`

	// provenance
	// Required: true
	Provenance *HelmV001SchemaChartProvenance `json:"provenance"`
}

HelmV001SchemaChart Information about the Helm chart associated with the entry

swagger:model HelmV001SchemaChart

func (*HelmV001SchemaChart) ContextValidate added in v0.3.0

func (m *HelmV001SchemaChart) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this helm v001 schema chart based on the context it is used

func (*HelmV001SchemaChart) MarshalBinary added in v0.3.0

func (m *HelmV001SchemaChart) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HelmV001SchemaChart) UnmarshalBinary added in v0.3.0

func (m *HelmV001SchemaChart) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HelmV001SchemaChart) Validate added in v0.3.0

func (m *HelmV001SchemaChart) Validate(formats strfmt.Registry) error

Validate validates this helm v001 schema chart

type HelmV001SchemaChartHash added in v0.3.0

type HelmV001SchemaChartHash struct {

	// The hashing function used to compute the hash value
	// Required: true
	// Enum: [sha256]
	Algorithm *string `json:"algorithm"`

	// The hash value for the chart
	// Required: true
	Value *string `json:"value"`
}

HelmV001SchemaChartHash Specifies the hash algorithm and value for the chart

swagger:model HelmV001SchemaChartHash

func (*HelmV001SchemaChartHash) ContextValidate added in v0.3.0

func (m *HelmV001SchemaChartHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this helm v001 schema chart hash based on the context it is used

func (*HelmV001SchemaChartHash) MarshalBinary added in v0.3.0

func (m *HelmV001SchemaChartHash) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HelmV001SchemaChartHash) UnmarshalBinary added in v0.3.0

func (m *HelmV001SchemaChartHash) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HelmV001SchemaChartHash) Validate added in v0.3.0

func (m *HelmV001SchemaChartHash) Validate(formats strfmt.Registry) error

Validate validates this helm v001 schema chart hash

type HelmV001SchemaChartProvenance added in v0.3.0

type HelmV001SchemaChartProvenance struct {

	// Specifies the content of the provenance file inline within the document
	// Format: byte
	Content strfmt.Base64 `json:"content,omitempty"`

	// signature
	Signature *HelmV001SchemaChartProvenanceSignature `json:"signature,omitempty"`
}

HelmV001SchemaChartProvenance The provenance entry associated with the signed Helm Chart

swagger:model HelmV001SchemaChartProvenance

func (*HelmV001SchemaChartProvenance) ContextValidate added in v0.3.0

func (m *HelmV001SchemaChartProvenance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this helm v001 schema chart provenance based on the context it is used

func (*HelmV001SchemaChartProvenance) MarshalBinary added in v0.3.0

func (m *HelmV001SchemaChartProvenance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HelmV001SchemaChartProvenance) UnmarshalBinary added in v0.3.0

func (m *HelmV001SchemaChartProvenance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HelmV001SchemaChartProvenance) Validate added in v0.3.0

func (m *HelmV001SchemaChartProvenance) Validate(formats strfmt.Registry) error

Validate validates this helm v001 schema chart provenance

type HelmV001SchemaChartProvenanceSignature added in v0.3.0

type HelmV001SchemaChartProvenanceSignature struct {

	// Specifies the signature embedded within the provenance file
	// Required: true
	// Read Only: true
	// Format: byte
	Content strfmt.Base64 `json:"content"`
}

HelmV001SchemaChartProvenanceSignature Information about the included signature in the provenance file

swagger:model HelmV001SchemaChartProvenanceSignature

func (*HelmV001SchemaChartProvenanceSignature) ContextValidate added in v0.3.0

ContextValidate validate this helm v001 schema chart provenance signature based on the context it is used

func (*HelmV001SchemaChartProvenanceSignature) MarshalBinary added in v0.3.0

func (m *HelmV001SchemaChartProvenanceSignature) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HelmV001SchemaChartProvenanceSignature) UnmarshalBinary added in v0.3.0

func (m *HelmV001SchemaChartProvenanceSignature) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HelmV001SchemaChartProvenanceSignature) Validate added in v0.3.0

Validate validates this helm v001 schema chart provenance signature

type HelmV001SchemaPublicKey added in v0.3.0

type HelmV001SchemaPublicKey struct {

	// Specifies the content of the public key inline within the document
	// Required: true
	// Format: byte
	Content *strfmt.Base64 `json:"content"`
}

HelmV001SchemaPublicKey The public key that can verify the package signature

swagger:model HelmV001SchemaPublicKey

func (*HelmV001SchemaPublicKey) ContextValidate added in v0.3.0

func (m *HelmV001SchemaPublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this helm v001 schema public key based on context it is used

func (*HelmV001SchemaPublicKey) MarshalBinary added in v0.3.0

func (m *HelmV001SchemaPublicKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HelmV001SchemaPublicKey) UnmarshalBinary added in v0.3.0

func (m *HelmV001SchemaPublicKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HelmV001SchemaPublicKey) Validate added in v0.3.0

func (m *HelmV001SchemaPublicKey) Validate(formats strfmt.Registry) error

Validate validates this helm v001 schema public key

type InactiveShardLogInfo added in v0.6.0

type InactiveShardLogInfo struct {

	// The current hash value stored at the root of the merkle tree
	// Required: true
	// Pattern: ^[0-9a-fA-F]{64}$
	RootHash *string `json:"rootHash"`

	// The current signed tree head
	// Required: true
	SignedTreeHead *string `json:"signedTreeHead"`

	// The current treeID
	// Required: true
	// Pattern: ^[0-9]+$
	TreeID *string `json:"treeID"`

	// The current number of nodes in the merkle tree
	// Required: true
	// Minimum: 1
	TreeSize *int64 `json:"treeSize"`
}

InactiveShardLogInfo inactive shard log info

swagger:model InactiveShardLogInfo

func (*InactiveShardLogInfo) ContextValidate added in v0.6.0

func (m *InactiveShardLogInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this inactive shard log info based on context it is used

func (*InactiveShardLogInfo) MarshalBinary added in v0.6.0

func (m *InactiveShardLogInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InactiveShardLogInfo) UnmarshalBinary added in v0.6.0

func (m *InactiveShardLogInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InactiveShardLogInfo) Validate added in v0.6.0

func (m *InactiveShardLogInfo) Validate(formats strfmt.Registry) error

Validate validates this inactive shard log info

type InclusionProof

type InclusionProof struct {

	// The checkpoint (signed tree head) that the inclusion proof is based on
	// Required: true
	Checkpoint *string `json:"checkpoint"`

	// A list of hashes required to compute the inclusion proof, sorted in order from leaf to root
	// Required: true
	Hashes []string `json:"hashes"`

	// The index of the entry in the transparency log
	// Required: true
	// Minimum: 0
	LogIndex *int64 `json:"logIndex"`

	// The hash value stored at the root of the merkle tree at the time the proof was generated
	// Required: true
	// Pattern: ^[0-9a-fA-F]{64}$
	RootHash *string `json:"rootHash"`

	// The size of the merkle tree at the time the inclusion proof was generated
	// Required: true
	// Minimum: 1
	TreeSize *int64 `json:"treeSize"`
}

InclusionProof inclusion proof

swagger:model InclusionProof

func (*InclusionProof) ContextValidate added in v0.2.0

func (m *InclusionProof) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this inclusion proof based on context it is used

func (*InclusionProof) MarshalBinary

func (m *InclusionProof) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InclusionProof) UnmarshalBinary

func (m *InclusionProof) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InclusionProof) Validate

func (m *InclusionProof) Validate(formats strfmt.Registry) error

Validate validates this inclusion proof

type Intoto added in v0.2.0

type Intoto struct {

	// api version
	// Required: true
	// Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
	APIVersion *string `json:"apiVersion"`

	// spec
	// Required: true
	Spec IntotoSchema `json:"spec"`
}

Intoto Intoto object

swagger:model intoto

func (*Intoto) ContextValidate added in v0.2.0

func (m *Intoto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this intoto based on the context it is used

func (*Intoto) Kind added in v0.2.0

func (m *Intoto) Kind() string

Kind gets the kind of this subtype

func (*Intoto) MarshalBinary added in v0.2.0

func (m *Intoto) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (Intoto) MarshalJSON added in v0.2.0

func (m Intoto) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*Intoto) SetKind added in v0.2.0

func (m *Intoto) SetKind(val string)

SetKind sets the kind of this subtype

func (*Intoto) UnmarshalBinary added in v0.2.0

func (m *Intoto) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Intoto) UnmarshalJSON added in v0.2.0

func (m *Intoto) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*Intoto) Validate added in v0.2.0

func (m *Intoto) Validate(formats strfmt.Registry) error

Validate validates this intoto

type IntotoSchema added in v0.2.0

type IntotoSchema interface{}

IntotoSchema Intoto Schema

Intoto for Rekord objects

swagger:model intotoSchema

type IntotoV001Schema added in v0.2.0

type IntotoV001Schema struct {

	// content
	// Required: true
	Content *IntotoV001SchemaContent `json:"content"`

	// The public key that can verify the signature
	// Required: true
	// Format: byte
	PublicKey *strfmt.Base64 `json:"publicKey"`
}

IntotoV001Schema intoto v0.0.1 Schema

Schema for intoto object

swagger:model intotoV001Schema

func (*IntotoV001Schema) ContextValidate added in v0.2.0

func (m *IntotoV001Schema) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this intoto v001 schema based on the context it is used

func (*IntotoV001Schema) MarshalBinary added in v0.2.0

func (m *IntotoV001Schema) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntotoV001Schema) UnmarshalBinary added in v0.2.0

func (m *IntotoV001Schema) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntotoV001Schema) Validate added in v0.2.0

func (m *IntotoV001Schema) Validate(formats strfmt.Registry) error

Validate validates this intoto v001 schema

type IntotoV001SchemaContent added in v0.2.0

type IntotoV001SchemaContent struct {

	// envelope
	Envelope string `json:"envelope,omitempty"`

	// hash
	Hash *IntotoV001SchemaContentHash `json:"hash,omitempty"`

	// payload hash
	PayloadHash *IntotoV001SchemaContentPayloadHash `json:"payloadHash,omitempty"`
}

IntotoV001SchemaContent intoto v001 schema content

swagger:model IntotoV001SchemaContent

func (*IntotoV001SchemaContent) ContextValidate added in v0.2.0

func (m *IntotoV001SchemaContent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this intoto v001 schema content based on the context it is used

func (*IntotoV001SchemaContent) MarshalBinary added in v0.2.0

func (m *IntotoV001SchemaContent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntotoV001SchemaContent) UnmarshalBinary added in v0.2.0

func (m *IntotoV001SchemaContent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntotoV001SchemaContent) Validate added in v0.2.0

func (m *IntotoV001SchemaContent) Validate(formats strfmt.Registry) error

Validate validates this intoto v001 schema content

type IntotoV001SchemaContentHash added in v0.2.0

type IntotoV001SchemaContentHash struct {

	// The hashing function used to compute the hash value
	// Required: true
	// Enum: [sha256]
	Algorithm *string `json:"algorithm"`

	// The hash value for the archive
	// Required: true
	Value *string `json:"value"`
}

IntotoV001SchemaContentHash Specifies the hash algorithm and value encompassing the entire signed envelope

swagger:model IntotoV001SchemaContentHash

func (*IntotoV001SchemaContentHash) ContextValidate added in v0.2.0

func (m *IntotoV001SchemaContentHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this intoto v001 schema content hash based on the context it is used

func (*IntotoV001SchemaContentHash) MarshalBinary added in v0.2.0

func (m *IntotoV001SchemaContentHash) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntotoV001SchemaContentHash) UnmarshalBinary added in v0.2.0

func (m *IntotoV001SchemaContentHash) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntotoV001SchemaContentHash) Validate added in v0.2.0

func (m *IntotoV001SchemaContentHash) Validate(formats strfmt.Registry) error

Validate validates this intoto v001 schema content hash

type IntotoV001SchemaContentPayloadHash added in v0.6.0

type IntotoV001SchemaContentPayloadHash struct {

	// The hashing function used to compute the hash value
	// Required: true
	// Enum: [sha256]
	Algorithm *string `json:"algorithm"`

	// The hash value for the envelope's payload
	// Required: true
	Value *string `json:"value"`
}

IntotoV001SchemaContentPayloadHash Specifies the hash algorithm and value covering the payload within the DSSE envelope

swagger:model IntotoV001SchemaContentPayloadHash

func (*IntotoV001SchemaContentPayloadHash) ContextValidate added in v0.6.0

func (m *IntotoV001SchemaContentPayloadHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this intoto v001 schema content payload hash based on the context it is used

func (*IntotoV001SchemaContentPayloadHash) MarshalBinary added in v0.6.0

func (m *IntotoV001SchemaContentPayloadHash) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntotoV001SchemaContentPayloadHash) UnmarshalBinary added in v0.6.0

func (m *IntotoV001SchemaContentPayloadHash) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntotoV001SchemaContentPayloadHash) Validate added in v0.6.0

Validate validates this intoto v001 schema content payload hash

type IntotoV002Schema added in v0.12.0

type IntotoV002Schema struct {

	// content
	// Required: true
	Content *IntotoV002SchemaContent `json:"content"`
}

IntotoV002Schema intoto v0.0.2 Schema

Schema for intoto object

swagger:model intotoV002Schema

func (*IntotoV002Schema) ContextValidate added in v0.12.0

func (m *IntotoV002Schema) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this intoto v002 schema based on the context it is used

func (*IntotoV002Schema) MarshalBinary added in v0.12.0

func (m *IntotoV002Schema) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntotoV002Schema) UnmarshalBinary added in v0.12.0

func (m *IntotoV002Schema) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntotoV002Schema) Validate added in v0.12.0

func (m *IntotoV002Schema) Validate(formats strfmt.Registry) error

Validate validates this intoto v002 schema

type IntotoV002SchemaContent added in v0.12.0

type IntotoV002SchemaContent struct {

	// envelope
	Envelope *IntotoV002SchemaContentEnvelope `json:"envelope,omitempty"`

	// hash
	Hash *IntotoV002SchemaContentHash `json:"hash,omitempty"`

	// payload hash
	PayloadHash *IntotoV002SchemaContentPayloadHash `json:"payloadHash,omitempty"`
}

IntotoV002SchemaContent intoto v002 schema content

swagger:model IntotoV002SchemaContent

func (*IntotoV002SchemaContent) ContextValidate added in v0.12.0

func (m *IntotoV002SchemaContent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this intoto v002 schema content based on the context it is used

func (*IntotoV002SchemaContent) MarshalBinary added in v0.12.0

func (m *IntotoV002SchemaContent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntotoV002SchemaContent) UnmarshalBinary added in v0.12.0

func (m *IntotoV002SchemaContent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntotoV002SchemaContent) Validate added in v0.12.0

func (m *IntotoV002SchemaContent) Validate(formats strfmt.Registry) error

Validate validates this intoto v002 schema content

type IntotoV002SchemaContentEnvelope added in v0.12.0

type IntotoV002SchemaContentEnvelope struct {

	// payload of the envelope
	// Format: byte
	Payload strfmt.Base64 `json:"payload,omitempty"`

	// type describing the payload
	// Required: true
	PayloadType *string `json:"payloadType"`

	// collection of all signatures of the envelope's payload
	// Required: true
	// Min Items: 1
	Signatures []*IntotoV002SchemaContentEnvelopeSignaturesItems0 `json:"signatures"`
}

IntotoV002SchemaContentEnvelope dsse envelope

swagger:model IntotoV002SchemaContentEnvelope

func (*IntotoV002SchemaContentEnvelope) ContextValidate added in v0.12.0

func (m *IntotoV002SchemaContentEnvelope) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this intoto v002 schema content envelope based on the context it is used

func (*IntotoV002SchemaContentEnvelope) MarshalBinary added in v0.12.0

func (m *IntotoV002SchemaContentEnvelope) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntotoV002SchemaContentEnvelope) UnmarshalBinary added in v0.12.0

func (m *IntotoV002SchemaContentEnvelope) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntotoV002SchemaContentEnvelope) Validate added in v0.12.0

Validate validates this intoto v002 schema content envelope

type IntotoV002SchemaContentEnvelopeSignaturesItems0 added in v0.12.0

type IntotoV002SchemaContentEnvelopeSignaturesItems0 struct {

	// optional id of the key used to create the signature
	Keyid string `json:"keyid,omitempty"`

	// public key that corresponds to this signature
	// Read Only: true
	// Format: byte
	PublicKey strfmt.Base64 `json:"publicKey,omitempty"`

	// signature of the payload
	// Format: byte
	Sig strfmt.Base64 `json:"sig,omitempty"`
}

IntotoV002SchemaContentEnvelopeSignaturesItems0 a signature of the envelope's payload along with the public key for the signature

swagger:model IntotoV002SchemaContentEnvelopeSignaturesItems0

func (*IntotoV002SchemaContentEnvelopeSignaturesItems0) ContextValidate added in v0.12.0

ContextValidate validate this intoto v002 schema content envelope signatures items0 based on the context it is used

func (*IntotoV002SchemaContentEnvelopeSignaturesItems0) MarshalBinary added in v0.12.0

MarshalBinary interface implementation

func (*IntotoV002SchemaContentEnvelopeSignaturesItems0) UnmarshalBinary added in v0.12.0

UnmarshalBinary interface implementation

func (*IntotoV002SchemaContentEnvelopeSignaturesItems0) Validate added in v0.12.0

Validate validates this intoto v002 schema content envelope signatures items0

type IntotoV002SchemaContentHash added in v0.12.0

type IntotoV002SchemaContentHash struct {

	// The hashing function used to compute the hash value
	// Required: true
	// Enum: [sha256]
	Algorithm *string `json:"algorithm"`

	// The hash value for the archive
	// Required: true
	Value *string `json:"value"`
}

IntotoV002SchemaContentHash Specifies the hash algorithm and value encompassing the entire signed envelope

swagger:model IntotoV002SchemaContentHash

func (*IntotoV002SchemaContentHash) ContextValidate added in v0.12.0

func (m *IntotoV002SchemaContentHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this intoto v002 schema content hash based on the context it is used

func (*IntotoV002SchemaContentHash) MarshalBinary added in v0.12.0

func (m *IntotoV002SchemaContentHash) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntotoV002SchemaContentHash) UnmarshalBinary added in v0.12.0

func (m *IntotoV002SchemaContentHash) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntotoV002SchemaContentHash) Validate added in v0.12.0

func (m *IntotoV002SchemaContentHash) Validate(formats strfmt.Registry) error

Validate validates this intoto v002 schema content hash

type IntotoV002SchemaContentPayloadHash added in v0.12.0

type IntotoV002SchemaContentPayloadHash struct {

	// The hashing function used to compute the hash value
	// Required: true
	// Enum: [sha256]
	Algorithm *string `json:"algorithm"`

	// The hash value of the payload
	// Required: true
	Value *string `json:"value"`
}

IntotoV002SchemaContentPayloadHash Specifies the hash algorithm and value covering the payload within the DSSE envelope

swagger:model IntotoV002SchemaContentPayloadHash

func (*IntotoV002SchemaContentPayloadHash) ContextValidate added in v0.12.0

func (m *IntotoV002SchemaContentPayloadHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this intoto v002 schema content payload hash based on the context it is used

func (*IntotoV002SchemaContentPayloadHash) MarshalBinary added in v0.12.0

func (m *IntotoV002SchemaContentPayloadHash) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntotoV002SchemaContentPayloadHash) UnmarshalBinary added in v0.12.0

func (m *IntotoV002SchemaContentPayloadHash) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntotoV002SchemaContentPayloadHash) Validate added in v0.12.0

Validate validates this intoto v002 schema content payload hash

type Jar added in v0.2.0

type Jar struct {

	// api version
	// Required: true
	// Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
	APIVersion *string `json:"apiVersion"`

	// spec
	// Required: true
	Spec JarSchema `json:"spec"`
}

Jar Java Archive (JAR)

swagger:model jar

func (*Jar) ContextValidate added in v0.2.0

func (m *Jar) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jar based on the context it is used

func (*Jar) Kind added in v0.2.0

func (m *Jar) Kind() string

Kind gets the kind of this subtype

func (*Jar) MarshalBinary added in v0.2.0

func (m *Jar) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (Jar) MarshalJSON added in v0.2.0

func (m Jar) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*Jar) SetKind added in v0.2.0

func (m *Jar) SetKind(val string)

SetKind sets the kind of this subtype

func (*Jar) UnmarshalBinary added in v0.2.0

func (m *Jar) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Jar) UnmarshalJSON added in v0.2.0

func (m *Jar) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*Jar) Validate added in v0.2.0

func (m *Jar) Validate(formats strfmt.Registry) error

Validate validates this jar

type JarSchema added in v0.2.0

type JarSchema interface{}

JarSchema JAR Schema

Schema for JAR objects

swagger:model jarSchema

type JarV001Schema added in v0.2.0

type JarV001Schema struct {

	// archive
	// Required: true
	Archive *JarV001SchemaArchive `json:"archive"`

	// signature
	Signature *JarV001SchemaSignature `json:"signature,omitempty"`
}

JarV001Schema JAR v0.0.1 Schema

Schema for JAR entries

swagger:model jarV001Schema

func (*JarV001Schema) ContextValidate added in v0.2.0

func (m *JarV001Schema) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jar v001 schema based on the context it is used

func (*JarV001Schema) MarshalBinary added in v0.2.0

func (m *JarV001Schema) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JarV001Schema) UnmarshalBinary added in v0.2.0

func (m *JarV001Schema) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JarV001Schema) Validate added in v0.2.0

func (m *JarV001Schema) Validate(formats strfmt.Registry) error

Validate validates this jar v001 schema

type JarV001SchemaArchive added in v0.2.0

type JarV001SchemaArchive struct {

	// Specifies the archive inline within the document
	// Format: byte
	Content strfmt.Base64 `json:"content,omitempty"`

	// hash
	Hash *JarV001SchemaArchiveHash `json:"hash,omitempty"`
}

JarV001SchemaArchive Information about the archive associated with the entry

swagger:model JarV001SchemaArchive

func (*JarV001SchemaArchive) ContextValidate added in v0.2.0

func (m *JarV001SchemaArchive) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jar v001 schema archive based on the context it is used

func (*JarV001SchemaArchive) MarshalBinary added in v0.2.0

func (m *JarV001SchemaArchive) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JarV001SchemaArchive) UnmarshalBinary added in v0.2.0

func (m *JarV001SchemaArchive) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JarV001SchemaArchive) Validate added in v0.2.0

func (m *JarV001SchemaArchive) Validate(formats strfmt.Registry) error

Validate validates this jar v001 schema archive

type JarV001SchemaArchiveHash added in v0.2.0

type JarV001SchemaArchiveHash struct {

	// The hashing function used to compute the hash value
	// Required: true
	// Enum: [sha256]
	Algorithm *string `json:"algorithm"`

	// The hash value for the archive
	// Required: true
	Value *string `json:"value"`
}

JarV001SchemaArchiveHash Specifies the hash algorithm and value encompassing the entire signed archive

swagger:model JarV001SchemaArchiveHash

func (*JarV001SchemaArchiveHash) ContextValidate added in v0.2.0

func (m *JarV001SchemaArchiveHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this jar v001 schema archive hash based on context it is used

func (*JarV001SchemaArchiveHash) MarshalBinary added in v0.2.0

func (m *JarV001SchemaArchiveHash) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JarV001SchemaArchiveHash) UnmarshalBinary added in v0.2.0

func (m *JarV001SchemaArchiveHash) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JarV001SchemaArchiveHash) Validate added in v0.2.0

func (m *JarV001SchemaArchiveHash) Validate(formats strfmt.Registry) error

Validate validates this jar v001 schema archive hash

type JarV001SchemaSignature added in v0.2.0

type JarV001SchemaSignature struct {

	// Specifies the PKCS7 signature embedded within the JAR file
	// Required: true
	// Read Only: true
	// Format: byte
	Content strfmt.Base64 `json:"content"`

	// public key
	// Required: true
	PublicKey *JarV001SchemaSignaturePublicKey `json:"publicKey"`
}

JarV001SchemaSignature Information about the included signature in the JAR file

swagger:model JarV001SchemaSignature

func (*JarV001SchemaSignature) ContextValidate added in v0.2.0

func (m *JarV001SchemaSignature) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jar v001 schema signature based on the context it is used

func (*JarV001SchemaSignature) MarshalBinary added in v0.2.0

func (m *JarV001SchemaSignature) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JarV001SchemaSignature) UnmarshalBinary added in v0.2.0

func (m *JarV001SchemaSignature) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JarV001SchemaSignature) Validate added in v0.2.0

func (m *JarV001SchemaSignature) Validate(formats strfmt.Registry) error

Validate validates this jar v001 schema signature

type JarV001SchemaSignaturePublicKey added in v0.2.0

type JarV001SchemaSignaturePublicKey struct {

	// Specifies the content of the X509 certificate containing the public key used to verify the signature
	// Required: true
	// Format: byte
	Content *strfmt.Base64 `json:"content"`
}

JarV001SchemaSignaturePublicKey The X509 certificate containing the public key JAR which verifies the signature of the JAR

swagger:model JarV001SchemaSignaturePublicKey

func (*JarV001SchemaSignaturePublicKey) ContextValidate added in v0.2.0

func (m *JarV001SchemaSignaturePublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jar v001 schema signature public key based on the context it is used

func (*JarV001SchemaSignaturePublicKey) MarshalBinary added in v0.2.0

func (m *JarV001SchemaSignaturePublicKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JarV001SchemaSignaturePublicKey) UnmarshalBinary added in v0.2.0

func (m *JarV001SchemaSignaturePublicKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JarV001SchemaSignaturePublicKey) Validate added in v0.2.0

Validate validates this jar v001 schema signature public key

type LogEntry

type LogEntry map[string]LogEntryAnon

LogEntry log entry

swagger:model LogEntry

func (LogEntry) ContextValidate added in v0.2.0

func (m LogEntry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this log entry based on the context it is used

func (LogEntry) Validate

func (m LogEntry) Validate(formats strfmt.Registry) error

Validate validates this log entry

type LogEntryAnon

type LogEntryAnon struct {

	// attestation
	Attestation *LogEntryAnonAttestation `json:"attestation,omitempty"`

	// body
	// Required: true
	Body interface{} `json:"body"`

	// integrated time
	// Required: true
	IntegratedTime *int64 `json:"integratedTime"`

	// This is the SHA256 hash of the DER-encoded public key for the log at the time the entry was included in the log
	// Required: true
	// Pattern: ^[0-9a-fA-F]{64}$
	LogID *string `json:"logID"`

	// log index
	// Required: true
	// Minimum: 0
	LogIndex *int64 `json:"logIndex"`

	// verification
	Verification *LogEntryAnonVerification `json:"verification,omitempty"`
}

LogEntryAnon log entry anon

swagger:model LogEntryAnon

func (*LogEntryAnon) ContextValidate added in v0.2.0

func (m *LogEntryAnon) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this log entry anon based on the context it is used

func (*LogEntryAnon) MarshalBinary

func (m *LogEntryAnon) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogEntryAnon) UnmarshalBinary

func (m *LogEntryAnon) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogEntryAnon) Validate

func (m *LogEntryAnon) Validate(formats strfmt.Registry) error

Validate validates this log entry anon

type LogEntryAnonAttestation added in v0.3.0

type LogEntryAnonAttestation struct {

	// data
	// Format: byte
	Data strfmt.Base64 `json:"data,omitempty"`
}

LogEntryAnonAttestation log entry anon attestation

swagger:model LogEntryAnonAttestation

func (*LogEntryAnonAttestation) ContextValidate added in v0.3.0

func (m *LogEntryAnonAttestation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this log entry anon attestation based on context it is used

func (*LogEntryAnonAttestation) MarshalBinary added in v0.3.0

func (m *LogEntryAnonAttestation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogEntryAnonAttestation) UnmarshalBinary added in v0.3.0

func (m *LogEntryAnonAttestation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogEntryAnonAttestation) Validate added in v0.3.0

func (m *LogEntryAnonAttestation) Validate(formats strfmt.Registry) error

Validate validates this log entry anon attestation

type LogEntryAnonVerification added in v0.2.0

type LogEntryAnonVerification struct {

	// inclusion proof
	InclusionProof *InclusionProof `json:"inclusionProof,omitempty"`

	// Signature over the logID, logIndex, body and integratedTime.
	// Format: byte
	SignedEntryTimestamp strfmt.Base64 `json:"signedEntryTimestamp,omitempty"`
}

LogEntryAnonVerification log entry anon verification

swagger:model LogEntryAnonVerification

func (*LogEntryAnonVerification) ContextValidate added in v0.2.0

func (m *LogEntryAnonVerification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this log entry anon verification based on the context it is used

func (*LogEntryAnonVerification) MarshalBinary added in v0.2.0

func (m *LogEntryAnonVerification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogEntryAnonVerification) UnmarshalBinary added in v0.2.0

func (m *LogEntryAnonVerification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogEntryAnonVerification) Validate added in v0.2.0

func (m *LogEntryAnonVerification) Validate(formats strfmt.Registry) error

Validate validates this log entry anon verification

type LogInfo

type LogInfo struct {

	// inactive shards
	InactiveShards []*InactiveShardLogInfo `json:"inactiveShards"`

	// The current hash value stored at the root of the merkle tree
	// Required: true
	// Pattern: ^[0-9a-fA-F]{64}$
	RootHash *string `json:"rootHash"`

	// The current signed tree head
	// Required: true
	SignedTreeHead *string `json:"signedTreeHead"`

	// The current treeID
	// Required: true
	// Pattern: ^[0-9]+$
	TreeID *string `json:"treeID"`

	// The current number of nodes in the merkle tree
	// Required: true
	// Minimum: 1
	TreeSize *int64 `json:"treeSize"`
}

LogInfo log info

swagger:model LogInfo

func (*LogInfo) ContextValidate added in v0.2.0

func (m *LogInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this log info based on the context it is used

func (*LogInfo) MarshalBinary

func (m *LogInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogInfo) UnmarshalBinary

func (m *LogInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogInfo) Validate

func (m *LogInfo) Validate(formats strfmt.Registry) error

Validate validates this log info

type ProposedEntry

type ProposedEntry interface {
	runtime.Validatable
	runtime.ContextValidatable

	// kind
	// Required: true
	Kind() string
	SetKind(string)
}

ProposedEntry proposed entry

swagger:discriminator ProposedEntry kind

func UnmarshalProposedEntry

func UnmarshalProposedEntry(reader io.Reader, consumer runtime.Consumer) (ProposedEntry, error)

UnmarshalProposedEntry unmarshals polymorphic ProposedEntry

func UnmarshalProposedEntrySlice

func UnmarshalProposedEntrySlice(reader io.Reader, consumer runtime.Consumer) ([]ProposedEntry, error)

UnmarshalProposedEntrySlice unmarshals polymorphic slices of ProposedEntry

type Rekord

type Rekord struct {

	// api version
	// Required: true
	// Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
	APIVersion *string `json:"apiVersion"`

	// spec
	// Required: true
	Spec RekordSchema `json:"spec"`
}

Rekord Rekord object

swagger:model rekord

func (*Rekord) ContextValidate added in v0.2.0

func (m *Rekord) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rekord based on the context it is used

func (*Rekord) Kind

func (m *Rekord) Kind() string

Kind gets the kind of this subtype

func (*Rekord) MarshalBinary

func (m *Rekord) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (Rekord) MarshalJSON

func (m Rekord) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*Rekord) SetKind

func (m *Rekord) SetKind(val string)

SetKind sets the kind of this subtype

func (*Rekord) UnmarshalBinary

func (m *Rekord) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Rekord) UnmarshalJSON

func (m *Rekord) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*Rekord) Validate

func (m *Rekord) Validate(formats strfmt.Registry) error

Validate validates this rekord

type RekordSchema

type RekordSchema interface{}

RekordSchema Rekor Schema

Schema for Rekord objects

swagger:model rekordSchema

type RekordV001Schema

type RekordV001Schema struct {

	// data
	// Required: true
	Data *RekordV001SchemaData `json:"data"`

	// signature
	// Required: true
	Signature *RekordV001SchemaSignature `json:"signature"`
}

RekordV001Schema Rekor v0.0.1 Schema

Schema for Rekord object

swagger:model rekordV001Schema

func (*RekordV001Schema) ContextValidate added in v0.2.0

func (m *RekordV001Schema) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rekord v001 schema based on the context it is used

func (*RekordV001Schema) MarshalBinary

func (m *RekordV001Schema) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RekordV001Schema) UnmarshalBinary

func (m *RekordV001Schema) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RekordV001Schema) Validate

func (m *RekordV001Schema) Validate(formats strfmt.Registry) error

Validate validates this rekord v001 schema

type RekordV001SchemaData

type RekordV001SchemaData struct {

	// Specifies the content inline within the document
	// Format: byte
	Content strfmt.Base64 `json:"content,omitempty"`

	// hash
	Hash *RekordV001SchemaDataHash `json:"hash,omitempty"`
}

RekordV001SchemaData Information about the content associated with the entry

swagger:model RekordV001SchemaData

func (*RekordV001SchemaData) ContextValidate added in v0.2.0

func (m *RekordV001SchemaData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rekord v001 schema data based on the context it is used

func (*RekordV001SchemaData) MarshalBinary

func (m *RekordV001SchemaData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RekordV001SchemaData) UnmarshalBinary

func (m *RekordV001SchemaData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RekordV001SchemaData) Validate

func (m *RekordV001SchemaData) Validate(formats strfmt.Registry) error

Validate validates this rekord v001 schema data

type RekordV001SchemaDataHash

type RekordV001SchemaDataHash struct {

	// The hashing function used to compute the hash value
	// Required: true
	// Enum: [sha256]
	Algorithm *string `json:"algorithm"`

	// The hash value for the content
	// Required: true
	Value *string `json:"value"`
}

RekordV001SchemaDataHash Specifies the hash algorithm and value for the content

swagger:model RekordV001SchemaDataHash

func (*RekordV001SchemaDataHash) ContextValidate added in v0.2.0

func (m *RekordV001SchemaDataHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rekord v001 schema data hash based on the context it is used

func (*RekordV001SchemaDataHash) MarshalBinary

func (m *RekordV001SchemaDataHash) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RekordV001SchemaDataHash) UnmarshalBinary

func (m *RekordV001SchemaDataHash) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RekordV001SchemaDataHash) Validate

func (m *RekordV001SchemaDataHash) Validate(formats strfmt.Registry) error

Validate validates this rekord v001 schema data hash

type RekordV001SchemaSignature

type RekordV001SchemaSignature struct {

	// Specifies the content of the signature inline within the document
	// Required: true
	// Format: byte
	Content *strfmt.Base64 `json:"content"`

	// Specifies the format of the signature
	// Required: true
	// Enum: [pgp minisign x509 ssh]
	Format *string `json:"format"`

	// public key
	// Required: true
	PublicKey *RekordV001SchemaSignaturePublicKey `json:"publicKey"`
}

RekordV001SchemaSignature Information about the detached signature associated with the entry

swagger:model RekordV001SchemaSignature

func (*RekordV001SchemaSignature) ContextValidate added in v0.2.0

func (m *RekordV001SchemaSignature) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rekord v001 schema signature based on the context it is used

func (*RekordV001SchemaSignature) MarshalBinary

func (m *RekordV001SchemaSignature) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RekordV001SchemaSignature) UnmarshalBinary

func (m *RekordV001SchemaSignature) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RekordV001SchemaSignature) Validate

func (m *RekordV001SchemaSignature) Validate(formats strfmt.Registry) error

Validate validates this rekord v001 schema signature

type RekordV001SchemaSignaturePublicKey

type RekordV001SchemaSignaturePublicKey struct {

	// Specifies the content of the public key inline within the document
	// Required: true
	// Format: byte
	Content *strfmt.Base64 `json:"content"`
}

RekordV001SchemaSignaturePublicKey The public key that can verify the signature

swagger:model RekordV001SchemaSignaturePublicKey

func (*RekordV001SchemaSignaturePublicKey) ContextValidate added in v0.2.0

func (m *RekordV001SchemaSignaturePublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rekord v001 schema signature public key based on context it is used

func (*RekordV001SchemaSignaturePublicKey) MarshalBinary

func (m *RekordV001SchemaSignaturePublicKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RekordV001SchemaSignaturePublicKey) UnmarshalBinary

func (m *RekordV001SchemaSignaturePublicKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RekordV001SchemaSignaturePublicKey) Validate

Validate validates this rekord v001 schema signature public key

type Rfc3161 added in v0.2.0

type Rfc3161 struct {

	// api version
	// Required: true
	// Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
	APIVersion *string `json:"apiVersion"`

	// spec
	// Required: true
	Spec Rfc3161Schema `json:"spec"`
}

Rfc3161 RFC3161 Timestamp

swagger:model rfc3161

func (*Rfc3161) ContextValidate added in v0.2.0

func (m *Rfc3161) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rfc3161 based on the context it is used

func (*Rfc3161) Kind added in v0.2.0

func (m *Rfc3161) Kind() string

Kind gets the kind of this subtype

func (*Rfc3161) MarshalBinary added in v0.2.0

func (m *Rfc3161) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (Rfc3161) MarshalJSON added in v0.2.0

func (m Rfc3161) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*Rfc3161) SetKind added in v0.2.0

func (m *Rfc3161) SetKind(val string)

SetKind sets the kind of this subtype

func (*Rfc3161) UnmarshalBinary added in v0.2.0

func (m *Rfc3161) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Rfc3161) UnmarshalJSON added in v0.2.0

func (m *Rfc3161) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*Rfc3161) Validate added in v0.2.0

func (m *Rfc3161) Validate(formats strfmt.Registry) error

Validate validates this rfc3161

type Rfc3161Schema added in v0.2.0

type Rfc3161Schema interface{}

Rfc3161Schema Timestamp Schema

Schema for RFC 3161 timestamp objects RFC 3161 timestamp objects" aria-label="Go to Schema for RFC 3161 timestamp objects">¶

swagger:model rfc3161Schema

type Rfc3161V001Schema added in v0.2.0

type Rfc3161V001Schema struct {

	// tsr
	// Required: true
	Tsr *Rfc3161V001SchemaTsr `json:"tsr"`
}

Rfc3161V001Schema Timestamp v0.0.1 Schema

Schema for RFC3161 entries

swagger:model rfc3161V001Schema

func (*Rfc3161V001Schema) ContextValidate added in v0.2.0

func (m *Rfc3161V001Schema) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rfc3161 v001 schema based on the context it is used

func (*Rfc3161V001Schema) MarshalBinary added in v0.2.0

func (m *Rfc3161V001Schema) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Rfc3161V001Schema) UnmarshalBinary added in v0.2.0

func (m *Rfc3161V001Schema) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Rfc3161V001Schema) Validate added in v0.2.0

func (m *Rfc3161V001Schema) Validate(formats strfmt.Registry) error

Validate validates this rfc3161 v001 schema

type Rfc3161V001SchemaTsr added in v0.2.0

type Rfc3161V001SchemaTsr struct {

	// Specifies the tsr file content inline within the document
	// Required: true
	// Format: byte
	Content *strfmt.Base64 `json:"content"`
}

Rfc3161V001SchemaTsr Information about the tsr file associated with the entry

swagger:model Rfc3161V001SchemaTsr

func (*Rfc3161V001SchemaTsr) ContextValidate added in v0.2.0

func (m *Rfc3161V001SchemaTsr) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rfc3161 v001 schema tsr based on context it is used

func (*Rfc3161V001SchemaTsr) MarshalBinary added in v0.2.0

func (m *Rfc3161V001SchemaTsr) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Rfc3161V001SchemaTsr) UnmarshalBinary added in v0.2.0

func (m *Rfc3161V001SchemaTsr) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Rfc3161V001SchemaTsr) Validate added in v0.2.0

func (m *Rfc3161V001SchemaTsr) Validate(formats strfmt.Registry) error

Validate validates this rfc3161 v001 schema tsr

type Rpm

type Rpm struct {

	// api version
	// Required: true
	// Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
	APIVersion *string `json:"apiVersion"`

	// spec
	// Required: true
	Spec RpmSchema `json:"spec"`
}

Rpm RPM package

swagger:model rpm

func (*Rpm) ContextValidate added in v0.2.0

func (m *Rpm) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rpm based on the context it is used

func (*Rpm) Kind

func (m *Rpm) Kind() string

Kind gets the kind of this subtype

func (*Rpm) MarshalBinary

func (m *Rpm) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (Rpm) MarshalJSON

func (m Rpm) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*Rpm) SetKind

func (m *Rpm) SetKind(val string)

SetKind sets the kind of this subtype

func (*Rpm) UnmarshalBinary

func (m *Rpm) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Rpm) UnmarshalJSON

func (m *Rpm) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*Rpm) Validate

func (m *Rpm) Validate(formats strfmt.Registry) error

Validate validates this rpm

type RpmSchema

type RpmSchema interface{}

RpmSchema RPM Schema

Schema for RPM objects

swagger:model rpmSchema

type RpmV001Schema

type RpmV001Schema struct {

	// package
	// Required: true
	Package *RpmV001SchemaPackage `json:"package"`

	// public key
	// Required: true
	PublicKey *RpmV001SchemaPublicKey `json:"publicKey"`
}

RpmV001Schema RPM v0.0.1 Schema

Schema for RPM entries

swagger:model rpmV001Schema

func (*RpmV001Schema) ContextValidate added in v0.2.0

func (m *RpmV001Schema) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rpm v001 schema based on the context it is used

func (*RpmV001Schema) MarshalBinary

func (m *RpmV001Schema) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RpmV001Schema) UnmarshalBinary

func (m *RpmV001Schema) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RpmV001Schema) Validate

func (m *RpmV001Schema) Validate(formats strfmt.Registry) error

Validate validates this rpm v001 schema

type RpmV001SchemaPackage

type RpmV001SchemaPackage struct {

	// Specifies the package inline within the document
	// Format: byte
	Content strfmt.Base64 `json:"content,omitempty"`

	// hash
	Hash *RpmV001SchemaPackageHash `json:"hash,omitempty"`

	// Values of the RPM headers
	// Read Only: true
	Headers map[string]string `json:"headers,omitempty"`
}

RpmV001SchemaPackage Information about the package associated with the entry

swagger:model RpmV001SchemaPackage

func (*RpmV001SchemaPackage) ContextValidate added in v0.2.0

func (m *RpmV001SchemaPackage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rpm v001 schema package based on the context it is used

func (*RpmV001SchemaPackage) MarshalBinary

func (m *RpmV001SchemaPackage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RpmV001SchemaPackage) UnmarshalBinary

func (m *RpmV001SchemaPackage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RpmV001SchemaPackage) Validate

func (m *RpmV001SchemaPackage) Validate(formats strfmt.Registry) error

Validate validates this rpm v001 schema package

type RpmV001SchemaPackageHash

type RpmV001SchemaPackageHash struct {

	// The hashing function used to compute the hash value
	// Required: true
	// Enum: [sha256]
	Algorithm *string `json:"algorithm"`

	// The hash value for the package
	// Required: true
	Value *string `json:"value"`
}

RpmV001SchemaPackageHash Specifies the hash algorithm and value for the package

swagger:model RpmV001SchemaPackageHash

func (*RpmV001SchemaPackageHash) ContextValidate added in v0.2.0

func (m *RpmV001SchemaPackageHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rpm v001 schema package hash based on context it is used

func (*RpmV001SchemaPackageHash) MarshalBinary

func (m *RpmV001SchemaPackageHash) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RpmV001SchemaPackageHash) UnmarshalBinary

func (m *RpmV001SchemaPackageHash) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RpmV001SchemaPackageHash) Validate

func (m *RpmV001SchemaPackageHash) Validate(formats strfmt.Registry) error

Validate validates this rpm v001 schema package hash

type RpmV001SchemaPublicKey

type RpmV001SchemaPublicKey struct {

	// Specifies the content of the public key inline within the document
	// Required: true
	// Format: byte
	Content *strfmt.Base64 `json:"content"`
}

RpmV001SchemaPublicKey The PGP public key that can verify the RPM signature

swagger:model RpmV001SchemaPublicKey

func (*RpmV001SchemaPublicKey) ContextValidate added in v0.2.0

func (m *RpmV001SchemaPublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rpm v001 schema public key based on context it is used

func (*RpmV001SchemaPublicKey) MarshalBinary

func (m *RpmV001SchemaPublicKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RpmV001SchemaPublicKey) UnmarshalBinary

func (m *RpmV001SchemaPublicKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RpmV001SchemaPublicKey) Validate

func (m *RpmV001SchemaPublicKey) Validate(formats strfmt.Registry) error

Validate validates this rpm v001 schema public key

type SearchIndex

type SearchIndex struct {

	// email
	// Format: email
	Email strfmt.Email `json:"email,omitempty"`

	// hash
	// Pattern: ^(sha256:)?[0-9a-fA-F]{64}$|^(sha1:)?[0-9a-fA-F]{40}$
	Hash string `json:"hash,omitempty"`

	// operator
	// Enum: [and or]
	Operator string `json:"operator,omitempty"`

	// public key
	PublicKey *SearchIndexPublicKey `json:"publicKey,omitempty"`
}

SearchIndex search index

swagger:model SearchIndex

func (*SearchIndex) ContextValidate added in v0.2.0

func (m *SearchIndex) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this search index based on the context it is used

func (*SearchIndex) MarshalBinary

func (m *SearchIndex) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SearchIndex) UnmarshalBinary

func (m *SearchIndex) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SearchIndex) Validate

func (m *SearchIndex) Validate(formats strfmt.Registry) error

Validate validates this search index

type SearchIndexPublicKey

type SearchIndexPublicKey struct {

	// content
	// Format: byte
	Content strfmt.Base64 `json:"content,omitempty"`

	// format
	// Required: true
	// Enum: [pgp x509 minisign ssh tuf]
	Format *string `json:"format"`

	// url
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

SearchIndexPublicKey search index public key

swagger:model SearchIndexPublicKey

func (*SearchIndexPublicKey) ContextValidate added in v0.2.0

func (m *SearchIndexPublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this search index public key based on context it is used

func (*SearchIndexPublicKey) MarshalBinary

func (m *SearchIndexPublicKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SearchIndexPublicKey) UnmarshalBinary

func (m *SearchIndexPublicKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SearchIndexPublicKey) Validate

func (m *SearchIndexPublicKey) Validate(formats strfmt.Registry) error

Validate validates this search index public key

type SearchLogQuery

type SearchLogQuery struct {

	// entry u UI ds
	// Max Items: 10
	// Min Items: 1
	EntryUUIDs []string `json:"entryUUIDs"`

	// log indexes
	// Max Items: 10
	// Min Items: 1
	LogIndexes []*int64 `json:"logIndexes"`
	// contains filtered or unexported fields
}

SearchLogQuery search log query

swagger:model SearchLogQuery

func (*SearchLogQuery) ContextValidate added in v0.2.0

func (m *SearchLogQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this search log query based on the context it is used

func (*SearchLogQuery) Entries

func (m *SearchLogQuery) Entries() []ProposedEntry

Entries gets the entries of this base type

func (*SearchLogQuery) MarshalBinary

func (m *SearchLogQuery) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (SearchLogQuery) MarshalJSON

func (m SearchLogQuery) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*SearchLogQuery) SetEntries

func (m *SearchLogQuery) SetEntries(val []ProposedEntry)

SetEntries sets the entries of this base type

func (*SearchLogQuery) UnmarshalBinary

func (m *SearchLogQuery) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SearchLogQuery) UnmarshalJSON

func (m *SearchLogQuery) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*SearchLogQuery) Validate

func (m *SearchLogQuery) Validate(formats strfmt.Registry) error

Validate validates this search log query

type TUF added in v0.4.0

type TUF struct {

	// api version
	// Required: true
	// Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
	APIVersion *string `json:"apiVersion"`

	// spec
	// Required: true
	Spec TUFSchema `json:"spec"`
}

TUF TUF metadata

swagger:model tuf

func (*TUF) ContextValidate added in v0.4.0

func (m *TUF) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tuf based on the context it is used

func (*TUF) Kind added in v0.4.0

func (m *TUF) Kind() string

Kind gets the kind of this subtype

func (*TUF) MarshalBinary added in v0.4.0

func (m *TUF) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (TUF) MarshalJSON added in v0.4.0

func (m TUF) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*TUF) SetKind added in v0.4.0

func (m *TUF) SetKind(val string)

SetKind sets the kind of this subtype

func (*TUF) UnmarshalBinary added in v0.4.0

func (m *TUF) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TUF) UnmarshalJSON added in v0.4.0

func (m *TUF) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*TUF) Validate added in v0.4.0

func (m *TUF) Validate(formats strfmt.Registry) error

Validate validates this tuf

type TUFSchema added in v0.4.0

type TUFSchema interface{}

TUFSchema TUF Schema

Schema for TUF metadata objects

swagger:model tufSchema

type TUFV001Schema added in v0.4.0

type TUFV001Schema struct {

	// metadata
	// Required: true
	Metadata *TUFV001SchemaMetadata `json:"metadata"`

	// root
	// Required: true
	Root *TUFV001SchemaRoot `json:"root"`

	// TUF specification version
	// Read Only: true
	SpecVersion string `json:"spec_version,omitempty"`
}

TUFV001Schema TUF v0.0.1 Schema

Schema for TUF metadata entries

swagger:model tufV001Schema

func (*TUFV001Schema) ContextValidate added in v0.4.0

func (m *TUFV001Schema) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tuf v001 schema based on the context it is used

func (*TUFV001Schema) MarshalBinary added in v0.4.0

func (m *TUFV001Schema) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TUFV001Schema) UnmarshalBinary added in v0.4.0

func (m *TUFV001Schema) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TUFV001Schema) Validate added in v0.4.0

func (m *TUFV001Schema) Validate(formats strfmt.Registry) error

Validate validates this tuf v001 schema

type TUFV001SchemaMetadata added in v0.4.0

type TUFV001SchemaMetadata struct {

	// Specifies the metadata inline within the document
	Content interface{} `json:"content,omitempty"`
}

TUFV001SchemaMetadata TUF metadata

swagger:model TUFV001SchemaMetadata

func (*TUFV001SchemaMetadata) ContextValidate added in v0.4.0

func (m *TUFV001SchemaMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this TUF v001 schema metadata based on context it is used

func (*TUFV001SchemaMetadata) MarshalBinary added in v0.4.0

func (m *TUFV001SchemaMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TUFV001SchemaMetadata) UnmarshalBinary added in v0.4.0

func (m *TUFV001SchemaMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TUFV001SchemaMetadata) Validate added in v0.4.0

func (m *TUFV001SchemaMetadata) Validate(formats strfmt.Registry) error

Validate validates this TUF v001 schema metadata

type TUFV001SchemaRoot added in v0.4.0

type TUFV001SchemaRoot struct {

	// Specifies the metadata inline within the document
	// Required: true
	Content interface{} `json:"content"`
}

TUFV001SchemaRoot root metadata containing about the public keys used to sign the manifest

swagger:model TUFV001SchemaRoot

func (*TUFV001SchemaRoot) ContextValidate added in v0.4.0

func (m *TUFV001SchemaRoot) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this TUF v001 schema root based on context it is used

func (*TUFV001SchemaRoot) MarshalBinary added in v0.4.0

func (m *TUFV001SchemaRoot) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TUFV001SchemaRoot) UnmarshalBinary added in v0.4.0

func (m *TUFV001SchemaRoot) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TUFV001SchemaRoot) Validate added in v0.4.0

func (m *TUFV001SchemaRoot) Validate(formats strfmt.Registry) error

Validate validates this TUF v001 schema root

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL