Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeGateDatabaseRegistrations
- func (c *FakeGateDatabaseRegistrations) Create(ctx context.Context, ...) (result *v1alpha1.GateDatabaseRegistration, err error)
- func (c *FakeGateDatabaseRegistrations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGateDatabaseRegistrations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGateDatabaseRegistrations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GateDatabaseRegistration, err error)
- func (c *FakeGateDatabaseRegistrations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GateDatabaseRegistrationList, err error)
- func (c *FakeGateDatabaseRegistrations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.GateDatabaseRegistration, err error)
- func (c *FakeGateDatabaseRegistrations) Update(ctx context.Context, ...) (result *v1alpha1.GateDatabaseRegistration, err error)
- func (c *FakeGateDatabaseRegistrations) UpdateStatus(ctx context.Context, ...) (*v1alpha1.GateDatabaseRegistration, error)
- func (c *FakeGateDatabaseRegistrations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeGateDeploymentBackups
- func (c *FakeGateDeploymentBackups) Create(ctx context.Context, gateDeploymentBackup *v1alpha1.GateDeploymentBackup, ...) (result *v1alpha1.GateDeploymentBackup, err error)
- func (c *FakeGateDeploymentBackups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGateDeploymentBackups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGateDeploymentBackups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GateDeploymentBackup, err error)
- func (c *FakeGateDeploymentBackups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GateDeploymentBackupList, err error)
- func (c *FakeGateDeploymentBackups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.GateDeploymentBackup, err error)
- func (c *FakeGateDeploymentBackups) Update(ctx context.Context, gateDeploymentBackup *v1alpha1.GateDeploymentBackup, ...) (result *v1alpha1.GateDeploymentBackup, err error)
- func (c *FakeGateDeploymentBackups) UpdateStatus(ctx context.Context, gateDeploymentBackup *v1alpha1.GateDeploymentBackup, ...) (*v1alpha1.GateDeploymentBackup, error)
- func (c *FakeGateDeploymentBackups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeGateDeployments
- func (c *FakeGateDeployments) Create(ctx context.Context, gateDeployment *v1alpha1.GateDeployment, ...) (result *v1alpha1.GateDeployment, err error)
- func (c *FakeGateDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGateDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGateDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GateDeployment, err error)
- func (c *FakeGateDeployments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GateDeploymentList, err error)
- func (c *FakeGateDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.GateDeployment, err error)
- func (c *FakeGateDeployments) Update(ctx context.Context, gateDeployment *v1alpha1.GateDeployment, ...) (result *v1alpha1.GateDeployment, err error)
- func (c *FakeGateDeployments) UpdateStatus(ctx context.Context, gateDeployment *v1alpha1.GateDeployment, ...) (*v1alpha1.GateDeployment, error)
- func (c *FakeGateDeployments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeGoldenV1alpha1
- func (c *FakeGoldenV1alpha1) GateDatabaseRegistrations(namespace string) v1alpha1.GateDatabaseRegistrationInterface
- func (c *FakeGoldenV1alpha1) GateDeploymentBackups(namespace string) v1alpha1.GateDeploymentBackupInterface
- func (c *FakeGoldenV1alpha1) GateDeployments(namespace string) v1alpha1.GateDeploymentInterface
- func (c *FakeGoldenV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeGateDatabaseRegistrations ¶
type FakeGateDatabaseRegistrations struct { Fake *FakeGoldenV1alpha1 // contains filtered or unexported fields }
FakeGateDatabaseRegistrations implements GateDatabaseRegistrationInterface
func (*FakeGateDatabaseRegistrations) Create ¶
func (c *FakeGateDatabaseRegistrations) Create(ctx context.Context, gateDatabaseRegistration *v1alpha1.GateDatabaseRegistration, opts v1.CreateOptions) (result *v1alpha1.GateDatabaseRegistration, err error)
Create takes the representation of a gateDatabaseRegistration and creates it. Returns the server's representation of the gateDatabaseRegistration, and an error, if there is any.
func (*FakeGateDatabaseRegistrations) Delete ¶
func (c *FakeGateDatabaseRegistrations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the gateDatabaseRegistration and deletes it. Returns an error if one occurs.
func (*FakeGateDatabaseRegistrations) DeleteCollection ¶
func (c *FakeGateDatabaseRegistrations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGateDatabaseRegistrations) Get ¶
func (c *FakeGateDatabaseRegistrations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GateDatabaseRegistration, err error)
Get takes name of the gateDatabaseRegistration, and returns the corresponding gateDatabaseRegistration object, and an error if there is any.
func (*FakeGateDatabaseRegistrations) List ¶
func (c *FakeGateDatabaseRegistrations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GateDatabaseRegistrationList, err error)
List takes label and field selectors, and returns the list of GateDatabaseRegistrations that match those selectors.
func (*FakeGateDatabaseRegistrations) Patch ¶
func (c *FakeGateDatabaseRegistrations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.GateDatabaseRegistration, err error)
Patch applies the patch and returns the patched gateDatabaseRegistration.
func (*FakeGateDatabaseRegistrations) Update ¶
func (c *FakeGateDatabaseRegistrations) Update(ctx context.Context, gateDatabaseRegistration *v1alpha1.GateDatabaseRegistration, opts v1.UpdateOptions) (result *v1alpha1.GateDatabaseRegistration, err error)
Update takes the representation of a gateDatabaseRegistration and updates it. Returns the server's representation of the gateDatabaseRegistration, and an error, if there is any.
func (*FakeGateDatabaseRegistrations) UpdateStatus ¶
func (c *FakeGateDatabaseRegistrations) UpdateStatus(ctx context.Context, gateDatabaseRegistration *v1alpha1.GateDatabaseRegistration, opts v1.UpdateOptions) (*v1alpha1.GateDatabaseRegistration, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGateDatabaseRegistrations) Watch ¶
func (c *FakeGateDatabaseRegistrations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gateDatabaseRegistrations.
type FakeGateDeploymentBackups ¶
type FakeGateDeploymentBackups struct { Fake *FakeGoldenV1alpha1 // contains filtered or unexported fields }
FakeGateDeploymentBackups implements GateDeploymentBackupInterface
func (*FakeGateDeploymentBackups) Create ¶
func (c *FakeGateDeploymentBackups) Create(ctx context.Context, gateDeploymentBackup *v1alpha1.GateDeploymentBackup, opts v1.CreateOptions) (result *v1alpha1.GateDeploymentBackup, err error)
Create takes the representation of a gateDeploymentBackup and creates it. Returns the server's representation of the gateDeploymentBackup, and an error, if there is any.
func (*FakeGateDeploymentBackups) Delete ¶
func (c *FakeGateDeploymentBackups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the gateDeploymentBackup and deletes it. Returns an error if one occurs.
func (*FakeGateDeploymentBackups) DeleteCollection ¶
func (c *FakeGateDeploymentBackups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGateDeploymentBackups) Get ¶
func (c *FakeGateDeploymentBackups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GateDeploymentBackup, err error)
Get takes name of the gateDeploymentBackup, and returns the corresponding gateDeploymentBackup object, and an error if there is any.
func (*FakeGateDeploymentBackups) List ¶
func (c *FakeGateDeploymentBackups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GateDeploymentBackupList, err error)
List takes label and field selectors, and returns the list of GateDeploymentBackups that match those selectors.
func (*FakeGateDeploymentBackups) Patch ¶
func (c *FakeGateDeploymentBackups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.GateDeploymentBackup, err error)
Patch applies the patch and returns the patched gateDeploymentBackup.
func (*FakeGateDeploymentBackups) Update ¶
func (c *FakeGateDeploymentBackups) Update(ctx context.Context, gateDeploymentBackup *v1alpha1.GateDeploymentBackup, opts v1.UpdateOptions) (result *v1alpha1.GateDeploymentBackup, err error)
Update takes the representation of a gateDeploymentBackup and updates it. Returns the server's representation of the gateDeploymentBackup, and an error, if there is any.
func (*FakeGateDeploymentBackups) UpdateStatus ¶
func (c *FakeGateDeploymentBackups) UpdateStatus(ctx context.Context, gateDeploymentBackup *v1alpha1.GateDeploymentBackup, opts v1.UpdateOptions) (*v1alpha1.GateDeploymentBackup, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGateDeploymentBackups) Watch ¶
func (c *FakeGateDeploymentBackups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gateDeploymentBackups.
type FakeGateDeployments ¶
type FakeGateDeployments struct { Fake *FakeGoldenV1alpha1 // contains filtered or unexported fields }
FakeGateDeployments implements GateDeploymentInterface
func (*FakeGateDeployments) Create ¶
func (c *FakeGateDeployments) Create(ctx context.Context, gateDeployment *v1alpha1.GateDeployment, opts v1.CreateOptions) (result *v1alpha1.GateDeployment, err error)
Create takes the representation of a gateDeployment and creates it. Returns the server's representation of the gateDeployment, and an error, if there is any.
func (*FakeGateDeployments) Delete ¶
func (c *FakeGateDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the gateDeployment and deletes it. Returns an error if one occurs.
func (*FakeGateDeployments) DeleteCollection ¶
func (c *FakeGateDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGateDeployments) Get ¶
func (c *FakeGateDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GateDeployment, err error)
Get takes name of the gateDeployment, and returns the corresponding gateDeployment object, and an error if there is any.
func (*FakeGateDeployments) List ¶
func (c *FakeGateDeployments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GateDeploymentList, err error)
List takes label and field selectors, and returns the list of GateDeployments that match those selectors.
func (*FakeGateDeployments) Patch ¶
func (c *FakeGateDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.GateDeployment, err error)
Patch applies the patch and returns the patched gateDeployment.
func (*FakeGateDeployments) Update ¶
func (c *FakeGateDeployments) Update(ctx context.Context, gateDeployment *v1alpha1.GateDeployment, opts v1.UpdateOptions) (result *v1alpha1.GateDeployment, err error)
Update takes the representation of a gateDeployment and updates it. Returns the server's representation of the gateDeployment, and an error, if there is any.
func (*FakeGateDeployments) UpdateStatus ¶
func (c *FakeGateDeployments) UpdateStatus(ctx context.Context, gateDeployment *v1alpha1.GateDeployment, opts v1.UpdateOptions) (*v1alpha1.GateDeployment, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGateDeployments) Watch ¶
func (c *FakeGateDeployments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gateDeployments.
type FakeGoldenV1alpha1 ¶
func (*FakeGoldenV1alpha1) GateDatabaseRegistrations ¶
func (c *FakeGoldenV1alpha1) GateDatabaseRegistrations(namespace string) v1alpha1.GateDatabaseRegistrationInterface
func (*FakeGoldenV1alpha1) GateDeploymentBackups ¶
func (c *FakeGoldenV1alpha1) GateDeploymentBackups(namespace string) v1alpha1.GateDeploymentBackupInterface
func (*FakeGoldenV1alpha1) GateDeployments ¶
func (c *FakeGoldenV1alpha1) GateDeployments(namespace string) v1alpha1.GateDeploymentInterface
func (*FakeGoldenV1alpha1) RESTClient ¶
func (c *FakeGoldenV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.