Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterUpgrades
- func (c *FakeClusterUpgrades) Create(clusterUpgrade *v3.ClusterUpgrade) (result *v3.ClusterUpgrade, err error)
- func (c *FakeClusterUpgrades) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusterUpgrades) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusterUpgrades) Get(name string, options v1.GetOptions) (result *v3.ClusterUpgrade, err error)
- func (c *FakeClusterUpgrades) List(opts v1.ListOptions) (result *v3.ClusterUpgradeList, err error)
- func (c *FakeClusterUpgrades) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v3.ClusterUpgrade, err error)
- func (c *FakeClusterUpgrades) Update(clusterUpgrade *v3.ClusterUpgrade) (result *v3.ClusterUpgrade, err error)
- func (c *FakeClusterUpgrades) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeContainershipProvisionV3
- type FakeNodePoolLabels
- func (c *FakeNodePoolLabels) Create(nodePoolLabel *v3.NodePoolLabel) (result *v3.NodePoolLabel, err error)
- func (c *FakeNodePoolLabels) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeNodePoolLabels) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeNodePoolLabels) Get(name string, options v1.GetOptions) (result *v3.NodePoolLabel, err error)
- func (c *FakeNodePoolLabels) List(opts v1.ListOptions) (result *v3.NodePoolLabelList, err error)
- func (c *FakeNodePoolLabels) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v3.NodePoolLabel, err error)
- func (c *FakeNodePoolLabels) Update(nodePoolLabel *v3.NodePoolLabel) (result *v3.NodePoolLabel, err error)
- func (c *FakeNodePoolLabels) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterUpgrades ¶
type FakeClusterUpgrades struct { Fake *FakeContainershipProvisionV3 // contains filtered or unexported fields }
FakeClusterUpgrades implements ClusterUpgradeInterface
func (*FakeClusterUpgrades) Create ¶
func (c *FakeClusterUpgrades) Create(clusterUpgrade *v3.ClusterUpgrade) (result *v3.ClusterUpgrade, err error)
Create takes the representation of a clusterUpgrade and creates it. Returns the server's representation of the clusterUpgrade, and an error, if there is any.
func (*FakeClusterUpgrades) Delete ¶
func (c *FakeClusterUpgrades) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the clusterUpgrade and deletes it. Returns an error if one occurs.
func (*FakeClusterUpgrades) DeleteCollection ¶
func (c *FakeClusterUpgrades) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterUpgrades) Get ¶
func (c *FakeClusterUpgrades) Get(name string, options v1.GetOptions) (result *v3.ClusterUpgrade, err error)
Get takes name of the clusterUpgrade, and returns the corresponding clusterUpgrade object, and an error if there is any.
func (*FakeClusterUpgrades) List ¶
func (c *FakeClusterUpgrades) List(opts v1.ListOptions) (result *v3.ClusterUpgradeList, err error)
List takes label and field selectors, and returns the list of ClusterUpgrades that match those selectors.
func (*FakeClusterUpgrades) Patch ¶
func (c *FakeClusterUpgrades) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v3.ClusterUpgrade, err error)
Patch applies the patch and returns the patched clusterUpgrade.
func (*FakeClusterUpgrades) Update ¶
func (c *FakeClusterUpgrades) Update(clusterUpgrade *v3.ClusterUpgrade) (result *v3.ClusterUpgrade, err error)
Update takes the representation of a clusterUpgrade and updates it. Returns the server's representation of the clusterUpgrade, and an error, if there is any.
func (*FakeClusterUpgrades) Watch ¶
func (c *FakeClusterUpgrades) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterUpgrades.
type FakeContainershipProvisionV3 ¶
func (*FakeContainershipProvisionV3) ClusterUpgrades ¶
func (c *FakeContainershipProvisionV3) ClusterUpgrades(namespace string) v3.ClusterUpgradeInterface
func (*FakeContainershipProvisionV3) NodePoolLabels ¶
func (c *FakeContainershipProvisionV3) NodePoolLabels(namespace string) v3.NodePoolLabelInterface
func (*FakeContainershipProvisionV3) RESTClient ¶
func (c *FakeContainershipProvisionV3) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeNodePoolLabels ¶
type FakeNodePoolLabels struct { Fake *FakeContainershipProvisionV3 // contains filtered or unexported fields }
FakeNodePoolLabels implements NodePoolLabelInterface
func (*FakeNodePoolLabels) Create ¶
func (c *FakeNodePoolLabels) Create(nodePoolLabel *v3.NodePoolLabel) (result *v3.NodePoolLabel, err error)
Create takes the representation of a nodePoolLabel and creates it. Returns the server's representation of the nodePoolLabel, and an error, if there is any.
func (*FakeNodePoolLabels) Delete ¶
func (c *FakeNodePoolLabels) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the nodePoolLabel and deletes it. Returns an error if one occurs.
func (*FakeNodePoolLabels) DeleteCollection ¶
func (c *FakeNodePoolLabels) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodePoolLabels) Get ¶
func (c *FakeNodePoolLabels) Get(name string, options v1.GetOptions) (result *v3.NodePoolLabel, err error)
Get takes name of the nodePoolLabel, and returns the corresponding nodePoolLabel object, and an error if there is any.
func (*FakeNodePoolLabels) List ¶
func (c *FakeNodePoolLabels) List(opts v1.ListOptions) (result *v3.NodePoolLabelList, err error)
List takes label and field selectors, and returns the list of NodePoolLabels that match those selectors.
func (*FakeNodePoolLabels) Patch ¶
func (c *FakeNodePoolLabels) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v3.NodePoolLabel, err error)
Patch applies the patch and returns the patched nodePoolLabel.
func (*FakeNodePoolLabels) Update ¶
func (c *FakeNodePoolLabels) Update(nodePoolLabel *v3.NodePoolLabel) (result *v3.NodePoolLabel, err error)
Update takes the representation of a nodePoolLabel and updates it. Returns the server's representation of the nodePoolLabel, and an error, if there is any.
func (*FakeNodePoolLabels) Watch ¶
func (c *FakeNodePoolLabels) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nodePoolLabels.