Documentation
¶
Index ¶
- type Clients
- type VersionClient
- type WorkflowClient
- func (wc *WorkflowClient) Assign(name, codesetProject, codesetName string) (err error)
- func (wc *WorkflowClient) Create(workflowDef string) (*workflow.Workflow, error)
- func (wc *WorkflowClient) Delete(name string) (err error)
- func (wc *WorkflowClient) Get(name string) (*workflow.Workflow, error)
- func (wc *WorkflowClient) List(name string) ([]*workflow.Workflow, error)
- func (wc *WorkflowClient) ListAssignments(name string) ([]*workflow.WorkflowAssignment, error)
- func (wc *WorkflowClient) ListRuns(name, codesetProject, codesetName, status string) ([]*workflow.WorkflowRun, error)
- func (wc *WorkflowClient) Unassign(name, codesetProject, codesetName string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clients ¶
type Clients struct {
CodesetClient *codesetc.Client
ApplicationClient *applicationc.Client
WorkflowClient *WorkflowClient
RunnableClient *runnablec.Client
VersionClient *VersionClient
}
Clients holds a list of clients for all FuseML endpoints
type VersionClient ¶
type VersionClient struct {
// contains filtered or unexported fields
}
VersionClient holds a client for Version
func NewVersionClient ¶
func NewVersionClient(scheme string, host string, doer goahttp.Doer, encoder func(*http.Request) goahttp.Encoder, decoder func(*http.Response) goahttp.Decoder, verbose bool) *VersionClient
NewVersionClient initializes a VersionClient
func (*VersionClient) Get ¶
func (vc *VersionClient) Get() (*version.VersionInfo, error)
Get version information.
type WorkflowClient ¶
type WorkflowClient struct {
// contains filtered or unexported fields
}
WorkflowClient holds a client for Workflow
func NewWorkflowClient ¶
func NewWorkflowClient(scheme string, host string, doer goahttp.Doer, encoder func(*http.Request) goahttp.Encoder, decoder func(*http.Response) goahttp.Decoder, verbose bool) *WorkflowClient
NewWorkflowClient initializes a WorkflowClient
func (*WorkflowClient) Assign ¶
func (wc *WorkflowClient) Assign(name, codesetProject, codesetName string) (err error)
Assign a Workflow to a Codeset.
func (*WorkflowClient) Create ¶
func (wc *WorkflowClient) Create(workflowDef string) (*workflow.Workflow, error)
Create a new Workflow.
func (*WorkflowClient) Delete ¶
func (wc *WorkflowClient) Delete(name string) (err error)
Delete a Workflow and its assignments.
func (*WorkflowClient) Get ¶
func (wc *WorkflowClient) Get(name string) (*workflow.Workflow, error)
Get a Workflow.
func (*WorkflowClient) List ¶
func (wc *WorkflowClient) List(name string) ([]*workflow.Workflow, error)
List Workflows.
func (*WorkflowClient) ListAssignments ¶
func (wc *WorkflowClient) ListAssignments(name string) ([]*workflow.WorkflowAssignment, error)
ListAssignments lists Workflow assignments.
func (*WorkflowClient) ListRuns ¶
func (wc *WorkflowClient) ListRuns(name, codesetProject, codesetName, status string) ([]*workflow.WorkflowRun, error)
ListRuns lists Workflow runs.
func (*WorkflowClient) Unassign ¶
func (wc *WorkflowClient) Unassign(name, codesetProject, codesetName string) (err error)
Unassign removes an assignment between a workflow and a codeset.
Click to show internal directories.
Click to hide internal directories.