Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterV1alpha1
- func (c *FakeClusterV1alpha1) ControlPlanes(namespace string) v1alpha1.ControlPlaneInterface
- func (c *FakeClusterV1alpha1) EKSs(namespace string) v1alpha1.EKSInterface
- func (c *FakeClusterV1alpha1) NodeGroups(namespace string) v1alpha1.NodeGroupInterface
- func (c *FakeClusterV1alpha1) RESTClient() rest.Interface
- type FakeControlPlanes
- func (c *FakeControlPlanes) Create(controlPlane *v1alpha1.ControlPlane) (result *v1alpha1.ControlPlane, err error)
- func (c *FakeControlPlanes) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeControlPlanes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeControlPlanes) Get(name string, options v1.GetOptions) (result *v1alpha1.ControlPlane, err error)
- func (c *FakeControlPlanes) List(opts v1.ListOptions) (result *v1alpha1.ControlPlaneList, err error)
- func (c *FakeControlPlanes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ControlPlane, err error)
- func (c *FakeControlPlanes) Update(controlPlane *v1alpha1.ControlPlane) (result *v1alpha1.ControlPlane, err error)
- func (c *FakeControlPlanes) UpdateStatus(controlPlane *v1alpha1.ControlPlane) (*v1alpha1.ControlPlane, error)
- func (c *FakeControlPlanes) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeEKSs
- func (c *FakeEKSs) Create(eKS *v1alpha1.EKS) (result *v1alpha1.EKS, err error)
- func (c *FakeEKSs) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeEKSs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeEKSs) Get(name string, options v1.GetOptions) (result *v1alpha1.EKS, err error)
- func (c *FakeEKSs) List(opts v1.ListOptions) (result *v1alpha1.EKSList, err error)
- func (c *FakeEKSs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.EKS, err error)
- func (c *FakeEKSs) Update(eKS *v1alpha1.EKS) (result *v1alpha1.EKS, err error)
- func (c *FakeEKSs) UpdateStatus(eKS *v1alpha1.EKS) (*v1alpha1.EKS, error)
- func (c *FakeEKSs) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeNodeGroups
- func (c *FakeNodeGroups) Create(nodeGroup *v1alpha1.NodeGroup) (result *v1alpha1.NodeGroup, err error)
- func (c *FakeNodeGroups) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeNodeGroups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeNodeGroups) Get(name string, options v1.GetOptions) (result *v1alpha1.NodeGroup, err error)
- func (c *FakeNodeGroups) List(opts v1.ListOptions) (result *v1alpha1.NodeGroupList, err error)
- func (c *FakeNodeGroups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.NodeGroup, err error)
- func (c *FakeNodeGroups) Update(nodeGroup *v1alpha1.NodeGroup) (result *v1alpha1.NodeGroup, err error)
- func (c *FakeNodeGroups) UpdateStatus(nodeGroup *v1alpha1.NodeGroup) (*v1alpha1.NodeGroup, error)
- func (c *FakeNodeGroups) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterV1alpha1 ¶
func (*FakeClusterV1alpha1) ControlPlanes ¶
func (c *FakeClusterV1alpha1) ControlPlanes(namespace string) v1alpha1.ControlPlaneInterface
func (*FakeClusterV1alpha1) EKSs ¶
func (c *FakeClusterV1alpha1) EKSs(namespace string) v1alpha1.EKSInterface
func (*FakeClusterV1alpha1) NodeGroups ¶
func (c *FakeClusterV1alpha1) NodeGroups(namespace string) v1alpha1.NodeGroupInterface
func (*FakeClusterV1alpha1) RESTClient ¶
func (c *FakeClusterV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeControlPlanes ¶
type FakeControlPlanes struct { Fake *FakeClusterV1alpha1 // contains filtered or unexported fields }
FakeControlPlanes implements ControlPlaneInterface
func (*FakeControlPlanes) Create ¶
func (c *FakeControlPlanes) Create(controlPlane *v1alpha1.ControlPlane) (result *v1alpha1.ControlPlane, err error)
Create takes the representation of a controlPlane and creates it. Returns the server's representation of the controlPlane, and an error, if there is any.
func (*FakeControlPlanes) Delete ¶
func (c *FakeControlPlanes) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the controlPlane and deletes it. Returns an error if one occurs.
func (*FakeControlPlanes) DeleteCollection ¶
func (c *FakeControlPlanes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeControlPlanes) Get ¶
func (c *FakeControlPlanes) Get(name string, options v1.GetOptions) (result *v1alpha1.ControlPlane, err error)
Get takes name of the controlPlane, and returns the corresponding controlPlane object, and an error if there is any.
func (*FakeControlPlanes) List ¶
func (c *FakeControlPlanes) List(opts v1.ListOptions) (result *v1alpha1.ControlPlaneList, err error)
List takes label and field selectors, and returns the list of ControlPlanes that match those selectors.
func (*FakeControlPlanes) Patch ¶
func (c *FakeControlPlanes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ControlPlane, err error)
Patch applies the patch and returns the patched controlPlane.
func (*FakeControlPlanes) Update ¶
func (c *FakeControlPlanes) Update(controlPlane *v1alpha1.ControlPlane) (result *v1alpha1.ControlPlane, err error)
Update takes the representation of a controlPlane and updates it. Returns the server's representation of the controlPlane, and an error, if there is any.
func (*FakeControlPlanes) UpdateStatus ¶
func (c *FakeControlPlanes) UpdateStatus(controlPlane *v1alpha1.ControlPlane) (*v1alpha1.ControlPlane, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeControlPlanes) Watch ¶
func (c *FakeControlPlanes) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested controlPlanes.
type FakeEKSs ¶
type FakeEKSs struct { Fake *FakeClusterV1alpha1 // contains filtered or unexported fields }
FakeEKSs implements EKSInterface
func (*FakeEKSs) Create ¶
Create takes the representation of a eKS and creates it. Returns the server's representation of the eKS, and an error, if there is any.
func (*FakeEKSs) Delete ¶
func (c *FakeEKSs) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the eKS and deletes it. Returns an error if one occurs.
func (*FakeEKSs) DeleteCollection ¶
func (c *FakeEKSs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEKSs) Get ¶
Get takes name of the eKS, and returns the corresponding eKS object, and an error if there is any.
func (*FakeEKSs) List ¶
List takes label and field selectors, and returns the list of EKSs that match those selectors.
func (*FakeEKSs) Patch ¶
func (c *FakeEKSs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.EKS, err error)
Patch applies the patch and returns the patched eKS.
func (*FakeEKSs) Update ¶
Update takes the representation of a eKS and updates it. Returns the server's representation of the eKS, and an error, if there is any.
func (*FakeEKSs) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeNodeGroups ¶
type FakeNodeGroups struct { Fake *FakeClusterV1alpha1 // contains filtered or unexported fields }
FakeNodeGroups implements NodeGroupInterface
func (*FakeNodeGroups) Create ¶
func (c *FakeNodeGroups) Create(nodeGroup *v1alpha1.NodeGroup) (result *v1alpha1.NodeGroup, err error)
Create takes the representation of a nodeGroup and creates it. Returns the server's representation of the nodeGroup, and an error, if there is any.
func (*FakeNodeGroups) Delete ¶
func (c *FakeNodeGroups) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the nodeGroup and deletes it. Returns an error if one occurs.
func (*FakeNodeGroups) DeleteCollection ¶
func (c *FakeNodeGroups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodeGroups) Get ¶
func (c *FakeNodeGroups) Get(name string, options v1.GetOptions) (result *v1alpha1.NodeGroup, err error)
Get takes name of the nodeGroup, and returns the corresponding nodeGroup object, and an error if there is any.
func (*FakeNodeGroups) List ¶
func (c *FakeNodeGroups) List(opts v1.ListOptions) (result *v1alpha1.NodeGroupList, err error)
List takes label and field selectors, and returns the list of NodeGroups that match those selectors.
func (*FakeNodeGroups) Patch ¶
func (c *FakeNodeGroups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.NodeGroup, err error)
Patch applies the patch and returns the patched nodeGroup.
func (*FakeNodeGroups) Update ¶
func (c *FakeNodeGroups) Update(nodeGroup *v1alpha1.NodeGroup) (result *v1alpha1.NodeGroup, err error)
Update takes the representation of a nodeGroup and updates it. Returns the server's representation of the nodeGroup, and an error, if there is any.
func (*FakeNodeGroups) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNodeGroups) Watch ¶
func (c *FakeNodeGroups) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nodeGroups.