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 FakeAutoScalingConfigurations

type FakeAutoScalingConfigurations struct {
	Fake *FakeBdsV1alpha1
	// contains filtered or unexported fields
}

FakeAutoScalingConfigurations implements AutoScalingConfigurationInterface

func (*FakeAutoScalingConfigurations) Create

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

func (*FakeAutoScalingConfigurations) Delete

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

func (*FakeAutoScalingConfigurations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAutoScalingConfigurations) Get

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

func (*FakeAutoScalingConfigurations) List

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

func (*FakeAutoScalingConfigurations) Patch

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

Patch applies the patch and returns the patched autoScalingConfiguration.

func (*FakeAutoScalingConfigurations) Update

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

func (*FakeAutoScalingConfigurations) UpdateStatus

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

func (*FakeAutoScalingConfigurations) Watch

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

type FakeBdsInstanceAPIKeys added in v0.5.0

type FakeBdsInstanceAPIKeys struct {
	Fake *FakeBdsV1alpha1
	// contains filtered or unexported fields
}

FakeBdsInstanceAPIKeys implements BdsInstanceAPIKeyInterface

func (*FakeBdsInstanceAPIKeys) Create added in v0.5.0

func (c *FakeBdsInstanceAPIKeys) Create(ctx context.Context, bdsInstanceAPIKey *v1alpha1.BdsInstanceAPIKey, opts v1.CreateOptions) (result *v1alpha1.BdsInstanceAPIKey, err error)

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

func (*FakeBdsInstanceAPIKeys) Delete added in v0.5.0

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

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

func (*FakeBdsInstanceAPIKeys) DeleteCollection added in v0.5.0

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

DeleteCollection deletes a collection of objects.

func (*FakeBdsInstanceAPIKeys) Get added in v0.5.0

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

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

func (*FakeBdsInstanceAPIKeys) List added in v0.5.0

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

func (*FakeBdsInstanceAPIKeys) Patch added in v0.5.0

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

Patch applies the patch and returns the patched bdsInstanceAPIKey.

func (*FakeBdsInstanceAPIKeys) Update added in v0.5.0

func (c *FakeBdsInstanceAPIKeys) Update(ctx context.Context, bdsInstanceAPIKey *v1alpha1.BdsInstanceAPIKey, opts v1.UpdateOptions) (result *v1alpha1.BdsInstanceAPIKey, err error)

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

func (*FakeBdsInstanceAPIKeys) 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 (*FakeBdsInstanceAPIKeys) Watch added in v0.5.0

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

type FakeBdsInstanceMetastoreConfigs added in v0.5.0

type FakeBdsInstanceMetastoreConfigs struct {
	Fake *FakeBdsV1alpha1
	// contains filtered or unexported fields
}

FakeBdsInstanceMetastoreConfigs implements BdsInstanceMetastoreConfigInterface

func (*FakeBdsInstanceMetastoreConfigs) Create added in v0.5.0

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

func (*FakeBdsInstanceMetastoreConfigs) Delete added in v0.5.0

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

func (*FakeBdsInstanceMetastoreConfigs) DeleteCollection added in v0.5.0

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

DeleteCollection deletes a collection of objects.

func (*FakeBdsInstanceMetastoreConfigs) Get added in v0.5.0

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

func (*FakeBdsInstanceMetastoreConfigs) List added in v0.5.0

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

func (*FakeBdsInstanceMetastoreConfigs) Patch added in v0.5.0

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

Patch applies the patch and returns the patched bdsInstanceMetastoreConfig.

func (*FakeBdsInstanceMetastoreConfigs) Update added in v0.5.0

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

func (*FakeBdsInstanceMetastoreConfigs) 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 (*FakeBdsInstanceMetastoreConfigs) Watch added in v0.5.0

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

type FakeBdsInstances

type FakeBdsInstances struct {
	Fake *FakeBdsV1alpha1
	// contains filtered or unexported fields
}

FakeBdsInstances implements BdsInstanceInterface

func (*FakeBdsInstances) Create

func (c *FakeBdsInstances) Create(ctx context.Context, bdsInstance *v1alpha1.BdsInstance, opts v1.CreateOptions) (result *v1alpha1.BdsInstance, err error)

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

func (*FakeBdsInstances) Delete

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

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

func (*FakeBdsInstances) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBdsInstances) Get

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

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

func (*FakeBdsInstances) List

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

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

func (*FakeBdsInstances) Patch

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

Patch applies the patch and returns the patched bdsInstance.

func (*FakeBdsInstances) Update

func (c *FakeBdsInstances) Update(ctx context.Context, bdsInstance *v1alpha1.BdsInstance, opts v1.UpdateOptions) (result *v1alpha1.BdsInstance, err error)

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

func (*FakeBdsInstances) UpdateStatus

func (c *FakeBdsInstances) UpdateStatus(ctx context.Context, bdsInstance *v1alpha1.BdsInstance, opts v1.UpdateOptions) (*v1alpha1.BdsInstance, error)

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

func (*FakeBdsInstances) Watch

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

type FakeBdsV1alpha1

type FakeBdsV1alpha1 struct {
	*testing.Fake
}

func (*FakeBdsV1alpha1) AutoScalingConfigurations

func (c *FakeBdsV1alpha1) AutoScalingConfigurations(namespace string) v1alpha1.AutoScalingConfigurationInterface

func (*FakeBdsV1alpha1) BdsInstanceAPIKeys added in v0.5.0

func (c *FakeBdsV1alpha1) BdsInstanceAPIKeys(namespace string) v1alpha1.BdsInstanceAPIKeyInterface

func (*FakeBdsV1alpha1) BdsInstanceMetastoreConfigs added in v0.5.0

func (c *FakeBdsV1alpha1) BdsInstanceMetastoreConfigs(namespace string) v1alpha1.BdsInstanceMetastoreConfigInterface

func (*FakeBdsV1alpha1) BdsInstances

func (c *FakeBdsV1alpha1) BdsInstances(namespace string) v1alpha1.BdsInstanceInterface

func (*FakeBdsV1alpha1) RESTClient

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

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

Jump to

Keyboard shortcuts

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