services

package
v1.47.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EvidenceCreationBody

type EvidenceCreationBody struct {
	EvidenceDetails
}

type EvidenceDetails

type EvidenceDetails struct {
	SubjectUri  string `json:"subject_uri"`
	DSSEFileRaw []byte `json:"dsse_file_raw"`
}

type EvidenceOperation

type EvidenceOperation interface {
	// contains filtered or unexported methods
}

type EvidenceService

type EvidenceService struct {
	// contains filtered or unexported fields
}

func NewEvidenceService

func NewEvidenceService(evidenceDetails auth.ServiceDetails, client *jfroghttpclient.JfrogHttpClient) *EvidenceService

func (*EvidenceService) GetEvidenceDetails

func (es *EvidenceService) GetEvidenceDetails() auth.ServiceDetails

func (*EvidenceService) UploadEvidence

func (es *EvidenceService) UploadEvidence(evidenceDetails EvidenceDetails) ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳