fake

package
v0.0.0-...-e779149 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeFederatedNotificationConfigs

type FakeFederatedNotificationConfigs struct {
	Fake *FakeTypesV1beta2
}

FakeFederatedNotificationConfigs implements FederatedNotificationConfigInterface

func (*FakeFederatedNotificationConfigs) Create

Create takes the representation of a federatedNotificationConfig and creates it. Returns the server's representation of the federatedNotificationConfig, and an error, if there is any.

func (*FakeFederatedNotificationConfigs) Delete

Delete takes name of the federatedNotificationConfig and deletes it. Returns an error if one occurs.

func (*FakeFederatedNotificationConfigs) DeleteCollection

func (c *FakeFederatedNotificationConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeFederatedNotificationConfigs) Get

Get takes name of the federatedNotificationConfig, and returns the corresponding federatedNotificationConfig object, and an error if there is any.

func (*FakeFederatedNotificationConfigs) List

List takes label and field selectors, and returns the list of FederatedNotificationConfigs that match those selectors.

func (*FakeFederatedNotificationConfigs) Patch

func (c *FakeFederatedNotificationConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.FederatedNotificationConfig, err error)

Patch applies the patch and returns the patched federatedNotificationConfig.

func (*FakeFederatedNotificationConfigs) Update

Update takes the representation of a federatedNotificationConfig and updates it. Returns the server's representation of the federatedNotificationConfig, and an error, if there is any.

func (*FakeFederatedNotificationConfigs) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeFederatedNotificationConfigs) Watch

Watch returns a watch.Interface that watches the requested federatedNotificationConfigs.

type FakeFederatedNotificationManagers

type FakeFederatedNotificationManagers struct {
	Fake *FakeTypesV1beta2
}

FakeFederatedNotificationManagers implements FederatedNotificationManagerInterface

func (*FakeFederatedNotificationManagers) Create

Create takes the representation of a federatedNotificationManager and creates it. Returns the server's representation of the federatedNotificationManager, and an error, if there is any.

func (*FakeFederatedNotificationManagers) Delete

Delete takes name of the federatedNotificationManager and deletes it. Returns an error if one occurs.

func (*FakeFederatedNotificationManagers) DeleteCollection

func (c *FakeFederatedNotificationManagers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeFederatedNotificationManagers) Get

Get takes name of the federatedNotificationManager, and returns the corresponding federatedNotificationManager object, and an error if there is any.

func (*FakeFederatedNotificationManagers) List

List takes label and field selectors, and returns the list of FederatedNotificationManagers that match those selectors.

func (*FakeFederatedNotificationManagers) Patch

func (c *FakeFederatedNotificationManagers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.FederatedNotificationManager, err error)

Patch applies the patch and returns the patched federatedNotificationManager.

func (*FakeFederatedNotificationManagers) Update

Update takes the representation of a federatedNotificationManager and updates it. Returns the server's representation of the federatedNotificationManager, and an error, if there is any.

func (*FakeFederatedNotificationManagers) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeFederatedNotificationManagers) Watch

Watch returns a watch.Interface that watches the requested federatedNotificationManagers.

type FakeFederatedNotificationReceivers

type FakeFederatedNotificationReceivers struct {
	Fake *FakeTypesV1beta2
}

FakeFederatedNotificationReceivers implements FederatedNotificationReceiverInterface

func (*FakeFederatedNotificationReceivers) Create

Create takes the representation of a federatedNotificationReceiver and creates it. Returns the server's representation of the federatedNotificationReceiver, and an error, if there is any.

func (*FakeFederatedNotificationReceivers) Delete

Delete takes name of the federatedNotificationReceiver and deletes it. Returns an error if one occurs.

func (*FakeFederatedNotificationReceivers) DeleteCollection

func (c *FakeFederatedNotificationReceivers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeFederatedNotificationReceivers) Get

Get takes name of the federatedNotificationReceiver, and returns the corresponding federatedNotificationReceiver object, and an error if there is any.

func (*FakeFederatedNotificationReceivers) List

List takes label and field selectors, and returns the list of FederatedNotificationReceivers that match those selectors.

func (*FakeFederatedNotificationReceivers) Patch

func (c *FakeFederatedNotificationReceivers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.FederatedNotificationReceiver, err error)

Patch applies the patch and returns the patched federatedNotificationReceiver.

func (*FakeFederatedNotificationReceivers) Update

Update takes the representation of a federatedNotificationReceiver and updates it. Returns the server's representation of the federatedNotificationReceiver, and an error, if there is any.

func (*FakeFederatedNotificationReceivers) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeFederatedNotificationReceivers) Watch

Watch returns a watch.Interface that watches the requested federatedNotificationReceivers.

type FakeFederatedNotificationRouters

type FakeFederatedNotificationRouters struct {
	Fake *FakeTypesV1beta2
}

FakeFederatedNotificationRouters implements FederatedNotificationRouterInterface

func (*FakeFederatedNotificationRouters) Create

Create takes the representation of a federatedNotificationRouter and creates it. Returns the server's representation of the federatedNotificationRouter, and an error, if there is any.

func (*FakeFederatedNotificationRouters) Delete

Delete takes name of the federatedNotificationRouter and deletes it. Returns an error if one occurs.

func (*FakeFederatedNotificationRouters) DeleteCollection

func (c *FakeFederatedNotificationRouters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeFederatedNotificationRouters) Get

Get takes name of the federatedNotificationRouter, and returns the corresponding federatedNotificationRouter object, and an error if there is any.

func (*FakeFederatedNotificationRouters) List

List takes label and field selectors, and returns the list of FederatedNotificationRouters that match those selectors.

func (*FakeFederatedNotificationRouters) Patch

func (c *FakeFederatedNotificationRouters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.FederatedNotificationRouter, err error)

Patch applies the patch and returns the patched federatedNotificationRouter.

func (*FakeFederatedNotificationRouters) Update

Update takes the representation of a federatedNotificationRouter and updates it. Returns the server's representation of the federatedNotificationRouter, and an error, if there is any.

func (*FakeFederatedNotificationRouters) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeFederatedNotificationRouters) Watch

Watch returns a watch.Interface that watches the requested federatedNotificationRouters.

type FakeFederatedNotificationSilences

type FakeFederatedNotificationSilences struct {
	Fake *FakeTypesV1beta2
}

FakeFederatedNotificationSilences implements FederatedNotificationSilenceInterface

func (*FakeFederatedNotificationSilences) Create

Create takes the representation of a federatedNotificationSilence and creates it. Returns the server's representation of the federatedNotificationSilence, and an error, if there is any.

func (*FakeFederatedNotificationSilences) Delete

Delete takes name of the federatedNotificationSilence and deletes it. Returns an error if one occurs.

func (*FakeFederatedNotificationSilences) DeleteCollection

func (c *FakeFederatedNotificationSilences) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeFederatedNotificationSilences) Get

Get takes name of the federatedNotificationSilence, and returns the corresponding federatedNotificationSilence object, and an error if there is any.

func (*FakeFederatedNotificationSilences) List

List takes label and field selectors, and returns the list of FederatedNotificationSilences that match those selectors.

func (*FakeFederatedNotificationSilences) Patch

func (c *FakeFederatedNotificationSilences) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.FederatedNotificationSilence, err error)

Patch applies the patch and returns the patched federatedNotificationSilence.

func (*FakeFederatedNotificationSilences) Update

Update takes the representation of a federatedNotificationSilence and updates it. Returns the server's representation of the federatedNotificationSilence, and an error, if there is any.

func (*FakeFederatedNotificationSilences) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeFederatedNotificationSilences) Watch

Watch returns a watch.Interface that watches the requested federatedNotificationSilences.

type FakeTypesV1beta2

type FakeTypesV1beta2 struct {
	*testing.Fake
}

func (*FakeTypesV1beta2) FederatedNotificationConfigs

func (c *FakeTypesV1beta2) FederatedNotificationConfigs() v1beta2.FederatedNotificationConfigInterface

func (*FakeTypesV1beta2) FederatedNotificationManagers

func (c *FakeTypesV1beta2) FederatedNotificationManagers() v1beta2.FederatedNotificationManagerInterface

func (*FakeTypesV1beta2) FederatedNotificationReceivers

func (c *FakeTypesV1beta2) FederatedNotificationReceivers() v1beta2.FederatedNotificationReceiverInterface

func (*FakeTypesV1beta2) FederatedNotificationRouters

func (c *FakeTypesV1beta2) FederatedNotificationRouters() v1beta2.FederatedNotificationRouterInterface

func (*FakeTypesV1beta2) FederatedNotificationSilences

func (c *FakeTypesV1beta2) FederatedNotificationSilences() v1beta2.FederatedNotificationSilenceInterface

func (*FakeTypesV1beta2) RESTClient

func (c *FakeTypesV1beta2) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL