bootstrapped

package
v1.76.2 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Extender

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

func NewExtender added in v1.72.0

func NewExtender(helper func() (bool, error), logger *log.Logger) *Extender

func (*Extender) AddFunctionalModule added in v1.72.0

func (e *Extender) AddFunctionalModule(moduleName string)

func (*Extender) Filter

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

func (*Extender) IsTerminator

func (e *Extender) IsTerminator() bool

func (*Extender) Name

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

type IExtender added in v1.76.1

type IExtender interface {
	extenders.Extender

	AddFunctionalModule(moduleName string)
}

type IExtenderMock added in v1.76.1

type IExtenderMock struct {
	AddFunctionalModuleMock mIExtenderMockAddFunctionalModule

	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) AddFunctionalModule added in v1.76.1

func (mmAddFunctionalModule *IExtenderMock) AddFunctionalModule(moduleName string)

AddFunctionalModule implements IExtender

func (*IExtenderMock) AddFunctionalModuleAfterCounter added in v1.76.1

func (mmAddFunctionalModule *IExtenderMock) AddFunctionalModuleAfterCounter() uint64

AddFunctionalModuleAfterCounter returns a count of finished IExtenderMock.AddFunctionalModule invocations

func (*IExtenderMock) AddFunctionalModuleBeforeCounter added in v1.76.1

func (mmAddFunctionalModule *IExtenderMock) AddFunctionalModuleBeforeCounter() uint64

AddFunctionalModuleBeforeCounter returns a count of IExtenderMock.AddFunctionalModule 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) MinimockAddFunctionalModuleDone added in v1.76.1

func (m *IExtenderMock) MinimockAddFunctionalModuleDone() bool

MinimockAddFunctionalModuleDone returns true if the count of the AddFunctionalModule invocations corresponds the number of defined expectations

func (*IExtenderMock) MinimockAddFunctionalModuleInspect added in v1.76.1

func (m *IExtenderMock) MinimockAddFunctionalModuleInspect()

MinimockAddFunctionalModuleInspect 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 IExtenderMockAddFunctionalModuleExpectation added in v1.76.1

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

IExtenderMockAddFunctionalModuleExpectation specifies expectation struct of the IExtender.AddFunctionalModule

func (*IExtenderMockAddFunctionalModuleExpectation) Then added in v1.76.1

type IExtenderMockAddFunctionalModuleExpectationOrigins added in v1.76.1

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

IExtenderMockAddFunctionalModuleOrigins contains origins of expectations of the IExtender.AddFunctionalModule

type IExtenderMockAddFunctionalModuleParamPtrs added in v1.76.1

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

IExtenderMockAddFunctionalModuleParamPtrs contains pointers to parameters of the IExtender.AddFunctionalModule

type IExtenderMockAddFunctionalModuleParams added in v1.76.1

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

IExtenderMockAddFunctionalModuleParams contains parameters of the IExtender.AddFunctionalModule

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