Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type BlockDeviceClaimExpansion
- type BlockDeviceClaimInterface
- type BlockDeviceClaimsGetter
- type BlockDeviceExpansion
- type BlockDeviceInterface
- type BlockDevicesGetter
- type CStorBackupExpansion
- type CStorBackupInterface
- type CStorBackupsGetter
- type CStorCompletedBackupExpansion
- type CStorCompletedBackupInterface
- type CStorCompletedBackupsGetter
- type CStorRestoreExpansion
- type CStorRestoreInterface
- type CStorRestoresGetter
- type MigrationTaskExpansion
- type MigrationTaskInterface
- type MigrationTasksGetter
- type OpenebsV1alpha1Client
- func (c *OpenebsV1alpha1Client) BlockDeviceClaims(namespace string) BlockDeviceClaimInterface
- func (c *OpenebsV1alpha1Client) BlockDevices(namespace string) BlockDeviceInterface
- func (c *OpenebsV1alpha1Client) CStorBackups(namespace string) CStorBackupInterface
- func (c *OpenebsV1alpha1Client) CStorCompletedBackups(namespace string) CStorCompletedBackupInterface
- func (c *OpenebsV1alpha1Client) CStorRestores(namespace string) CStorRestoreInterface
- func (c *OpenebsV1alpha1Client) MigrationTasks(namespace string) MigrationTaskInterface
- func (c *OpenebsV1alpha1Client) RESTClient() rest.Interface
- func (c *OpenebsV1alpha1Client) UpgradeTasks(namespace string) UpgradeTaskInterface
- type OpenebsV1alpha1Interface
- type UpgradeTaskExpansion
- type UpgradeTaskInterface
- type UpgradeTasksGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockDeviceClaimExpansion ¶
type BlockDeviceClaimExpansion interface{}
type BlockDeviceClaimInterface ¶
type BlockDeviceClaimInterface interface { Create(ctx context.Context, blockDeviceClaim *v1alpha1.BlockDeviceClaim, opts v1.CreateOptions) (*v1alpha1.BlockDeviceClaim, error) Update(ctx context.Context, blockDeviceClaim *v1alpha1.BlockDeviceClaim, opts v1.UpdateOptions) (*v1alpha1.BlockDeviceClaim, error) UpdateStatus(ctx context.Context, blockDeviceClaim *v1alpha1.BlockDeviceClaim, opts v1.UpdateOptions) (*v1alpha1.BlockDeviceClaim, 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.BlockDeviceClaim, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.BlockDeviceClaimList, 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.BlockDeviceClaim, err error) BlockDeviceClaimExpansion }
BlockDeviceClaimInterface has methods to work with BlockDeviceClaim resources.
type BlockDeviceClaimsGetter ¶
type BlockDeviceClaimsGetter interface {
BlockDeviceClaims(namespace string) BlockDeviceClaimInterface
}
BlockDeviceClaimsGetter has a method to return a BlockDeviceClaimInterface. A group's client should implement this interface.
type BlockDeviceExpansion ¶
type BlockDeviceExpansion interface{}
type BlockDeviceInterface ¶
type BlockDeviceInterface interface { Create(ctx context.Context, blockDevice *v1alpha1.BlockDevice, opts v1.CreateOptions) (*v1alpha1.BlockDevice, error) Update(ctx context.Context, blockDevice *v1alpha1.BlockDevice, opts v1.UpdateOptions) (*v1alpha1.BlockDevice, error) UpdateStatus(ctx context.Context, blockDevice *v1alpha1.BlockDevice, opts v1.UpdateOptions) (*v1alpha1.BlockDevice, 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.BlockDevice, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.BlockDeviceList, 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.BlockDevice, err error) BlockDeviceExpansion }
BlockDeviceInterface has methods to work with BlockDevice resources.
type BlockDevicesGetter ¶
type BlockDevicesGetter interface {
BlockDevices(namespace string) BlockDeviceInterface
}
BlockDevicesGetter has a method to return a BlockDeviceInterface. A group's client should implement this interface.
type CStorBackupExpansion ¶
type CStorBackupExpansion interface{}
type CStorBackupInterface ¶
type CStorBackupInterface interface { Create(ctx context.Context, cStorBackup *v1alpha1.CStorBackup, opts v1.CreateOptions) (*v1alpha1.CStorBackup, error) Update(ctx context.Context, cStorBackup *v1alpha1.CStorBackup, opts v1.UpdateOptions) (*v1alpha1.CStorBackup, 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.CStorBackup, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.CStorBackupList, 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.CStorBackup, err error) CStorBackupExpansion }
CStorBackupInterface has methods to work with CStorBackup resources.
type CStorBackupsGetter ¶
type CStorBackupsGetter interface {
CStorBackups(namespace string) CStorBackupInterface
}
CStorBackupsGetter has a method to return a CStorBackupInterface. A group's client should implement this interface.
type CStorCompletedBackupExpansion ¶
type CStorCompletedBackupExpansion interface{}
type CStorCompletedBackupInterface ¶
type CStorCompletedBackupInterface interface { Create(ctx context.Context, cStorCompletedBackup *v1alpha1.CStorCompletedBackup, opts v1.CreateOptions) (*v1alpha1.CStorCompletedBackup, error) Update(ctx context.Context, cStorCompletedBackup *v1alpha1.CStorCompletedBackup, opts v1.UpdateOptions) (*v1alpha1.CStorCompletedBackup, 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.CStorCompletedBackup, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.CStorCompletedBackupList, 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.CStorCompletedBackup, err error) CStorCompletedBackupExpansion }
CStorCompletedBackupInterface has methods to work with CStorCompletedBackup resources.
type CStorCompletedBackupsGetter ¶
type CStorCompletedBackupsGetter interface {
CStorCompletedBackups(namespace string) CStorCompletedBackupInterface
}
CStorCompletedBackupsGetter has a method to return a CStorCompletedBackupInterface. A group's client should implement this interface.
type CStorRestoreExpansion ¶
type CStorRestoreExpansion interface{}
type CStorRestoreInterface ¶
type CStorRestoreInterface interface { Create(ctx context.Context, cStorRestore *v1alpha1.CStorRestore, opts v1.CreateOptions) (*v1alpha1.CStorRestore, error) Update(ctx context.Context, cStorRestore *v1alpha1.CStorRestore, opts v1.UpdateOptions) (*v1alpha1.CStorRestore, 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.CStorRestore, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.CStorRestoreList, 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.CStorRestore, err error) CStorRestoreExpansion }
CStorRestoreInterface has methods to work with CStorRestore resources.
type CStorRestoresGetter ¶
type CStorRestoresGetter interface {
CStorRestores(namespace string) CStorRestoreInterface
}
CStorRestoresGetter has a method to return a CStorRestoreInterface. A group's client should implement this interface.
type MigrationTaskExpansion ¶
type MigrationTaskExpansion interface{}
type MigrationTaskInterface ¶
type MigrationTaskInterface interface { Create(ctx context.Context, migrationTask *v1alpha1.MigrationTask, opts v1.CreateOptions) (*v1alpha1.MigrationTask, error) Update(ctx context.Context, migrationTask *v1alpha1.MigrationTask, opts v1.UpdateOptions) (*v1alpha1.MigrationTask, error) UpdateStatus(ctx context.Context, migrationTask *v1alpha1.MigrationTask, opts v1.UpdateOptions) (*v1alpha1.MigrationTask, 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.MigrationTask, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.MigrationTaskList, 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.MigrationTask, err error) MigrationTaskExpansion }
MigrationTaskInterface has methods to work with MigrationTask resources.
type MigrationTasksGetter ¶
type MigrationTasksGetter interface {
MigrationTasks(namespace string) MigrationTaskInterface
}
MigrationTasksGetter has a method to return a MigrationTaskInterface. A group's client should implement this interface.
type OpenebsV1alpha1Client ¶
type OpenebsV1alpha1Client struct {
// contains filtered or unexported fields
}
OpenebsV1alpha1Client is used to interact with features provided by the openebs.io group.
func New ¶
func New(c rest.Interface) *OpenebsV1alpha1Client
New creates a new OpenebsV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*OpenebsV1alpha1Client, error)
NewForConfig creates a new OpenebsV1alpha1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new OpenebsV1alpha1Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *OpenebsV1alpha1Client
NewForConfigOrDie creates a new OpenebsV1alpha1Client for the given config and panics if there is an error in the config.
func (*OpenebsV1alpha1Client) BlockDeviceClaims ¶
func (c *OpenebsV1alpha1Client) BlockDeviceClaims(namespace string) BlockDeviceClaimInterface
func (*OpenebsV1alpha1Client) BlockDevices ¶
func (c *OpenebsV1alpha1Client) BlockDevices(namespace string) BlockDeviceInterface
func (*OpenebsV1alpha1Client) CStorBackups ¶
func (c *OpenebsV1alpha1Client) CStorBackups(namespace string) CStorBackupInterface
func (*OpenebsV1alpha1Client) CStorCompletedBackups ¶
func (c *OpenebsV1alpha1Client) CStorCompletedBackups(namespace string) CStorCompletedBackupInterface
func (*OpenebsV1alpha1Client) CStorRestores ¶
func (c *OpenebsV1alpha1Client) CStorRestores(namespace string) CStorRestoreInterface
func (*OpenebsV1alpha1Client) MigrationTasks ¶
func (c *OpenebsV1alpha1Client) MigrationTasks(namespace string) MigrationTaskInterface
func (*OpenebsV1alpha1Client) RESTClient ¶
func (c *OpenebsV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*OpenebsV1alpha1Client) UpgradeTasks ¶
func (c *OpenebsV1alpha1Client) UpgradeTasks(namespace string) UpgradeTaskInterface
type OpenebsV1alpha1Interface ¶
type OpenebsV1alpha1Interface interface { RESTClient() rest.Interface BlockDevicesGetter BlockDeviceClaimsGetter CStorBackupsGetter CStorCompletedBackupsGetter CStorRestoresGetter MigrationTasksGetter UpgradeTasksGetter }
type UpgradeTaskExpansion ¶
type UpgradeTaskExpansion interface{}
type UpgradeTaskInterface ¶
type UpgradeTaskInterface interface { Create(ctx context.Context, upgradeTask *v1alpha1.UpgradeTask, opts v1.CreateOptions) (*v1alpha1.UpgradeTask, error) Update(ctx context.Context, upgradeTask *v1alpha1.UpgradeTask, opts v1.UpdateOptions) (*v1alpha1.UpgradeTask, error) UpdateStatus(ctx context.Context, upgradeTask *v1alpha1.UpgradeTask, opts v1.UpdateOptions) (*v1alpha1.UpgradeTask, 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.UpgradeTask, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.UpgradeTaskList, 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.UpgradeTask, err error) UpgradeTaskExpansion }
UpgradeTaskInterface has methods to work with UpgradeTask resources.
type UpgradeTasksGetter ¶
type UpgradeTasksGetter interface {
UpgradeTasks(namespace string) UpgradeTaskInterface
}
UpgradeTasksGetter has a method to return a UpgradeTaskInterface. A group's client should implement this interface.