Help us shape the future of Go! Take the 2026 Go Developer Survey

mockTreeEntry

package
v0.0.70 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mockTreeEntry is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEntry

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

MockEntry is a mock of Entry interface.

func NewMockEntry

func NewMockEntry(ctrl *gomock.Controller) *MockEntry

NewMockEntry creates a new mock instance.

func (*MockEntry) AddChild added in v0.0.67

func (m *MockEntry) AddChild(arg0 context.Context, arg1 api.Entry) error

AddChild mocks base method.

func (*MockEntry) AddUpdateRecursive added in v0.0.56

func (m *MockEntry) AddUpdateRecursive(ctx context.Context, relativePath *sdcpb.Path, u *types.Update, flags *types.UpdateInsertFlags) (api.Entry, error)

AddUpdateRecursive mocks base method.

func (*MockEntry) AddUpdateRecursiveInternal added in v0.0.68

func (m *MockEntry) AddUpdateRecursiveInternal(ctx context.Context, path *sdcpb.Path, idx int, u *types.Update, flags *types.UpdateInsertFlags) (api.Entry, error)

AddUpdateRecursiveInternal mocks base method.

func (*MockEntry) CanDelete added in v0.0.68

func (m *MockEntry) CanDelete() bool

CanDelete mocks base method.

func (*MockEntry) CanDeleteBranch added in v0.0.67

func (m *MockEntry) CanDeleteBranch(keepDefault bool) bool

CanDeleteBranch mocks base method.

func (*MockEntry) DeepCopy added in v0.0.62

func (m *MockEntry) DeepCopy(tc api.TreeContext, parent api.Entry) (api.Entry, error)

DeepCopy mocks base method.

func (*MockEntry) DeleteBranch added in v0.0.63

func (m *MockEntry) DeleteBranch(ctx context.Context, path *sdcpb.Path, owner string) error

DeleteBranch mocks base method.

func (*MockEntry) DeleteCanDeleteChilds added in v0.0.67

func (m *MockEntry) DeleteCanDeleteChilds(keepDefault bool)

DeleteCanDeleteChilds mocks base method.

func (*MockEntry) EXPECT

func (m *MockEntry) EXPECT() *MockEntryMockRecorder

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

func (*MockEntry) FilterChilds

func (m *MockEntry) FilterChilds(keys map[string]string) ([]api.Entry, error)

FilterChilds mocks base method.

func (*MockEntry) FinishInsertionPhase

func (m *MockEntry) FinishInsertionPhase(ctx context.Context) error

FinishInsertionPhase mocks base method.

func (*MockEntry) GetChild added in v0.0.67

func (m *MockEntry) GetChild(name string) (api.Entry, bool)

GetChild mocks base method.

func (*MockEntry) GetChildMap added in v0.0.68

func (m *MockEntry) GetChildMap() *api.ChildMap

GetChildMap mocks base method.

func (*MockEntry) GetChilds added in v0.0.63

func (m *MockEntry) GetChilds(arg0 types.DescendMethod) api.EntryMap

GetChilds mocks base method.

func (*MockEntry) GetDeletes

func (m *MockEntry) GetDeletes(entries types.DeleteEntriesList, aggregatePaths bool) (types.DeleteEntriesList, error)

GetDeletes mocks base method.

func (*MockEntry) GetHighestPrecedence

func (m *MockEntry) GetHighestPrecedence(result api.LeafVariantSlice, onlyNewOrUpdated, includeDefaults, includeExplicitDelete bool) api.LeafVariantSlice

GetHighestPrecedence mocks base method.

func (*MockEntry) GetHighestPrecedenceLeafValue added in v0.0.68

func (m *MockEntry) GetHighestPrecedenceLeafValue(arg0 context.Context) (*api.LeafEntry, error)

GetHighestPrecedenceLeafValue mocks base method.

func (*MockEntry) GetHighestPrecedenceValueOfBranch added in v0.0.68

func (m *MockEntry) GetHighestPrecedenceValueOfBranch(filter api.HighestPrecedenceFilter) int32

GetHighestPrecedenceValueOfBranch mocks base method.

func (*MockEntry) GetLeafVariants added in v0.0.68

func (m *MockEntry) GetLeafVariants() *api.LeafVariants

GetLeafVariants mocks base method.

func (*MockEntry) GetLevel added in v0.0.62

func (m *MockEntry) GetLevel() int

GetLevel mocks base method.

func (*MockEntry) GetListChilds added in v0.0.62

func (m *MockEntry) GetListChilds() ([]api.Entry, error)

GetListChilds mocks base method.

func (*MockEntry) GetOrCreateChilds added in v0.0.68

func (m *MockEntry) GetOrCreateChilds(ctx context.Context, path *sdcpb.Path) (api.Entry, error)

GetOrCreateChilds mocks base method.

func (*MockEntry) GetParent

func (m *MockEntry) GetParent() api.Entry

GetParent mocks base method.

func (*MockEntry) GetRootBasedEntryChain

func (m *MockEntry) GetRootBasedEntryChain() []api.Entry

GetRootBasedEntryChain mocks base method.

func (*MockEntry) GetSchema

func (m *MockEntry) GetSchema() *sdcpb.SchemaElem

GetSchema mocks base method.

func (*MockEntry) GetSchemaKeys

func (m *MockEntry) GetSchemaKeys() []string

GetSchemaKeys mocks base method.

func (*MockEntry) GetTreeContext added in v0.0.67

func (m *MockEntry) GetTreeContext() api.TreeContext

GetTreeContext mocks base method.

func (*MockEntry) HoldsLeafvariants added in v0.0.63

func (m *MockEntry) HoldsLeafvariants() bool

HoldsLeafvariants mocks base method.

func (*MockEntry) IsRoot

func (m *MockEntry) IsRoot() bool

IsRoot mocks base method.

func (*MockEntry) NavigateSdcpbPath

func (m *MockEntry) NavigateSdcpbPath(ctx context.Context, path *sdcpb.Path) (api.Entry, error)

NavigateSdcpbPath mocks base method.

func (*MockEntry) PathName

func (m *MockEntry) PathName() string

PathName mocks base method.

func (*MockEntry) RemainsToExist added in v0.0.67

func (m *MockEntry) RemainsToExist() bool

RemainsToExist mocks base method.

func (*MockEntry) SdcpbPath

func (m *MockEntry) SdcpbPath() *sdcpb.Path

SdcpbPath mocks base method.

func (*MockEntry) ShouldDelete added in v0.0.68

func (m *MockEntry) ShouldDelete() bool

ShouldDelete mocks base method.

func (*MockEntry) StringIndent

func (m *MockEntry) StringIndent(result []string) []string

StringIndent mocks base method.

type MockEntryMockRecorder

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

MockEntryMockRecorder is the mock recorder for MockEntry.

func (*MockEntryMockRecorder) AddChild added in v0.0.67

func (mr *MockEntryMockRecorder) AddChild(arg0, arg1 any) *gomock.Call

AddChild indicates an expected call of AddChild.

func (*MockEntryMockRecorder) AddUpdateRecursive added in v0.0.56

func (mr *MockEntryMockRecorder) AddUpdateRecursive(ctx, relativePath, u, flags any) *gomock.Call

AddUpdateRecursive indicates an expected call of AddUpdateRecursive.

func (*MockEntryMockRecorder) AddUpdateRecursiveInternal added in v0.0.68

func (mr *MockEntryMockRecorder) AddUpdateRecursiveInternal(ctx, path, idx, u, flags any) *gomock.Call

AddUpdateRecursiveInternal indicates an expected call of AddUpdateRecursiveInternal.

func (*MockEntryMockRecorder) CanDelete added in v0.0.68

func (mr *MockEntryMockRecorder) CanDelete() *gomock.Call

CanDelete indicates an expected call of CanDelete.

func (*MockEntryMockRecorder) CanDeleteBranch added in v0.0.67

func (mr *MockEntryMockRecorder) CanDeleteBranch(keepDefault any) *gomock.Call

CanDeleteBranch indicates an expected call of CanDeleteBranch.

func (*MockEntryMockRecorder) DeepCopy added in v0.0.62

func (mr *MockEntryMockRecorder) DeepCopy(tc, parent any) *gomock.Call

DeepCopy indicates an expected call of DeepCopy.

func (*MockEntryMockRecorder) DeleteBranch added in v0.0.63

func (mr *MockEntryMockRecorder) DeleteBranch(ctx, path, owner any) *gomock.Call

DeleteBranch indicates an expected call of DeleteBranch.

func (*MockEntryMockRecorder) DeleteCanDeleteChilds added in v0.0.67

func (mr *MockEntryMockRecorder) DeleteCanDeleteChilds(keepDefault any) *gomock.Call

DeleteCanDeleteChilds indicates an expected call of DeleteCanDeleteChilds.

func (*MockEntryMockRecorder) FilterChilds

func (mr *MockEntryMockRecorder) FilterChilds(keys any) *gomock.Call

FilterChilds indicates an expected call of FilterChilds.

func (*MockEntryMockRecorder) FinishInsertionPhase

func (mr *MockEntryMockRecorder) FinishInsertionPhase(ctx any) *gomock.Call

FinishInsertionPhase indicates an expected call of FinishInsertionPhase.

func (*MockEntryMockRecorder) GetChild added in v0.0.67

func (mr *MockEntryMockRecorder) GetChild(name any) *gomock.Call

GetChild indicates an expected call of GetChild.

func (*MockEntryMockRecorder) GetChildMap added in v0.0.68

func (mr *MockEntryMockRecorder) GetChildMap() *gomock.Call

GetChildMap indicates an expected call of GetChildMap.

func (*MockEntryMockRecorder) GetChilds added in v0.0.63

func (mr *MockEntryMockRecorder) GetChilds(arg0 any) *gomock.Call

GetChilds indicates an expected call of GetChilds.

func (*MockEntryMockRecorder) GetDeletes

func (mr *MockEntryMockRecorder) GetDeletes(entries, aggregatePaths any) *gomock.Call

GetDeletes indicates an expected call of GetDeletes.

func (*MockEntryMockRecorder) GetHighestPrecedence

func (mr *MockEntryMockRecorder) GetHighestPrecedence(result, onlyNewOrUpdated, includeDefaults, includeExplicitDelete any) *gomock.Call

GetHighestPrecedence indicates an expected call of GetHighestPrecedence.

func (*MockEntryMockRecorder) GetHighestPrecedenceLeafValue added in v0.0.68

func (mr *MockEntryMockRecorder) GetHighestPrecedenceLeafValue(arg0 any) *gomock.Call

GetHighestPrecedenceLeafValue indicates an expected call of GetHighestPrecedenceLeafValue.

func (*MockEntryMockRecorder) GetHighestPrecedenceValueOfBranch added in v0.0.68

func (mr *MockEntryMockRecorder) GetHighestPrecedenceValueOfBranch(filter any) *gomock.Call

GetHighestPrecedenceValueOfBranch indicates an expected call of GetHighestPrecedenceValueOfBranch.

func (*MockEntryMockRecorder) GetLeafVariants added in v0.0.68

func (mr *MockEntryMockRecorder) GetLeafVariants() *gomock.Call

GetLeafVariants indicates an expected call of GetLeafVariants.

func (*MockEntryMockRecorder) GetLevel added in v0.0.62

func (mr *MockEntryMockRecorder) GetLevel() *gomock.Call

GetLevel indicates an expected call of GetLevel.

func (*MockEntryMockRecorder) GetListChilds added in v0.0.62

func (mr *MockEntryMockRecorder) GetListChilds() *gomock.Call

GetListChilds indicates an expected call of GetListChilds.

func (*MockEntryMockRecorder) GetOrCreateChilds added in v0.0.68

func (mr *MockEntryMockRecorder) GetOrCreateChilds(ctx, path any) *gomock.Call

GetOrCreateChilds indicates an expected call of GetOrCreateChilds.

func (*MockEntryMockRecorder) GetParent

func (mr *MockEntryMockRecorder) GetParent() *gomock.Call

GetParent indicates an expected call of GetParent.

func (*MockEntryMockRecorder) GetRootBasedEntryChain

func (mr *MockEntryMockRecorder) GetRootBasedEntryChain() *gomock.Call

GetRootBasedEntryChain indicates an expected call of GetRootBasedEntryChain.

func (*MockEntryMockRecorder) GetSchema

func (mr *MockEntryMockRecorder) GetSchema() *gomock.Call

GetSchema indicates an expected call of GetSchema.

func (*MockEntryMockRecorder) GetSchemaKeys

func (mr *MockEntryMockRecorder) GetSchemaKeys() *gomock.Call

GetSchemaKeys indicates an expected call of GetSchemaKeys.

func (*MockEntryMockRecorder) GetTreeContext added in v0.0.67

func (mr *MockEntryMockRecorder) GetTreeContext() *gomock.Call

GetTreeContext indicates an expected call of GetTreeContext.

func (*MockEntryMockRecorder) HoldsLeafvariants added in v0.0.63

func (mr *MockEntryMockRecorder) HoldsLeafvariants() *gomock.Call

HoldsLeafvariants indicates an expected call of HoldsLeafvariants.

func (*MockEntryMockRecorder) IsRoot

func (mr *MockEntryMockRecorder) IsRoot() *gomock.Call

IsRoot indicates an expected call of IsRoot.

func (*MockEntryMockRecorder) NavigateSdcpbPath

func (mr *MockEntryMockRecorder) NavigateSdcpbPath(ctx, path any) *gomock.Call

NavigateSdcpbPath indicates an expected call of NavigateSdcpbPath.

func (*MockEntryMockRecorder) PathName

func (mr *MockEntryMockRecorder) PathName() *gomock.Call

PathName indicates an expected call of PathName.

func (*MockEntryMockRecorder) RemainsToExist added in v0.0.67

func (mr *MockEntryMockRecorder) RemainsToExist() *gomock.Call

RemainsToExist indicates an expected call of RemainsToExist.

func (*MockEntryMockRecorder) SdcpbPath

func (mr *MockEntryMockRecorder) SdcpbPath() *gomock.Call

SdcpbPath indicates an expected call of SdcpbPath.

func (*MockEntryMockRecorder) ShouldDelete added in v0.0.68

func (mr *MockEntryMockRecorder) ShouldDelete() *gomock.Call

ShouldDelete indicates an expected call of ShouldDelete.

func (*MockEntryMockRecorder) StringIndent

func (mr *MockEntryMockRecorder) StringIndent(result any) *gomock.Call

StringIndent indicates an expected call of StringIndent.

type MockLeafVariantEntries added in v0.0.63

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

MockLeafVariantEntries is a mock of LeafVariantEntries interface.

func NewMockLeafVariantEntries added in v0.0.63

func NewMockLeafVariantEntries(ctrl *gomock.Controller) *MockLeafVariantEntries

NewMockLeafVariantEntries creates a new mock instance.

func (*MockLeafVariantEntries) Add added in v0.0.67

Add mocks base method.

func (*MockLeafVariantEntries) AddExplicitDeleteEntry added in v0.0.63

func (m *MockLeafVariantEntries) AddExplicitDeleteEntry(owner string, priority int32) *api.LeafEntry

AddExplicitDeleteEntry mocks base method.

func (*MockLeafVariantEntries) AddWithStats added in v0.0.67

func (m *MockLeafVariantEntries) AddWithStats(l *api.LeafEntry, stats *types.ImportStats)

AddWithStats mocks base method.

func (*MockLeafVariantEntries) DeleteByOwner added in v0.0.63

func (m *MockLeafVariantEntries) DeleteByOwner(owner string) *api.LeafEntry

DeleteByOwner mocks base method.

func (*MockLeafVariantEntries) EXPECT added in v0.0.63

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

func (*MockLeafVariantEntries) GetByOwner added in v0.0.63

func (m *MockLeafVariantEntries) GetByOwner(owner string) *api.LeafEntry

GetByOwner mocks base method.

func (*MockLeafVariantEntries) GetHighestPrecedence added in v0.0.63

func (m *MockLeafVariantEntries) GetHighestPrecedence(onlyNewOrUpdated, includeDefaults, includeExplicitDeletes bool) *api.LeafEntry

GetHighestPrecedence mocks base method.

func (*MockLeafVariantEntries) GetRunning added in v0.0.63

func (m *MockLeafVariantEntries) GetRunning() *api.LeafEntry

GetRunning mocks base method.

func (*MockLeafVariantEntries) Length added in v0.0.67

func (m *MockLeafVariantEntries) Length() int

Length mocks base method.

func (*MockLeafVariantEntries) MarkOwnerForDeletion added in v0.0.63

func (m *MockLeafVariantEntries) MarkOwnerForDeletion(owner string, onlyIntended bool) *api.LeafEntry

MarkOwnerForDeletion mocks base method.

func (*MockLeafVariantEntries) RemoveDeletedByOwner added in v0.0.67

func (m *MockLeafVariantEntries) RemoveDeletedByOwner(owner string) *api.LeafEntry

RemoveDeletedByOwner mocks base method.

func (*MockLeafVariantEntries) ResetFlags added in v0.0.67

func (m *MockLeafVariantEntries) ResetFlags(deleteFlag, newFlag, updatedFlag bool) int

ResetFlags mocks base method.

type MockLeafVariantEntriesMockRecorder added in v0.0.63

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

MockLeafVariantEntriesMockRecorder is the mock recorder for MockLeafVariantEntries.

func (*MockLeafVariantEntriesMockRecorder) Add added in v0.0.67

Add indicates an expected call of Add.

func (*MockLeafVariantEntriesMockRecorder) AddExplicitDeleteEntry added in v0.0.63

func (mr *MockLeafVariantEntriesMockRecorder) AddExplicitDeleteEntry(owner, priority any) *gomock.Call

AddExplicitDeleteEntry indicates an expected call of AddExplicitDeleteEntry.

func (*MockLeafVariantEntriesMockRecorder) AddWithStats added in v0.0.67

func (mr *MockLeafVariantEntriesMockRecorder) AddWithStats(l, stats any) *gomock.Call

AddWithStats indicates an expected call of AddWithStats.

func (*MockLeafVariantEntriesMockRecorder) DeleteByOwner added in v0.0.63

func (mr *MockLeafVariantEntriesMockRecorder) DeleteByOwner(owner any) *gomock.Call

DeleteByOwner indicates an expected call of DeleteByOwner.

func (*MockLeafVariantEntriesMockRecorder) GetByOwner added in v0.0.63

func (mr *MockLeafVariantEntriesMockRecorder) GetByOwner(owner any) *gomock.Call

GetByOwner indicates an expected call of GetByOwner.

func (*MockLeafVariantEntriesMockRecorder) GetHighestPrecedence added in v0.0.63

func (mr *MockLeafVariantEntriesMockRecorder) GetHighestPrecedence(onlyNewOrUpdated, includeDefaults, includeExplicitDeletes any) *gomock.Call

GetHighestPrecedence indicates an expected call of GetHighestPrecedence.

func (*MockLeafVariantEntriesMockRecorder) GetRunning added in v0.0.63

GetRunning indicates an expected call of GetRunning.

func (*MockLeafVariantEntriesMockRecorder) Length added in v0.0.67

Length indicates an expected call of Length.

func (*MockLeafVariantEntriesMockRecorder) MarkOwnerForDeletion added in v0.0.63

func (mr *MockLeafVariantEntriesMockRecorder) MarkOwnerForDeletion(owner, onlyIntended any) *gomock.Call

MarkOwnerForDeletion indicates an expected call of MarkOwnerForDeletion.

func (*MockLeafVariantEntriesMockRecorder) RemoveDeletedByOwner added in v0.0.67

func (mr *MockLeafVariantEntriesMockRecorder) RemoveDeletedByOwner(owner any) *gomock.Call

RemoveDeletedByOwner indicates an expected call of RemoveDeletedByOwner.

func (*MockLeafVariantEntriesMockRecorder) ResetFlags added in v0.0.67

func (mr *MockLeafVariantEntriesMockRecorder) ResetFlags(deleteFlag, newFlag, updatedFlag any) *gomock.Call

ResetFlags indicates an expected call of ResetFlags.

type MockLeafVariantEntry added in v0.0.63

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

MockLeafVariantEntry is a mock of LeafVariantEntry interface.

func NewMockLeafVariantEntry added in v0.0.63

func NewMockLeafVariantEntry(ctrl *gomock.Controller) *MockLeafVariantEntry

NewMockLeafVariantEntry creates a new mock instance.

func (*MockLeafVariantEntry) EXPECT added in v0.0.63

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

func (*MockLeafVariantEntry) GetEntry added in v0.0.63

func (m *MockLeafVariantEntry) GetEntry() api.Entry

GetEntry mocks base method.

func (*MockLeafVariantEntry) MarkDelete added in v0.0.63

func (m *MockLeafVariantEntry) MarkDelete(onlyIntended bool) *api.LeafEntry

MarkDelete mocks base method.

func (*MockLeafVariantEntry) String added in v0.0.63

func (m *MockLeafVariantEntry) String() string

String mocks base method.

type MockLeafVariantEntryMockRecorder added in v0.0.63

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

MockLeafVariantEntryMockRecorder is the mock recorder for MockLeafVariantEntry.

func (*MockLeafVariantEntryMockRecorder) GetEntry added in v0.0.63

GetEntry indicates an expected call of GetEntry.

func (*MockLeafVariantEntryMockRecorder) MarkDelete added in v0.0.63

func (mr *MockLeafVariantEntryMockRecorder) MarkDelete(onlyIntended any) *gomock.Call

MarkDelete indicates an expected call of MarkDelete.

func (*MockLeafVariantEntryMockRecorder) String added in v0.0.63

String indicates an expected call of String.

Jump to

Keyboard shortcuts

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