Documentation ¶
Index ¶
- type PolardbxOperations
- func (polardbxOps *PolardbxOperations) ExecOps(ctx context.Context, req *ProbeRequest, resp *ProbeResponse) (OpsResult, error)
- func (polardbxOps *PolardbxOperations) GetRole(ctx context.Context, request *ProbeRequest, response *ProbeResponse) (string, error)
- func (polardbxOps *PolardbxOperations) GetRunningPort() int
- func (polardbxOps *PolardbxOperations) Init(metadata component.Properties) error
- func (polardbxOps *PolardbxOperations) QueryOps(ctx context.Context, req *ProbeRequest, resp *ProbeResponse) (OpsResult, error)
- type QueryRes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PolardbxOperations ¶
type PolardbxOperations struct {
BaseOperations
}
PolardbxOperations represents polardbx output bindings.
func NewPolardbx ¶
func NewPolardbx(logger logr.Logger) *PolardbxOperations
NewPolardbx returns a new polardbx output binding.
func (*PolardbxOperations) ExecOps ¶
func (polardbxOps *PolardbxOperations) ExecOps(ctx context.Context, req *ProbeRequest, resp *ProbeResponse) (OpsResult, error)
func (*PolardbxOperations) GetRole ¶
func (polardbxOps *PolardbxOperations) GetRole(ctx context.Context, request *ProbeRequest, response *ProbeResponse) (string, error)
func (*PolardbxOperations) GetRunningPort ¶
func (polardbxOps *PolardbxOperations) GetRunningPort() int
func (*PolardbxOperations) Init ¶
func (polardbxOps *PolardbxOperations) Init(metadata component.Properties) error
Init initializes the polardbx binding.
Click to show internal directories.
Click to hide internal directories.