Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeConfidentialcontainersV1alpha1
- type FakePeerpodVolumes
- func (c *FakePeerpodVolumes) Create(ctx context.Context, peerpodVolume *v1alpha1.PeerpodVolume, ...) (result *v1alpha1.PeerpodVolume, err error)
- func (c *FakePeerpodVolumes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePeerpodVolumes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePeerpodVolumes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PeerpodVolume, err error)
- func (c *FakePeerpodVolumes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PeerpodVolumeList, err error)
- func (c *FakePeerpodVolumes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PeerpodVolume, err error)
- func (c *FakePeerpodVolumes) Update(ctx context.Context, peerpodVolume *v1alpha1.PeerpodVolume, ...) (result *v1alpha1.PeerpodVolume, err error)
- func (c *FakePeerpodVolumes) UpdateStatus(ctx context.Context, peerpodVolume *v1alpha1.PeerpodVolume, ...) (*v1alpha1.PeerpodVolume, error)
- func (c *FakePeerpodVolumes) 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 FakeConfidentialcontainersV1alpha1 ¶
func (*FakeConfidentialcontainersV1alpha1) PeerpodVolumes ¶
func (c *FakeConfidentialcontainersV1alpha1) PeerpodVolumes(namespace string) v1alpha1.PeerpodVolumeInterface
func (*FakeConfidentialcontainersV1alpha1) RESTClient ¶
func (c *FakeConfidentialcontainersV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakePeerpodVolumes ¶
type FakePeerpodVolumes struct { Fake *FakeConfidentialcontainersV1alpha1 // contains filtered or unexported fields }
FakePeerpodVolumes implements PeerpodVolumeInterface
func (*FakePeerpodVolumes) Create ¶
func (c *FakePeerpodVolumes) Create(ctx context.Context, peerpodVolume *v1alpha1.PeerpodVolume, opts v1.CreateOptions) (result *v1alpha1.PeerpodVolume, err error)
Create takes the representation of a peerpodVolume and creates it. Returns the server's representation of the peerpodVolume, and an error, if there is any.
func (*FakePeerpodVolumes) Delete ¶
func (c *FakePeerpodVolumes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the peerpodVolume and deletes it. Returns an error if one occurs.
func (*FakePeerpodVolumes) DeleteCollection ¶
func (c *FakePeerpodVolumes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePeerpodVolumes) Get ¶
func (c *FakePeerpodVolumes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PeerpodVolume, err error)
Get takes name of the peerpodVolume, and returns the corresponding peerpodVolume object, and an error if there is any.
func (*FakePeerpodVolumes) List ¶
func (c *FakePeerpodVolumes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PeerpodVolumeList, err error)
List takes label and field selectors, and returns the list of PeerpodVolumes that match those selectors.
func (*FakePeerpodVolumes) Patch ¶
func (c *FakePeerpodVolumes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PeerpodVolume, err error)
Patch applies the patch and returns the patched peerpodVolume.
func (*FakePeerpodVolumes) Update ¶
func (c *FakePeerpodVolumes) Update(ctx context.Context, peerpodVolume *v1alpha1.PeerpodVolume, opts v1.UpdateOptions) (result *v1alpha1.PeerpodVolume, err error)
Update takes the representation of a peerpodVolume and updates it. Returns the server's representation of the peerpodVolume, and an error, if there is any.
func (*FakePeerpodVolumes) UpdateStatus ¶
func (c *FakePeerpodVolumes) UpdateStatus(ctx context.Context, peerpodVolume *v1alpha1.PeerpodVolume, opts v1.UpdateOptions) (*v1alpha1.PeerpodVolume, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePeerpodVolumes) Watch ¶
func (c *FakePeerpodVolumes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested peerpodVolumes.