Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupInterface ¶ added in v0.3.0
type BackupInterface interface {
List(opts metav1.ListOptions) (*extensionsv1beta1.BackupList, error)
Get(name string, options metav1.GetOptions) (*extensionsv1beta1.Backup, error)
Create(*extensionsv1beta1.Backup) (*extensionsv1beta1.Backup, error)
Watch(opts metav1.ListOptions) (watch.Interface, error)
}
BackupInterface declares interactions with the Backup objects.
type BackupScheduledInterface ¶ added in v0.4.0
type BackupScheduledInterface interface {
List(opts metav1.ListOptions) (*extensionsv1beta1.BackupScheduledList, error)
Get(name string, options metav1.GetOptions) (*extensionsv1beta1.BackupScheduled, error)
Create(*extensionsv1beta1.BackupScheduled) (*extensionsv1beta1.BackupScheduled, error)
Watch(opts metav1.ListOptions) (watch.Interface, error)
}
BackupScheduledInterface declares interactions with the Backup objects.
type Client ¶
Client for interacting with Operator objects.
func NewForConfig ¶
NewForConfig returns a client for interacting with Extensions objects.
func (*Client) Backups ¶ added in v0.3.0
func (c *Client) Backups(namespace string) BackupInterface
Backups within a namespace.
func (*Client) Execs ¶
func (c *Client) Execs(namespace string) ExecInterface
Execs within a namespace.
func (*Client) Restores ¶ added in v0.4.1
func (c *Client) Restores(namespace string) RestoreInterface
Restores within a namespace.
func (*Client) Schedules ¶ added in v0.4.0
func (c *Client) Schedules(namespace string) BackupScheduledInterface
Schedules within a namespace.
type ClientInterface ¶
type ClientInterface interface {
Backups(namespace string) BackupInterface
Execs(namespace string) ExecInterface
Schedules(namespace string) BackupScheduledInterface
Restores(namespace string) RestoreInterface
}
ClientInterface for interacting with AWS subclients.
type ExecInterface ¶
type ExecInterface interface {
List(opts metav1.ListOptions) (*extensionsv1beta1.ExecList, error)
Get(name string, options metav1.GetOptions) (*extensionsv1beta1.Exec, error)
Create(*extensionsv1beta1.Exec) (*extensionsv1beta1.Exec, error)
Watch(opts metav1.ListOptions) (watch.Interface, error)
}
ExecInterface declares interactions with the Exec objects.
type RestoreInterface ¶ added in v0.4.1
type RestoreInterface interface {
List(opts metav1.ListOptions) (*extensionsv1beta1.RestoreList, error)
Get(name string, options metav1.GetOptions) (*extensionsv1beta1.Restore, error)
Create(restore *extensionsv1beta1.Restore) (*extensionsv1beta1.Restore, error)
Watch(opts metav1.ListOptions) (watch.Interface, error)
}
RestoreInterface declares interactions with the Restore objects.
Click to show internal directories.
Click to hide internal directories.