Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ActionSetExpansion
- type ActionSetInterface
- type ActionSetsGetter
- type BackupExpansion
- type BackupInterface
- type BackupPoliciesGetter
- type BackupPolicyExpansion
- type BackupPolicyInterface
- type BackupRepoExpansion
- type BackupRepoInterface
- type BackupReposGetter
- type BackupScheduleExpansion
- type BackupScheduleInterface
- type BackupSchedulesGetter
- type BackupsGetter
- type DataprotectionV1alpha1Client
- func (c *DataprotectionV1alpha1Client) ActionSets() ActionSetInterface
- func (c *DataprotectionV1alpha1Client) BackupPolicies(namespace string) BackupPolicyInterface
- func (c *DataprotectionV1alpha1Client) BackupRepos() BackupRepoInterface
- func (c *DataprotectionV1alpha1Client) BackupSchedules(namespace string) BackupScheduleInterface
- func (c *DataprotectionV1alpha1Client) Backups(namespace string) BackupInterface
- func (c *DataprotectionV1alpha1Client) RESTClient() rest.Interface
- func (c *DataprotectionV1alpha1Client) Restores(namespace string) RestoreInterface
- type DataprotectionV1alpha1Interface
- type RestoreExpansion
- type RestoreInterface
- type RestoresGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionSetExpansion ¶ added in v0.7.0
type ActionSetExpansion interface{}
type ActionSetInterface ¶ added in v0.7.0
type ActionSetInterface interface { Create(ctx context.Context, actionSet *v1alpha1.ActionSet, opts v1.CreateOptions) (*v1alpha1.ActionSet, error) Update(ctx context.Context, actionSet *v1alpha1.ActionSet, opts v1.UpdateOptions) (*v1alpha1.ActionSet, error) UpdateStatus(ctx context.Context, actionSet *v1alpha1.ActionSet, opts v1.UpdateOptions) (*v1alpha1.ActionSet, 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.ActionSet, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ActionSetList, 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.ActionSet, err error) ActionSetExpansion }
ActionSetInterface has methods to work with ActionSet resources.
type ActionSetsGetter ¶ added in v0.7.0
type ActionSetsGetter interface {
ActionSets() ActionSetInterface
}
ActionSetsGetter has a method to return a ActionSetInterface. A group's client should implement this interface.
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 BackupScheduleExpansion ¶ added in v0.7.0
type BackupScheduleExpansion interface{}
type BackupScheduleInterface ¶ added in v0.7.0
type BackupScheduleInterface interface { Create(ctx context.Context, backupSchedule *v1alpha1.BackupSchedule, opts v1.CreateOptions) (*v1alpha1.BackupSchedule, error) Update(ctx context.Context, backupSchedule *v1alpha1.BackupSchedule, opts v1.UpdateOptions) (*v1alpha1.BackupSchedule, error) UpdateStatus(ctx context.Context, backupSchedule *v1alpha1.BackupSchedule, opts v1.UpdateOptions) (*v1alpha1.BackupSchedule, 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.BackupSchedule, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.BackupScheduleList, 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.BackupSchedule, err error) BackupScheduleExpansion }
BackupScheduleInterface has methods to work with BackupSchedule resources.
type BackupSchedulesGetter ¶ added in v0.7.0
type BackupSchedulesGetter interface {
BackupSchedules(namespace string) BackupScheduleInterface
}
BackupSchedulesGetter has a method to return a BackupScheduleInterface. 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) ActionSets ¶ added in v0.7.0
func (c *DataprotectionV1alpha1Client) ActionSets() ActionSetInterface
func (*DataprotectionV1alpha1Client) BackupPolicies ¶
func (c *DataprotectionV1alpha1Client) BackupPolicies(namespace string) BackupPolicyInterface
func (*DataprotectionV1alpha1Client) BackupRepos ¶
func (c *DataprotectionV1alpha1Client) BackupRepos() BackupRepoInterface
func (*DataprotectionV1alpha1Client) BackupSchedules ¶ added in v0.7.0
func (c *DataprotectionV1alpha1Client) BackupSchedules(namespace string) BackupScheduleInterface
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) Restores ¶ added in v0.7.0
func (c *DataprotectionV1alpha1Client) Restores(namespace string) RestoreInterface
type DataprotectionV1alpha1Interface ¶
type DataprotectionV1alpha1Interface interface { RESTClient() rest.Interface ActionSetsGetter BackupsGetter BackupPoliciesGetter BackupReposGetter BackupSchedulesGetter RestoresGetter }
type RestoreExpansion ¶ added in v0.7.0
type RestoreExpansion interface{}
type RestoreInterface ¶ added in v0.7.0
type RestoreInterface interface { Create(ctx context.Context, restore *v1alpha1.Restore, opts v1.CreateOptions) (*v1alpha1.Restore, error) Update(ctx context.Context, restore *v1alpha1.Restore, opts v1.UpdateOptions) (*v1alpha1.Restore, error) UpdateStatus(ctx context.Context, restore *v1alpha1.Restore, opts v1.UpdateOptions) (*v1alpha1.Restore, 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.Restore, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.RestoreList, 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.Restore, err error) RestoreExpansion }
RestoreInterface has methods to work with Restore resources.
type RestoresGetter ¶ added in v0.7.0
type RestoresGetter interface {
Restores(namespace string) RestoreInterface
}
RestoresGetter has a method to return a RestoreInterface. A group's client should implement this interface.