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 NotifyClient
- func (c *NotifyClient) Channels() ChannelInterface
- func (c *NotifyClient) ConfigMaps() ConfigMapInterface
- func (c *NotifyClient) MessageRequests(namespace string) MessageRequestInterface
- func (c *NotifyClient) Messages() MessageInterface
- func (c *NotifyClient) RESTClient() rest.Interface
- func (c *NotifyClient) ReceiverGroups() ReceiverGroupInterface
- func (c *NotifyClient) Receivers() ReceiverInterface
- func (c *NotifyClient) Templates(namespace string) TemplateInterface
- type NotifyInterface
- 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 *notify.Channel, opts v1.CreateOptions) (*notify.Channel, error) Update(ctx context.Context, channel *notify.Channel, opts v1.UpdateOptions) (*notify.Channel, error) UpdateStatus(ctx context.Context, channel *notify.Channel, opts v1.UpdateOptions) (*notify.Channel, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*notify.Channel, error) List(ctx context.Context, opts v1.ListOptions) (*notify.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 *notify.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 *notify.ConfigMap, opts v1.CreateOptions) (*notify.ConfigMap, error) Update(ctx context.Context, configMap *notify.ConfigMap, opts v1.UpdateOptions) (*notify.ConfigMap, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*notify.ConfigMap, error) List(ctx context.Context, opts v1.ListOptions) (*notify.ConfigMapList, 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 *notify.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 *notify.Message, opts v1.CreateOptions) (*notify.Message, error) Update(ctx context.Context, message *notify.Message, opts v1.UpdateOptions) (*notify.Message, error) UpdateStatus(ctx context.Context, message *notify.Message, opts v1.UpdateOptions) (*notify.Message, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*notify.Message, error) List(ctx context.Context, opts v1.ListOptions) (*notify.MessageList, 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 *notify.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 *notify.MessageRequest, opts v1.CreateOptions) (*notify.MessageRequest, error) Update(ctx context.Context, messageRequest *notify.MessageRequest, opts v1.UpdateOptions) (*notify.MessageRequest, error) UpdateStatus(ctx context.Context, messageRequest *notify.MessageRequest, opts v1.UpdateOptions) (*notify.MessageRequest, 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) (*notify.MessageRequest, error) List(ctx context.Context, opts v1.ListOptions) (*notify.MessageRequestList, 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 *notify.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 NotifyClient ¶
type NotifyClient struct {
// contains filtered or unexported fields
}
NotifyClient is used to interact with features provided by the notify.tkestack.io group.
func New ¶
func New(c rest.Interface) *NotifyClient
New creates a new NotifyClient for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*NotifyClient, error)
NewForConfig creates a new NotifyClient for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *NotifyClient
NewForConfigOrDie creates a new NotifyClient for the given config and panics if there is an error in the config.
func (*NotifyClient) Channels ¶
func (c *NotifyClient) Channels() ChannelInterface
func (*NotifyClient) ConfigMaps ¶
func (c *NotifyClient) ConfigMaps() ConfigMapInterface
func (*NotifyClient) MessageRequests ¶
func (c *NotifyClient) MessageRequests(namespace string) MessageRequestInterface
func (*NotifyClient) Messages ¶
func (c *NotifyClient) Messages() MessageInterface
func (*NotifyClient) RESTClient ¶
func (c *NotifyClient) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*NotifyClient) ReceiverGroups ¶
func (c *NotifyClient) ReceiverGroups() ReceiverGroupInterface
func (*NotifyClient) Receivers ¶
func (c *NotifyClient) Receivers() ReceiverInterface
func (*NotifyClient) Templates ¶
func (c *NotifyClient) Templates(namespace string) TemplateInterface
type NotifyInterface ¶
type NotifyInterface 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 *notify.ReceiverGroup, opts v1.CreateOptions) (*notify.ReceiverGroup, error) Update(ctx context.Context, receiverGroup *notify.ReceiverGroup, opts v1.UpdateOptions) (*notify.ReceiverGroup, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*notify.ReceiverGroup, error) List(ctx context.Context, opts v1.ListOptions) (*notify.ReceiverGroupList, 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 *notify.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 *notify.Receiver, opts v1.CreateOptions) (*notify.Receiver, error) Update(ctx context.Context, receiver *notify.Receiver, opts v1.UpdateOptions) (*notify.Receiver, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*notify.Receiver, error) List(ctx context.Context, opts v1.ListOptions) (*notify.ReceiverList, 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 *notify.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 *notify.Template, opts v1.CreateOptions) (*notify.Template, error) Update(ctx context.Context, template *notify.Template, opts v1.UpdateOptions) (*notify.Template, 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) (*notify.Template, error) List(ctx context.Context, opts v1.ListOptions) (*notify.TemplateList, 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 *notify.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.