Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAvoidanceActions
- func (c *FakeAvoidanceActions) Create(ctx context.Context, avoidanceAction *v1alpha1.AvoidanceAction, ...) (result *v1alpha1.AvoidanceAction, err error)
- func (c *FakeAvoidanceActions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAvoidanceActions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAvoidanceActions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AvoidanceAction, err error)
- func (c *FakeAvoidanceActions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AvoidanceActionList, err error)
- func (c *FakeAvoidanceActions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AvoidanceAction, err error)
- func (c *FakeAvoidanceActions) Update(ctx context.Context, avoidanceAction *v1alpha1.AvoidanceAction, ...) (result *v1alpha1.AvoidanceAction, err error)
- func (c *FakeAvoidanceActions) UpdateStatus(ctx context.Context, avoidanceAction *v1alpha1.AvoidanceAction, ...) (*v1alpha1.AvoidanceAction, error)
- func (c *FakeAvoidanceActions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeEnsuranceV1alpha1
- func (c *FakeEnsuranceV1alpha1) AvoidanceActions() v1alpha1.AvoidanceActionInterface
- func (c *FakeEnsuranceV1alpha1) NodeQOSEnsurancePolicies() v1alpha1.NodeQOSEnsurancePolicyInterface
- func (c *FakeEnsuranceV1alpha1) PodQOSEnsurancePolicies(namespace string) v1alpha1.PodQOSEnsurancePolicyInterface
- func (c *FakeEnsuranceV1alpha1) RESTClient() rest.Interface
- func (c *FakeEnsuranceV1alpha1) ServicePolicies() v1alpha1.ServicePolicyInterface
- 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)
- type FakeServicePolicies
- func (c *FakeServicePolicies) Create(ctx context.Context, servicePolicy *v1alpha1.ServicePolicy, ...) (result *v1alpha1.ServicePolicy, err error)
- func (c *FakeServicePolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeServicePolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeServicePolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ServicePolicy, err error)
- func (c *FakeServicePolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServicePolicyList, err error)
- func (c *FakeServicePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ServicePolicy, err error)
- func (c *FakeServicePolicies) Update(ctx context.Context, servicePolicy *v1alpha1.ServicePolicy, ...) (result *v1alpha1.ServicePolicy, err error)
- func (c *FakeServicePolicies) UpdateStatus(ctx context.Context, servicePolicy *v1alpha1.ServicePolicy, ...) (*v1alpha1.ServicePolicy, error)
- func (c *FakeServicePolicies) 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 FakeAvoidanceActions ¶
type FakeAvoidanceActions struct {
Fake *FakeEnsuranceV1alpha1
}
FakeAvoidanceActions implements AvoidanceActionInterface
func (*FakeAvoidanceActions) Create ¶
func (c *FakeAvoidanceActions) Create(ctx context.Context, avoidanceAction *v1alpha1.AvoidanceAction, opts v1.CreateOptions) (result *v1alpha1.AvoidanceAction, err error)
Create takes the representation of a avoidanceAction and creates it. Returns the server's representation of the avoidanceAction, and an error, if there is any.
func (*FakeAvoidanceActions) Delete ¶
func (c *FakeAvoidanceActions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the avoidanceAction and deletes it. Returns an error if one occurs.
func (*FakeAvoidanceActions) DeleteCollection ¶
func (c *FakeAvoidanceActions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAvoidanceActions) Get ¶
func (c *FakeAvoidanceActions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AvoidanceAction, err error)
Get takes name of the avoidanceAction, and returns the corresponding avoidanceAction object, and an error if there is any.
func (*FakeAvoidanceActions) List ¶
func (c *FakeAvoidanceActions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AvoidanceActionList, err error)
List takes label and field selectors, and returns the list of AvoidanceActions that match those selectors.
func (*FakeAvoidanceActions) Patch ¶
func (c *FakeAvoidanceActions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AvoidanceAction, err error)
Patch applies the patch and returns the patched avoidanceAction.
func (*FakeAvoidanceActions) Update ¶
func (c *FakeAvoidanceActions) Update(ctx context.Context, avoidanceAction *v1alpha1.AvoidanceAction, opts v1.UpdateOptions) (result *v1alpha1.AvoidanceAction, err error)
Update takes the representation of a avoidanceAction and updates it. Returns the server's representation of the avoidanceAction, and an error, if there is any.
func (*FakeAvoidanceActions) UpdateStatus ¶
func (c *FakeAvoidanceActions) UpdateStatus(ctx context.Context, avoidanceAction *v1alpha1.AvoidanceAction, opts v1.UpdateOptions) (*v1alpha1.AvoidanceAction, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAvoidanceActions) Watch ¶
func (c *FakeAvoidanceActions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested avoidanceActions.
type FakeEnsuranceV1alpha1 ¶
func (*FakeEnsuranceV1alpha1) AvoidanceActions ¶
func (c *FakeEnsuranceV1alpha1) AvoidanceActions() v1alpha1.AvoidanceActionInterface
func (*FakeEnsuranceV1alpha1) NodeQOSEnsurancePolicies ¶
func (c *FakeEnsuranceV1alpha1) NodeQOSEnsurancePolicies() 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.
func (*FakeEnsuranceV1alpha1) ServicePolicies ¶
func (c *FakeEnsuranceV1alpha1) ServicePolicies() v1alpha1.ServicePolicyInterface
type FakeNodeQOSEnsurancePolicies ¶
type FakeNodeQOSEnsurancePolicies struct {
Fake *FakeEnsuranceV1alpha1
}
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.
type FakeServicePolicies ¶
type FakeServicePolicies struct {
Fake *FakeEnsuranceV1alpha1
}
FakeServicePolicies implements ServicePolicyInterface
func (*FakeServicePolicies) Create ¶
func (c *FakeServicePolicies) Create(ctx context.Context, servicePolicy *v1alpha1.ServicePolicy, opts v1.CreateOptions) (result *v1alpha1.ServicePolicy, err error)
Create takes the representation of a servicePolicy and creates it. Returns the server's representation of the servicePolicy, and an error, if there is any.
func (*FakeServicePolicies) Delete ¶
func (c *FakeServicePolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the servicePolicy and deletes it. Returns an error if one occurs.
func (*FakeServicePolicies) DeleteCollection ¶
func (c *FakeServicePolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServicePolicies) Get ¶
func (c *FakeServicePolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ServicePolicy, err error)
Get takes name of the servicePolicy, and returns the corresponding servicePolicy object, and an error if there is any.
func (*FakeServicePolicies) List ¶
func (c *FakeServicePolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServicePolicyList, err error)
List takes label and field selectors, and returns the list of ServicePolicies that match those selectors.
func (*FakeServicePolicies) Patch ¶
func (c *FakeServicePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ServicePolicy, err error)
Patch applies the patch and returns the patched servicePolicy.
func (*FakeServicePolicies) Update ¶
func (c *FakeServicePolicies) Update(ctx context.Context, servicePolicy *v1alpha1.ServicePolicy, opts v1.UpdateOptions) (result *v1alpha1.ServicePolicy, err error)
Update takes the representation of a servicePolicy and updates it. Returns the server's representation of the servicePolicy, and an error, if there is any.
func (*FakeServicePolicies) UpdateStatus ¶
func (c *FakeServicePolicies) UpdateStatus(ctx context.Context, servicePolicy *v1alpha1.ServicePolicy, opts v1.UpdateOptions) (*v1alpha1.ServicePolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeServicePolicies) Watch ¶
func (c *FakeServicePolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested servicePolicies.