fakeclients

package
v1.1.3-rc3 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: Apache-2.0 Imports: 40 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(indexName string, indexer 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(indexName, key 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 ClusterFlowCache added in v1.1.2

type ClusterFlowCache func() loggingv1type.ClusterFlowInterface

func (ClusterFlowCache) AddIndexer added in v1.1.2

func (c ClusterFlowCache) AddIndexer(indexName string, indexer ctlloggingv1.ClusterFlowIndexer)

func (ClusterFlowCache) Get added in v1.1.2

func (c ClusterFlowCache) Get(namespace, name string) (*loggingv1.ClusterFlow, error)

func (ClusterFlowCache) GetByIndex added in v1.1.2

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

func (ClusterFlowCache) List added in v1.1.2

func (c ClusterFlowCache) List(namespace string, selector labels.Selector) ([]*loggingv1.ClusterFlow, error)

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(namespace, name string, options *metav1.DeleteOptions) error

func (ClusterFlowClient) Get added in v1.1.2

func (c ClusterFlowClient) Get(namespace, 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(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *loggingv1.ClusterFlow, err error)

func (ClusterFlowClient) Update added in v1.1.2

func (ClusterFlowClient) UpdateStatus added in v1.1.2

func (c ClusterFlowClient) UpdateStatus(clusterFlow *loggingv1.ClusterFlow) (*loggingv1.ClusterFlow, error)

func (ClusterFlowClient) Watch added in v1.1.2

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

type ClusterOutputCache added in v1.1.2

type ClusterOutputCache func() loggingv1type.ClusterOutputInterface

func (ClusterOutputCache) AddIndexer added in v1.1.2

func (c ClusterOutputCache) AddIndexer(indexName string, indexer ctlloggingv1.ClusterOutputIndexer)

func (ClusterOutputCache) Get added in v1.1.2

func (c ClusterOutputCache) Get(namespace, name string) (*loggingv1.ClusterOutput, error)

func (ClusterOutputCache) GetByIndex added in v1.1.2

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

func (ClusterOutputCache) List added in v1.1.2

func (c ClusterOutputCache) List(namespace string, selector labels.Selector) ([]*loggingv1.ClusterOutput, error)

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(namespace, name string, options *metav1.DeleteOptions) error

func (ClusterOutputClient) Get added in v1.1.2

func (c ClusterOutputClient) Get(namespace, name string, options metav1.GetOptions) (*loggingv1.ClusterOutput, error)

func (ClusterOutputClient) List added in v1.1.2

func (ClusterOutputClient) Patch added in v1.1.2

func (c ClusterOutputClient) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *loggingv1.ClusterOutput, err error)

func (ClusterOutputClient) Update added in v1.1.2

func (ClusterOutputClient) UpdateStatus added in v1.1.2

func (c ClusterOutputClient) UpdateStatus(clusterOutput *loggingv1.ClusterOutput) (*loggingv1.ClusterOutput, error)

func (ClusterOutputClient) Watch added in v1.1.2

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

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(indexName string, indexer 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(indexName, key 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(namespace, name string, options *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(namespace, name string, pt types.PatchType, data []byte, subresources ...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

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

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(namespace, name string, options *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 (c DeploymentClient) List(namespace string, opts metav1.ListOptions) (*appsv1.DeploymentList, error)

func (DeploymentClient) Patch added in v1.1.2

func (c DeploymentClient) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...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

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

type HarvesterSettingCache added in v1.0.0

type HarvesterSettingCache func() harvestertype.SettingInterface

func (HarvesterSettingCache) AddIndexer added in v1.0.0

func (c HarvesterSettingCache) AddIndexer(indexName string, indexer harvesterv1ctl.SettingIndexer)

func (HarvesterSettingCache) Get added in v1.0.0

func (HarvesterSettingCache) GetByIndex added in v1.0.0

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

func (HarvesterSettingCache) List added in v1.0.0

func (c HarvesterSettingCache) List(selector labels.Selector) ([]*v1beta1.Setting, error)

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(s *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(namespace, name string, options *metav1.DeleteOptions) error

func (JobClient) Get

func (c JobClient) Get(namespace, name string, options metav1.GetOptions) (*batchv1.Job, error)

func (JobClient) List

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

func (JobClient) Patch

func (c JobClient) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...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

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

type LoggingCache added in v1.1.2

type LoggingCache func() loggingv1type.LoggingInterface

func (LoggingCache) AddIndexer added in v1.1.2

func (c LoggingCache) AddIndexer(indexName string, indexer 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(indexName, key string) ([]*loggingv1.Logging, error)

func (LoggingCache) List added in v1.1.2

func (c LoggingCache) List(selector labels.Selector) ([]*loggingv1.Logging, error)

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(name string, pt types.PatchType, data []byte, subresources ...string) (result *loggingv1.Logging, err error)

func (LoggingClient) Update added in v1.1.2

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

func (LoggingClient) UpdateStatus added in v1.1.2

func (c LoggingClient) UpdateStatus(logging *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 (c LonghornReplicaCache) AddIndexer(indexName string, indexer longhornv1ctl.ReplicaIndexer)

func (LonghornReplicaCache) Get added in v1.1.2

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

func (LonghornReplicaCache) GetByIndex added in v1.1.2

func (c LonghornReplicaCache) GetByIndex(indexName, key string) ([]*longhornv1.Replica, error)

func (LonghornReplicaCache) List added in v1.1.2

func (c LonghornReplicaCache) List(namespace string, selector labels.Selector) ([]*longhornv1.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) (*longhornv1.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 *longhornv1.Replica, err error)

func (LonghornReplicaClient) Update added in v1.1.2

func (LonghornReplicaClient) UpdateStatus added in v1.1.2

func (c LonghornReplicaClient) UpdateStatus(replica *longhornv1.Replica) (*longhornv1.Replica, error)

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 (c LonghornSettingCache) AddIndexer(indexName string, indexer longhornv1ctl.SettingIndexer)

func (LonghornSettingCache) Get added in v1.0.0

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

func (LonghornSettingCache) GetByIndex added in v1.0.0

func (c LonghornSettingCache) GetByIndex(indexName, key string) ([]*longhornv1.Setting, error)

func (LonghornSettingCache) List added in v1.0.0

func (c LonghornSettingCache) List(namespace string, selector labels.Selector) ([]*longhornv1.Setting, error)

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) (*longhornv1.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 *longhornv1.Setting, err error)

func (LonghornSettingClient) Update added in v1.0.0

func (LonghornSettingClient) UpdateStatus added in v1.0.0

func (c LonghornSettingClient) UpdateStatus(setting *longhornv1.Setting) (*longhornv1.Setting, error)

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) lhtype.VolumeInterface

func (LonghornVolumeCache) AddIndexer added in v1.1.2

func (c LonghornVolumeCache) AddIndexer(indexName string, indexer longhornv1ctl.VolumeIndexer)

func (LonghornVolumeCache) Get added in v1.1.2

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

func (LonghornVolumeCache) GetByIndex added in v1.1.2

func (c LonghornVolumeCache) GetByIndex(indexName, key string) ([]*longhornv1.Volume, error)

func (LonghornVolumeCache) List added in v1.1.2

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

type LonghornVolumeClient added in v1.1.2

type LonghornVolumeClient func(string) lhtype.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) (*longhornv1.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 *longhornv1.Volume, err error)

func (LonghornVolumeClient) Update added in v1.1.2

func (LonghornVolumeClient) UpdateStatus added in v1.1.2

func (c LonghornVolumeClient) UpdateStatus(volume *longhornv1.Volume) (*longhornv1.Volume, error)

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 (c ManagedChartCache) AddIndexer(indexName string, indexer ctlmgmtv3.ManagedChartIndexer)

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(indexName, key 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(namespace, name string, pt types.PatchType, data []byte, subresources ...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

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

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(indexName string, indexer ctlcorev1.NodeIndexer)

func (NodeCache) Get

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

func (NodeCache) GetByIndex

func (c NodeCache) GetByIndex(indexName, key 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(name string, options *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 (c NodeClient) List(opts metav1.ListOptions) (*v1.NodeList, error)

func (NodeClient) Patch added in v1.1.2

func (c NodeClient) Patch(name string, pt types.PatchType, data []byte, subresources ...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 (c PersistentVolumeClaimCache) AddIndexer(indexName string, indexer ctlv1.PersistentVolumeClaimIndexer)

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(indexName string, indexer upgradectlv1.PlanIndexer)

func (PlanCache) Get

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

func (PlanCache) GetByIndex

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

func (PlanCache) List

func (c PlanCache) List(namespace string, selector 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(namespace, name string, options *metav1.DeleteOptions) error

func (PlanClient) Get

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

func (PlanClient) List

func (c PlanClient) List(namespace string, opts metav1.ListOptions) (*upgradeapiv1.PlanList, error)

func (PlanClient) Patch

func (c PlanClient) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...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

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

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(indexName string, indexer 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(indexName, key string) ([]*corev1.Service, error)

func (ServiceCache) List added in v1.1.2

func (c ServiceCache) List(namespace string, selector 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(service *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 (c StorageClassCache) AddIndexer(indexName string, indexer ctlstoragev1.StorageClassIndexer)

func (StorageClassCache) Get added in v1.1.0

func (StorageClassCache) GetByIndex added in v1.1.0

func (c StorageClassCache) GetByIndex(indexName, key 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 UpgradeCache

type UpgradeCache func(string) harv1type.UpgradeInterface

func (UpgradeCache) AddIndexer

func (c UpgradeCache) AddIndexer(indexName string, indexer ctlharvesterv1.UpgradeIndexer)

func (UpgradeCache) Get

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

func (UpgradeCache) GetByIndex

func (c UpgradeCache) GetByIndex(indexName, key 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(namespace, name string, options *metav1.DeleteOptions) error

func (UpgradeClient) Get

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

func (UpgradeClient) List

func (c UpgradeClient) List(namespace string, opts metav1.ListOptions) (*harvesterv1.UpgradeList, error)

func (UpgradeClient) Patch

func (c UpgradeClient) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...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

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

type UpgradeLogCache added in v1.1.2

type UpgradeLogCache func(string) harv1type.UpgradeLogInterface

func (UpgradeLogCache) AddIndexer added in v1.1.2

func (c UpgradeLogCache) AddIndexer(indexName string, indexer ctlharvesterv1.UpgradeLogIndexer)

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(indexName, key string) ([]*harvesterv1.UpgradeLog, error)

func (UpgradeLogCache) List added in v1.1.2

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

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(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *harvesterv1.UpgradeLog, err error)

func (UpgradeLogClient) Update added in v1.1.2

func (UpgradeLogClient) UpdateStatus added in v1.1.2

func (c UpgradeLogClient) UpdateStatus(upgradeLog *harvesterv1.UpgradeLog) (*harvesterv1.UpgradeLog, error)

func (UpgradeLogClient) Watch added in v1.1.2

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

type VMBackupCache added in v1.1.2

func (VMBackupCache) AddIndexer added in v1.1.2

func (c VMBackupCache) AddIndexer(indexName string, indexer harvesterv1ctl.VirtualMachineBackupIndexer)

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(indexName string, indexer 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(indexName, key string) ([]*harvesterv1.Version, error)

func (VersionCache) List added in v1.0.0

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

type VirtualMachineCache added in v1.1.2

type VirtualMachineCache func(string) kubevirtv1.VirtualMachineInterface

func (VirtualMachineCache) AddIndexer added in v1.1.2

func (c VirtualMachineCache) AddIndexer(indexName string, indexer kubevirtctlv1.VirtualMachineIndexer)

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(indexName, key string) ([]*kubevirtv1api.VirtualMachine, error)

func (VirtualMachineCache) List added in v1.1.2

func (c VirtualMachineCache) List(namespace string, selector labels.Selector) ([]*kubevirtv1api.VirtualMachine, error)

type VirtualMachineClient added in v1.0.0

type VirtualMachineClient func(string) kubevirtv1.VirtualMachineInterface

func (VirtualMachineClient) Create added in v1.0.0

func (VirtualMachineClient) Delete added in v1.0.0

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

func (VirtualMachineClient) Get added in v1.0.0

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

func (VirtualMachineClient) List added in v1.0.0

func (VirtualMachineClient) Patch added in v1.0.0

func (c VirtualMachineClient) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *kubevirtv1api.VirtualMachine, err error)

func (VirtualMachineClient) Update added in v1.0.0

func (VirtualMachineClient) UpdateStatus added in v1.0.0

func (VirtualMachineClient) Watch added in v1.0.0

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

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 (c VirtualMachineImageCache) GetByIndex(indexName, key string) ([]*harvesterv1.VirtualMachineImage, error)

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 (c VirtualMachineImageClient) Delete(namespace, name string, options *metav1.DeleteOptions) error

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(namespace, name string, pt types.PatchType, data []byte, subresources ...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 (c VirtualMachineInstanceClient) Delete(namespace, name string, options *metav1.DeleteOptions) error

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 (c VirtualMachineInstanceClient) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *kubevirtv1api.VirtualMachineInstance, err error)

func (VirtualMachineInstanceClient) Update added in v1.1.2

func (VirtualMachineInstanceClient) UpdateStatus added in v1.1.2

func (VirtualMachineInstanceClient) Watch added in v1.1.2

Jump to

Keyboard shortcuts

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