Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntriesMap ¶
type EntriesMap interface {
Add(scope config.Scope, entry string) error
ForEach(fn func(entries Entries) error) error
}
func NewEntriesMap ¶
type EntriesMapBuilder ¶
type EntriesMapBuilder interface {
Build(objects []Object) (EntriesMap, error)
}
func NewEntriesMapBuilder ¶
func NewEntriesMapBuilder(configuration config.Configuration) EntriesMapBuilder
func NewEntriesMapBuilderWithFactory ¶
func NewEntriesMapBuilderWithFactory(configuration config.Configuration, factory EntriesMapFactory) EntriesMapBuilder
type EntriesMapFactory ¶
type ErrMissingScopeName ¶
type ErrMissingScopeName struct {
// contains filtered or unexported fields
}
func (*ErrMissingScopeName) Error ¶
func (e *ErrMissingScopeName) Error() string
func (*ErrMissingScopeName) Is ¶
func (e *ErrMissingScopeName) Is(err error) bool
type ErrUnknownScope ¶
type ErrUnknownScope struct {
// contains filtered or unexported fields
}
func (*ErrUnknownScope) Error ¶
func (e *ErrUnknownScope) Error() string
func (*ErrUnknownScope) Is ¶
func (e *ErrUnknownScope) Is(err error) bool
type MockEntriesMap ¶
MockEntriesMap is an autogenerated mock type for the EntriesMap type
type MockEntriesMapBuilder ¶
MockEntriesMapBuilder is an autogenerated mock type for the EntriesMapBuilder type
func (*MockEntriesMapBuilder) Build ¶
func (_m *MockEntriesMapBuilder) Build(objects []Object) (EntriesMap, error)
Build provides a mock function with given fields: objects
type MockObject ¶
MockObject is an autogenerated mock type for the Object type
func (*MockObject) Entry ¶
func (_m *MockObject) Entry() string
Entry provides a mock function with given fields:
func (*MockObject) IncludeAuthor ¶
func (_m *MockObject) IncludeAuthor()
IncludeAuthor provides a mock function with given fields:
func (*MockObject) Labels ¶
func (_m *MockObject) Labels() []string
Labels provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.