mock

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package appregistry is a generated GoMock package.

Package appregistry is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockapprApiAdapter

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

MockapprApiAdapter is a mock of apprApiAdapter interface

func NewMockapprApiAdapter

func NewMockapprApiAdapter(ctrl *gomock.Controller) *MockapprApiAdapter

NewMockapprApiAdapter creates a new mock instance

func (*MockapprApiAdapter) DownloadOperatorManifest

func (m *MockapprApiAdapter) DownloadOperatorManifest(namespace, repository, digest string) ([]byte, error)

DownloadOperatorManifest mocks base method

func (*MockapprApiAdapter) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockapprApiAdapter) GetPackageMetadata

func (m *MockapprApiAdapter) GetPackageMetadata(namespace, repository, release string) (*openapi.Package, error)

GetPackageMetadata mocks base method

func (*MockapprApiAdapter) ListPackages

func (m *MockapprApiAdapter) ListPackages(namespace string) ([]openapi.PackageDescription, error)

ListPackages mocks base method

type MockapprApiAdapterMockRecorder

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

MockapprApiAdapterMockRecorder is the mock recorder for MockapprApiAdapter

func (*MockapprApiAdapterMockRecorder) DownloadOperatorManifest

func (mr *MockapprApiAdapterMockRecorder) DownloadOperatorManifest(namespace, repository, digest interface{}) *gomock.Call

DownloadOperatorManifest indicates an expected call of DownloadOperatorManifest

func (*MockapprApiAdapterMockRecorder) GetPackageMetadata

func (mr *MockapprApiAdapterMockRecorder) GetPackageMetadata(namespace, repository, release interface{}) *gomock.Call

GetPackageMetadata indicates an expected call of GetPackageMetadata

func (*MockapprApiAdapterMockRecorder) ListPackages

func (mr *MockapprApiAdapterMockRecorder) ListPackages(namespace interface{}) *gomock.Call

ListPackages indicates an expected call of ListPackages

type MockblobDecoder

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

MockblobDecoder is a mock of blobDecoder interface

func NewMockblobDecoder

func NewMockblobDecoder(ctrl *gomock.Controller) *MockblobDecoder

NewMockblobDecoder creates a new mock instance

func (*MockblobDecoder) Decode

func (m *MockblobDecoder) Decode(encoded []byte) ([]byte, error)

Decode mocks base method

func (*MockblobDecoder) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

type MockblobDecoderMockRecorder

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

MockblobDecoderMockRecorder is the mock recorder for MockblobDecoder

func (*MockblobDecoderMockRecorder) Decode

func (mr *MockblobDecoderMockRecorder) Decode(encoded interface{}) *gomock.Call

Decode indicates an expected call of Decode

Jump to

Keyboard shortcuts

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