v1

package
Version: v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: Apache-2.0 Imports: 8 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 ChannelExpansion

type ChannelExpansion interface{}

type ChannelInterface

type ChannelInterface interface {
	Create(ctx context.Context, channel *v1.Channel, opts metav1.CreateOptions) (*v1.Channel, error)
	Update(ctx context.Context, channel *v1.Channel, opts metav1.UpdateOptions) (*v1.Channel, error)
	UpdateStatus(ctx context.Context, channel *v1.Channel, opts metav1.UpdateOptions) (*v1.Channel, 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.Channel, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ChannelList, 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.Channel, err error)
	ChannelExpansion
}

ChannelInterface has methods to work with Channel resources.

type ChannelsGetter

type ChannelsGetter interface {
	Channels(namespace string) ChannelInterface
}

ChannelsGetter has a method to return a ChannelInterface. A group's client should implement this interface.

type InMemoryChannelExpansion

type InMemoryChannelExpansion interface{}

type InMemoryChannelInterface

type InMemoryChannelInterface interface {
	Create(ctx context.Context, inMemoryChannel *v1.InMemoryChannel, opts metav1.CreateOptions) (*v1.InMemoryChannel, error)
	Update(ctx context.Context, inMemoryChannel *v1.InMemoryChannel, opts metav1.UpdateOptions) (*v1.InMemoryChannel, error)
	UpdateStatus(ctx context.Context, inMemoryChannel *v1.InMemoryChannel, opts metav1.UpdateOptions) (*v1.InMemoryChannel, 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.InMemoryChannel, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.InMemoryChannelList, 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.InMemoryChannel, err error)
	InMemoryChannelExpansion
}

InMemoryChannelInterface has methods to work with InMemoryChannel resources.

type InMemoryChannelsGetter

type InMemoryChannelsGetter interface {
	InMemoryChannels(namespace string) InMemoryChannelInterface
}

InMemoryChannelsGetter has a method to return a InMemoryChannelInterface. A group's client should implement this interface.

type MessagingV1Client

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

MessagingV1Client is used to interact with features provided by the messaging.knative.dev group.

func New

New creates a new MessagingV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new MessagingV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *MessagingV1Client

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

func (*MessagingV1Client) Channels

func (c *MessagingV1Client) Channels(namespace string) ChannelInterface

func (*MessagingV1Client) InMemoryChannels

func (c *MessagingV1Client) InMemoryChannels(namespace string) InMemoryChannelInterface

func (*MessagingV1Client) RESTClient

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

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

func (*MessagingV1Client) Subscriptions

func (c *MessagingV1Client) Subscriptions(namespace string) SubscriptionInterface

type MessagingV1Interface

type MessagingV1Interface interface {
	RESTClient() rest.Interface
	ChannelsGetter
	InMemoryChannelsGetter
	SubscriptionsGetter
}

type SubscriptionExpansion

type SubscriptionExpansion interface{}

type SubscriptionInterface

type SubscriptionInterface interface {
	Create(ctx context.Context, subscription *v1.Subscription, opts metav1.CreateOptions) (*v1.Subscription, error)
	Update(ctx context.Context, subscription *v1.Subscription, opts metav1.UpdateOptions) (*v1.Subscription, error)
	UpdateStatus(ctx context.Context, subscription *v1.Subscription, opts metav1.UpdateOptions) (*v1.Subscription, 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.Subscription, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.SubscriptionList, 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.Subscription, err error)
	SubscriptionExpansion
}

SubscriptionInterface has methods to work with Subscription resources.

type SubscriptionsGetter

type SubscriptionsGetter interface {
	Subscriptions(namespace string) SubscriptionInterface
}

SubscriptionsGetter has a method to return a SubscriptionInterface. 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