fake

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 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 FakeActiveV1alpha1

type FakeActiveV1alpha1 struct {
	*testing.Fake
}

func (*FakeActiveV1alpha1) DirectoryDomainTrusts

func (c *FakeActiveV1alpha1) DirectoryDomainTrusts(namespace string) v1alpha1.DirectoryDomainTrustInterface

func (*FakeActiveV1alpha1) DirectoryDomains

func (c *FakeActiveV1alpha1) DirectoryDomains(namespace string) v1alpha1.DirectoryDomainInterface

func (*FakeActiveV1alpha1) RESTClient

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

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

type FakeDirectoryDomainTrusts

type FakeDirectoryDomainTrusts struct {
	Fake *FakeActiveV1alpha1
	// contains filtered or unexported fields
}

FakeDirectoryDomainTrusts implements DirectoryDomainTrustInterface

func (*FakeDirectoryDomainTrusts) Create

func (c *FakeDirectoryDomainTrusts) Create(ctx context.Context, directoryDomainTrust *v1alpha1.DirectoryDomainTrust, opts v1.CreateOptions) (result *v1alpha1.DirectoryDomainTrust, err error)

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

func (*FakeDirectoryDomainTrusts) Delete

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

func (*FakeDirectoryDomainTrusts) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDirectoryDomainTrusts) Get

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

func (*FakeDirectoryDomainTrusts) List

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

func (*FakeDirectoryDomainTrusts) Patch

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

Patch applies the patch and returns the patched directoryDomainTrust.

func (*FakeDirectoryDomainTrusts) Update

func (c *FakeDirectoryDomainTrusts) Update(ctx context.Context, directoryDomainTrust *v1alpha1.DirectoryDomainTrust, opts v1.UpdateOptions) (result *v1alpha1.DirectoryDomainTrust, err error)

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

func (*FakeDirectoryDomainTrusts) UpdateStatus

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

func (*FakeDirectoryDomainTrusts) Watch

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

type FakeDirectoryDomains

type FakeDirectoryDomains struct {
	Fake *FakeActiveV1alpha1
	// contains filtered or unexported fields
}

FakeDirectoryDomains implements DirectoryDomainInterface

func (*FakeDirectoryDomains) Create

func (c *FakeDirectoryDomains) Create(ctx context.Context, directoryDomain *v1alpha1.DirectoryDomain, opts v1.CreateOptions) (result *v1alpha1.DirectoryDomain, err error)

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

func (*FakeDirectoryDomains) Delete

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

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

func (*FakeDirectoryDomains) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDirectoryDomains) Get

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

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

func (*FakeDirectoryDomains) List

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

func (*FakeDirectoryDomains) Patch

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

Patch applies the patch and returns the patched directoryDomain.

func (*FakeDirectoryDomains) Update

func (c *FakeDirectoryDomains) Update(ctx context.Context, directoryDomain *v1alpha1.DirectoryDomain, opts v1.UpdateOptions) (result *v1alpha1.DirectoryDomain, err error)

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

func (*FakeDirectoryDomains) UpdateStatus

func (c *FakeDirectoryDomains) UpdateStatus(ctx context.Context, directoryDomain *v1alpha1.DirectoryDomain, opts v1.UpdateOptions) (*v1alpha1.DirectoryDomain, error)

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

func (*FakeDirectoryDomains) Watch

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

Jump to

Keyboard shortcuts

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