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