Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrActionNotDefined = errors.New("action is not defined") ErrActionNotImplemented = errors.New("action is not implemented") ErrActionInProgress = errors.New("action is in progress") ErrActionBusy = errors.New("action is busy") ErrActionTimedOut = errors.New("action timed-out") ErrActionFailed = errors.New("action failed") ErrActionInternalError = errors.New("action internal error") )
Functions ¶
func IgnoreNotDefined ¶
Types ¶
type Lifecycle ¶
type Lifecycle interface { PostProvision(ctx context.Context, cli client.Reader, opts *Options) error PreTerminate(ctx context.Context, cli client.Reader, opts *Options) error RoleProbe(ctx context.Context, cli client.Reader, opts *Options) ([]byte, error) Switchover(ctx context.Context, cli client.Reader, opts *Options, candidate string) error MemberJoin(ctx context.Context, cli client.Reader, opts *Options) error MemberLeave(ctx context.Context, cli client.Reader, opts *Options) error DataDump(ctx context.Context, cli client.Reader, opts *Options) error DataLoad(ctx context.Context, cli client.Reader, opts *Options) error AccountProvision(ctx context.Context, cli client.Reader, opts *Options, statement, user, password string) error }
Click to show internal directories.
Click to hide internal directories.