client

package
v2.0.0-alpha1+incompat... Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2017 License: Apache-2.0 Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteCustomResourceDefinition

func DeleteCustomResourceDefinition(clientset apiextensionsclient.Interface) error

DeleteCustomResourceDefinition deletes the Workflow CRD

func NewRESTClient

func NewRESTClient(cfg *rest.Config) (*rest.RESTClient, *runtime.Scheme, error)

NewRESTClient returns a generic RESTClient that operates on kubernetes-like APIs

Types

type WorkflowClient

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

func NewWorkflowClient

func NewWorkflowClient(cl *rest.RESTClient, namespace string) *WorkflowClient

func (*WorkflowClient) CreateWorkflow

func (f *WorkflowClient) CreateWorkflow(obj *wfv1.Workflow) (*wfv1.Workflow, error)

func (*WorkflowClient) DeleteWorkflow

func (f *WorkflowClient) DeleteWorkflow(name string, options *metav1.DeleteOptions) error

func (*WorkflowClient) GetWorkflow

func (f *WorkflowClient) GetWorkflow(name string) (*wfv1.Workflow, error)

func (*WorkflowClient) ListWorkflows

func (f *WorkflowClient) ListWorkflows(opts metav1.ListOptions) (*wfv1.WorkflowList, error)

func (*WorkflowClient) NewListWatch

func (f *WorkflowClient) NewListWatch() *cache.ListWatch

func (*WorkflowClient) UpdateWorkflow

func (f *WorkflowClient) UpdateWorkflow(obj *wfv1.Workflow) (*wfv1.Workflow, error)

Jump to

Keyboard shortcuts

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