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 DatabasesV1Client ¶
type DatabasesV1Client struct {
// contains filtered or unexported fields
}
DatabasesV1Client is used to interact with features provided by the databases.spotahome.com group.
func New ¶
func New(c rest.Interface) *DatabasesV1Client
New creates a new DatabasesV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*DatabasesV1Client, error)
NewForConfig creates a new DatabasesV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *DatabasesV1Client
NewForConfigOrDie creates a new DatabasesV1Client for the given config and panics if there is an error in the config.
func (*DatabasesV1Client) RESTClient ¶
func (c *DatabasesV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*DatabasesV1Client) RedisFailovers ¶
func (c *DatabasesV1Client) RedisFailovers(namespace string) RedisFailoverInterface
type DatabasesV1Interface ¶
type DatabasesV1Interface interface { RESTClient() rest.Interface RedisFailoversGetter }
type RedisFailoverExpansion ¶
type RedisFailoverExpansion interface{}
type RedisFailoverInterface ¶
type RedisFailoverInterface interface { Create(ctx context.Context, redisFailover *v1.RedisFailover, opts metav1.CreateOptions) (*v1.RedisFailover, error) Update(ctx context.Context, redisFailover *v1.RedisFailover, opts metav1.UpdateOptions) (*v1.RedisFailover, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.RedisFailover, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.RedisFailoverList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.RedisFailover, err error) RedisFailoverExpansion }
RedisFailoverInterface has methods to work with RedisFailover resources.
type RedisFailoversGetter ¶
type RedisFailoversGetter interface {
RedisFailovers(namespace string) RedisFailoverInterface
}
RedisFailoversGetter has a method to return a RedisFailoverInterface. A group's client should implement this interface.