Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterPropagatedVersions
- func (c *FakeClusterPropagatedVersions) Create(clusterPropagatedVersion *v1alpha1.ClusterPropagatedVersion) (result *v1alpha1.ClusterPropagatedVersion, err error)
- func (c *FakeClusterPropagatedVersions) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusterPropagatedVersions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusterPropagatedVersions) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterPropagatedVersion, err error)
- func (c *FakeClusterPropagatedVersions) List(opts v1.ListOptions) (result *v1alpha1.ClusterPropagatedVersionList, err error)
- func (c *FakeClusterPropagatedVersions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterPropagatedVersion, err error)
- func (c *FakeClusterPropagatedVersions) Update(clusterPropagatedVersion *v1alpha1.ClusterPropagatedVersion) (result *v1alpha1.ClusterPropagatedVersion, err error)
- func (c *FakeClusterPropagatedVersions) UpdateStatus(clusterPropagatedVersion *v1alpha1.ClusterPropagatedVersion) (*v1alpha1.ClusterPropagatedVersion, error)
- func (c *FakeClusterPropagatedVersions) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCoreV1alpha1
- func (c *FakeCoreV1alpha1) ClusterPropagatedVersions() v1alpha1.ClusterPropagatedVersionInterface
- func (c *FakeCoreV1alpha1) FederatedServiceStatuses(namespace string) v1alpha1.FederatedServiceStatusInterface
- func (c *FakeCoreV1alpha1) PropagatedVersions(namespace string) v1alpha1.PropagatedVersionInterface
- func (c *FakeCoreV1alpha1) RESTClient() rest.Interface
- type FakeFederatedServiceStatuses
- func (c *FakeFederatedServiceStatuses) Create(federatedServiceStatus *v1alpha1.FederatedServiceStatus) (result *v1alpha1.FederatedServiceStatus, err error)
- func (c *FakeFederatedServiceStatuses) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeFederatedServiceStatuses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeFederatedServiceStatuses) Get(name string, options v1.GetOptions) (result *v1alpha1.FederatedServiceStatus, err error)
- func (c *FakeFederatedServiceStatuses) List(opts v1.ListOptions) (result *v1alpha1.FederatedServiceStatusList, err error)
- func (c *FakeFederatedServiceStatuses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.FederatedServiceStatus, err error)
- func (c *FakeFederatedServiceStatuses) Update(federatedServiceStatus *v1alpha1.FederatedServiceStatus) (result *v1alpha1.FederatedServiceStatus, err error)
- func (c *FakeFederatedServiceStatuses) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakePropagatedVersions
- func (c *FakePropagatedVersions) Create(propagatedVersion *v1alpha1.PropagatedVersion) (result *v1alpha1.PropagatedVersion, err error)
- func (c *FakePropagatedVersions) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePropagatedVersions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePropagatedVersions) Get(name string, options v1.GetOptions) (result *v1alpha1.PropagatedVersion, err error)
- func (c *FakePropagatedVersions) List(opts v1.ListOptions) (result *v1alpha1.PropagatedVersionList, err error)
- func (c *FakePropagatedVersions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.PropagatedVersion, err error)
- func (c *FakePropagatedVersions) Update(propagatedVersion *v1alpha1.PropagatedVersion) (result *v1alpha1.PropagatedVersion, err error)
- func (c *FakePropagatedVersions) UpdateStatus(propagatedVersion *v1alpha1.PropagatedVersion) (*v1alpha1.PropagatedVersion, error)
- func (c *FakePropagatedVersions) Watch(opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeClusterPropagatedVersions) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterPropagatedVersion, err error)
Get takes name of the clusterPropagatedVersion, and returns the corresponding clusterPropagatedVersion object, and an error if there is any.
func (*FakeClusterPropagatedVersions) List ¶
func (c *FakeClusterPropagatedVersions) List(opts v1.ListOptions) (result *v1alpha1.ClusterPropagatedVersionList, err error)
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 ¶
func (c *FakeClusterPropagatedVersions) UpdateStatus(clusterPropagatedVersion *v1alpha1.ClusterPropagatedVersion) (*v1alpha1.ClusterPropagatedVersion, error)
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 ¶
func (c *FakeClusterPropagatedVersions) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterPropagatedVersions.
type FakeCoreV1alpha1 ¶
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 ¶
func (c *FakeFederatedServiceStatuses) Get(name string, options v1.GetOptions) (result *v1alpha1.FederatedServiceStatus, err error)
Get takes name of the federatedServiceStatus, and returns the corresponding federatedServiceStatus object, and an error if there is any.
func (*FakeFederatedServiceStatuses) List ¶
func (c *FakeFederatedServiceStatuses) List(opts v1.ListOptions) (result *v1alpha1.FederatedServiceStatusList, err error)
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 ¶
func (c *FakeFederatedServiceStatuses) Watch(opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakePropagatedVersions) List(opts v1.ListOptions) (result *v1alpha1.PropagatedVersionList, err error)
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 ¶
func (c *FakePropagatedVersions) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested propagatedVersions.