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