Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeActiveDirectoryAdministrators
- func (c *FakeActiveDirectoryAdministrators) Create(ctx context.Context, ...) (result *v1alpha1.ActiveDirectoryAdministrator, err error)
- func (c *FakeActiveDirectoryAdministrators) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeActiveDirectoryAdministrators) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeActiveDirectoryAdministrators) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ActiveDirectoryAdministrator, err error)
- func (c *FakeActiveDirectoryAdministrators) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ActiveDirectoryAdministratorList, err error)
- func (c *FakeActiveDirectoryAdministrators) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ActiveDirectoryAdministrator, err error)
- func (c *FakeActiveDirectoryAdministrators) Update(ctx context.Context, ...) (result *v1alpha1.ActiveDirectoryAdministrator, err error)
- func (c *FakeActiveDirectoryAdministrators) UpdateStatus(ctx context.Context, ...) (*v1alpha1.ActiveDirectoryAdministrator, error)
- func (c *FakeActiveDirectoryAdministrators) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeConfigurations
- func (c *FakeConfigurations) Create(ctx context.Context, configuration *v1alpha1.Configuration, ...) (result *v1alpha1.Configuration, err error)
- func (c *FakeConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Configuration, err error)
- func (c *FakeConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ConfigurationList, err error)
- func (c *FakeConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Configuration, err error)
- func (c *FakeConfigurations) Update(ctx context.Context, configuration *v1alpha1.Configuration, ...) (result *v1alpha1.Configuration, err error)
- func (c *FakeConfigurations) UpdateStatus(ctx context.Context, configuration *v1alpha1.Configuration, ...) (*v1alpha1.Configuration, error)
- func (c *FakeConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDatabases
- func (c *FakeDatabases) Create(ctx context.Context, database *v1alpha1.Database, opts v1.CreateOptions) (result *v1alpha1.Database, err error)
- func (c *FakeDatabases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDatabases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDatabases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Database, err error)
- func (c *FakeDatabases) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DatabaseList, err error)
- func (c *FakeDatabases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Database, err error)
- func (c *FakeDatabases) Update(ctx context.Context, database *v1alpha1.Database, opts v1.UpdateOptions) (result *v1alpha1.Database, err error)
- func (c *FakeDatabases) UpdateStatus(ctx context.Context, database *v1alpha1.Database, opts v1.UpdateOptions) (*v1alpha1.Database, error)
- func (c *FakeDatabases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeFirewallRules
- func (c *FakeFirewallRules) Create(ctx context.Context, firewallRule *v1alpha1.FirewallRule, ...) (result *v1alpha1.FirewallRule, err error)
- func (c *FakeFirewallRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFirewallRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFirewallRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FirewallRule, err error)
- func (c *FakeFirewallRules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FirewallRuleList, err error)
- func (c *FakeFirewallRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.FirewallRule, err error)
- func (c *FakeFirewallRules) Update(ctx context.Context, firewallRule *v1alpha1.FirewallRule, ...) (result *v1alpha1.FirewallRule, err error)
- func (c *FakeFirewallRules) UpdateStatus(ctx context.Context, firewallRule *v1alpha1.FirewallRule, ...) (*v1alpha1.FirewallRule, error)
- func (c *FakeFirewallRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeFlexibleDatabases
- func (c *FakeFlexibleDatabases) Create(ctx context.Context, flexibleDatabase *v1alpha1.FlexibleDatabase, ...) (result *v1alpha1.FlexibleDatabase, err error)
- func (c *FakeFlexibleDatabases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFlexibleDatabases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFlexibleDatabases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FlexibleDatabase, err error)
- func (c *FakeFlexibleDatabases) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FlexibleDatabaseList, err error)
- func (c *FakeFlexibleDatabases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.FlexibleDatabase, err error)
- func (c *FakeFlexibleDatabases) Update(ctx context.Context, flexibleDatabase *v1alpha1.FlexibleDatabase, ...) (result *v1alpha1.FlexibleDatabase, err error)
- func (c *FakeFlexibleDatabases) UpdateStatus(ctx context.Context, flexibleDatabase *v1alpha1.FlexibleDatabase, ...) (*v1alpha1.FlexibleDatabase, error)
- func (c *FakeFlexibleDatabases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeFlexibleServerConfigurations
- func (c *FakeFlexibleServerConfigurations) Create(ctx context.Context, ...) (result *v1alpha1.FlexibleServerConfiguration, err error)
- func (c *FakeFlexibleServerConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFlexibleServerConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFlexibleServerConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FlexibleServerConfiguration, err error)
- func (c *FakeFlexibleServerConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FlexibleServerConfigurationList, err error)
- func (c *FakeFlexibleServerConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.FlexibleServerConfiguration, err error)
- func (c *FakeFlexibleServerConfigurations) Update(ctx context.Context, ...) (result *v1alpha1.FlexibleServerConfiguration, err error)
- func (c *FakeFlexibleServerConfigurations) UpdateStatus(ctx context.Context, ...) (*v1alpha1.FlexibleServerConfiguration, error)
- func (c *FakeFlexibleServerConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeFlexibleServerFirewallRules
- func (c *FakeFlexibleServerFirewallRules) Create(ctx context.Context, ...) (result *v1alpha1.FlexibleServerFirewallRule, err error)
- func (c *FakeFlexibleServerFirewallRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFlexibleServerFirewallRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFlexibleServerFirewallRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FlexibleServerFirewallRule, err error)
- func (c *FakeFlexibleServerFirewallRules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FlexibleServerFirewallRuleList, err error)
- func (c *FakeFlexibleServerFirewallRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.FlexibleServerFirewallRule, err error)
- func (c *FakeFlexibleServerFirewallRules) Update(ctx context.Context, ...) (result *v1alpha1.FlexibleServerFirewallRule, err error)
- func (c *FakeFlexibleServerFirewallRules) UpdateStatus(ctx context.Context, ...) (*v1alpha1.FlexibleServerFirewallRule, error)
- func (c *FakeFlexibleServerFirewallRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeFlexibleServers
- func (c *FakeFlexibleServers) Create(ctx context.Context, flexibleServer *v1alpha1.FlexibleServer, ...) (result *v1alpha1.FlexibleServer, err error)
- func (c *FakeFlexibleServers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFlexibleServers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFlexibleServers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FlexibleServer, err error)
- func (c *FakeFlexibleServers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FlexibleServerList, err error)
- func (c *FakeFlexibleServers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.FlexibleServer, err error)
- func (c *FakeFlexibleServers) Update(ctx context.Context, flexibleServer *v1alpha1.FlexibleServer, ...) (result *v1alpha1.FlexibleServer, err error)
- func (c *FakeFlexibleServers) UpdateStatus(ctx context.Context, flexibleServer *v1alpha1.FlexibleServer, ...) (*v1alpha1.FlexibleServer, error)
- func (c *FakeFlexibleServers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMysqlV1alpha1
- func (c *FakeMysqlV1alpha1) ActiveDirectoryAdministrators(namespace string) v1alpha1.ActiveDirectoryAdministratorInterface
- func (c *FakeMysqlV1alpha1) Configurations(namespace string) v1alpha1.ConfigurationInterface
- func (c *FakeMysqlV1alpha1) Databases(namespace string) v1alpha1.DatabaseInterface
- func (c *FakeMysqlV1alpha1) FirewallRules(namespace string) v1alpha1.FirewallRuleInterface
- func (c *FakeMysqlV1alpha1) FlexibleDatabases(namespace string) v1alpha1.FlexibleDatabaseInterface
- func (c *FakeMysqlV1alpha1) FlexibleServerConfigurations(namespace string) v1alpha1.FlexibleServerConfigurationInterface
- func (c *FakeMysqlV1alpha1) FlexibleServerFirewallRules(namespace string) v1alpha1.FlexibleServerFirewallRuleInterface
- func (c *FakeMysqlV1alpha1) FlexibleServers(namespace string) v1alpha1.FlexibleServerInterface
- func (c *FakeMysqlV1alpha1) RESTClient() rest.Interface
- func (c *FakeMysqlV1alpha1) ServerKeys(namespace string) v1alpha1.ServerKeyInterface
- func (c *FakeMysqlV1alpha1) Servers(namespace string) v1alpha1.ServerInterface
- func (c *FakeMysqlV1alpha1) VirtualNetworkRules(namespace string) v1alpha1.VirtualNetworkRuleInterface
- type FakeServerKeys
- func (c *FakeServerKeys) Create(ctx context.Context, serverKey *v1alpha1.ServerKey, opts v1.CreateOptions) (result *v1alpha1.ServerKey, err error)
- func (c *FakeServerKeys) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeServerKeys) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeServerKeys) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ServerKey, err error)
- func (c *FakeServerKeys) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServerKeyList, err error)
- func (c *FakeServerKeys) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ServerKey, err error)
- func (c *FakeServerKeys) Update(ctx context.Context, serverKey *v1alpha1.ServerKey, opts v1.UpdateOptions) (result *v1alpha1.ServerKey, err error)
- func (c *FakeServerKeys) UpdateStatus(ctx context.Context, serverKey *v1alpha1.ServerKey, opts v1.UpdateOptions) (*v1alpha1.ServerKey, error)
- func (c *FakeServerKeys) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeServers
- func (c *FakeServers) Create(ctx context.Context, server *v1alpha1.Server, opts v1.CreateOptions) (result *v1alpha1.Server, err error)
- func (c *FakeServers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeServers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeServers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Server, err error)
- func (c *FakeServers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServerList, err error)
- func (c *FakeServers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Server, err error)
- func (c *FakeServers) Update(ctx context.Context, server *v1alpha1.Server, opts v1.UpdateOptions) (result *v1alpha1.Server, err error)
- func (c *FakeServers) UpdateStatus(ctx context.Context, server *v1alpha1.Server, opts v1.UpdateOptions) (*v1alpha1.Server, error)
- func (c *FakeServers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualNetworkRules
- func (c *FakeVirtualNetworkRules) Create(ctx context.Context, virtualNetworkRule *v1alpha1.VirtualNetworkRule, ...) (result *v1alpha1.VirtualNetworkRule, err error)
- func (c *FakeVirtualNetworkRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualNetworkRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualNetworkRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VirtualNetworkRule, err error)
- func (c *FakeVirtualNetworkRules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VirtualNetworkRuleList, err error)
- func (c *FakeVirtualNetworkRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.VirtualNetworkRule, err error)
- func (c *FakeVirtualNetworkRules) Update(ctx context.Context, virtualNetworkRule *v1alpha1.VirtualNetworkRule, ...) (result *v1alpha1.VirtualNetworkRule, err error)
- func (c *FakeVirtualNetworkRules) UpdateStatus(ctx context.Context, virtualNetworkRule *v1alpha1.VirtualNetworkRule, ...) (*v1alpha1.VirtualNetworkRule, error)
- func (c *FakeVirtualNetworkRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeActiveDirectoryAdministrators ¶
type FakeActiveDirectoryAdministrators struct { Fake *FakeMysqlV1alpha1 // contains filtered or unexported fields }
FakeActiveDirectoryAdministrators implements ActiveDirectoryAdministratorInterface
func (*FakeActiveDirectoryAdministrators) Create ¶
func (c *FakeActiveDirectoryAdministrators) Create(ctx context.Context, activeDirectoryAdministrator *v1alpha1.ActiveDirectoryAdministrator, opts v1.CreateOptions) (result *v1alpha1.ActiveDirectoryAdministrator, err error)
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 ¶
func (c *FakeActiveDirectoryAdministrators) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
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 ¶
func (c *FakeActiveDirectoryAdministrators) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ActiveDirectoryAdministrator, err error)
Get takes name of the activeDirectoryAdministrator, and returns the corresponding activeDirectoryAdministrator object, and an error if there is any.
func (*FakeActiveDirectoryAdministrators) List ¶
func (c *FakeActiveDirectoryAdministrators) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ActiveDirectoryAdministratorList, err error)
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 ¶
func (c *FakeActiveDirectoryAdministrators) Update(ctx context.Context, activeDirectoryAdministrator *v1alpha1.ActiveDirectoryAdministrator, opts v1.UpdateOptions) (result *v1alpha1.ActiveDirectoryAdministrator, err error)
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 ¶
func (c *FakeActiveDirectoryAdministrators) UpdateStatus(ctx context.Context, activeDirectoryAdministrator *v1alpha1.ActiveDirectoryAdministrator, opts v1.UpdateOptions) (*v1alpha1.ActiveDirectoryAdministrator, error)
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 ¶
func (c *FakeActiveDirectoryAdministrators) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested activeDirectoryAdministrators.
type FakeConfigurations ¶
type FakeConfigurations struct { Fake *FakeMysqlV1alpha1 // contains filtered or unexported fields }
FakeConfigurations implements ConfigurationInterface
func (*FakeConfigurations) Create ¶
func (c *FakeConfigurations) Create(ctx context.Context, configuration *v1alpha1.Configuration, opts v1.CreateOptions) (result *v1alpha1.Configuration, err error)
Create takes the representation of a configuration and creates it. Returns the server's representation of the configuration, and an error, if there is any.
func (*FakeConfigurations) Delete ¶
func (c *FakeConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the configuration and deletes it. Returns an error if one occurs.
func (*FakeConfigurations) DeleteCollection ¶
func (c *FakeConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConfigurations) Get ¶
func (c *FakeConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Configuration, err error)
Get takes name of the configuration, and returns the corresponding configuration object, and an error if there is any.
func (*FakeConfigurations) List ¶
func (c *FakeConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ConfigurationList, err error)
List takes label and field selectors, and returns the list of Configurations that match those selectors.
func (*FakeConfigurations) Patch ¶
func (c *FakeConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Configuration, err error)
Patch applies the patch and returns the patched configuration.
func (*FakeConfigurations) Update ¶
func (c *FakeConfigurations) Update(ctx context.Context, configuration *v1alpha1.Configuration, opts v1.UpdateOptions) (result *v1alpha1.Configuration, err error)
Update takes the representation of a configuration and updates it. Returns the server's representation of the configuration, and an error, if there is any.
func (*FakeConfigurations) UpdateStatus ¶
func (c *FakeConfigurations) UpdateStatus(ctx context.Context, configuration *v1alpha1.Configuration, opts v1.UpdateOptions) (*v1alpha1.Configuration, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeConfigurations) Watch ¶
func (c *FakeConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested configurations.
type FakeDatabases ¶
type FakeDatabases struct { Fake *FakeMysqlV1alpha1 // 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 ¶
func (c *FakeDatabases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested databases.
type FakeFirewallRules ¶
type FakeFirewallRules struct { Fake *FakeMysqlV1alpha1 // 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 ¶
func (c *FakeFirewallRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested firewallRules.
type FakeFlexibleDatabases ¶ added in v0.5.0
type FakeFlexibleDatabases struct { Fake *FakeMysqlV1alpha1 // contains filtered or unexported fields }
FakeFlexibleDatabases implements FlexibleDatabaseInterface
func (*FakeFlexibleDatabases) Create ¶ added in v0.5.0
func (c *FakeFlexibleDatabases) Create(ctx context.Context, flexibleDatabase *v1alpha1.FlexibleDatabase, opts v1.CreateOptions) (result *v1alpha1.FlexibleDatabase, err error)
Create takes the representation of a flexibleDatabase and creates it. Returns the server's representation of the flexibleDatabase, and an error, if there is any.
func (*FakeFlexibleDatabases) Delete ¶ added in v0.5.0
func (c *FakeFlexibleDatabases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the flexibleDatabase and deletes it. Returns an error if one occurs.
func (*FakeFlexibleDatabases) DeleteCollection ¶ added in v0.5.0
func (c *FakeFlexibleDatabases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFlexibleDatabases) Get ¶ added in v0.5.0
func (c *FakeFlexibleDatabases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FlexibleDatabase, err error)
Get takes name of the flexibleDatabase, and returns the corresponding flexibleDatabase object, and an error if there is any.
func (*FakeFlexibleDatabases) List ¶ added in v0.5.0
func (c *FakeFlexibleDatabases) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FlexibleDatabaseList, err error)
List takes label and field selectors, and returns the list of FlexibleDatabases that match those selectors.
func (*FakeFlexibleDatabases) Patch ¶ added in v0.5.0
func (c *FakeFlexibleDatabases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.FlexibleDatabase, err error)
Patch applies the patch and returns the patched flexibleDatabase.
func (*FakeFlexibleDatabases) Update ¶ added in v0.5.0
func (c *FakeFlexibleDatabases) Update(ctx context.Context, flexibleDatabase *v1alpha1.FlexibleDatabase, opts v1.UpdateOptions) (result *v1alpha1.FlexibleDatabase, err error)
Update takes the representation of a flexibleDatabase and updates it. Returns the server's representation of the flexibleDatabase, and an error, if there is any.
func (*FakeFlexibleDatabases) UpdateStatus ¶ added in v0.5.0
func (c *FakeFlexibleDatabases) UpdateStatus(ctx context.Context, flexibleDatabase *v1alpha1.FlexibleDatabase, opts v1.UpdateOptions) (*v1alpha1.FlexibleDatabase, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeFlexibleDatabases) Watch ¶ added in v0.5.0
func (c *FakeFlexibleDatabases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested flexibleDatabases.
type FakeFlexibleServerConfigurations ¶ added in v0.5.0
type FakeFlexibleServerConfigurations struct { Fake *FakeMysqlV1alpha1 // contains filtered or unexported fields }
FakeFlexibleServerConfigurations implements FlexibleServerConfigurationInterface
func (*FakeFlexibleServerConfigurations) Create ¶ added in v0.5.0
func (c *FakeFlexibleServerConfigurations) Create(ctx context.Context, flexibleServerConfiguration *v1alpha1.FlexibleServerConfiguration, opts v1.CreateOptions) (result *v1alpha1.FlexibleServerConfiguration, err error)
Create takes the representation of a flexibleServerConfiguration and creates it. Returns the server's representation of the flexibleServerConfiguration, and an error, if there is any.
func (*FakeFlexibleServerConfigurations) Delete ¶ added in v0.5.0
func (c *FakeFlexibleServerConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the flexibleServerConfiguration and deletes it. Returns an error if one occurs.
func (*FakeFlexibleServerConfigurations) DeleteCollection ¶ added in v0.5.0
func (c *FakeFlexibleServerConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFlexibleServerConfigurations) Get ¶ added in v0.5.0
func (c *FakeFlexibleServerConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FlexibleServerConfiguration, err error)
Get takes name of the flexibleServerConfiguration, and returns the corresponding flexibleServerConfiguration object, and an error if there is any.
func (*FakeFlexibleServerConfigurations) List ¶ added in v0.5.0
func (c *FakeFlexibleServerConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FlexibleServerConfigurationList, err error)
List takes label and field selectors, and returns the list of FlexibleServerConfigurations that match those selectors.
func (*FakeFlexibleServerConfigurations) Patch ¶ added in v0.5.0
func (c *FakeFlexibleServerConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.FlexibleServerConfiguration, err error)
Patch applies the patch and returns the patched flexibleServerConfiguration.
func (*FakeFlexibleServerConfigurations) Update ¶ added in v0.5.0
func (c *FakeFlexibleServerConfigurations) Update(ctx context.Context, flexibleServerConfiguration *v1alpha1.FlexibleServerConfiguration, opts v1.UpdateOptions) (result *v1alpha1.FlexibleServerConfiguration, err error)
Update takes the representation of a flexibleServerConfiguration and updates it. Returns the server's representation of the flexibleServerConfiguration, and an error, if there is any.
func (*FakeFlexibleServerConfigurations) UpdateStatus ¶ added in v0.5.0
func (c *FakeFlexibleServerConfigurations) UpdateStatus(ctx context.Context, flexibleServerConfiguration *v1alpha1.FlexibleServerConfiguration, opts v1.UpdateOptions) (*v1alpha1.FlexibleServerConfiguration, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeFlexibleServerConfigurations) Watch ¶ added in v0.5.0
func (c *FakeFlexibleServerConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested flexibleServerConfigurations.
type FakeFlexibleServerFirewallRules ¶ added in v0.5.0
type FakeFlexibleServerFirewallRules struct { Fake *FakeMysqlV1alpha1 // contains filtered or unexported fields }
FakeFlexibleServerFirewallRules implements FlexibleServerFirewallRuleInterface
func (*FakeFlexibleServerFirewallRules) Create ¶ added in v0.5.0
func (c *FakeFlexibleServerFirewallRules) Create(ctx context.Context, flexibleServerFirewallRule *v1alpha1.FlexibleServerFirewallRule, opts v1.CreateOptions) (result *v1alpha1.FlexibleServerFirewallRule, err error)
Create takes the representation of a flexibleServerFirewallRule and creates it. Returns the server's representation of the flexibleServerFirewallRule, and an error, if there is any.
func (*FakeFlexibleServerFirewallRules) Delete ¶ added in v0.5.0
func (c *FakeFlexibleServerFirewallRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the flexibleServerFirewallRule and deletes it. Returns an error if one occurs.
func (*FakeFlexibleServerFirewallRules) DeleteCollection ¶ added in v0.5.0
func (c *FakeFlexibleServerFirewallRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFlexibleServerFirewallRules) Get ¶ added in v0.5.0
func (c *FakeFlexibleServerFirewallRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FlexibleServerFirewallRule, err error)
Get takes name of the flexibleServerFirewallRule, and returns the corresponding flexibleServerFirewallRule object, and an error if there is any.
func (*FakeFlexibleServerFirewallRules) List ¶ added in v0.5.0
func (c *FakeFlexibleServerFirewallRules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FlexibleServerFirewallRuleList, err error)
List takes label and field selectors, and returns the list of FlexibleServerFirewallRules that match those selectors.
func (*FakeFlexibleServerFirewallRules) Patch ¶ added in v0.5.0
func (c *FakeFlexibleServerFirewallRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.FlexibleServerFirewallRule, err error)
Patch applies the patch and returns the patched flexibleServerFirewallRule.
func (*FakeFlexibleServerFirewallRules) Update ¶ added in v0.5.0
func (c *FakeFlexibleServerFirewallRules) Update(ctx context.Context, flexibleServerFirewallRule *v1alpha1.FlexibleServerFirewallRule, opts v1.UpdateOptions) (result *v1alpha1.FlexibleServerFirewallRule, err error)
Update takes the representation of a flexibleServerFirewallRule and updates it. Returns the server's representation of the flexibleServerFirewallRule, and an error, if there is any.
func (*FakeFlexibleServerFirewallRules) UpdateStatus ¶ added in v0.5.0
func (c *FakeFlexibleServerFirewallRules) UpdateStatus(ctx context.Context, flexibleServerFirewallRule *v1alpha1.FlexibleServerFirewallRule, opts v1.UpdateOptions) (*v1alpha1.FlexibleServerFirewallRule, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeFlexibleServerFirewallRules) Watch ¶ added in v0.5.0
func (c *FakeFlexibleServerFirewallRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested flexibleServerFirewallRules.
type FakeFlexibleServers ¶ added in v0.5.0
type FakeFlexibleServers struct { Fake *FakeMysqlV1alpha1 // contains filtered or unexported fields }
FakeFlexibleServers implements FlexibleServerInterface
func (*FakeFlexibleServers) Create ¶ added in v0.5.0
func (c *FakeFlexibleServers) Create(ctx context.Context, flexibleServer *v1alpha1.FlexibleServer, opts v1.CreateOptions) (result *v1alpha1.FlexibleServer, err error)
Create takes the representation of a flexibleServer and creates it. Returns the server's representation of the flexibleServer, and an error, if there is any.
func (*FakeFlexibleServers) Delete ¶ added in v0.5.0
func (c *FakeFlexibleServers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the flexibleServer and deletes it. Returns an error if one occurs.
func (*FakeFlexibleServers) DeleteCollection ¶ added in v0.5.0
func (c *FakeFlexibleServers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFlexibleServers) Get ¶ added in v0.5.0
func (c *FakeFlexibleServers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FlexibleServer, err error)
Get takes name of the flexibleServer, and returns the corresponding flexibleServer object, and an error if there is any.
func (*FakeFlexibleServers) List ¶ added in v0.5.0
func (c *FakeFlexibleServers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FlexibleServerList, err error)
List takes label and field selectors, and returns the list of FlexibleServers that match those selectors.
func (*FakeFlexibleServers) Patch ¶ added in v0.5.0
func (c *FakeFlexibleServers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.FlexibleServer, err error)
Patch applies the patch and returns the patched flexibleServer.
func (*FakeFlexibleServers) Update ¶ added in v0.5.0
func (c *FakeFlexibleServers) Update(ctx context.Context, flexibleServer *v1alpha1.FlexibleServer, opts v1.UpdateOptions) (result *v1alpha1.FlexibleServer, err error)
Update takes the representation of a flexibleServer and updates it. Returns the server's representation of the flexibleServer, and an error, if there is any.
func (*FakeFlexibleServers) UpdateStatus ¶ added in v0.5.0
func (c *FakeFlexibleServers) UpdateStatus(ctx context.Context, flexibleServer *v1alpha1.FlexibleServer, opts v1.UpdateOptions) (*v1alpha1.FlexibleServer, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeFlexibleServers) Watch ¶ added in v0.5.0
func (c *FakeFlexibleServers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested flexibleServers.
type FakeMysqlV1alpha1 ¶
func (*FakeMysqlV1alpha1) ActiveDirectoryAdministrators ¶
func (c *FakeMysqlV1alpha1) ActiveDirectoryAdministrators(namespace string) v1alpha1.ActiveDirectoryAdministratorInterface
func (*FakeMysqlV1alpha1) Configurations ¶
func (c *FakeMysqlV1alpha1) Configurations(namespace string) v1alpha1.ConfigurationInterface
func (*FakeMysqlV1alpha1) Databases ¶
func (c *FakeMysqlV1alpha1) Databases(namespace string) v1alpha1.DatabaseInterface
func (*FakeMysqlV1alpha1) FirewallRules ¶
func (c *FakeMysqlV1alpha1) FirewallRules(namespace string) v1alpha1.FirewallRuleInterface
func (*FakeMysqlV1alpha1) FlexibleDatabases ¶ added in v0.5.0
func (c *FakeMysqlV1alpha1) FlexibleDatabases(namespace string) v1alpha1.FlexibleDatabaseInterface
func (*FakeMysqlV1alpha1) FlexibleServerConfigurations ¶ added in v0.5.0
func (c *FakeMysqlV1alpha1) FlexibleServerConfigurations(namespace string) v1alpha1.FlexibleServerConfigurationInterface
func (*FakeMysqlV1alpha1) FlexibleServerFirewallRules ¶ added in v0.5.0
func (c *FakeMysqlV1alpha1) FlexibleServerFirewallRules(namespace string) v1alpha1.FlexibleServerFirewallRuleInterface
func (*FakeMysqlV1alpha1) FlexibleServers ¶ added in v0.5.0
func (c *FakeMysqlV1alpha1) FlexibleServers(namespace string) v1alpha1.FlexibleServerInterface
func (*FakeMysqlV1alpha1) RESTClient ¶
func (c *FakeMysqlV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeMysqlV1alpha1) ServerKeys ¶
func (c *FakeMysqlV1alpha1) ServerKeys(namespace string) v1alpha1.ServerKeyInterface
func (*FakeMysqlV1alpha1) Servers ¶
func (c *FakeMysqlV1alpha1) Servers(namespace string) v1alpha1.ServerInterface
func (*FakeMysqlV1alpha1) VirtualNetworkRules ¶
func (c *FakeMysqlV1alpha1) VirtualNetworkRules(namespace string) v1alpha1.VirtualNetworkRuleInterface
type FakeServerKeys ¶
type FakeServerKeys struct { Fake *FakeMysqlV1alpha1 // contains filtered or unexported fields }
FakeServerKeys implements ServerKeyInterface
func (*FakeServerKeys) Create ¶
func (c *FakeServerKeys) Create(ctx context.Context, serverKey *v1alpha1.ServerKey, opts v1.CreateOptions) (result *v1alpha1.ServerKey, err error)
Create takes the representation of a serverKey and creates it. Returns the server's representation of the serverKey, and an error, if there is any.
func (*FakeServerKeys) Delete ¶
func (c *FakeServerKeys) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the serverKey and deletes it. Returns an error if one occurs.
func (*FakeServerKeys) DeleteCollection ¶
func (c *FakeServerKeys) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServerKeys) Get ¶
func (c *FakeServerKeys) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ServerKey, err error)
Get takes name of the serverKey, and returns the corresponding serverKey object, and an error if there is any.
func (*FakeServerKeys) List ¶
func (c *FakeServerKeys) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServerKeyList, err error)
List takes label and field selectors, and returns the list of ServerKeys that match those selectors.
func (*FakeServerKeys) Patch ¶
func (c *FakeServerKeys) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ServerKey, err error)
Patch applies the patch and returns the patched serverKey.
func (*FakeServerKeys) Update ¶
func (c *FakeServerKeys) Update(ctx context.Context, serverKey *v1alpha1.ServerKey, opts v1.UpdateOptions) (result *v1alpha1.ServerKey, err error)
Update takes the representation of a serverKey and updates it. Returns the server's representation of the serverKey, and an error, if there is any.
func (*FakeServerKeys) UpdateStatus ¶
func (c *FakeServerKeys) UpdateStatus(ctx context.Context, serverKey *v1alpha1.ServerKey, opts v1.UpdateOptions) (*v1alpha1.ServerKey, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeServerKeys) Watch ¶
func (c *FakeServerKeys) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serverKeys.
type FakeServers ¶
type FakeServers struct { Fake *FakeMysqlV1alpha1 // 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 FakeVirtualNetworkRules ¶
type FakeVirtualNetworkRules struct { Fake *FakeMysqlV1alpha1 // 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 ¶
func (c *FakeVirtualNetworkRules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VirtualNetworkRuleList, err error)
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 ¶
func (c *FakeVirtualNetworkRules) UpdateStatus(ctx context.Context, virtualNetworkRule *v1alpha1.VirtualNetworkRule, opts v1.UpdateOptions) (*v1alpha1.VirtualNetworkRule, error)
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 ¶
func (c *FakeVirtualNetworkRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualNetworkRules.
Source Files ¶
- doc.go
- fake_activedirectoryadministrator.go
- fake_configuration.go
- fake_database.go
- fake_firewallrule.go
- fake_flexibledatabase.go
- fake_flexibleserver.go
- fake_flexibleserverconfiguration.go
- fake_flexibleserverfirewallrule.go
- fake_mysql_client.go
- fake_server.go
- fake_serverkey.go
- fake_virtualnetworkrule.go