fake

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2019 License: Apache-2.0 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 added in v0.0.3

type FakeClusterPropagatedVersions struct {
	Fake *FakeCoreV1alpha1
}

FakeClusterPropagatedVersions implements ClusterPropagatedVersionInterface

func (*FakeClusterPropagatedVersions) Create added in v0.0.3

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 added in v0.0.3

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 added in v0.0.3

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterPropagatedVersions) Get added in v0.0.3

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

func (*FakeClusterPropagatedVersions) List added in v0.0.3

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

func (*FakeClusterPropagatedVersions) Patch added in v0.0.3

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 added in v0.0.3

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 added in v0.0.3

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 added in v0.0.3

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

type FakeCoreV1alpha1

type FakeCoreV1alpha1 struct {
	*testing.Fake
}

func (*FakeCoreV1alpha1) ClusterPropagatedVersions added in v0.0.3

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

func (*FakeCoreV1alpha1) FederatedClusters

func (c *FakeCoreV1alpha1) FederatedClusters(namespace string) v1alpha1.FederatedClusterInterface

func (*FakeCoreV1alpha1) FederatedServiceStatuses added in v0.0.3

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

func (*FakeCoreV1alpha1) FederatedTypeConfigs

func (c *FakeCoreV1alpha1) FederatedTypeConfigs(namespace string) v1alpha1.FederatedTypeConfigInterface

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 FakeFederatedClusters

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

FakeFederatedClusters implements FederatedClusterInterface

func (*FakeFederatedClusters) Create

func (c *FakeFederatedClusters) Create(federatedCluster *v1alpha1.FederatedCluster) (result *v1alpha1.FederatedCluster, err error)

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

func (*FakeFederatedClusters) Delete

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

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

func (*FakeFederatedClusters) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeFederatedClusters) Get

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

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

func (*FakeFederatedClusters) List

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

func (*FakeFederatedClusters) Patch

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

Patch applies the patch and returns the patched federatedCluster.

func (*FakeFederatedClusters) Update

func (c *FakeFederatedClusters) Update(federatedCluster *v1alpha1.FederatedCluster) (result *v1alpha1.FederatedCluster, err error)

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

func (*FakeFederatedClusters) UpdateStatus

func (c *FakeFederatedClusters) UpdateStatus(federatedCluster *v1alpha1.FederatedCluster) (*v1alpha1.FederatedCluster, error)

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

func (*FakeFederatedClusters) Watch

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

type FakeFederatedServiceStatuses added in v0.0.3

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

FakeFederatedServiceStatuses implements FederatedServiceStatusInterface

func (*FakeFederatedServiceStatuses) Create added in v0.0.3

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 added in v0.0.3

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 added in v0.0.3

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

DeleteCollection deletes a collection of objects.

func (*FakeFederatedServiceStatuses) Get added in v0.0.3

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

func (*FakeFederatedServiceStatuses) List added in v0.0.3

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

func (*FakeFederatedServiceStatuses) Patch added in v0.0.3

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 added in v0.0.3

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 added in v0.0.3

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

type FakeFederatedTypeConfigs

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

FakeFederatedTypeConfigs implements FederatedTypeConfigInterface

func (*FakeFederatedTypeConfigs) Create

func (c *FakeFederatedTypeConfigs) Create(federatedTypeConfig *v1alpha1.FederatedTypeConfig) (result *v1alpha1.FederatedTypeConfig, err error)

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

func (*FakeFederatedTypeConfigs) Delete

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

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

func (*FakeFederatedTypeConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeFederatedTypeConfigs) Get

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

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

func (*FakeFederatedTypeConfigs) List

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

func (*FakeFederatedTypeConfigs) Patch

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

Patch applies the patch and returns the patched federatedTypeConfig.

func (*FakeFederatedTypeConfigs) Update

func (c *FakeFederatedTypeConfigs) Update(federatedTypeConfig *v1alpha1.FederatedTypeConfig) (result *v1alpha1.FederatedTypeConfig, err error)

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

func (*FakeFederatedTypeConfigs) UpdateStatus

func (c *FakeFederatedTypeConfigs) UpdateStatus(federatedTypeConfig *v1alpha1.FederatedTypeConfig) (*v1alpha1.FederatedTypeConfig, error)

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

func (*FakeFederatedTypeConfigs) Watch

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

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