v1

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: Apache-2.0 Imports: 8 Imported by: 56

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 *v1.Backup, opts metav1.CreateOptions) (*v1.Backup, error)
	Update(ctx context.Context, backup *v1.Backup, opts metav1.UpdateOptions) (*v1.Backup, error)
	UpdateStatus(ctx context.Context, backup *v1.Backup, opts metav1.UpdateOptions) (*v1.Backup, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Backup, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.BackupList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Backup, err error)
	BackupExpansion
}

BackupInterface has methods to work with Backup resources.

type BackupStorageLocationExpansion

type BackupStorageLocationExpansion interface{}

type BackupStorageLocationInterface

type BackupStorageLocationInterface interface {
	Create(ctx context.Context, backupStorageLocation *v1.BackupStorageLocation, opts metav1.CreateOptions) (*v1.BackupStorageLocation, error)
	Update(ctx context.Context, backupStorageLocation *v1.BackupStorageLocation, opts metav1.UpdateOptions) (*v1.BackupStorageLocation, error)
	UpdateStatus(ctx context.Context, backupStorageLocation *v1.BackupStorageLocation, opts metav1.UpdateOptions) (*v1.BackupStorageLocation, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.BackupStorageLocation, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.BackupStorageLocationList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.BackupStorageLocation, err error)
	BackupStorageLocationExpansion
}

BackupStorageLocationInterface has methods to work with BackupStorageLocation resources.

type BackupStorageLocationsGetter

type BackupStorageLocationsGetter interface {
	BackupStorageLocations(namespace string) BackupStorageLocationInterface
}

BackupStorageLocationsGetter has a method to return a BackupStorageLocationInterface. 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 DeleteBackupRequestExpansion

type DeleteBackupRequestExpansion interface{}

type DeleteBackupRequestInterface

type DeleteBackupRequestInterface interface {
	Create(ctx context.Context, deleteBackupRequest *v1.DeleteBackupRequest, opts metav1.CreateOptions) (*v1.DeleteBackupRequest, error)
	Update(ctx context.Context, deleteBackupRequest *v1.DeleteBackupRequest, opts metav1.UpdateOptions) (*v1.DeleteBackupRequest, error)
	UpdateStatus(ctx context.Context, deleteBackupRequest *v1.DeleteBackupRequest, opts metav1.UpdateOptions) (*v1.DeleteBackupRequest, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.DeleteBackupRequest, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.DeleteBackupRequestList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.DeleteBackupRequest, err error)
	DeleteBackupRequestExpansion
}

DeleteBackupRequestInterface has methods to work with DeleteBackupRequest resources.

type DeleteBackupRequestsGetter

type DeleteBackupRequestsGetter interface {
	DeleteBackupRequests(namespace string) DeleteBackupRequestInterface
}

DeleteBackupRequestsGetter has a method to return a DeleteBackupRequestInterface. A group's client should implement this interface.

type DownloadRequestExpansion

type DownloadRequestExpansion interface{}

type DownloadRequestInterface

type DownloadRequestInterface interface {
	Create(ctx context.Context, downloadRequest *v1.DownloadRequest, opts metav1.CreateOptions) (*v1.DownloadRequest, error)
	Update(ctx context.Context, downloadRequest *v1.DownloadRequest, opts metav1.UpdateOptions) (*v1.DownloadRequest, error)
	UpdateStatus(ctx context.Context, downloadRequest *v1.DownloadRequest, opts metav1.UpdateOptions) (*v1.DownloadRequest, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.DownloadRequest, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.DownloadRequestList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.DownloadRequest, err error)
	DownloadRequestExpansion
}

DownloadRequestInterface has methods to work with DownloadRequest resources.

type DownloadRequestsGetter

type DownloadRequestsGetter interface {
	DownloadRequests(namespace string) DownloadRequestInterface
}

DownloadRequestsGetter has a method to return a DownloadRequestInterface. A group's client should implement this interface.

type PodVolumeBackupExpansion

type PodVolumeBackupExpansion interface{}

type PodVolumeBackupInterface

type PodVolumeBackupInterface interface {
	Create(ctx context.Context, podVolumeBackup *v1.PodVolumeBackup, opts metav1.CreateOptions) (*v1.PodVolumeBackup, error)
	Update(ctx context.Context, podVolumeBackup *v1.PodVolumeBackup, opts metav1.UpdateOptions) (*v1.PodVolumeBackup, error)
	UpdateStatus(ctx context.Context, podVolumeBackup *v1.PodVolumeBackup, opts metav1.UpdateOptions) (*v1.PodVolumeBackup, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.PodVolumeBackup, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.PodVolumeBackupList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.PodVolumeBackup, err error)
	PodVolumeBackupExpansion
}

PodVolumeBackupInterface has methods to work with PodVolumeBackup resources.

type PodVolumeBackupsGetter

type PodVolumeBackupsGetter interface {
	PodVolumeBackups(namespace string) PodVolumeBackupInterface
}

PodVolumeBackupsGetter has a method to return a PodVolumeBackupInterface. A group's client should implement this interface.

type PodVolumeRestoreExpansion

type PodVolumeRestoreExpansion interface{}

type PodVolumeRestoreInterface

type PodVolumeRestoreInterface interface {
	Create(ctx context.Context, podVolumeRestore *v1.PodVolumeRestore, opts metav1.CreateOptions) (*v1.PodVolumeRestore, error)
	Update(ctx context.Context, podVolumeRestore *v1.PodVolumeRestore, opts metav1.UpdateOptions) (*v1.PodVolumeRestore, error)
	UpdateStatus(ctx context.Context, podVolumeRestore *v1.PodVolumeRestore, opts metav1.UpdateOptions) (*v1.PodVolumeRestore, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.PodVolumeRestore, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.PodVolumeRestoreList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.PodVolumeRestore, err error)
	PodVolumeRestoreExpansion
}

PodVolumeRestoreInterface has methods to work with PodVolumeRestore resources.

type PodVolumeRestoresGetter

type PodVolumeRestoresGetter interface {
	PodVolumeRestores(namespace string) PodVolumeRestoreInterface
}

PodVolumeRestoresGetter has a method to return a PodVolumeRestoreInterface. A group's client should implement this interface.

type ResticRepositoriesGetter

type ResticRepositoriesGetter interface {
	ResticRepositories(namespace string) ResticRepositoryInterface
}

ResticRepositoriesGetter has a method to return a ResticRepositoryInterface. A group's client should implement this interface.

type ResticRepositoryExpansion

type ResticRepositoryExpansion interface{}

type ResticRepositoryInterface

type ResticRepositoryInterface interface {
	Create(ctx context.Context, resticRepository *v1.ResticRepository, opts metav1.CreateOptions) (*v1.ResticRepository, error)
	Update(ctx context.Context, resticRepository *v1.ResticRepository, opts metav1.UpdateOptions) (*v1.ResticRepository, error)
	UpdateStatus(ctx context.Context, resticRepository *v1.ResticRepository, opts metav1.UpdateOptions) (*v1.ResticRepository, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ResticRepository, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ResticRepositoryList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ResticRepository, err error)
	ResticRepositoryExpansion
}

ResticRepositoryInterface has methods to work with ResticRepository resources.

type RestoreExpansion

type RestoreExpansion interface{}

type RestoreInterface

type RestoreInterface interface {
	Create(ctx context.Context, restore *v1.Restore, opts metav1.CreateOptions) (*v1.Restore, error)
	Update(ctx context.Context, restore *v1.Restore, opts metav1.UpdateOptions) (*v1.Restore, error)
	UpdateStatus(ctx context.Context, restore *v1.Restore, opts metav1.UpdateOptions) (*v1.Restore, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Restore, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.RestoreList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Restore, err error)
	RestoreExpansion
}

RestoreInterface has methods to work with Restore resources.

type RestoresGetter

type RestoresGetter interface {
	Restores(namespace string) RestoreInterface
}

RestoresGetter has a method to return a RestoreInterface. A group's client should implement this interface.

type ScheduleExpansion

type ScheduleExpansion interface{}

type ScheduleInterface

type ScheduleInterface interface {
	Create(ctx context.Context, schedule *v1.Schedule, opts metav1.CreateOptions) (*v1.Schedule, error)
	Update(ctx context.Context, schedule *v1.Schedule, opts metav1.UpdateOptions) (*v1.Schedule, error)
	UpdateStatus(ctx context.Context, schedule *v1.Schedule, opts metav1.UpdateOptions) (*v1.Schedule, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Schedule, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ScheduleList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Schedule, err error)
	ScheduleExpansion
}

ScheduleInterface has methods to work with Schedule resources.

type SchedulesGetter

type SchedulesGetter interface {
	Schedules(namespace string) ScheduleInterface
}

SchedulesGetter has a method to return a ScheduleInterface. A group's client should implement this interface.

type ServerStatusRequestExpansion

type ServerStatusRequestExpansion interface{}

type ServerStatusRequestInterface

type ServerStatusRequestInterface interface {
	Create(ctx context.Context, serverStatusRequest *v1.ServerStatusRequest, opts metav1.CreateOptions) (*v1.ServerStatusRequest, error)
	Update(ctx context.Context, serverStatusRequest *v1.ServerStatusRequest, opts metav1.UpdateOptions) (*v1.ServerStatusRequest, error)
	UpdateStatus(ctx context.Context, serverStatusRequest *v1.ServerStatusRequest, opts metav1.UpdateOptions) (*v1.ServerStatusRequest, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ServerStatusRequest, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ServerStatusRequestList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ServerStatusRequest, err error)
	ServerStatusRequestExpansion
}

ServerStatusRequestInterface has methods to work with ServerStatusRequest resources.

type ServerStatusRequestsGetter

type ServerStatusRequestsGetter interface {
	ServerStatusRequests(namespace string) ServerStatusRequestInterface
}

ServerStatusRequestsGetter has a method to return a ServerStatusRequestInterface. A group's client should implement this interface.

type VeleroV1Client

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

VeleroV1Client is used to interact with features provided by the velero.io group.

func New

New creates a new VeleroV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new VeleroV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *VeleroV1Client

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

func (*VeleroV1Client) BackupStorageLocations

func (c *VeleroV1Client) BackupStorageLocations(namespace string) BackupStorageLocationInterface

func (*VeleroV1Client) Backups

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

func (*VeleroV1Client) DeleteBackupRequests

func (c *VeleroV1Client) DeleteBackupRequests(namespace string) DeleteBackupRequestInterface

func (*VeleroV1Client) DownloadRequests

func (c *VeleroV1Client) DownloadRequests(namespace string) DownloadRequestInterface

func (*VeleroV1Client) PodVolumeBackups

func (c *VeleroV1Client) PodVolumeBackups(namespace string) PodVolumeBackupInterface

func (*VeleroV1Client) PodVolumeRestores

func (c *VeleroV1Client) PodVolumeRestores(namespace string) PodVolumeRestoreInterface

func (*VeleroV1Client) RESTClient

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

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

func (*VeleroV1Client) ResticRepositories

func (c *VeleroV1Client) ResticRepositories(namespace string) ResticRepositoryInterface

func (*VeleroV1Client) Restores

func (c *VeleroV1Client) Restores(namespace string) RestoreInterface

func (*VeleroV1Client) Schedules

func (c *VeleroV1Client) Schedules(namespace string) ScheduleInterface

func (*VeleroV1Client) ServerStatusRequests

func (c *VeleroV1Client) ServerStatusRequests(namespace string) ServerStatusRequestInterface

func (*VeleroV1Client) VolumeSnapshotLocations

func (c *VeleroV1Client) VolumeSnapshotLocations(namespace string) VolumeSnapshotLocationInterface

type VolumeSnapshotLocationExpansion

type VolumeSnapshotLocationExpansion interface{}

type VolumeSnapshotLocationInterface

type VolumeSnapshotLocationInterface interface {
	Create(ctx context.Context, volumeSnapshotLocation *v1.VolumeSnapshotLocation, opts metav1.CreateOptions) (*v1.VolumeSnapshotLocation, error)
	Update(ctx context.Context, volumeSnapshotLocation *v1.VolumeSnapshotLocation, opts metav1.UpdateOptions) (*v1.VolumeSnapshotLocation, error)
	UpdateStatus(ctx context.Context, volumeSnapshotLocation *v1.VolumeSnapshotLocation, opts metav1.UpdateOptions) (*v1.VolumeSnapshotLocation, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.VolumeSnapshotLocation, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.VolumeSnapshotLocationList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.VolumeSnapshotLocation, err error)
	VolumeSnapshotLocationExpansion
}

VolumeSnapshotLocationInterface has methods to work with VolumeSnapshotLocation resources.

type VolumeSnapshotLocationsGetter

type VolumeSnapshotLocationsGetter interface {
	VolumeSnapshotLocations(namespace string) VolumeSnapshotLocationInterface
}

VolumeSnapshotLocationsGetter has a method to return a VolumeSnapshotLocationInterface. 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