evidencetest

package
v2.0.0-ccit-pre2 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MockListEvidenceRequest1 = &evidence.ListEvidencesRequest{
		Filter: &evidence.Filter{
			CertificationTargetId: util.Ref(testdata.MockCertificationTargetID1),
			ToolId:                util.Ref(testdata.MockEvidenceToolID1),
		},
	}
	MockListEvidenceRequest2 = &evidence.ListEvidencesRequest{
		Filter: &evidence.Filter{
			CertificationTargetId: util.Ref(testdata.MockCertificationTargetID2),
			ToolId:                util.Ref(testdata.MockEvidenceToolID2),
		},
	}
)
View Source
var (
	MockEvidence1 = &evidence.Evidence{
		Id:                    testdata.MockEvidenceID1,
		Timestamp:             timestamppb.Now(),
		CertificationTargetId: testdata.MockCertificationTargetID1,
		ToolId:                testdata.MockEvidenceToolID1,
		Raw:                   util.Ref("This Raw field must be of length >1"),
		Resource:              nil,
	}
	MockEvidence2 = &evidence.Evidence{
		Id:                    testdata.MockEvidenceID2,
		Timestamp:             timestamppb.Now(),
		CertificationTargetId: testdata.MockCertificationTargetID2,
		ToolId:                testdata.MockEvidenceToolID2,
		Raw:                   util.Ref(""),
		Resource:              nil,
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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