fakeclients

package
v1.3.1-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 49 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddonCache added in v1.1.2

type AddonCache func(string) harv1type.AddonInterface

func (AddonCache) AddIndexer added in v1.1.2

func (c AddonCache) AddIndexer(_ string, _ ctlharvesterv1.AddonIndexer)

func (AddonCache) Get added in v1.1.2

func (c AddonCache) Get(namespace, name string) (*harvesterv1.Addon, error)

func (AddonCache) GetByIndex added in v1.1.2

func (c AddonCache) GetByIndex(_, _ string) ([]*harvesterv1.Addon, error)

func (AddonCache) List added in v1.1.2

func (c AddonCache) List(namespace string, selector labels.Selector) ([]*harvesterv1.Addon, error)

type AppCache added in v1.2.0

type AppCache func(string) catalogv1type.AppInterface

func (AppCache) AddIndexer added in v1.2.0

func (c AppCache) AddIndexer(_ string, _ ctlcatalogv1.AppIndexer)

func (AppCache) Get added in v1.2.0

func (c AppCache) Get(namespace, name string) (*catalogv1.App, error)

func (AppCache) GetByIndex added in v1.2.0

func (c AppCache) GetByIndex(_, _ string) ([]*catalogv1.App, error)

func (AppCache) List added in v1.2.0

func (c AppCache) List(_ string, _ labels.Selector) ([]*catalogv1.App, error)

type AppClient added in v1.2.2

type AppClient func(string) catalogv1type.AppInterface

func (AppClient) Create added in v1.2.2

func (c AppClient) Create(app *catalogv1.App) (*catalogv1.App, error)

func (AppClient) Delete added in v1.2.2

func (c AppClient) Delete(_, _ string, _ *metav1.DeleteOptions) error

func (AppClient) Get added in v1.2.2

func (c AppClient) Get(namespace, name string, options metav1.GetOptions) (*catalogv1.App, error)

func (AppClient) List added in v1.2.2

func (AppClient) Patch added in v1.2.2

func (c AppClient) Patch(_, _ string, _ types.PatchType, _ []byte, _ ...string) (result *catalogv1.App, err error)

func (AppClient) Update added in v1.2.2

func (c AppClient) Update(app *catalogv1.App) (*catalogv1.App, error)

func (AppClient) UpdateStatus added in v1.2.2

func (c AppClient) UpdateStatus(*catalogv1.App) (*catalogv1.App, error)

func (AppClient) Watch added in v1.2.2

type ClusterFlowCache added in v1.1.2

type ClusterFlowCache func() loggingv1type.ClusterFlowInterface

func (ClusterFlowCache) AddIndexer added in v1.1.2

func (ClusterFlowCache) Get added in v1.1.2

func (ClusterFlowCache) GetByIndex added in v1.1.2

func (c ClusterFlowCache) GetByIndex(_, _ string) ([]*loggingv1.ClusterFlow, error)

func (ClusterFlowCache) List added in v1.1.2

type ClusterFlowClient added in v1.1.2

type ClusterFlowClient func() loggingv1type.ClusterFlowInterface

func (ClusterFlowClient) Create added in v1.1.2

func (ClusterFlowClient) Delete added in v1.1.2

func (c ClusterFlowClient) Delete(_, name string, options *metav1.DeleteOptions) error

func (ClusterFlowClient) Get added in v1.1.2

func (c ClusterFlowClient) Get(_, name string, options metav1.GetOptions) (*loggingv1.ClusterFlow, error)

func (ClusterFlowClient) List added in v1.1.2

func (ClusterFlowClient) Patch added in v1.1.2

func (c ClusterFlowClient) Patch(_, _ string, _ types.PatchType, _ []byte, _ ...string) (result *loggingv1.ClusterFlow, err error)

func (ClusterFlowClient) Update added in v1.1.2

func (ClusterFlowClient) UpdateStatus added in v1.1.2

func (ClusterFlowClient) Watch added in v1.1.2

type ClusterOutputCache added in v1.1.2

type ClusterOutputCache func() loggingv1type.ClusterOutputInterface

func (ClusterOutputCache) AddIndexer added in v1.1.2

func (ClusterOutputCache) Get added in v1.1.2

func (ClusterOutputCache) GetByIndex added in v1.1.2

func (c ClusterOutputCache) GetByIndex(_, _ string) ([]*loggingv1.ClusterOutput, error)

func (ClusterOutputCache) List added in v1.1.2

type ClusterOutputClient added in v1.1.2

type ClusterOutputClient func() loggingv1type.ClusterOutputInterface

func (ClusterOutputClient) Create added in v1.1.2

func (ClusterOutputClient) Delete added in v1.1.2

func (c ClusterOutputClient) Delete(_, name string, options *metav1.DeleteOptions) error

func (ClusterOutputClient) Get added in v1.1.2

func (ClusterOutputClient) List added in v1.1.2

func (ClusterOutputClient) Patch added in v1.1.2

func (ClusterOutputClient) Update added in v1.1.2

func (ClusterOutputClient) UpdateStatus added in v1.1.2

func (ClusterOutputClient) Watch added in v1.1.2

type ConfigmapCache added in v1.0.0

type ConfigmapCache func(namespace string) corev1type.ConfigMapInterface

func (ConfigmapCache) AddIndexer added in v1.0.0

func (c ConfigmapCache) AddIndexer(_ string, _ ctlcorev1.ConfigMapIndexer)

func (ConfigmapCache) Get added in v1.0.0

func (c ConfigmapCache) Get(namespace, name string) (*v1.ConfigMap, error)

func (ConfigmapCache) GetByIndex added in v1.0.0

func (c ConfigmapCache) GetByIndex(_, _ string) ([]*v1.ConfigMap, error)

func (ConfigmapCache) List added in v1.0.0

func (c ConfigmapCache) List(namespace string, selector labels.Selector) ([]*v1.ConfigMap, error)

type ConfigmapClient added in v1.0.0

type ConfigmapClient func(namespace string) corev1type.ConfigMapInterface

func (ConfigmapClient) Create added in v1.0.0

func (c ConfigmapClient) Create(configMap *v1.ConfigMap) (*v1.ConfigMap, error)

func (ConfigmapClient) Delete added in v1.0.0

func (c ConfigmapClient) Delete(_, _ string, _ *metav1.DeleteOptions) error

func (ConfigmapClient) Get added in v1.0.0

func (c ConfigmapClient) Get(namespace, name string, opts metav1.GetOptions) (*v1.ConfigMap, error)

func (ConfigmapClient) List added in v1.0.0

func (c ConfigmapClient) List(namespace string, opts metav1.ListOptions) (*v1.ConfigMapList, error)

func (ConfigmapClient) Patch added in v1.0.0

func (c ConfigmapClient) Patch(_, _ string, _ types.PatchType, _ []byte, _ ...string) (result *v1.ConfigMap, err error)

func (ConfigmapClient) Update added in v1.0.0

func (c ConfigmapClient) Update(configMap *v1.ConfigMap) (*v1.ConfigMap, error)

func (ConfigmapClient) Watch added in v1.0.0

type ControllerRevisionCache added in v1.2.2

type ControllerRevisionCache func(string) appsv1.ControllerRevisionInterface

func (ControllerRevisionCache) AddIndexer added in v1.2.2

func (ControllerRevisionCache) Get added in v1.2.2

func (ControllerRevisionCache) GetByIndex added in v1.2.2

func (ControllerRevisionCache) List added in v1.2.2

type ControllerRevisionClient added in v1.2.2

type ControllerRevisionClient func(string) appsv1.ControllerRevisionInterface

func (ControllerRevisionClient) Create added in v1.2.2

func (ControllerRevisionClient) Delete added in v1.2.2

func (c ControllerRevisionClient) Delete(namespace, name string, _ *metav1.DeleteOptions) error

func (ControllerRevisionClient) Get added in v1.2.2

func (ControllerRevisionClient) List added in v1.2.2

func (ControllerRevisionClient) Patch added in v1.2.2

func (c ControllerRevisionClient) Patch(_, _ string, _ types.PatchType, _ []byte, _ ...string) (result *k8sappsv1.ControllerRevision, err error)

func (ControllerRevisionClient) Update added in v1.2.2

func (ControllerRevisionClient) UpdateStatus added in v1.2.2

func (ControllerRevisionClient) Watch added in v1.2.2

type DeploymentClient added in v1.1.2

type DeploymentClient func(string) appsv1type.DeploymentInterface

func (DeploymentClient) Create added in v1.1.2

func (c DeploymentClient) Create(deployment *appsv1.Deployment) (*appsv1.Deployment, error)

func (DeploymentClient) Delete added in v1.1.2

func (c DeploymentClient) Delete(_, _ string, _ *metav1.DeleteOptions) error

func (DeploymentClient) Get added in v1.1.2

func (c DeploymentClient) Get(namespace, name string, options metav1.GetOptions) (*appsv1.Deployment, error)

func (DeploymentClient) List added in v1.1.2

func (DeploymentClient) Patch added in v1.1.2

func (c DeploymentClient) Patch(_, _ string, _ types.PatchType, _ []byte, _ ...string) (result *appsv1.Deployment, err error)

func (DeploymentClient) Update added in v1.1.2

func (c DeploymentClient) Update(deployment *appsv1.Deployment) (*appsv1.Deployment, error)

func (DeploymentClient) UpdateStatus added in v1.1.2

func (DeploymentClient) Watch added in v1.1.2

type HarvesterSettingCache added in v1.0.0

type HarvesterSettingCache func() harvestertype.SettingInterface

func (HarvesterSettingCache) AddIndexer added in v1.0.0

func (HarvesterSettingCache) Get added in v1.0.0

func (HarvesterSettingCache) GetByIndex added in v1.0.0

func (c HarvesterSettingCache) GetByIndex(_, _ string) ([]*v1beta1.Setting, error)

func (HarvesterSettingCache) List added in v1.0.0

type HarvesterSettingClient added in v1.0.0

type HarvesterSettingClient func() harvestertype.SettingInterface

func (HarvesterSettingClient) Create added in v1.0.0

func (HarvesterSettingClient) Delete added in v1.0.0

func (c HarvesterSettingClient) Delete(name string, options *metav1.DeleteOptions) error

func (HarvesterSettingClient) Get added in v1.0.0

func (HarvesterSettingClient) List added in v1.0.0

func (HarvesterSettingClient) Patch added in v1.0.0

func (c HarvesterSettingClient) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Setting, err error)

func (HarvesterSettingClient) Update added in v1.0.0

func (HarvesterSettingClient) UpdateStatus added in v1.0.0

func (c HarvesterSettingClient) UpdateStatus(_ *v1beta1.Setting) (*v1beta1.Setting, error)

func (HarvesterSettingClient) Watch added in v1.0.0

type JobClient

type JobClient func(string) batchv1type.JobInterface

func (JobClient) Create

func (c JobClient) Create(*batchv1.Job) (*batchv1.Job, error)

func (JobClient) Delete

func (c JobClient) Delete(_, _ string, _ *metav1.DeleteOptions) error

func (JobClient) Get

func (c JobClient) Get(_, _ string, _ metav1.GetOptions) (*batchv1.Job, error)

func (JobClient) List

func (c JobClient) List(_ string, _ metav1.ListOptions) (*batchv1.Job, error)

func (JobClient) Patch

func (c JobClient) Patch(_, _ string, _ types.PatchType, _ []byte, _ ...string) (result *batchv1.Job, err error)

func (JobClient) Update

func (c JobClient) Update(job *batchv1.Job) (*batchv1.Job, error)

func (JobClient) UpdateStatus

func (c JobClient) UpdateStatus(*batchv1.Job) (*batchv1.Job, error)

func (JobClient) Watch

type LoggingCache added in v1.1.2

type LoggingCache func() loggingv1type.LoggingInterface

func (LoggingCache) AddIndexer added in v1.1.2

func (c LoggingCache) AddIndexer(_ string, _ ctlloggingv1.LoggingIndexer)

func (LoggingCache) Get added in v1.1.2

func (c LoggingCache) Get(name string) (*loggingv1.Logging, error)

func (LoggingCache) GetByIndex added in v1.1.2

func (c LoggingCache) GetByIndex(_, _ string) ([]*loggingv1.Logging, error)

func (LoggingCache) List added in v1.1.2

type LoggingClient added in v1.1.2

type LoggingClient func() loggingv1type.LoggingInterface

func (LoggingClient) Create added in v1.1.2

func (c LoggingClient) Create(logging *loggingv1.Logging) (*loggingv1.Logging, error)

func (LoggingClient) Delete added in v1.1.2

func (c LoggingClient) Delete(name string, options *metav1.DeleteOptions) error

func (LoggingClient) Get added in v1.1.2

func (c LoggingClient) Get(name string, options metav1.GetOptions) (*loggingv1.Logging, error)

func (LoggingClient) List added in v1.1.2

func (LoggingClient) Patch added in v1.1.2

func (c LoggingClient) Patch(_ string, _ types.PatchType, _ []byte, _ ...string) (result *loggingv1.Logging, err error)

func (LoggingClient) Update added in v1.1.2

func (LoggingClient) UpdateStatus added in v1.1.2

func (c LoggingClient) UpdateStatus(_ *loggingv1.Logging) (*loggingv1.Logging, error)

func (LoggingClient) Watch added in v1.1.2

type LonghornReplicaCache added in v1.1.2

type LonghornReplicaCache func(string) lhtype.ReplicaInterface

func (LonghornReplicaCache) AddIndexer added in v1.1.2

func (LonghornReplicaCache) Get added in v1.1.2

func (c LonghornReplicaCache) Get(namespace, name string) (*lhv1beta2.Replica, error)

func (LonghornReplicaCache) GetByIndex added in v1.1.2

func (c LonghornReplicaCache) GetByIndex(_, _ string) ([]*lhv1beta2.Replica, error)

func (LonghornReplicaCache) List added in v1.1.2

func (c LonghornReplicaCache) List(namespace string, selector labels.Selector) ([]*lhv1beta2.Replica, error)

type LonghornReplicaClient added in v1.1.2

type LonghornReplicaClient func(string) lhtype.ReplicaInterface

func (LonghornReplicaClient) Create added in v1.1.2

func (LonghornReplicaClient) Delete added in v1.1.2

func (c LonghornReplicaClient) Delete(namespace, name string, options *metav1.DeleteOptions) error

func (LonghornReplicaClient) Get added in v1.1.2

func (c LonghornReplicaClient) Get(namespace, name string, options metav1.GetOptions) (*lhv1beta2.Replica, error)

func (LonghornReplicaClient) List added in v1.1.2

func (LonghornReplicaClient) Patch added in v1.1.2

func (c LonghornReplicaClient) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *lhv1beta2.Replica, err error)

func (LonghornReplicaClient) Update added in v1.1.2

func (LonghornReplicaClient) UpdateStatus added in v1.1.2

func (LonghornReplicaClient) Watch added in v1.1.2

func (c LonghornReplicaClient) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)

type LonghornSettingCache added in v1.0.0

type LonghornSettingCache func(string) lhtype.SettingInterface

func (LonghornSettingCache) AddIndexer added in v1.0.0

func (LonghornSettingCache) Get added in v1.0.0

func (c LonghornSettingCache) Get(namespace, name string) (*lhv1beta2.Setting, error)

func (LonghornSettingCache) GetByIndex added in v1.0.0

func (c LonghornSettingCache) GetByIndex(_, _ string) ([]*lhv1beta2.Setting, error)

func (LonghornSettingCache) List added in v1.0.0

type LonghornSettingClient added in v1.0.0

type LonghornSettingClient func(string) lhtype.SettingInterface

func (LonghornSettingClient) Create added in v1.0.0

func (LonghornSettingClient) Delete added in v1.0.0

func (c LonghornSettingClient) Delete(namespace, name string, options *metav1.DeleteOptions) error

func (LonghornSettingClient) Get added in v1.0.0

func (c LonghornSettingClient) Get(namespace, name string, options metav1.GetOptions) (*lhv1beta2.Setting, error)

func (LonghornSettingClient) List added in v1.0.0

func (LonghornSettingClient) Patch added in v1.0.0

func (c LonghornSettingClient) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *lhv1beta2.Setting, err error)

func (LonghornSettingClient) Update added in v1.0.0

func (LonghornSettingClient) UpdateStatus added in v1.0.0

func (LonghornSettingClient) Watch added in v1.0.0

func (c LonghornSettingClient) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)

type LonghornVolumeCache added in v1.1.2

type LonghornVolumeCache func(string) longhornv1beta2.VolumeInterface

func (LonghornVolumeCache) AddIndexer added in v1.1.2

func (c LonghornVolumeCache) AddIndexer(_ string, _ ctllhv1.VolumeIndexer)

func (LonghornVolumeCache) Get added in v1.1.2

func (c LonghornVolumeCache) Get(namespace, name string) (*lhv1beta2.Volume, error)

func (LonghornVolumeCache) GetByIndex added in v1.1.2

func (c LonghornVolumeCache) GetByIndex(_, _ string) ([]*lhv1beta2.Volume, error)

func (LonghornVolumeCache) List added in v1.1.2

func (c LonghornVolumeCache) List(namespace string, selector labels.Selector) ([]*lhv1beta2.Volume, error)

type LonghornVolumeClient added in v1.1.2

type LonghornVolumeClient func(string) longhornv1beta2.VolumeInterface

func (LonghornVolumeClient) Create added in v1.1.2

func (LonghornVolumeClient) Delete added in v1.1.2

func (c LonghornVolumeClient) Delete(namespace, name string, options *metav1.DeleteOptions) error

func (LonghornVolumeClient) Get added in v1.1.2

func (c LonghornVolumeClient) Get(namespace, name string, options metav1.GetOptions) (*lhv1beta2.Volume, error)

func (LonghornVolumeClient) List added in v1.1.2

func (LonghornVolumeClient) Patch added in v1.1.2

func (c LonghornVolumeClient) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *lhv1beta2.Volume, err error)

func (LonghornVolumeClient) Update added in v1.1.2

func (LonghornVolumeClient) UpdateStatus added in v1.1.2

func (LonghornVolumeClient) Watch added in v1.1.2

func (c LonghornVolumeClient) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)

type ManagedChartCache added in v1.1.2

type ManagedChartCache func(string) mgmtv3type.ManagedChartInterface

func (ManagedChartCache) AddIndexer added in v1.1.2

func (ManagedChartCache) Get added in v1.1.2

func (c ManagedChartCache) Get(namespace, name string) (*mgmtv3.ManagedChart, error)

func (ManagedChartCache) GetByIndex added in v1.1.2

func (c ManagedChartCache) GetByIndex(_, _ string) ([]*mgmtv3.ManagedChart, error)

func (ManagedChartCache) List added in v1.1.2

func (c ManagedChartCache) List(namespace string, selector labels.Selector) ([]*mgmtv3.ManagedChart, error)

type ManagedChartClient added in v1.1.2

type ManagedChartClient func(string) mgmtv3type.ManagedChartInterface

func (ManagedChartClient) Create added in v1.1.2

func (c ManagedChartClient) Create(managedChart *mgmtv3.ManagedChart) (*mgmtv3.ManagedChart, error)

func (ManagedChartClient) Delete added in v1.1.2

func (c ManagedChartClient) Delete(namespace, name string, options *metav1.DeleteOptions) error

func (ManagedChartClient) Get added in v1.1.2

func (c ManagedChartClient) Get(namespace, name string, options metav1.GetOptions) (*mgmtv3.ManagedChart, error)

func (ManagedChartClient) List added in v1.1.2

func (ManagedChartClient) Patch added in v1.1.2

func (c ManagedChartClient) Patch(_, _ string, _ types.PatchType, _ []byte, _ ...string) (result *mgmtv3.ManagedChart, err error)

func (ManagedChartClient) Update added in v1.1.2

func (c ManagedChartClient) Update(managedChart *mgmtv3.ManagedChart) (*mgmtv3.ManagedChart, error)

func (ManagedChartClient) UpdateStatus added in v1.1.2

func (ManagedChartClient) Watch added in v1.1.2

type NamespaceCache added in v1.2.0

type NamespaceCache func() corev1type.NamespaceInterface

func (NamespaceCache) AddIndexer added in v1.2.0

func (c NamespaceCache) AddIndexer(_ string, _ ctlcorev1.NamespaceIndexer)

func (NamespaceCache) Get added in v1.2.0

func (c NamespaceCache) Get(name string) (*v1.Namespace, error)

func (NamespaceCache) GetByIndex added in v1.2.0

func (c NamespaceCache) GetByIndex(_, _ string) ([]*v1.Namespace, error)

func (NamespaceCache) List added in v1.2.0

func (c NamespaceCache) List(selector labels.Selector) ([]*v1.Namespace, error)

type NamespaceClient added in v1.2.0

type NamespaceClient func() corev1type.NamespaceInterface

func (NamespaceClient) Create added in v1.2.0

func (c NamespaceClient) Create(namespace *v1.Namespace) (*v1.Namespace, error)

func (NamespaceClient) Delete added in v1.2.0

func (NamespaceClient) Get added in v1.2.0

func (c NamespaceClient) Get(name string, options metav1.GetOptions) (*v1.Namespace, error)

func (NamespaceClient) List added in v1.2.0

func (NamespaceClient) Patch added in v1.2.0

func (c NamespaceClient) Patch(_ string, _ types.PatchType, _ []byte, _ ...string) (result *v1.Namespace, err error)

func (NamespaceClient) Update added in v1.2.0

func (c NamespaceClient) Update(namespace *v1.Namespace) (*v1.Namespace, error)

func (NamespaceClient) UpdateStatus added in v1.2.0

func (c NamespaceClient) UpdateStatus(*v1.Namespace) (*v1.Namespace, error)

func (NamespaceClient) Watch added in v1.2.0

type NetworkAttachmentDefinitionCache added in v1.1.0

type NetworkAttachmentDefinitionCache func(namespace string) cnitype.NetworkAttachmentDefinitionInterface

func (NetworkAttachmentDefinitionCache) AddIndexer added in v1.1.0

func (NetworkAttachmentDefinitionCache) Get added in v1.1.0

func (NetworkAttachmentDefinitionCache) GetByIndex added in v1.1.0

func (NetworkAttachmentDefinitionCache) List added in v1.1.0

type NodeCache

type NodeCache func() corev1type.NodeInterface

func (NodeCache) AddIndexer

func (c NodeCache) AddIndexer(_ string, _ ctlcorev1.NodeIndexer)

func (NodeCache) Get

func (c NodeCache) Get(name string) (*v1.Node, error)

func (NodeCache) GetByIndex

func (c NodeCache) GetByIndex(_, _ string) ([]*v1.Node, error)

func (NodeCache) List

func (c NodeCache) List(selector labels.Selector) ([]*v1.Node, error)

type NodeClient added in v1.1.2

type NodeClient func() corev1type.NodeInterface

func (NodeClient) Create added in v1.1.2

func (c NodeClient) Create(node *v1.Node) (*v1.Node, error)

func (NodeClient) Delete added in v1.1.2

func (c NodeClient) Delete(_ string, _ *metav1.DeleteOptions) error

func (NodeClient) Get added in v1.1.2

func (c NodeClient) Get(name string, options metav1.GetOptions) (*v1.Node, error)

func (NodeClient) List added in v1.1.2

func (NodeClient) Patch added in v1.1.2

func (c NodeClient) Patch(_ string, _ types.PatchType, _ []byte, _ ...string) (result *v1.Node, err error)

func (NodeClient) Update added in v1.1.2

func (c NodeClient) Update(node *v1.Node) (*v1.Node, error)

func (NodeClient) UpdateStatus added in v1.1.2

func (c NodeClient) UpdateStatus(*v1.Node) (*v1.Node, error)

func (NodeClient) Watch added in v1.1.2

type PersistentVolumeClaimCache added in v0.3.0

type PersistentVolumeClaimCache func(string) v1.PersistentVolumeClaimInterface

func (PersistentVolumeClaimCache) AddIndexer added in v0.3.0

func (PersistentVolumeClaimCache) Get added in v0.3.0

func (PersistentVolumeClaimCache) GetByIndex added in v0.3.0

func (c PersistentVolumeClaimCache) GetByIndex(indexName, key string) ([]*corev1.PersistentVolumeClaim, error)

func (PersistentVolumeClaimCache) List added in v0.3.0

type PersistentVolumeClaimClient added in v0.3.0

type PersistentVolumeClaimClient func(string) v1.PersistentVolumeClaimInterface

func (PersistentVolumeClaimClient) Create added in v0.3.0

func (PersistentVolumeClaimClient) Delete added in v0.3.0

func (c PersistentVolumeClaimClient) Delete(namespace, name string, options *metav1.DeleteOptions) error

func (PersistentVolumeClaimClient) Get added in v0.3.0

func (PersistentVolumeClaimClient) List added in v0.3.0

func (PersistentVolumeClaimClient) Patch added in v0.3.0

func (c PersistentVolumeClaimClient) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *corev1.PersistentVolumeClaim, err error)

func (PersistentVolumeClaimClient) Update added in v0.3.0

func (PersistentVolumeClaimClient) UpdateStatus added in v0.3.0

func (PersistentVolumeClaimClient) Watch added in v0.3.0

type PlanCache

type PlanCache func(string) upgradev1.PlanInterface

func (PlanCache) AddIndexer

func (c PlanCache) AddIndexer(_ string, _ upgradectlv1.PlanIndexer)

func (PlanCache) Get

func (c PlanCache) Get(namespace, name string) (*upgradeapiv1.Plan, error)

func (PlanCache) GetByIndex

func (c PlanCache) GetByIndex(_, _ string) ([]*upgradeapiv1.Plan, error)

func (PlanCache) List

func (c PlanCache) List(_ string, _ labels.Selector) ([]*upgradeapiv1.Plan, error)

type PlanClient

type PlanClient func(string) upgradev1.PlanInterface

func (PlanClient) Create

func (c PlanClient) Create(plan *upgradeapiv1.Plan) (*upgradeapiv1.Plan, error)

func (PlanClient) Delete

func (c PlanClient) Delete(_, _ string, _ *metav1.DeleteOptions) error

func (PlanClient) Get

func (c PlanClient) Get(namespace, name string, options metav1.GetOptions) (*upgradeapiv1.Plan, error)

func (PlanClient) List

func (PlanClient) Patch

func (c PlanClient) Patch(_, _ string, _ types.PatchType, _ []byte, _ ...string) (result *upgradeapiv1.Plan, err error)

func (PlanClient) Update

func (c PlanClient) Update(plan *upgradeapiv1.Plan) (*upgradeapiv1.Plan, error)

func (PlanClient) UpdateStatus

func (c PlanClient) UpdateStatus(*upgradeapiv1.Plan) (*upgradeapiv1.Plan, error)

func (PlanClient) Watch

type ResourceQuotaCache added in v1.2.0

type ResourceQuotaCache func(string) corev1type.ResourceQuotaInterface

func (ResourceQuotaCache) AddIndexer added in v1.2.0

func (ResourceQuotaCache) Get added in v1.2.0

func (c ResourceQuotaCache) Get(namespace, name string) (*v1.ResourceQuota, error)

func (ResourceQuotaCache) GetByIndex added in v1.2.0

func (c ResourceQuotaCache) GetByIndex(_, _ string) ([]*v1.ResourceQuota, error)

func (ResourceQuotaCache) List added in v1.2.0

func (c ResourceQuotaCache) List(namespace string, selector labels.Selector) ([]*v1.ResourceQuota, error)

type ResourceQuotaClient added in v1.2.0

type ResourceQuotaClient func(string) corev1type.ResourceQuotaInterface

func (ResourceQuotaClient) Create added in v1.2.0

func (ResourceQuotaClient) Delete added in v1.2.0

func (ResourceQuotaClient) Get added in v1.2.0

func (c ResourceQuotaClient) Get(namespace string, name string, options metav1.GetOptions) (*v1.ResourceQuota, error)

func (ResourceQuotaClient) List added in v1.2.0

func (ResourceQuotaClient) Patch added in v1.2.0

func (c ResourceQuotaClient) Patch(_, _ string, _ types.PatchType, _ []byte, _ ...string) (result *v1.ResourceQuota, err error)

func (ResourceQuotaClient) Update added in v1.2.0

func (ResourceQuotaClient) UpdateStatus added in v1.2.0

func (ResourceQuotaClient) Watch added in v1.2.0

type ServiceCache added in v1.1.2

type ServiceCache func(string) v1.ServiceInterface

func (ServiceCache) AddIndexer added in v1.1.2

func (c ServiceCache) AddIndexer(_ string, _ ctlv1.ServiceIndexer)

func (ServiceCache) Get added in v1.1.2

func (c ServiceCache) Get(namespace, name string) (*corev1.Service, error)

func (ServiceCache) GetByIndex added in v1.1.2

func (c ServiceCache) GetByIndex(_, _ string) ([]*corev1.Service, error)

func (ServiceCache) List added in v1.1.2

func (c ServiceCache) List(_ string, _ labels.Selector) ([]*corev1.Service, error)

type ServiceClient added in v1.1.2

type ServiceClient func(string) v1.ServiceInterface

func (ServiceClient) Create added in v1.1.2

func (c ServiceClient) Create(service *corev1.Service) (*corev1.Service, error)

func (ServiceClient) Delete added in v1.1.2

func (c ServiceClient) Delete(namespace, name string, options *metav1.DeleteOptions) error

func (ServiceClient) Get added in v1.1.2

func (c ServiceClient) Get(namespace, name string, options metav1.GetOptions) (*corev1.Service, error)

func (ServiceClient) List added in v1.1.2

func (c ServiceClient) List(namespace string, opts metav1.ListOptions) (*corev1.ServiceList, error)

func (ServiceClient) Patch added in v1.1.2

func (c ServiceClient) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *corev1.Service, err error)

func (ServiceClient) Update added in v1.1.2

func (c ServiceClient) Update(service *corev1.Service) (*corev1.Service, error)

func (ServiceClient) UpdateStatus added in v1.1.2

func (c ServiceClient) UpdateStatus(*corev1.Service) (*corev1.Service, error)

func (ServiceClient) Watch added in v1.1.2

func (c ServiceClient) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)

type StorageClassCache added in v1.1.0

type StorageClassCache func() storagev1type.StorageClassInterface

func (StorageClassCache) AddIndexer added in v1.1.0

func (StorageClassCache) Get added in v1.1.0

func (StorageClassCache) GetByIndex added in v1.1.0

func (c StorageClassCache) GetByIndex(_, _ string) ([]*storagev1.StorageClass, error)

func (StorageClassCache) List added in v1.1.0

type StorageClassClient added in v1.1.0

type StorageClassClient func() storagev1type.StorageClassInterface

func (StorageClassClient) Create added in v1.1.0

func (StorageClassClient) Delete added in v1.1.0

func (c StorageClassClient) Delete(name string, options *metav1.DeleteOptions) error

func (StorageClassClient) Get added in v1.1.0

func (StorageClassClient) List added in v1.1.0

func (StorageClassClient) Patch added in v1.1.0

func (c StorageClassClient) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *storagev1.StorageClass, err error)

func (StorageClassClient) Update added in v1.1.0

func (StorageClassClient) UpdateStatus added in v1.1.0

func (StorageClassClient) Watch added in v1.1.0

type SupportBundleCache added in v1.3.0

type SupportBundleCache func(string) harv1type.SupportBundleInterface

func (SupportBundleCache) AddIndexer added in v1.3.0

func (SupportBundleCache) Get added in v1.3.0

func (c SupportBundleCache) Get(namespace, name string) (*harvesterv1.SupportBundle, error)

func (SupportBundleCache) GetByIndex added in v1.3.0

func (c SupportBundleCache) GetByIndex(_, _ string) ([]*harvesterv1.SupportBundle, error)

func (SupportBundleCache) List added in v1.3.0

type SupportBundleClient added in v1.3.0

type SupportBundleClient func(string) harv1type.SupportBundleInterface

func (SupportBundleClient) AddGenericHandler added in v1.3.0

func (c SupportBundleClient) AddGenericHandler(_ context.Context, _ string, _ generic.Handler)

func (SupportBundleClient) AddGenericRemoveHandler added in v1.3.0

func (c SupportBundleClient) AddGenericRemoveHandler(_ context.Context, _ string, _ generic.Handler)

func (SupportBundleClient) Cache added in v1.3.0

func (SupportBundleClient) Create added in v1.3.0

func (SupportBundleClient) Delete added in v1.3.0

func (c SupportBundleClient) Delete(namespace, name string, _ *metav1.DeleteOptions) error

func (SupportBundleClient) Enqueue added in v1.3.0

func (c SupportBundleClient) Enqueue(_, _ string)

func (SupportBundleClient) EnqueueAfter added in v1.3.0

func (c SupportBundleClient) EnqueueAfter(_, _ string, _ time.Duration)

func (SupportBundleClient) Get added in v1.3.0

func (SupportBundleClient) GroupVersionKind added in v1.3.0

func (c SupportBundleClient) GroupVersionKind() schema.GroupVersionKind

func (SupportBundleClient) Informer added in v1.3.0

func (SupportBundleClient) List added in v1.3.0

func (SupportBundleClient) OnChange added in v1.3.0

func (SupportBundleClient) OnRemove added in v1.3.0

func (SupportBundleClient) Patch added in v1.3.0

func (c SupportBundleClient) Patch(_, _ string, _ types.PatchType, _ []byte, _ ...string) (result *harvesterv1.SupportBundle, err error)

func (SupportBundleClient) Update added in v1.3.0

func (SupportBundleClient) UpdateStatus added in v1.3.0

func (SupportBundleClient) Updater added in v1.3.0

func (c SupportBundleClient) Updater() generic.Updater

func (SupportBundleClient) Watch added in v1.3.0

type UpgradeCache

type UpgradeCache func(string) harv1type.UpgradeInterface

func (UpgradeCache) AddIndexer

func (c UpgradeCache) AddIndexer(_ string, _ ctlharvesterv1.UpgradeIndexer)

func (UpgradeCache) Get

func (c UpgradeCache) Get(namespace, name string) (*harvesterv1.Upgrade, error)

func (UpgradeCache) GetByIndex

func (c UpgradeCache) GetByIndex(_, _ string) ([]*harvesterv1.Upgrade, error)

func (UpgradeCache) List

func (c UpgradeCache) List(namespace string, selector labels.Selector) ([]*harvesterv1.Upgrade, error)

type UpgradeClient

type UpgradeClient func(string) harv1type.UpgradeInterface

func (UpgradeClient) Create

func (UpgradeClient) Delete

func (c UpgradeClient) Delete(_, _ string, _ *metav1.DeleteOptions) error

func (UpgradeClient) Get

func (UpgradeClient) List

func (UpgradeClient) Patch

func (c UpgradeClient) Patch(_, _ string, _ types.PatchType, _ []byte, _ ...string) (result *harvesterv1.Upgrade, err error)

func (UpgradeClient) Update

func (c UpgradeClient) Update(upgrade *harvesterv1.Upgrade) (*harvesterv1.Upgrade, error)

func (UpgradeClient) UpdateStatus

func (UpgradeClient) Watch

type UpgradeLogCache added in v1.1.2

type UpgradeLogCache func(string) harv1type.UpgradeLogInterface

func (UpgradeLogCache) AddIndexer added in v1.1.2

func (UpgradeLogCache) Get added in v1.1.2

func (c UpgradeLogCache) Get(namespace, name string) (*harvesterv1.UpgradeLog, error)

func (UpgradeLogCache) GetByIndex added in v1.1.2

func (c UpgradeLogCache) GetByIndex(_, _ string) ([]*harvesterv1.UpgradeLog, error)

func (UpgradeLogCache) List added in v1.1.2

type UpgradeLogClient added in v1.1.2

type UpgradeLogClient func(string) harv1type.UpgradeLogInterface

func (UpgradeLogClient) Create added in v1.1.2

func (UpgradeLogClient) Delete added in v1.1.2

func (c UpgradeLogClient) Delete(namespace, name string, options *metav1.DeleteOptions) error

func (UpgradeLogClient) Get added in v1.1.2

func (c UpgradeLogClient) Get(namespace, name string, options metav1.GetOptions) (*harvesterv1.UpgradeLog, error)

func (UpgradeLogClient) List added in v1.1.2

func (UpgradeLogClient) Patch added in v1.1.2

func (c UpgradeLogClient) Patch(_, _ string, _ types.PatchType, _ []byte, _ ...string) (result *harvesterv1.UpgradeLog, err error)

func (UpgradeLogClient) Update added in v1.1.2

func (UpgradeLogClient) UpdateStatus added in v1.1.2

func (UpgradeLogClient) Watch added in v1.1.2

type VMBackupCache added in v1.1.2

func (VMBackupCache) AddIndexer added in v1.1.2

func (VMBackupCache) Get added in v1.1.2

func (c VMBackupCache) Get(namespace, name string) (*harvesterv1beta1.VirtualMachineBackup, error)

func (VMBackupCache) GetByIndex added in v1.1.2

func (c VMBackupCache) GetByIndex(indexName, key string) ([]*harvesterv1beta1.VirtualMachineBackup, error)

func (VMBackupCache) List added in v1.1.2

type VMBackupClient added in v1.1.2

func (VMBackupClient) Create added in v1.1.2

func (VMBackupClient) Delete added in v1.1.2

func (c VMBackupClient) Delete(namespace, name string, options *metav1.DeleteOptions) error

func (VMBackupClient) Get added in v1.1.2

func (VMBackupClient) List added in v1.1.2

func (VMBackupClient) Patch added in v1.1.2

func (c VMBackupClient) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *harvesterv1beta1.VirtualMachineBackup, err error)

func (VMBackupClient) Update added in v1.1.2

func (VMBackupClient) UpdateStatus added in v1.1.2

func (VMBackupClient) Watch added in v1.1.2

func (c VMBackupClient) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)

type VersionCache added in v1.0.0

type VersionCache func(string) harv1type.VersionInterface

func (VersionCache) AddIndexer added in v1.0.0

func (c VersionCache) AddIndexer(_ string, _ ctlharvesterv1.VersionIndexer)

func (VersionCache) Get added in v1.0.0

func (c VersionCache) Get(namespace, name string) (*harvesterv1.Version, error)

func (VersionCache) GetByIndex added in v1.0.0

func (c VersionCache) GetByIndex(_, _ string) ([]*harvesterv1.Version, error)

func (VersionCache) List added in v1.0.0

type VirtualMachineCache added in v1.1.2

type VirtualMachineCache func(string) kubevirtv1.VirtualMachineInterface

func (VirtualMachineCache) AddIndexer added in v1.1.2

func (VirtualMachineCache) Get added in v1.1.2

func (c VirtualMachineCache) Get(namespace, name string) (*kubevirtv1api.VirtualMachine, error)

func (VirtualMachineCache) GetByIndex added in v1.1.2

func (c VirtualMachineCache) GetByIndex(_, _ string) ([]*kubevirtv1api.VirtualMachine, error)

func (VirtualMachineCache) List added in v1.1.2

type VirtualMachineClient added in v1.0.0

type VirtualMachineClient func(string) kubevirtv1.VirtualMachineInterface

func (VirtualMachineClient) AddGenericHandler added in v1.2.0

func (c VirtualMachineClient) AddGenericHandler(_ context.Context, _ string, _ generic.Handler)

func (VirtualMachineClient) AddGenericRemoveHandler added in v1.2.0

func (c VirtualMachineClient) AddGenericRemoveHandler(_ context.Context, _ string, _ generic.Handler)

func (VirtualMachineClient) Cache added in v1.2.0

func (VirtualMachineClient) Create added in v1.0.0

func (VirtualMachineClient) Delete added in v1.0.0

func (VirtualMachineClient) Enqueue added in v1.2.0

func (c VirtualMachineClient) Enqueue(_, _ string)

func (VirtualMachineClient) EnqueueAfter added in v1.2.0

func (c VirtualMachineClient) EnqueueAfter(_, _ string, _ time.Duration)

func (VirtualMachineClient) Get added in v1.0.0

func (c VirtualMachineClient) Get(namespace, name string, options metav1.GetOptions) (*kubevirtv1api.VirtualMachine, error)

func (VirtualMachineClient) GroupVersionKind added in v1.2.0

func (c VirtualMachineClient) GroupVersionKind() schema.GroupVersionKind

func (VirtualMachineClient) Informer added in v1.2.0

func (VirtualMachineClient) List added in v1.0.0

func (VirtualMachineClient) OnChange added in v1.2.0

func (VirtualMachineClient) OnRemove added in v1.2.0

func (VirtualMachineClient) Patch added in v1.0.0

func (c VirtualMachineClient) Patch(_, _ string, _ types.PatchType, _ []byte, _ ...string) (result *kubevirtv1api.VirtualMachine, err error)

func (VirtualMachineClient) Update added in v1.0.0

func (VirtualMachineClient) UpdateStatus added in v1.0.0

func (VirtualMachineClient) Updater added in v1.2.0

func (c VirtualMachineClient) Updater() generic.Updater

func (VirtualMachineClient) Watch added in v1.0.0

type VirtualMachineImageCache added in v1.0.0

type VirtualMachineImageCache func(string) harv1type.VirtualMachineImageInterface

func (VirtualMachineImageCache) AddIndexer added in v1.0.0

func (VirtualMachineImageCache) Get added in v1.0.0

func (VirtualMachineImageCache) GetByIndex added in v1.0.0

func (VirtualMachineImageCache) List added in v1.0.0

type VirtualMachineImageClient added in v1.0.0

type VirtualMachineImageClient func(string) harv1type.VirtualMachineImageInterface

func (VirtualMachineImageClient) Create added in v1.0.0

func (VirtualMachineImageClient) Delete added in v1.0.0

func (VirtualMachineImageClient) Get added in v1.0.0

func (VirtualMachineImageClient) List added in v1.0.0

func (VirtualMachineImageClient) Patch added in v1.0.0

func (c VirtualMachineImageClient) Patch(_, _ string, _ types.PatchType, _ []byte, _ ...string) (result *harvesterv1.VirtualMachineImage, err error)

func (VirtualMachineImageClient) Update added in v1.0.0

func (VirtualMachineImageClient) UpdateStatus added in v1.0.0

func (VirtualMachineImageClient) Watch added in v1.0.0

type VirtualMachineInstanceCache added in v1.1.2

type VirtualMachineInstanceCache func(string) kubevirtv1.VirtualMachineInstanceInterface

func (VirtualMachineInstanceCache) AddIndexer added in v1.1.2

func (VirtualMachineInstanceCache) Get added in v1.1.2

func (VirtualMachineInstanceCache) GetByIndex added in v1.1.2

func (VirtualMachineInstanceCache) List added in v1.1.2

type VirtualMachineInstanceClient added in v1.1.2

type VirtualMachineInstanceClient func(string) kubevirtv1.VirtualMachineInstanceInterface

func (VirtualMachineInstanceClient) Create added in v1.1.2

func (VirtualMachineInstanceClient) Delete added in v1.1.2

func (VirtualMachineInstanceClient) Get added in v1.1.2

func (VirtualMachineInstanceClient) List added in v1.1.2

func (VirtualMachineInstanceClient) Patch added in v1.1.2

func (VirtualMachineInstanceClient) Update added in v1.1.2

func (VirtualMachineInstanceClient) UpdateStatus added in v1.1.2

func (VirtualMachineInstanceClient) Watch added in v1.1.2

type VirtualMachineInstanceMigrationCache added in v1.2.0

type VirtualMachineInstanceMigrationCache func(string) kubevirttype.VirtualMachineInstanceMigrationInterface

func (VirtualMachineInstanceMigrationCache) AddIndexer added in v1.2.0

func (VirtualMachineInstanceMigrationCache) Get added in v1.2.0

func (VirtualMachineInstanceMigrationCache) GetByIndex added in v1.2.0

func (VirtualMachineInstanceMigrationCache) List added in v1.2.0

type VirtualMachineInstanceMigrationClient added in v1.2.0

type VirtualMachineInstanceMigrationClient func(string) kubevirttype.VirtualMachineInstanceMigrationInterface

func (VirtualMachineInstanceMigrationClient) Create added in v1.2.0

func (VirtualMachineInstanceMigrationClient) Delete added in v1.2.0

func (c VirtualMachineInstanceMigrationClient) Delete(namespace, name string, opts *metav1.DeleteOptions) error

func (VirtualMachineInstanceMigrationClient) Get added in v1.2.0

func (VirtualMachineInstanceMigrationClient) List added in v1.2.0

func (VirtualMachineInstanceMigrationClient) Patch added in v1.2.0

func (c VirtualMachineInstanceMigrationClient) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *kubevirtv1.VirtualMachineInstanceMigration, err error)

func (VirtualMachineInstanceMigrationClient) Update added in v1.2.0

func (VirtualMachineInstanceMigrationClient) UpdateStatus added in v1.2.0

func (VirtualMachineInstanceMigrationClient) Watch added in v1.2.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL