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