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