v1

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_in_toto_attestation_predicates_vsa_v1_vsa_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type VerificationSummary

type VerificationSummary struct {
	Verifier           *VerificationSummary_Verifier           `protobuf:"bytes,1,opt,name=verifier,proto3" json:"verifier,omitempty"`
	TimeVerified       *timestamppb.Timestamp                  `protobuf:"bytes,2,opt,name=time_verified,json=timeVerified,proto3" json:"time_verified,omitempty"`
	ResourceUri        string                                  `protobuf:"bytes,3,opt,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
	Policy             *VerificationSummary_Policy             `protobuf:"bytes,4,opt,name=policy,proto3" json:"policy,omitempty"`
	InputAttestations  []*VerificationSummary_InputAttestation `protobuf:"bytes,5,rep,name=input_attestations,json=inputAttestations,proto3" json:"input_attestations,omitempty"`
	VerificationResult string                                  `protobuf:"bytes,6,opt,name=verification_result,json=verificationResult,proto3" json:"verification_result,omitempty"`
	VerifiedLevels     string                                  `protobuf:"bytes,7,opt,name=verified_levels,json=verifiedLevels,proto3" json:"verified_levels,omitempty"`
	DependencyLevels   map[string]uint64                       `` /* 198-byte string literal not displayed */
	SlsaVersion        string                                  `protobuf:"bytes,9,opt,name=slsa_version,json=slsaVersion,proto3" json:"slsa_version,omitempty"`
	// contains filtered or unexported fields
}

Proto representation of predicate type https://slsa.dev/verification_summary/v1 Validation of all fields is left to the users of this proto.

func (*VerificationSummary) Descriptor deprecated

func (*VerificationSummary) Descriptor() ([]byte, []int)

Deprecated: Use VerificationSummary.ProtoReflect.Descriptor instead.

func (*VerificationSummary) GetDependencyLevels

func (x *VerificationSummary) GetDependencyLevels() map[string]uint64

func (*VerificationSummary) GetInputAttestations

func (x *VerificationSummary) GetInputAttestations() []*VerificationSummary_InputAttestation

func (*VerificationSummary) GetPolicy

func (*VerificationSummary) GetResourceUri

func (x *VerificationSummary) GetResourceUri() string

func (*VerificationSummary) GetSlsaVersion

func (x *VerificationSummary) GetSlsaVersion() string

func (*VerificationSummary) GetTimeVerified

func (x *VerificationSummary) GetTimeVerified() *timestamppb.Timestamp

func (*VerificationSummary) GetVerificationResult

func (x *VerificationSummary) GetVerificationResult() string

func (*VerificationSummary) GetVerifiedLevels

func (x *VerificationSummary) GetVerifiedLevels() string

func (*VerificationSummary) GetVerifier

func (*VerificationSummary) ProtoMessage

func (*VerificationSummary) ProtoMessage()

func (*VerificationSummary) ProtoReflect

func (x *VerificationSummary) ProtoReflect() protoreflect.Message

func (*VerificationSummary) Reset

func (x *VerificationSummary) Reset()

func (*VerificationSummary) String

func (x *VerificationSummary) String() string

type VerificationSummary_InputAttestation

type VerificationSummary_InputAttestation struct {
	Uri    string            `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	Digest map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*VerificationSummary_InputAttestation) Descriptor deprecated

func (*VerificationSummary_InputAttestation) Descriptor() ([]byte, []int)

Deprecated: Use VerificationSummary_InputAttestation.ProtoReflect.Descriptor instead.

func (*VerificationSummary_InputAttestation) GetDigest

func (*VerificationSummary_InputAttestation) GetUri

func (*VerificationSummary_InputAttestation) ProtoMessage

func (*VerificationSummary_InputAttestation) ProtoMessage()

func (*VerificationSummary_InputAttestation) ProtoReflect

func (*VerificationSummary_InputAttestation) Reset

func (*VerificationSummary_InputAttestation) String

type VerificationSummary_Policy

type VerificationSummary_Policy struct {
	Uri    string            `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	Digest map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*VerificationSummary_Policy) Descriptor deprecated

func (*VerificationSummary_Policy) Descriptor() ([]byte, []int)

Deprecated: Use VerificationSummary_Policy.ProtoReflect.Descriptor instead.

func (*VerificationSummary_Policy) GetDigest

func (x *VerificationSummary_Policy) GetDigest() map[string]string

func (*VerificationSummary_Policy) GetUri

func (x *VerificationSummary_Policy) GetUri() string

func (*VerificationSummary_Policy) ProtoMessage

func (*VerificationSummary_Policy) ProtoMessage()

func (*VerificationSummary_Policy) ProtoReflect

func (*VerificationSummary_Policy) Reset

func (x *VerificationSummary_Policy) Reset()

func (*VerificationSummary_Policy) String

func (x *VerificationSummary_Policy) String() string

type VerificationSummary_Verifier

type VerificationSummary_Verifier struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*VerificationSummary_Verifier) Descriptor deprecated

func (*VerificationSummary_Verifier) Descriptor() ([]byte, []int)

Deprecated: Use VerificationSummary_Verifier.ProtoReflect.Descriptor instead.

func (*VerificationSummary_Verifier) GetId

func (*VerificationSummary_Verifier) ProtoMessage

func (*VerificationSummary_Verifier) ProtoMessage()

func (*VerificationSummary_Verifier) ProtoReflect

func (*VerificationSummary_Verifier) Reset

func (x *VerificationSummary_Verifier) Reset()

func (*VerificationSummary_Verifier) String

Jump to

Keyboard shortcuts

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