v1alpha1

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

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 BackupRepositoriesGetter

type BackupRepositoriesGetter interface {
	BackupRepositories() BackupRepositoryInterface
}

BackupRepositoriesGetter has a method to return a BackupRepositoryInterface. A group's client should implement this interface.

type BackupRepositoryClaimExpansion

type BackupRepositoryClaimExpansion interface{}

type BackupRepositoryClaimInterface

type BackupRepositoryClaimInterface interface {
	Create(ctx context.Context, backupRepositoryClaim *v1alpha1.BackupRepositoryClaim, opts v1.CreateOptions) (*v1alpha1.BackupRepositoryClaim, error)
	Update(ctx context.Context, backupRepositoryClaim *v1alpha1.BackupRepositoryClaim, opts v1.UpdateOptions) (*v1alpha1.BackupRepositoryClaim, 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.BackupRepositoryClaim, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.BackupRepositoryClaimList, 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.BackupRepositoryClaim, err error)
	BackupRepositoryClaimExpansion
}

BackupRepositoryClaimInterface has methods to work with BackupRepositoryClaim resources.

type BackupRepositoryClaimsGetter

type BackupRepositoryClaimsGetter interface {
	BackupRepositoryClaims(namespace string) BackupRepositoryClaimInterface
}

BackupRepositoryClaimsGetter has a method to return a BackupRepositoryClaimInterface. A group's client should implement this interface.

type BackupRepositoryExpansion

type BackupRepositoryExpansion interface{}

type BackupRepositoryInterface

type BackupRepositoryInterface interface {
	Create(ctx context.Context, backupRepository *v1alpha1.BackupRepository, opts v1.CreateOptions) (*v1alpha1.BackupRepository, error)
	Update(ctx context.Context, backupRepository *v1alpha1.BackupRepository, opts v1.UpdateOptions) (*v1alpha1.BackupRepository, 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.BackupRepository, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.BackupRepositoryList, 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.BackupRepository, err error)
	BackupRepositoryExpansion
}

BackupRepositoryInterface has methods to work with BackupRepository resources.

type BackupdriverV1alpha1Client

type BackupdriverV1alpha1Client struct {
	// contains filtered or unexported fields
}

BackupdriverV1alpha1Client is used to interact with features provided by the backupdriver.cnsdp.vmware.com group.

func New

New creates a new BackupdriverV1alpha1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*BackupdriverV1alpha1Client, error)

NewForConfig creates a new BackupdriverV1alpha1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *BackupdriverV1alpha1Client

NewForConfigOrDie creates a new BackupdriverV1alpha1Client for the given config and panics if there is an error in the config.

func (*BackupdriverV1alpha1Client) BackupRepositories

func (c *BackupdriverV1alpha1Client) BackupRepositories() BackupRepositoryInterface

func (*BackupdriverV1alpha1Client) BackupRepositoryClaims

func (c *BackupdriverV1alpha1Client) BackupRepositoryClaims(namespace string) BackupRepositoryClaimInterface

func (*BackupdriverV1alpha1Client) CloneFromSnapshots

func (c *BackupdriverV1alpha1Client) CloneFromSnapshots(namespace string) CloneFromSnapshotInterface

func (*BackupdriverV1alpha1Client) DeleteSnapshots

func (c *BackupdriverV1alpha1Client) DeleteSnapshots(namespace string) DeleteSnapshotInterface

func (*BackupdriverV1alpha1Client) RESTClient

func (c *BackupdriverV1alpha1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*BackupdriverV1alpha1Client) Snapshots

func (c *BackupdriverV1alpha1Client) Snapshots(namespace string) SnapshotInterface

type CloneFromSnapshotExpansion

type CloneFromSnapshotExpansion interface{}

type CloneFromSnapshotInterface

type CloneFromSnapshotInterface interface {
	Create(ctx context.Context, cloneFromSnapshot *v1alpha1.CloneFromSnapshot, opts v1.CreateOptions) (*v1alpha1.CloneFromSnapshot, error)
	Update(ctx context.Context, cloneFromSnapshot *v1alpha1.CloneFromSnapshot, opts v1.UpdateOptions) (*v1alpha1.CloneFromSnapshot, error)
	UpdateStatus(ctx context.Context, cloneFromSnapshot *v1alpha1.CloneFromSnapshot, opts v1.UpdateOptions) (*v1alpha1.CloneFromSnapshot, 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.CloneFromSnapshot, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.CloneFromSnapshotList, 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.CloneFromSnapshot, err error)
	CloneFromSnapshotExpansion
}

CloneFromSnapshotInterface has methods to work with CloneFromSnapshot resources.

type CloneFromSnapshotsGetter

type CloneFromSnapshotsGetter interface {
	CloneFromSnapshots(namespace string) CloneFromSnapshotInterface
}

CloneFromSnapshotsGetter has a method to return a CloneFromSnapshotInterface. A group's client should implement this interface.

type DeleteSnapshotExpansion

type DeleteSnapshotExpansion interface{}

type DeleteSnapshotInterface

type DeleteSnapshotInterface interface {
	Create(ctx context.Context, deleteSnapshot *v1alpha1.DeleteSnapshot, opts v1.CreateOptions) (*v1alpha1.DeleteSnapshot, error)
	Update(ctx context.Context, deleteSnapshot *v1alpha1.DeleteSnapshot, opts v1.UpdateOptions) (*v1alpha1.DeleteSnapshot, error)
	UpdateStatus(ctx context.Context, deleteSnapshot *v1alpha1.DeleteSnapshot, opts v1.UpdateOptions) (*v1alpha1.DeleteSnapshot, 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.DeleteSnapshot, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.DeleteSnapshotList, 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.DeleteSnapshot, err error)
	DeleteSnapshotExpansion
}

DeleteSnapshotInterface has methods to work with DeleteSnapshot resources.

type DeleteSnapshotsGetter

type DeleteSnapshotsGetter interface {
	DeleteSnapshots(namespace string) DeleteSnapshotInterface
}

DeleteSnapshotsGetter has a method to return a DeleteSnapshotInterface. A group's client should implement this interface.

type SnapshotExpansion

type SnapshotExpansion interface{}

type SnapshotInterface

type SnapshotInterface interface {
	Create(ctx context.Context, snapshot *v1alpha1.Snapshot, opts v1.CreateOptions) (*v1alpha1.Snapshot, error)
	Update(ctx context.Context, snapshot *v1alpha1.Snapshot, opts v1.UpdateOptions) (*v1alpha1.Snapshot, error)
	UpdateStatus(ctx context.Context, snapshot *v1alpha1.Snapshot, opts v1.UpdateOptions) (*v1alpha1.Snapshot, 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.Snapshot, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.SnapshotList, 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.Snapshot, err error)
	SnapshotExpansion
}

SnapshotInterface has methods to work with Snapshot resources.

type SnapshotsGetter

type SnapshotsGetter interface {
	Snapshots(namespace string) SnapshotInterface
}

SnapshotsGetter has a method to return a SnapshotInterface. 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