v88

package
v0.0.35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Service)

type Service

type Service struct {
	// contains filtered or unexported fields
}

nolint

func New

func New(cfg *config.Config, httpClient *http.Client, log *slog.Logger, opts ...Option) (*Service, error)

func (*Service) Ancestry added in v0.0.30

func (s *Service) Ancestry(ctx context.Context, startKey int64) (rootKey int64, path []int64, chain map[int64]processinstance.ProcessInstance, err error)

func (*Service) CancelProcessInstance

func (s *Service) CancelProcessInstance(ctx context.Context, key int64) (processinstance.CancelResponse, error)

func (*Service) Capabilities

func (s *Service) Capabilities(ctx context.Context) camunda.Capabilities

func (*Service) DeleteProcessInstance added in v0.0.30

func (s *Service) DeleteProcessInstance(ctx context.Context, key int64) (processinstance.ChangeStatus, error)

func (*Service) DeleteProcessInstanceWithCancel added in v0.0.30

func (s *Service) DeleteProcessInstanceWithCancel(ctx context.Context, key int64) (processinstance.ChangeStatus, error)

func (*Service) Descendants added in v0.0.30

func (s *Service) Descendants(ctx context.Context, rootKey int64) (desc []int64, edges map[int64][]int64, chain map[int64]processinstance.ProcessInstance, err error)

func (*Service) Family added in v0.0.30

func (s *Service) Family(ctx context.Context, startKey int64) (fam []int64, edges map[int64][]int64, chain map[int64]processinstance.ProcessInstance, err error)

func (*Service) FilterProcessInstanceWithOrphanParent added in v0.0.30

func (s *Service) FilterProcessInstanceWithOrphanParent(ctx context.Context, items []processinstance.ProcessInstance) ([]processinstance.ProcessInstance, error)

func (*Service) GetDirectChildrenOfProcessInstance added in v0.0.30

func (s *Service) GetDirectChildrenOfProcessInstance(ctx context.Context, key int64) (processinstance.ProcessInstances, error)

func (*Service) GetProcessInstanceByKey

func (s *Service) GetProcessInstanceByKey(ctx context.Context, key int64) (processinstance.ProcessInstance, error)

func (*Service) SearchForProcessInstances added in v0.0.30

func (s *Service) SearchForProcessInstances(ctx context.Context, filter processinstance.SearchFilterOpts, size int32) (processinstance.ProcessInstances, error)

func (*Service) WaitForProcessInstanceState

func (s *Service) WaitForProcessInstanceState(ctx context.Context, key int64, desiredState processinstance.State) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL