v1alpha1

package
v0.6.0-beta.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2023 License: AGPL-3.0 Imports: 9 Imported by: 3

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 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

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

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*DataprotectionV1alpha1Client, error)

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 (*DataprotectionV1alpha1Client) BackupTools

func (*DataprotectionV1alpha1Client) Backups

func (c *DataprotectionV1alpha1Client) Backups(namespace string) BackupInterface

func (*DataprotectionV1alpha1Client) RESTClient

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 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.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL