Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type BackupExpansion
- type BackupInterface
- type BackupPoliciesGetter
- type BackupPolicyExpansion
- type BackupPolicyInterface
- type BackupRepoExpansion
- type BackupRepoInterface
- type BackupReposGetter
- type BackupToolExpansion
- type BackupToolInterface
- type BackupToolsGetter
- type BackupsGetter
- type DataprotectionV1alpha1Client
- func (c *DataprotectionV1alpha1Client) BackupPolicies(namespace string) BackupPolicyInterface
- func (c *DataprotectionV1alpha1Client) BackupRepos() BackupRepoInterface
- func (c *DataprotectionV1alpha1Client) BackupTools() BackupToolInterface
- func (c *DataprotectionV1alpha1Client) Backups(namespace string) BackupInterface
- func (c *DataprotectionV1alpha1Client) RESTClient() rest.Interface
- func (c *DataprotectionV1alpha1Client) RestoreJobs(namespace string) RestoreJobInterface
- type DataprotectionV1alpha1Interface
- type RestoreJobExpansion
- type RestoreJobInterface
- type RestoreJobsGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupExpansion ¶
type BackupExpansion interface{}
type BackupInterface ¶
type BackupInterface interface { Create(ctx context.Context, backup *v1alpha1.Backup, opts v1.CreateOptions) (*v1alpha1.Backup, error) Update(ctx context.Context, backup *v1alpha1.Backup, opts v1.UpdateOptions) (*v1alpha1.Backup, error) UpdateStatus(ctx context.Context, backup *v1alpha1.Backup, opts v1.UpdateOptions) (*v1alpha1.Backup, 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) (*v1alpha1.Backup, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.BackupList, 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 *v1alpha1.Backup, err error) BackupExpansion }
BackupInterface has methods to work with Backup resources.
type BackupPoliciesGetter ¶
type BackupPoliciesGetter interface {
BackupPolicies(namespace string) BackupPolicyInterface
}
BackupPoliciesGetter has a method to return a BackupPolicyInterface. A group's client should implement this interface.
type BackupPolicyExpansion ¶
type BackupPolicyExpansion interface{}
type BackupPolicyInterface ¶
type BackupPolicyInterface interface { Create(ctx context.Context, backupPolicy *v1alpha1.BackupPolicy, opts v1.CreateOptions) (*v1alpha1.BackupPolicy, error) Update(ctx context.Context, backupPolicy *v1alpha1.BackupPolicy, opts v1.UpdateOptions) (*v1alpha1.BackupPolicy, error) UpdateStatus(ctx context.Context, backupPolicy *v1alpha1.BackupPolicy, opts v1.UpdateOptions) (*v1alpha1.BackupPolicy, 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) (*v1alpha1.BackupPolicy, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.BackupPolicyList, 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 *v1alpha1.BackupPolicy, err error) BackupPolicyExpansion }
BackupPolicyInterface has methods to work with BackupPolicy resources.
type BackupRepoExpansion ¶
type BackupRepoExpansion interface{}
type BackupRepoInterface ¶
type BackupRepoInterface interface { Create(ctx context.Context, backupRepo *v1alpha1.BackupRepo, opts v1.CreateOptions) (*v1alpha1.BackupRepo, error) Update(ctx context.Context, backupRepo *v1alpha1.BackupRepo, opts v1.UpdateOptions) (*v1alpha1.BackupRepo, error) UpdateStatus(ctx context.Context, backupRepo *v1alpha1.BackupRepo, opts v1.UpdateOptions) (*v1alpha1.BackupRepo, 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) (*v1alpha1.BackupRepo, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.BackupRepoList, 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 *v1alpha1.BackupRepo, err error) BackupRepoExpansion }
BackupRepoInterface has methods to work with BackupRepo resources.
type BackupReposGetter ¶
type BackupReposGetter interface {
BackupRepos() BackupRepoInterface
}
BackupReposGetter has a method to return a BackupRepoInterface. A group's client should implement this interface.
type BackupToolExpansion ¶
type BackupToolExpansion interface{}
type BackupToolInterface ¶
type BackupToolInterface interface { Create(ctx context.Context, backupTool *v1alpha1.BackupTool, opts v1.CreateOptions) (*v1alpha1.BackupTool, error) Update(ctx context.Context, backupTool *v1alpha1.BackupTool, opts v1.UpdateOptions) (*v1alpha1.BackupTool, error) UpdateStatus(ctx context.Context, backupTool *v1alpha1.BackupTool, opts v1.UpdateOptions) (*v1alpha1.BackupTool, 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) (*v1alpha1.BackupTool, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.BackupToolList, 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 *v1alpha1.BackupTool, err error) BackupToolExpansion }
BackupToolInterface has methods to work with BackupTool resources.
type BackupToolsGetter ¶
type BackupToolsGetter interface {
BackupTools() BackupToolInterface
}
BackupToolsGetter has a method to return a BackupToolInterface. A group's client should implement this interface.
type BackupsGetter ¶
type BackupsGetter interface {
Backups(namespace string) BackupInterface
}
BackupsGetter has a method to return a BackupInterface. A group's client should implement this interface.
type DataprotectionV1alpha1Client ¶
type DataprotectionV1alpha1Client struct {
// contains filtered or unexported fields
}
DataprotectionV1alpha1Client is used to interact with features provided by the dataprotection.kubeblocks.io group.
func New ¶
func New(c rest.Interface) *DataprotectionV1alpha1Client
New creates a new DataprotectionV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*DataprotectionV1alpha1Client, error)
NewForConfig creates a new DataprotectionV1alpha1Client 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 DataprotectionV1alpha1Client 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) *DataprotectionV1alpha1Client
NewForConfigOrDie creates a new DataprotectionV1alpha1Client for the given config and panics if there is an error in the config.
func (*DataprotectionV1alpha1Client) BackupPolicies ¶
func (c *DataprotectionV1alpha1Client) BackupPolicies(namespace string) BackupPolicyInterface
func (*DataprotectionV1alpha1Client) BackupRepos ¶
func (c *DataprotectionV1alpha1Client) BackupRepos() BackupRepoInterface
func (*DataprotectionV1alpha1Client) BackupTools ¶
func (c *DataprotectionV1alpha1Client) BackupTools() BackupToolInterface
func (*DataprotectionV1alpha1Client) Backups ¶
func (c *DataprotectionV1alpha1Client) Backups(namespace string) BackupInterface
func (*DataprotectionV1alpha1Client) RESTClient ¶
func (c *DataprotectionV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*DataprotectionV1alpha1Client) RestoreJobs ¶
func (c *DataprotectionV1alpha1Client) RestoreJobs(namespace string) RestoreJobInterface
type DataprotectionV1alpha1Interface ¶
type DataprotectionV1alpha1Interface interface { RESTClient() rest.Interface BackupsGetter BackupPoliciesGetter BackupReposGetter BackupToolsGetter RestoreJobsGetter }
type RestoreJobExpansion ¶
type RestoreJobExpansion interface{}
type RestoreJobInterface ¶
type RestoreJobInterface interface { Create(ctx context.Context, restoreJob *v1alpha1.RestoreJob, opts v1.CreateOptions) (*v1alpha1.RestoreJob, error) Update(ctx context.Context, restoreJob *v1alpha1.RestoreJob, opts v1.UpdateOptions) (*v1alpha1.RestoreJob, error) UpdateStatus(ctx context.Context, restoreJob *v1alpha1.RestoreJob, opts v1.UpdateOptions) (*v1alpha1.RestoreJob, 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) (*v1alpha1.RestoreJob, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.RestoreJobList, 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 *v1alpha1.RestoreJob, err error) RestoreJobExpansion }
RestoreJobInterface has methods to work with RestoreJob resources.
type RestoreJobsGetter ¶
type RestoreJobsGetter interface {
RestoreJobs(namespace string) RestoreJobInterface
}
RestoreJobsGetter has a method to return a RestoreJobInterface. A group's client should implement this interface.