Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeFrequentlyChangingAnnotationsResources
- func (c *FakeFrequentlyChangingAnnotationsResources) Apply(ctx context.Context, ...) (result *v2alpha1.FrequentlyChangingAnnotationsResource, err error)
- func (c *FakeFrequentlyChangingAnnotationsResources) Create(ctx context.Context, ...) (result *v2alpha1.FrequentlyChangingAnnotationsResource, err error)
- func (c *FakeFrequentlyChangingAnnotationsResources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFrequentlyChangingAnnotationsResources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFrequentlyChangingAnnotationsResources) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2alpha1.FrequentlyChangingAnnotationsResource, err error)
- func (c *FakeFrequentlyChangingAnnotationsResources) List(ctx context.Context, opts v1.ListOptions) (result *v2alpha1.FrequentlyChangingAnnotationsResourceList, err error)
- func (c *FakeFrequentlyChangingAnnotationsResources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v2alpha1.FrequentlyChangingAnnotationsResource, err error)
- func (c *FakeFrequentlyChangingAnnotationsResources) Update(ctx context.Context, ...) (result *v2alpha1.FrequentlyChangingAnnotationsResource, err error)
- func (c *FakeFrequentlyChangingAnnotationsResources) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMockResources
- func (c *FakeMockResources) Apply(ctx context.Context, ...) (result *v2alpha1.MockResource, err error)
- func (c *FakeMockResources) ApplyStatus(ctx context.Context, ...) (result *v2alpha1.MockResource, err error)
- func (c *FakeMockResources) Create(ctx context.Context, mockResource *v2alpha1.MockResource, ...) (result *v2alpha1.MockResource, err error)
- func (c *FakeMockResources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMockResources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMockResources) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2alpha1.MockResource, err error)
- func (c *FakeMockResources) List(ctx context.Context, opts v1.ListOptions) (result *v2alpha1.MockResourceList, err error)
- func (c *FakeMockResources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v2alpha1.MockResource, err error)
- func (c *FakeMockResources) Update(ctx context.Context, mockResource *v2alpha1.MockResource, ...) (result *v2alpha1.MockResource, err error)
- func (c *FakeMockResources) UpdateStatus(ctx context.Context, mockResource *v2alpha1.MockResource, ...) (*v2alpha1.MockResource, error)
- func (c *FakeMockResources) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTestingV2alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeFrequentlyChangingAnnotationsResources ¶
type FakeFrequentlyChangingAnnotationsResources struct { Fake *FakeTestingV2alpha1 // contains filtered or unexported fields }
FakeFrequentlyChangingAnnotationsResources implements FrequentlyChangingAnnotationsResourceInterface
func (*FakeFrequentlyChangingAnnotationsResources) Apply ¶ added in v0.31.2
func (c *FakeFrequentlyChangingAnnotationsResources) Apply(ctx context.Context, frequentlyChangingAnnotationsResource *testingsoloiov2alpha1.FrequentlyChangingAnnotationsResourceApplyConfiguration, opts v1.ApplyOptions) (result *v2alpha1.FrequentlyChangingAnnotationsResource, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied frequentlyChangingAnnotationsResource.
func (*FakeFrequentlyChangingAnnotationsResources) Create ¶
func (c *FakeFrequentlyChangingAnnotationsResources) Create(ctx context.Context, frequentlyChangingAnnotationsResource *v2alpha1.FrequentlyChangingAnnotationsResource, opts v1.CreateOptions) (result *v2alpha1.FrequentlyChangingAnnotationsResource, err error)
Create takes the representation of a frequentlyChangingAnnotationsResource and creates it. Returns the server's representation of the frequentlyChangingAnnotationsResource, and an error, if there is any.
func (*FakeFrequentlyChangingAnnotationsResources) Delete ¶
func (c *FakeFrequentlyChangingAnnotationsResources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the frequentlyChangingAnnotationsResource and deletes it. Returns an error if one occurs.
func (*FakeFrequentlyChangingAnnotationsResources) DeleteCollection ¶
func (c *FakeFrequentlyChangingAnnotationsResources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFrequentlyChangingAnnotationsResources) Get ¶
func (c *FakeFrequentlyChangingAnnotationsResources) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2alpha1.FrequentlyChangingAnnotationsResource, err error)
Get takes name of the frequentlyChangingAnnotationsResource, and returns the corresponding frequentlyChangingAnnotationsResource object, and an error if there is any.
func (*FakeFrequentlyChangingAnnotationsResources) List ¶
func (c *FakeFrequentlyChangingAnnotationsResources) List(ctx context.Context, opts v1.ListOptions) (result *v2alpha1.FrequentlyChangingAnnotationsResourceList, err error)
List takes label and field selectors, and returns the list of FrequentlyChangingAnnotationsResources that match those selectors.
func (*FakeFrequentlyChangingAnnotationsResources) Patch ¶
func (c *FakeFrequentlyChangingAnnotationsResources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2alpha1.FrequentlyChangingAnnotationsResource, err error)
Patch applies the patch and returns the patched frequentlyChangingAnnotationsResource.
func (*FakeFrequentlyChangingAnnotationsResources) Update ¶
func (c *FakeFrequentlyChangingAnnotationsResources) Update(ctx context.Context, frequentlyChangingAnnotationsResource *v2alpha1.FrequentlyChangingAnnotationsResource, opts v1.UpdateOptions) (result *v2alpha1.FrequentlyChangingAnnotationsResource, err error)
Update takes the representation of a frequentlyChangingAnnotationsResource and updates it. Returns the server's representation of the frequentlyChangingAnnotationsResource, and an error, if there is any.
func (*FakeFrequentlyChangingAnnotationsResources) Watch ¶
func (c *FakeFrequentlyChangingAnnotationsResources) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested frequentlyChangingAnnotationsResources.
type FakeMockResources ¶
type FakeMockResources struct { Fake *FakeTestingV2alpha1 // contains filtered or unexported fields }
FakeMockResources implements MockResourceInterface
func (*FakeMockResources) Apply ¶ added in v0.31.2
func (c *FakeMockResources) Apply(ctx context.Context, mockResource *testingsoloiov2alpha1.MockResourceApplyConfiguration, opts v1.ApplyOptions) (result *v2alpha1.MockResource, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied mockResource.
func (*FakeMockResources) ApplyStatus ¶ added in v0.31.2
func (c *FakeMockResources) ApplyStatus(ctx context.Context, mockResource *testingsoloiov2alpha1.MockResourceApplyConfiguration, opts v1.ApplyOptions) (result *v2alpha1.MockResource, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeMockResources) Create ¶
func (c *FakeMockResources) Create(ctx context.Context, mockResource *v2alpha1.MockResource, opts v1.CreateOptions) (result *v2alpha1.MockResource, err error)
Create takes the representation of a mockResource and creates it. Returns the server's representation of the mockResource, and an error, if there is any.
func (*FakeMockResources) Delete ¶
func (c *FakeMockResources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the mockResource and deletes it. Returns an error if one occurs.
func (*FakeMockResources) DeleteCollection ¶
func (c *FakeMockResources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMockResources) Get ¶
func (c *FakeMockResources) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2alpha1.MockResource, err error)
Get takes name of the mockResource, and returns the corresponding mockResource object, and an error if there is any.
func (*FakeMockResources) List ¶
func (c *FakeMockResources) List(ctx context.Context, opts v1.ListOptions) (result *v2alpha1.MockResourceList, err error)
List takes label and field selectors, and returns the list of MockResources that match those selectors.
func (*FakeMockResources) Patch ¶
func (c *FakeMockResources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2alpha1.MockResource, err error)
Patch applies the patch and returns the patched mockResource.
func (*FakeMockResources) Update ¶
func (c *FakeMockResources) Update(ctx context.Context, mockResource *v2alpha1.MockResource, opts v1.UpdateOptions) (result *v2alpha1.MockResource, err error)
Update takes the representation of a mockResource and updates it. Returns the server's representation of the mockResource, and an error, if there is any.
func (*FakeMockResources) UpdateStatus ¶
func (c *FakeMockResources) UpdateStatus(ctx context.Context, mockResource *v2alpha1.MockResource, opts v1.UpdateOptions) (*v2alpha1.MockResource, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMockResources) Watch ¶
func (c *FakeMockResources) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mockResources.
type FakeTestingV2alpha1 ¶
func (*FakeTestingV2alpha1) FrequentlyChangingAnnotationsResources ¶
func (c *FakeTestingV2alpha1) FrequentlyChangingAnnotationsResources(namespace string) v2alpha1.FrequentlyChangingAnnotationsResourceInterface
func (*FakeTestingV2alpha1) MockResources ¶
func (c *FakeTestingV2alpha1) MockResources(namespace string) v2alpha1.MockResourceInterface
func (*FakeTestingV2alpha1) RESTClient ¶
func (c *FakeTestingV2alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.