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 FakeCustomV1alpha1

type FakeCustomV1alpha1 struct {
	*testing.Fake
}

func (*FakeCustomV1alpha1) DbRoles

func (c *FakeCustomV1alpha1) DbRoles(namespace string) v1alpha1.DbRoleInterface

func (*FakeCustomV1alpha1) DnsConfigurationClusterAwses

func (c *FakeCustomV1alpha1) DnsConfigurationClusterAwses(namespace string) v1alpha1.DnsConfigurationClusterAwsInterface

func (*FakeCustomV1alpha1) RESTClient

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

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

type FakeDbRoles

type FakeDbRoles struct {
	Fake *FakeCustomV1alpha1
	// contains filtered or unexported fields
}

FakeDbRoles implements DbRoleInterface

func (*FakeDbRoles) Create

func (c *FakeDbRoles) Create(ctx context.Context, dbRole *v1alpha1.DbRole, opts v1.CreateOptions) (result *v1alpha1.DbRole, err error)

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

func (*FakeDbRoles) Delete

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

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

func (*FakeDbRoles) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDbRoles) Get

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

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

func (*FakeDbRoles) List

func (c *FakeDbRoles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DbRoleList, err error)

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

func (*FakeDbRoles) Patch

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

Patch applies the patch and returns the patched dbRole.

func (*FakeDbRoles) Update

func (c *FakeDbRoles) Update(ctx context.Context, dbRole *v1alpha1.DbRole, opts v1.UpdateOptions) (result *v1alpha1.DbRole, err error)

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

func (*FakeDbRoles) UpdateStatus

func (c *FakeDbRoles) UpdateStatus(ctx context.Context, dbRole *v1alpha1.DbRole, opts v1.UpdateOptions) (*v1alpha1.DbRole, error)

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

func (*FakeDbRoles) Watch

func (c *FakeDbRoles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

type FakeDnsConfigurationClusterAwses

type FakeDnsConfigurationClusterAwses struct {
	Fake *FakeCustomV1alpha1
	// contains filtered or unexported fields
}

FakeDnsConfigurationClusterAwses implements DnsConfigurationClusterAwsInterface

func (*FakeDnsConfigurationClusterAwses) Create

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

func (*FakeDnsConfigurationClusterAwses) Delete

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

func (*FakeDnsConfigurationClusterAwses) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDnsConfigurationClusterAwses) Get

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

func (*FakeDnsConfigurationClusterAwses) List

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

func (*FakeDnsConfigurationClusterAwses) Patch

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

Patch applies the patch and returns the patched dnsConfigurationClusterAws.

func (*FakeDnsConfigurationClusterAwses) Update

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

func (*FakeDnsConfigurationClusterAwses) UpdateStatus

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

func (*FakeDnsConfigurationClusterAwses) Watch

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

Jump to

Keyboard shortcuts

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