Documentation ¶
Index ¶
- type Service
- func (s *Service) Close()
- func (s *Service) DeliverCmd(ctx context.Context, toNode string, cmds []string, timeout time.Duration) ([]byte, error)
- func (s *Service) DeliverLogRequest(ctx context.Context, operation *service.LogOperation) (opResp oplog.LogContentResponse, err error)
- func (s *Service) DeliverStep(ctx context.Context, step *v1.Step, opts *service.Options) error
- func (s *Service) DeliverTaskOperation(ctx context.Context, operation *v1.Operation, opts *service.Options) error
- func (s *Service) PrepareRun(stopCh <-chan struct{}) error
- func (s *Service) Run(stopCh <-chan struct{}) error
- func (s *Service) SyncClusterCondition(op *v1.Operation)
- func (s *Service) UpdateNodeLeaseOperation(msg *nats.Msg, data []byte) *service.CommonReply
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) DeliverCmd ¶
func (*Service) DeliverLogRequest ¶
func (s *Service) DeliverLogRequest(ctx context.Context, operation *service.LogOperation) (opResp oplog.LogContentResponse, err error)
func (*Service) DeliverStep ¶ added in v1.3.1
func (*Service) DeliverTaskOperation ¶
func (*Service) PrepareRun ¶
func (*Service) SyncClusterCondition ¶
func (*Service) UpdateNodeLeaseOperation ¶
func (s *Service) UpdateNodeLeaseOperation(msg *nats.Msg, data []byte) *service.CommonReply
Click to show internal directories.
Click to hide internal directories.