Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type RedisClusterExpansion
- type RedisClusterInterface
- type RedisClustersGetter
- type RedisExpansion
- type RedisGetter
- type RedisInterface
- type RedisReplicationExpansion
- type RedisReplicationInterface
- type RedisReplicationsGetter
- type RedisSentinelExpansion
- type RedisSentinelInterface
- type RedisSentinelsGetter
- type V1beta2Client
- func (c *V1beta2Client) RESTClient() rest.Interface
- func (c *V1beta2Client) Redis(namespace string) RedisInterface
- func (c *V1beta2Client) RedisClusters(namespace string) RedisClusterInterface
- func (c *V1beta2Client) RedisReplications(namespace string) RedisReplicationInterface
- func (c *V1beta2Client) RedisSentinels(namespace string) RedisSentinelInterface
- type V1beta2Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisClusterExpansion ¶
type RedisClusterExpansion interface{}
type RedisClusterInterface ¶
type RedisClusterInterface interface { Create(ctx context.Context, redisCluster *v1beta2.RedisCluster, opts v1.CreateOptions) (*v1beta2.RedisCluster, error) Update(ctx context.Context, redisCluster *v1beta2.RedisCluster, opts v1.UpdateOptions) (*v1beta2.RedisCluster, error) UpdateStatus(ctx context.Context, redisCluster *v1beta2.RedisCluster, opts v1.UpdateOptions) (*v1beta2.RedisCluster, 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) (*v1beta2.RedisCluster, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta2.RedisClusterList, 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 *v1beta2.RedisCluster, err error) RedisClusterExpansion }
RedisClusterInterface has methods to work with RedisCluster resources.
type RedisClustersGetter ¶
type RedisClustersGetter interface {
RedisClusters(namespace string) RedisClusterInterface
}
RedisClustersGetter has a method to return a RedisClusterInterface. A group's client should implement this interface.
type RedisExpansion ¶
type RedisExpansion interface{}
type RedisGetter ¶ added in v0.15.6
type RedisGetter interface {
Redis(namespace string) RedisInterface
}
RedisGetter has a method to return a RedisInterface. A group's client should implement this interface.
type RedisInterface ¶
type RedisInterface interface { Create(ctx context.Context, redis *v1beta2.Redis, opts v1.CreateOptions) (*v1beta2.Redis, error) Update(ctx context.Context, redis *v1beta2.Redis, opts v1.UpdateOptions) (*v1beta2.Redis, error) UpdateStatus(ctx context.Context, redis *v1beta2.Redis, opts v1.UpdateOptions) (*v1beta2.Redis, 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) (*v1beta2.Redis, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta2.RedisList, 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 *v1beta2.Redis, err error) RedisExpansion }
RedisInterface has methods to work with Redis resources.
type RedisReplicationExpansion ¶
type RedisReplicationExpansion interface{}
type RedisReplicationInterface ¶
type RedisReplicationInterface interface { Create(ctx context.Context, redisReplication *v1beta2.RedisReplication, opts v1.CreateOptions) (*v1beta2.RedisReplication, error) Update(ctx context.Context, redisReplication *v1beta2.RedisReplication, opts v1.UpdateOptions) (*v1beta2.RedisReplication, error) UpdateStatus(ctx context.Context, redisReplication *v1beta2.RedisReplication, opts v1.UpdateOptions) (*v1beta2.RedisReplication, 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) (*v1beta2.RedisReplication, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta2.RedisReplicationList, 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 *v1beta2.RedisReplication, err error) RedisReplicationExpansion }
RedisReplicationInterface has methods to work with RedisReplication resources.
type RedisReplicationsGetter ¶
type RedisReplicationsGetter interface {
RedisReplications(namespace string) RedisReplicationInterface
}
RedisReplicationsGetter has a method to return a RedisReplicationInterface. A group's client should implement this interface.
type RedisSentinelExpansion ¶
type RedisSentinelExpansion interface{}
type RedisSentinelInterface ¶
type RedisSentinelInterface interface { Create(ctx context.Context, redisSentinel *v1beta2.RedisSentinel, opts v1.CreateOptions) (*v1beta2.RedisSentinel, error) Update(ctx context.Context, redisSentinel *v1beta2.RedisSentinel, opts v1.UpdateOptions) (*v1beta2.RedisSentinel, error) UpdateStatus(ctx context.Context, redisSentinel *v1beta2.RedisSentinel, opts v1.UpdateOptions) (*v1beta2.RedisSentinel, 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) (*v1beta2.RedisSentinel, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta2.RedisSentinelList, 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 *v1beta2.RedisSentinel, err error) RedisSentinelExpansion }
RedisSentinelInterface has methods to work with RedisSentinel resources.
type RedisSentinelsGetter ¶
type RedisSentinelsGetter interface {
RedisSentinels(namespace string) RedisSentinelInterface
}
RedisSentinelsGetter has a method to return a RedisSentinelInterface. A group's client should implement this interface.
type V1beta2Client ¶
type V1beta2Client struct {
// contains filtered or unexported fields
}
V1beta2Client is used to interact with features provided by the v1beta2 group.
func New ¶
func New(c rest.Interface) *V1beta2Client
New creates a new V1beta2Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*V1beta2Client, error)
NewForConfig creates a new V1beta2Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new V1beta2Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *V1beta2Client
NewForConfigOrDie creates a new V1beta2Client for the given config and panics if there is an error in the config.
func (*V1beta2Client) RESTClient ¶
func (c *V1beta2Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*V1beta2Client) Redis ¶ added in v0.15.6
func (c *V1beta2Client) Redis(namespace string) RedisInterface
func (*V1beta2Client) RedisClusters ¶
func (c *V1beta2Client) RedisClusters(namespace string) RedisClusterInterface
func (*V1beta2Client) RedisReplications ¶
func (c *V1beta2Client) RedisReplications(namespace string) RedisReplicationInterface
func (*V1beta2Client) RedisSentinels ¶
func (c *V1beta2Client) RedisSentinels(namespace string) RedisSentinelInterface
type V1beta2Interface ¶
type V1beta2Interface interface { RESTClient() rest.Interface RedisGetter RedisClustersGetter RedisReplicationsGetter RedisSentinelsGetter }