Documentation ¶
Index ¶
- type Options
- type State
- type ZeroDownTime
- func (z *ZeroDownTime) Close(ctx context.Context) error
- func (z *ZeroDownTime) IsUpgraded() bool
- func (z *ZeroDownTime) Listener(ctx context.Context, network string, address string, cfg *net.ListenConfig) (net.Listener, error)
- func (z *ZeroDownTime) Shutdown(ctx context.Context) error
- func (z *ZeroDownTime) Upgrade() error
- func (z *ZeroDownTime) WaitForUpgrade(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZeroDownTime ¶
type ZeroDownTime struct {
// contains filtered or unexported fields
}
func New ¶
func New(opts Options) *ZeroDownTime
func (*ZeroDownTime) IsUpgraded ¶
func (z *ZeroDownTime) IsUpgraded() bool
func (*ZeroDownTime) Listener ¶
func (z *ZeroDownTime) Listener(ctx context.Context, network string, address string, cfg *net.ListenConfig) (net.Listener, error)
func (*ZeroDownTime) Upgrade ¶
func (z *ZeroDownTime) Upgrade() error
func (*ZeroDownTime) WaitForUpgrade ¶
func (z *ZeroDownTime) WaitForUpgrade(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.