mockbundle

package
v0.0.68 Latest Latest
Warning

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

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

Documentation

Overview

Package mockbundle is a generated GoMock package.

Package mockbundle is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBundleReader

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

MockBundleReader is a mock of BundleReader interface.

func NewMockBundleReader

func NewMockBundleReader(ctrl *gomock.Controller) *MockBundleReader

NewMockBundleReader creates a new mock instance.

func (*MockBundleReader) EXPECT

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

func (*MockBundleReader) ForEachRuleType

func (m *MockBundleReader) ForEachRuleType(arg0 func(*v1.RuleType) error) error

ForEachRuleType mocks base method.

func (*MockBundleReader) GetMetadata

func (m *MockBundleReader) GetMetadata() *mindpak.Metadata

GetMetadata mocks base method.

func (*MockBundleReader) GetProfile

func (m *MockBundleReader) GetProfile(arg0 string) (*v1.Profile, error)

GetProfile mocks base method.

type MockBundleReaderMockRecorder

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

MockBundleReaderMockRecorder is the mock recorder for MockBundleReader.

func (*MockBundleReaderMockRecorder) ForEachRuleType

func (mr *MockBundleReaderMockRecorder) ForEachRuleType(arg0 any) *gomock.Call

ForEachRuleType indicates an expected call of ForEachRuleType.

func (*MockBundleReaderMockRecorder) GetMetadata

func (mr *MockBundleReaderMockRecorder) GetMetadata() *gomock.Call

GetMetadata indicates an expected call of GetMetadata.

func (*MockBundleReaderMockRecorder) GetProfile

func (mr *MockBundleReaderMockRecorder) GetProfile(arg0 any) *gomock.Call

GetProfile indicates an expected call of GetProfile.

type MockBundleSource

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

MockBundleSource is a mock of BundleSource interface.

func NewMockBundleSource

func NewMockBundleSource(ctrl *gomock.Controller) *MockBundleSource

NewMockBundleSource creates a new mock instance.

func (*MockBundleSource) EXPECT

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

func (*MockBundleSource) GetBundle

GetBundle mocks base method.

func (*MockBundleSource) ListBundles

func (m *MockBundleSource) ListBundles() ([]mindpak.BundleID, error)

ListBundles mocks base method.

type MockBundleSourceMockRecorder

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

MockBundleSourceMockRecorder is the mock recorder for MockBundleSource.

func (*MockBundleSourceMockRecorder) GetBundle

func (mr *MockBundleSourceMockRecorder) GetBundle(id any) *gomock.Call

GetBundle indicates an expected call of GetBundle.

func (*MockBundleSourceMockRecorder) ListBundles

func (mr *MockBundleSourceMockRecorder) ListBundles() *gomock.Call

ListBundles indicates an expected call of ListBundles.

Directories

Path Synopsis
Package fixtures contains code for creating bundle fixtures and is used in various parts of the code.
Package fixtures contains code for creating bundle fixtures and is used in various parts of the code.

Jump to

Keyboard shortcuts

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