editionenabled

package
v1.78.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: Apache-2.0 Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	Name extenders.ExtenderName = "EditionEnabled"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Extender

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

func New

func New(edition, bundle string, logger *log.Logger) *Extender

func (*Extender) AddModule

func (e *Extender) AddModule(name string, access *moduletypes.ModuleAccessibility)

func (*Extender) Filter

func (e *Extender) Filter(name string, _ map[string]string) (*bool, error)

Filter implements Extender interface, it is used by scheduler in addon-operator

func (*Extender) IsTerminator

func (e *Extender) IsTerminator() bool

IsTerminator implements Extender interface, it is used by scheduler in addon-operator

func (*Extender) Name

func (e *Extender) Name() extenders.ExtenderName

Name implements Extender interface, it is used by scheduler in addon-operator

type IExtender added in v1.76.1

type IExtender interface {
	extenders.Extender

	AddModule(name string, access *moduletypes.ModuleAccessibility)
}

type IExtenderMock added in v1.76.1

type IExtenderMock struct {
	AddModuleMock mIExtenderMockAddModule

	FilterMock mIExtenderMockFilter

	IsTerminatorMock mIExtenderMockIsTerminator

	NameMock mIExtenderMockName
	// contains filtered or unexported fields
}

IExtenderMock implements IExtender

func NewIExtenderMock added in v1.76.1

func NewIExtenderMock(t minimock.Tester) *IExtenderMock

NewIExtenderMock returns a mock for IExtender

func (*IExtenderMock) AddModule added in v1.76.1

func (mmAddModule *IExtenderMock) AddModule(name string, access *moduletypes.ModuleAccessibility)

AddModule implements IExtender

func (*IExtenderMock) AddModuleAfterCounter added in v1.76.1

func (mmAddModule *IExtenderMock) AddModuleAfterCounter() uint64

AddModuleAfterCounter returns a count of finished IExtenderMock.AddModule invocations

func (*IExtenderMock) AddModuleBeforeCounter added in v1.76.1

func (mmAddModule *IExtenderMock) AddModuleBeforeCounter() uint64

AddModuleBeforeCounter returns a count of IExtenderMock.AddModule invocations

func (*IExtenderMock) Filter added in v1.76.1

func (mmFilter *IExtenderMock) Filter(moduleName string, logLabels map[string]string) (bp1 *bool, err error)

Filter implements IExtender

func (*IExtenderMock) FilterAfterCounter added in v1.76.1

func (mmFilter *IExtenderMock) FilterAfterCounter() uint64

FilterAfterCounter returns a count of finished IExtenderMock.Filter invocations

func (*IExtenderMock) FilterBeforeCounter added in v1.76.1

func (mmFilter *IExtenderMock) FilterBeforeCounter() uint64

FilterBeforeCounter returns a count of IExtenderMock.Filter invocations

func (*IExtenderMock) IsTerminator added in v1.76.1

func (mmIsTerminator *IExtenderMock) IsTerminator() (b1 bool)

IsTerminator implements IExtender

func (*IExtenderMock) IsTerminatorAfterCounter added in v1.76.1

func (mmIsTerminator *IExtenderMock) IsTerminatorAfterCounter() uint64

IsTerminatorAfterCounter returns a count of finished IExtenderMock.IsTerminator invocations

func (*IExtenderMock) IsTerminatorBeforeCounter added in v1.76.1

func (mmIsTerminator *IExtenderMock) IsTerminatorBeforeCounter() uint64

IsTerminatorBeforeCounter returns a count of IExtenderMock.IsTerminator invocations

func (*IExtenderMock) MinimockAddModuleDone added in v1.76.1

func (m *IExtenderMock) MinimockAddModuleDone() bool

MinimockAddModuleDone returns true if the count of the AddModule invocations corresponds the number of defined expectations

func (*IExtenderMock) MinimockAddModuleInspect added in v1.76.1

func (m *IExtenderMock) MinimockAddModuleInspect()

MinimockAddModuleInspect logs each unmet expectation

func (*IExtenderMock) MinimockFilterDone added in v1.76.1

func (m *IExtenderMock) MinimockFilterDone() bool

MinimockFilterDone returns true if the count of the Filter invocations corresponds the number of defined expectations

func (*IExtenderMock) MinimockFilterInspect added in v1.76.1

func (m *IExtenderMock) MinimockFilterInspect()

MinimockFilterInspect logs each unmet expectation

func (*IExtenderMock) MinimockFinish added in v1.76.1

func (m *IExtenderMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*IExtenderMock) MinimockIsTerminatorDone added in v1.76.1

func (m *IExtenderMock) MinimockIsTerminatorDone() bool

MinimockIsTerminatorDone returns true if the count of the IsTerminator invocations corresponds the number of defined expectations

func (*IExtenderMock) MinimockIsTerminatorInspect added in v1.76.1

func (m *IExtenderMock) MinimockIsTerminatorInspect()

MinimockIsTerminatorInspect logs each unmet expectation

func (*IExtenderMock) MinimockNameDone added in v1.76.1

func (m *IExtenderMock) MinimockNameDone() bool

MinimockNameDone returns true if the count of the Name invocations corresponds the number of defined expectations

func (*IExtenderMock) MinimockNameInspect added in v1.76.1

func (m *IExtenderMock) MinimockNameInspect()

MinimockNameInspect logs each unmet expectation

func (*IExtenderMock) MinimockWait added in v1.76.1

func (m *IExtenderMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

func (*IExtenderMock) Name added in v1.76.1

func (mmName *IExtenderMock) Name() (e1 extenders.ExtenderName)

Name implements IExtender

func (*IExtenderMock) NameAfterCounter added in v1.76.1

func (mmName *IExtenderMock) NameAfterCounter() uint64

NameAfterCounter returns a count of finished IExtenderMock.Name invocations

func (*IExtenderMock) NameBeforeCounter added in v1.76.1

func (mmName *IExtenderMock) NameBeforeCounter() uint64

NameBeforeCounter returns a count of IExtenderMock.Name invocations

type IExtenderMockAddModuleExpectation added in v1.76.1

type IExtenderMockAddModuleExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

IExtenderMockAddModuleExpectation specifies expectation struct of the IExtender.AddModule

func (*IExtenderMockAddModuleExpectation) Then added in v1.76.1

type IExtenderMockAddModuleExpectationOrigins added in v1.76.1

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

IExtenderMockAddModuleOrigins contains origins of expectations of the IExtender.AddModule

type IExtenderMockAddModuleParamPtrs added in v1.76.1

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

IExtenderMockAddModuleParamPtrs contains pointers to parameters of the IExtender.AddModule

type IExtenderMockAddModuleParams added in v1.76.1

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

IExtenderMockAddModuleParams contains parameters of the IExtender.AddModule

type IExtenderMockFilterExpectation added in v1.76.1

type IExtenderMockFilterExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

IExtenderMockFilterExpectation specifies expectation struct of the IExtender.Filter

func (*IExtenderMockFilterExpectation) Then added in v1.76.1

Then sets up IExtender.Filter return parameters for the expectation previously defined by the When method

type IExtenderMockFilterExpectationOrigins added in v1.76.1

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

IExtenderMockFilterOrigins contains origins of expectations of the IExtender.Filter

type IExtenderMockFilterParamPtrs added in v1.76.1

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

IExtenderMockFilterParamPtrs contains pointers to parameters of the IExtender.Filter

type IExtenderMockFilterParams added in v1.76.1

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

IExtenderMockFilterParams contains parameters of the IExtender.Filter

type IExtenderMockFilterResults added in v1.76.1

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

IExtenderMockFilterResults contains results of the IExtender.Filter

type IExtenderMockIsTerminatorExpectation added in v1.76.1

type IExtenderMockIsTerminatorExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

IExtenderMockIsTerminatorExpectation specifies expectation struct of the IExtender.IsTerminator

type IExtenderMockIsTerminatorResults added in v1.76.1

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

IExtenderMockIsTerminatorResults contains results of the IExtender.IsTerminator

type IExtenderMockNameExpectation added in v1.76.1

type IExtenderMockNameExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

IExtenderMockNameExpectation specifies expectation struct of the IExtender.Name

type IExtenderMockNameResults added in v1.76.1

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

IExtenderMockNameResults contains results of the IExtender.Name

Jump to

Keyboard shortcuts

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