mockTreeEntry

package
v0.0.66 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2025 License: Apache-2.0 Imports: 10 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) AddUpdateRecursive added in v0.0.56

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

AddUpdateRecursive mocks base method.

func (*MockEntry) BreadthSearch added in v0.0.62

func (m *MockEntry) BreadthSearch(ctx context.Context, path *schema_server.Path) ([]tree.Entry, error)

BreadthSearch mocks base method.

func (*MockEntry) DeepCopy added in v0.0.62

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

DeepCopy mocks base method.

func (*MockEntry) DeleteBranch added in v0.0.63

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

DeleteBranch 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) ([]tree.Entry, error)

FilterChilds mocks base method.

func (*MockEntry) FinishInsertionPhase

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

FinishInsertionPhase mocks base method.

func (*MockEntry) GetByOwner

func (m *MockEntry) GetByOwner(owner string, result []*tree.LeafEntry) tree.LeafVariantSlice

GetByOwner mocks base method.

func (*MockEntry) GetChilds added in v0.0.63

func (m *MockEntry) GetChilds(arg0 tree.DescendMethod) tree.EntryMap

GetChilds mocks base method.

func (*MockEntry) GetDeletes

func (m *MockEntry) GetDeletes(entries []types.DeleteEntry, aggregatePaths bool) ([]types.DeleteEntry, error)

GetDeletes mocks base method.

func (*MockEntry) GetDeviations added in v0.0.62

func (m *MockEntry) GetDeviations(ch chan<- *types.DeviationEntry, activeCase bool)

GetDeviations mocks base method.

func (*MockEntry) GetFirstAncestorWithSchema

func (m *MockEntry) GetFirstAncestorWithSchema() (tree.Entry, int)

GetFirstAncestorWithSchema mocks base method.

func (*MockEntry) GetHighestPrecedence

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

GetHighestPrecedence mocks base method.

func (*MockEntry) GetLeafVariantEntries added in v0.0.63

func (m *MockEntry) GetLeafVariantEntries() tree.LeafVariantEntries

GetLeafVariantEntries 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() ([]tree.Entry, error)

GetListChilds mocks base method.

func (*MockEntry) GetParent

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

GetParent mocks base method.

func (*MockEntry) GetRoot

func (m *MockEntry) GetRoot() tree.Entry

GetRoot mocks base method.

func (*MockEntry) GetRootBasedEntryChain

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

GetRootBasedEntryChain mocks base method.

func (*MockEntry) GetSchema

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

GetSchema mocks base method.

func (*MockEntry) GetSchemaKeys

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

GetSchemaKeys mocks base method.

func (*MockEntry) HoldsLeafvariants added in v0.0.63

func (m *MockEntry) HoldsLeafvariants() bool

HoldsLeafvariants mocks base method.

func (*MockEntry) ImportConfig

func (m *MockEntry) ImportConfig(ctx context.Context, arg1 importer.ImportConfigAdapterElement, intentName string, intentPrio int32, flags *types.UpdateInsertFlags) error

ImportConfig mocks base method.

func (*MockEntry) IsRoot

func (m *MockEntry) IsRoot() bool

IsRoot mocks base method.

func (*MockEntry) NavigateLeafRef

func (m *MockEntry) NavigateLeafRef(ctx context.Context) ([]tree.Entry, error)

NavigateLeafRef mocks base method.

func (*MockEntry) NavigateSdcpbPath

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

NavigateSdcpbPath mocks base method.

func (*MockEntry) PathName

func (m *MockEntry) PathName() string

PathName mocks base method.

func (*MockEntry) SdcpbPath

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

SdcpbPath mocks base method.

func (*MockEntry) StringIndent

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

StringIndent mocks base method.

func (*MockEntry) ToJson

func (m *MockEntry) ToJson(onlyNewOrUpdated bool) (any, error)

ToJson mocks base method.

func (*MockEntry) ToJsonIETF

func (m *MockEntry) ToJsonIETF(onlyNewOrUpdated bool) (any, error)

ToJsonIETF mocks base method.

func (*MockEntry) ToXML

func (m *MockEntry) ToXML(onlyNewOrUpdated, honorNamespace, operationWithNamespace, useOperationRemove bool) (*etree.Document, error)

ToXML mocks base method.

func (*MockEntry) TreeExport added in v0.0.56

func (m *MockEntry) TreeExport(owner string) ([]*tree_persist.TreeElement, error)

TreeExport mocks base method.

func (*MockEntry) Validate

func (m *MockEntry) Validate(ctx context.Context, resultChan chan<- *types.ValidationResultEntry, stats *types.ValidationStats, vCfg *config.Validation)

Validate mocks base method.

func (*MockEntry) Walk

func (m *MockEntry) Walk(ctx context.Context, v tree.EntryVisitor) error

Walk mocks base method.

type MockEntryMockRecorder

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

MockEntryMockRecorder is the mock recorder for MockEntry.

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) BreadthSearch added in v0.0.62

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

BreadthSearch indicates an expected call of BreadthSearch.

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) 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) GetByOwner

func (mr *MockEntryMockRecorder) GetByOwner(owner, result any) *gomock.Call

GetByOwner indicates an expected call of GetByOwner.

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) GetDeviations added in v0.0.62

func (mr *MockEntryMockRecorder) GetDeviations(ch, activeCase any) *gomock.Call

GetDeviations indicates an expected call of GetDeviations.

func (*MockEntryMockRecorder) GetFirstAncestorWithSchema

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

GetFirstAncestorWithSchema indicates an expected call of GetFirstAncestorWithSchema.

func (*MockEntryMockRecorder) GetHighestPrecedence

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

GetHighestPrecedence indicates an expected call of GetHighestPrecedence.

func (*MockEntryMockRecorder) GetLeafVariantEntries added in v0.0.63

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

GetLeafVariantEntries indicates an expected call of GetLeafVariantEntries.

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) GetParent

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

GetParent indicates an expected call of GetParent.

func (*MockEntryMockRecorder) GetRoot

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

GetRoot indicates an expected call of GetRoot.

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) HoldsLeafvariants added in v0.0.63

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

HoldsLeafvariants indicates an expected call of HoldsLeafvariants.

func (*MockEntryMockRecorder) ImportConfig

func (mr *MockEntryMockRecorder) ImportConfig(ctx, arg1, intentName, intentPrio, flags any) *gomock.Call

ImportConfig indicates an expected call of ImportConfig.

func (*MockEntryMockRecorder) IsRoot

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

IsRoot indicates an expected call of IsRoot.

func (*MockEntryMockRecorder) NavigateLeafRef

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

NavigateLeafRef indicates an expected call of NavigateLeafRef.

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) SdcpbPath

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

SdcpbPath indicates an expected call of SdcpbPath.

func (*MockEntryMockRecorder) StringIndent

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

StringIndent indicates an expected call of StringIndent.

func (*MockEntryMockRecorder) ToJson

func (mr *MockEntryMockRecorder) ToJson(onlyNewOrUpdated any) *gomock.Call

ToJson indicates an expected call of ToJson.

func (*MockEntryMockRecorder) ToJsonIETF

func (mr *MockEntryMockRecorder) ToJsonIETF(onlyNewOrUpdated any) *gomock.Call

ToJsonIETF indicates an expected call of ToJsonIETF.

func (*MockEntryMockRecorder) ToXML

func (mr *MockEntryMockRecorder) ToXML(onlyNewOrUpdated, honorNamespace, operationWithNamespace, useOperationRemove any) *gomock.Call

ToXML indicates an expected call of ToXML.

func (*MockEntryMockRecorder) TreeExport added in v0.0.56

func (mr *MockEntryMockRecorder) TreeExport(owner any) *gomock.Call

TreeExport indicates an expected call of TreeExport.

func (*MockEntryMockRecorder) Validate

func (mr *MockEntryMockRecorder) Validate(ctx, resultChan, stats, vCfg any) *gomock.Call

Validate indicates an expected call of Validate.

func (*MockEntryMockRecorder) Walk

func (mr *MockEntryMockRecorder) Walk(ctx, v any) *gomock.Call

Walk indicates an expected call of Walk.

type MockEntryVisitor added in v0.0.63

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

MockEntryVisitor is a mock of EntryVisitor interface.

func NewMockEntryVisitor added in v0.0.63

func NewMockEntryVisitor(ctrl *gomock.Controller) *MockEntryVisitor

NewMockEntryVisitor creates a new mock instance.

func (*MockEntryVisitor) DescendMethod added in v0.0.63

func (m *MockEntryVisitor) DescendMethod() tree.DescendMethod

DescendMethod mocks base method.

func (*MockEntryVisitor) EXPECT added in v0.0.63

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

func (*MockEntryVisitor) Up added in v0.0.63

func (m *MockEntryVisitor) Up()

Up mocks base method.

func (*MockEntryVisitor) Visit added in v0.0.63

func (m *MockEntryVisitor) Visit(ctx context.Context, e tree.Entry) error

Visit mocks base method.

type MockEntryVisitorMockRecorder added in v0.0.63

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

MockEntryVisitorMockRecorder is the mock recorder for MockEntryVisitor.

func (*MockEntryVisitorMockRecorder) DescendMethod added in v0.0.63

func (mr *MockEntryVisitorMockRecorder) DescendMethod() *gomock.Call

DescendMethod indicates an expected call of DescendMethod.

func (*MockEntryVisitorMockRecorder) Up added in v0.0.63

Up indicates an expected call of Up.

func (*MockEntryVisitorMockRecorder) Visit added in v0.0.63

func (mr *MockEntryVisitorMockRecorder) Visit(ctx, e any) *gomock.Call

Visit indicates an expected call of Visit.

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) AddExplicitDeleteEntry added in v0.0.63

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

AddExplicitDeleteEntry mocks base method.

func (*MockLeafVariantEntries) DeleteByOwner added in v0.0.63

func (m *MockLeafVariantEntries) DeleteByOwner(owner string) *tree.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) *tree.LeafEntry

GetByOwner mocks base method.

func (*MockLeafVariantEntries) GetHighestPrecedence added in v0.0.63

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

GetHighestPrecedence mocks base method.

func (*MockLeafVariantEntries) GetRunning added in v0.0.63

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

GetRunning mocks base method.

func (*MockLeafVariantEntries) MarkOwnerForDeletion added in v0.0.63

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

MarkOwnerForDeletion 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) AddExplicitDeleteEntry added in v0.0.63

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

AddExplicitDeleteEntry indicates an expected call of AddExplicitDeleteEntry.

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) MarkOwnerForDeletion added in v0.0.63

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

MarkOwnerForDeletion indicates an expected call of MarkOwnerForDeletion.

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() tree.Entry

GetEntry mocks base method.

func (*MockLeafVariantEntry) MarkDelete added in v0.0.63

func (m *MockLeafVariantEntry) MarkDelete(onlyIntended bool) *tree.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