v1beta2

package
v0.0.0-...-932eec2 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 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 BuilderExpansion

type BuilderExpansion interface{}

type BuilderInterface

type BuilderInterface interface {
	Create(ctx context.Context, builder *v1beta2.Builder, opts v1.CreateOptions) (*v1beta2.Builder, error)
	Update(ctx context.Context, builder *v1beta2.Builder, opts v1.UpdateOptions) (*v1beta2.Builder, error)
	UpdateStatus(ctx context.Context, builder *v1beta2.Builder, opts v1.UpdateOptions) (*v1beta2.Builder, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta2.Builder, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta2.BuilderList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.Builder, err error)
	BuilderExpansion
}

BuilderInterface has methods to work with Builder resources.

type BuildersGetter

type BuildersGetter interface {
	Builders(namespace string) BuilderInterface
}

BuildersGetter has a method to return a BuilderInterface. A group's client should implement this interface.

type CoreV1beta2Client

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

CoreV1beta2Client is used to interact with features provided by the core.openfunction.io group.

func New

New creates a new CoreV1beta2Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new CoreV1beta2Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *CoreV1beta2Client

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

func (*CoreV1beta2Client) Builders

func (c *CoreV1beta2Client) Builders(namespace string) BuilderInterface

func (*CoreV1beta2Client) Functions

func (c *CoreV1beta2Client) Functions(namespace string) FunctionInterface

func (*CoreV1beta2Client) RESTClient

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

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

func (*CoreV1beta2Client) Servings

func (c *CoreV1beta2Client) Servings(namespace string) ServingInterface

type CoreV1beta2Interface

type CoreV1beta2Interface interface {
	RESTClient() rest.Interface
	BuildersGetter
	FunctionsGetter
	ServingsGetter
}

type FunctionExpansion

type FunctionExpansion interface{}

type FunctionInterface

type FunctionInterface interface {
	Create(ctx context.Context, function *v1beta2.Function, opts v1.CreateOptions) (*v1beta2.Function, error)
	Update(ctx context.Context, function *v1beta2.Function, opts v1.UpdateOptions) (*v1beta2.Function, error)
	UpdateStatus(ctx context.Context, function *v1beta2.Function, opts v1.UpdateOptions) (*v1beta2.Function, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta2.Function, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta2.FunctionList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.Function, err error)
	FunctionExpansion
}

FunctionInterface has methods to work with Function resources.

type FunctionsGetter

type FunctionsGetter interface {
	Functions(namespace string) FunctionInterface
}

FunctionsGetter has a method to return a FunctionInterface. A group's client should implement this interface.

type ServingExpansion

type ServingExpansion interface{}

type ServingInterface

type ServingInterface interface {
	Create(ctx context.Context, serving *v1beta2.Serving, opts v1.CreateOptions) (*v1beta2.Serving, error)
	Update(ctx context.Context, serving *v1beta2.Serving, opts v1.UpdateOptions) (*v1beta2.Serving, error)
	UpdateStatus(ctx context.Context, serving *v1beta2.Serving, opts v1.UpdateOptions) (*v1beta2.Serving, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta2.Serving, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta2.ServingList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.Serving, err error)
	ServingExpansion
}

ServingInterface has methods to work with Serving resources.

type ServingsGetter

type ServingsGetter interface {
	Servings(namespace string) ServingInterface
}

ServingsGetter has a method to return a ServingInterface. 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