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