v87

package
v0.0.28 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StateOrNil

func StateOrNil(s processinstance.State) *operatev87.ProcessInstanceState

Types

type Option

type Option func(*Service)

func WithQuietEnabled

func WithQuietEnabled(enabled bool) Option

type Service

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

func New

func New(cfg *config.Config, httpClient *http.Client, auth *auth.Service, opts ...Option) (*Service, 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

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

func (*Service) DeleteProcessInstanceWithCancel

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

func (*Service) FilterProcessInstanceWithOrphanParent

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

func (*Service) GetDirectChildrenOfProcessInstance

func (s *Service) GetDirectChildrenOfProcessInstance(ctx context.Context, key int64) (*[]operatev87.ProcessInstance, error)

func (*Service) GetProcessInstanceByKey

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

func (*Service) SearchForProcessInstances

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

func (*Service) WaitForProcessInstanceState

func (s *Service) WaitForProcessInstanceState(ctx context.Context, key string, desiredState string) error

WaitForProcessInstanceState waits until the instance reaches the desired state. - Respects ctx cancellation/deadline; augments with cfg.Timeout if set - Returns nil on success or an error on failure/timeout.

Jump to

Keyboard shortcuts

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