Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeConcurrencyControls
- func (c *FakeConcurrencyControls) Create(ctx context.Context, concurrencyControl *v1alpha1.ConcurrencyControl, ...) (result *v1alpha1.ConcurrencyControl, err error)
- func (c *FakeConcurrencyControls) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeConcurrencyControls) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeConcurrencyControls) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ConcurrencyControl, err error)
- func (c *FakeConcurrencyControls) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ConcurrencyControlList, err error)
- func (c *FakeConcurrencyControls) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ConcurrencyControl, err error)
- func (c *FakeConcurrencyControls) Update(ctx context.Context, concurrencyControl *v1alpha1.ConcurrencyControl, ...) (result *v1alpha1.ConcurrencyControl, err error)
- func (c *FakeConcurrencyControls) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCustomV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeConcurrencyControls ¶
type FakeConcurrencyControls struct { Fake *FakeCustomV1alpha1 // contains filtered or unexported fields }
FakeConcurrencyControls implements ConcurrencyControlInterface
func (*FakeConcurrencyControls) Create ¶
func (c *FakeConcurrencyControls) Create(ctx context.Context, concurrencyControl *v1alpha1.ConcurrencyControl, opts v1.CreateOptions) (result *v1alpha1.ConcurrencyControl, err error)
Create takes the representation of a concurrencyControl and creates it. Returns the server's representation of the concurrencyControl, and an error, if there is any.
func (*FakeConcurrencyControls) Delete ¶
func (c *FakeConcurrencyControls) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the concurrencyControl and deletes it. Returns an error if one occurs.
func (*FakeConcurrencyControls) DeleteCollection ¶
func (c *FakeConcurrencyControls) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConcurrencyControls) Get ¶
func (c *FakeConcurrencyControls) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ConcurrencyControl, err error)
Get takes name of the concurrencyControl, and returns the corresponding concurrencyControl object, and an error if there is any.
func (*FakeConcurrencyControls) List ¶
func (c *FakeConcurrencyControls) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ConcurrencyControlList, err error)
List takes label and field selectors, and returns the list of ConcurrencyControls that match those selectors.
func (*FakeConcurrencyControls) Patch ¶
func (c *FakeConcurrencyControls) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ConcurrencyControl, err error)
Patch applies the patch and returns the patched concurrencyControl.
func (*FakeConcurrencyControls) Update ¶
func (c *FakeConcurrencyControls) Update(ctx context.Context, concurrencyControl *v1alpha1.ConcurrencyControl, opts v1.UpdateOptions) (result *v1alpha1.ConcurrencyControl, err error)
Update takes the representation of a concurrencyControl and updates it. Returns the server's representation of the concurrencyControl, and an error, if there is any.
func (*FakeConcurrencyControls) Watch ¶
func (c *FakeConcurrencyControls) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested concurrencyControls.
type FakeCustomV1alpha1 ¶
func (*FakeCustomV1alpha1) ConcurrencyControls ¶
func (c *FakeCustomV1alpha1) ConcurrencyControls(namespace string) v1alpha1.ConcurrencyControlInterface
func (*FakeCustomV1alpha1) RESTClient ¶
func (c *FakeCustomV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.