fake

package
v1.116.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

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

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

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

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

Watch returns a watch.Interface that watches the requested oSConfigGuestPolicies.

type FakeOSConfigOSPolicyAssignments

type FakeOSConfigOSPolicyAssignments struct {
	Fake *FakeOsconfigV1beta1
	// contains filtered or unexported fields
}

FakeOSConfigOSPolicyAssignments implements OSConfigOSPolicyAssignmentInterface

func (*FakeOSConfigOSPolicyAssignments) Create

Create takes the representation of a oSConfigOSPolicyAssignment and creates it. Returns the server's representation of the oSConfigOSPolicyAssignment, and an error, if there is any.

func (*FakeOSConfigOSPolicyAssignments) Delete

Delete takes name of the oSConfigOSPolicyAssignment and deletes it. Returns an error if one occurs.

func (*FakeOSConfigOSPolicyAssignments) DeleteCollection

func (c *FakeOSConfigOSPolicyAssignments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeOSConfigOSPolicyAssignments) Get

Get takes name of the oSConfigOSPolicyAssignment, and returns the corresponding oSConfigOSPolicyAssignment object, and an error if there is any.

func (*FakeOSConfigOSPolicyAssignments) List

List takes label and field selectors, and returns the list of OSConfigOSPolicyAssignments that match those selectors.

func (*FakeOSConfigOSPolicyAssignments) Patch

func (c *FakeOSConfigOSPolicyAssignments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.OSConfigOSPolicyAssignment, err error)

Patch applies the patch and returns the patched oSConfigOSPolicyAssignment.

func (*FakeOSConfigOSPolicyAssignments) Update

Update takes the representation of a oSConfigOSPolicyAssignment and updates it. Returns the server's representation of the oSConfigOSPolicyAssignment, and an error, if there is any.

func (*FakeOSConfigOSPolicyAssignments) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeOSConfigOSPolicyAssignments) Watch

Watch returns a watch.Interface that watches the requested oSConfigOSPolicyAssignments.

type FakeOsconfigV1beta1

type FakeOsconfigV1beta1 struct {
	*testing.Fake
}

func (*FakeOsconfigV1beta1) OSConfigGuestPolicies

func (c *FakeOsconfigV1beta1) OSConfigGuestPolicies(namespace string) v1beta1.OSConfigGuestPolicyInterface

func (*FakeOsconfigV1beta1) OSConfigOSPolicyAssignments

func (c *FakeOsconfigV1beta1) OSConfigOSPolicyAssignments(namespace string) v1beta1.OSConfigOSPolicyAssignmentInterface

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL