Documentation
¶
Index ¶
- Constants
- type Alpine
- func (m *Alpine) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Alpine) Kind() string
- func (m *Alpine) MarshalBinary() ([]byte, error)
- func (m Alpine) MarshalJSON() ([]byte, error)
- func (m *Alpine) SetKind(val string)
- func (m *Alpine) UnmarshalBinary(b []byte) error
- func (m *Alpine) UnmarshalJSON(raw []byte) error
- func (m *Alpine) Validate(formats strfmt.Registry) error
- type AlpineSchema
- type AlpineV001Schema
- type AlpineV001SchemaPackage
- func (m *AlpineV001SchemaPackage) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AlpineV001SchemaPackage) MarshalBinary() ([]byte, error)
- func (m *AlpineV001SchemaPackage) UnmarshalBinary(b []byte) error
- func (m *AlpineV001SchemaPackage) Validate(formats strfmt.Registry) error
- type AlpineV001SchemaPackageHash
- func (m *AlpineV001SchemaPackageHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AlpineV001SchemaPackageHash) MarshalBinary() ([]byte, error)
- func (m *AlpineV001SchemaPackageHash) UnmarshalBinary(b []byte) error
- func (m *AlpineV001SchemaPackageHash) Validate(formats strfmt.Registry) error
- type AlpineV001SchemaPublicKey
- func (m *AlpineV001SchemaPublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AlpineV001SchemaPublicKey) MarshalBinary() ([]byte, error)
- func (m *AlpineV001SchemaPublicKey) UnmarshalBinary(b []byte) error
- func (m *AlpineV001SchemaPublicKey) Validate(formats strfmt.Registry) error
- type ConsistencyProof
- type Cose
- func (m *Cose) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Cose) Kind() string
- func (m *Cose) MarshalBinary() ([]byte, error)
- func (m Cose) MarshalJSON() ([]byte, error)
- func (m *Cose) SetKind(val string)
- func (m *Cose) UnmarshalBinary(b []byte) error
- func (m *Cose) UnmarshalJSON(raw []byte) error
- func (m *Cose) Validate(formats strfmt.Registry) error
- type CoseSchema
- type CoseV001Schema
- type CoseV001SchemaData
- type CoseV001SchemaDataEnvelopeHash
- func (m *CoseV001SchemaDataEnvelopeHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CoseV001SchemaDataEnvelopeHash) MarshalBinary() ([]byte, error)
- func (m *CoseV001SchemaDataEnvelopeHash) UnmarshalBinary(b []byte) error
- func (m *CoseV001SchemaDataEnvelopeHash) Validate(formats strfmt.Registry) error
- type CoseV001SchemaDataPayloadHash
- func (m *CoseV001SchemaDataPayloadHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CoseV001SchemaDataPayloadHash) MarshalBinary() ([]byte, error)
- func (m *CoseV001SchemaDataPayloadHash) UnmarshalBinary(b []byte) error
- func (m *CoseV001SchemaDataPayloadHash) Validate(formats strfmt.Registry) error
- type DSSE
- func (m *DSSE) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DSSE) Kind() string
- func (m *DSSE) MarshalBinary() ([]byte, error)
- func (m DSSE) MarshalJSON() ([]byte, error)
- func (m *DSSE) SetKind(val string)
- func (m *DSSE) UnmarshalBinary(b []byte) error
- func (m *DSSE) UnmarshalJSON(raw []byte) error
- func (m *DSSE) Validate(formats strfmt.Registry) error
- type DSSESchema
- type DSSEV001Schema
- type DSSEV001SchemaEnvelopeHash
- func (m *DSSEV001SchemaEnvelopeHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DSSEV001SchemaEnvelopeHash) MarshalBinary() ([]byte, error)
- func (m *DSSEV001SchemaEnvelopeHash) UnmarshalBinary(b []byte) error
- func (m *DSSEV001SchemaEnvelopeHash) Validate(formats strfmt.Registry) error
- type DSSEV001SchemaPayloadHash
- func (m *DSSEV001SchemaPayloadHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DSSEV001SchemaPayloadHash) MarshalBinary() ([]byte, error)
- func (m *DSSEV001SchemaPayloadHash) UnmarshalBinary(b []byte) error
- func (m *DSSEV001SchemaPayloadHash) Validate(formats strfmt.Registry) error
- type DSSEV001SchemaProposedContent
- func (m *DSSEV001SchemaProposedContent) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DSSEV001SchemaProposedContent) MarshalBinary() ([]byte, error)
- func (m *DSSEV001SchemaProposedContent) UnmarshalBinary(b []byte) error
- func (m *DSSEV001SchemaProposedContent) Validate(formats strfmt.Registry) error
- type DSSEV001SchemaSignaturesItems0
- func (m *DSSEV001SchemaSignaturesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DSSEV001SchemaSignaturesItems0) MarshalBinary() ([]byte, error)
- func (m *DSSEV001SchemaSignaturesItems0) UnmarshalBinary(b []byte) error
- func (m *DSSEV001SchemaSignaturesItems0) Validate(formats strfmt.Registry) error
- type Error
- type Hashedrekord
- func (m *Hashedrekord) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Hashedrekord) Kind() string
- func (m *Hashedrekord) MarshalBinary() ([]byte, error)
- func (m Hashedrekord) MarshalJSON() ([]byte, error)
- func (m *Hashedrekord) SetKind(val string)
- func (m *Hashedrekord) UnmarshalBinary(b []byte) error
- func (m *Hashedrekord) UnmarshalJSON(raw []byte) error
- func (m *Hashedrekord) Validate(formats strfmt.Registry) error
- type HashedrekordSchema
- type HashedrekordV001Schema
- func (m *HashedrekordV001Schema) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashedrekordV001Schema) MarshalBinary() ([]byte, error)
- func (m *HashedrekordV001Schema) UnmarshalBinary(b []byte) error
- func (m *HashedrekordV001Schema) Validate(formats strfmt.Registry) error
- type HashedrekordV001SchemaData
- func (m *HashedrekordV001SchemaData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashedrekordV001SchemaData) MarshalBinary() ([]byte, error)
- func (m *HashedrekordV001SchemaData) UnmarshalBinary(b []byte) error
- func (m *HashedrekordV001SchemaData) Validate(formats strfmt.Registry) error
- type HashedrekordV001SchemaDataHash
- func (m *HashedrekordV001SchemaDataHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashedrekordV001SchemaDataHash) MarshalBinary() ([]byte, error)
- func (m *HashedrekordV001SchemaDataHash) UnmarshalBinary(b []byte) error
- func (m *HashedrekordV001SchemaDataHash) Validate(formats strfmt.Registry) error
- type HashedrekordV001SchemaSignature
- func (m *HashedrekordV001SchemaSignature) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashedrekordV001SchemaSignature) MarshalBinary() ([]byte, error)
- func (m *HashedrekordV001SchemaSignature) UnmarshalBinary(b []byte) error
- func (m *HashedrekordV001SchemaSignature) Validate(formats strfmt.Registry) error
- type HashedrekordV001SchemaSignaturePublicKey
- func (m *HashedrekordV001SchemaSignaturePublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashedrekordV001SchemaSignaturePublicKey) MarshalBinary() ([]byte, error)
- func (m *HashedrekordV001SchemaSignaturePublicKey) UnmarshalBinary(b []byte) error
- func (m *HashedrekordV001SchemaSignaturePublicKey) Validate(formats strfmt.Registry) error
- type Helm
- func (m *Helm) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Helm) Kind() string
- func (m *Helm) MarshalBinary() ([]byte, error)
- func (m Helm) MarshalJSON() ([]byte, error)
- func (m *Helm) SetKind(val string)
- func (m *Helm) UnmarshalBinary(b []byte) error
- func (m *Helm) UnmarshalJSON(raw []byte) error
- func (m *Helm) Validate(formats strfmt.Registry) error
- type HelmSchema
- type HelmV001Schema
- type HelmV001SchemaChart
- type HelmV001SchemaChartHash
- func (m *HelmV001SchemaChartHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HelmV001SchemaChartHash) MarshalBinary() ([]byte, error)
- func (m *HelmV001SchemaChartHash) UnmarshalBinary(b []byte) error
- func (m *HelmV001SchemaChartHash) Validate(formats strfmt.Registry) error
- type HelmV001SchemaChartProvenance
- func (m *HelmV001SchemaChartProvenance) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HelmV001SchemaChartProvenance) MarshalBinary() ([]byte, error)
- func (m *HelmV001SchemaChartProvenance) UnmarshalBinary(b []byte) error
- func (m *HelmV001SchemaChartProvenance) Validate(formats strfmt.Registry) error
- type HelmV001SchemaChartProvenanceSignature
- func (m *HelmV001SchemaChartProvenanceSignature) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HelmV001SchemaChartProvenanceSignature) MarshalBinary() ([]byte, error)
- func (m *HelmV001SchemaChartProvenanceSignature) UnmarshalBinary(b []byte) error
- func (m *HelmV001SchemaChartProvenanceSignature) Validate(formats strfmt.Registry) error
- type HelmV001SchemaPublicKey
- func (m *HelmV001SchemaPublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HelmV001SchemaPublicKey) MarshalBinary() ([]byte, error)
- func (m *HelmV001SchemaPublicKey) UnmarshalBinary(b []byte) error
- func (m *HelmV001SchemaPublicKey) Validate(formats strfmt.Registry) error
- type InactiveShardLogInfo
- type InclusionProof
- type Intoto
- func (m *Intoto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Intoto) Kind() string
- func (m *Intoto) MarshalBinary() ([]byte, error)
- func (m Intoto) MarshalJSON() ([]byte, error)
- func (m *Intoto) SetKind(val string)
- func (m *Intoto) UnmarshalBinary(b []byte) error
- func (m *Intoto) UnmarshalJSON(raw []byte) error
- func (m *Intoto) Validate(formats strfmt.Registry) error
- type IntotoSchema
- type IntotoV001Schema
- type IntotoV001SchemaContent
- func (m *IntotoV001SchemaContent) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IntotoV001SchemaContent) MarshalBinary() ([]byte, error)
- func (m *IntotoV001SchemaContent) UnmarshalBinary(b []byte) error
- func (m *IntotoV001SchemaContent) Validate(formats strfmt.Registry) error
- type IntotoV001SchemaContentHash
- func (m *IntotoV001SchemaContentHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IntotoV001SchemaContentHash) MarshalBinary() ([]byte, error)
- func (m *IntotoV001SchemaContentHash) UnmarshalBinary(b []byte) error
- func (m *IntotoV001SchemaContentHash) Validate(formats strfmt.Registry) error
- type IntotoV001SchemaContentPayloadHash
- func (m *IntotoV001SchemaContentPayloadHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IntotoV001SchemaContentPayloadHash) MarshalBinary() ([]byte, error)
- func (m *IntotoV001SchemaContentPayloadHash) UnmarshalBinary(b []byte) error
- func (m *IntotoV001SchemaContentPayloadHash) Validate(formats strfmt.Registry) error
- type IntotoV002Schema
- type IntotoV002SchemaContent
- func (m *IntotoV002SchemaContent) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IntotoV002SchemaContent) MarshalBinary() ([]byte, error)
- func (m *IntotoV002SchemaContent) UnmarshalBinary(b []byte) error
- func (m *IntotoV002SchemaContent) Validate(formats strfmt.Registry) error
- type IntotoV002SchemaContentEnvelope
- func (m *IntotoV002SchemaContentEnvelope) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IntotoV002SchemaContentEnvelope) MarshalBinary() ([]byte, error)
- func (m *IntotoV002SchemaContentEnvelope) UnmarshalBinary(b []byte) error
- func (m *IntotoV002SchemaContentEnvelope) Validate(formats strfmt.Registry) error
- type IntotoV002SchemaContentEnvelopeSignaturesItems0
- func (m *IntotoV002SchemaContentEnvelopeSignaturesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IntotoV002SchemaContentEnvelopeSignaturesItems0) MarshalBinary() ([]byte, error)
- func (m *IntotoV002SchemaContentEnvelopeSignaturesItems0) UnmarshalBinary(b []byte) error
- func (m *IntotoV002SchemaContentEnvelopeSignaturesItems0) Validate(formats strfmt.Registry) error
- type IntotoV002SchemaContentHash
- func (m *IntotoV002SchemaContentHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IntotoV002SchemaContentHash) MarshalBinary() ([]byte, error)
- func (m *IntotoV002SchemaContentHash) UnmarshalBinary(b []byte) error
- func (m *IntotoV002SchemaContentHash) Validate(formats strfmt.Registry) error
- type IntotoV002SchemaContentPayloadHash
- func (m *IntotoV002SchemaContentPayloadHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IntotoV002SchemaContentPayloadHash) MarshalBinary() ([]byte, error)
- func (m *IntotoV002SchemaContentPayloadHash) UnmarshalBinary(b []byte) error
- func (m *IntotoV002SchemaContentPayloadHash) Validate(formats strfmt.Registry) error
- type Jar
- func (m *Jar) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Jar) Kind() string
- func (m *Jar) MarshalBinary() ([]byte, error)
- func (m Jar) MarshalJSON() ([]byte, error)
- func (m *Jar) SetKind(val string)
- func (m *Jar) UnmarshalBinary(b []byte) error
- func (m *Jar) UnmarshalJSON(raw []byte) error
- func (m *Jar) Validate(formats strfmt.Registry) error
- type JarSchema
- type JarV001Schema
- type JarV001SchemaArchive
- type JarV001SchemaArchiveHash
- func (m *JarV001SchemaArchiveHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *JarV001SchemaArchiveHash) MarshalBinary() ([]byte, error)
- func (m *JarV001SchemaArchiveHash) UnmarshalBinary(b []byte) error
- func (m *JarV001SchemaArchiveHash) Validate(formats strfmt.Registry) error
- type JarV001SchemaSignature
- func (m *JarV001SchemaSignature) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *JarV001SchemaSignature) MarshalBinary() ([]byte, error)
- func (m *JarV001SchemaSignature) UnmarshalBinary(b []byte) error
- func (m *JarV001SchemaSignature) Validate(formats strfmt.Registry) error
- type JarV001SchemaSignaturePublicKey
- func (m *JarV001SchemaSignaturePublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *JarV001SchemaSignaturePublicKey) MarshalBinary() ([]byte, error)
- func (m *JarV001SchemaSignaturePublicKey) UnmarshalBinary(b []byte) error
- func (m *JarV001SchemaSignaturePublicKey) Validate(formats strfmt.Registry) error
- type LogEntry
- type LogEntryAnon
- type LogEntryAnonAttestation
- func (m *LogEntryAnonAttestation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *LogEntryAnonAttestation) MarshalBinary() ([]byte, error)
- func (m *LogEntryAnonAttestation) UnmarshalBinary(b []byte) error
- func (m *LogEntryAnonAttestation) Validate(formats strfmt.Registry) error
- type LogEntryAnonVerification
- func (m *LogEntryAnonVerification) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *LogEntryAnonVerification) MarshalBinary() ([]byte, error)
- func (m *LogEntryAnonVerification) UnmarshalBinary(b []byte) error
- func (m *LogEntryAnonVerification) Validate(formats strfmt.Registry) error
- type LogInfo
- type ProposedEntry
- type Rekord
- func (m *Rekord) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Rekord) Kind() string
- func (m *Rekord) MarshalBinary() ([]byte, error)
- func (m Rekord) MarshalJSON() ([]byte, error)
- func (m *Rekord) SetKind(val string)
- func (m *Rekord) UnmarshalBinary(b []byte) error
- func (m *Rekord) UnmarshalJSON(raw []byte) error
- func (m *Rekord) Validate(formats strfmt.Registry) error
- type RekordSchema
- type RekordV001Schema
- type RekordV001SchemaData
- type RekordV001SchemaDataHash
- func (m *RekordV001SchemaDataHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RekordV001SchemaDataHash) MarshalBinary() ([]byte, error)
- func (m *RekordV001SchemaDataHash) UnmarshalBinary(b []byte) error
- func (m *RekordV001SchemaDataHash) Validate(formats strfmt.Registry) error
- type RekordV001SchemaSignature
- func (m *RekordV001SchemaSignature) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RekordV001SchemaSignature) MarshalBinary() ([]byte, error)
- func (m *RekordV001SchemaSignature) UnmarshalBinary(b []byte) error
- func (m *RekordV001SchemaSignature) Validate(formats strfmt.Registry) error
- type RekordV001SchemaSignaturePublicKey
- func (m *RekordV001SchemaSignaturePublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RekordV001SchemaSignaturePublicKey) MarshalBinary() ([]byte, error)
- func (m *RekordV001SchemaSignaturePublicKey) UnmarshalBinary(b []byte) error
- func (m *RekordV001SchemaSignaturePublicKey) Validate(formats strfmt.Registry) error
- type Rfc3161
- func (m *Rfc3161) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Rfc3161) Kind() string
- func (m *Rfc3161) MarshalBinary() ([]byte, error)
- func (m Rfc3161) MarshalJSON() ([]byte, error)
- func (m *Rfc3161) SetKind(val string)
- func (m *Rfc3161) UnmarshalBinary(b []byte) error
- func (m *Rfc3161) UnmarshalJSON(raw []byte) error
- func (m *Rfc3161) Validate(formats strfmt.Registry) error
- type Rfc3161Schema
- type Rfc3161V001Schema
- type Rfc3161V001SchemaTsr
- type Rpm
- func (m *Rpm) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Rpm) Kind() string
- func (m *Rpm) MarshalBinary() ([]byte, error)
- func (m Rpm) MarshalJSON() ([]byte, error)
- func (m *Rpm) SetKind(val string)
- func (m *Rpm) UnmarshalBinary(b []byte) error
- func (m *Rpm) UnmarshalJSON(raw []byte) error
- func (m *Rpm) Validate(formats strfmt.Registry) error
- type RpmSchema
- type RpmV001Schema
- type RpmV001SchemaPackage
- type RpmV001SchemaPackageHash
- func (m *RpmV001SchemaPackageHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RpmV001SchemaPackageHash) MarshalBinary() ([]byte, error)
- func (m *RpmV001SchemaPackageHash) UnmarshalBinary(b []byte) error
- func (m *RpmV001SchemaPackageHash) Validate(formats strfmt.Registry) error
- type RpmV001SchemaPublicKey
- func (m *RpmV001SchemaPublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RpmV001SchemaPublicKey) MarshalBinary() ([]byte, error)
- func (m *RpmV001SchemaPublicKey) UnmarshalBinary(b []byte) error
- func (m *RpmV001SchemaPublicKey) Validate(formats strfmt.Registry) error
- type SearchIndex
- type SearchIndexPublicKey
- type SearchLogQuery
- func (m *SearchLogQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SearchLogQuery) Entries() []ProposedEntry
- func (m *SearchLogQuery) MarshalBinary() ([]byte, error)
- func (m SearchLogQuery) MarshalJSON() ([]byte, error)
- func (m *SearchLogQuery) SetEntries(val []ProposedEntry)
- func (m *SearchLogQuery) UnmarshalBinary(b []byte) error
- func (m *SearchLogQuery) UnmarshalJSON(raw []byte) error
- func (m *SearchLogQuery) Validate(formats strfmt.Registry) error
- type TUF
- func (m *TUF) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TUF) Kind() string
- func (m *TUF) MarshalBinary() ([]byte, error)
- func (m TUF) MarshalJSON() ([]byte, error)
- func (m *TUF) SetKind(val string)
- func (m *TUF) UnmarshalBinary(b []byte) error
- func (m *TUF) UnmarshalJSON(raw []byte) error
- func (m *TUF) Validate(formats strfmt.Registry) error
- type TUFSchema
- type TUFV001Schema
- type TUFV001SchemaMetadata
- type TUFV001SchemaRoot
Constants ¶
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" )
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" )
const ( // SearchIndexOperatorAnd captures enum value "and" SearchIndexOperatorAnd string = "and" // SearchIndexOperatorOr captures enum value "or" SearchIndexOperatorOr string = "or" )
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" )
const ( // AlpineV001SchemaPackageHashAlgorithmSha256 captures enum value "sha256" AlpineV001SchemaPackageHashAlgorithmSha256 string = "sha256" )
const ( // CoseV001SchemaDataEnvelopeHashAlgorithmSha256 captures enum value "sha256" CoseV001SchemaDataEnvelopeHashAlgorithmSha256 string = "sha256" )
const ( // CoseV001SchemaDataPayloadHashAlgorithmSha256 captures enum value "sha256" CoseV001SchemaDataPayloadHashAlgorithmSha256 string = "sha256" )
const ( // DSSEV001SchemaEnvelopeHashAlgorithmSha256 captures enum value "sha256" DSSEV001SchemaEnvelopeHashAlgorithmSha256 string = "sha256" )
const ( // DSSEV001SchemaPayloadHashAlgorithmSha256 captures enum value "sha256" DSSEV001SchemaPayloadHashAlgorithmSha256 string = "sha256" )
const ( // HelmV001SchemaChartHashAlgorithmSha256 captures enum value "sha256" HelmV001SchemaChartHashAlgorithmSha256 string = "sha256" )
const ( // IntotoV001SchemaContentHashAlgorithmSha256 captures enum value "sha256" IntotoV001SchemaContentHashAlgorithmSha256 string = "sha256" )
const ( // IntotoV001SchemaContentPayloadHashAlgorithmSha256 captures enum value "sha256" IntotoV001SchemaContentPayloadHashAlgorithmSha256 string = "sha256" )
const ( // IntotoV002SchemaContentHashAlgorithmSha256 captures enum value "sha256" IntotoV002SchemaContentHashAlgorithmSha256 string = "sha256" )
const ( // IntotoV002SchemaContentPayloadHashAlgorithmSha256 captures enum value "sha256" IntotoV002SchemaContentPayloadHashAlgorithmSha256 string = "sha256" )
const ( // JarV001SchemaArchiveHashAlgorithmSha256 captures enum value "sha256" JarV001SchemaArchiveHashAlgorithmSha256 string = "sha256" )
const ( // RekordV001SchemaDataHashAlgorithmSha256 captures enum value "sha256" RekordV001SchemaDataHashAlgorithmSha256 string = "sha256" )
const ( // RpmV001SchemaPackageHashAlgorithmSha256 captures enum value "sha256" RpmV001SchemaPackageHashAlgorithmSha256 string = "sha256" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alpine ¶
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 ¶
ContextValidate validate this alpine based on the context it is used
func (*Alpine) MarshalBinary ¶
MarshalBinary interface implementation
func (Alpine) MarshalJSON ¶
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*Alpine) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Alpine) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type AlpineSchema ¶
type AlpineSchema interface{}
AlpineSchema Alpine Package Schema
Schema for Alpine package objects ¶
swagger:model alpineSchema
type AlpineV001Schema ¶
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 ¶
ContextValidate validate this alpine v001 schema based on the context it is used
func (*AlpineV001Schema) MarshalBinary ¶
func (m *AlpineV001Schema) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlpineV001Schema) UnmarshalBinary ¶
func (m *AlpineV001Schema) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlpineV001SchemaPackage ¶
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 ¶
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 ¶
func (m *AlpineV001SchemaPackage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlpineV001SchemaPackage) UnmarshalBinary ¶
func (m *AlpineV001SchemaPackage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlpineV001SchemaPackageHash ¶
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 ¶
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 ¶
func (m *AlpineV001SchemaPackageHash) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlpineV001SchemaPackageHash) UnmarshalBinary ¶
func (m *AlpineV001SchemaPackageHash) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlpineV001SchemaPublicKey ¶
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 ¶
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 ¶
func (m *AlpineV001SchemaPublicKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlpineV001SchemaPublicKey) UnmarshalBinary ¶
func (m *AlpineV001SchemaPublicKey) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
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
type Cose ¶
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 ¶
ContextValidate validate this cose based on the context it is used
func (*Cose) MarshalBinary ¶
MarshalBinary interface implementation
func (Cose) MarshalJSON ¶
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*Cose) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Cose) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type CoseSchema ¶
type CoseSchema interface{}
CoseSchema COSE Schema
COSE for Rekord objects ¶
swagger:model coseSchema
type CoseV001Schema ¶
type CoseV001Schema struct {
// data
Data *CoseV001SchemaData `json:"data,omitempty"`
// 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 ¶
ContextValidate validate this cose v001 schema based on the context it is used
func (*CoseV001Schema) MarshalBinary ¶
func (m *CoseV001Schema) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CoseV001Schema) UnmarshalBinary ¶
func (m *CoseV001Schema) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CoseV001SchemaData ¶
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 ¶
ContextValidate validate this cose v001 schema data based on the context it is used
func (*CoseV001SchemaData) MarshalBinary ¶
func (m *CoseV001SchemaData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CoseV001SchemaData) UnmarshalBinary ¶
func (m *CoseV001SchemaData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CoseV001SchemaDataEnvelopeHash ¶
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 ¶
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 ¶
func (m *CoseV001SchemaDataEnvelopeHash) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CoseV001SchemaDataEnvelopeHash) UnmarshalBinary ¶
func (m *CoseV001SchemaDataEnvelopeHash) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CoseV001SchemaDataPayloadHash ¶
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 ¶
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 ¶
func (m *CoseV001SchemaDataPayloadHash) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CoseV001SchemaDataPayloadHash) UnmarshalBinary ¶
func (m *CoseV001SchemaDataPayloadHash) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DSSE ¶
type DSSE 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 DSSESchema `json:"spec"`
}
DSSE DSSE envelope
swagger:model dsse
func (*DSSE) ContextValidate ¶
ContextValidate validate this dsse based on the context it is used
func (*DSSE) MarshalBinary ¶
MarshalBinary interface implementation
func (DSSE) MarshalJSON ¶
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*DSSE) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*DSSE) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type DSSESchema ¶
type DSSESchema interface{}
DSSESchema DSSE Schema
log entry schema for dsse envelopes
swagger:model dsseSchema
type DSSEV001Schema ¶
type DSSEV001Schema struct {
// envelope hash
EnvelopeHash *DSSEV001SchemaEnvelopeHash `json:"envelopeHash,omitempty"`
// payload hash
PayloadHash *DSSEV001SchemaPayloadHash `json:"payloadHash,omitempty"`
// proposed content
ProposedContent *DSSEV001SchemaProposedContent `json:"proposedContent,omitempty"`
// extracted collection of all signatures of the envelope's payload; elements will be sorted by lexicographical order of the base64 encoded signature strings
// Read Only: true
// Min Items: 1
Signatures []*DSSEV001SchemaSignaturesItems0 `json:"signatures"`
}
DSSEV001Schema DSSE v0.0.1 Schema
Schema for DSSE envelopes ¶
swagger:model dsseV001Schema
func (*DSSEV001Schema) ContextValidate ¶
ContextValidate validate this dsse v001 schema based on the context it is used
func (*DSSEV001Schema) MarshalBinary ¶
func (m *DSSEV001Schema) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DSSEV001Schema) UnmarshalBinary ¶
func (m *DSSEV001Schema) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DSSEV001SchemaEnvelopeHash ¶
type DSSEV001SchemaEnvelopeHash struct {
// The hashing function used to compute the hash value
// Required: true
// Enum: ["sha256"]
Algorithm *string `json:"algorithm"`
// The value of the computed digest over the entire envelope
// Required: true
Value *string `json:"value"`
}
DSSEV001SchemaEnvelopeHash Specifies the hash algorithm and value encompassing the entire envelope sent to Rekor
swagger:model DSSEV001SchemaEnvelopeHash
func (*DSSEV001SchemaEnvelopeHash) ContextValidate ¶
func (m *DSSEV001SchemaEnvelopeHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this DSSE v001 schema envelope hash based on the context it is used
func (*DSSEV001SchemaEnvelopeHash) MarshalBinary ¶
func (m *DSSEV001SchemaEnvelopeHash) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DSSEV001SchemaEnvelopeHash) UnmarshalBinary ¶
func (m *DSSEV001SchemaEnvelopeHash) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DSSEV001SchemaPayloadHash ¶
type DSSEV001SchemaPayloadHash struct {
// The hashing function used to compute the hash value
// Required: true
// Enum: ["sha256"]
Algorithm *string `json:"algorithm"`
// The value of the computed digest over the payload within the envelope
// Required: true
Value *string `json:"value"`
}
DSSEV001SchemaPayloadHash Specifies the hash algorithm and value covering the payload within the DSSE envelope
swagger:model DSSEV001SchemaPayloadHash
func (*DSSEV001SchemaPayloadHash) ContextValidate ¶
func (m *DSSEV001SchemaPayloadHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this DSSE v001 schema payload hash based on the context it is used
func (*DSSEV001SchemaPayloadHash) MarshalBinary ¶
func (m *DSSEV001SchemaPayloadHash) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DSSEV001SchemaPayloadHash) UnmarshalBinary ¶
func (m *DSSEV001SchemaPayloadHash) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DSSEV001SchemaProposedContent ¶
type DSSEV001SchemaProposedContent struct {
// DSSE envelope specified as a stringified JSON object
// Required: true
Envelope *string `json:"envelope"`
// collection of all verification material (e.g. public keys or certificates) used to verify signatures over envelope's payload, specified as base64-encoded strings
// Required: true
// Min Items: 1
Verifiers []strfmt.Base64 `json:"verifiers"`
}
DSSEV001SchemaProposedContent DSSE v001 schema proposed content
swagger:model DSSEV001SchemaProposedContent
func (*DSSEV001SchemaProposedContent) ContextValidate ¶
func (m *DSSEV001SchemaProposedContent) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this DSSE v001 schema proposed content based on context it is used
func (*DSSEV001SchemaProposedContent) MarshalBinary ¶
func (m *DSSEV001SchemaProposedContent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DSSEV001SchemaProposedContent) UnmarshalBinary ¶
func (m *DSSEV001SchemaProposedContent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DSSEV001SchemaSignaturesItems0 ¶
type DSSEV001SchemaSignaturesItems0 struct {
// base64 encoded signature of the payload
// Required: true
// Pattern: ^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=|[A-Za-z0-9+\/]{4})$
Signature *string `json:"signature"`
// verification material that was used to verify the corresponding signature, specified as a base64 encoded string
// Required: true
// Format: byte
Verifier *strfmt.Base64 `json:"verifier"`
}
DSSEV001SchemaSignaturesItems0 a signature of the envelope's payload along with the verification material for the signature
swagger:model DSSEV001SchemaSignaturesItems0
func (*DSSEV001SchemaSignaturesItems0) ContextValidate ¶
func (m *DSSEV001SchemaSignaturesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this DSSE v001 schema signatures items0 based on context it is used
func (*DSSEV001SchemaSignaturesItems0) MarshalBinary ¶
func (m *DSSEV001SchemaSignaturesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DSSEV001SchemaSignaturesItems0) UnmarshalBinary ¶
func (m *DSSEV001SchemaSignaturesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Hashedrekord ¶
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 ¶
ContextValidate validate this hashedrekord based on the context it is used
func (*Hashedrekord) MarshalBinary ¶
func (m *Hashedrekord) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (Hashedrekord) MarshalJSON ¶
func (m Hashedrekord) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*Hashedrekord) SetKind ¶
func (m *Hashedrekord) SetKind(val string)
SetKind sets the kind of this subtype
func (*Hashedrekord) UnmarshalBinary ¶
func (m *Hashedrekord) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*Hashedrekord) UnmarshalJSON ¶
func (m *Hashedrekord) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type HashedrekordSchema ¶
type HashedrekordSchema interface{}
HashedrekordSchema Hashedrekord Schema
Schema for Hashedrekord objects ¶
swagger:model hashedrekordSchema
type HashedrekordV001Schema ¶
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 ¶
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 ¶
func (m *HashedrekordV001Schema) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashedrekordV001Schema) UnmarshalBinary ¶
func (m *HashedrekordV001Schema) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashedrekordV001SchemaData ¶
type HashedrekordV001SchemaData struct {
// hash
Hash *HashedrekordV001SchemaDataHash `json:"hash,omitempty"`
}
HashedrekordV001SchemaData Information about the content associated with the entry
swagger:model HashedrekordV001SchemaData
func (*HashedrekordV001SchemaData) ContextValidate ¶
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 ¶
func (m *HashedrekordV001SchemaData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashedrekordV001SchemaData) UnmarshalBinary ¶
func (m *HashedrekordV001SchemaData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashedrekordV001SchemaDataHash ¶
type HashedrekordV001SchemaDataHash struct {
// The hashing function used to compute the hash value
// Required: true
// Enum: ["sha256","sha384","sha512"]
Algorithm *string `json:"algorithm"`
// The hash value for the content, as represented by a lower case hexadecimal string
// Required: true
Value *string `json:"value"`
}
HashedrekordV001SchemaDataHash Specifies the hash algorithm and value for the content
swagger:model HashedrekordV001SchemaDataHash
func (*HashedrekordV001SchemaDataHash) ContextValidate ¶
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 ¶
func (m *HashedrekordV001SchemaDataHash) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashedrekordV001SchemaDataHash) UnmarshalBinary ¶
func (m *HashedrekordV001SchemaDataHash) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashedrekordV001SchemaSignature ¶
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 ¶
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 ¶
func (m *HashedrekordV001SchemaSignature) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashedrekordV001SchemaSignature) UnmarshalBinary ¶
func (m *HashedrekordV001SchemaSignature) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashedrekordV001SchemaSignaturePublicKey ¶
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 ¶
func (m *HashedrekordV001SchemaSignaturePublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashedrekord v001 schema signature public key based on context it is used
func (*HashedrekordV001SchemaSignaturePublicKey) MarshalBinary ¶
func (m *HashedrekordV001SchemaSignaturePublicKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashedrekordV001SchemaSignaturePublicKey) UnmarshalBinary ¶
func (m *HashedrekordV001SchemaSignaturePublicKey) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Helm ¶
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 ¶
ContextValidate validate this helm based on the context it is used
func (*Helm) MarshalBinary ¶
MarshalBinary interface implementation
func (Helm) MarshalJSON ¶
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*Helm) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Helm) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type HelmSchema ¶
type HelmSchema interface{}
HelmSchema Helm Schema
Schema for Helm objects ¶
swagger:model helmSchema
type HelmV001Schema ¶
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 ¶
ContextValidate validate this helm v001 schema based on the context it is used
func (*HelmV001Schema) MarshalBinary ¶
func (m *HelmV001Schema) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HelmV001Schema) UnmarshalBinary ¶
func (m *HelmV001Schema) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HelmV001SchemaChart ¶
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 ¶
ContextValidate validate this helm v001 schema chart based on the context it is used
func (*HelmV001SchemaChart) MarshalBinary ¶
func (m *HelmV001SchemaChart) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HelmV001SchemaChart) UnmarshalBinary ¶
func (m *HelmV001SchemaChart) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HelmV001SchemaChartHash ¶
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 ¶
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 ¶
func (m *HelmV001SchemaChartHash) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HelmV001SchemaChartHash) UnmarshalBinary ¶
func (m *HelmV001SchemaChartHash) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HelmV001SchemaChartProvenance ¶
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 ¶
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 ¶
func (m *HelmV001SchemaChartProvenance) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HelmV001SchemaChartProvenance) UnmarshalBinary ¶
func (m *HelmV001SchemaChartProvenance) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HelmV001SchemaChartProvenanceSignature ¶
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 ¶
func (m *HelmV001SchemaChartProvenanceSignature) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this helm v001 schema chart provenance signature based on the context it is used
func (*HelmV001SchemaChartProvenanceSignature) MarshalBinary ¶
func (m *HelmV001SchemaChartProvenanceSignature) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HelmV001SchemaChartProvenanceSignature) UnmarshalBinary ¶
func (m *HelmV001SchemaChartProvenanceSignature) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HelmV001SchemaPublicKey ¶
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 ¶
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 ¶
func (m *HelmV001SchemaPublicKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HelmV001SchemaPublicKey) UnmarshalBinary ¶
func (m *HelmV001SchemaPublicKey) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InactiveShardLogInfo ¶
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 ¶
ContextValidate validates this inactive shard log info based on context it is used
func (*InactiveShardLogInfo) MarshalBinary ¶
func (m *InactiveShardLogInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InactiveShardLogInfo) UnmarshalBinary ¶
func (m *InactiveShardLogInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
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
type Intoto ¶
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 ¶
ContextValidate validate this intoto based on the context it is used
func (*Intoto) MarshalBinary ¶
MarshalBinary interface implementation
func (Intoto) MarshalJSON ¶
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*Intoto) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Intoto) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type IntotoSchema ¶
type IntotoSchema interface{}
IntotoSchema Intoto Schema
Intoto for Rekord objects ¶
swagger:model intotoSchema
type IntotoV001Schema ¶
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 ¶
ContextValidate validate this intoto v001 schema based on the context it is used
func (*IntotoV001Schema) MarshalBinary ¶
func (m *IntotoV001Schema) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IntotoV001Schema) UnmarshalBinary ¶
func (m *IntotoV001Schema) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IntotoV001SchemaContent ¶
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 ¶
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 ¶
func (m *IntotoV001SchemaContent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IntotoV001SchemaContent) UnmarshalBinary ¶
func (m *IntotoV001SchemaContent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IntotoV001SchemaContentHash ¶
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; this is computed by the rekor server, client-provided values are ignored
swagger:model IntotoV001SchemaContentHash
func (*IntotoV001SchemaContentHash) ContextValidate ¶
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 ¶
func (m *IntotoV001SchemaContentHash) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IntotoV001SchemaContentHash) UnmarshalBinary ¶
func (m *IntotoV001SchemaContentHash) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IntotoV001SchemaContentPayloadHash ¶
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; this is computed by the rekor server, client-provided values are ignored
swagger:model IntotoV001SchemaContentPayloadHash
func (*IntotoV001SchemaContentPayloadHash) ContextValidate ¶
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 ¶
func (m *IntotoV001SchemaContentPayloadHash) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IntotoV001SchemaContentPayloadHash) UnmarshalBinary ¶
func (m *IntotoV001SchemaContentPayloadHash) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IntotoV002Schema ¶
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 ¶
ContextValidate validate this intoto v002 schema based on the context it is used
func (*IntotoV002Schema) MarshalBinary ¶
func (m *IntotoV002Schema) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IntotoV002Schema) UnmarshalBinary ¶
func (m *IntotoV002Schema) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IntotoV002SchemaContent ¶
type IntotoV002SchemaContent struct {
// envelope
// Required: true
Envelope *IntotoV002SchemaContentEnvelope `json:"envelope"`
// hash
Hash *IntotoV002SchemaContentHash `json:"hash,omitempty"`
// payload hash
PayloadHash *IntotoV002SchemaContentPayloadHash `json:"payloadHash,omitempty"`
}
IntotoV002SchemaContent intoto v002 schema content
swagger:model IntotoV002SchemaContent
func (*IntotoV002SchemaContent) ContextValidate ¶
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 ¶
func (m *IntotoV002SchemaContent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IntotoV002SchemaContent) UnmarshalBinary ¶
func (m *IntotoV002SchemaContent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IntotoV002SchemaContentEnvelope ¶
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 ¶
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 ¶
func (m *IntotoV002SchemaContentEnvelope) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IntotoV002SchemaContentEnvelope) UnmarshalBinary ¶
func (m *IntotoV002SchemaContentEnvelope) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IntotoV002SchemaContentEnvelopeSignaturesItems0 ¶
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
// Required: true
// Format: byte
PublicKey *strfmt.Base64 `json:"publicKey"`
// signature of the payload
// Required: true
// Format: byte
Sig *strfmt.Base64 `json:"sig"`
}
IntotoV002SchemaContentEnvelopeSignaturesItems0 a signature of the envelope's payload along with the public key for the signature
swagger:model IntotoV002SchemaContentEnvelopeSignaturesItems0
func (*IntotoV002SchemaContentEnvelopeSignaturesItems0) ContextValidate ¶
func (m *IntotoV002SchemaContentEnvelopeSignaturesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this intoto v002 schema content envelope signatures items0 based on context it is used
func (*IntotoV002SchemaContentEnvelopeSignaturesItems0) MarshalBinary ¶
func (m *IntotoV002SchemaContentEnvelopeSignaturesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IntotoV002SchemaContentEnvelopeSignaturesItems0) UnmarshalBinary ¶
func (m *IntotoV002SchemaContentEnvelopeSignaturesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IntotoV002SchemaContentHash ¶
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 ¶
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 ¶
func (m *IntotoV002SchemaContentHash) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IntotoV002SchemaContentHash) UnmarshalBinary ¶
func (m *IntotoV002SchemaContentHash) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IntotoV002SchemaContentPayloadHash ¶
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 ¶
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 ¶
func (m *IntotoV002SchemaContentPayloadHash) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IntotoV002SchemaContentPayloadHash) UnmarshalBinary ¶
func (m *IntotoV002SchemaContentPayloadHash) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Jar ¶
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 ¶
ContextValidate validate this jar based on the context it is used
func (*Jar) MarshalBinary ¶
MarshalBinary interface implementation
func (Jar) MarshalJSON ¶
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*Jar) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Jar) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type JarSchema ¶
type JarSchema interface{}
JarSchema JAR Schema
Schema for JAR objects ¶
swagger:model jarSchema
type JarV001Schema ¶
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 ¶
ContextValidate validate this jar v001 schema based on the context it is used
func (*JarV001Schema) MarshalBinary ¶
func (m *JarV001Schema) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JarV001Schema) UnmarshalBinary ¶
func (m *JarV001Schema) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JarV001SchemaArchive ¶
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 ¶
ContextValidate validate this jar v001 schema archive based on the context it is used
func (*JarV001SchemaArchive) MarshalBinary ¶
func (m *JarV001SchemaArchive) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JarV001SchemaArchive) UnmarshalBinary ¶
func (m *JarV001SchemaArchive) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JarV001SchemaArchiveHash ¶
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 ¶
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 ¶
func (m *JarV001SchemaArchiveHash) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JarV001SchemaArchiveHash) UnmarshalBinary ¶
func (m *JarV001SchemaArchiveHash) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JarV001SchemaSignature ¶
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 ¶
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 ¶
func (m *JarV001SchemaSignature) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JarV001SchemaSignature) UnmarshalBinary ¶
func (m *JarV001SchemaSignature) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JarV001SchemaSignaturePublicKey ¶
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 ¶
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 ¶
func (m *JarV001SchemaSignaturePublicKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JarV001SchemaSignaturePublicKey) UnmarshalBinary ¶
func (m *JarV001SchemaSignaturePublicKey) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LogEntry ¶
type LogEntry map[string]LogEntryAnon
LogEntry log entry
swagger:model LogEntry
func (LogEntry) ContextValidate ¶
ContextValidate validate this log entry based on the context it is used
type LogEntryAnon ¶
type LogEntryAnon struct {
// attestation
Attestation *LogEntryAnonAttestation `json:"attestation,omitempty"`
// body
// Required: true
Body interface{} `json:"body"`
// The time the entry was added to the log as a Unix timestamp in seconds
// 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 ¶
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
type LogEntryAnonAttestation ¶
type LogEntryAnonAttestation struct {
// data
// Format: byte
Data strfmt.Base64 `json:"data,omitempty"`
}
LogEntryAnonAttestation log entry anon attestation
swagger:model LogEntryAnonAttestation
func (*LogEntryAnonAttestation) ContextValidate ¶
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 ¶
func (m *LogEntryAnonAttestation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LogEntryAnonAttestation) UnmarshalBinary ¶
func (m *LogEntryAnonAttestation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LogEntryAnonVerification ¶
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 ¶
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 ¶
func (m *LogEntryAnonVerification) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LogEntryAnonVerification) UnmarshalBinary ¶
func (m *LogEntryAnonVerification) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
ContextValidate validate this log info based on the context it is used
func (*LogInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*LogInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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 ¶
ContextValidate validate this rekord based on the context it is used
func (*Rekord) MarshalBinary ¶
MarshalBinary interface implementation
func (Rekord) MarshalJSON ¶
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*Rekord) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Rekord) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
type Rfc3161 ¶
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 ¶
ContextValidate validate this rfc3161 based on the context it is used
func (*Rfc3161) MarshalBinary ¶
MarshalBinary interface implementation
func (Rfc3161) MarshalJSON ¶
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*Rfc3161) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Rfc3161) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type Rfc3161Schema ¶
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 ¶
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 ¶
ContextValidate validate this rfc3161 v001 schema based on the context it is used
func (*Rfc3161V001Schema) MarshalBinary ¶
func (m *Rfc3161V001Schema) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Rfc3161V001Schema) UnmarshalBinary ¶
func (m *Rfc3161V001Schema) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Rfc3161V001SchemaTsr ¶
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 ¶
ContextValidate validates this rfc3161 v001 schema tsr based on context it is used
func (*Rfc3161V001SchemaTsr) MarshalBinary ¶
func (m *Rfc3161V001SchemaTsr) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Rfc3161V001SchemaTsr) UnmarshalBinary ¶
func (m *Rfc3161V001SchemaTsr) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
ContextValidate validate this rpm based on the context it is used
func (*Rpm) MarshalBinary ¶
MarshalBinary interface implementation
func (Rpm) MarshalJSON ¶
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*Rpm) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Rpm) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
type SearchIndex ¶
type SearchIndex struct {
// email
// Format: email
Email strfmt.Email `json:"email,omitempty"`
// hash
// Pattern: ^(sha512:)?[0-9a-fA-F]{128}$|^(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 ¶
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
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 ¶
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
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 ¶
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
type TUF ¶
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 ¶
ContextValidate validate this tuf based on the context it is used
func (*TUF) MarshalBinary ¶
MarshalBinary interface implementation
func (TUF) MarshalJSON ¶
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*TUF) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*TUF) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type TUFSchema ¶
type TUFSchema interface{}
TUFSchema TUF Schema
Schema for TUF metadata objects ¶
swagger:model tufSchema
type TUFV001Schema ¶
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 ¶
ContextValidate validate this tuf v001 schema based on the context it is used
func (*TUFV001Schema) MarshalBinary ¶
func (m *TUFV001Schema) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TUFV001Schema) UnmarshalBinary ¶
func (m *TUFV001Schema) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TUFV001SchemaMetadata ¶
type TUFV001SchemaMetadata struct {
// Specifies the metadata inline within the document
// Required: true
Content interface{} `json:"content"`
}
TUFV001SchemaMetadata TUF metadata
swagger:model TUFV001SchemaMetadata
func (*TUFV001SchemaMetadata) ContextValidate ¶
ContextValidate validates this TUF v001 schema metadata based on context it is used
func (*TUFV001SchemaMetadata) MarshalBinary ¶
func (m *TUFV001SchemaMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TUFV001SchemaMetadata) UnmarshalBinary ¶
func (m *TUFV001SchemaMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TUFV001SchemaRoot ¶
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 ¶
ContextValidate validates this TUF v001 schema root based on context it is used
func (*TUFV001SchemaRoot) MarshalBinary ¶
func (m *TUFV001SchemaRoot) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TUFV001SchemaRoot) UnmarshalBinary ¶
func (m *TUFV001SchemaRoot) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- alpine.go
- alpine_schema.go
- alpine_v001_schema.go
- consistency_proof.go
- cose.go
- cose_schema.go
- cose_v001_schema.go
- dsse.go
- dsse_schema.go
- dsse_v001_schema.go
- error.go
- hashedrekord.go
- hashedrekord_schema.go
- hashedrekord_v001_schema.go
- helm.go
- helm_schema.go
- helm_v001_schema.go
- inactive_shard_log_info.go
- inclusion_proof.go
- intoto.go
- intoto_schema.go
- intoto_v001_schema.go
- intoto_v002_schema.go
- jar.go
- jar_schema.go
- jar_v001_schema.go
- log_entry.go
- log_info.go
- proposed_entry.go
- rekord.go
- rekord_schema.go
- rekord_v001_schema.go
- rfc3161.go
- rfc3161_schema.go
- rfc3161_v001_schema.go
- rpm.go
- rpm_schema.go
- rpm_v001_schema.go
- search_index.go
- search_log_query.go
- tuf.go
- tuf_schema.go
- tuf_v001_schema.go