v1

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: Apache-2.0 Imports: 7 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 BackupExpansion

type BackupExpansion interface{}

type BackupInterface

type BackupInterface interface {
	Create(*v1.Backup) (*v1.Backup, error)
	Update(*v1.Backup) (*v1.Backup, error)
	UpdateStatus(*v1.Backup) (*v1.Backup, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.Backup, error)
	List(opts metav1.ListOptions) (*v1.BackupList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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(*v1.BackupStorageLocation) (*v1.BackupStorageLocation, error)
	Update(*v1.BackupStorageLocation) (*v1.BackupStorageLocation, error)
	UpdateStatus(*v1.BackupStorageLocation) (*v1.BackupStorageLocation, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.BackupStorageLocation, error)
	List(opts metav1.ListOptions) (*v1.BackupStorageLocationList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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(*v1.DeleteBackupRequest) (*v1.DeleteBackupRequest, error)
	Update(*v1.DeleteBackupRequest) (*v1.DeleteBackupRequest, error)
	UpdateStatus(*v1.DeleteBackupRequest) (*v1.DeleteBackupRequest, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.DeleteBackupRequest, error)
	List(opts metav1.ListOptions) (*v1.DeleteBackupRequestList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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(*v1.DownloadRequest) (*v1.DownloadRequest, error)
	Update(*v1.DownloadRequest) (*v1.DownloadRequest, error)
	UpdateStatus(*v1.DownloadRequest) (*v1.DownloadRequest, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.DownloadRequest, error)
	List(opts metav1.ListOptions) (*v1.DownloadRequestList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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(*v1.PodVolumeBackup) (*v1.PodVolumeBackup, error)
	Update(*v1.PodVolumeBackup) (*v1.PodVolumeBackup, error)
	UpdateStatus(*v1.PodVolumeBackup) (*v1.PodVolumeBackup, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.PodVolumeBackup, error)
	List(opts metav1.ListOptions) (*v1.PodVolumeBackupList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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(*v1.PodVolumeRestore) (*v1.PodVolumeRestore, error)
	Update(*v1.PodVolumeRestore) (*v1.PodVolumeRestore, error)
	UpdateStatus(*v1.PodVolumeRestore) (*v1.PodVolumeRestore, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.PodVolumeRestore, error)
	List(opts metav1.ListOptions) (*v1.PodVolumeRestoreList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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(*v1.ResticRepository) (*v1.ResticRepository, error)
	Update(*v1.ResticRepository) (*v1.ResticRepository, error)
	UpdateStatus(*v1.ResticRepository) (*v1.ResticRepository, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.ResticRepository, error)
	List(opts metav1.ListOptions) (*v1.ResticRepositoryList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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(*v1.Restore) (*v1.Restore, error)
	Update(*v1.Restore) (*v1.Restore, error)
	UpdateStatus(*v1.Restore) (*v1.Restore, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.Restore, error)
	List(opts metav1.ListOptions) (*v1.RestoreList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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(*v1.Schedule) (*v1.Schedule, error)
	Update(*v1.Schedule) (*v1.Schedule, error)
	UpdateStatus(*v1.Schedule) (*v1.Schedule, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.Schedule, error)
	List(opts metav1.ListOptions) (*v1.ScheduleList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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(*v1.ServerStatusRequest) (*v1.ServerStatusRequest, error)
	Update(*v1.ServerStatusRequest) (*v1.ServerStatusRequest, error)
	UpdateStatus(*v1.ServerStatusRequest) (*v1.ServerStatusRequest, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.ServerStatusRequest, error)
	List(opts metav1.ListOptions) (*v1.ServerStatusRequestList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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(*v1.VolumeSnapshotLocation) (*v1.VolumeSnapshotLocation, error)
	Update(*v1.VolumeSnapshotLocation) (*v1.VolumeSnapshotLocation, error)
	UpdateStatus(*v1.VolumeSnapshotLocation) (*v1.VolumeSnapshotLocation, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.VolumeSnapshotLocation, error)
	List(opts metav1.ListOptions) (*v1.VolumeSnapshotLocationList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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