fake

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 9 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 FakeClusterPropagatedVersions

type FakeClusterPropagatedVersions struct {
	Fake *FakeCoreV1alpha1
}

FakeClusterPropagatedVersions implements ClusterPropagatedVersionInterface

func (*FakeClusterPropagatedVersions) Create

func (c *FakeClusterPropagatedVersions) Create(clusterPropagatedVersion *v1alpha1.ClusterPropagatedVersion) (result *v1alpha1.ClusterPropagatedVersion, err error)

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

func (*FakeClusterPropagatedVersions) Delete

func (c *FakeClusterPropagatedVersions) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeClusterPropagatedVersions) DeleteCollection

func (c *FakeClusterPropagatedVersions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeClusterPropagatedVersions) Get

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

func (*FakeClusterPropagatedVersions) List

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

func (*FakeClusterPropagatedVersions) Patch

func (c *FakeClusterPropagatedVersions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterPropagatedVersion, err error)

Patch applies the patch and returns the patched clusterPropagatedVersion.

func (*FakeClusterPropagatedVersions) Update

func (c *FakeClusterPropagatedVersions) Update(clusterPropagatedVersion *v1alpha1.ClusterPropagatedVersion) (result *v1alpha1.ClusterPropagatedVersion, err error)

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

func (*FakeClusterPropagatedVersions) UpdateStatus

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

func (*FakeClusterPropagatedVersions) Watch

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

type FakeCoreV1alpha1

type FakeCoreV1alpha1 struct {
	*testing.Fake
}

func (*FakeCoreV1alpha1) ClusterPropagatedVersions

func (c *FakeCoreV1alpha1) ClusterPropagatedVersions() v1alpha1.ClusterPropagatedVersionInterface

func (*FakeCoreV1alpha1) FederatedServiceStatuses

func (c *FakeCoreV1alpha1) FederatedServiceStatuses(namespace string) v1alpha1.FederatedServiceStatusInterface

func (*FakeCoreV1alpha1) PropagatedVersions

func (c *FakeCoreV1alpha1) PropagatedVersions(namespace string) v1alpha1.PropagatedVersionInterface

func (*FakeCoreV1alpha1) RESTClient

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

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

type FakeFederatedServiceStatuses

type FakeFederatedServiceStatuses struct {
	Fake *FakeCoreV1alpha1
	// contains filtered or unexported fields
}

FakeFederatedServiceStatuses implements FederatedServiceStatusInterface

func (*FakeFederatedServiceStatuses) Create

func (c *FakeFederatedServiceStatuses) Create(federatedServiceStatus *v1alpha1.FederatedServiceStatus) (result *v1alpha1.FederatedServiceStatus, err error)

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

func (*FakeFederatedServiceStatuses) Delete

func (c *FakeFederatedServiceStatuses) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeFederatedServiceStatuses) DeleteCollection

func (c *FakeFederatedServiceStatuses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeFederatedServiceStatuses) Get

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

func (*FakeFederatedServiceStatuses) List

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

func (*FakeFederatedServiceStatuses) Patch

func (c *FakeFederatedServiceStatuses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.FederatedServiceStatus, err error)

Patch applies the patch and returns the patched federatedServiceStatus.

func (*FakeFederatedServiceStatuses) Update

func (c *FakeFederatedServiceStatuses) Update(federatedServiceStatus *v1alpha1.FederatedServiceStatus) (result *v1alpha1.FederatedServiceStatus, err error)

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

func (*FakeFederatedServiceStatuses) Watch

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

type FakePropagatedVersions

type FakePropagatedVersions struct {
	Fake *FakeCoreV1alpha1
	// contains filtered or unexported fields
}

FakePropagatedVersions implements PropagatedVersionInterface

func (*FakePropagatedVersions) Create

func (c *FakePropagatedVersions) Create(propagatedVersion *v1alpha1.PropagatedVersion) (result *v1alpha1.PropagatedVersion, err error)

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

func (*FakePropagatedVersions) Delete

func (c *FakePropagatedVersions) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakePropagatedVersions) DeleteCollection

func (c *FakePropagatedVersions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePropagatedVersions) Get

func (c *FakePropagatedVersions) Get(name string, options v1.GetOptions) (result *v1alpha1.PropagatedVersion, err error)

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

func (*FakePropagatedVersions) List

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

func (*FakePropagatedVersions) Patch

func (c *FakePropagatedVersions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.PropagatedVersion, err error)

Patch applies the patch and returns the patched propagatedVersion.

func (*FakePropagatedVersions) Update

func (c *FakePropagatedVersions) Update(propagatedVersion *v1alpha1.PropagatedVersion) (result *v1alpha1.PropagatedVersion, err error)

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

func (*FakePropagatedVersions) UpdateStatus

func (c *FakePropagatedVersions) UpdateStatus(propagatedVersion *v1alpha1.PropagatedVersion) (*v1alpha1.PropagatedVersion, error)

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

func (*FakePropagatedVersions) Watch

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

Jump to

Keyboard shortcuts

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