v1

package
v0.0.0-...-750586a Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlowV1Client

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

FlowV1Client is used to interact with features provided by the flow.knative.dev group.

func New

func New(c rest.Interface) *FlowV1Client

New creates a new FlowV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new FlowV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *FlowV1Client

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

func (*FlowV1Client) RESTClient

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

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

func (*FlowV1Client) StateMachineRunners

func (c *FlowV1Client) StateMachineRunners(namespace string) StateMachineRunnerInterface

func (*FlowV1Client) StateMachines

func (c *FlowV1Client) StateMachines(namespace string) StateMachineInterface

type FlowV1Interface

type FlowV1Interface interface {
	RESTClient() rest.Interface
	StateMachinesGetter
	StateMachineRunnersGetter
}

type StateMachineExpansion

type StateMachineExpansion interface{}

type StateMachineInterface

type StateMachineInterface interface {
	Create(ctx context.Context, stateMachine *v1.StateMachine, opts metav1.CreateOptions) (*v1.StateMachine, error)
	Update(ctx context.Context, stateMachine *v1.StateMachine, opts metav1.UpdateOptions) (*v1.StateMachine, error)
	UpdateStatus(ctx context.Context, stateMachine *v1.StateMachine, opts metav1.UpdateOptions) (*v1.StateMachine, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.StateMachine, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.StateMachineList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.StateMachine, err error)
	StateMachineExpansion
}

StateMachineInterface has methods to work with StateMachine resources.

type StateMachineRunnerExpansion

type StateMachineRunnerExpansion interface{}

type StateMachineRunnerInterface

type StateMachineRunnerInterface interface {
	Create(ctx context.Context, stateMachineRunner *v1.StateMachineRunner, opts metav1.CreateOptions) (*v1.StateMachineRunner, error)
	Update(ctx context.Context, stateMachineRunner *v1.StateMachineRunner, opts metav1.UpdateOptions) (*v1.StateMachineRunner, error)
	UpdateStatus(ctx context.Context, stateMachineRunner *v1.StateMachineRunner, opts metav1.UpdateOptions) (*v1.StateMachineRunner, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.StateMachineRunner, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.StateMachineRunnerList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.StateMachineRunner, err error)
	StateMachineRunnerExpansion
}

StateMachineRunnerInterface has methods to work with StateMachineRunner resources.

type StateMachineRunnersGetter

type StateMachineRunnersGetter interface {
	StateMachineRunners(namespace string) StateMachineRunnerInterface
}

StateMachineRunnersGetter has a method to return a StateMachineRunnerInterface. A group's client should implement this interface.

type StateMachinesGetter

type StateMachinesGetter interface {
	StateMachines(namespace string) StateMachineInterface
}

StateMachinesGetter has a method to return a StateMachineInterface. A group's client should implement this interface.

Directories

Path Synopsis
Package fake has the automatically generated clients.
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