Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ChannelExpansion
- type ChannelInterface
- type ChannelsGetter
- type ConfigMapExpansion
- type ConfigMapInterface
- type ConfigMapsGetter
- type MessageExpansion
- type MessageInterface
- type MessageRequestExpansion
- type MessageRequestInterface
- type MessageRequestsGetter
- type MessagesGetter
- type NotifyV1Client
- func (c *NotifyV1Client) Channels() ChannelInterface
- func (c *NotifyV1Client) ConfigMaps() ConfigMapInterface
- func (c *NotifyV1Client) MessageRequests(namespace string) MessageRequestInterface
- func (c *NotifyV1Client) Messages() MessageInterface
- func (c *NotifyV1Client) RESTClient() rest.Interface
- func (c *NotifyV1Client) ReceiverGroups() ReceiverGroupInterface
- func (c *NotifyV1Client) Receivers() ReceiverInterface
- func (c *NotifyV1Client) Templates(namespace string) TemplateInterface
- type NotifyV1Interface
- type ReceiverExpansion
- type ReceiverGroupExpansion
- type ReceiverGroupInterface
- type ReceiverGroupsGetter
- type ReceiverInterface
- type ReceiversGetter
- type TemplateExpansion
- type TemplateInterface
- type TemplatesGetter
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 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() ChannelInterface
}
ChannelsGetter has a method to return a ChannelInterface. A group's client should implement this interface.
type ConfigMapExpansion ¶
type ConfigMapExpansion interface{}
type ConfigMapInterface ¶
type ConfigMapInterface interface { Create(ctx context.Context, configMap *v1.ConfigMap, opts metav1.CreateOptions) (*v1.ConfigMap, error) Update(ctx context.Context, configMap *v1.ConfigMap, opts metav1.UpdateOptions) (*v1.ConfigMap, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ConfigMap, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ConfigMapList, 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.ConfigMap, err error) ConfigMapExpansion }
ConfigMapInterface has methods to work with ConfigMap resources.
type ConfigMapsGetter ¶
type ConfigMapsGetter interface {
ConfigMaps() ConfigMapInterface
}
ConfigMapsGetter has a method to return a ConfigMapInterface. A group's client should implement this interface.
type MessageExpansion ¶
type MessageExpansion interface{}
type MessageInterface ¶
type MessageInterface interface { Create(ctx context.Context, message *v1.Message, opts metav1.CreateOptions) (*v1.Message, error) Update(ctx context.Context, message *v1.Message, opts metav1.UpdateOptions) (*v1.Message, error) UpdateStatus(ctx context.Context, message *v1.Message, opts metav1.UpdateOptions) (*v1.Message, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Message, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.MessageList, 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.Message, err error) MessageExpansion }
MessageInterface has methods to work with Message resources.
type MessageRequestExpansion ¶
type MessageRequestExpansion interface{}
type MessageRequestInterface ¶
type MessageRequestInterface interface { Create(ctx context.Context, messageRequest *v1.MessageRequest, opts metav1.CreateOptions) (*v1.MessageRequest, error) Update(ctx context.Context, messageRequest *v1.MessageRequest, opts metav1.UpdateOptions) (*v1.MessageRequest, error) UpdateStatus(ctx context.Context, messageRequest *v1.MessageRequest, opts metav1.UpdateOptions) (*v1.MessageRequest, 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.MessageRequest, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.MessageRequestList, 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.MessageRequest, err error) MessageRequestExpansion }
MessageRequestInterface has methods to work with MessageRequest resources.
type MessageRequestsGetter ¶
type MessageRequestsGetter interface {
MessageRequests(namespace string) MessageRequestInterface
}
MessageRequestsGetter has a method to return a MessageRequestInterface. A group's client should implement this interface.
type MessagesGetter ¶
type MessagesGetter interface {
Messages() MessageInterface
}
MessagesGetter has a method to return a MessageInterface. A group's client should implement this interface.
type NotifyV1Client ¶
type NotifyV1Client struct {
// contains filtered or unexported fields
}
NotifyV1Client is used to interact with features provided by the notify.tkestack.io group.
func New ¶
func New(c rest.Interface) *NotifyV1Client
New creates a new NotifyV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*NotifyV1Client, error)
NewForConfig creates a new NotifyV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *NotifyV1Client
NewForConfigOrDie creates a new NotifyV1Client for the given config and panics if there is an error in the config.
func (*NotifyV1Client) Channels ¶
func (c *NotifyV1Client) Channels() ChannelInterface
func (*NotifyV1Client) ConfigMaps ¶
func (c *NotifyV1Client) ConfigMaps() ConfigMapInterface
func (*NotifyV1Client) MessageRequests ¶
func (c *NotifyV1Client) MessageRequests(namespace string) MessageRequestInterface
func (*NotifyV1Client) Messages ¶
func (c *NotifyV1Client) Messages() MessageInterface
func (*NotifyV1Client) RESTClient ¶
func (c *NotifyV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*NotifyV1Client) ReceiverGroups ¶
func (c *NotifyV1Client) ReceiverGroups() ReceiverGroupInterface
func (*NotifyV1Client) Receivers ¶
func (c *NotifyV1Client) Receivers() ReceiverInterface
func (*NotifyV1Client) Templates ¶
func (c *NotifyV1Client) Templates(namespace string) TemplateInterface
type NotifyV1Interface ¶
type NotifyV1Interface interface { RESTClient() rest.Interface ChannelsGetter ConfigMapsGetter MessagesGetter MessageRequestsGetter ReceiversGetter ReceiverGroupsGetter TemplatesGetter }
type ReceiverExpansion ¶
type ReceiverExpansion interface{}
type ReceiverGroupExpansion ¶
type ReceiverGroupExpansion interface{}
type ReceiverGroupInterface ¶
type ReceiverGroupInterface interface { Create(ctx context.Context, receiverGroup *v1.ReceiverGroup, opts metav1.CreateOptions) (*v1.ReceiverGroup, error) Update(ctx context.Context, receiverGroup *v1.ReceiverGroup, opts metav1.UpdateOptions) (*v1.ReceiverGroup, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ReceiverGroup, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ReceiverGroupList, 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.ReceiverGroup, err error) ReceiverGroupExpansion }
ReceiverGroupInterface has methods to work with ReceiverGroup resources.
type ReceiverGroupsGetter ¶
type ReceiverGroupsGetter interface {
ReceiverGroups() ReceiverGroupInterface
}
ReceiverGroupsGetter has a method to return a ReceiverGroupInterface. A group's client should implement this interface.
type ReceiverInterface ¶
type ReceiverInterface interface { Create(ctx context.Context, receiver *v1.Receiver, opts metav1.CreateOptions) (*v1.Receiver, error) Update(ctx context.Context, receiver *v1.Receiver, opts metav1.UpdateOptions) (*v1.Receiver, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Receiver, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ReceiverList, 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.Receiver, err error) ReceiverExpansion }
ReceiverInterface has methods to work with Receiver resources.
type ReceiversGetter ¶
type ReceiversGetter interface {
Receivers() ReceiverInterface
}
ReceiversGetter has a method to return a ReceiverInterface. A group's client should implement this interface.
type TemplateExpansion ¶
type TemplateExpansion interface{}
type TemplateInterface ¶
type TemplateInterface interface { Create(ctx context.Context, template *v1.Template, opts metav1.CreateOptions) (*v1.Template, error) Update(ctx context.Context, template *v1.Template, opts metav1.UpdateOptions) (*v1.Template, 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.Template, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.TemplateList, 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.Template, err error) TemplateExpansion }
TemplateInterface has methods to work with Template resources.
type TemplatesGetter ¶
type TemplatesGetter interface {
Templates(namespace string) TemplateInterface
}
TemplatesGetter has a method to return a TemplateInterface. A group's client should implement this interface.