Documentation ¶
Index ¶
- type GRPCHealthChecker
- type HealthChecker
- type InstanceOps
- type Server
- func (s *Server) InstanceCreate(ctx context.Context, req *rpc.InstanceCreateRequest) (*rpc.InstanceResponse, error)
- func (s *Server) InstanceDelete(ctx context.Context, req *rpc.InstanceDeleteRequest) (*rpc.InstanceResponse, error)
- func (s *Server) InstanceGet(ctx context.Context, req *rpc.InstanceGetRequest) (*rpc.InstanceResponse, error)
- func (s *Server) InstanceList(ctx context.Context, req *emptypb.Empty) (*rpc.InstanceListResponse, error)
- func (s *Server) InstanceLog(req *rpc.InstanceLogRequest, srv rpc.InstanceService_InstanceLogServer) error
- func (s *Server) InstanceReplace(ctx context.Context, req *rpc.InstanceReplaceRequest) (*rpc.InstanceResponse, error)
- func (s *Server) InstanceWatch(req *emptypb.Empty, srv rpc.InstanceService_InstanceWatchServer) error
- func (s *Server) VersionGet(ctx context.Context, req *emptypb.Empty) (*rpc.VersionResponse, error)
- type V1DataEngineInstanceOps
- func (ops V1DataEngineInstanceOps) InstanceCreate(req *rpc.InstanceCreateRequest) (*rpc.InstanceResponse, error)
- func (ops V1DataEngineInstanceOps) InstanceDelete(req *rpc.InstanceDeleteRequest) (*rpc.InstanceResponse, error)
- func (ops V1DataEngineInstanceOps) InstanceGet(req *rpc.InstanceGetRequest) (*rpc.InstanceResponse, error)
- func (ops V1DataEngineInstanceOps) InstanceList(instances map[string]*rpc.InstanceResponse) error
- func (ops V1DataEngineInstanceOps) InstanceLog(req *rpc.InstanceLogRequest, srv rpc.InstanceService_InstanceLogServer) error
- func (ops V1DataEngineInstanceOps) InstanceReplace(req *rpc.InstanceReplaceRequest) (*rpc.InstanceResponse, error)
- type V2DataEngineInstanceOps
- func (ops V2DataEngineInstanceOps) InstanceCreate(req *rpc.InstanceCreateRequest) (*rpc.InstanceResponse, error)
- func (ops V2DataEngineInstanceOps) InstanceDelete(req *rpc.InstanceDeleteRequest) (*rpc.InstanceResponse, error)
- func (ops V2DataEngineInstanceOps) InstanceGet(req *rpc.InstanceGetRequest) (*rpc.InstanceResponse, error)
- func (ops V2DataEngineInstanceOps) InstanceList(instances map[string]*rpc.InstanceResponse) error
- func (ops V2DataEngineInstanceOps) InstanceLog(req *rpc.InstanceLogRequest, srv rpc.InstanceService_InstanceLogServer) error
- func (ops V2DataEngineInstanceOps) InstanceReplace(req *rpc.InstanceReplaceRequest) (*rpc.InstanceResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCHealthChecker ¶
type GRPCHealthChecker struct{}
func (*GRPCHealthChecker) IsRunning ¶
func (c *GRPCHealthChecker) IsRunning(address string) bool
func (*GRPCHealthChecker) WaitForRunning ¶
func (c *GRPCHealthChecker) WaitForRunning(address, name string, stopCh chan struct{}) bool
type HealthChecker ¶
type InstanceOps ¶ added in v1.6.0
type InstanceOps interface { InstanceCreate(*rpc.InstanceCreateRequest) (*rpc.InstanceResponse, error) InstanceDelete(*rpc.InstanceDeleteRequest) (*rpc.InstanceResponse, error) InstanceGet(*rpc.InstanceGetRequest) (*rpc.InstanceResponse, error) InstanceList(map[string]*rpc.InstanceResponse) error InstanceReplace(*rpc.InstanceReplaceRequest) (*rpc.InstanceResponse, error) InstanceLog(*rpc.InstanceLogRequest, rpc.InstanceService_InstanceLogServer) error }
type Server ¶
type Server struct { HealthChecker HealthChecker // contains filtered or unexported fields }
func (*Server) InstanceCreate ¶
func (s *Server) InstanceCreate(ctx context.Context, req *rpc.InstanceCreateRequest) (*rpc.InstanceResponse, error)
func (*Server) InstanceDelete ¶
func (s *Server) InstanceDelete(ctx context.Context, req *rpc.InstanceDeleteRequest) (*rpc.InstanceResponse, error)
func (*Server) InstanceGet ¶
func (s *Server) InstanceGet(ctx context.Context, req *rpc.InstanceGetRequest) (*rpc.InstanceResponse, error)
func (*Server) InstanceList ¶
func (*Server) InstanceLog ¶
func (s *Server) InstanceLog(req *rpc.InstanceLogRequest, srv rpc.InstanceService_InstanceLogServer) error
func (*Server) InstanceReplace ¶
func (s *Server) InstanceReplace(ctx context.Context, req *rpc.InstanceReplaceRequest) (*rpc.InstanceResponse, error)
func (*Server) InstanceWatch ¶
func (*Server) VersionGet ¶
type V1DataEngineInstanceOps ¶ added in v1.6.0
type V1DataEngineInstanceOps struct {
// contains filtered or unexported fields
}
func (V1DataEngineInstanceOps) InstanceCreate ¶ added in v1.6.0
func (ops V1DataEngineInstanceOps) InstanceCreate(req *rpc.InstanceCreateRequest) (*rpc.InstanceResponse, error)
func (V1DataEngineInstanceOps) InstanceDelete ¶ added in v1.6.0
func (ops V1DataEngineInstanceOps) InstanceDelete(req *rpc.InstanceDeleteRequest) (*rpc.InstanceResponse, error)
func (V1DataEngineInstanceOps) InstanceGet ¶ added in v1.6.0
func (ops V1DataEngineInstanceOps) InstanceGet(req *rpc.InstanceGetRequest) (*rpc.InstanceResponse, error)
func (V1DataEngineInstanceOps) InstanceList ¶ added in v1.6.0
func (ops V1DataEngineInstanceOps) InstanceList(instances map[string]*rpc.InstanceResponse) error
func (V1DataEngineInstanceOps) InstanceLog ¶ added in v1.6.0
func (ops V1DataEngineInstanceOps) InstanceLog(req *rpc.InstanceLogRequest, srv rpc.InstanceService_InstanceLogServer) error
func (V1DataEngineInstanceOps) InstanceReplace ¶ added in v1.6.0
func (ops V1DataEngineInstanceOps) InstanceReplace(req *rpc.InstanceReplaceRequest) (*rpc.InstanceResponse, error)
type V2DataEngineInstanceOps ¶ added in v1.6.0
type V2DataEngineInstanceOps struct {
// contains filtered or unexported fields
}
func (V2DataEngineInstanceOps) InstanceCreate ¶ added in v1.6.0
func (ops V2DataEngineInstanceOps) InstanceCreate(req *rpc.InstanceCreateRequest) (*rpc.InstanceResponse, error)
func (V2DataEngineInstanceOps) InstanceDelete ¶ added in v1.6.0
func (ops V2DataEngineInstanceOps) InstanceDelete(req *rpc.InstanceDeleteRequest) (*rpc.InstanceResponse, error)
func (V2DataEngineInstanceOps) InstanceGet ¶ added in v1.6.0
func (ops V2DataEngineInstanceOps) InstanceGet(req *rpc.InstanceGetRequest) (*rpc.InstanceResponse, error)
func (V2DataEngineInstanceOps) InstanceList ¶ added in v1.6.0
func (ops V2DataEngineInstanceOps) InstanceList(instances map[string]*rpc.InstanceResponse) error
func (V2DataEngineInstanceOps) InstanceLog ¶ added in v1.6.0
func (ops V2DataEngineInstanceOps) InstanceLog(req *rpc.InstanceLogRequest, srv rpc.InstanceService_InstanceLogServer) error
func (V2DataEngineInstanceOps) InstanceReplace ¶ added in v1.6.0
func (ops V2DataEngineInstanceOps) InstanceReplace(req *rpc.InstanceReplaceRequest) (*rpc.InstanceResponse, error)
Click to show internal directories.
Click to hide internal directories.