Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type BackupExpansion
- type BackupInterface
- type BackupLocationExpansion
- type BackupLocationInterface
- type BackupLocationsGetter
- type BackupsGetter
- type KahuV1beta1Client
- func (c *KahuV1beta1Client) BackupLocations() BackupLocationInterface
- func (c *KahuV1beta1Client) Backups() BackupInterface
- func (c *KahuV1beta1Client) Providers() ProviderInterface
- func (c *KahuV1beta1Client) RESTClient() rest.Interface
- func (c *KahuV1beta1Client) Restores() RestoreInterface
- func (c *KahuV1beta1Client) VolumeBackupContents() VolumeBackupContentInterface
- func (c *KahuV1beta1Client) VolumeGroups() VolumeGroupInterface
- func (c *KahuV1beta1Client) VolumeRestoreContents() VolumeRestoreContentInterface
- func (c *KahuV1beta1Client) VolumeSnapshots() VolumeSnapshotInterface
- type KahuV1beta1Interface
- type ProviderExpansion
- type ProviderInterface
- type ProvidersGetter
- type RestoreExpansion
- type RestoreInterface
- type RestoresGetter
- type VolumeBackupContentExpansion
- type VolumeBackupContentInterface
- type VolumeBackupContentsGetter
- type VolumeGroupExpansion
- type VolumeGroupInterface
- type VolumeGroupsGetter
- type VolumeRestoreContentExpansion
- type VolumeRestoreContentInterface
- type VolumeRestoreContentsGetter
- type VolumeSnapshotExpansion
- type VolumeSnapshotInterface
- type VolumeSnapshotsGetter
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 *v1beta1.Backup, opts v1.CreateOptions) (*v1beta1.Backup, error) Update(ctx context.Context, backup *v1beta1.Backup, opts v1.UpdateOptions) (*v1beta1.Backup, error) UpdateStatus(ctx context.Context, backup *v1beta1.Backup, opts v1.UpdateOptions) (*v1beta1.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) (*v1beta1.Backup, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.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 *v1beta1.Backup, err error) BackupExpansion }
BackupInterface has methods to work with Backup resources.
type BackupLocationExpansion ¶
type BackupLocationExpansion interface{}
type BackupLocationInterface ¶
type BackupLocationInterface interface { Create(ctx context.Context, backupLocation *v1beta1.BackupLocation, opts v1.CreateOptions) (*v1beta1.BackupLocation, 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) (*v1beta1.BackupLocation, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.BackupLocationList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) BackupLocationExpansion }
BackupLocationInterface has methods to work with BackupLocation resources.
type BackupLocationsGetter ¶
type BackupLocationsGetter interface {
BackupLocations() BackupLocationInterface
}
BackupLocationsGetter has a method to return a BackupLocationInterface. A group's client should implement this interface.
type BackupsGetter ¶
type BackupsGetter interface {
Backups() BackupInterface
}
BackupsGetter has a method to return a BackupInterface. A group's client should implement this interface.
type KahuV1beta1Client ¶
type KahuV1beta1Client struct {
// contains filtered or unexported fields
}
KahuV1beta1Client is used to interact with features provided by the kahu.io group.
func New ¶
func New(c rest.Interface) *KahuV1beta1Client
New creates a new KahuV1beta1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*KahuV1beta1Client, error)
NewForConfig creates a new KahuV1beta1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *KahuV1beta1Client
NewForConfigOrDie creates a new KahuV1beta1Client for the given config and panics if there is an error in the config.
func (*KahuV1beta1Client) BackupLocations ¶
func (c *KahuV1beta1Client) BackupLocations() BackupLocationInterface
func (*KahuV1beta1Client) Backups ¶
func (c *KahuV1beta1Client) Backups() BackupInterface
func (*KahuV1beta1Client) Providers ¶
func (c *KahuV1beta1Client) Providers() ProviderInterface
func (*KahuV1beta1Client) RESTClient ¶
func (c *KahuV1beta1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*KahuV1beta1Client) Restores ¶
func (c *KahuV1beta1Client) Restores() RestoreInterface
func (*KahuV1beta1Client) VolumeBackupContents ¶
func (c *KahuV1beta1Client) VolumeBackupContents() VolumeBackupContentInterface
func (*KahuV1beta1Client) VolumeGroups ¶ added in v1.0.0
func (c *KahuV1beta1Client) VolumeGroups() VolumeGroupInterface
func (*KahuV1beta1Client) VolumeRestoreContents ¶
func (c *KahuV1beta1Client) VolumeRestoreContents() VolumeRestoreContentInterface
func (*KahuV1beta1Client) VolumeSnapshots ¶ added in v1.0.0
func (c *KahuV1beta1Client) VolumeSnapshots() VolumeSnapshotInterface
type KahuV1beta1Interface ¶
type KahuV1beta1Interface interface { RESTClient() rest.Interface BackupsGetter BackupLocationsGetter ProvidersGetter RestoresGetter VolumeBackupContentsGetter VolumeGroupsGetter VolumeRestoreContentsGetter VolumeSnapshotsGetter }
type ProviderExpansion ¶
type ProviderExpansion interface{}
type ProviderInterface ¶
type ProviderInterface interface { Create(ctx context.Context, provider *v1beta1.Provider, opts v1.CreateOptions) (*v1beta1.Provider, error) UpdateStatus(ctx context.Context, provider *v1beta1.Provider, opts v1.UpdateOptions) (*v1beta1.Provider, 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) (*v1beta1.Provider, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.ProviderList, 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 *v1beta1.Provider, err error) ProviderExpansion }
ProviderInterface has methods to work with Provider resources.
type ProvidersGetter ¶
type ProvidersGetter interface {
Providers() ProviderInterface
}
ProvidersGetter has a method to return a ProviderInterface. A group's client should implement this interface.
type RestoreExpansion ¶
type RestoreExpansion interface{}
type RestoreInterface ¶
type RestoreInterface interface { Create(ctx context.Context, restore *v1beta1.Restore, opts v1.CreateOptions) (*v1beta1.Restore, error) Update(ctx context.Context, restore *v1beta1.Restore, opts v1.UpdateOptions) (*v1beta1.Restore, error) UpdateStatus(ctx context.Context, restore *v1beta1.Restore, opts v1.UpdateOptions) (*v1beta1.Restore, 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) (*v1beta1.Restore, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.RestoreList, 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 *v1beta1.Restore, err error) RestoreExpansion }
RestoreInterface has methods to work with Restore resources.
type RestoresGetter ¶
type RestoresGetter interface {
Restores() RestoreInterface
}
RestoresGetter has a method to return a RestoreInterface. A group's client should implement this interface.
type VolumeBackupContentExpansion ¶
type VolumeBackupContentExpansion interface{}
type VolumeBackupContentInterface ¶
type VolumeBackupContentInterface interface { Create(ctx context.Context, volumeBackupContent *v1beta1.VolumeBackupContent, opts v1.CreateOptions) (*v1beta1.VolumeBackupContent, error) UpdateStatus(ctx context.Context, volumeBackupContent *v1beta1.VolumeBackupContent, opts v1.UpdateOptions) (*v1beta1.VolumeBackupContent, 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) (*v1beta1.VolumeBackupContent, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.VolumeBackupContentList, 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 *v1beta1.VolumeBackupContent, err error) VolumeBackupContentExpansion }
VolumeBackupContentInterface has methods to work with VolumeBackupContent resources.
type VolumeBackupContentsGetter ¶
type VolumeBackupContentsGetter interface {
VolumeBackupContents() VolumeBackupContentInterface
}
VolumeBackupContentsGetter has a method to return a VolumeBackupContentInterface. A group's client should implement this interface.
type VolumeGroupExpansion ¶ added in v1.0.0
type VolumeGroupExpansion interface{}
type VolumeGroupInterface ¶ added in v1.0.0
type VolumeGroupInterface interface { Create(ctx context.Context, volumeGroup *v1beta1.VolumeGroup, opts v1.CreateOptions) (*v1beta1.VolumeGroup, error) Update(ctx context.Context, volumeGroup *v1beta1.VolumeGroup, opts v1.UpdateOptions) (*v1beta1.VolumeGroup, error) UpdateStatus(ctx context.Context, volumeGroup *v1beta1.VolumeGroup, opts v1.UpdateOptions) (*v1beta1.VolumeGroup, 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) (*v1beta1.VolumeGroup, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.VolumeGroupList, 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 *v1beta1.VolumeGroup, err error) VolumeGroupExpansion }
VolumeGroupInterface has methods to work with VolumeGroup resources.
type VolumeGroupsGetter ¶ added in v1.0.0
type VolumeGroupsGetter interface {
VolumeGroups() VolumeGroupInterface
}
VolumeGroupsGetter has a method to return a VolumeGroupInterface. A group's client should implement this interface.
type VolumeRestoreContentExpansion ¶
type VolumeRestoreContentExpansion interface{}
type VolumeRestoreContentInterface ¶
type VolumeRestoreContentInterface interface { Create(ctx context.Context, volumeRestoreContent *v1beta1.VolumeRestoreContent, opts v1.CreateOptions) (*v1beta1.VolumeRestoreContent, error) UpdateStatus(ctx context.Context, volumeRestoreContent *v1beta1.VolumeRestoreContent, opts v1.UpdateOptions) (*v1beta1.VolumeRestoreContent, 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) (*v1beta1.VolumeRestoreContent, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.VolumeRestoreContentList, 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 *v1beta1.VolumeRestoreContent, err error) VolumeRestoreContentExpansion }
VolumeRestoreContentInterface has methods to work with VolumeRestoreContent resources.
type VolumeRestoreContentsGetter ¶
type VolumeRestoreContentsGetter interface {
VolumeRestoreContents() VolumeRestoreContentInterface
}
VolumeRestoreContentsGetter has a method to return a VolumeRestoreContentInterface. A group's client should implement this interface.
type VolumeSnapshotExpansion ¶ added in v1.0.0
type VolumeSnapshotExpansion interface{}
type VolumeSnapshotInterface ¶ added in v1.0.0
type VolumeSnapshotInterface interface { Create(ctx context.Context, volumeSnapshot *v1beta1.VolumeSnapshot, opts v1.CreateOptions) (*v1beta1.VolumeSnapshot, error) Update(ctx context.Context, volumeSnapshot *v1beta1.VolumeSnapshot, opts v1.UpdateOptions) (*v1beta1.VolumeSnapshot, error) UpdateStatus(ctx context.Context, volumeSnapshot *v1beta1.VolumeSnapshot, opts v1.UpdateOptions) (*v1beta1.VolumeSnapshot, 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) (*v1beta1.VolumeSnapshot, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.VolumeSnapshotList, 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 *v1beta1.VolumeSnapshot, err error) VolumeSnapshotExpansion }
VolumeSnapshotInterface has methods to work with VolumeSnapshot resources.
type VolumeSnapshotsGetter ¶ added in v1.0.0
type VolumeSnapshotsGetter interface {
VolumeSnapshots() VolumeSnapshotInterface
}
VolumeSnapshotsGetter has a method to return a VolumeSnapshotInterface. A group's client should implement this interface.