fake

package
v1.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 29, 2024 License: UPL-1.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 FakeClustersV1alpha1

type FakeClustersV1alpha1 struct {
	*testing.Fake
}

func (*FakeClustersV1alpha1) OCNEOCIQuickCreates added in v1.7.0

func (c *FakeClustersV1alpha1) OCNEOCIQuickCreates(namespace string) v1alpha1.OCNEOCIQuickCreateInterface

func (*FakeClustersV1alpha1) OKEQuickCreates added in v1.7.0

func (c *FakeClustersV1alpha1) OKEQuickCreates(namespace string) v1alpha1.OKEQuickCreateInterface

func (*FakeClustersV1alpha1) RESTClient

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

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

func (*FakeClustersV1alpha1) VerrazzanoManagedClusters

func (c *FakeClustersV1alpha1) VerrazzanoManagedClusters(namespace string) v1alpha1.VerrazzanoManagedClusterInterface

type FakeOCNEOCIQuickCreates added in v1.7.0

type FakeOCNEOCIQuickCreates struct {
	Fake *FakeClustersV1alpha1
	// contains filtered or unexported fields
}

FakeOCNEOCIQuickCreates implements OCNEOCIQuickCreateInterface

func (*FakeOCNEOCIQuickCreates) Create added in v1.7.0

func (c *FakeOCNEOCIQuickCreates) Create(ctx context.Context, oCNEOCIQuickCreate *v1alpha1.OCNEOCIQuickCreate, opts v1.CreateOptions) (result *v1alpha1.OCNEOCIQuickCreate, err error)

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

func (*FakeOCNEOCIQuickCreates) Delete added in v1.7.0

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

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

func (*FakeOCNEOCIQuickCreates) DeleteCollection added in v1.7.0

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

DeleteCollection deletes a collection of objects.

func (*FakeOCNEOCIQuickCreates) Get added in v1.7.0

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

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

func (*FakeOCNEOCIQuickCreates) List added in v1.7.0

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

func (*FakeOCNEOCIQuickCreates) Patch added in v1.7.0

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

Patch applies the patch and returns the patched oCNEOCIQuickCreate.

func (*FakeOCNEOCIQuickCreates) Update added in v1.7.0

func (c *FakeOCNEOCIQuickCreates) Update(ctx context.Context, oCNEOCIQuickCreate *v1alpha1.OCNEOCIQuickCreate, opts v1.UpdateOptions) (result *v1alpha1.OCNEOCIQuickCreate, err error)

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

func (*FakeOCNEOCIQuickCreates) UpdateStatus added in v1.7.0

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

func (*FakeOCNEOCIQuickCreates) Watch added in v1.7.0

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

type FakeOKEQuickCreates added in v1.7.0

type FakeOKEQuickCreates struct {
	Fake *FakeClustersV1alpha1
	// contains filtered or unexported fields
}

FakeOKEQuickCreates implements OKEQuickCreateInterface

func (*FakeOKEQuickCreates) Create added in v1.7.0

func (c *FakeOKEQuickCreates) Create(ctx context.Context, oKEQuickCreate *v1alpha1.OKEQuickCreate, opts v1.CreateOptions) (result *v1alpha1.OKEQuickCreate, err error)

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

func (*FakeOKEQuickCreates) Delete added in v1.7.0

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

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

func (*FakeOKEQuickCreates) DeleteCollection added in v1.7.0

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

DeleteCollection deletes a collection of objects.

func (*FakeOKEQuickCreates) Get added in v1.7.0

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

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

func (*FakeOKEQuickCreates) List added in v1.7.0

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

func (*FakeOKEQuickCreates) Patch added in v1.7.0

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

Patch applies the patch and returns the patched oKEQuickCreate.

func (*FakeOKEQuickCreates) Update added in v1.7.0

func (c *FakeOKEQuickCreates) Update(ctx context.Context, oKEQuickCreate *v1alpha1.OKEQuickCreate, opts v1.UpdateOptions) (result *v1alpha1.OKEQuickCreate, err error)

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

func (*FakeOKEQuickCreates) UpdateStatus added in v1.7.0

func (c *FakeOKEQuickCreates) UpdateStatus(ctx context.Context, oKEQuickCreate *v1alpha1.OKEQuickCreate, opts v1.UpdateOptions) (*v1alpha1.OKEQuickCreate, error)

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

func (*FakeOKEQuickCreates) Watch added in v1.7.0

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

type FakeVerrazzanoManagedClusters

type FakeVerrazzanoManagedClusters struct {
	Fake *FakeClustersV1alpha1
	// contains filtered or unexported fields
}

FakeVerrazzanoManagedClusters implements VerrazzanoManagedClusterInterface

func (*FakeVerrazzanoManagedClusters) Create

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

func (*FakeVerrazzanoManagedClusters) Delete

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

func (*FakeVerrazzanoManagedClusters) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVerrazzanoManagedClusters) Get

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

func (*FakeVerrazzanoManagedClusters) List

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

func (*FakeVerrazzanoManagedClusters) Patch

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

Patch applies the patch and returns the patched verrazzanoManagedCluster.

func (*FakeVerrazzanoManagedClusters) Update

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

func (*FakeVerrazzanoManagedClusters) UpdateStatus

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

func (*FakeVerrazzanoManagedClusters) Watch

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

Jump to

Keyboard shortcuts

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