v1

package
Version: v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: Apache-2.0 Imports: 9 Imported by: 6

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 ApiServerSourceExpansion

type ApiServerSourceExpansion interface{}

type ApiServerSourceInterface

type ApiServerSourceInterface interface {
	Create(ctx context.Context, apiServerSource *v1.ApiServerSource, opts metav1.CreateOptions) (*v1.ApiServerSource, error)
	Update(ctx context.Context, apiServerSource *v1.ApiServerSource, opts metav1.UpdateOptions) (*v1.ApiServerSource, error)
	UpdateStatus(ctx context.Context, apiServerSource *v1.ApiServerSource, opts metav1.UpdateOptions) (*v1.ApiServerSource, 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.ApiServerSource, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ApiServerSourceList, 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.ApiServerSource, err error)
	ApiServerSourceExpansion
}

ApiServerSourceInterface has methods to work with ApiServerSource resources.

type ApiServerSourcesGetter

type ApiServerSourcesGetter interface {
	ApiServerSources(namespace string) ApiServerSourceInterface
}

ApiServerSourcesGetter has a method to return a ApiServerSourceInterface. A group's client should implement this interface.

type ContainerSourceExpansion

type ContainerSourceExpansion interface{}

type ContainerSourceInterface

type ContainerSourceInterface interface {
	Create(ctx context.Context, containerSource *v1.ContainerSource, opts metav1.CreateOptions) (*v1.ContainerSource, error)
	Update(ctx context.Context, containerSource *v1.ContainerSource, opts metav1.UpdateOptions) (*v1.ContainerSource, error)
	UpdateStatus(ctx context.Context, containerSource *v1.ContainerSource, opts metav1.UpdateOptions) (*v1.ContainerSource, 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.ContainerSource, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ContainerSourceList, 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.ContainerSource, err error)
	ContainerSourceExpansion
}

ContainerSourceInterface has methods to work with ContainerSource resources.

type ContainerSourcesGetter

type ContainerSourcesGetter interface {
	ContainerSources(namespace string) ContainerSourceInterface
}

ContainerSourcesGetter has a method to return a ContainerSourceInterface. A group's client should implement this interface.

type PingSourceExpansion added in v0.23.0

type PingSourceExpansion interface{}

type PingSourceInterface added in v0.23.0

type PingSourceInterface interface {
	Create(ctx context.Context, pingSource *v1.PingSource, opts metav1.CreateOptions) (*v1.PingSource, error)
	Update(ctx context.Context, pingSource *v1.PingSource, opts metav1.UpdateOptions) (*v1.PingSource, error)
	UpdateStatus(ctx context.Context, pingSource *v1.PingSource, opts metav1.UpdateOptions) (*v1.PingSource, 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.PingSource, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.PingSourceList, 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.PingSource, err error)
	PingSourceExpansion
}

PingSourceInterface has methods to work with PingSource resources.

type PingSourcesGetter added in v0.23.0

type PingSourcesGetter interface {
	PingSources(namespace string) PingSourceInterface
}

PingSourcesGetter has a method to return a PingSourceInterface. A group's client should implement this interface.

type SinkBindingExpansion

type SinkBindingExpansion interface{}

type SinkBindingInterface

type SinkBindingInterface interface {
	Create(ctx context.Context, sinkBinding *v1.SinkBinding, opts metav1.CreateOptions) (*v1.SinkBinding, error)
	Update(ctx context.Context, sinkBinding *v1.SinkBinding, opts metav1.UpdateOptions) (*v1.SinkBinding, error)
	UpdateStatus(ctx context.Context, sinkBinding *v1.SinkBinding, opts metav1.UpdateOptions) (*v1.SinkBinding, 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.SinkBinding, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.SinkBindingList, 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.SinkBinding, err error)
	SinkBindingExpansion
}

SinkBindingInterface has methods to work with SinkBinding resources.

type SinkBindingsGetter

type SinkBindingsGetter interface {
	SinkBindings(namespace string) SinkBindingInterface
}

SinkBindingsGetter has a method to return a SinkBindingInterface. A group's client should implement this interface.

type SourcesV1Client

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

SourcesV1Client is used to interact with features provided by the sources.knative.dev group.

func New

New creates a new SourcesV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new SourcesV1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient added in v0.31.0

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*SourcesV1Client, error)

NewForConfigAndClient creates a new SourcesV1Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *SourcesV1Client

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

func (*SourcesV1Client) ApiServerSources

func (c *SourcesV1Client) ApiServerSources(namespace string) ApiServerSourceInterface

func (*SourcesV1Client) ContainerSources

func (c *SourcesV1Client) ContainerSources(namespace string) ContainerSourceInterface

func (*SourcesV1Client) PingSources added in v0.23.0

func (c *SourcesV1Client) PingSources(namespace string) PingSourceInterface

func (*SourcesV1Client) RESTClient

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

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

func (*SourcesV1Client) SinkBindings

func (c *SourcesV1Client) SinkBindings(namespace string) SinkBindingInterface

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