Documentation ¶
Index ¶
- Variables
- type Form
- type Option
- type Runtime
- func (r *Runtime) Deploy(ctx context.Context, deploy *model.Deployment) (*model.Deployment, error)
- func (r *Runtime) DeployDelete(ctx context.Context, deploymentID string) error
- func (r *Runtime) DeployList(ctx context.Context, opts *model.DeploymentListOptions) ([]*model.Deployment, error)
- func (r *Runtime) NamespaceCreate(ctx context.Context, namespace *model.Namespace) (*model.Namespace, error)
- func (r *Runtime) NamespaceDelete(ctx context.Context, namespaceID string) error
- func (r *Runtime) NamespaceGetByID(ctx context.Context, namespaceID string) (*model.Namespace, error)
- func (r *Runtime) NamespaceGetByName(ctx context.Context, namespaceName string) (*model.Namespace, error)
- func (r *Runtime) NamespaceList(ctx context.Context, opts *model.NamespaceQueryOptions) ([]*model.Namespace, error)
- func (r *Runtime) NamespaceListCount(ctx context.Context, opts *model.NamespaceQueryOptions) (int64, error)
- func (r *Runtime) ProcessDefinitionGet(ctx context.Context, pd *model.ProcessDefinition) (*model.ProcessDefinition, error)
- func (r *Runtime) ProcessDefinitionStart(ctx context.Context, pd *model.ProcessDefinition) (string, error)
- func (r *Runtime) ProcessInstanceActivateSuspend(ctx context.Context, pi *model.ProcessInstance) error
- func (r *Runtime) ProcessInstanceGet(ctx context.Context, pi *model.ProcessInstance) (*model.ProcessInstance, error)
- func (r *Runtime) RootParsers() map[string]element.Element
- func (r *Runtime) Run(opts ...Option) error
- func (r *Runtime) Store() store.Store
- func (r *Runtime) TaskCreate(ctx context.Context, task *wedo.TaskCreateRequest) (string, error)
- func (r *Runtime) TaskDelete(ctx context.Context, taskId string) error
- func (r *Runtime) TaskGet(ctx context.Context, taskId string) (*wedo.TaskResponse, error)
- func (r *Runtime) TaskList(ctx context.Context, request *wedo.TaskListRequest) ([]*wedo.TaskResponse, error)
- func (r *Runtime) UserCreate(ctx context.Context, user *model.User) error
- func (r *Runtime) UserDelete(ctx context.Context, id string) error
- func (r *Runtime) UserGet(ctx context.Context, id string) (*model.User, error)
- func (r *Runtime) UserList(ctx context.Context, opts *model.UserListOptions) ([]*model.User, error)
- func (r *Runtime) UserUpdate(ctx context.Context, user *model.User) error
- type Token
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidProcessInstanceId = errors.New("invalid process instance id")
)
View Source
var (
ErrNamespaceNameExist = errors.New("namespace name exist")
)
View Source
var (
ErrUserExist = errors.New("user email already exist")
)
Functions ¶
This section is empty.
Types ¶
type Form ¶
func (*Form) SetMetadata ¶
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
func (*Runtime) Deploy ¶
func (r *Runtime) Deploy(ctx context.Context, deploy *model.Deployment) (*model.Deployment, error)
func (*Runtime) DeployDelete ¶
DeployDelete deletes a deployment
func (*Runtime) DeployList ¶
func (r *Runtime) DeployList(ctx context.Context, opts *model.DeploymentListOptions) ([]*model.Deployment, error)
DeployList returns a list of deployments
func (*Runtime) NamespaceCreate ¶
func (*Runtime) NamespaceDelete ¶
NamespaceDelete deletes a namespace
func (*Runtime) NamespaceGetByID ¶
func (*Runtime) NamespaceGetByName ¶
func (*Runtime) NamespaceList ¶
func (r *Runtime) NamespaceList(ctx context.Context, opts *model.NamespaceQueryOptions) ([]*model.Namespace, error)
NamespaceList returns a list of namespaces
func (*Runtime) NamespaceListCount ¶
func (r *Runtime) NamespaceListCount(ctx context.Context, opts *model.NamespaceQueryOptions) (int64, error)
NamespaceListCount returns a count of namespaces
func (*Runtime) ProcessDefinitionGet ¶
func (r *Runtime) ProcessDefinitionGet(ctx context.Context, pd *model.ProcessDefinition) (*model.ProcessDefinition, error)
func (*Runtime) ProcessDefinitionStart ¶
func (r *Runtime) ProcessDefinitionStart(ctx context.Context, pd *model.ProcessDefinition) (string, error)
ProcessDefinitionStart Request is the request body for starting a process.
func (*Runtime) ProcessInstanceActivateSuspend ¶
func (r *Runtime) ProcessInstanceActivateSuspend(ctx context.Context, pi *model.ProcessInstance) error
ProcessInstanceActivateSuspend Activate/Suspend process instance
func (*Runtime) ProcessInstanceGet ¶
func (r *Runtime) ProcessInstanceGet(ctx context.Context, pi *model.ProcessInstance) (*model.ProcessInstance, error)
func (*Runtime) TaskCreate ¶
TaskCreate creates a new task.
func (*Runtime) TaskDelete ¶
TaskDelete deletes a task by id.
func (*Runtime) TaskList ¶
func (r *Runtime) TaskList(ctx context.Context, request *wedo.TaskListRequest) ([]*wedo.TaskResponse, error)
TaskList gets a list of tasks by process instance id.
func (*Runtime) UserCreate ¶
func (*Runtime) UserDelete ¶
UserDelete deletes a user by ID.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.