v1

package
Version: v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2019 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 ArkV1Client

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

ArkV1Client is used to interact with features provided by the ark.heptio.com group.

func New

func New(c rest.Interface) *ArkV1Client

New creates a new ArkV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new ArkV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *ArkV1Client

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

func (*ArkV1Client) BackupStorageLocations added in v0.10.0

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

func (*ArkV1Client) Backups

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

func (*ArkV1Client) DeleteBackupRequests added in v0.8.0

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

func (*ArkV1Client) DownloadRequests

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

func (*ArkV1Client) PodVolumeBackups added in v0.9.0

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

func (*ArkV1Client) PodVolumeRestores added in v0.9.0

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

func (*ArkV1Client) RESTClient

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

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

func (*ArkV1Client) ResticRepositories added in v0.9.0

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

func (*ArkV1Client) Restores

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

func (*ArkV1Client) Schedules

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

func (*ArkV1Client) VolumeSnapshotLocations added in v0.10.0

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

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 *meta_v1.DeleteOptions) error
	DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
	Get(name string, options meta_v1.GetOptions) (*v1.Backup, error)
	List(opts meta_v1.ListOptions) (*v1.BackupList, error)
	Watch(opts meta_v1.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 added in v0.10.0

type BackupStorageLocationExpansion interface{}

type BackupStorageLocationInterface added in v0.10.0

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 *meta_v1.DeleteOptions) error
	DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
	Get(name string, options meta_v1.GetOptions) (*v1.BackupStorageLocation, error)
	List(opts meta_v1.ListOptions) (*v1.BackupStorageLocationList, error)
	Watch(opts meta_v1.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 added in v0.10.0

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 added in v0.8.0

type DeleteBackupRequestExpansion interface{}

type DeleteBackupRequestInterface added in v0.8.0

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 *meta_v1.DeleteOptions) error
	DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
	Get(name string, options meta_v1.GetOptions) (*v1.DeleteBackupRequest, error)
	List(opts meta_v1.ListOptions) (*v1.DeleteBackupRequestList, error)
	Watch(opts meta_v1.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 added in v0.8.0

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 *meta_v1.DeleteOptions) error
	DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
	Get(name string, options meta_v1.GetOptions) (*v1.DownloadRequest, error)
	List(opts meta_v1.ListOptions) (*v1.DownloadRequestList, error)
	Watch(opts meta_v1.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 added in v0.9.0

type PodVolumeBackupExpansion interface{}

type PodVolumeBackupInterface added in v0.9.0

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 *meta_v1.DeleteOptions) error
	DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
	Get(name string, options meta_v1.GetOptions) (*v1.PodVolumeBackup, error)
	List(opts meta_v1.ListOptions) (*v1.PodVolumeBackupList, error)
	Watch(opts meta_v1.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 added in v0.9.0

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 added in v0.9.0

type PodVolumeRestoreExpansion interface{}

type PodVolumeRestoreInterface added in v0.9.0

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 *meta_v1.DeleteOptions) error
	DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
	Get(name string, options meta_v1.GetOptions) (*v1.PodVolumeRestore, error)
	List(opts meta_v1.ListOptions) (*v1.PodVolumeRestoreList, error)
	Watch(opts meta_v1.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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

type ResticRepositoryExpansion interface{}

type ResticRepositoryInterface added in v0.9.0

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 *meta_v1.DeleteOptions) error
	DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
	Get(name string, options meta_v1.GetOptions) (*v1.ResticRepository, error)
	List(opts meta_v1.ListOptions) (*v1.ResticRepositoryList, error)
	Watch(opts meta_v1.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 *meta_v1.DeleteOptions) error
	DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
	Get(name string, options meta_v1.GetOptions) (*v1.Restore, error)
	List(opts meta_v1.ListOptions) (*v1.RestoreList, error)
	Watch(opts meta_v1.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 *meta_v1.DeleteOptions) error
	DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
	Get(name string, options meta_v1.GetOptions) (*v1.Schedule, error)
	List(opts meta_v1.ListOptions) (*v1.ScheduleList, error)
	Watch(opts meta_v1.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 VolumeSnapshotLocationExpansion added in v0.10.0

type VolumeSnapshotLocationExpansion interface{}

type VolumeSnapshotLocationInterface added in v0.10.0

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 *meta_v1.DeleteOptions) error
	DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
	Get(name string, options meta_v1.GetOptions) (*v1.VolumeSnapshotLocation, error)
	List(opts meta_v1.ListOptions) (*v1.VolumeSnapshotLocationList, error)
	Watch(opts meta_v1.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 added in v0.10.0

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