Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ChannelExpansion
- type ChannelInterface
- type ChannelsGetter
- type InMemoryChannelExpansion
- type InMemoryChannelInterface
- type InMemoryChannelsGetter
- type MessagingV1beta1Client
- func (c *MessagingV1beta1Client) Channels(namespace string) ChannelInterface
- func (c *MessagingV1beta1Client) InMemoryChannels(namespace string) InMemoryChannelInterface
- func (c *MessagingV1beta1Client) RESTClient() rest.Interface
- func (c *MessagingV1beta1Client) Subscriptions(namespace string) SubscriptionInterface
- type MessagingV1beta1Interface
- type SubscriptionExpansion
- type SubscriptionInterface
- type SubscriptionsGetter
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 *v1beta1.Channel, opts v1.CreateOptions) (*v1beta1.Channel, error) Update(ctx context.Context, channel *v1beta1.Channel, opts v1.UpdateOptions) (*v1beta1.Channel, error) UpdateStatus(ctx context.Context, channel *v1beta1.Channel, opts v1.UpdateOptions) (*v1beta1.Channel, 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) (*v1beta1.Channel, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.ChannelList, 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 *v1beta1.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 *v1beta1.InMemoryChannel, opts v1.CreateOptions) (*v1beta1.InMemoryChannel, error) Update(ctx context.Context, inMemoryChannel *v1beta1.InMemoryChannel, opts v1.UpdateOptions) (*v1beta1.InMemoryChannel, error) UpdateStatus(ctx context.Context, inMemoryChannel *v1beta1.InMemoryChannel, opts v1.UpdateOptions) (*v1beta1.InMemoryChannel, 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) (*v1beta1.InMemoryChannel, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.InMemoryChannelList, 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 *v1beta1.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 MessagingV1beta1Client ¶
type MessagingV1beta1Client struct {
// contains filtered or unexported fields
}
MessagingV1beta1Client is used to interact with features provided by the messaging.knative.dev group.
func New ¶
func New(c rest.Interface) *MessagingV1beta1Client
New creates a new MessagingV1beta1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*MessagingV1beta1Client, error)
NewForConfig creates a new MessagingV1beta1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *MessagingV1beta1Client
NewForConfigOrDie creates a new MessagingV1beta1Client for the given config and panics if there is an error in the config.
func (*MessagingV1beta1Client) Channels ¶
func (c *MessagingV1beta1Client) Channels(namespace string) ChannelInterface
func (*MessagingV1beta1Client) InMemoryChannels ¶
func (c *MessagingV1beta1Client) InMemoryChannels(namespace string) InMemoryChannelInterface
func (*MessagingV1beta1Client) RESTClient ¶
func (c *MessagingV1beta1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*MessagingV1beta1Client) Subscriptions ¶
func (c *MessagingV1beta1Client) Subscriptions(namespace string) SubscriptionInterface
type MessagingV1beta1Interface ¶
type MessagingV1beta1Interface interface { RESTClient() rest.Interface ChannelsGetter InMemoryChannelsGetter SubscriptionsGetter }
type SubscriptionExpansion ¶
type SubscriptionExpansion interface{}
type SubscriptionInterface ¶
type SubscriptionInterface interface { Create(ctx context.Context, subscription *v1beta1.Subscription, opts v1.CreateOptions) (*v1beta1.Subscription, error) Update(ctx context.Context, subscription *v1beta1.Subscription, opts v1.UpdateOptions) (*v1beta1.Subscription, error) UpdateStatus(ctx context.Context, subscription *v1beta1.Subscription, opts v1.UpdateOptions) (*v1beta1.Subscription, 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) (*v1beta1.Subscription, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.SubscriptionList, 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 *v1beta1.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.