Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCSIOperators
- func (c *FakeCSIOperators) Create(ctx context.Context, cSIOperator *platform.CSIOperator, opts v1.CreateOptions) (result *platform.CSIOperator, err error)
- func (c *FakeCSIOperators) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCSIOperators) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.CSIOperator, err error)
- func (c *FakeCSIOperators) List(ctx context.Context, opts v1.ListOptions) (result *platform.CSIOperatorList, err error)
- func (c *FakeCSIOperators) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *platform.CSIOperator, err error)
- func (c *FakeCSIOperators) Update(ctx context.Context, cSIOperator *platform.CSIOperator, opts v1.UpdateOptions) (result *platform.CSIOperator, err error)
- func (c *FakeCSIOperators) UpdateStatus(ctx context.Context, cSIOperator *platform.CSIOperator, opts v1.UpdateOptions) (*platform.CSIOperator, error)
- func (c *FakeCSIOperators) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterAddonTypes
- type FakeClusterAddons
- type FakeClusterCredentials
- func (c *FakeClusterCredentials) Create(ctx context.Context, clusterCredential *platform.ClusterCredential, ...) (result *platform.ClusterCredential, err error)
- func (c *FakeClusterCredentials) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterCredentials) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.ClusterCredential, err error)
- func (c *FakeClusterCredentials) List(ctx context.Context, opts v1.ListOptions) (result *platform.ClusterCredentialList, err error)
- func (c *FakeClusterCredentials) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *platform.ClusterCredential, err error)
- func (c *FakeClusterCredentials) Update(ctx context.Context, clusterCredential *platform.ClusterCredential, ...) (result *platform.ClusterCredential, err error)
- func (c *FakeClusterCredentials) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterGroupAPIResourceItemses
- func (c *FakeClusterGroupAPIResourceItemses) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.ClusterGroupAPIResourceItems, err error)
- func (c *FakeClusterGroupAPIResourceItemses) List(ctx context.Context, opts v1.ListOptions) (result *platform.ClusterGroupAPIResourceItemsList, err error)
- type FakeClusters
- func (c *FakeClusters) Create(ctx context.Context, cluster *platform.Cluster, opts v1.CreateOptions) (result *platform.Cluster, err error)
- func (c *FakeClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.Cluster, err error)
- func (c *FakeClusters) List(ctx context.Context, opts v1.ListOptions) (result *platform.ClusterList, err error)
- func (c *FakeClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *platform.Cluster, err error)
- func (c *FakeClusters) Update(ctx context.Context, cluster *platform.Cluster, opts v1.UpdateOptions) (result *platform.Cluster, err error)
- func (c *FakeClusters) UpdateStatus(ctx context.Context, cluster *platform.Cluster, opts v1.UpdateOptions) (*platform.Cluster, error)
- func (c *FakeClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeConfigMaps
- func (c *FakeConfigMaps) Create(ctx context.Context, configMap *platform.ConfigMap, opts v1.CreateOptions) (result *platform.ConfigMap, err error)
- func (c *FakeConfigMaps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeConfigMaps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeConfigMaps) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.ConfigMap, err error)
- func (c *FakeConfigMaps) List(ctx context.Context, opts v1.ListOptions) (result *platform.ConfigMapList, err error)
- func (c *FakeConfigMaps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *platform.ConfigMap, err error)
- func (c *FakeConfigMaps) Update(ctx context.Context, configMap *platform.ConfigMap, opts v1.UpdateOptions) (result *platform.ConfigMap, err error)
- func (c *FakeConfigMaps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCronHPAs
- func (c *FakeCronHPAs) Create(ctx context.Context, cronHPA *platform.CronHPA, opts v1.CreateOptions) (result *platform.CronHPA, err error)
- func (c *FakeCronHPAs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCronHPAs) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.CronHPA, err error)
- func (c *FakeCronHPAs) List(ctx context.Context, opts v1.ListOptions) (result *platform.CronHPAList, err error)
- func (c *FakeCronHPAs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *platform.CronHPA, err error)
- func (c *FakeCronHPAs) Update(ctx context.Context, cronHPA *platform.CronHPA, opts v1.UpdateOptions) (result *platform.CronHPA, err error)
- func (c *FakeCronHPAs) UpdateStatus(ctx context.Context, cronHPA *platform.CronHPA, opts v1.UpdateOptions) (*platform.CronHPA, error)
- func (c *FakeCronHPAs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeHelms
- func (c *FakeHelms) Create(ctx context.Context, helm *platform.Helm, opts v1.CreateOptions) (result *platform.Helm, err error)
- func (c *FakeHelms) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeHelms) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.Helm, err error)
- func (c *FakeHelms) List(ctx context.Context, opts v1.ListOptions) (result *platform.HelmList, err error)
- func (c *FakeHelms) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *platform.Helm, err error)
- func (c *FakeHelms) Update(ctx context.Context, helm *platform.Helm, opts v1.UpdateOptions) (result *platform.Helm, err error)
- func (c *FakeHelms) UpdateStatus(ctx context.Context, helm *platform.Helm, opts v1.UpdateOptions) (*platform.Helm, error)
- func (c *FakeHelms) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeIPAMs
- func (c *FakeIPAMs) Create(ctx context.Context, iPAM *platform.IPAM, opts v1.CreateOptions) (result *platform.IPAM, err error)
- func (c *FakeIPAMs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeIPAMs) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.IPAM, err error)
- func (c *FakeIPAMs) List(ctx context.Context, opts v1.ListOptions) (result *platform.IPAMList, err error)
- func (c *FakeIPAMs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *platform.IPAM, err error)
- func (c *FakeIPAMs) Update(ctx context.Context, iPAM *platform.IPAM, opts v1.UpdateOptions) (result *platform.IPAM, err error)
- func (c *FakeIPAMs) UpdateStatus(ctx context.Context, iPAM *platform.IPAM, opts v1.UpdateOptions) (*platform.IPAM, error)
- func (c *FakeIPAMs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeLBCFs
- func (c *FakeLBCFs) Create(ctx context.Context, lBCF *platform.LBCF, opts v1.CreateOptions) (result *platform.LBCF, err error)
- func (c *FakeLBCFs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeLBCFs) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.LBCF, err error)
- func (c *FakeLBCFs) List(ctx context.Context, opts v1.ListOptions) (result *platform.LBCFList, err error)
- func (c *FakeLBCFs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *platform.LBCF, err error)
- func (c *FakeLBCFs) Update(ctx context.Context, lBCF *platform.LBCF, opts v1.UpdateOptions) (result *platform.LBCF, err error)
- func (c *FakeLBCFs) UpdateStatus(ctx context.Context, lBCF *platform.LBCF, opts v1.UpdateOptions) (*platform.LBCF, error)
- func (c *FakeLBCFs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeLogCollectors
- func (c *FakeLogCollectors) Create(ctx context.Context, logCollector *platform.LogCollector, ...) (result *platform.LogCollector, err error)
- func (c *FakeLogCollectors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeLogCollectors) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.LogCollector, err error)
- func (c *FakeLogCollectors) List(ctx context.Context, opts v1.ListOptions) (result *platform.LogCollectorList, err error)
- func (c *FakeLogCollectors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *platform.LogCollector, err error)
- func (c *FakeLogCollectors) Update(ctx context.Context, logCollector *platform.LogCollector, ...) (result *platform.LogCollector, err error)
- func (c *FakeLogCollectors) UpdateStatus(ctx context.Context, logCollector *platform.LogCollector, ...) (*platform.LogCollector, error)
- func (c *FakeLogCollectors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMachines
- func (c *FakeMachines) Create(ctx context.Context, machine *platform.Machine, opts v1.CreateOptions) (result *platform.Machine, err error)
- func (c *FakeMachines) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMachines) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.Machine, err error)
- func (c *FakeMachines) List(ctx context.Context, opts v1.ListOptions) (result *platform.MachineList, err error)
- func (c *FakeMachines) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *platform.Machine, err error)
- func (c *FakeMachines) Update(ctx context.Context, machine *platform.Machine, opts v1.UpdateOptions) (result *platform.Machine, err error)
- func (c *FakeMachines) UpdateStatus(ctx context.Context, machine *platform.Machine, opts v1.UpdateOptions) (*platform.Machine, error)
- func (c *FakeMachines) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePersistentEvents
- func (c *FakePersistentEvents) Create(ctx context.Context, persistentEvent *platform.PersistentEvent, ...) (result *platform.PersistentEvent, err error)
- func (c *FakePersistentEvents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePersistentEvents) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.PersistentEvent, err error)
- func (c *FakePersistentEvents) List(ctx context.Context, opts v1.ListOptions) (result *platform.PersistentEventList, err error)
- func (c *FakePersistentEvents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *platform.PersistentEvent, err error)
- func (c *FakePersistentEvents) Update(ctx context.Context, persistentEvent *platform.PersistentEvent, ...) (result *platform.PersistentEvent, err error)
- func (c *FakePersistentEvents) UpdateStatus(ctx context.Context, persistentEvent *platform.PersistentEvent, ...) (*platform.PersistentEvent, error)
- func (c *FakePersistentEvents) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePlatform
- func (c *FakePlatform) CSIOperators() internalversion.CSIOperatorInterface
- func (c *FakePlatform) ClusterAddonTypes() internalversion.ClusterAddonTypeInterface
- func (c *FakePlatform) ClusterAddons() internalversion.ClusterAddonInterface
- func (c *FakePlatform) ClusterCredentials() internalversion.ClusterCredentialInterface
- func (c *FakePlatform) ClusterGroupAPIResourceItemses() internalversion.ClusterGroupAPIResourceItemsInterface
- func (c *FakePlatform) Clusters() internalversion.ClusterInterface
- func (c *FakePlatform) ConfigMaps() internalversion.ConfigMapInterface
- func (c *FakePlatform) CronHPAs() internalversion.CronHPAInterface
- func (c *FakePlatform) Helms() internalversion.HelmInterface
- func (c *FakePlatform) IPAMs() internalversion.IPAMInterface
- func (c *FakePlatform) LBCFs() internalversion.LBCFInterface
- func (c *FakePlatform) LogCollectors() internalversion.LogCollectorInterface
- func (c *FakePlatform) Machines() internalversion.MachineInterface
- func (c *FakePlatform) PersistentEvents() internalversion.PersistentEventInterface
- func (c *FakePlatform) Prometheuses() internalversion.PrometheusInterface
- func (c *FakePlatform) RESTClient() rest.Interface
- func (c *FakePlatform) Registries() internalversion.RegistryInterface
- func (c *FakePlatform) TappControllers() internalversion.TappControllerInterface
- func (c *FakePlatform) VolumeDecorators() internalversion.VolumeDecoratorInterface
- type FakePrometheuses
- func (c *FakePrometheuses) Create(ctx context.Context, prometheus *platform.Prometheus, opts v1.CreateOptions) (result *platform.Prometheus, err error)
- func (c *FakePrometheuses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePrometheuses) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.Prometheus, err error)
- func (c *FakePrometheuses) List(ctx context.Context, opts v1.ListOptions) (result *platform.PrometheusList, err error)
- func (c *FakePrometheuses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *platform.Prometheus, err error)
- func (c *FakePrometheuses) Update(ctx context.Context, prometheus *platform.Prometheus, opts v1.UpdateOptions) (result *platform.Prometheus, err error)
- func (c *FakePrometheuses) UpdateStatus(ctx context.Context, prometheus *platform.Prometheus, opts v1.UpdateOptions) (*platform.Prometheus, error)
- func (c *FakePrometheuses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRegistries
- func (c *FakeRegistries) Create(ctx context.Context, registry *platform.Registry, opts v1.CreateOptions) (result *platform.Registry, err error)
- func (c *FakeRegistries) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRegistries) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.Registry, err error)
- func (c *FakeRegistries) List(ctx context.Context, opts v1.ListOptions) (result *platform.RegistryList, err error)
- func (c *FakeRegistries) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *platform.Registry, err error)
- func (c *FakeRegistries) Update(ctx context.Context, registry *platform.Registry, opts v1.UpdateOptions) (result *platform.Registry, err error)
- func (c *FakeRegistries) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTappControllers
- func (c *FakeTappControllers) Create(ctx context.Context, tappController *platform.TappController, ...) (result *platform.TappController, err error)
- func (c *FakeTappControllers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTappControllers) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.TappController, err error)
- func (c *FakeTappControllers) List(ctx context.Context, opts v1.ListOptions) (result *platform.TappControllerList, err error)
- func (c *FakeTappControllers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *platform.TappController, err error)
- func (c *FakeTappControllers) Update(ctx context.Context, tappController *platform.TappController, ...) (result *platform.TappController, err error)
- func (c *FakeTappControllers) UpdateStatus(ctx context.Context, tappController *platform.TappController, ...) (*platform.TappController, error)
- func (c *FakeTappControllers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVolumeDecorators
- func (c *FakeVolumeDecorators) Create(ctx context.Context, volumeDecorator *platform.VolumeDecorator, ...) (result *platform.VolumeDecorator, err error)
- func (c *FakeVolumeDecorators) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVolumeDecorators) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.VolumeDecorator, err error)
- func (c *FakeVolumeDecorators) List(ctx context.Context, opts v1.ListOptions) (result *platform.VolumeDecoratorList, err error)
- func (c *FakeVolumeDecorators) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *platform.VolumeDecorator, err error)
- func (c *FakeVolumeDecorators) Update(ctx context.Context, volumeDecorator *platform.VolumeDecorator, ...) (result *platform.VolumeDecorator, err error)
- func (c *FakeVolumeDecorators) UpdateStatus(ctx context.Context, volumeDecorator *platform.VolumeDecorator, ...) (*platform.VolumeDecorator, error)
- func (c *FakeVolumeDecorators) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCSIOperators ¶
type FakeCSIOperators struct {
Fake *FakePlatform
}
FakeCSIOperators implements CSIOperatorInterface
func (*FakeCSIOperators) Create ¶
func (c *FakeCSIOperators) Create(ctx context.Context, cSIOperator *platform.CSIOperator, opts v1.CreateOptions) (result *platform.CSIOperator, err error)
Create takes the representation of a cSIOperator and creates it. Returns the server's representation of the cSIOperator, and an error, if there is any.
func (*FakeCSIOperators) Delete ¶
func (c *FakeCSIOperators) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the cSIOperator and deletes it. Returns an error if one occurs.
func (*FakeCSIOperators) Get ¶
func (c *FakeCSIOperators) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.CSIOperator, err error)
Get takes name of the cSIOperator, and returns the corresponding cSIOperator object, and an error if there is any.
func (*FakeCSIOperators) List ¶
func (c *FakeCSIOperators) List(ctx context.Context, opts v1.ListOptions) (result *platform.CSIOperatorList, err error)
List takes label and field selectors, and returns the list of CSIOperators that match those selectors.
func (*FakeCSIOperators) Patch ¶
func (c *FakeCSIOperators) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *platform.CSIOperator, err error)
Patch applies the patch and returns the patched cSIOperator.
func (*FakeCSIOperators) Update ¶
func (c *FakeCSIOperators) Update(ctx context.Context, cSIOperator *platform.CSIOperator, opts v1.UpdateOptions) (result *platform.CSIOperator, err error)
Update takes the representation of a cSIOperator and updates it. Returns the server's representation of the cSIOperator, and an error, if there is any.
func (*FakeCSIOperators) UpdateStatus ¶
func (c *FakeCSIOperators) UpdateStatus(ctx context.Context, cSIOperator *platform.CSIOperator, opts v1.UpdateOptions) (*platform.CSIOperator, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCSIOperators) Watch ¶
func (c *FakeCSIOperators) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cSIOperators.
type FakeClusterAddonTypes ¶
type FakeClusterAddonTypes struct {
Fake *FakePlatform
}
FakeClusterAddonTypes implements ClusterAddonTypeInterface
func (*FakeClusterAddonTypes) List ¶
func (c *FakeClusterAddonTypes) List(ctx context.Context, opts v1.ListOptions) (result *platform.ClusterAddonTypeList, err error)
List takes label and field selectors, and returns the list of ClusterAddonTypes that match those selectors.
type FakeClusterAddons ¶
type FakeClusterAddons struct {
Fake *FakePlatform
}
FakeClusterAddons implements ClusterAddonInterface
func (*FakeClusterAddons) Get ¶
func (c *FakeClusterAddons) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.ClusterAddon, err error)
Get takes name of the clusterAddon, and returns the corresponding clusterAddon object, and an error if there is any.
func (*FakeClusterAddons) List ¶
func (c *FakeClusterAddons) List(ctx context.Context, opts v1.ListOptions) (result *platform.ClusterAddonList, err error)
List takes label and field selectors, and returns the list of ClusterAddons that match those selectors.
type FakeClusterCredentials ¶
type FakeClusterCredentials struct {
Fake *FakePlatform
}
FakeClusterCredentials implements ClusterCredentialInterface
func (*FakeClusterCredentials) Create ¶
func (c *FakeClusterCredentials) Create(ctx context.Context, clusterCredential *platform.ClusterCredential, opts v1.CreateOptions) (result *platform.ClusterCredential, err error)
Create takes the representation of a clusterCredential and creates it. Returns the server's representation of the clusterCredential, and an error, if there is any.
func (*FakeClusterCredentials) Delete ¶
func (c *FakeClusterCredentials) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterCredential and deletes it. Returns an error if one occurs.
func (*FakeClusterCredentials) Get ¶
func (c *FakeClusterCredentials) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.ClusterCredential, err error)
Get takes name of the clusterCredential, and returns the corresponding clusterCredential object, and an error if there is any.
func (*FakeClusterCredentials) List ¶
func (c *FakeClusterCredentials) List(ctx context.Context, opts v1.ListOptions) (result *platform.ClusterCredentialList, err error)
List takes label and field selectors, and returns the list of ClusterCredentials that match those selectors.
func (*FakeClusterCredentials) Patch ¶
func (c *FakeClusterCredentials) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *platform.ClusterCredential, err error)
Patch applies the patch and returns the patched clusterCredential.
func (*FakeClusterCredentials) Update ¶
func (c *FakeClusterCredentials) Update(ctx context.Context, clusterCredential *platform.ClusterCredential, opts v1.UpdateOptions) (result *platform.ClusterCredential, err error)
Update takes the representation of a clusterCredential and updates it. Returns the server's representation of the clusterCredential, and an error, if there is any.
func (*FakeClusterCredentials) Watch ¶
func (c *FakeClusterCredentials) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterCredentials.
type FakeClusterGroupAPIResourceItemses ¶ added in v1.8.0
type FakeClusterGroupAPIResourceItemses struct {
Fake *FakePlatform
}
FakeClusterGroupAPIResourceItemses implements ClusterGroupAPIResourceItemsInterface
func (*FakeClusterGroupAPIResourceItemses) Get ¶ added in v1.8.0
func (c *FakeClusterGroupAPIResourceItemses) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.ClusterGroupAPIResourceItems, err error)
Get takes name of the clusterGroupAPIResourceItems, and returns the corresponding clusterGroupAPIResourceItems object, and an error if there is any.
func (*FakeClusterGroupAPIResourceItemses) List ¶ added in v1.8.0
func (c *FakeClusterGroupAPIResourceItemses) List(ctx context.Context, opts v1.ListOptions) (result *platform.ClusterGroupAPIResourceItemsList, err error)
List takes label and field selectors, and returns the list of ClusterGroupAPIResourceItemses that match those selectors.
type FakeClusters ¶
type FakeClusters struct {
Fake *FakePlatform
}
FakeClusters implements ClusterInterface
func (*FakeClusters) Create ¶
func (c *FakeClusters) Create(ctx context.Context, cluster *platform.Cluster, opts v1.CreateOptions) (result *platform.Cluster, err error)
Create takes the representation of a cluster and creates it. Returns the server's representation of the cluster, and an error, if there is any.
func (*FakeClusters) Delete ¶
func (c *FakeClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the cluster and deletes it. Returns an error if one occurs.
func (*FakeClusters) Get ¶
func (c *FakeClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.Cluster, err error)
Get takes name of the cluster, and returns the corresponding cluster object, and an error if there is any.
func (*FakeClusters) List ¶
func (c *FakeClusters) List(ctx context.Context, opts v1.ListOptions) (result *platform.ClusterList, err error)
List takes label and field selectors, and returns the list of Clusters that match those selectors.
func (*FakeClusters) Patch ¶
func (c *FakeClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *platform.Cluster, err error)
Patch applies the patch and returns the patched cluster.
func (*FakeClusters) Update ¶
func (c *FakeClusters) Update(ctx context.Context, cluster *platform.Cluster, opts v1.UpdateOptions) (result *platform.Cluster, err error)
Update takes the representation of a cluster and updates it. Returns the server's representation of the cluster, and an error, if there is any.
func (*FakeClusters) UpdateStatus ¶
func (c *FakeClusters) UpdateStatus(ctx context.Context, cluster *platform.Cluster, opts v1.UpdateOptions) (*platform.Cluster, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusters) Watch ¶
func (c *FakeClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusters.
type FakeConfigMaps ¶
type FakeConfigMaps struct {
Fake *FakePlatform
}
FakeConfigMaps implements ConfigMapInterface
func (*FakeConfigMaps) Create ¶
func (c *FakeConfigMaps) Create(ctx context.Context, configMap *platform.ConfigMap, opts v1.CreateOptions) (result *platform.ConfigMap, err error)
Create takes the representation of a configMap and creates it. Returns the server's representation of the configMap, and an error, if there is any.
func (*FakeConfigMaps) Delete ¶
func (c *FakeConfigMaps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the configMap and deletes it. Returns an error if one occurs.
func (*FakeConfigMaps) DeleteCollection ¶
func (c *FakeConfigMaps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConfigMaps) Get ¶
func (c *FakeConfigMaps) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.ConfigMap, err error)
Get takes name of the configMap, and returns the corresponding configMap object, and an error if there is any.
func (*FakeConfigMaps) List ¶
func (c *FakeConfigMaps) List(ctx context.Context, opts v1.ListOptions) (result *platform.ConfigMapList, err error)
List takes label and field selectors, and returns the list of ConfigMaps that match those selectors.
func (*FakeConfigMaps) Patch ¶
func (c *FakeConfigMaps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *platform.ConfigMap, err error)
Patch applies the patch and returns the patched configMap.
func (*FakeConfigMaps) Update ¶
func (c *FakeConfigMaps) Update(ctx context.Context, configMap *platform.ConfigMap, opts v1.UpdateOptions) (result *platform.ConfigMap, err error)
Update takes the representation of a configMap and updates it. Returns the server's representation of the configMap, and an error, if there is any.
func (*FakeConfigMaps) Watch ¶
func (c *FakeConfigMaps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested configMaps.
type FakeCronHPAs ¶
type FakeCronHPAs struct {
Fake *FakePlatform
}
FakeCronHPAs implements CronHPAInterface
func (*FakeCronHPAs) Create ¶
func (c *FakeCronHPAs) Create(ctx context.Context, cronHPA *platform.CronHPA, opts v1.CreateOptions) (result *platform.CronHPA, err error)
Create takes the representation of a cronHPA and creates it. Returns the server's representation of the cronHPA, and an error, if there is any.
func (*FakeCronHPAs) Delete ¶
func (c *FakeCronHPAs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the cronHPA and deletes it. Returns an error if one occurs.
func (*FakeCronHPAs) Get ¶
func (c *FakeCronHPAs) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.CronHPA, err error)
Get takes name of the cronHPA, and returns the corresponding cronHPA object, and an error if there is any.
func (*FakeCronHPAs) List ¶
func (c *FakeCronHPAs) List(ctx context.Context, opts v1.ListOptions) (result *platform.CronHPAList, err error)
List takes label and field selectors, and returns the list of CronHPAs that match those selectors.
func (*FakeCronHPAs) Patch ¶
func (c *FakeCronHPAs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *platform.CronHPA, err error)
Patch applies the patch and returns the patched cronHPA.
func (*FakeCronHPAs) Update ¶
func (c *FakeCronHPAs) Update(ctx context.Context, cronHPA *platform.CronHPA, opts v1.UpdateOptions) (result *platform.CronHPA, err error)
Update takes the representation of a cronHPA and updates it. Returns the server's representation of the cronHPA, and an error, if there is any.
func (*FakeCronHPAs) UpdateStatus ¶
func (c *FakeCronHPAs) UpdateStatus(ctx context.Context, cronHPA *platform.CronHPA, opts v1.UpdateOptions) (*platform.CronHPA, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCronHPAs) Watch ¶
func (c *FakeCronHPAs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cronHPAs.
type FakeHelms ¶
type FakeHelms struct {
Fake *FakePlatform
}
FakeHelms implements HelmInterface
func (*FakeHelms) Create ¶
func (c *FakeHelms) Create(ctx context.Context, helm *platform.Helm, opts v1.CreateOptions) (result *platform.Helm, err error)
Create takes the representation of a helm and creates it. Returns the server's representation of the helm, and an error, if there is any.
func (*FakeHelms) Delete ¶
Delete takes name of the helm and deletes it. Returns an error if one occurs.
func (*FakeHelms) Get ¶
func (c *FakeHelms) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.Helm, err error)
Get takes name of the helm, and returns the corresponding helm object, and an error if there is any.
func (*FakeHelms) List ¶
func (c *FakeHelms) List(ctx context.Context, opts v1.ListOptions) (result *platform.HelmList, err error)
List takes label and field selectors, and returns the list of Helms that match those selectors.
func (*FakeHelms) Patch ¶
func (c *FakeHelms) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *platform.Helm, err error)
Patch applies the patch and returns the patched helm.
func (*FakeHelms) Update ¶
func (c *FakeHelms) Update(ctx context.Context, helm *platform.Helm, opts v1.UpdateOptions) (result *platform.Helm, err error)
Update takes the representation of a helm and updates it. Returns the server's representation of the helm, and an error, if there is any.
func (*FakeHelms) UpdateStatus ¶
func (c *FakeHelms) UpdateStatus(ctx context.Context, helm *platform.Helm, opts v1.UpdateOptions) (*platform.Helm, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeIPAMs ¶
type FakeIPAMs struct {
Fake *FakePlatform
}
FakeIPAMs implements IPAMInterface
func (*FakeIPAMs) Create ¶
func (c *FakeIPAMs) Create(ctx context.Context, iPAM *platform.IPAM, opts v1.CreateOptions) (result *platform.IPAM, err error)
Create takes the representation of a iPAM and creates it. Returns the server's representation of the iPAM, and an error, if there is any.
func (*FakeIPAMs) Delete ¶
Delete takes name of the iPAM and deletes it. Returns an error if one occurs.
func (*FakeIPAMs) Get ¶
func (c *FakeIPAMs) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.IPAM, err error)
Get takes name of the iPAM, and returns the corresponding iPAM object, and an error if there is any.
func (*FakeIPAMs) List ¶
func (c *FakeIPAMs) List(ctx context.Context, opts v1.ListOptions) (result *platform.IPAMList, err error)
List takes label and field selectors, and returns the list of IPAMs that match those selectors.
func (*FakeIPAMs) Patch ¶
func (c *FakeIPAMs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *platform.IPAM, err error)
Patch applies the patch and returns the patched iPAM.
func (*FakeIPAMs) Update ¶
func (c *FakeIPAMs) Update(ctx context.Context, iPAM *platform.IPAM, opts v1.UpdateOptions) (result *platform.IPAM, err error)
Update takes the representation of a iPAM and updates it. Returns the server's representation of the iPAM, and an error, if there is any.
func (*FakeIPAMs) UpdateStatus ¶
func (c *FakeIPAMs) UpdateStatus(ctx context.Context, iPAM *platform.IPAM, opts v1.UpdateOptions) (*platform.IPAM, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeLBCFs ¶
type FakeLBCFs struct {
Fake *FakePlatform
}
FakeLBCFs implements LBCFInterface
func (*FakeLBCFs) Create ¶
func (c *FakeLBCFs) Create(ctx context.Context, lBCF *platform.LBCF, opts v1.CreateOptions) (result *platform.LBCF, err error)
Create takes the representation of a lBCF and creates it. Returns the server's representation of the lBCF, and an error, if there is any.
func (*FakeLBCFs) Delete ¶
Delete takes name of the lBCF and deletes it. Returns an error if one occurs.
func (*FakeLBCFs) Get ¶
func (c *FakeLBCFs) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.LBCF, err error)
Get takes name of the lBCF, and returns the corresponding lBCF object, and an error if there is any.
func (*FakeLBCFs) List ¶
func (c *FakeLBCFs) List(ctx context.Context, opts v1.ListOptions) (result *platform.LBCFList, err error)
List takes label and field selectors, and returns the list of LBCFs that match those selectors.
func (*FakeLBCFs) Patch ¶
func (c *FakeLBCFs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *platform.LBCF, err error)
Patch applies the patch and returns the patched lBCF.
func (*FakeLBCFs) Update ¶
func (c *FakeLBCFs) Update(ctx context.Context, lBCF *platform.LBCF, opts v1.UpdateOptions) (result *platform.LBCF, err error)
Update takes the representation of a lBCF and updates it. Returns the server's representation of the lBCF, and an error, if there is any.
func (*FakeLBCFs) UpdateStatus ¶
func (c *FakeLBCFs) UpdateStatus(ctx context.Context, lBCF *platform.LBCF, opts v1.UpdateOptions) (*platform.LBCF, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeLogCollectors ¶
type FakeLogCollectors struct {
Fake *FakePlatform
}
FakeLogCollectors implements LogCollectorInterface
func (*FakeLogCollectors) Create ¶
func (c *FakeLogCollectors) Create(ctx context.Context, logCollector *platform.LogCollector, opts v1.CreateOptions) (result *platform.LogCollector, err error)
Create takes the representation of a logCollector and creates it. Returns the server's representation of the logCollector, and an error, if there is any.
func (*FakeLogCollectors) Delete ¶
func (c *FakeLogCollectors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the logCollector and deletes it. Returns an error if one occurs.
func (*FakeLogCollectors) Get ¶
func (c *FakeLogCollectors) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.LogCollector, err error)
Get takes name of the logCollector, and returns the corresponding logCollector object, and an error if there is any.
func (*FakeLogCollectors) List ¶
func (c *FakeLogCollectors) List(ctx context.Context, opts v1.ListOptions) (result *platform.LogCollectorList, err error)
List takes label and field selectors, and returns the list of LogCollectors that match those selectors.
func (*FakeLogCollectors) Patch ¶
func (c *FakeLogCollectors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *platform.LogCollector, err error)
Patch applies the patch and returns the patched logCollector.
func (*FakeLogCollectors) Update ¶
func (c *FakeLogCollectors) Update(ctx context.Context, logCollector *platform.LogCollector, opts v1.UpdateOptions) (result *platform.LogCollector, err error)
Update takes the representation of a logCollector and updates it. Returns the server's representation of the logCollector, and an error, if there is any.
func (*FakeLogCollectors) UpdateStatus ¶
func (c *FakeLogCollectors) UpdateStatus(ctx context.Context, logCollector *platform.LogCollector, opts v1.UpdateOptions) (*platform.LogCollector, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeLogCollectors) Watch ¶
func (c *FakeLogCollectors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested logCollectors.
type FakeMachines ¶
type FakeMachines struct {
Fake *FakePlatform
}
FakeMachines implements MachineInterface
func (*FakeMachines) Create ¶
func (c *FakeMachines) Create(ctx context.Context, machine *platform.Machine, opts v1.CreateOptions) (result *platform.Machine, err error)
Create takes the representation of a machine and creates it. Returns the server's representation of the machine, and an error, if there is any.
func (*FakeMachines) Delete ¶
func (c *FakeMachines) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the machine and deletes it. Returns an error if one occurs.
func (*FakeMachines) Get ¶
func (c *FakeMachines) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.Machine, err error)
Get takes name of the machine, and returns the corresponding machine object, and an error if there is any.
func (*FakeMachines) List ¶
func (c *FakeMachines) List(ctx context.Context, opts v1.ListOptions) (result *platform.MachineList, err error)
List takes label and field selectors, and returns the list of Machines that match those selectors.
func (*FakeMachines) Patch ¶
func (c *FakeMachines) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *platform.Machine, err error)
Patch applies the patch and returns the patched machine.
func (*FakeMachines) Update ¶
func (c *FakeMachines) Update(ctx context.Context, machine *platform.Machine, opts v1.UpdateOptions) (result *platform.Machine, err error)
Update takes the representation of a machine and updates it. Returns the server's representation of the machine, and an error, if there is any.
func (*FakeMachines) UpdateStatus ¶
func (c *FakeMachines) UpdateStatus(ctx context.Context, machine *platform.Machine, opts v1.UpdateOptions) (*platform.Machine, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMachines) Watch ¶
func (c *FakeMachines) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested machines.
type FakePersistentEvents ¶
type FakePersistentEvents struct {
Fake *FakePlatform
}
FakePersistentEvents implements PersistentEventInterface
func (*FakePersistentEvents) Create ¶
func (c *FakePersistentEvents) Create(ctx context.Context, persistentEvent *platform.PersistentEvent, opts v1.CreateOptions) (result *platform.PersistentEvent, err error)
Create takes the representation of a persistentEvent and creates it. Returns the server's representation of the persistentEvent, and an error, if there is any.
func (*FakePersistentEvents) Delete ¶
func (c *FakePersistentEvents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the persistentEvent and deletes it. Returns an error if one occurs.
func (*FakePersistentEvents) Get ¶
func (c *FakePersistentEvents) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.PersistentEvent, err error)
Get takes name of the persistentEvent, and returns the corresponding persistentEvent object, and an error if there is any.
func (*FakePersistentEvents) List ¶
func (c *FakePersistentEvents) List(ctx context.Context, opts v1.ListOptions) (result *platform.PersistentEventList, err error)
List takes label and field selectors, and returns the list of PersistentEvents that match those selectors.
func (*FakePersistentEvents) Patch ¶
func (c *FakePersistentEvents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *platform.PersistentEvent, err error)
Patch applies the patch and returns the patched persistentEvent.
func (*FakePersistentEvents) Update ¶
func (c *FakePersistentEvents) Update(ctx context.Context, persistentEvent *platform.PersistentEvent, opts v1.UpdateOptions) (result *platform.PersistentEvent, err error)
Update takes the representation of a persistentEvent and updates it. Returns the server's representation of the persistentEvent, and an error, if there is any.
func (*FakePersistentEvents) UpdateStatus ¶
func (c *FakePersistentEvents) UpdateStatus(ctx context.Context, persistentEvent *platform.PersistentEvent, opts v1.UpdateOptions) (*platform.PersistentEvent, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePersistentEvents) Watch ¶
func (c *FakePersistentEvents) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested persistentEvents.
type FakePlatform ¶
func (*FakePlatform) CSIOperators ¶
func (c *FakePlatform) CSIOperators() internalversion.CSIOperatorInterface
func (*FakePlatform) ClusterAddonTypes ¶
func (c *FakePlatform) ClusterAddonTypes() internalversion.ClusterAddonTypeInterface
func (*FakePlatform) ClusterAddons ¶
func (c *FakePlatform) ClusterAddons() internalversion.ClusterAddonInterface
func (*FakePlatform) ClusterCredentials ¶
func (c *FakePlatform) ClusterCredentials() internalversion.ClusterCredentialInterface
func (*FakePlatform) ClusterGroupAPIResourceItemses ¶ added in v1.8.0
func (c *FakePlatform) ClusterGroupAPIResourceItemses() internalversion.ClusterGroupAPIResourceItemsInterface
func (*FakePlatform) Clusters ¶
func (c *FakePlatform) Clusters() internalversion.ClusterInterface
func (*FakePlatform) ConfigMaps ¶
func (c *FakePlatform) ConfigMaps() internalversion.ConfigMapInterface
func (*FakePlatform) CronHPAs ¶
func (c *FakePlatform) CronHPAs() internalversion.CronHPAInterface
func (*FakePlatform) Helms ¶
func (c *FakePlatform) Helms() internalversion.HelmInterface
func (*FakePlatform) IPAMs ¶
func (c *FakePlatform) IPAMs() internalversion.IPAMInterface
func (*FakePlatform) LBCFs ¶
func (c *FakePlatform) LBCFs() internalversion.LBCFInterface
func (*FakePlatform) LogCollectors ¶
func (c *FakePlatform) LogCollectors() internalversion.LogCollectorInterface
func (*FakePlatform) Machines ¶
func (c *FakePlatform) Machines() internalversion.MachineInterface
func (*FakePlatform) PersistentEvents ¶
func (c *FakePlatform) PersistentEvents() internalversion.PersistentEventInterface
func (*FakePlatform) Prometheuses ¶
func (c *FakePlatform) Prometheuses() internalversion.PrometheusInterface
func (*FakePlatform) RESTClient ¶
func (c *FakePlatform) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakePlatform) Registries ¶
func (c *FakePlatform) Registries() internalversion.RegistryInterface
func (*FakePlatform) TappControllers ¶
func (c *FakePlatform) TappControllers() internalversion.TappControllerInterface
func (*FakePlatform) VolumeDecorators ¶
func (c *FakePlatform) VolumeDecorators() internalversion.VolumeDecoratorInterface
type FakePrometheuses ¶
type FakePrometheuses struct {
Fake *FakePlatform
}
FakePrometheuses implements PrometheusInterface
func (*FakePrometheuses) Create ¶
func (c *FakePrometheuses) Create(ctx context.Context, prometheus *platform.Prometheus, opts v1.CreateOptions) (result *platform.Prometheus, err error)
Create takes the representation of a prometheus and creates it. Returns the server's representation of the prometheus, and an error, if there is any.
func (*FakePrometheuses) Delete ¶
func (c *FakePrometheuses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the prometheus and deletes it. Returns an error if one occurs.
func (*FakePrometheuses) Get ¶
func (c *FakePrometheuses) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.Prometheus, err error)
Get takes name of the prometheus, and returns the corresponding prometheus object, and an error if there is any.
func (*FakePrometheuses) List ¶
func (c *FakePrometheuses) List(ctx context.Context, opts v1.ListOptions) (result *platform.PrometheusList, err error)
List takes label and field selectors, and returns the list of Prometheuses that match those selectors.
func (*FakePrometheuses) Patch ¶
func (c *FakePrometheuses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *platform.Prometheus, err error)
Patch applies the patch and returns the patched prometheus.
func (*FakePrometheuses) Update ¶
func (c *FakePrometheuses) Update(ctx context.Context, prometheus *platform.Prometheus, opts v1.UpdateOptions) (result *platform.Prometheus, err error)
Update takes the representation of a prometheus and updates it. Returns the server's representation of the prometheus, and an error, if there is any.
func (*FakePrometheuses) UpdateStatus ¶
func (c *FakePrometheuses) UpdateStatus(ctx context.Context, prometheus *platform.Prometheus, opts v1.UpdateOptions) (*platform.Prometheus, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePrometheuses) Watch ¶
func (c *FakePrometheuses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested prometheuses.
type FakeRegistries ¶
type FakeRegistries struct {
Fake *FakePlatform
}
FakeRegistries implements RegistryInterface
func (*FakeRegistries) Create ¶
func (c *FakeRegistries) Create(ctx context.Context, registry *platform.Registry, opts v1.CreateOptions) (result *platform.Registry, err error)
Create takes the representation of a registry and creates it. Returns the server's representation of the registry, and an error, if there is any.
func (*FakeRegistries) Delete ¶
func (c *FakeRegistries) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the registry and deletes it. Returns an error if one occurs.
func (*FakeRegistries) Get ¶
func (c *FakeRegistries) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.Registry, err error)
Get takes name of the registry, and returns the corresponding registry object, and an error if there is any.
func (*FakeRegistries) List ¶
func (c *FakeRegistries) List(ctx context.Context, opts v1.ListOptions) (result *platform.RegistryList, err error)
List takes label and field selectors, and returns the list of Registries that match those selectors.
func (*FakeRegistries) Patch ¶
func (c *FakeRegistries) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *platform.Registry, err error)
Patch applies the patch and returns the patched registry.
func (*FakeRegistries) Update ¶
func (c *FakeRegistries) Update(ctx context.Context, registry *platform.Registry, opts v1.UpdateOptions) (result *platform.Registry, err error)
Update takes the representation of a registry and updates it. Returns the server's representation of the registry, and an error, if there is any.
func (*FakeRegistries) Watch ¶
func (c *FakeRegistries) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested registries.
type FakeTappControllers ¶
type FakeTappControllers struct {
Fake *FakePlatform
}
FakeTappControllers implements TappControllerInterface
func (*FakeTappControllers) Create ¶
func (c *FakeTappControllers) Create(ctx context.Context, tappController *platform.TappController, opts v1.CreateOptions) (result *platform.TappController, err error)
Create takes the representation of a tappController and creates it. Returns the server's representation of the tappController, and an error, if there is any.
func (*FakeTappControllers) Delete ¶
func (c *FakeTappControllers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the tappController and deletes it. Returns an error if one occurs.
func (*FakeTappControllers) Get ¶
func (c *FakeTappControllers) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.TappController, err error)
Get takes name of the tappController, and returns the corresponding tappController object, and an error if there is any.
func (*FakeTappControllers) List ¶
func (c *FakeTappControllers) List(ctx context.Context, opts v1.ListOptions) (result *platform.TappControllerList, err error)
List takes label and field selectors, and returns the list of TappControllers that match those selectors.
func (*FakeTappControllers) Patch ¶
func (c *FakeTappControllers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *platform.TappController, err error)
Patch applies the patch and returns the patched tappController.
func (*FakeTappControllers) Update ¶
func (c *FakeTappControllers) Update(ctx context.Context, tappController *platform.TappController, opts v1.UpdateOptions) (result *platform.TappController, err error)
Update takes the representation of a tappController and updates it. Returns the server's representation of the tappController, and an error, if there is any.
func (*FakeTappControllers) UpdateStatus ¶
func (c *FakeTappControllers) UpdateStatus(ctx context.Context, tappController *platform.TappController, opts v1.UpdateOptions) (*platform.TappController, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTappControllers) Watch ¶
func (c *FakeTappControllers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested tappControllers.
type FakeVolumeDecorators ¶
type FakeVolumeDecorators struct {
Fake *FakePlatform
}
FakeVolumeDecorators implements VolumeDecoratorInterface
func (*FakeVolumeDecorators) Create ¶
func (c *FakeVolumeDecorators) Create(ctx context.Context, volumeDecorator *platform.VolumeDecorator, opts v1.CreateOptions) (result *platform.VolumeDecorator, err error)
Create takes the representation of a volumeDecorator and creates it. Returns the server's representation of the volumeDecorator, and an error, if there is any.
func (*FakeVolumeDecorators) Delete ¶
func (c *FakeVolumeDecorators) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the volumeDecorator and deletes it. Returns an error if one occurs.
func (*FakeVolumeDecorators) Get ¶
func (c *FakeVolumeDecorators) Get(ctx context.Context, name string, options v1.GetOptions) (result *platform.VolumeDecorator, err error)
Get takes name of the volumeDecorator, and returns the corresponding volumeDecorator object, and an error if there is any.
func (*FakeVolumeDecorators) List ¶
func (c *FakeVolumeDecorators) List(ctx context.Context, opts v1.ListOptions) (result *platform.VolumeDecoratorList, err error)
List takes label and field selectors, and returns the list of VolumeDecorators that match those selectors.
func (*FakeVolumeDecorators) Patch ¶
func (c *FakeVolumeDecorators) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *platform.VolumeDecorator, err error)
Patch applies the patch and returns the patched volumeDecorator.
func (*FakeVolumeDecorators) Update ¶
func (c *FakeVolumeDecorators) Update(ctx context.Context, volumeDecorator *platform.VolumeDecorator, opts v1.UpdateOptions) (result *platform.VolumeDecorator, err error)
Update takes the representation of a volumeDecorator and updates it. Returns the server's representation of the volumeDecorator, and an error, if there is any.
func (*FakeVolumeDecorators) UpdateStatus ¶
func (c *FakeVolumeDecorators) UpdateStatus(ctx context.Context, volumeDecorator *platform.VolumeDecorator, opts v1.UpdateOptions) (*platform.VolumeDecorator, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVolumeDecorators) Watch ¶
func (c *FakeVolumeDecorators) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested volumeDecorators.
Source Files ¶
- doc.go
- fake_cluster.go
- fake_clusteraddon.go
- fake_clusteraddontype.go
- fake_clustercredential.go
- fake_clustergroupapiresourceitems.go
- fake_configmap.go
- fake_cronhpa.go
- fake_csioperator.go
- fake_helm.go
- fake_ipam.go
- fake_lbcf.go
- fake_logcollector.go
- fake_machine.go
- fake_persistentevent.go
- fake_platform_client.go
- fake_prometheus.go
- fake_registry.go
- fake_tappcontroller.go
- fake_volumedecorator.go