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 MessageExpansion ¶
type MessageExpansion interface{}
type MessageInterface ¶
type MessageInterface interface { Create(*v1.Message) (*v1.Message, error) Update(*v1.Message) (*v1.Message, error) UpdateStatus(*v1.Message) (*v1.Message, error) Delete(name string, options *meta_v1.DeleteOptions) error DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error Get(name string, options meta_v1.GetOptions) (*v1.Message, error) List(opts meta_v1.ListOptions) (*v1.MessageList, error) Watch(opts meta_v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Message, err error) MessageExpansion }
MessageInterface has methods to work with Message resources.
type MessageV1Client ¶
type MessageV1Client struct {
// contains filtered or unexported fields
}
MessageV1Client is used to interact with features provided by the message group.
func New ¶
func New(c rest.Interface) *MessageV1Client
New creates a new MessageV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*MessageV1Client, error)
NewForConfig creates a new MessageV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *MessageV1Client
NewForConfigOrDie creates a new MessageV1Client for the given config and panics if there is an error in the config.
func (*MessageV1Client) Messages ¶
func (c *MessageV1Client) Messages(namespace string) MessageInterface
func (*MessageV1Client) RESTClient ¶
func (c *MessageV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type MessageV1Interface ¶
type MessageV1Interface interface { RESTClient() rest.Interface MessagesGetter }
type MessagesGetter ¶
type MessagesGetter interface {
Messages(namespace string) MessageInterface
}
MessagesGetter has a method to return a MessageInterface. A group's client should implement this interface.