Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAppsV1alpha1
- func (c *FakeAppsV1alpha1) NodePools() v1alpha1.NodePoolInterface
- func (c *FakeAppsV1alpha1) RESTClient() rest.Interface
- func (c *FakeAppsV1alpha1) UnitedDeployments(namespace string) v1alpha1.UnitedDeploymentInterface
- func (c *FakeAppsV1alpha1) YurtAppDaemons(namespace string) v1alpha1.YurtAppDaemonInterface
- func (c *FakeAppsV1alpha1) YurtAppSets(namespace string) v1alpha1.YurtAppSetInterface
- func (c *FakeAppsV1alpha1) YurtIngresses() v1alpha1.YurtIngressInterface
- type FakeNodePools
- func (c *FakeNodePools) Create(ctx context.Context, nodePool *v1alpha1.NodePool, opts v1.CreateOptions) (result *v1alpha1.NodePool, err error)
- func (c *FakeNodePools) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNodePools) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNodePools) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodePool, err error)
- func (c *FakeNodePools) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodePoolList, err error)
- func (c *FakeNodePools) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NodePool, err error)
- func (c *FakeNodePools) Update(ctx context.Context, nodePool *v1alpha1.NodePool, opts v1.UpdateOptions) (result *v1alpha1.NodePool, err error)
- func (c *FakeNodePools) UpdateStatus(ctx context.Context, nodePool *v1alpha1.NodePool, opts v1.UpdateOptions) (*v1alpha1.NodePool, error)
- func (c *FakeNodePools) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeUnitedDeployments
- func (c *FakeUnitedDeployments) Create(ctx context.Context, unitedDeployment *v1alpha1.UnitedDeployment, ...) (result *v1alpha1.UnitedDeployment, err error)
- func (c *FakeUnitedDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeUnitedDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeUnitedDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.UnitedDeployment, err error)
- func (c *FakeUnitedDeployments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.UnitedDeploymentList, err error)
- func (c *FakeUnitedDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.UnitedDeployment, err error)
- func (c *FakeUnitedDeployments) Update(ctx context.Context, unitedDeployment *v1alpha1.UnitedDeployment, ...) (result *v1alpha1.UnitedDeployment, err error)
- func (c *FakeUnitedDeployments) UpdateStatus(ctx context.Context, unitedDeployment *v1alpha1.UnitedDeployment, ...) (*v1alpha1.UnitedDeployment, error)
- func (c *FakeUnitedDeployments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeYurtAppDaemons
- func (c *FakeYurtAppDaemons) Create(ctx context.Context, yurtAppDaemon *v1alpha1.YurtAppDaemon, ...) (result *v1alpha1.YurtAppDaemon, err error)
- func (c *FakeYurtAppDaemons) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeYurtAppDaemons) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeYurtAppDaemons) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.YurtAppDaemon, err error)
- func (c *FakeYurtAppDaemons) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.YurtAppDaemonList, err error)
- func (c *FakeYurtAppDaemons) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.YurtAppDaemon, err error)
- func (c *FakeYurtAppDaemons) Update(ctx context.Context, yurtAppDaemon *v1alpha1.YurtAppDaemon, ...) (result *v1alpha1.YurtAppDaemon, err error)
- func (c *FakeYurtAppDaemons) UpdateStatus(ctx context.Context, yurtAppDaemon *v1alpha1.YurtAppDaemon, ...) (*v1alpha1.YurtAppDaemon, error)
- func (c *FakeYurtAppDaemons) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeYurtAppSets
- func (c *FakeYurtAppSets) Create(ctx context.Context, yurtAppSet *v1alpha1.YurtAppSet, opts v1.CreateOptions) (result *v1alpha1.YurtAppSet, err error)
- func (c *FakeYurtAppSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeYurtAppSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeYurtAppSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.YurtAppSet, err error)
- func (c *FakeYurtAppSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.YurtAppSetList, err error)
- func (c *FakeYurtAppSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.YurtAppSet, err error)
- func (c *FakeYurtAppSets) Update(ctx context.Context, yurtAppSet *v1alpha1.YurtAppSet, opts v1.UpdateOptions) (result *v1alpha1.YurtAppSet, err error)
- func (c *FakeYurtAppSets) UpdateStatus(ctx context.Context, yurtAppSet *v1alpha1.YurtAppSet, opts v1.UpdateOptions) (*v1alpha1.YurtAppSet, error)
- func (c *FakeYurtAppSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeYurtIngresses
- func (c *FakeYurtIngresses) Create(ctx context.Context, yurtIngress *v1alpha1.YurtIngress, opts v1.CreateOptions) (result *v1alpha1.YurtIngress, err error)
- func (c *FakeYurtIngresses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeYurtIngresses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeYurtIngresses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.YurtIngress, err error)
- func (c *FakeYurtIngresses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.YurtIngressList, err error)
- func (c *FakeYurtIngresses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.YurtIngress, err error)
- func (c *FakeYurtIngresses) Update(ctx context.Context, yurtIngress *v1alpha1.YurtIngress, opts v1.UpdateOptions) (result *v1alpha1.YurtIngress, err error)
- func (c *FakeYurtIngresses) UpdateStatus(ctx context.Context, yurtIngress *v1alpha1.YurtIngress, opts v1.UpdateOptions) (*v1alpha1.YurtIngress, error)
- func (c *FakeYurtIngresses) 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 FakeAppsV1alpha1 ¶
func (*FakeAppsV1alpha1) NodePools ¶
func (c *FakeAppsV1alpha1) NodePools() v1alpha1.NodePoolInterface
func (*FakeAppsV1alpha1) RESTClient ¶
func (c *FakeAppsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAppsV1alpha1) UnitedDeployments ¶
func (c *FakeAppsV1alpha1) UnitedDeployments(namespace string) v1alpha1.UnitedDeploymentInterface
func (*FakeAppsV1alpha1) YurtAppDaemons ¶
func (c *FakeAppsV1alpha1) YurtAppDaemons(namespace string) v1alpha1.YurtAppDaemonInterface
func (*FakeAppsV1alpha1) YurtAppSets ¶ added in v0.6.0
func (c *FakeAppsV1alpha1) YurtAppSets(namespace string) v1alpha1.YurtAppSetInterface
func (*FakeAppsV1alpha1) YurtIngresses ¶
func (c *FakeAppsV1alpha1) YurtIngresses() v1alpha1.YurtIngressInterface
type FakeNodePools ¶
type FakeNodePools struct {
Fake *FakeAppsV1alpha1
}
FakeNodePools implements NodePoolInterface
func (*FakeNodePools) Create ¶
func (c *FakeNodePools) Create(ctx context.Context, nodePool *v1alpha1.NodePool, opts v1.CreateOptions) (result *v1alpha1.NodePool, err error)
Create takes the representation of a nodePool and creates it. Returns the server's representation of the nodePool, and an error, if there is any.
func (*FakeNodePools) Delete ¶
func (c *FakeNodePools) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the nodePool and deletes it. Returns an error if one occurs.
func (*FakeNodePools) DeleteCollection ¶
func (c *FakeNodePools) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodePools) Get ¶
func (c *FakeNodePools) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodePool, err error)
Get takes name of the nodePool, and returns the corresponding nodePool object, and an error if there is any.
func (*FakeNodePools) List ¶
func (c *FakeNodePools) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodePoolList, err error)
List takes label and field selectors, and returns the list of NodePools that match those selectors.
func (*FakeNodePools) Patch ¶
func (c *FakeNodePools) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NodePool, err error)
Patch applies the patch and returns the patched nodePool.
func (*FakeNodePools) Update ¶
func (c *FakeNodePools) Update(ctx context.Context, nodePool *v1alpha1.NodePool, opts v1.UpdateOptions) (result *v1alpha1.NodePool, err error)
Update takes the representation of a nodePool and updates it. Returns the server's representation of the nodePool, and an error, if there is any.
func (*FakeNodePools) UpdateStatus ¶
func (c *FakeNodePools) UpdateStatus(ctx context.Context, nodePool *v1alpha1.NodePool, opts v1.UpdateOptions) (*v1alpha1.NodePool, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNodePools) Watch ¶
func (c *FakeNodePools) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nodePools.
type FakeUnitedDeployments ¶
type FakeUnitedDeployments struct { Fake *FakeAppsV1alpha1 // contains filtered or unexported fields }
FakeUnitedDeployments implements UnitedDeploymentInterface
func (*FakeUnitedDeployments) Create ¶
func (c *FakeUnitedDeployments) Create(ctx context.Context, unitedDeployment *v1alpha1.UnitedDeployment, opts v1.CreateOptions) (result *v1alpha1.UnitedDeployment, err error)
Create takes the representation of a unitedDeployment and creates it. Returns the server's representation of the unitedDeployment, and an error, if there is any.
func (*FakeUnitedDeployments) Delete ¶
func (c *FakeUnitedDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the unitedDeployment and deletes it. Returns an error if one occurs.
func (*FakeUnitedDeployments) DeleteCollection ¶
func (c *FakeUnitedDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUnitedDeployments) Get ¶
func (c *FakeUnitedDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.UnitedDeployment, err error)
Get takes name of the unitedDeployment, and returns the corresponding unitedDeployment object, and an error if there is any.
func (*FakeUnitedDeployments) List ¶
func (c *FakeUnitedDeployments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.UnitedDeploymentList, err error)
List takes label and field selectors, and returns the list of UnitedDeployments that match those selectors.
func (*FakeUnitedDeployments) Patch ¶
func (c *FakeUnitedDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.UnitedDeployment, err error)
Patch applies the patch and returns the patched unitedDeployment.
func (*FakeUnitedDeployments) Update ¶
func (c *FakeUnitedDeployments) Update(ctx context.Context, unitedDeployment *v1alpha1.UnitedDeployment, opts v1.UpdateOptions) (result *v1alpha1.UnitedDeployment, err error)
Update takes the representation of a unitedDeployment and updates it. Returns the server's representation of the unitedDeployment, and an error, if there is any.
func (*FakeUnitedDeployments) UpdateStatus ¶
func (c *FakeUnitedDeployments) UpdateStatus(ctx context.Context, unitedDeployment *v1alpha1.UnitedDeployment, opts v1.UpdateOptions) (*v1alpha1.UnitedDeployment, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeUnitedDeployments) Watch ¶
func (c *FakeUnitedDeployments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested unitedDeployments.
type FakeYurtAppDaemons ¶
type FakeYurtAppDaemons struct { Fake *FakeAppsV1alpha1 // contains filtered or unexported fields }
FakeYurtAppDaemons implements YurtAppDaemonInterface
func (*FakeYurtAppDaemons) Create ¶
func (c *FakeYurtAppDaemons) Create(ctx context.Context, yurtAppDaemon *v1alpha1.YurtAppDaemon, opts v1.CreateOptions) (result *v1alpha1.YurtAppDaemon, err error)
Create takes the representation of a yurtAppDaemon and creates it. Returns the server's representation of the yurtAppDaemon, and an error, if there is any.
func (*FakeYurtAppDaemons) Delete ¶
func (c *FakeYurtAppDaemons) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the yurtAppDaemon and deletes it. Returns an error if one occurs.
func (*FakeYurtAppDaemons) DeleteCollection ¶
func (c *FakeYurtAppDaemons) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeYurtAppDaemons) Get ¶
func (c *FakeYurtAppDaemons) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.YurtAppDaemon, err error)
Get takes name of the yurtAppDaemon, and returns the corresponding yurtAppDaemon object, and an error if there is any.
func (*FakeYurtAppDaemons) List ¶
func (c *FakeYurtAppDaemons) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.YurtAppDaemonList, err error)
List takes label and field selectors, and returns the list of YurtAppDaemons that match those selectors.
func (*FakeYurtAppDaemons) Patch ¶
func (c *FakeYurtAppDaemons) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.YurtAppDaemon, err error)
Patch applies the patch and returns the patched yurtAppDaemon.
func (*FakeYurtAppDaemons) Update ¶
func (c *FakeYurtAppDaemons) Update(ctx context.Context, yurtAppDaemon *v1alpha1.YurtAppDaemon, opts v1.UpdateOptions) (result *v1alpha1.YurtAppDaemon, err error)
Update takes the representation of a yurtAppDaemon and updates it. Returns the server's representation of the yurtAppDaemon, and an error, if there is any.
func (*FakeYurtAppDaemons) UpdateStatus ¶
func (c *FakeYurtAppDaemons) UpdateStatus(ctx context.Context, yurtAppDaemon *v1alpha1.YurtAppDaemon, opts v1.UpdateOptions) (*v1alpha1.YurtAppDaemon, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeYurtAppDaemons) Watch ¶
func (c *FakeYurtAppDaemons) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested yurtAppDaemons.
type FakeYurtAppSets ¶ added in v0.6.0
type FakeYurtAppSets struct { Fake *FakeAppsV1alpha1 // contains filtered or unexported fields }
FakeYurtAppSets implements YurtAppSetInterface
func (*FakeYurtAppSets) Create ¶ added in v0.6.0
func (c *FakeYurtAppSets) Create(ctx context.Context, yurtAppSet *v1alpha1.YurtAppSet, opts v1.CreateOptions) (result *v1alpha1.YurtAppSet, err error)
Create takes the representation of a yurtAppSet and creates it. Returns the server's representation of the yurtAppSet, and an error, if there is any.
func (*FakeYurtAppSets) Delete ¶ added in v0.6.0
func (c *FakeYurtAppSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the yurtAppSet and deletes it. Returns an error if one occurs.
func (*FakeYurtAppSets) DeleteCollection ¶ added in v0.6.0
func (c *FakeYurtAppSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeYurtAppSets) Get ¶ added in v0.6.0
func (c *FakeYurtAppSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.YurtAppSet, err error)
Get takes name of the yurtAppSet, and returns the corresponding yurtAppSet object, and an error if there is any.
func (*FakeYurtAppSets) List ¶ added in v0.6.0
func (c *FakeYurtAppSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.YurtAppSetList, err error)
List takes label and field selectors, and returns the list of YurtAppSets that match those selectors.
func (*FakeYurtAppSets) Patch ¶ added in v0.6.0
func (c *FakeYurtAppSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.YurtAppSet, err error)
Patch applies the patch and returns the patched yurtAppSet.
func (*FakeYurtAppSets) Update ¶ added in v0.6.0
func (c *FakeYurtAppSets) Update(ctx context.Context, yurtAppSet *v1alpha1.YurtAppSet, opts v1.UpdateOptions) (result *v1alpha1.YurtAppSet, err error)
Update takes the representation of a yurtAppSet and updates it. Returns the server's representation of the yurtAppSet, and an error, if there is any.
func (*FakeYurtAppSets) UpdateStatus ¶ added in v0.6.0
func (c *FakeYurtAppSets) UpdateStatus(ctx context.Context, yurtAppSet *v1alpha1.YurtAppSet, opts v1.UpdateOptions) (*v1alpha1.YurtAppSet, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeYurtAppSets) Watch ¶ added in v0.6.0
func (c *FakeYurtAppSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested yurtAppSets.
type FakeYurtIngresses ¶
type FakeYurtIngresses struct {
Fake *FakeAppsV1alpha1
}
FakeYurtIngresses implements YurtIngressInterface
func (*FakeYurtIngresses) Create ¶
func (c *FakeYurtIngresses) Create(ctx context.Context, yurtIngress *v1alpha1.YurtIngress, opts v1.CreateOptions) (result *v1alpha1.YurtIngress, err error)
Create takes the representation of a yurtIngress and creates it. Returns the server's representation of the yurtIngress, and an error, if there is any.
func (*FakeYurtIngresses) Delete ¶
func (c *FakeYurtIngresses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the yurtIngress and deletes it. Returns an error if one occurs.
func (*FakeYurtIngresses) DeleteCollection ¶
func (c *FakeYurtIngresses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeYurtIngresses) Get ¶
func (c *FakeYurtIngresses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.YurtIngress, err error)
Get takes name of the yurtIngress, and returns the corresponding yurtIngress object, and an error if there is any.
func (*FakeYurtIngresses) List ¶
func (c *FakeYurtIngresses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.YurtIngressList, err error)
List takes label and field selectors, and returns the list of YurtIngresses that match those selectors.
func (*FakeYurtIngresses) Patch ¶
func (c *FakeYurtIngresses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.YurtIngress, err error)
Patch applies the patch and returns the patched yurtIngress.
func (*FakeYurtIngresses) Update ¶
func (c *FakeYurtIngresses) Update(ctx context.Context, yurtIngress *v1alpha1.YurtIngress, opts v1.UpdateOptions) (result *v1alpha1.YurtIngress, err error)
Update takes the representation of a yurtIngress and updates it. Returns the server's representation of the yurtIngress, and an error, if there is any.
func (*FakeYurtIngresses) UpdateStatus ¶
func (c *FakeYurtIngresses) UpdateStatus(ctx context.Context, yurtIngress *v1alpha1.YurtIngress, opts v1.UpdateOptions) (*v1alpha1.YurtIngress, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeYurtIngresses) Watch ¶
func (c *FakeYurtIngresses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested yurtIngresses.