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