kubernetes/staging/src/k8s.io/client-go/kubernetes/typed/resource/v1alpha3/fake/fake_deviceclass.go

type FakeDeviceClasses

var deviceclassesResource

var deviceclassesKind

// Get takes name of the deviceClass, and returns the corresponding deviceClass object, and an error if there is any.
func (c *FakeDeviceClasses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha3.DeviceClass, err error) {}

// List takes label and field selectors, and returns the list of DeviceClasses that match those selectors.
func (c *FakeDeviceClasses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha3.DeviceClassList, err error) {}

// Watch returns a watch.Interface that watches the requested deviceClasses.
func (c *FakeDeviceClasses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) {}

// Create takes the representation of a deviceClass and creates it.  Returns the server's representation of the deviceClass, and an error, if there is any.
func (c *FakeDeviceClasses) Create(ctx context.Context, deviceClass *v1alpha3.DeviceClass, opts v1.CreateOptions) (result *v1alpha3.DeviceClass, err error) {}

// Update takes the representation of a deviceClass and updates it. Returns the server's representation of the deviceClass, and an error, if there is any.
func (c *FakeDeviceClasses) Update(ctx context.Context, deviceClass *v1alpha3.DeviceClass, opts v1.UpdateOptions) (result *v1alpha3.DeviceClass, err error) {}

// Delete takes name of the deviceClass and deletes it. Returns an error if one occurs.
func (c *FakeDeviceClasses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error {}

// DeleteCollection deletes a collection of objects.
func (c *FakeDeviceClasses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error {}

// Patch applies the patch and returns the patched deviceClass.
func (c *FakeDeviceClasses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha3.DeviceClass, err error) {}

// Apply takes the given apply declarative configuration, applies it and returns the applied deviceClass.
func (c *FakeDeviceClasses) Apply(ctx context.Context, deviceClass *resourcev1alpha3.DeviceClassApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha3.DeviceClass, err error) {}