Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAciV1
- type FakePodIFs
- func (c *FakePodIFs) Create(ctx context.Context, podIF *v1.PodIF, opts metav1.CreateOptions) (result *v1.PodIF, err error)
- func (c *FakePodIFs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakePodIFs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakePodIFs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.PodIF, err error)
- func (c *FakePodIFs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.PodIFList, err error)
- func (c *FakePodIFs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.PodIF, err error)
- func (c *FakePodIFs) Update(ctx context.Context, podIF *v1.PodIF, opts metav1.UpdateOptions) (result *v1.PodIF, err error)
- func (c *FakePodIFs) UpdateStatus(ctx context.Context, podIF *v1.PodIF, opts metav1.UpdateOptions) (*v1.PodIF, error)
- func (c *FakePodIFs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAciV1 ¶
func (*FakeAciV1) RESTClient ¶
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakePodIFs ¶
type FakePodIFs struct { Fake *FakeAciV1 // contains filtered or unexported fields }
FakePodIFs implements PodIFInterface
func (*FakePodIFs) Create ¶
func (c *FakePodIFs) Create(ctx context.Context, podIF *v1.PodIF, opts metav1.CreateOptions) (result *v1.PodIF, err error)
Create takes the representation of a podIF and creates it. Returns the server's representation of the podIF, and an error, if there is any.
func (*FakePodIFs) Delete ¶
func (c *FakePodIFs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the podIF and deletes it. Returns an error if one occurs.
func (*FakePodIFs) DeleteCollection ¶
func (c *FakePodIFs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePodIFs) Get ¶
func (c *FakePodIFs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.PodIF, err error)
Get takes name of the podIF, and returns the corresponding podIF object, and an error if there is any.
func (*FakePodIFs) List ¶
func (c *FakePodIFs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.PodIFList, err error)
List takes label and field selectors, and returns the list of PodIFs that match those selectors.
func (*FakePodIFs) Patch ¶
func (c *FakePodIFs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.PodIF, err error)
Patch applies the patch and returns the patched podIF.
func (*FakePodIFs) Update ¶
func (c *FakePodIFs) Update(ctx context.Context, podIF *v1.PodIF, opts metav1.UpdateOptions) (result *v1.PodIF, err error)
Update takes the representation of a podIF and updates it. Returns the server's representation of the podIF, and an error, if there is any.
func (*FakePodIFs) UpdateStatus ¶
func (c *FakePodIFs) UpdateStatus(ctx context.Context, podIF *v1.PodIF, opts metav1.UpdateOptions) (*v1.PodIF, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePodIFs) Watch ¶
func (c *FakePodIFs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested podIFs.