mockTreeEntry

package
v0.0.54 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: Apache-2.0 Imports: 9 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) AddCacheUpdateRecursive

func (m *MockEntry) AddCacheUpdateRecursive(ctx context.Context, u *cache.Update, flags *tree.UpdateInsertFlags) (tree.Entry, error)

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

FinishInsertionPhase mocks base method.

func (*MockEntry) GetByOwner

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

GetByOwner mocks base method.

func (*MockEntry) GetDeletes

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

GetDeletes 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 bool) tree.LeafVariantSlice

GetHighestPrecedence 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) ImportConfig

func (m *MockEntry) ImportConfig(ctx context.Context, t importer.ImportConfigAdapter, intentName string, intentPrio int32) error

ImportConfig mocks base method.

func (*MockEntry) IsRoot

func (m *MockEntry) IsRoot() bool

IsRoot mocks base method.

func (*MockEntry) Navigate

func (m *MockEntry) Navigate(ctx context.Context, path []string, isRootPath bool) (tree.Entry, error)

Navigate 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.PathElem, isRootPath bool) (tree.Entry, error)

NavigateSdcpbPath mocks base method.

func (*MockEntry) Path

func (m *MockEntry) Path() tree.PathSlice

Path 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, error)

SdcpbPath mocks base method.

func (*MockEntry) SdcpbPathInternal

func (m *MockEntry) SdcpbPathInternal(spath []string) (*schema_server.Path, error)

SdcpbPathInternal 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) Validate

func (m *MockEntry) Validate(ctx context.Context, resultChan chan<- *types.ValidationResultEntry, concurrent bool)

Validate mocks base method.

func (*MockEntry) Walk

func (m *MockEntry) Walk(f 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) AddCacheUpdateRecursive

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

AddCacheUpdateRecursive indicates an expected call of AddCacheUpdateRecursive.

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

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

GetDeletes indicates an expected call of GetDeletes.

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 any) *gomock.Call

GetHighestPrecedence indicates an expected call of GetHighestPrecedence.

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

func (mr *MockEntryMockRecorder) ImportConfig(ctx, t, intentName, intentPrio 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) Navigate

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

Navigate indicates an expected call of Navigate.

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, isRootPath any) *gomock.Call

NavigateSdcpbPath indicates an expected call of NavigateSdcpbPath.

func (*MockEntryMockRecorder) Path

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

Path indicates an expected call of Path.

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

func (mr *MockEntryMockRecorder) SdcpbPathInternal(spath any) *gomock.Call

SdcpbPathInternal indicates an expected call of SdcpbPathInternal.

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

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

Validate indicates an expected call of Validate.

func (*MockEntryMockRecorder) Walk

func (mr *MockEntryMockRecorder) Walk(f any) *gomock.Call

Walk indicates an expected call of Walk.

Jump to

Keyboard shortcuts

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