client

package
Version: v2.0.0-alpha2+incompat... Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

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, scheme *runtime.Scheme, 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) UpdateWorkflow

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

Source Files

Jump to

Keyboard shortcuts

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