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