v1

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Generated file, do not modify manually! This package has the automatically generated typed clients.

Generated file, do not modify manually!

Generated file, do not modify manually!

Generated file, do not modify manually!

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WorkflowExpansion

type WorkflowExpansion interface{}

type WorkflowInterface

type WorkflowInterface interface {
	Create(*v1.Workflow) (*v1.Workflow, error)
	Update(*v1.Workflow) (*v1.Workflow, error)
	UpdateStatus(*v1.Workflow) (*v1.Workflow, error)
	Delete(name string, options *meta_v1.DeleteOptions) error
	DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
	Get(name string, options meta_v1.GetOptions) (*v1.Workflow, error)
	List(opts meta_v1.ListOptions) (*v1.WorkflowList, error)
	Watch(opts meta_v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Workflow, err error)
	WorkflowExpansion
}

WorkflowInterface has methods to work with Workflow resources.

type WorkflowV1Client

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

WorkflowV1Client is used to interact with features provided by the workflow group.

func New

New creates a new WorkflowV1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*WorkflowV1Client, error)

NewForConfig creates a new WorkflowV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *WorkflowV1Client

NewForConfigOrDie creates a new WorkflowV1Client for the given config and panics if there is an error in the config.

func (*WorkflowV1Client) RESTClient

func (c *WorkflowV1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*WorkflowV1Client) Workflows

func (c *WorkflowV1Client) Workflows(namespace string) WorkflowInterface

type WorkflowV1Interface

type WorkflowV1Interface interface {
	RESTClient() rest.Interface
	WorkflowsGetter
}

type WorkflowsGetter

type WorkflowsGetter interface {
	Workflows(namespace string) WorkflowInterface
}

WorkflowsGetter has a method to return a WorkflowInterface. A group's client should implement this interface.

Directories

Path Synopsis
Generated file, do not modify manually! Package fake has the automatically generated clients.
Generated file, do not modify manually! Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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