Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeSpannerDatabases
- func (c *FakeSpannerDatabases) Create(ctx context.Context, spannerDatabase *v1beta1.SpannerDatabase, ...) (result *v1beta1.SpannerDatabase, err error)
- func (c *FakeSpannerDatabases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSpannerDatabases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSpannerDatabases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.SpannerDatabase, err error)
- func (c *FakeSpannerDatabases) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.SpannerDatabaseList, err error)
- func (c *FakeSpannerDatabases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.SpannerDatabase, err error)
- func (c *FakeSpannerDatabases) Update(ctx context.Context, spannerDatabase *v1beta1.SpannerDatabase, ...) (result *v1beta1.SpannerDatabase, err error)
- func (c *FakeSpannerDatabases) UpdateStatus(ctx context.Context, spannerDatabase *v1beta1.SpannerDatabase, ...) (*v1beta1.SpannerDatabase, error)
- func (c *FakeSpannerDatabases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSpannerInstances
- func (c *FakeSpannerInstances) Create(ctx context.Context, spannerInstance *v1beta1.SpannerInstance, ...) (result *v1beta1.SpannerInstance, err error)
- func (c *FakeSpannerInstances) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSpannerInstances) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSpannerInstances) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.SpannerInstance, err error)
- func (c *FakeSpannerInstances) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.SpannerInstanceList, err error)
- func (c *FakeSpannerInstances) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.SpannerInstance, err error)
- func (c *FakeSpannerInstances) Update(ctx context.Context, spannerInstance *v1beta1.SpannerInstance, ...) (result *v1beta1.SpannerInstance, err error)
- func (c *FakeSpannerInstances) UpdateStatus(ctx context.Context, spannerInstance *v1beta1.SpannerInstance, ...) (*v1beta1.SpannerInstance, error)
- func (c *FakeSpannerInstances) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSpannerV1beta1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeSpannerDatabases ¶
type FakeSpannerDatabases struct { Fake *FakeSpannerV1beta1 // contains filtered or unexported fields }
FakeSpannerDatabases implements SpannerDatabaseInterface
func (*FakeSpannerDatabases) Create ¶
func (c *FakeSpannerDatabases) Create(ctx context.Context, spannerDatabase *v1beta1.SpannerDatabase, opts v1.CreateOptions) (result *v1beta1.SpannerDatabase, err error)
Create takes the representation of a spannerDatabase and creates it. Returns the server's representation of the spannerDatabase, and an error, if there is any.
func (*FakeSpannerDatabases) Delete ¶
func (c *FakeSpannerDatabases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the spannerDatabase and deletes it. Returns an error if one occurs.
func (*FakeSpannerDatabases) DeleteCollection ¶
func (c *FakeSpannerDatabases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSpannerDatabases) Get ¶
func (c *FakeSpannerDatabases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.SpannerDatabase, err error)
Get takes name of the spannerDatabase, and returns the corresponding spannerDatabase object, and an error if there is any.
func (*FakeSpannerDatabases) List ¶
func (c *FakeSpannerDatabases) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.SpannerDatabaseList, err error)
List takes label and field selectors, and returns the list of SpannerDatabases that match those selectors.
func (*FakeSpannerDatabases) Patch ¶
func (c *FakeSpannerDatabases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.SpannerDatabase, err error)
Patch applies the patch and returns the patched spannerDatabase.
func (*FakeSpannerDatabases) Update ¶
func (c *FakeSpannerDatabases) Update(ctx context.Context, spannerDatabase *v1beta1.SpannerDatabase, opts v1.UpdateOptions) (result *v1beta1.SpannerDatabase, err error)
Update takes the representation of a spannerDatabase and updates it. Returns the server's representation of the spannerDatabase, and an error, if there is any.
func (*FakeSpannerDatabases) UpdateStatus ¶
func (c *FakeSpannerDatabases) UpdateStatus(ctx context.Context, spannerDatabase *v1beta1.SpannerDatabase, opts v1.UpdateOptions) (*v1beta1.SpannerDatabase, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSpannerDatabases) Watch ¶
func (c *FakeSpannerDatabases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested spannerDatabases.
type FakeSpannerInstances ¶
type FakeSpannerInstances struct { Fake *FakeSpannerV1beta1 // contains filtered or unexported fields }
FakeSpannerInstances implements SpannerInstanceInterface
func (*FakeSpannerInstances) Create ¶
func (c *FakeSpannerInstances) Create(ctx context.Context, spannerInstance *v1beta1.SpannerInstance, opts v1.CreateOptions) (result *v1beta1.SpannerInstance, err error)
Create takes the representation of a spannerInstance and creates it. Returns the server's representation of the spannerInstance, and an error, if there is any.
func (*FakeSpannerInstances) Delete ¶
func (c *FakeSpannerInstances) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the spannerInstance and deletes it. Returns an error if one occurs.
func (*FakeSpannerInstances) DeleteCollection ¶
func (c *FakeSpannerInstances) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSpannerInstances) Get ¶
func (c *FakeSpannerInstances) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.SpannerInstance, err error)
Get takes name of the spannerInstance, and returns the corresponding spannerInstance object, and an error if there is any.
func (*FakeSpannerInstances) List ¶
func (c *FakeSpannerInstances) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.SpannerInstanceList, err error)
List takes label and field selectors, and returns the list of SpannerInstances that match those selectors.
func (*FakeSpannerInstances) Patch ¶
func (c *FakeSpannerInstances) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.SpannerInstance, err error)
Patch applies the patch and returns the patched spannerInstance.
func (*FakeSpannerInstances) Update ¶
func (c *FakeSpannerInstances) Update(ctx context.Context, spannerInstance *v1beta1.SpannerInstance, opts v1.UpdateOptions) (result *v1beta1.SpannerInstance, err error)
Update takes the representation of a spannerInstance and updates it. Returns the server's representation of the spannerInstance, and an error, if there is any.
func (*FakeSpannerInstances) UpdateStatus ¶
func (c *FakeSpannerInstances) UpdateStatus(ctx context.Context, spannerInstance *v1beta1.SpannerInstance, opts v1.UpdateOptions) (*v1beta1.SpannerInstance, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSpannerInstances) Watch ¶
func (c *FakeSpannerInstances) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested spannerInstances.
type FakeSpannerV1beta1 ¶
func (*FakeSpannerV1beta1) RESTClient ¶
func (c *FakeSpannerV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSpannerV1beta1) SpannerDatabases ¶
func (c *FakeSpannerV1beta1) SpannerDatabases(namespace string) v1beta1.SpannerDatabaseInterface
func (*FakeSpannerV1beta1) SpannerInstances ¶
func (c *FakeSpannerV1beta1) SpannerInstances(namespace string) v1beta1.SpannerInstanceInterface