v1

package
v3.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 9 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 CStorBackupExpansion

type CStorBackupExpansion interface{}

type CStorBackupInterface

type CStorBackupInterface interface {
	Create(ctx context.Context, cStorBackup *v1.CStorBackup, opts metav1.CreateOptions) (*v1.CStorBackup, error)
	Update(ctx context.Context, cStorBackup *v1.CStorBackup, opts metav1.UpdateOptions) (*v1.CStorBackup, 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.CStorBackup, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.CStorBackupList, 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.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 *v1.CStorCompletedBackup, opts metav1.CreateOptions) (*v1.CStorCompletedBackup, error)
	Update(ctx context.Context, cStorCompletedBackup *v1.CStorCompletedBackup, opts metav1.UpdateOptions) (*v1.CStorCompletedBackup, 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.CStorCompletedBackup, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.CStorCompletedBackupList, 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.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 CStorPoolClusterExpansion

type CStorPoolClusterExpansion interface{}

type CStorPoolClusterInterface

type CStorPoolClusterInterface interface {
	Create(ctx context.Context, cStorPoolCluster *v1.CStorPoolCluster, opts metav1.CreateOptions) (*v1.CStorPoolCluster, error)
	Update(ctx context.Context, cStorPoolCluster *v1.CStorPoolCluster, opts metav1.UpdateOptions) (*v1.CStorPoolCluster, 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.CStorPoolCluster, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.CStorPoolClusterList, 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.CStorPoolCluster, err error)
	CStorPoolClusterExpansion
}

CStorPoolClusterInterface has methods to work with CStorPoolCluster resources.

type CStorPoolClustersGetter

type CStorPoolClustersGetter interface {
	CStorPoolClusters(namespace string) CStorPoolClusterInterface
}

CStorPoolClustersGetter has a method to return a CStorPoolClusterInterface. A group's client should implement this interface.

type CStorPoolInstanceExpansion

type CStorPoolInstanceExpansion interface{}

type CStorPoolInstanceInterface

type CStorPoolInstanceInterface interface {
	Create(ctx context.Context, cStorPoolInstance *v1.CStorPoolInstance, opts metav1.CreateOptions) (*v1.CStorPoolInstance, error)
	Update(ctx context.Context, cStorPoolInstance *v1.CStorPoolInstance, opts metav1.UpdateOptions) (*v1.CStorPoolInstance, 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.CStorPoolInstance, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.CStorPoolInstanceList, 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.CStorPoolInstance, err error)
	CStorPoolInstanceExpansion
}

CStorPoolInstanceInterface has methods to work with CStorPoolInstance resources.

type CStorPoolInstancesGetter

type CStorPoolInstancesGetter interface {
	CStorPoolInstances(namespace string) CStorPoolInstanceInterface
}

CStorPoolInstancesGetter has a method to return a CStorPoolInstanceInterface. A group's client should implement this interface.

type CStorRestoreExpansion

type CStorRestoreExpansion interface{}

type CStorRestoreInterface

type CStorRestoreInterface interface {
	Create(ctx context.Context, cStorRestore *v1.CStorRestore, opts metav1.CreateOptions) (*v1.CStorRestore, error)
	Update(ctx context.Context, cStorRestore *v1.CStorRestore, opts metav1.UpdateOptions) (*v1.CStorRestore, 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.CStorRestore, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.CStorRestoreList, 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.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 CStorVolumeAttachmentExpansion

type CStorVolumeAttachmentExpansion interface{}

type CStorVolumeAttachmentInterface

type CStorVolumeAttachmentInterface interface {
	Create(ctx context.Context, cStorVolumeAttachment *v1.CStorVolumeAttachment, opts metav1.CreateOptions) (*v1.CStorVolumeAttachment, error)
	Update(ctx context.Context, cStorVolumeAttachment *v1.CStorVolumeAttachment, opts metav1.UpdateOptions) (*v1.CStorVolumeAttachment, error)
	UpdateStatus(ctx context.Context, cStorVolumeAttachment *v1.CStorVolumeAttachment, opts metav1.UpdateOptions) (*v1.CStorVolumeAttachment, 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.CStorVolumeAttachment, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.CStorVolumeAttachmentList, 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.CStorVolumeAttachment, err error)
	CStorVolumeAttachmentExpansion
}

CStorVolumeAttachmentInterface has methods to work with CStorVolumeAttachment resources.

type CStorVolumeAttachmentsGetter

type CStorVolumeAttachmentsGetter interface {
	CStorVolumeAttachments(namespace string) CStorVolumeAttachmentInterface
}

CStorVolumeAttachmentsGetter has a method to return a CStorVolumeAttachmentInterface. A group's client should implement this interface.

type CStorVolumeConfigExpansion

type CStorVolumeConfigExpansion interface{}

type CStorVolumeConfigInterface

type CStorVolumeConfigInterface interface {
	Create(ctx context.Context, cStorVolumeConfig *v1.CStorVolumeConfig, opts metav1.CreateOptions) (*v1.CStorVolumeConfig, error)
	Update(ctx context.Context, cStorVolumeConfig *v1.CStorVolumeConfig, opts metav1.UpdateOptions) (*v1.CStorVolumeConfig, error)
	UpdateStatus(ctx context.Context, cStorVolumeConfig *v1.CStorVolumeConfig, opts metav1.UpdateOptions) (*v1.CStorVolumeConfig, 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.CStorVolumeConfig, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.CStorVolumeConfigList, 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.CStorVolumeConfig, err error)
	CStorVolumeConfigExpansion
}

CStorVolumeConfigInterface has methods to work with CStorVolumeConfig resources.

type CStorVolumeConfigsGetter

type CStorVolumeConfigsGetter interface {
	CStorVolumeConfigs(namespace string) CStorVolumeConfigInterface
}

CStorVolumeConfigsGetter has a method to return a CStorVolumeConfigInterface. A group's client should implement this interface.

type CStorVolumeExpansion

type CStorVolumeExpansion interface{}

type CStorVolumeInterface

type CStorVolumeInterface interface {
	Create(ctx context.Context, cStorVolume *v1.CStorVolume, opts metav1.CreateOptions) (*v1.CStorVolume, error)
	Update(ctx context.Context, cStorVolume *v1.CStorVolume, opts metav1.UpdateOptions) (*v1.CStorVolume, error)
	UpdateStatus(ctx context.Context, cStorVolume *v1.CStorVolume, opts metav1.UpdateOptions) (*v1.CStorVolume, 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.CStorVolume, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.CStorVolumeList, 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.CStorVolume, err error)
	CStorVolumeExpansion
}

CStorVolumeInterface has methods to work with CStorVolume resources.

type CStorVolumePoliciesGetter

type CStorVolumePoliciesGetter interface {
	CStorVolumePolicies(namespace string) CStorVolumePolicyInterface
}

CStorVolumePoliciesGetter has a method to return a CStorVolumePolicyInterface. A group's client should implement this interface.

type CStorVolumePolicyExpansion

type CStorVolumePolicyExpansion interface{}

type CStorVolumePolicyInterface

type CStorVolumePolicyInterface interface {
	Create(ctx context.Context, cStorVolumePolicy *v1.CStorVolumePolicy, opts metav1.CreateOptions) (*v1.CStorVolumePolicy, error)
	Update(ctx context.Context, cStorVolumePolicy *v1.CStorVolumePolicy, opts metav1.UpdateOptions) (*v1.CStorVolumePolicy, error)
	UpdateStatus(ctx context.Context, cStorVolumePolicy *v1.CStorVolumePolicy, opts metav1.UpdateOptions) (*v1.CStorVolumePolicy, 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.CStorVolumePolicy, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.CStorVolumePolicyList, 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.CStorVolumePolicy, err error)
	CStorVolumePolicyExpansion
}

CStorVolumePolicyInterface has methods to work with CStorVolumePolicy resources.

type CStorVolumeReplicaExpansion

type CStorVolumeReplicaExpansion interface{}

type CStorVolumeReplicaInterface

type CStorVolumeReplicaInterface interface {
	Create(ctx context.Context, cStorVolumeReplica *v1.CStorVolumeReplica, opts metav1.CreateOptions) (*v1.CStorVolumeReplica, error)
	Update(ctx context.Context, cStorVolumeReplica *v1.CStorVolumeReplica, opts metav1.UpdateOptions) (*v1.CStorVolumeReplica, 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.CStorVolumeReplica, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.CStorVolumeReplicaList, 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.CStorVolumeReplica, err error)
	CStorVolumeReplicaExpansion
}

CStorVolumeReplicaInterface has methods to work with CStorVolumeReplica resources.

type CStorVolumeReplicasGetter

type CStorVolumeReplicasGetter interface {
	CStorVolumeReplicas(namespace string) CStorVolumeReplicaInterface
}

CStorVolumeReplicasGetter has a method to return a CStorVolumeReplicaInterface. A group's client should implement this interface.

type CStorVolumesGetter

type CStorVolumesGetter interface {
	CStorVolumes(namespace string) CStorVolumeInterface
}

CStorVolumesGetter has a method to return a CStorVolumeInterface. A group's client should implement this interface.

type CstorV1Client

type CstorV1Client struct {
	// contains filtered or unexported fields
}

CstorV1Client is used to interact with features provided by the cstor.openebs.io group.

func New

New creates a new CstorV1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*CstorV1Client, error)

NewForConfig creates a new CstorV1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*CstorV1Client, error)

NewForConfigAndClient creates a new CstorV1Client 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) *CstorV1Client

NewForConfigOrDie creates a new CstorV1Client for the given config and panics if there is an error in the config.

func (*CstorV1Client) CStorBackups

func (c *CstorV1Client) CStorBackups(namespace string) CStorBackupInterface

func (*CstorV1Client) CStorCompletedBackups

func (c *CstorV1Client) CStorCompletedBackups(namespace string) CStorCompletedBackupInterface

func (*CstorV1Client) CStorPoolClusters

func (c *CstorV1Client) CStorPoolClusters(namespace string) CStorPoolClusterInterface

func (*CstorV1Client) CStorPoolInstances

func (c *CstorV1Client) CStorPoolInstances(namespace string) CStorPoolInstanceInterface

func (*CstorV1Client) CStorRestores

func (c *CstorV1Client) CStorRestores(namespace string) CStorRestoreInterface

func (*CstorV1Client) CStorVolumeAttachments

func (c *CstorV1Client) CStorVolumeAttachments(namespace string) CStorVolumeAttachmentInterface

func (*CstorV1Client) CStorVolumeConfigs

func (c *CstorV1Client) CStorVolumeConfigs(namespace string) CStorVolumeConfigInterface

func (*CstorV1Client) CStorVolumePolicies

func (c *CstorV1Client) CStorVolumePolicies(namespace string) CStorVolumePolicyInterface

func (*CstorV1Client) CStorVolumeReplicas

func (c *CstorV1Client) CStorVolumeReplicas(namespace string) CStorVolumeReplicaInterface

func (*CstorV1Client) CStorVolumes

func (c *CstorV1Client) CStorVolumes(namespace string) CStorVolumeInterface

func (*CstorV1Client) RESTClient

func (c *CstorV1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

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