packageservice_mock

package
v0.0.0-...-0117b6e Latest Latest
Warning

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

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

Documentation

Overview

Code generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManifestCache

type ManifestCache struct {
	mock.Mock
}

ManifestCache is an autogenerated mock type for the ManifestCache type

func (*ManifestCache) DeleteManifest

func (_m *ManifestCache) DeleteManifest(packageArn string, packageVersion string) error

DeleteManifest provides a mock function with given fields: packageArn, packageVersion

func (*ManifestCache) ReadManifest

func (_m *ManifestCache) ReadManifest(packageArn string, packageVersion string) ([]byte, error)

ReadManifest provides a mock function with given fields: packageArn, packageVersion

func (*ManifestCache) ReadManifestHash

func (_m *ManifestCache) ReadManifestHash(packageArn string, documentVersion string) ([]byte, error)

ReadManifestHash provides a mock function with given fields: packageArn, documentVersion

func (*ManifestCache) WriteManifest

func (_m *ManifestCache) WriteManifest(packageArn string, packageVersion string, content []byte) error

WriteManifest provides a mock function with given fields: packageArn, packageVersion, content

func (*ManifestCache) WriteManifestHash

func (_m *ManifestCache) WriteManifestHash(packageArn string, documentVersion string, content []byte) error

WriteManifestHash provides a mock function with given fields: packageArn, documentVersion, content

type Mock

type Mock struct {
	mock.Mock
}

func (*Mock) DownloadArtifact

func (ds *Mock) DownloadArtifact(tracer trace.Tracer, packageName string, version string) (string, error)

func (*Mock) DownloadManifest

func (ds *Mock) DownloadManifest(tracer trace.Tracer, packageName string, version string) (string, string, bool, error)

func (*Mock) GetPackageArnAndVersion

func (ds *Mock) GetPackageArnAndVersion(packageName string, packageVersion string) (name string, version string)

func (*Mock) PackageServiceName

func (ds *Mock) PackageServiceName() string

func (*Mock) ReportResult

func (ds *Mock) ReportResult(tracer trace.Tracer, result packageservice.PackageResult) error

Jump to

Keyboard shortcuts

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