workflow

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(id string) (*cased.Workflow, error)

Delete a workflow by it's ID or name.

func Get

func Get(id string) (*cased.Workflow, error)

Retrieve a workflow by it's ID or name.

func New

func New(params *cased.WorkflowParams) (*cased.Workflow, error)

Create a new workflow

func Update

func Update(id string, params *cased.WorkflowParams) (*cased.Workflow, error)

Update a workflow by it's ID or name.

Types

type Client

type Client struct {
	Endpoint cased.Endpoint
}

func (Client) Delete

func (c Client) Delete(id string) (*cased.Workflow, error)

Delete a workflow by it's ID or name.

func (Client) Get

func (c Client) Get(id string) (*cased.Workflow, error)

Retrieve a workflow by it's ID or name.

func (Client) New

func (c Client) New(params *cased.WorkflowParams) (*cased.Workflow, error)

Create a new workflow

func (Client) Update

func (c Client) Update(id string, params *cased.WorkflowParams) (*cased.Workflow, error)

Update a workflow by it's ID or name.

Directories

Path Synopsis
controlstates

Jump to

Keyboard shortcuts

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