Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ZFSBackupExpansion
- type ZFSBackupInterface
- type ZFSBackupsGetter
- type ZFSNodeExpansion
- type ZFSNodeInterface
- type ZFSNodesGetter
- type ZFSRestoreExpansion
- type ZFSRestoreInterface
- type ZFSRestoresGetter
- type ZFSSnapshotExpansion
- type ZFSSnapshotInterface
- type ZFSSnapshotsGetter
- type ZFSVolumeExpansion
- type ZFSVolumeInterface
- type ZFSVolumesGetter
- type ZfsV1Client
- func (c *ZfsV1Client) RESTClient() rest.Interface
- func (c *ZfsV1Client) ZFSBackups(namespace string) ZFSBackupInterface
- func (c *ZfsV1Client) ZFSNodes(namespace string) ZFSNodeInterface
- func (c *ZfsV1Client) ZFSRestores(namespace string) ZFSRestoreInterface
- func (c *ZfsV1Client) ZFSSnapshots(namespace string) ZFSSnapshotInterface
- func (c *ZfsV1Client) ZFSVolumes(namespace string) ZFSVolumeInterface
- type ZfsV1Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZFSBackupExpansion ¶ added in v1.0.0
type ZFSBackupExpansion interface{}
type ZFSBackupInterface ¶ added in v1.0.0
type ZFSBackupInterface interface { Create(ctx context.Context, zFSBackup *v1.ZFSBackup, opts metav1.CreateOptions) (*v1.ZFSBackup, error) Update(ctx context.Context, zFSBackup *v1.ZFSBackup, opts metav1.UpdateOptions) (*v1.ZFSBackup, error) UpdateStatus(ctx context.Context, zFSBackup *v1.ZFSBackup, opts metav1.UpdateOptions) (*v1.ZFSBackup, 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.ZFSBackup, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ZFSBackupList, 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.ZFSBackup, err error) ZFSBackupExpansion }
ZFSBackupInterface has methods to work with ZFSBackup resources.
type ZFSBackupsGetter ¶ added in v1.0.0
type ZFSBackupsGetter interface {
ZFSBackups(namespace string) ZFSBackupInterface
}
ZFSBackupsGetter has a method to return a ZFSBackupInterface. A group's client should implement this interface.
type ZFSNodeExpansion ¶ added in v1.8.0
type ZFSNodeExpansion interface{}
type ZFSNodeInterface ¶ added in v1.8.0
type ZFSNodeInterface interface { Create(ctx context.Context, zFSNode *v1.ZFSNode, opts metav1.CreateOptions) (*v1.ZFSNode, error) Update(ctx context.Context, zFSNode *v1.ZFSNode, opts metav1.UpdateOptions) (*v1.ZFSNode, 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.ZFSNode, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ZFSNodeList, 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.ZFSNode, err error) ZFSNodeExpansion }
ZFSNodeInterface has methods to work with ZFSNode resources.
type ZFSNodesGetter ¶ added in v1.8.0
type ZFSNodesGetter interface {
ZFSNodes(namespace string) ZFSNodeInterface
}
ZFSNodesGetter has a method to return a ZFSNodeInterface. A group's client should implement this interface.
type ZFSRestoreExpansion ¶ added in v1.0.0
type ZFSRestoreExpansion interface{}
type ZFSRestoreInterface ¶ added in v1.0.0
type ZFSRestoreInterface interface { Create(ctx context.Context, zFSRestore *v1.ZFSRestore, opts metav1.CreateOptions) (*v1.ZFSRestore, error) Update(ctx context.Context, zFSRestore *v1.ZFSRestore, opts metav1.UpdateOptions) (*v1.ZFSRestore, error) UpdateStatus(ctx context.Context, zFSRestore *v1.ZFSRestore, opts metav1.UpdateOptions) (*v1.ZFSRestore, 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.ZFSRestore, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ZFSRestoreList, 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.ZFSRestore, err error) ZFSRestoreExpansion }
ZFSRestoreInterface has methods to work with ZFSRestore resources.
type ZFSRestoresGetter ¶ added in v1.0.0
type ZFSRestoresGetter interface {
ZFSRestores(namespace string) ZFSRestoreInterface
}
ZFSRestoresGetter has a method to return a ZFSRestoreInterface. A group's client should implement this interface.
type ZFSSnapshotExpansion ¶
type ZFSSnapshotExpansion interface{}
type ZFSSnapshotInterface ¶
type ZFSSnapshotInterface interface { Create(ctx context.Context, zFSSnapshot *v1.ZFSSnapshot, opts metav1.CreateOptions) (*v1.ZFSSnapshot, error) Update(ctx context.Context, zFSSnapshot *v1.ZFSSnapshot, opts metav1.UpdateOptions) (*v1.ZFSSnapshot, error) UpdateStatus(ctx context.Context, zFSSnapshot *v1.ZFSSnapshot, opts metav1.UpdateOptions) (*v1.ZFSSnapshot, 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.ZFSSnapshot, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ZFSSnapshotList, 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.ZFSSnapshot, err error) ZFSSnapshotExpansion }
ZFSSnapshotInterface has methods to work with ZFSSnapshot resources.
type ZFSSnapshotsGetter ¶
type ZFSSnapshotsGetter interface {
ZFSSnapshots(namespace string) ZFSSnapshotInterface
}
ZFSSnapshotsGetter has a method to return a ZFSSnapshotInterface. A group's client should implement this interface.
type ZFSVolumeExpansion ¶
type ZFSVolumeExpansion interface{}
type ZFSVolumeInterface ¶
type ZFSVolumeInterface interface { Create(ctx context.Context, zFSVolume *v1.ZFSVolume, opts metav1.CreateOptions) (*v1.ZFSVolume, error) Update(ctx context.Context, zFSVolume *v1.ZFSVolume, opts metav1.UpdateOptions) (*v1.ZFSVolume, error) UpdateStatus(ctx context.Context, zFSVolume *v1.ZFSVolume, opts metav1.UpdateOptions) (*v1.ZFSVolume, 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.ZFSVolume, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ZFSVolumeList, 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.ZFSVolume, err error) ZFSVolumeExpansion }
ZFSVolumeInterface has methods to work with ZFSVolume resources.
type ZFSVolumesGetter ¶
type ZFSVolumesGetter interface {
ZFSVolumes(namespace string) ZFSVolumeInterface
}
ZFSVolumesGetter has a method to return a ZFSVolumeInterface. A group's client should implement this interface.
type ZfsV1Client ¶
type ZfsV1Client struct {
// contains filtered or unexported fields
}
ZfsV1Client is used to interact with features provided by the zfs.openebs.io group.
func New ¶
func New(c rest.Interface) *ZfsV1Client
New creates a new ZfsV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ZfsV1Client, error)
NewForConfig creates a new ZfsV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *ZfsV1Client
NewForConfigOrDie creates a new ZfsV1Client for the given config and panics if there is an error in the config.
func (*ZfsV1Client) RESTClient ¶
func (c *ZfsV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*ZfsV1Client) ZFSBackups ¶ added in v1.0.0
func (c *ZfsV1Client) ZFSBackups(namespace string) ZFSBackupInterface
func (*ZfsV1Client) ZFSNodes ¶ added in v1.8.0
func (c *ZfsV1Client) ZFSNodes(namespace string) ZFSNodeInterface
func (*ZfsV1Client) ZFSRestores ¶ added in v1.0.0
func (c *ZfsV1Client) ZFSRestores(namespace string) ZFSRestoreInterface
func (*ZfsV1Client) ZFSSnapshots ¶
func (c *ZfsV1Client) ZFSSnapshots(namespace string) ZFSSnapshotInterface
func (*ZfsV1Client) ZFSVolumes ¶
func (c *ZfsV1Client) ZFSVolumes(namespace string) ZFSVolumeInterface
type ZfsV1Interface ¶
type ZfsV1Interface interface { RESTClient() rest.Interface ZFSBackupsGetter ZFSNodesGetter ZFSRestoresGetter ZFSSnapshotsGetter ZFSVolumesGetter }