v1

package
v1.5.0-RC2 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 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 ZFSBackupExpansion added in v1.0.0

type ZFSBackupExpansion interface{}

type ZFSBackupInterface added in v1.0.0

type ZFSBackupInterface interface {
	Create(*v1.ZFSBackup) (*v1.ZFSBackup, error)
	Update(*v1.ZFSBackup) (*v1.ZFSBackup, error)
	UpdateStatus(*v1.ZFSBackup) (*v1.ZFSBackup, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.ZFSBackup, error)
	List(opts metav1.ListOptions) (*v1.ZFSBackupList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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 ZFSRestoreExpansion added in v1.0.0

type ZFSRestoreExpansion interface{}

type ZFSRestoreInterface added in v1.0.0

type ZFSRestoreInterface interface {
	Create(*v1.ZFSRestore) (*v1.ZFSRestore, error)
	Update(*v1.ZFSRestore) (*v1.ZFSRestore, error)
	UpdateStatus(*v1.ZFSRestore) (*v1.ZFSRestore, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.ZFSRestore, error)
	List(opts metav1.ListOptions) (*v1.ZFSRestoreList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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(*v1.ZFSSnapshot) (*v1.ZFSSnapshot, error)
	Update(*v1.ZFSSnapshot) (*v1.ZFSSnapshot, error)
	UpdateStatus(*v1.ZFSSnapshot) (*v1.ZFSSnapshot, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.ZFSSnapshot, error)
	List(opts metav1.ListOptions) (*v1.ZFSSnapshotList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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(*v1.ZFSVolume) (*v1.ZFSVolume, error)
	Update(*v1.ZFSVolume) (*v1.ZFSVolume, error)
	UpdateStatus(*v1.ZFSVolume) (*v1.ZFSVolume, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.ZFSVolume, error)
	List(opts metav1.ListOptions) (*v1.ZFSVolumeList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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) 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

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