Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBalloonsPolicies
- func (c *FakeBalloonsPolicies) Create(ctx context.Context, balloonsPolicy *v1alpha1.BalloonsPolicy, ...) (result *v1alpha1.BalloonsPolicy, err error)
- func (c *FakeBalloonsPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBalloonsPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBalloonsPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BalloonsPolicy, err error)
- func (c *FakeBalloonsPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BalloonsPolicyList, err error)
- func (c *FakeBalloonsPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.BalloonsPolicy, err error)
- func (c *FakeBalloonsPolicies) Update(ctx context.Context, balloonsPolicy *v1alpha1.BalloonsPolicy, ...) (result *v1alpha1.BalloonsPolicy, err error)
- func (c *FakeBalloonsPolicies) UpdateStatus(ctx context.Context, balloonsPolicy *v1alpha1.BalloonsPolicy, ...) (*v1alpha1.BalloonsPolicy, error)
- func (c *FakeBalloonsPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeConfigV1alpha1
- func (c *FakeConfigV1alpha1) BalloonsPolicies(namespace string) v1alpha1.BalloonsPolicyInterface
- func (c *FakeConfigV1alpha1) RESTClient() rest.Interface
- func (c *FakeConfigV1alpha1) TemplatePolicies(namespace string) v1alpha1.TemplatePolicyInterface
- func (c *FakeConfigV1alpha1) TopologyAwarePolicies(namespace string) v1alpha1.TopologyAwarePolicyInterface
- type FakeTemplatePolicies
- func (c *FakeTemplatePolicies) Create(ctx context.Context, templatePolicy *v1alpha1.TemplatePolicy, ...) (result *v1alpha1.TemplatePolicy, err error)
- func (c *FakeTemplatePolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTemplatePolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTemplatePolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TemplatePolicy, err error)
- func (c *FakeTemplatePolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TemplatePolicyList, err error)
- func (c *FakeTemplatePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.TemplatePolicy, err error)
- func (c *FakeTemplatePolicies) Update(ctx context.Context, templatePolicy *v1alpha1.TemplatePolicy, ...) (result *v1alpha1.TemplatePolicy, err error)
- func (c *FakeTemplatePolicies) UpdateStatus(ctx context.Context, templatePolicy *v1alpha1.TemplatePolicy, ...) (*v1alpha1.TemplatePolicy, error)
- func (c *FakeTemplatePolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTopologyAwarePolicies
- func (c *FakeTopologyAwarePolicies) Create(ctx context.Context, topologyAwarePolicy *v1alpha1.TopologyAwarePolicy, ...) (result *v1alpha1.TopologyAwarePolicy, err error)
- func (c *FakeTopologyAwarePolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTopologyAwarePolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTopologyAwarePolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TopologyAwarePolicy, err error)
- func (c *FakeTopologyAwarePolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TopologyAwarePolicyList, err error)
- func (c *FakeTopologyAwarePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.TopologyAwarePolicy, err error)
- func (c *FakeTopologyAwarePolicies) Update(ctx context.Context, topologyAwarePolicy *v1alpha1.TopologyAwarePolicy, ...) (result *v1alpha1.TopologyAwarePolicy, err error)
- func (c *FakeTopologyAwarePolicies) UpdateStatus(ctx context.Context, topologyAwarePolicy *v1alpha1.TopologyAwarePolicy, ...) (*v1alpha1.TopologyAwarePolicy, error)
- func (c *FakeTopologyAwarePolicies) 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 FakeBalloonsPolicies ¶
type FakeBalloonsPolicies struct { Fake *FakeConfigV1alpha1 // contains filtered or unexported fields }
FakeBalloonsPolicies implements BalloonsPolicyInterface
func (*FakeBalloonsPolicies) Create ¶
func (c *FakeBalloonsPolicies) Create(ctx context.Context, balloonsPolicy *v1alpha1.BalloonsPolicy, opts v1.CreateOptions) (result *v1alpha1.BalloonsPolicy, err error)
Create takes the representation of a balloonsPolicy and creates it. Returns the server's representation of the balloonsPolicy, and an error, if there is any.
func (*FakeBalloonsPolicies) Delete ¶
func (c *FakeBalloonsPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the balloonsPolicy and deletes it. Returns an error if one occurs.
func (*FakeBalloonsPolicies) DeleteCollection ¶
func (c *FakeBalloonsPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBalloonsPolicies) Get ¶
func (c *FakeBalloonsPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BalloonsPolicy, err error)
Get takes name of the balloonsPolicy, and returns the corresponding balloonsPolicy object, and an error if there is any.
func (*FakeBalloonsPolicies) List ¶
func (c *FakeBalloonsPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BalloonsPolicyList, err error)
List takes label and field selectors, and returns the list of BalloonsPolicies that match those selectors.
func (*FakeBalloonsPolicies) Patch ¶
func (c *FakeBalloonsPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.BalloonsPolicy, err error)
Patch applies the patch and returns the patched balloonsPolicy.
func (*FakeBalloonsPolicies) Update ¶
func (c *FakeBalloonsPolicies) Update(ctx context.Context, balloonsPolicy *v1alpha1.BalloonsPolicy, opts v1.UpdateOptions) (result *v1alpha1.BalloonsPolicy, err error)
Update takes the representation of a balloonsPolicy and updates it. Returns the server's representation of the balloonsPolicy, and an error, if there is any.
func (*FakeBalloonsPolicies) UpdateStatus ¶
func (c *FakeBalloonsPolicies) UpdateStatus(ctx context.Context, balloonsPolicy *v1alpha1.BalloonsPolicy, opts v1.UpdateOptions) (*v1alpha1.BalloonsPolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBalloonsPolicies) Watch ¶
func (c *FakeBalloonsPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested balloonsPolicies.
type FakeConfigV1alpha1 ¶
func (*FakeConfigV1alpha1) BalloonsPolicies ¶
func (c *FakeConfigV1alpha1) BalloonsPolicies(namespace string) v1alpha1.BalloonsPolicyInterface
func (*FakeConfigV1alpha1) RESTClient ¶
func (c *FakeConfigV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeConfigV1alpha1) TemplatePolicies ¶
func (c *FakeConfigV1alpha1) TemplatePolicies(namespace string) v1alpha1.TemplatePolicyInterface
func (*FakeConfigV1alpha1) TopologyAwarePolicies ¶
func (c *FakeConfigV1alpha1) TopologyAwarePolicies(namespace string) v1alpha1.TopologyAwarePolicyInterface
type FakeTemplatePolicies ¶
type FakeTemplatePolicies struct { Fake *FakeConfigV1alpha1 // contains filtered or unexported fields }
FakeTemplatePolicies implements TemplatePolicyInterface
func (*FakeTemplatePolicies) Create ¶
func (c *FakeTemplatePolicies) Create(ctx context.Context, templatePolicy *v1alpha1.TemplatePolicy, opts v1.CreateOptions) (result *v1alpha1.TemplatePolicy, err error)
Create takes the representation of a templatePolicy and creates it. Returns the server's representation of the templatePolicy, and an error, if there is any.
func (*FakeTemplatePolicies) Delete ¶
func (c *FakeTemplatePolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the templatePolicy and deletes it. Returns an error if one occurs.
func (*FakeTemplatePolicies) DeleteCollection ¶
func (c *FakeTemplatePolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTemplatePolicies) Get ¶
func (c *FakeTemplatePolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TemplatePolicy, err error)
Get takes name of the templatePolicy, and returns the corresponding templatePolicy object, and an error if there is any.
func (*FakeTemplatePolicies) List ¶
func (c *FakeTemplatePolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TemplatePolicyList, err error)
List takes label and field selectors, and returns the list of TemplatePolicies that match those selectors.
func (*FakeTemplatePolicies) Patch ¶
func (c *FakeTemplatePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.TemplatePolicy, err error)
Patch applies the patch and returns the patched templatePolicy.
func (*FakeTemplatePolicies) Update ¶
func (c *FakeTemplatePolicies) Update(ctx context.Context, templatePolicy *v1alpha1.TemplatePolicy, opts v1.UpdateOptions) (result *v1alpha1.TemplatePolicy, err error)
Update takes the representation of a templatePolicy and updates it. Returns the server's representation of the templatePolicy, and an error, if there is any.
func (*FakeTemplatePolicies) UpdateStatus ¶
func (c *FakeTemplatePolicies) UpdateStatus(ctx context.Context, templatePolicy *v1alpha1.TemplatePolicy, opts v1.UpdateOptions) (*v1alpha1.TemplatePolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTemplatePolicies) Watch ¶
func (c *FakeTemplatePolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested templatePolicies.
type FakeTopologyAwarePolicies ¶
type FakeTopologyAwarePolicies struct { Fake *FakeConfigV1alpha1 // contains filtered or unexported fields }
FakeTopologyAwarePolicies implements TopologyAwarePolicyInterface
func (*FakeTopologyAwarePolicies) Create ¶
func (c *FakeTopologyAwarePolicies) Create(ctx context.Context, topologyAwarePolicy *v1alpha1.TopologyAwarePolicy, opts v1.CreateOptions) (result *v1alpha1.TopologyAwarePolicy, err error)
Create takes the representation of a topologyAwarePolicy and creates it. Returns the server's representation of the topologyAwarePolicy, and an error, if there is any.
func (*FakeTopologyAwarePolicies) Delete ¶
func (c *FakeTopologyAwarePolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the topologyAwarePolicy and deletes it. Returns an error if one occurs.
func (*FakeTopologyAwarePolicies) DeleteCollection ¶
func (c *FakeTopologyAwarePolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTopologyAwarePolicies) Get ¶
func (c *FakeTopologyAwarePolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TopologyAwarePolicy, err error)
Get takes name of the topologyAwarePolicy, and returns the corresponding topologyAwarePolicy object, and an error if there is any.
func (*FakeTopologyAwarePolicies) List ¶
func (c *FakeTopologyAwarePolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TopologyAwarePolicyList, err error)
List takes label and field selectors, and returns the list of TopologyAwarePolicies that match those selectors.
func (*FakeTopologyAwarePolicies) Patch ¶
func (c *FakeTopologyAwarePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.TopologyAwarePolicy, err error)
Patch applies the patch and returns the patched topologyAwarePolicy.
func (*FakeTopologyAwarePolicies) Update ¶
func (c *FakeTopologyAwarePolicies) Update(ctx context.Context, topologyAwarePolicy *v1alpha1.TopologyAwarePolicy, opts v1.UpdateOptions) (result *v1alpha1.TopologyAwarePolicy, err error)
Update takes the representation of a topologyAwarePolicy and updates it. Returns the server's representation of the topologyAwarePolicy, and an error, if there is any.
func (*FakeTopologyAwarePolicies) UpdateStatus ¶
func (c *FakeTopologyAwarePolicies) UpdateStatus(ctx context.Context, topologyAwarePolicy *v1alpha1.TopologyAwarePolicy, opts v1.UpdateOptions) (*v1alpha1.TopologyAwarePolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTopologyAwarePolicies) Watch ¶
func (c *FakeTopologyAwarePolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested topologyAwarePolicies.