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 RedisExpansion ¶
type RedisExpansion interface{}
type RedisInterface ¶
type RedisInterface interface { Create(*v1.Redis) (*v1.Redis, error) Update(*v1.Redis) (*v1.Redis, error) UpdateStatus(*v1.Redis) (*v1.Redis, 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.Redis, error) List(opts meta_v1.ListOptions) (*v1.RedisList, error) Watch(opts meta_v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Redis, err error) RedisExpansion }
RedisInterface has methods to work with Redis resources.
type RedisV1Client ¶
type RedisV1Client struct {
// contains filtered or unexported fields
}
RedisV1Client is used to interact with features provided by the redis.operator.joelws.com group.
func New ¶
func New(c rest.Interface) *RedisV1Client
New creates a new RedisV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*RedisV1Client, error)
NewForConfig creates a new RedisV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *RedisV1Client
NewForConfigOrDie creates a new RedisV1Client for the given config and panics if there is an error in the config.
func (*RedisV1Client) RESTClient ¶
func (c *RedisV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*RedisV1Client) Redises ¶
func (c *RedisV1Client) Redises(namespace string) RedisInterface
type RedisV1Interface ¶
type RedisV1Interface interface { RESTClient() rest.Interface RedisesGetter }
type RedisesGetter ¶
type RedisesGetter interface {
Redises(namespace string) RedisInterface
}
RedisesGetter has a method to return a RedisInterface. A group's client should implement this interface.