Version: v0.19.0 Latest Latest

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

Go to latest
Published: Aug 26, 2022 License: Apache-2.0 Imports: 10 Imported by: 0



Package fake has the automatically generated clients.



This section is empty.


This section is empty.


This section is empty.


type FakeConfigV1alpha1

type FakeConfigV1alpha1 struct {

func (*FakeConfigV1alpha1) FederationDomains

func (c *FakeConfigV1alpha1) FederationDomains(namespace string) v1alpha1.FederationDomainInterface

func (*FakeConfigV1alpha1) RESTClient

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

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

type FakeFederationDomains

type FakeFederationDomains struct {
	Fake *FakeConfigV1alpha1
	// contains filtered or unexported fields

FakeFederationDomains implements FederationDomainInterface

func (*FakeFederationDomains) Create

func (c *FakeFederationDomains) Create(ctx context.Context, federationDomain *v1alpha1.FederationDomain, opts v1.CreateOptions) (result *v1alpha1.FederationDomain, err error)

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

func (*FakeFederationDomains) Delete

func (c *FakeFederationDomains) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeFederationDomains) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeFederationDomains) Get

func (c *FakeFederationDomains) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FederationDomain, err error)

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

func (*FakeFederationDomains) List

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

func (*FakeFederationDomains) Patch

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

Patch applies the patch and returns the patched federationDomain.

func (*FakeFederationDomains) Update

func (c *FakeFederationDomains) Update(ctx context.Context, federationDomain *v1alpha1.FederationDomain, opts v1.UpdateOptions) (result *v1alpha1.FederationDomain, err error)

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

func (*FakeFederationDomains) UpdateStatus

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

func (*FakeFederationDomains) Watch

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

Jump to

Keyboard shortcuts

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