Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterResourceBindings
- func (c *FakeClusterResourceBindings) Create(ctx context.Context, clusterResourceBinding *v1alpha2.ClusterResourceBinding, ...) (result *v1alpha2.ClusterResourceBinding, err error)
- func (c *FakeClusterResourceBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterResourceBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterResourceBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.ClusterResourceBinding, err error)
- func (c *FakeClusterResourceBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ClusterResourceBindingList, err error)
- func (c *FakeClusterResourceBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.ClusterResourceBinding, err error)
- func (c *FakeClusterResourceBindings) Update(ctx context.Context, clusterResourceBinding *v1alpha2.ClusterResourceBinding, ...) (result *v1alpha2.ClusterResourceBinding, err error)
- func (c *FakeClusterResourceBindings) UpdateStatus(ctx context.Context, clusterResourceBinding *v1alpha2.ClusterResourceBinding, ...) (*v1alpha2.ClusterResourceBinding, error)
- func (c *FakeClusterResourceBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeResourceBindings
- func (c *FakeResourceBindings) Create(ctx context.Context, resourceBinding *v1alpha2.ResourceBinding, ...) (result *v1alpha2.ResourceBinding, err error)
- func (c *FakeResourceBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeResourceBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeResourceBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.ResourceBinding, err error)
- func (c *FakeResourceBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ResourceBindingList, err error)
- func (c *FakeResourceBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.ResourceBinding, err error)
- func (c *FakeResourceBindings) Update(ctx context.Context, resourceBinding *v1alpha2.ResourceBinding, ...) (result *v1alpha2.ResourceBinding, err error)
- func (c *FakeResourceBindings) UpdateStatus(ctx context.Context, resourceBinding *v1alpha2.ResourceBinding, ...) (*v1alpha2.ResourceBinding, error)
- func (c *FakeResourceBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeWorkV1alpha2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterResourceBindings ¶
type FakeClusterResourceBindings struct {
Fake *FakeWorkV1alpha2
}
FakeClusterResourceBindings implements ClusterResourceBindingInterface
func (*FakeClusterResourceBindings) Create ¶
func (c *FakeClusterResourceBindings) Create(ctx context.Context, clusterResourceBinding *v1alpha2.ClusterResourceBinding, opts v1.CreateOptions) (result *v1alpha2.ClusterResourceBinding, err error)
Create takes the representation of a clusterResourceBinding and creates it. Returns the server's representation of the clusterResourceBinding, and an error, if there is any.
func (*FakeClusterResourceBindings) Delete ¶
func (c *FakeClusterResourceBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterResourceBinding and deletes it. Returns an error if one occurs.
func (*FakeClusterResourceBindings) DeleteCollection ¶
func (c *FakeClusterResourceBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterResourceBindings) Get ¶
func (c *FakeClusterResourceBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.ClusterResourceBinding, err error)
Get takes name of the clusterResourceBinding, and returns the corresponding clusterResourceBinding object, and an error if there is any.
func (*FakeClusterResourceBindings) List ¶
func (c *FakeClusterResourceBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ClusterResourceBindingList, err error)
List takes label and field selectors, and returns the list of ClusterResourceBindings that match those selectors.
func (*FakeClusterResourceBindings) Patch ¶
func (c *FakeClusterResourceBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.ClusterResourceBinding, err error)
Patch applies the patch and returns the patched clusterResourceBinding.
func (*FakeClusterResourceBindings) Update ¶
func (c *FakeClusterResourceBindings) Update(ctx context.Context, clusterResourceBinding *v1alpha2.ClusterResourceBinding, opts v1.UpdateOptions) (result *v1alpha2.ClusterResourceBinding, err error)
Update takes the representation of a clusterResourceBinding and updates it. Returns the server's representation of the clusterResourceBinding, and an error, if there is any.
func (*FakeClusterResourceBindings) UpdateStatus ¶
func (c *FakeClusterResourceBindings) UpdateStatus(ctx context.Context, clusterResourceBinding *v1alpha2.ClusterResourceBinding, opts v1.UpdateOptions) (*v1alpha2.ClusterResourceBinding, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterResourceBindings) Watch ¶
func (c *FakeClusterResourceBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterResourceBindings.
type FakeResourceBindings ¶
type FakeResourceBindings struct { Fake *FakeWorkV1alpha2 // contains filtered or unexported fields }
FakeResourceBindings implements ResourceBindingInterface
func (*FakeResourceBindings) Create ¶
func (c *FakeResourceBindings) Create(ctx context.Context, resourceBinding *v1alpha2.ResourceBinding, opts v1.CreateOptions) (result *v1alpha2.ResourceBinding, err error)
Create takes the representation of a resourceBinding and creates it. Returns the server's representation of the resourceBinding, and an error, if there is any.
func (*FakeResourceBindings) Delete ¶
func (c *FakeResourceBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the resourceBinding and deletes it. Returns an error if one occurs.
func (*FakeResourceBindings) DeleteCollection ¶
func (c *FakeResourceBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeResourceBindings) Get ¶
func (c *FakeResourceBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.ResourceBinding, err error)
Get takes name of the resourceBinding, and returns the corresponding resourceBinding object, and an error if there is any.
func (*FakeResourceBindings) List ¶
func (c *FakeResourceBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ResourceBindingList, err error)
List takes label and field selectors, and returns the list of ResourceBindings that match those selectors.
func (*FakeResourceBindings) Patch ¶
func (c *FakeResourceBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.ResourceBinding, err error)
Patch applies the patch and returns the patched resourceBinding.
func (*FakeResourceBindings) Update ¶
func (c *FakeResourceBindings) Update(ctx context.Context, resourceBinding *v1alpha2.ResourceBinding, opts v1.UpdateOptions) (result *v1alpha2.ResourceBinding, err error)
Update takes the representation of a resourceBinding and updates it. Returns the server's representation of the resourceBinding, and an error, if there is any.
func (*FakeResourceBindings) UpdateStatus ¶
func (c *FakeResourceBindings) UpdateStatus(ctx context.Context, resourceBinding *v1alpha2.ResourceBinding, opts v1.UpdateOptions) (*v1alpha2.ResourceBinding, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeResourceBindings) Watch ¶
func (c *FakeResourceBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested resourceBindings.
type FakeWorkV1alpha2 ¶
func (*FakeWorkV1alpha2) ClusterResourceBindings ¶
func (c *FakeWorkV1alpha2) ClusterResourceBindings() v1alpha2.ClusterResourceBindingInterface
func (*FakeWorkV1alpha2) RESTClient ¶
func (c *FakeWorkV1alpha2) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeWorkV1alpha2) ResourceBindings ¶
func (c *FakeWorkV1alpha2) ResourceBindings(namespace string) v1alpha2.ResourceBindingInterface