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 FakeActiveDirectoryAdministrators

type FakeActiveDirectoryAdministrators struct {
	Fake *FakeSqlV1alpha1
	// contains filtered or unexported fields
}

FakeActiveDirectoryAdministrators implements ActiveDirectoryAdministratorInterface

func (*FakeActiveDirectoryAdministrators) Create

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

func (*FakeActiveDirectoryAdministrators) Delete

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

func (*FakeActiveDirectoryAdministrators) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeActiveDirectoryAdministrators) Get

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

func (*FakeActiveDirectoryAdministrators) List

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

func (*FakeActiveDirectoryAdministrators) Patch

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

Patch applies the patch and returns the patched activeDirectoryAdministrator.

func (*FakeActiveDirectoryAdministrators) Update

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

func (*FakeActiveDirectoryAdministrators) UpdateStatus

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

func (*FakeActiveDirectoryAdministrators) Watch

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

type FakeDatabases

type FakeDatabases struct {
	Fake *FakeSqlV1alpha1
	// contains filtered or unexported fields
}

FakeDatabases implements DatabaseInterface

func (*FakeDatabases) Create

func (c *FakeDatabases) Create(ctx context.Context, database *v1alpha1.Database, opts v1.CreateOptions) (result *v1alpha1.Database, err error)

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

func (*FakeDatabases) Delete

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

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

func (*FakeDatabases) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDatabases) Get

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

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

func (*FakeDatabases) List

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

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

func (*FakeDatabases) Patch

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

Patch applies the patch and returns the patched database.

func (*FakeDatabases) Update

func (c *FakeDatabases) Update(ctx context.Context, database *v1alpha1.Database, opts v1.UpdateOptions) (result *v1alpha1.Database, err error)

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

func (*FakeDatabases) UpdateStatus

func (c *FakeDatabases) UpdateStatus(ctx context.Context, database *v1alpha1.Database, opts v1.UpdateOptions) (*v1alpha1.Database, error)

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

func (*FakeDatabases) Watch

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

type FakeElasticpools

type FakeElasticpools struct {
	Fake *FakeSqlV1alpha1
	// contains filtered or unexported fields
}

FakeElasticpools implements ElasticpoolInterface

func (*FakeElasticpools) Create

func (c *FakeElasticpools) Create(ctx context.Context, elasticpool *v1alpha1.Elasticpool, opts v1.CreateOptions) (result *v1alpha1.Elasticpool, err error)

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

func (*FakeElasticpools) Delete

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

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

func (*FakeElasticpools) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeElasticpools) Get

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

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

func (*FakeElasticpools) List

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

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

func (*FakeElasticpools) Patch

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

Patch applies the patch and returns the patched elasticpool.

func (*FakeElasticpools) Update

func (c *FakeElasticpools) Update(ctx context.Context, elasticpool *v1alpha1.Elasticpool, opts v1.UpdateOptions) (result *v1alpha1.Elasticpool, err error)

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

func (*FakeElasticpools) UpdateStatus

func (c *FakeElasticpools) UpdateStatus(ctx context.Context, elasticpool *v1alpha1.Elasticpool, opts v1.UpdateOptions) (*v1alpha1.Elasticpool, error)

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

func (*FakeElasticpools) Watch

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

type FakeFailoverGroups

type FakeFailoverGroups struct {
	Fake *FakeSqlV1alpha1
	// contains filtered or unexported fields
}

FakeFailoverGroups implements FailoverGroupInterface

func (*FakeFailoverGroups) Create

func (c *FakeFailoverGroups) Create(ctx context.Context, failoverGroup *v1alpha1.FailoverGroup, opts v1.CreateOptions) (result *v1alpha1.FailoverGroup, err error)

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

func (*FakeFailoverGroups) Delete

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

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

func (*FakeFailoverGroups) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeFailoverGroups) Get

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

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

func (*FakeFailoverGroups) List

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

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

func (*FakeFailoverGroups) Patch

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

Patch applies the patch and returns the patched failoverGroup.

func (*FakeFailoverGroups) Update

func (c *FakeFailoverGroups) Update(ctx context.Context, failoverGroup *v1alpha1.FailoverGroup, opts v1.UpdateOptions) (result *v1alpha1.FailoverGroup, err error)

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

func (*FakeFailoverGroups) UpdateStatus

func (c *FakeFailoverGroups) UpdateStatus(ctx context.Context, failoverGroup *v1alpha1.FailoverGroup, opts v1.UpdateOptions) (*v1alpha1.FailoverGroup, error)

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

func (*FakeFailoverGroups) Watch

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

type FakeFirewallRules

type FakeFirewallRules struct {
	Fake *FakeSqlV1alpha1
	// contains filtered or unexported fields
}

FakeFirewallRules implements FirewallRuleInterface

func (*FakeFirewallRules) Create

func (c *FakeFirewallRules) Create(ctx context.Context, firewallRule *v1alpha1.FirewallRule, opts v1.CreateOptions) (result *v1alpha1.FirewallRule, err error)

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

func (*FakeFirewallRules) Delete

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

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

func (*FakeFirewallRules) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeFirewallRules) Get

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

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

func (*FakeFirewallRules) List

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

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

func (*FakeFirewallRules) Patch

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

Patch applies the patch and returns the patched firewallRule.

func (*FakeFirewallRules) Update

func (c *FakeFirewallRules) Update(ctx context.Context, firewallRule *v1alpha1.FirewallRule, opts v1.UpdateOptions) (result *v1alpha1.FirewallRule, err error)

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

func (*FakeFirewallRules) UpdateStatus

func (c *FakeFirewallRules) UpdateStatus(ctx context.Context, firewallRule *v1alpha1.FirewallRule, opts v1.UpdateOptions) (*v1alpha1.FirewallRule, error)

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

func (*FakeFirewallRules) Watch

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

type FakeManagedDatabases added in v0.5.0

type FakeManagedDatabases struct {
	Fake *FakeSqlV1alpha1
	// contains filtered or unexported fields
}

FakeManagedDatabases implements ManagedDatabaseInterface

func (*FakeManagedDatabases) Create added in v0.5.0

func (c *FakeManagedDatabases) Create(ctx context.Context, managedDatabase *v1alpha1.ManagedDatabase, opts v1.CreateOptions) (result *v1alpha1.ManagedDatabase, err error)

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

func (*FakeManagedDatabases) Delete added in v0.5.0

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

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

func (*FakeManagedDatabases) DeleteCollection added in v0.5.0

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

DeleteCollection deletes a collection of objects.

func (*FakeManagedDatabases) Get added in v0.5.0

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

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

func (*FakeManagedDatabases) List added in v0.5.0

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

func (*FakeManagedDatabases) Patch added in v0.5.0

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

Patch applies the patch and returns the patched managedDatabase.

func (*FakeManagedDatabases) Update added in v0.5.0

func (c *FakeManagedDatabases) Update(ctx context.Context, managedDatabase *v1alpha1.ManagedDatabase, opts v1.UpdateOptions) (result *v1alpha1.ManagedDatabase, err error)

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

func (*FakeManagedDatabases) UpdateStatus added in v0.5.0

func (c *FakeManagedDatabases) UpdateStatus(ctx context.Context, managedDatabase *v1alpha1.ManagedDatabase, opts v1.UpdateOptions) (*v1alpha1.ManagedDatabase, error)

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

func (*FakeManagedDatabases) Watch added in v0.5.0

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

type FakeManagedInstanceActiveDirectoryAdministrators added in v0.5.0

type FakeManagedInstanceActiveDirectoryAdministrators struct {
	Fake *FakeSqlV1alpha1
	// contains filtered or unexported fields
}

FakeManagedInstanceActiveDirectoryAdministrators implements ManagedInstanceActiveDirectoryAdministratorInterface

func (*FakeManagedInstanceActiveDirectoryAdministrators) Create added in v0.5.0

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

func (*FakeManagedInstanceActiveDirectoryAdministrators) Delete added in v0.5.0

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

func (*FakeManagedInstanceActiveDirectoryAdministrators) DeleteCollection added in v0.5.0

DeleteCollection deletes a collection of objects.

func (*FakeManagedInstanceActiveDirectoryAdministrators) Get added in v0.5.0

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

func (*FakeManagedInstanceActiveDirectoryAdministrators) List added in v0.5.0

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

func (*FakeManagedInstanceActiveDirectoryAdministrators) Patch added in v0.5.0

Patch applies the patch and returns the patched managedInstanceActiveDirectoryAdministrator.

func (*FakeManagedInstanceActiveDirectoryAdministrators) Update added in v0.5.0

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

func (*FakeManagedInstanceActiveDirectoryAdministrators) UpdateStatus added in v0.5.0

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

func (*FakeManagedInstanceActiveDirectoryAdministrators) Watch added in v0.5.0

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

type FakeManagedInstanceFailoverGroups added in v0.5.0

type FakeManagedInstanceFailoverGroups struct {
	Fake *FakeSqlV1alpha1
	// contains filtered or unexported fields
}

FakeManagedInstanceFailoverGroups implements ManagedInstanceFailoverGroupInterface

func (*FakeManagedInstanceFailoverGroups) Create added in v0.5.0

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

func (*FakeManagedInstanceFailoverGroups) Delete added in v0.5.0

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

func (*FakeManagedInstanceFailoverGroups) DeleteCollection added in v0.5.0

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

DeleteCollection deletes a collection of objects.

func (*FakeManagedInstanceFailoverGroups) Get added in v0.5.0

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

func (*FakeManagedInstanceFailoverGroups) List added in v0.5.0

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

func (*FakeManagedInstanceFailoverGroups) Patch added in v0.5.0

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

Patch applies the patch and returns the patched managedInstanceFailoverGroup.

func (*FakeManagedInstanceFailoverGroups) Update added in v0.5.0

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

func (*FakeManagedInstanceFailoverGroups) UpdateStatus added in v0.5.0

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

func (*FakeManagedInstanceFailoverGroups) Watch added in v0.5.0

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

type FakeManagedInstances added in v0.5.0

type FakeManagedInstances struct {
	Fake *FakeSqlV1alpha1
	// contains filtered or unexported fields
}

FakeManagedInstances implements ManagedInstanceInterface

func (*FakeManagedInstances) Create added in v0.5.0

func (c *FakeManagedInstances) Create(ctx context.Context, managedInstance *v1alpha1.ManagedInstance, opts v1.CreateOptions) (result *v1alpha1.ManagedInstance, err error)

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

func (*FakeManagedInstances) Delete added in v0.5.0

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

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

func (*FakeManagedInstances) DeleteCollection added in v0.5.0

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

DeleteCollection deletes a collection of objects.

func (*FakeManagedInstances) Get added in v0.5.0

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

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

func (*FakeManagedInstances) List added in v0.5.0

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

func (*FakeManagedInstances) Patch added in v0.5.0

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

Patch applies the patch and returns the patched managedInstance.

func (*FakeManagedInstances) Update added in v0.5.0

func (c *FakeManagedInstances) Update(ctx context.Context, managedInstance *v1alpha1.ManagedInstance, opts v1.UpdateOptions) (result *v1alpha1.ManagedInstance, err error)

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

func (*FakeManagedInstances) UpdateStatus added in v0.5.0

func (c *FakeManagedInstances) UpdateStatus(ctx context.Context, managedInstance *v1alpha1.ManagedInstance, opts v1.UpdateOptions) (*v1alpha1.ManagedInstance, error)

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

func (*FakeManagedInstances) Watch added in v0.5.0

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

type FakeServers

type FakeServers struct {
	Fake *FakeSqlV1alpha1
	// contains filtered or unexported fields
}

FakeServers implements ServerInterface

func (*FakeServers) Create

func (c *FakeServers) Create(ctx context.Context, server *v1alpha1.Server, opts v1.CreateOptions) (result *v1alpha1.Server, err error)

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

func (*FakeServers) Delete

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

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

func (*FakeServers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeServers) Get

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

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

func (*FakeServers) List

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

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

func (*FakeServers) Patch

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

Patch applies the patch and returns the patched server.

func (*FakeServers) Update

func (c *FakeServers) Update(ctx context.Context, server *v1alpha1.Server, opts v1.UpdateOptions) (result *v1alpha1.Server, err error)

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

func (*FakeServers) UpdateStatus

func (c *FakeServers) UpdateStatus(ctx context.Context, server *v1alpha1.Server, opts v1.UpdateOptions) (*v1alpha1.Server, error)

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

func (*FakeServers) Watch

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

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

type FakeSqlV1alpha1

type FakeSqlV1alpha1 struct {
	*testing.Fake
}

func (*FakeSqlV1alpha1) ActiveDirectoryAdministrators

func (c *FakeSqlV1alpha1) ActiveDirectoryAdministrators(namespace string) v1alpha1.ActiveDirectoryAdministratorInterface

func (*FakeSqlV1alpha1) Databases

func (c *FakeSqlV1alpha1) Databases(namespace string) v1alpha1.DatabaseInterface

func (*FakeSqlV1alpha1) Elasticpools

func (c *FakeSqlV1alpha1) Elasticpools(namespace string) v1alpha1.ElasticpoolInterface

func (*FakeSqlV1alpha1) FailoverGroups

func (c *FakeSqlV1alpha1) FailoverGroups(namespace string) v1alpha1.FailoverGroupInterface

func (*FakeSqlV1alpha1) FirewallRules

func (c *FakeSqlV1alpha1) FirewallRules(namespace string) v1alpha1.FirewallRuleInterface

func (*FakeSqlV1alpha1) ManagedDatabases added in v0.5.0

func (c *FakeSqlV1alpha1) ManagedDatabases(namespace string) v1alpha1.ManagedDatabaseInterface

func (*FakeSqlV1alpha1) ManagedInstanceActiveDirectoryAdministrators added in v0.5.0

func (c *FakeSqlV1alpha1) ManagedInstanceActiveDirectoryAdministrators(namespace string) v1alpha1.ManagedInstanceActiveDirectoryAdministratorInterface

func (*FakeSqlV1alpha1) ManagedInstanceFailoverGroups added in v0.5.0

func (c *FakeSqlV1alpha1) ManagedInstanceFailoverGroups(namespace string) v1alpha1.ManagedInstanceFailoverGroupInterface

func (*FakeSqlV1alpha1) ManagedInstances added in v0.5.0

func (c *FakeSqlV1alpha1) ManagedInstances(namespace string) v1alpha1.ManagedInstanceInterface

func (*FakeSqlV1alpha1) RESTClient

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

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

func (*FakeSqlV1alpha1) Servers

func (c *FakeSqlV1alpha1) Servers(namespace string) v1alpha1.ServerInterface

func (*FakeSqlV1alpha1) VirtualNetworkRules

func (c *FakeSqlV1alpha1) VirtualNetworkRules(namespace string) v1alpha1.VirtualNetworkRuleInterface

type FakeVirtualNetworkRules

type FakeVirtualNetworkRules struct {
	Fake *FakeSqlV1alpha1
	// contains filtered or unexported fields
}

FakeVirtualNetworkRules implements VirtualNetworkRuleInterface

func (*FakeVirtualNetworkRules) Create

func (c *FakeVirtualNetworkRules) Create(ctx context.Context, virtualNetworkRule *v1alpha1.VirtualNetworkRule, opts v1.CreateOptions) (result *v1alpha1.VirtualNetworkRule, err error)

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

func (*FakeVirtualNetworkRules) Delete

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

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

func (*FakeVirtualNetworkRules) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVirtualNetworkRules) Get

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

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

func (*FakeVirtualNetworkRules) List

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

func (*FakeVirtualNetworkRules) Patch

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

Patch applies the patch and returns the patched virtualNetworkRule.

func (*FakeVirtualNetworkRules) Update

func (c *FakeVirtualNetworkRules) Update(ctx context.Context, virtualNetworkRule *v1alpha1.VirtualNetworkRule, opts v1.UpdateOptions) (result *v1alpha1.VirtualNetworkRule, err error)

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

func (*FakeVirtualNetworkRules) UpdateStatus

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

func (*FakeVirtualNetworkRules) Watch

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

Jump to

Keyboard shortcuts

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