internalversion

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 7 Imported by: 0

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(*notify.Channel) (*notify.Channel, error)
	Update(*notify.Channel) (*notify.Channel, error)
	UpdateStatus(*notify.Channel) (*notify.Channel, error)
	Delete(name string, options *v1.DeleteOptions) error
	Get(name string, options v1.GetOptions) (*notify.Channel, error)
	List(opts v1.ListOptions) (*notify.ChannelList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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(*notify.ConfigMap) (*notify.ConfigMap, error)
	Update(*notify.ConfigMap) (*notify.ConfigMap, error)
	Delete(name string, options *v1.DeleteOptions) error
	Get(name string, options v1.GetOptions) (*notify.ConfigMap, error)
	List(opts v1.ListOptions) (*notify.ConfigMapList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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(*notify.Message) (*notify.Message, error)
	Update(*notify.Message) (*notify.Message, error)
	UpdateStatus(*notify.Message) (*notify.Message, error)
	Delete(name string, options *v1.DeleteOptions) error
	Get(name string, options v1.GetOptions) (*notify.Message, error)
	List(opts v1.ListOptions) (*notify.MessageList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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(*notify.MessageRequest) (*notify.MessageRequest, error)
	Update(*notify.MessageRequest) (*notify.MessageRequest, error)
	UpdateStatus(*notify.MessageRequest) (*notify.MessageRequest, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*notify.MessageRequest, error)
	List(opts v1.ListOptions) (*notify.MessageRequestList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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 ReceiverExpansion

type ReceiverExpansion interface{}

type ReceiverGroupExpansion

type ReceiverGroupExpansion interface{}

type ReceiverGroupInterface

type ReceiverGroupInterface interface {
	Create(*notify.ReceiverGroup) (*notify.ReceiverGroup, error)
	Update(*notify.ReceiverGroup) (*notify.ReceiverGroup, error)
	Delete(name string, options *v1.DeleteOptions) error
	Get(name string, options v1.GetOptions) (*notify.ReceiverGroup, error)
	List(opts v1.ListOptions) (*notify.ReceiverGroupList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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(*notify.Receiver) (*notify.Receiver, error)
	Update(*notify.Receiver) (*notify.Receiver, error)
	Delete(name string, options *v1.DeleteOptions) error
	Get(name string, options v1.GetOptions) (*notify.Receiver, error)
	List(opts v1.ListOptions) (*notify.ReceiverList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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(*notify.Template) (*notify.Template, error)
	Update(*notify.Template) (*notify.Template, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*notify.Template, error)
	List(opts v1.ListOptions) (*notify.TemplateList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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.

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