Documentation ¶
Index ¶
- type EnableEpochsHandlerStub
- func (stub *EnableEpochsHandlerStub) AddActiveFlags(flags ...core.EnableEpochFlag)
- func (stub *EnableEpochsHandlerStub) GetActivationEpoch(flag core.EnableEpochFlag) uint32
- func (stub *EnableEpochsHandlerStub) GetCurrentEpoch() uint32
- func (stub *EnableEpochsHandlerStub) IsFlagDefined(flag core.EnableEpochFlag) bool
- func (stub *EnableEpochsHandlerStub) IsFlagEnabled(flag core.EnableEpochFlag) bool
- func (stub *EnableEpochsHandlerStub) IsFlagEnabledInEpoch(flag core.EnableEpochFlag, epoch uint32) bool
- func (stub *EnableEpochsHandlerStub) IsInterfaceNil() bool
- func (stub *EnableEpochsHandlerStub) RemoveActiveFlags(flags ...core.EnableEpochFlag)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnableEpochsHandlerStub ¶
type EnableEpochsHandlerStub struct { sync.RWMutex GetCurrentEpochCalled func() uint32 IsFlagDefinedCalled func(flag core.EnableEpochFlag) bool IsFlagEnabledCalled func(flag core.EnableEpochFlag) bool IsFlagEnabledInEpochCalled func(flag core.EnableEpochFlag, epoch uint32) bool GetActivationEpochCalled func(flag core.EnableEpochFlag) uint32 // contains filtered or unexported fields }
EnableEpochsHandlerStub -
func NewEnableEpochsHandlerStub ¶ added in v1.7.0
func NewEnableEpochsHandlerStub(flags ...core.EnableEpochFlag) *EnableEpochsHandlerStub
NewEnableEpochsHandlerStub -
func NewEnableEpochsHandlerStubWithNoFlagsDefined ¶ added in v1.7.0
func NewEnableEpochsHandlerStubWithNoFlagsDefined() *EnableEpochsHandlerStub
NewEnableEpochsHandlerStubWithNoFlagsDefined -
func (*EnableEpochsHandlerStub) AddActiveFlags ¶ added in v1.7.0
func (stub *EnableEpochsHandlerStub) AddActiveFlags(flags ...core.EnableEpochFlag)
AddActiveFlags -
func (*EnableEpochsHandlerStub) GetActivationEpoch ¶ added in v1.7.0
func (stub *EnableEpochsHandlerStub) GetActivationEpoch(flag core.EnableEpochFlag) uint32
GetActivationEpoch -
func (*EnableEpochsHandlerStub) GetCurrentEpoch ¶ added in v1.7.0
func (stub *EnableEpochsHandlerStub) GetCurrentEpoch() uint32
GetCurrentEpoch -
func (*EnableEpochsHandlerStub) IsFlagDefined ¶ added in v1.7.0
func (stub *EnableEpochsHandlerStub) IsFlagDefined(flag core.EnableEpochFlag) bool
IsFlagDefined -
func (*EnableEpochsHandlerStub) IsFlagEnabled ¶ added in v1.7.0
func (stub *EnableEpochsHandlerStub) IsFlagEnabled(flag core.EnableEpochFlag) bool
IsFlagEnabled -
func (*EnableEpochsHandlerStub) IsFlagEnabledInEpoch ¶ added in v1.7.0
func (stub *EnableEpochsHandlerStub) IsFlagEnabledInEpoch(flag core.EnableEpochFlag, epoch uint32) bool
IsFlagEnabledInEpoch -
func (*EnableEpochsHandlerStub) IsInterfaceNil ¶
func (stub *EnableEpochsHandlerStub) IsInterfaceNil() bool
IsInterfaceNil -
func (*EnableEpochsHandlerStub) RemoveActiveFlags ¶ added in v1.7.0
func (stub *EnableEpochsHandlerStub) RemoveActiveFlags(flags ...core.EnableEpochFlag)
RemoveActiveFlags -
Click to show internal directories.
Click to hide internal directories.