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) FederatedClusters(namespace string) v1alpha1.FederatedClusterInterface
- func (c *FakeCoreV1alpha1) FederatedServiceStatuses(namespace string) v1alpha1.FederatedServiceStatusInterface
- func (c *FakeCoreV1alpha1) FederatedTypeConfigs(namespace string) v1alpha1.FederatedTypeConfigInterface
- func (c *FakeCoreV1alpha1) PropagatedVersions(namespace string) v1alpha1.PropagatedVersionInterface
- func (c *FakeCoreV1alpha1) RESTClient() rest.Interface
- type FakeFederatedClusters
- func (c *FakeFederatedClusters) Create(federatedCluster *v1alpha1.FederatedCluster) (result *v1alpha1.FederatedCluster, err error)
- func (c *FakeFederatedClusters) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeFederatedClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeFederatedClusters) Get(name string, options v1.GetOptions) (result *v1alpha1.FederatedCluster, err error)
- func (c *FakeFederatedClusters) List(opts v1.ListOptions) (result *v1alpha1.FederatedClusterList, err error)
- func (c *FakeFederatedClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.FederatedCluster, err error)
- func (c *FakeFederatedClusters) Update(federatedCluster *v1alpha1.FederatedCluster) (result *v1alpha1.FederatedCluster, err error)
- func (c *FakeFederatedClusters) UpdateStatus(federatedCluster *v1alpha1.FederatedCluster) (*v1alpha1.FederatedCluster, error)
- func (c *FakeFederatedClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
- 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 FakeFederatedTypeConfigs
- func (c *FakeFederatedTypeConfigs) Create(federatedTypeConfig *v1alpha1.FederatedTypeConfig) (result *v1alpha1.FederatedTypeConfig, err error)
- func (c *FakeFederatedTypeConfigs) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeFederatedTypeConfigs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeFederatedTypeConfigs) Get(name string, options v1.GetOptions) (result *v1alpha1.FederatedTypeConfig, err error)
- func (c *FakeFederatedTypeConfigs) List(opts v1.ListOptions) (result *v1alpha1.FederatedTypeConfigList, err error)
- func (c *FakeFederatedTypeConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.FederatedTypeConfig, err error)
- func (c *FakeFederatedTypeConfigs) Update(federatedTypeConfig *v1alpha1.FederatedTypeConfig) (result *v1alpha1.FederatedTypeConfig, err error)
- func (c *FakeFederatedTypeConfigs) UpdateStatus(federatedTypeConfig *v1alpha1.FederatedTypeConfig) (*v1alpha1.FederatedTypeConfig, error)
- func (c *FakeFederatedTypeConfigs) 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 ¶ 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
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 ¶ added in v0.0.3
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 ¶ 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
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 ¶ added in v0.0.3
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 ¶ 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 ¶
func (c *FakeFederatedClusters) List(opts v1.ListOptions) (result *v1alpha1.FederatedClusterList, err error)
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 ¶
func (c *FakeFederatedClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
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
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 ¶ added in v0.0.3
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 ¶ 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
func (c *FakeFederatedServiceStatuses) Watch(opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeFederatedTypeConfigs) List(opts v1.ListOptions) (result *v1alpha1.FederatedTypeConfigList, err error)
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 ¶
func (c *FakeFederatedTypeConfigs) Watch(opts v1.ListOptions) (watch.Interface, error)
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 ¶
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.