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 LVMNodeExpansion ¶ added in v0.3.0
type LVMNodeExpansion interface{}
type LVMNodeInterface ¶ added in v0.3.0
type LVMNodeInterface interface { Create(ctx context.Context, lVMNode *v1alpha1.LVMNode, opts v1.CreateOptions) (*v1alpha1.LVMNode, error) Update(ctx context.Context, lVMNode *v1alpha1.LVMNode, opts v1.UpdateOptions) (*v1alpha1.LVMNode, 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.LVMNode, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.LVMNodeList, 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.LVMNode, err error) LVMNodeExpansion }
LVMNodeInterface has methods to work with LVMNode resources.
type LVMNodesGetter ¶ added in v0.3.0
type LVMNodesGetter interface {
LVMNodes(namespace string) LVMNodeInterface
}
LVMNodesGetter has a method to return a LVMNodeInterface. A group's client should implement this interface.
type LVMSnapshotExpansion ¶ added in v0.2.0
type LVMSnapshotExpansion interface{}
type LVMSnapshotInterface ¶ added in v0.2.0
type LVMSnapshotInterface interface { Create(ctx context.Context, lVMSnapshot *v1alpha1.LVMSnapshot, opts v1.CreateOptions) (*v1alpha1.LVMSnapshot, error) Update(ctx context.Context, lVMSnapshot *v1alpha1.LVMSnapshot, opts v1.UpdateOptions) (*v1alpha1.LVMSnapshot, error) UpdateStatus(ctx context.Context, lVMSnapshot *v1alpha1.LVMSnapshot, opts v1.UpdateOptions) (*v1alpha1.LVMSnapshot, 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.LVMSnapshot, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.LVMSnapshotList, 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.LVMSnapshot, err error) LVMSnapshotExpansion }
LVMSnapshotInterface has methods to work with LVMSnapshot resources.
type LVMSnapshotsGetter ¶ added in v0.2.0
type LVMSnapshotsGetter interface {
LVMSnapshots(namespace string) LVMSnapshotInterface
}
LVMSnapshotsGetter has a method to return a LVMSnapshotInterface. A group's client should implement this interface.
type LVMVolumeExpansion ¶
type LVMVolumeExpansion interface{}
type LVMVolumeInterface ¶
type LVMVolumeInterface interface { Create(ctx context.Context, lVMVolume *v1alpha1.LVMVolume, opts v1.CreateOptions) (*v1alpha1.LVMVolume, error) Update(ctx context.Context, lVMVolume *v1alpha1.LVMVolume, opts v1.UpdateOptions) (*v1alpha1.LVMVolume, error) UpdateStatus(ctx context.Context, lVMVolume *v1alpha1.LVMVolume, opts v1.UpdateOptions) (*v1alpha1.LVMVolume, 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.LVMVolume, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.LVMVolumeList, 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.LVMVolume, err error) LVMVolumeExpansion }
LVMVolumeInterface has methods to work with LVMVolume resources.
type LVMVolumesGetter ¶
type LVMVolumesGetter interface {
LVMVolumes(namespace string) LVMVolumeInterface
}
LVMVolumesGetter has a method to return a LVMVolumeInterface. A group's client should implement this interface.
type LocalV1alpha1Client ¶
type LocalV1alpha1Client struct {
// contains filtered or unexported fields
}
LocalV1alpha1Client is used to interact with features provided by the local.openebs.io group.
func New ¶
func New(c rest.Interface) *LocalV1alpha1Client
New creates a new LocalV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*LocalV1alpha1Client, error)
NewForConfig creates a new LocalV1alpha1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶ added in v1.1.0
NewForConfigAndClient creates a new LocalV1alpha1Client 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) *LocalV1alpha1Client
NewForConfigOrDie creates a new LocalV1alpha1Client for the given config and panics if there is an error in the config.
func (*LocalV1alpha1Client) LVMNodes ¶ added in v0.3.0
func (c *LocalV1alpha1Client) LVMNodes(namespace string) LVMNodeInterface
func (*LocalV1alpha1Client) LVMSnapshots ¶ added in v0.2.0
func (c *LocalV1alpha1Client) LVMSnapshots(namespace string) LVMSnapshotInterface
func (*LocalV1alpha1Client) LVMVolumes ¶
func (c *LocalV1alpha1Client) LVMVolumes(namespace string) LVMVolumeInterface
func (*LocalV1alpha1Client) RESTClient ¶
func (c *LocalV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type LocalV1alpha1Interface ¶
type LocalV1alpha1Interface interface { RESTClient() rest.Interface LVMNodesGetter LVMSnapshotsGetter LVMVolumesGetter }