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