Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAppsV1alpha1
- type FakeNodePools
- func (c *FakeNodePools) Create(nodePool *v1alpha1.NodePool) (result *v1alpha1.NodePool, err error)
- func (c *FakeNodePools) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeNodePools) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeNodePools) Get(name string, options v1.GetOptions) (result *v1alpha1.NodePool, err error)
- func (c *FakeNodePools) List(opts v1.ListOptions) (result *v1alpha1.NodePoolList, err error)
- func (c *FakeNodePools) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.NodePool, err error)
- func (c *FakeNodePools) Update(nodePool *v1alpha1.NodePool) (result *v1alpha1.NodePool, err error)
- func (c *FakeNodePools) UpdateStatus(nodePool *v1alpha1.NodePool) (*v1alpha1.NodePool, error)
- func (c *FakeNodePools) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeUnitedDeployments
- func (c *FakeUnitedDeployments) Create(unitedDeployment *v1alpha1.UnitedDeployment) (result *v1alpha1.UnitedDeployment, err error)
- func (c *FakeUnitedDeployments) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeUnitedDeployments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeUnitedDeployments) Get(name string, options v1.GetOptions) (result *v1alpha1.UnitedDeployment, err error)
- func (c *FakeUnitedDeployments) List(opts v1.ListOptions) (result *v1alpha1.UnitedDeploymentList, err error)
- func (c *FakeUnitedDeployments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.UnitedDeployment, err error)
- func (c *FakeUnitedDeployments) Update(unitedDeployment *v1alpha1.UnitedDeployment) (result *v1alpha1.UnitedDeployment, err error)
- func (c *FakeUnitedDeployments) UpdateStatus(unitedDeployment *v1alpha1.UnitedDeployment) (*v1alpha1.UnitedDeployment, error)
- func (c *FakeUnitedDeployments) Watch(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
type FakeNodePools ¶
type FakeNodePools struct {
Fake *FakeAppsV1alpha1
}
FakeNodePools implements NodePoolInterface
func (*FakeNodePools) Create ¶
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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodePools) Get ¶
func (c *FakeNodePools) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.NodePool, err error)
Patch applies the patch and returns the patched nodePool.
func (*FakeNodePools) Update ¶
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 ¶
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(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(unitedDeployment *v1alpha1.UnitedDeployment) (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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUnitedDeployments) Get ¶
func (c *FakeUnitedDeployments) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.UnitedDeployment, err error)
Patch applies the patch and returns the patched unitedDeployment.
func (*FakeUnitedDeployments) Update ¶
func (c *FakeUnitedDeployments) Update(unitedDeployment *v1alpha1.UnitedDeployment) (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(unitedDeployment *v1alpha1.UnitedDeployment) (*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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested unitedDeployments.