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 ¶
func NewEnableEpochsHandlerStub(flags ...core.EnableEpochFlag) *EnableEpochsHandlerStub
NewEnableEpochsHandlerStub -
func NewEnableEpochsHandlerStubWithNoFlagsDefined ¶
func NewEnableEpochsHandlerStubWithNoFlagsDefined() *EnableEpochsHandlerStub
NewEnableEpochsHandlerStubWithNoFlagsDefined -
func (*EnableEpochsHandlerStub) AddActiveFlags ¶
func (stub *EnableEpochsHandlerStub) AddActiveFlags(flags ...core.EnableEpochFlag)
AddActiveFlags -
func (*EnableEpochsHandlerStub) GetActivationEpoch ¶
func (stub *EnableEpochsHandlerStub) GetActivationEpoch(flag core.EnableEpochFlag) uint32
GetActivationEpoch -
func (*EnableEpochsHandlerStub) GetCurrentEpoch ¶
func (stub *EnableEpochsHandlerStub) GetCurrentEpoch() uint32
GetCurrentEpoch -
func (*EnableEpochsHandlerStub) IsFlagDefined ¶
func (stub *EnableEpochsHandlerStub) IsFlagDefined(flag core.EnableEpochFlag) bool
IsFlagDefined -
func (*EnableEpochsHandlerStub) IsFlagEnabled ¶
func (stub *EnableEpochsHandlerStub) IsFlagEnabled(flag core.EnableEpochFlag) bool
IsFlagEnabled -
func (*EnableEpochsHandlerStub) IsFlagEnabledInEpoch ¶
func (stub *EnableEpochsHandlerStub) IsFlagEnabledInEpoch(flag core.EnableEpochFlag, epoch uint32) bool
IsFlagEnabledInEpoch -
func (*EnableEpochsHandlerStub) IsInterfaceNil ¶
func (stub *EnableEpochsHandlerStub) IsInterfaceNil() bool
IsInterfaceNil -
func (*EnableEpochsHandlerStub) RemoveActiveFlags ¶
func (stub *EnableEpochsHandlerStub) RemoveActiveFlags(flags ...core.EnableEpochFlag)
RemoveActiveFlags -
Click to show internal directories.
Click to hide internal directories.