Documentation ¶
Index ¶
- type ContextBoxGrpcService
- func (c *ContextBoxGrpcService) DeleteConfig(ctx context.Context, request *pb.DeleteConfigRequest) (*pb.DeleteConfigResponse, error)
- func (c *ContextBoxGrpcService) DeleteConfigFromDB(ctx context.Context, request *pb.DeleteConfigRequest) (*pb.DeleteConfigResponse, error)
- func (c *ContextBoxGrpcService) GetAllConfigs(ctx context.Context, request *pb.GetAllConfigsRequest) (*pb.GetAllConfigsResponse, error)
- func (c *ContextBoxGrpcService) GetConfigBuilder(ctx context.Context, request *pb.GetConfigRequest) (*pb.GetConfigResponse, error)
- func (c *ContextBoxGrpcService) GetConfigFromDB(ctx context.Context, request *pb.GetConfigFromDBRequest) (*pb.GetConfigFromDBResponse, error)
- func (c *ContextBoxGrpcService) GetConfigScheduler(ctx context.Context, request *pb.GetConfigRequest) (*pb.GetConfigResponse, error)
- func (c *ContextBoxGrpcService) SaveConfigBuilder(ctx context.Context, request *pb.SaveConfigRequest) (*pb.SaveConfigResponse, error)
- func (c *ContextBoxGrpcService) SaveConfigOperator(ctx context.Context, request *pb.SaveConfigRequest) (*pb.SaveConfigResponse, error)
- func (c *ContextBoxGrpcService) SaveConfigScheduler(ctx context.Context, request *pb.SaveConfigRequest) (*pb.SaveConfigResponse, error)
- func (c *ContextBoxGrpcService) SaveWorkflowState(ctx context.Context, request *pb.SaveWorkflowStateRequest) (*pb.SaveWorkflowStateResponse, error)
- func (c *ContextBoxGrpcService) UpdateNodepool(ctx context.Context, request *pb.UpdateNodepoolRequest) (*pb.UpdateNodepoolResponse, error)
- type GrpcAdapter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextBoxGrpcService ¶
type ContextBoxGrpcService struct { pb.UnimplementedContextBoxServiceServer // contains filtered or unexported fields }
func (*ContextBoxGrpcService) DeleteConfig ¶
func (c *ContextBoxGrpcService) DeleteConfig(ctx context.Context, request *pb.DeleteConfigRequest) (*pb.DeleteConfigResponse, error)
func (*ContextBoxGrpcService) DeleteConfigFromDB ¶
func (c *ContextBoxGrpcService) DeleteConfigFromDB(ctx context.Context, request *pb.DeleteConfigRequest) (*pb.DeleteConfigResponse, error)
func (*ContextBoxGrpcService) GetAllConfigs ¶
func (c *ContextBoxGrpcService) GetAllConfigs(ctx context.Context, request *pb.GetAllConfigsRequest) (*pb.GetAllConfigsResponse, error)
func (*ContextBoxGrpcService) GetConfigBuilder ¶
func (c *ContextBoxGrpcService) GetConfigBuilder(ctx context.Context, request *pb.GetConfigRequest) (*pb.GetConfigResponse, error)
func (*ContextBoxGrpcService) GetConfigFromDB ¶
func (c *ContextBoxGrpcService) GetConfigFromDB(ctx context.Context, request *pb.GetConfigFromDBRequest) (*pb.GetConfigFromDBResponse, error)
func (*ContextBoxGrpcService) GetConfigScheduler ¶
func (c *ContextBoxGrpcService) GetConfigScheduler(ctx context.Context, request *pb.GetConfigRequest) (*pb.GetConfigResponse, error)
func (*ContextBoxGrpcService) SaveConfigBuilder ¶
func (c *ContextBoxGrpcService) SaveConfigBuilder(ctx context.Context, request *pb.SaveConfigRequest) (*pb.SaveConfigResponse, error)
func (*ContextBoxGrpcService) SaveConfigOperator ¶ added in v0.4.1
func (c *ContextBoxGrpcService) SaveConfigOperator(ctx context.Context, request *pb.SaveConfigRequest) (*pb.SaveConfigResponse, error)
func (*ContextBoxGrpcService) SaveConfigScheduler ¶
func (c *ContextBoxGrpcService) SaveConfigScheduler(ctx context.Context, request *pb.SaveConfigRequest) (*pb.SaveConfigResponse, error)
func (*ContextBoxGrpcService) SaveWorkflowState ¶
func (c *ContextBoxGrpcService) SaveWorkflowState(ctx context.Context, request *pb.SaveWorkflowStateRequest) (*pb.SaveWorkflowStateResponse, error)
func (*ContextBoxGrpcService) UpdateNodepool ¶
func (c *ContextBoxGrpcService) UpdateNodepool(ctx context.Context, request *pb.UpdateNodepoolRequest) (*pb.UpdateNodepoolResponse, error)
type GrpcAdapter ¶
type GrpcAdapter struct {
// contains filtered or unexported fields
}
func (*GrpcAdapter) Init ¶
func (g *GrpcAdapter) Init(usecases *usecases.Usecases, opts ...grpc.ServerOption)
Init will create the underlying gRPC server and the gRPC healthcheck server
func (*GrpcAdapter) Serve ¶
func (g *GrpcAdapter) Serve() error
Serve will create a service goroutine for each connection
func (*GrpcAdapter) Stop ¶
func (g *GrpcAdapter) Stop()
Stop will gracefully shutdown the gRPC server and the healthcheck server
Click to show internal directories.
Click to hide internal directories.