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 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) Machines() internalversion.MachineInterface
- func (c *FakePlatform) PersistentEvents() internalversion.PersistentEventInterface
- func (c *FakePlatform) RESTClient() rest.Interface
- func (c *FakePlatform) Registries() internalversion.RegistryInterface
- func (c *FakePlatform) TappControllers() internalversion.TappControllerInterface
- 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)
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 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) Machines ¶
func (c *FakePlatform) Machines() internalversion.MachineInterface
func (*FakePlatform) PersistentEvents ¶
func (c *FakePlatform) PersistentEvents() internalversion.PersistentEventInterface
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
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.