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 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 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 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 RekorVersion
- 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 ( // 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 ( // 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 ( // HashedrekordV001SchemaDataHashAlgorithmSha256 captures enum value "sha256" HashedrekordV001SchemaDataHashAlgorithmSha256 string = "sha256" )
const ( // HelmV001SchemaChartHashAlgorithmSha256 captures enum value "sha256" HelmV001SchemaChartHashAlgorithmSha256 string = "sha256" )
const ( // IntotoV001SchemaContentHashAlgorithmSha256 captures enum value "sha256" IntotoV001SchemaContentHashAlgorithmSha256 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 ¶ added in v0.3.0
type Alpine struct { // api version // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$ APIVersion *string `json:"apiVersion"` // spec // Required: true Spec AlpineSchema `json:"spec"` }
Alpine Alpine package
swagger:model alpine
func (*Alpine) ContextValidate ¶ added in v0.3.0
ContextValidate validate this alpine based on the context it is used
func (*Alpine) MarshalBinary ¶ added in v0.3.0
MarshalBinary interface implementation
func (Alpine) MarshalJSON ¶ added in v0.3.0
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*Alpine) UnmarshalBinary ¶ added in v0.3.0
UnmarshalBinary interface implementation
func (*Alpine) UnmarshalJSON ¶ added in v0.3.0
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type AlpineSchema ¶ added in v0.3.0
type AlpineSchema interface{}
AlpineSchema Alpine Package Schema
Schema for Alpine package objects ¶
swagger:model alpineSchema
type AlpineV001Schema ¶ added in v0.3.0
type AlpineV001Schema struct { // package // Required: true Package *AlpineV001SchemaPackage `json:"package"` // public key // Required: true PublicKey *AlpineV001SchemaPublicKey `json:"publicKey"` }
AlpineV001Schema Alpine v0.0.1 Schema
Schema for Alpine Package entries ¶
swagger:model alpineV001Schema
func (*AlpineV001Schema) ContextValidate ¶ added in v0.3.0
ContextValidate validate this alpine v001 schema based on the context it is used
func (*AlpineV001Schema) MarshalBinary ¶ added in v0.3.0
func (m *AlpineV001Schema) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlpineV001Schema) UnmarshalBinary ¶ added in v0.3.0
func (m *AlpineV001Schema) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlpineV001SchemaPackage ¶ added in v0.3.0
type AlpineV001SchemaPackage struct { // Specifies the package inline within the document // Format: byte Content strfmt.Base64 `json:"content,omitempty"` // hash Hash *AlpineV001SchemaPackageHash `json:"hash,omitempty"` // Values of the .PKGINFO key / value pairs // Read Only: true Pkginfo map[string]string `json:"pkginfo,omitempty"` // Specifies the location of the package; if this is specified, a hash value must also be provided // Format: uri URL strfmt.URI `json:"url,omitempty"` }
AlpineV001SchemaPackage Information about the package associated with the entry
swagger:model AlpineV001SchemaPackage
func (*AlpineV001SchemaPackage) ContextValidate ¶ added in v0.3.0
func (m *AlpineV001SchemaPackage) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this alpine v001 schema package based on the context it is used
func (*AlpineV001SchemaPackage) MarshalBinary ¶ added in v0.3.0
func (m *AlpineV001SchemaPackage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlpineV001SchemaPackage) UnmarshalBinary ¶ added in v0.3.0
func (m *AlpineV001SchemaPackage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlpineV001SchemaPackageHash ¶ added in v0.3.0
type AlpineV001SchemaPackageHash struct { // The hashing function used to compute the hash value // Required: true // Enum: [sha256] Algorithm *string `json:"algorithm"` // The hash value for the package // Required: true Value *string `json:"value"` }
AlpineV001SchemaPackageHash Specifies the hash algorithm and value for the package
swagger:model AlpineV001SchemaPackageHash
func (*AlpineV001SchemaPackageHash) ContextValidate ¶ added in v0.3.0
func (m *AlpineV001SchemaPackageHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this alpine v001 schema package hash based on context it is used
func (*AlpineV001SchemaPackageHash) MarshalBinary ¶ added in v0.3.0
func (m *AlpineV001SchemaPackageHash) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlpineV001SchemaPackageHash) UnmarshalBinary ¶ added in v0.3.0
func (m *AlpineV001SchemaPackageHash) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlpineV001SchemaPublicKey ¶ added in v0.3.0
type AlpineV001SchemaPublicKey struct { // Specifies the content of the public key inline within the document // Format: byte Content strfmt.Base64 `json:"content,omitempty"` // Specifies the location of the public key // Format: uri URL strfmt.URI `json:"url,omitempty"` }
AlpineV001SchemaPublicKey The public key that can verify the package signature
swagger:model AlpineV001SchemaPublicKey
func (*AlpineV001SchemaPublicKey) ContextValidate ¶ added in v0.3.0
func (m *AlpineV001SchemaPublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this alpine v001 schema public key based on context it is used
func (*AlpineV001SchemaPublicKey) MarshalBinary ¶ added in v0.3.0
func (m *AlpineV001SchemaPublicKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlpineV001SchemaPublicKey) UnmarshalBinary ¶ added in v0.3.0
func (m *AlpineV001SchemaPublicKey) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConsistencyProof ¶
type ConsistencyProof struct { // hashes // Required: true Hashes []string `json:"hashes"` // The hash value stored at the root of the merkle tree at the time the proof was generated // Required: true // Pattern: ^[0-9a-fA-F]{64}$ RootHash *string `json:"rootHash"` }
ConsistencyProof consistency proof
swagger:model ConsistencyProof
func (*ConsistencyProof) ContextValidate ¶ added in v0.2.0
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 Error ¶
type Error struct { // code Code int64 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` }
Error error
swagger:model Error
func (*Error) ContextValidate ¶ added in v0.2.0
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Hashedrekord ¶ added in v0.4.0
type Hashedrekord struct { // api version // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$ APIVersion *string `json:"apiVersion"` // spec // Required: true Spec HashedrekordSchema `json:"spec"` }
Hashedrekord Hashed Rekord object
swagger:model hashedrekord
func (*Hashedrekord) ContextValidate ¶ added in v0.4.0
ContextValidate validate this hashedrekord based on the context it is used
func (*Hashedrekord) Kind ¶ added in v0.4.0
func (m *Hashedrekord) Kind() string
Kind gets the kind of this subtype
func (*Hashedrekord) MarshalBinary ¶ added in v0.4.0
func (m *Hashedrekord) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (Hashedrekord) MarshalJSON ¶ added in v0.4.0
func (m Hashedrekord) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*Hashedrekord) SetKind ¶ added in v0.4.0
func (m *Hashedrekord) SetKind(val string)
SetKind sets the kind of this subtype
func (*Hashedrekord) UnmarshalBinary ¶ added in v0.4.0
func (m *Hashedrekord) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*Hashedrekord) UnmarshalJSON ¶ added in v0.4.0
func (m *Hashedrekord) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type HashedrekordSchema ¶ added in v0.4.0
type HashedrekordSchema interface{}
HashedrekordSchema Rekor Schema
Schema for Rekord objects ¶
swagger:model hashedrekordSchema
type HashedrekordV001Schema ¶ added in v0.4.0
type HashedrekordV001Schema struct { // data // Required: true Data *HashedrekordV001SchemaData `json:"data"` // signature // Required: true Signature *HashedrekordV001SchemaSignature `json:"signature"` }
HashedrekordV001Schema Hashed Rekor v0.0.1 Schema
Schema for Hashed Rekord object ¶
swagger:model hashedrekordV001Schema
func (*HashedrekordV001Schema) ContextValidate ¶ added in v0.4.0
func (m *HashedrekordV001Schema) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashedrekord v001 schema based on the context it is used
func (*HashedrekordV001Schema) MarshalBinary ¶ added in v0.4.0
func (m *HashedrekordV001Schema) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashedrekordV001Schema) UnmarshalBinary ¶ added in v0.4.0
func (m *HashedrekordV001Schema) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashedrekordV001SchemaData ¶ added in v0.4.0
type HashedrekordV001SchemaData struct { // hash Hash *HashedrekordV001SchemaDataHash `json:"hash,omitempty"` }
HashedrekordV001SchemaData Information about the content associated with the entry
swagger:model HashedrekordV001SchemaData
func (*HashedrekordV001SchemaData) ContextValidate ¶ added in v0.4.0
func (m *HashedrekordV001SchemaData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashedrekord v001 schema data based on the context it is used
func (*HashedrekordV001SchemaData) MarshalBinary ¶ added in v0.4.0
func (m *HashedrekordV001SchemaData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashedrekordV001SchemaData) UnmarshalBinary ¶ added in v0.4.0
func (m *HashedrekordV001SchemaData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashedrekordV001SchemaDataHash ¶ added in v0.4.0
type HashedrekordV001SchemaDataHash struct { // The hashing function used to compute the hash value // Required: true // Enum: [sha256] Algorithm *string `json:"algorithm"` // The hash value for the content // Required: true Value *string `json:"value"` }
HashedrekordV001SchemaDataHash Specifies the hash algorithm and value for the content
swagger:model HashedrekordV001SchemaDataHash
func (*HashedrekordV001SchemaDataHash) ContextValidate ¶ added in v0.4.0
func (m *HashedrekordV001SchemaDataHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashedrekord v001 schema data hash based on context it is used
func (*HashedrekordV001SchemaDataHash) MarshalBinary ¶ added in v0.4.0
func (m *HashedrekordV001SchemaDataHash) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashedrekordV001SchemaDataHash) UnmarshalBinary ¶ added in v0.4.0
func (m *HashedrekordV001SchemaDataHash) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashedrekordV001SchemaSignature ¶ added in v0.4.0
type HashedrekordV001SchemaSignature struct { // Specifies the content of the signature inline within the document // Format: byte Content strfmt.Base64 `json:"content,omitempty"` // public key PublicKey *HashedrekordV001SchemaSignaturePublicKey `json:"publicKey,omitempty"` }
HashedrekordV001SchemaSignature Information about the detached signature associated with the entry
swagger:model HashedrekordV001SchemaSignature
func (*HashedrekordV001SchemaSignature) ContextValidate ¶ added in v0.4.0
func (m *HashedrekordV001SchemaSignature) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashedrekord v001 schema signature based on the context it is used
func (*HashedrekordV001SchemaSignature) MarshalBinary ¶ added in v0.4.0
func (m *HashedrekordV001SchemaSignature) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashedrekordV001SchemaSignature) UnmarshalBinary ¶ added in v0.4.0
func (m *HashedrekordV001SchemaSignature) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashedrekordV001SchemaSignaturePublicKey ¶ added in v0.4.0
type HashedrekordV001SchemaSignaturePublicKey struct { // Specifies the content of the public key inline within the document // Format: byte Content strfmt.Base64 `json:"content,omitempty"` }
HashedrekordV001SchemaSignaturePublicKey The public key that can verify the signature
swagger:model HashedrekordV001SchemaSignaturePublicKey
func (*HashedrekordV001SchemaSignaturePublicKey) ContextValidate ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (m *HashedrekordV001SchemaSignaturePublicKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashedrekordV001SchemaSignaturePublicKey) UnmarshalBinary ¶ added in v0.4.0
func (m *HashedrekordV001SchemaSignaturePublicKey) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Helm ¶ added in v0.3.0
type Helm struct { // api version // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$ APIVersion *string `json:"apiVersion"` // spec // Required: true Spec HelmSchema `json:"spec"` }
Helm Helm chart
swagger:model helm
func (*Helm) ContextValidate ¶ added in v0.3.0
ContextValidate validate this helm based on the context it is used
func (*Helm) MarshalBinary ¶ added in v0.3.0
MarshalBinary interface implementation
func (Helm) MarshalJSON ¶ added in v0.3.0
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*Helm) UnmarshalBinary ¶ added in v0.3.0
UnmarshalBinary interface implementation
func (*Helm) UnmarshalJSON ¶ added in v0.3.0
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type HelmSchema ¶ added in v0.3.0
type HelmSchema interface{}
HelmSchema Helm Schema
Schema for Helm objects ¶
swagger:model helmSchema
type HelmV001Schema ¶ added in v0.3.0
type HelmV001Schema struct { // chart // Required: true Chart *HelmV001SchemaChart `json:"chart"` // public key // Required: true PublicKey *HelmV001SchemaPublicKey `json:"publicKey"` }
HelmV001Schema Helm v0.0.1 Schema
Schema for Helm object ¶
swagger:model helmV001Schema
func (*HelmV001Schema) ContextValidate ¶ added in v0.3.0
ContextValidate validate this helm v001 schema based on the context it is used
func (*HelmV001Schema) MarshalBinary ¶ added in v0.3.0
func (m *HelmV001Schema) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HelmV001Schema) UnmarshalBinary ¶ added in v0.3.0
func (m *HelmV001Schema) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HelmV001SchemaChart ¶ added in v0.3.0
type HelmV001SchemaChart struct { // hash Hash *HelmV001SchemaChartHash `json:"hash,omitempty"` // provenance // Required: true Provenance *HelmV001SchemaChartProvenance `json:"provenance"` }
HelmV001SchemaChart Information about the Helm chart associated with the entry
swagger:model HelmV001SchemaChart
func (*HelmV001SchemaChart) ContextValidate ¶ added in v0.3.0
ContextValidate validate this helm v001 schema chart based on the context it is used
func (*HelmV001SchemaChart) MarshalBinary ¶ added in v0.3.0
func (m *HelmV001SchemaChart) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HelmV001SchemaChart) UnmarshalBinary ¶ added in v0.3.0
func (m *HelmV001SchemaChart) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HelmV001SchemaChartHash ¶ added in v0.3.0
type HelmV001SchemaChartHash struct { // The hashing function used to compute the hash value // Required: true // Enum: [sha256] Algorithm *string `json:"algorithm"` // The hash value for the chart // Required: true Value *string `json:"value"` }
HelmV001SchemaChartHash Specifies the hash algorithm and value for the chart
swagger:model HelmV001SchemaChartHash
func (*HelmV001SchemaChartHash) ContextValidate ¶ added in v0.3.0
func (m *HelmV001SchemaChartHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this helm v001 schema chart hash based on the context it is used
func (*HelmV001SchemaChartHash) MarshalBinary ¶ added in v0.3.0
func (m *HelmV001SchemaChartHash) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HelmV001SchemaChartHash) UnmarshalBinary ¶ added in v0.3.0
func (m *HelmV001SchemaChartHash) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HelmV001SchemaChartProvenance ¶ added in v0.3.0
type HelmV001SchemaChartProvenance struct { // Specifies the content of the provenance file inline within the document // Format: byte Content strfmt.Base64 `json:"content,omitempty"` // signature Signature *HelmV001SchemaChartProvenanceSignature `json:"signature,omitempty"` // Specifies the location of the provenance file // Format: uri URL strfmt.URI `json:"url,omitempty"` }
HelmV001SchemaChartProvenance The provenance entry associated with the signed Helm Chart
swagger:model HelmV001SchemaChartProvenance
func (*HelmV001SchemaChartProvenance) ContextValidate ¶ added in v0.3.0
func (m *HelmV001SchemaChartProvenance) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this helm v001 schema chart provenance based on the context it is used
func (*HelmV001SchemaChartProvenance) MarshalBinary ¶ added in v0.3.0
func (m *HelmV001SchemaChartProvenance) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HelmV001SchemaChartProvenance) UnmarshalBinary ¶ added in v0.3.0
func (m *HelmV001SchemaChartProvenance) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HelmV001SchemaChartProvenanceSignature ¶ added in v0.3.0
type HelmV001SchemaChartProvenanceSignature struct { // Specifies the signature embedded within the provenance file // Required: true // Read Only: true // Format: byte Content strfmt.Base64 `json:"content"` }
HelmV001SchemaChartProvenanceSignature Information about the included signature in the provenance file
swagger:model HelmV001SchemaChartProvenanceSignature
func (*HelmV001SchemaChartProvenanceSignature) ContextValidate ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (m *HelmV001SchemaChartProvenanceSignature) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HelmV001SchemaChartProvenanceSignature) UnmarshalBinary ¶ added in v0.3.0
func (m *HelmV001SchemaChartProvenanceSignature) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HelmV001SchemaPublicKey ¶ added in v0.3.0
type HelmV001SchemaPublicKey struct { // Specifies the content of the public key inline within the document // Format: byte Content strfmt.Base64 `json:"content,omitempty"` // Specifies the location of the public key // Format: uri URL strfmt.URI `json:"url,omitempty"` }
HelmV001SchemaPublicKey The public key that can verify the package signature
swagger:model HelmV001SchemaPublicKey
func (*HelmV001SchemaPublicKey) ContextValidate ¶ added in v0.3.0
func (m *HelmV001SchemaPublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this helm v001 schema public key based on context it is used
func (*HelmV001SchemaPublicKey) MarshalBinary ¶ added in v0.3.0
func (m *HelmV001SchemaPublicKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HelmV001SchemaPublicKey) UnmarshalBinary ¶ added in v0.3.0
func (m *HelmV001SchemaPublicKey) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InclusionProof ¶
type InclusionProof struct { // A list of hashes required to compute the inclusion proof, sorted in order from leaf to root // Required: true Hashes []string `json:"hashes"` // The index of the entry in the transparency log // Required: true // Minimum: 0 LogIndex *int64 `json:"logIndex"` // The hash value stored at the root of the merkle tree at the time the proof was generated // Required: true // Pattern: ^[0-9a-fA-F]{64}$ RootHash *string `json:"rootHash"` // The size of the merkle tree at the time the inclusion proof was generated // Required: true // Minimum: 1 TreeSize *int64 `json:"treeSize"` }
InclusionProof inclusion proof
swagger:model InclusionProof
func (*InclusionProof) ContextValidate ¶ added in v0.2.0
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 ¶ added in v0.2.0
type Intoto struct { // api version // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$ APIVersion *string `json:"apiVersion"` // spec // Required: true Spec IntotoSchema `json:"spec"` }
Intoto Intoto object
swagger:model intoto
func (*Intoto) ContextValidate ¶ added in v0.2.0
ContextValidate validate this intoto based on the context it is used
func (*Intoto) MarshalBinary ¶ added in v0.2.0
MarshalBinary interface implementation
func (Intoto) MarshalJSON ¶ added in v0.2.0
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*Intoto) UnmarshalBinary ¶ added in v0.2.0
UnmarshalBinary interface implementation
func (*Intoto) UnmarshalJSON ¶ added in v0.2.0
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type IntotoSchema ¶ added in v0.2.0
type IntotoSchema interface{}
IntotoSchema Intoto Schema
Intoto for Rekord objects ¶
swagger:model intotoSchema
type IntotoV001Schema ¶ added in v0.2.0
type IntotoV001Schema struct { // content // Required: true Content *IntotoV001SchemaContent `json:"content"` // The public key that can verify the signature // Required: true // Format: byte PublicKey *strfmt.Base64 `json:"publicKey"` }
IntotoV001Schema intoto v0.0.1 Schema
Schema for intoto object ¶
swagger:model intotoV001Schema
func (*IntotoV001Schema) ContextValidate ¶ added in v0.2.0
ContextValidate validate this intoto v001 schema based on the context it is used
func (*IntotoV001Schema) MarshalBinary ¶ added in v0.2.0
func (m *IntotoV001Schema) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IntotoV001Schema) UnmarshalBinary ¶ added in v0.2.0
func (m *IntotoV001Schema) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IntotoV001SchemaContent ¶ added in v0.2.0
type IntotoV001SchemaContent struct { // envelope Envelope string `json:"envelope,omitempty"` // hash Hash *IntotoV001SchemaContentHash `json:"hash,omitempty"` }
IntotoV001SchemaContent intoto v001 schema content
swagger:model IntotoV001SchemaContent
func (*IntotoV001SchemaContent) ContextValidate ¶ added in v0.2.0
func (m *IntotoV001SchemaContent) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this intoto v001 schema content based on the context it is used
func (*IntotoV001SchemaContent) MarshalBinary ¶ added in v0.2.0
func (m *IntotoV001SchemaContent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IntotoV001SchemaContent) UnmarshalBinary ¶ added in v0.2.0
func (m *IntotoV001SchemaContent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IntotoV001SchemaContentHash ¶ added in v0.2.0
type IntotoV001SchemaContentHash struct { // The hashing function used to compute the hash value // Required: true // Enum: [sha256] Algorithm *string `json:"algorithm"` // The hash value for the archive // Required: true Value *string `json:"value"` }
IntotoV001SchemaContentHash Specifies the hash algorithm and value encompassing the entire signed envelope
swagger:model IntotoV001SchemaContentHash
func (*IntotoV001SchemaContentHash) ContextValidate ¶ added in v0.2.0
func (m *IntotoV001SchemaContentHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this intoto v001 schema content hash based on the context it is used
func (*IntotoV001SchemaContentHash) MarshalBinary ¶ added in v0.2.0
func (m *IntotoV001SchemaContentHash) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IntotoV001SchemaContentHash) UnmarshalBinary ¶ added in v0.2.0
func (m *IntotoV001SchemaContentHash) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Jar ¶ added in v0.2.0
type Jar struct { // api version // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$ APIVersion *string `json:"apiVersion"` // spec // Required: true Spec JarSchema `json:"spec"` }
Jar Java Archive (JAR)
swagger:model jar
func (*Jar) ContextValidate ¶ added in v0.2.0
ContextValidate validate this jar based on the context it is used
func (*Jar) MarshalBinary ¶ added in v0.2.0
MarshalBinary interface implementation
func (Jar) MarshalJSON ¶ added in v0.2.0
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*Jar) UnmarshalBinary ¶ added in v0.2.0
UnmarshalBinary interface implementation
func (*Jar) UnmarshalJSON ¶ added in v0.2.0
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type JarSchema ¶ added in v0.2.0
type JarSchema interface{}
JarSchema JAR Schema
Schema for JAR objects ¶
swagger:model jarSchema
type JarV001Schema ¶ added in v0.2.0
type JarV001Schema struct { // archive // Required: true Archive *JarV001SchemaArchive `json:"archive"` // signature Signature *JarV001SchemaSignature `json:"signature,omitempty"` }
JarV001Schema JAR v0.0.1 Schema
Schema for JAR entries ¶
swagger:model jarV001Schema
func (*JarV001Schema) ContextValidate ¶ added in v0.2.0
ContextValidate validate this jar v001 schema based on the context it is used
func (*JarV001Schema) MarshalBinary ¶ added in v0.2.0
func (m *JarV001Schema) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JarV001Schema) UnmarshalBinary ¶ added in v0.2.0
func (m *JarV001Schema) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JarV001SchemaArchive ¶ added in v0.2.0
type JarV001SchemaArchive struct { // Specifies the archive inline within the document // Format: byte Content strfmt.Base64 `json:"content,omitempty"` // hash Hash *JarV001SchemaArchiveHash `json:"hash,omitempty"` // Specifies the location of the archive; if this is specified, a hash value must also be provided // Format: uri URL strfmt.URI `json:"url,omitempty"` }
JarV001SchemaArchive Information about the archive associated with the entry
swagger:model JarV001SchemaArchive
func (*JarV001SchemaArchive) ContextValidate ¶ added in v0.2.0
ContextValidate validate this jar v001 schema archive based on the context it is used
func (*JarV001SchemaArchive) MarshalBinary ¶ added in v0.2.0
func (m *JarV001SchemaArchive) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JarV001SchemaArchive) UnmarshalBinary ¶ added in v0.2.0
func (m *JarV001SchemaArchive) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JarV001SchemaArchiveHash ¶ added in v0.2.0
type JarV001SchemaArchiveHash struct { // The hashing function used to compute the hash value // Required: true // Enum: [sha256] Algorithm *string `json:"algorithm"` // The hash value for the archive // Required: true Value *string `json:"value"` }
JarV001SchemaArchiveHash Specifies the hash algorithm and value encompassing the entire signed archive
swagger:model JarV001SchemaArchiveHash
func (*JarV001SchemaArchiveHash) ContextValidate ¶ added in v0.2.0
func (m *JarV001SchemaArchiveHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this jar v001 schema archive hash based on context it is used
func (*JarV001SchemaArchiveHash) MarshalBinary ¶ added in v0.2.0
func (m *JarV001SchemaArchiveHash) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JarV001SchemaArchiveHash) UnmarshalBinary ¶ added in v0.2.0
func (m *JarV001SchemaArchiveHash) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JarV001SchemaSignature ¶ added in v0.2.0
type JarV001SchemaSignature struct { // Specifies the PKCS7 signature embedded within the JAR file // Required: true // Read Only: true // Format: byte Content strfmt.Base64 `json:"content"` // public key // Required: true PublicKey *JarV001SchemaSignaturePublicKey `json:"publicKey"` }
JarV001SchemaSignature Information about the included signature in the JAR file
swagger:model JarV001SchemaSignature
func (*JarV001SchemaSignature) ContextValidate ¶ added in v0.2.0
func (m *JarV001SchemaSignature) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this jar v001 schema signature based on the context it is used
func (*JarV001SchemaSignature) MarshalBinary ¶ added in v0.2.0
func (m *JarV001SchemaSignature) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JarV001SchemaSignature) UnmarshalBinary ¶ added in v0.2.0
func (m *JarV001SchemaSignature) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JarV001SchemaSignaturePublicKey ¶ added in v0.2.0
type JarV001SchemaSignaturePublicKey struct { // Specifies the content of the X509 certificate containing the public key used to verify the signature // Required: true // Format: byte Content *strfmt.Base64 `json:"content"` }
JarV001SchemaSignaturePublicKey The X509 certificate containing the public key JAR which verifies the signature of the JAR
swagger:model JarV001SchemaSignaturePublicKey
func (*JarV001SchemaSignaturePublicKey) ContextValidate ¶ added in v0.2.0
func (m *JarV001SchemaSignaturePublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this jar v001 schema signature public key based on the context it is used
func (*JarV001SchemaSignaturePublicKey) MarshalBinary ¶ added in v0.2.0
func (m *JarV001SchemaSignaturePublicKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JarV001SchemaSignaturePublicKey) UnmarshalBinary ¶ added in v0.2.0
func (m *JarV001SchemaSignaturePublicKey) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LogEntry ¶
type LogEntry map[string]LogEntryAnon
LogEntry log entry
swagger:model LogEntry
func (LogEntry) ContextValidate ¶ added in v0.2.0
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"` // integrated time // Required: true IntegratedTime *int64 `json:"integratedTime"` // This is the SHA256 hash of the DER-encoded public key for the log at the time the entry was included in the log // Required: true // Pattern: ^[0-9a-fA-F]{64}$ LogID *string `json:"logID"` // log index // Required: true // Minimum: 0 LogIndex *int64 `json:"logIndex"` // verification Verification *LogEntryAnonVerification `json:"verification,omitempty"` }
LogEntryAnon log entry anon
swagger:model LogEntryAnon
func (*LogEntryAnon) ContextValidate ¶ added in v0.2.0
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 ¶ added in v0.3.0
type LogEntryAnonAttestation struct { // data // Format: byte Data strfmt.Base64 `json:"data,omitempty"` }
LogEntryAnonAttestation log entry anon attestation
swagger:model LogEntryAnonAttestation
func (*LogEntryAnonAttestation) ContextValidate ¶ added in v0.3.0
func (m *LogEntryAnonAttestation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this log entry anon attestation based on context it is used
func (*LogEntryAnonAttestation) MarshalBinary ¶ added in v0.3.0
func (m *LogEntryAnonAttestation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LogEntryAnonAttestation) UnmarshalBinary ¶ added in v0.3.0
func (m *LogEntryAnonAttestation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LogEntryAnonVerification ¶ added in v0.2.0
type LogEntryAnonVerification struct { // inclusion proof InclusionProof *InclusionProof `json:"inclusionProof,omitempty"` // Signature over the logID, logIndex, body and integratedTime. // Format: byte SignedEntryTimestamp strfmt.Base64 `json:"signedEntryTimestamp,omitempty"` }
LogEntryAnonVerification log entry anon verification
swagger:model LogEntryAnonVerification
func (*LogEntryAnonVerification) ContextValidate ¶ added in v0.2.0
func (m *LogEntryAnonVerification) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this log entry anon verification based on the context it is used
func (*LogEntryAnonVerification) MarshalBinary ¶ added in v0.2.0
func (m *LogEntryAnonVerification) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LogEntryAnonVerification) UnmarshalBinary ¶ added in v0.2.0
func (m *LogEntryAnonVerification) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LogInfo ¶
type LogInfo 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 number of nodes in the merkle tree // Required: true // Minimum: 1 TreeSize *int64 `json:"treeSize"` }
LogInfo log info
swagger:model LogInfo
func (*LogInfo) ContextValidate ¶ added in v0.2.0
ContextValidate validates this log info based on 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 RekorVersion ¶ added in v0.5.0
type RekorVersion struct { // builddate // Required: true Builddate *string `json:"builddate"` // commit // Required: true Commit *string `json:"commit"` // treestate // Required: true Treestate *string `json:"treestate"` // version // Required: true Version *string `json:"version"` }
RekorVersion rekor version
swagger:model RekorVersion
func (*RekorVersion) ContextValidate ¶ added in v0.5.0
ContextValidate validates this rekor version based on context it is used
func (*RekorVersion) MarshalBinary ¶ added in v0.5.0
func (m *RekorVersion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RekorVersion) UnmarshalBinary ¶ added in v0.5.0
func (m *RekorVersion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Rekord ¶
type Rekord struct { // api version // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$ APIVersion *string `json:"apiVersion"` // spec // Required: true Spec RekordSchema `json:"spec"` }
Rekord Rekord object
swagger:model rekord
func (*Rekord) ContextValidate ¶ added in v0.2.0
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 ¶ added in v0.2.0
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"` // Specifies the location of the content // Format: uri URL strfmt.URI `json:"url,omitempty"` }
RekordV001SchemaData Information about the content associated with the entry
swagger:model RekordV001SchemaData
func (*RekordV001SchemaData) ContextValidate ¶ added in v0.2.0
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 ¶ added in v0.2.0
func (m *RekordV001SchemaDataHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this rekord v001 schema data hash based on 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 // Format: byte Content strfmt.Base64 `json:"content,omitempty"` // Specifies the format of the signature // Enum: [pgp minisign x509 ssh] Format string `json:"format,omitempty"` // public key PublicKey *RekordV001SchemaSignaturePublicKey `json:"publicKey,omitempty"` // Specifies the location of the signature // Format: uri URL strfmt.URI `json:"url,omitempty"` }
RekordV001SchemaSignature Information about the detached signature associated with the entry
swagger:model RekordV001SchemaSignature
func (*RekordV001SchemaSignature) ContextValidate ¶ added in v0.2.0
func (m *RekordV001SchemaSignature) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this rekord v001 schema signature based on the context it is used
func (*RekordV001SchemaSignature) MarshalBinary ¶
func (m *RekordV001SchemaSignature) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RekordV001SchemaSignature) UnmarshalBinary ¶
func (m *RekordV001SchemaSignature) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RekordV001SchemaSignaturePublicKey ¶
type RekordV001SchemaSignaturePublicKey struct { // Specifies the content of the public key inline within the document // Format: byte Content strfmt.Base64 `json:"content,omitempty"` // Specifies the location of the public key // Format: uri URL strfmt.URI `json:"url,omitempty"` }
RekordV001SchemaSignaturePublicKey The public key that can verify the signature
swagger:model RekordV001SchemaSignaturePublicKey
func (*RekordV001SchemaSignaturePublicKey) ContextValidate ¶ added in v0.2.0
func (m *RekordV001SchemaSignaturePublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this rekord v001 schema signature public key based on context it is used
func (*RekordV001SchemaSignaturePublicKey) MarshalBinary ¶
func (m *RekordV001SchemaSignaturePublicKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RekordV001SchemaSignaturePublicKey) UnmarshalBinary ¶
func (m *RekordV001SchemaSignaturePublicKey) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Rfc3161 ¶ added in v0.2.0
type Rfc3161 struct { // api version // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$ APIVersion *string `json:"apiVersion"` // spec // Required: true Spec Rfc3161Schema `json:"spec"` }
Rfc3161 RFC3161 Timestamp
swagger:model rfc3161
func (*Rfc3161) ContextValidate ¶ added in v0.2.0
ContextValidate validate this rfc3161 based on the context it is used
func (*Rfc3161) MarshalBinary ¶ added in v0.2.0
MarshalBinary interface implementation
func (Rfc3161) MarshalJSON ¶ added in v0.2.0
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*Rfc3161) UnmarshalBinary ¶ added in v0.2.0
UnmarshalBinary interface implementation
func (*Rfc3161) UnmarshalJSON ¶ added in v0.2.0
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type Rfc3161Schema ¶ added in v0.2.0
type Rfc3161Schema interface{}
Rfc3161Schema Timestamp Schema
Schema for RFC 3161 timestamp objects RFC 3161 timestamp objects" aria-label="Go to Schema for RFC 3161 timestamp objects">¶
swagger:model rfc3161Schema
type Rfc3161V001Schema ¶ added in v0.2.0
type Rfc3161V001Schema struct { // tsr // Required: true Tsr *Rfc3161V001SchemaTsr `json:"tsr"` }
Rfc3161V001Schema Timestamp v0.0.1 Schema
Schema for RFC3161 entries ¶
swagger:model rfc3161V001Schema
func (*Rfc3161V001Schema) ContextValidate ¶ added in v0.2.0
ContextValidate validate this rfc3161 v001 schema based on the context it is used
func (*Rfc3161V001Schema) MarshalBinary ¶ added in v0.2.0
func (m *Rfc3161V001Schema) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Rfc3161V001Schema) UnmarshalBinary ¶ added in v0.2.0
func (m *Rfc3161V001Schema) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Rfc3161V001SchemaTsr ¶ added in v0.2.0
type Rfc3161V001SchemaTsr struct { // Specifies the tsr file content inline within the document // Required: true // Format: byte Content *strfmt.Base64 `json:"content"` }
Rfc3161V001SchemaTsr Information about the tsr file associated with the entry
swagger:model Rfc3161V001SchemaTsr
func (*Rfc3161V001SchemaTsr) ContextValidate ¶ added in v0.2.0
ContextValidate validates this rfc3161 v001 schema tsr based on context it is used
func (*Rfc3161V001SchemaTsr) MarshalBinary ¶ added in v0.2.0
func (m *Rfc3161V001SchemaTsr) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Rfc3161V001SchemaTsr) UnmarshalBinary ¶ added in v0.2.0
func (m *Rfc3161V001SchemaTsr) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Rpm ¶
type Rpm struct { // api version // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$ APIVersion *string `json:"apiVersion"` // spec // Required: true Spec RpmSchema `json:"spec"` }
Rpm RPM package
swagger:model rpm
func (*Rpm) ContextValidate ¶ added in v0.2.0
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 ¶ added in v0.2.0
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"` // Specifies the location of the package; if this is specified, a hash value must also be provided // Format: uri URL strfmt.URI `json:"url,omitempty"` }
RpmV001SchemaPackage Information about the package associated with the entry
swagger:model RpmV001SchemaPackage
func (*RpmV001SchemaPackage) ContextValidate ¶ added in v0.2.0
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 ¶ added in v0.2.0
func (m *RpmV001SchemaPackageHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this rpm v001 schema package hash based on context it is used
func (*RpmV001SchemaPackageHash) MarshalBinary ¶
func (m *RpmV001SchemaPackageHash) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RpmV001SchemaPackageHash) UnmarshalBinary ¶
func (m *RpmV001SchemaPackageHash) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RpmV001SchemaPublicKey ¶
type RpmV001SchemaPublicKey struct { // Specifies the content of the public key inline within the document // Format: byte Content strfmt.Base64 `json:"content,omitempty"` // Specifies the location of the public key // Format: uri URL strfmt.URI `json:"url,omitempty"` }
RpmV001SchemaPublicKey The PGP public key that can verify the RPM signature
swagger:model RpmV001SchemaPublicKey
func (*RpmV001SchemaPublicKey) ContextValidate ¶ added in v0.2.0
func (m *RpmV001SchemaPublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this rpm v001 schema public key based on context it is used
func (*RpmV001SchemaPublicKey) MarshalBinary ¶
func (m *RpmV001SchemaPublicKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RpmV001SchemaPublicKey) UnmarshalBinary ¶
func (m *RpmV001SchemaPublicKey) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SearchIndex ¶
type SearchIndex struct { // email // Format: email Email strfmt.Email `json:"email,omitempty"` // hash // Pattern: ^(sha256:)?[0-9a-fA-F]{64}$|^(sha1:)?[0-9a-fA-F]{40}$ Hash string `json:"hash,omitempty"` // public key PublicKey *SearchIndexPublicKey `json:"publicKey,omitempty"` }
SearchIndex search index
swagger:model SearchIndex
func (*SearchIndex) ContextValidate ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 EntryUUIDs []string `json:"entryUUIDs"` // log indexes // Min Items: 1 LogIndexes []*int64 `json:"logIndexes"` // contains filtered or unexported fields }
SearchLogQuery search log query
swagger:model SearchLogQuery
func (*SearchLogQuery) ContextValidate ¶ added in v0.2.0
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 ¶ added in v0.4.0
type TUF struct { // api version // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$ APIVersion *string `json:"apiVersion"` // spec // Required: true Spec TUFSchema `json:"spec"` }
TUF TUF metadata
swagger:model tuf
func (*TUF) ContextValidate ¶ added in v0.4.0
ContextValidate validate this tuf based on the context it is used
func (*TUF) MarshalBinary ¶ added in v0.4.0
MarshalBinary interface implementation
func (TUF) MarshalJSON ¶ added in v0.4.0
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*TUF) UnmarshalBinary ¶ added in v0.4.0
UnmarshalBinary interface implementation
func (*TUF) UnmarshalJSON ¶ added in v0.4.0
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type TUFSchema ¶ added in v0.4.0
type TUFSchema interface{}
TUFSchema TUF Schema
Schema for TUF metadata objects ¶
swagger:model tufSchema
type TUFV001Schema ¶ added in v0.4.0
type TUFV001Schema struct { // metadata // Required: true Metadata *TUFV001SchemaMetadata `json:"metadata"` // root // Required: true Root *TUFV001SchemaRoot `json:"root"` // TUF specification version // Read Only: true SpecVersion string `json:"spec_version,omitempty"` }
TUFV001Schema TUF v0.0.1 Schema
Schema for TUF metadata entries ¶
swagger:model tufV001Schema
func (*TUFV001Schema) ContextValidate ¶ added in v0.4.0
ContextValidate validate this tuf v001 schema based on the context it is used
func (*TUFV001Schema) MarshalBinary ¶ added in v0.4.0
func (m *TUFV001Schema) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TUFV001Schema) UnmarshalBinary ¶ added in v0.4.0
func (m *TUFV001Schema) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TUFV001SchemaMetadata ¶ added in v0.4.0
type TUFV001SchemaMetadata struct { // Specifies the archive inline within the document Content interface{} `json:"content,omitempty"` // Specifies the location of the archive // Format: uri URL strfmt.URI `json:"url,omitempty"` }
TUFV001SchemaMetadata TUF metadata
swagger:model TUFV001SchemaMetadata
func (*TUFV001SchemaMetadata) ContextValidate ¶ added in v0.4.0
ContextValidate validates this TUF v001 schema metadata based on context it is used
func (*TUFV001SchemaMetadata) MarshalBinary ¶ added in v0.4.0
func (m *TUFV001SchemaMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TUFV001SchemaMetadata) UnmarshalBinary ¶ added in v0.4.0
func (m *TUFV001SchemaMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TUFV001SchemaRoot ¶ added in v0.4.0
type TUFV001SchemaRoot struct { // Specifies the archive inline within the document Content interface{} `json:"content,omitempty"` // Specifies the location of the archive // Format: uri URL strfmt.URI `json:"url,omitempty"` }
TUFV001SchemaRoot root metadata containing about the public keys used to sign the manifest
swagger:model TUFV001SchemaRoot
func (*TUFV001SchemaRoot) ContextValidate ¶ added in v0.4.0
ContextValidate validates this TUF v001 schema root based on context it is used
func (*TUFV001SchemaRoot) MarshalBinary ¶ added in v0.4.0
func (m *TUFV001SchemaRoot) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TUFV001SchemaRoot) UnmarshalBinary ¶ added in v0.4.0
func (m *TUFV001SchemaRoot) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- alpine.go
- alpine_schema.go
- alpine_v001_schema.go
- consistency_proof.go
- error.go
- hashedrekord.go
- hashedrekord_schema.go
- hashedrekord_v001_schema.go
- helm.go
- helm_schema.go
- helm_v001_schema.go
- inclusion_proof.go
- intoto.go
- intoto_schema.go
- intoto_v001_schema.go
- jar.go
- jar_schema.go
- jar_v001_schema.go
- log_entry.go
- log_info.go
- proposed_entry.go
- rekor_version.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