Documentation ¶
Index ¶
- type Etcd
- func (e *Etcd) GetLogger() logr.Logger
- func (e *Etcd) GetRole(ctx context.Context, req *ProbeRequest, resp *ProbeResponse) (string, error)
- func (e *Etcd) GetRoleOps(ctx context.Context, req *ProbeRequest, resp *ProbeResponse) (OpsResult, error)
- func (e *Etcd) GetRunningPort() int
- func (e *Etcd) Init(metadata component.Properties) error
- func (e *Etcd) InitDelay() error
- func (e *Etcd) InternalExec(ctx context.Context, sql string) (int64, error)
- func (e *Etcd) InternalQuery(ctx context.Context, sql string) ([]byte, error)
- func (e *Etcd) StatusCheck(ctx context.Context, cmd string, response *ProbeResponse) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Etcd ¶
type Etcd struct { BaseOperations // contains filtered or unexported fields }
func (*Etcd) GetRoleOps ¶
func (*Etcd) GetRunningPort ¶
func (*Etcd) InternalExec ¶
func (*Etcd) InternalQuery ¶
Click to show internal directories.
Click to hide internal directories.