Documentation
¶
Overview ¶
Package mockTreeEntry is a generated GoMock package.
Index ¶
- type MockEntry
- func (m *MockEntry) AddUpdateRecursive(ctx context.Context, u *types.Update, flags *types.UpdateInsertFlags) (tree.Entry, error)
- func (m *MockEntry) BlameConfig(includeDefaults bool) (*schema_server.BlameTreeElement, error)
- func (m *MockEntry) BreadthSearch(ctx context.Context, path string) ([]tree.Entry, error)
- func (m *MockEntry) DeepCopy(tc *tree.TreeContext, parent tree.Entry) (tree.Entry, error)
- func (m *MockEntry) DeleteSubtree(relativePath types.PathSlice, owner string) (bool, error)
- func (m *MockEntry) EXPECT() *MockEntryMockRecorder
- func (m *MockEntry) FilterChilds(keys map[string]string) ([]tree.Entry, error)
- func (m *MockEntry) FinishInsertionPhase(ctx context.Context) error
- func (m *MockEntry) GetByOwner(owner string, result []*tree.LeafEntry) tree.LeafVariantSlice
- func (m *MockEntry) GetDeletes(entries []types.DeleteEntry, aggregatePaths bool) ([]types.DeleteEntry, error)
- func (m *MockEntry) GetDeviations(ch chan<- *types.DeviationEntry, activeCase bool)
- func (m *MockEntry) GetFirstAncestorWithSchema() (tree.Entry, int)
- func (m *MockEntry) GetHighestPrecedence(result tree.LeafVariantSlice, onlyNewOrUpdated, includeDefaults bool) tree.LeafVariantSlice
- func (m *MockEntry) GetLevel() int
- func (m *MockEntry) GetListChilds() ([]tree.Entry, error)
- func (m_2 *MockEntry) GetOwnerPriorityMap(m map[string]int32)
- func (m *MockEntry) GetParent() tree.Entry
- func (m *MockEntry) GetRoot() tree.Entry
- func (m *MockEntry) GetRootBasedEntryChain() []tree.Entry
- func (m *MockEntry) GetSchema() *schema_server.SchemaElem
- func (m *MockEntry) GetSchemaKeys() []string
- func (m *MockEntry) ImportConfig(ctx context.Context, arg1 importer.ImportConfigAdapter, intentName string, ...) error
- func (m *MockEntry) IsRoot() bool
- func (m *MockEntry) MarkOwnerDelete(o string, onlyIntended bool)
- func (m *MockEntry) Navigate(ctx context.Context, path []string, isRootPath, dotdotSkipKeys bool) (tree.Entry, error)
- func (m *MockEntry) NavigateLeafRef(ctx context.Context) ([]tree.Entry, error)
- func (m *MockEntry) NavigateSdcpbPath(ctx context.Context, path []*schema_server.PathElem, isRootPath bool) (tree.Entry, error)
- func (m *MockEntry) Path() types.PathSlice
- func (m *MockEntry) PathName() string
- func (m *MockEntry) SdcpbPath() (*schema_server.Path, error)
- func (m *MockEntry) SdcpbPathInternal(spath []string) (*schema_server.Path, error)
- func (m *MockEntry) StringIndent(result []string) []string
- func (m *MockEntry) ToJson(onlyNewOrUpdated bool) (any, error)
- func (m *MockEntry) ToJsonIETF(onlyNewOrUpdated bool) (any, error)
- func (m *MockEntry) ToXML(...) (*etree.Document, error)
- func (m *MockEntry) TreeExport(owner string) ([]*tree_persist.TreeElement, error)
- func (m *MockEntry) Validate(ctx context.Context, resultChan chan<- *types.ValidationResultEntry, ...)
- func (m *MockEntry) Walk(f tree.EntryVisitor) error
- type MockEntryMockRecorder
- func (mr *MockEntryMockRecorder) AddUpdateRecursive(ctx, u, flags any) *gomock.Call
- func (mr *MockEntryMockRecorder) BlameConfig(includeDefaults any) *gomock.Call
- func (mr *MockEntryMockRecorder) BreadthSearch(ctx, path any) *gomock.Call
- func (mr *MockEntryMockRecorder) DeepCopy(tc, parent any) *gomock.Call
- func (mr *MockEntryMockRecorder) DeleteSubtree(relativePath, owner any) *gomock.Call
- func (mr *MockEntryMockRecorder) FilterChilds(keys any) *gomock.Call
- func (mr *MockEntryMockRecorder) FinishInsertionPhase(ctx any) *gomock.Call
- func (mr *MockEntryMockRecorder) GetByOwner(owner, result any) *gomock.Call
- func (mr *MockEntryMockRecorder) GetDeletes(entries, aggregatePaths any) *gomock.Call
- func (mr *MockEntryMockRecorder) GetDeviations(ch, activeCase any) *gomock.Call
- func (mr *MockEntryMockRecorder) GetFirstAncestorWithSchema() *gomock.Call
- func (mr *MockEntryMockRecorder) GetHighestPrecedence(result, onlyNewOrUpdated, includeDefaults any) *gomock.Call
- func (mr *MockEntryMockRecorder) GetLevel() *gomock.Call
- func (mr *MockEntryMockRecorder) GetListChilds() *gomock.Call
- func (mr *MockEntryMockRecorder) GetOwnerPriorityMap(m any) *gomock.Call
- func (mr *MockEntryMockRecorder) GetParent() *gomock.Call
- func (mr *MockEntryMockRecorder) GetRoot() *gomock.Call
- func (mr *MockEntryMockRecorder) GetRootBasedEntryChain() *gomock.Call
- func (mr *MockEntryMockRecorder) GetSchema() *gomock.Call
- func (mr *MockEntryMockRecorder) GetSchemaKeys() *gomock.Call
- func (mr *MockEntryMockRecorder) ImportConfig(ctx, arg1, intentName, intentPrio, flags any) *gomock.Call
- func (mr *MockEntryMockRecorder) IsRoot() *gomock.Call
- func (mr *MockEntryMockRecorder) MarkOwnerDelete(o, onlyIntended any) *gomock.Call
- func (mr *MockEntryMockRecorder) Navigate(ctx, path, isRootPath, dotdotSkipKeys any) *gomock.Call
- func (mr *MockEntryMockRecorder) NavigateLeafRef(ctx any) *gomock.Call
- func (mr *MockEntryMockRecorder) NavigateSdcpbPath(ctx, path, isRootPath any) *gomock.Call
- func (mr *MockEntryMockRecorder) Path() *gomock.Call
- func (mr *MockEntryMockRecorder) PathName() *gomock.Call
- func (mr *MockEntryMockRecorder) SdcpbPath() *gomock.Call
- func (mr *MockEntryMockRecorder) SdcpbPathInternal(spath any) *gomock.Call
- func (mr *MockEntryMockRecorder) StringIndent(result any) *gomock.Call
- func (mr *MockEntryMockRecorder) ToJson(onlyNewOrUpdated any) *gomock.Call
- func (mr *MockEntryMockRecorder) ToJsonIETF(onlyNewOrUpdated any) *gomock.Call
- func (mr *MockEntryMockRecorder) ToXML(...) *gomock.Call
- func (mr *MockEntryMockRecorder) TreeExport(owner any) *gomock.Call
- func (mr *MockEntryMockRecorder) Validate(ctx, resultChan, vCfg any) *gomock.Call
- func (mr *MockEntryMockRecorder) Walk(f any) *gomock.Call
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, u *types.Update, flags *types.UpdateInsertFlags) (tree.Entry, error)
AddUpdateRecursive mocks base method.
func (*MockEntry) BlameConfig ¶ added in v0.0.62
func (m *MockEntry) BlameConfig(includeDefaults bool) (*schema_server.BlameTreeElement, error)
BlameConfig mocks base method.
func (*MockEntry) BreadthSearch ¶ added in v0.0.62
BreadthSearch mocks base method.
func (*MockEntry) DeleteSubtree ¶ added in v0.0.62
DeleteSubtree 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 ¶
FilterChilds mocks base method.
func (*MockEntry) FinishInsertionPhase ¶
FinishInsertionPhase mocks base method.
func (*MockEntry) GetByOwner ¶
GetByOwner 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 ¶
GetFirstAncestorWithSchema mocks base method.
func (*MockEntry) GetHighestPrecedence ¶
func (m *MockEntry) GetHighestPrecedence(result tree.LeafVariantSlice, onlyNewOrUpdated, includeDefaults bool) tree.LeafVariantSlice
GetHighestPrecedence mocks base method.
func (*MockEntry) GetListChilds ¶ added in v0.0.62
GetListChilds mocks base method.
func (*MockEntry) GetOwnerPriorityMap ¶ added in v0.0.62
GetOwnerPriorityMap mocks base method.
func (*MockEntry) GetRootBasedEntryChain ¶
GetRootBasedEntryChain mocks base method.
func (*MockEntry) GetSchema ¶
func (m *MockEntry) GetSchema() *schema_server.SchemaElem
GetSchema mocks base method.
func (*MockEntry) GetSchemaKeys ¶
GetSchemaKeys mocks base method.
func (*MockEntry) ImportConfig ¶
func (m *MockEntry) ImportConfig(ctx context.Context, arg1 importer.ImportConfigAdapter, intentName string, intentPrio int32, flags *types.UpdateInsertFlags) error
ImportConfig mocks base method.
func (*MockEntry) MarkOwnerDelete ¶ added in v0.0.56
MarkOwnerDelete mocks base method.
func (*MockEntry) Navigate ¶
func (m *MockEntry) Navigate(ctx context.Context, path []string, isRootPath, dotdotSkipKeys bool) (tree.Entry, error)
Navigate mocks base method.
func (*MockEntry) NavigateLeafRef ¶
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) 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 ¶
StringIndent mocks base method.
func (*MockEntry) ToJsonIETF ¶
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, vCfg *config.Validation)
Validate 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, u, flags any) *gomock.Call
AddUpdateRecursive indicates an expected call of AddUpdateRecursive.
func (*MockEntryMockRecorder) BlameConfig ¶ added in v0.0.62
func (mr *MockEntryMockRecorder) BlameConfig(includeDefaults any) *gomock.Call
BlameConfig indicates an expected call of BlameConfig.
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) DeleteSubtree ¶ added in v0.0.62
func (mr *MockEntryMockRecorder) DeleteSubtree(relativePath, owner any) *gomock.Call
DeleteSubtree indicates an expected call of DeleteSubtree.
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) 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 any) *gomock.Call
GetHighestPrecedence indicates an expected call of GetHighestPrecedence.
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) GetOwnerPriorityMap ¶ added in v0.0.62
func (mr *MockEntryMockRecorder) GetOwnerPriorityMap(m any) *gomock.Call
GetOwnerPriorityMap indicates an expected call of GetOwnerPriorityMap.
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, 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) MarkOwnerDelete ¶ added in v0.0.56
func (mr *MockEntryMockRecorder) MarkOwnerDelete(o, onlyIntended any) *gomock.Call
MarkOwnerDelete indicates an expected call of MarkOwnerDelete.
func (*MockEntryMockRecorder) Navigate ¶
func (mr *MockEntryMockRecorder) Navigate(ctx, path, isRootPath, dotdotSkipKeys 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) TreeExport ¶ added in v0.0.56
func (mr *MockEntryMockRecorder) TreeExport(owner any) *gomock.Call
TreeExport indicates an expected call of TreeExport.