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