Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAciV1alpha
- type FakeNetflowPolicies
- func (c *FakeNetflowPolicies) Create(ctx context.Context, netflowPolicy *v1alpha.NetflowPolicy, ...) (result *v1alpha.NetflowPolicy, err error)
- func (c *FakeNetflowPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNetflowPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNetflowPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha.NetflowPolicy, err error)
- func (c *FakeNetflowPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha.NetflowPolicyList, err error)
- func (c *FakeNetflowPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha.NetflowPolicy, err error)
- func (c *FakeNetflowPolicies) Update(ctx context.Context, netflowPolicy *v1alpha.NetflowPolicy, ...) (result *v1alpha.NetflowPolicy, err error)
- func (c *FakeNetflowPolicies) UpdateStatus(ctx context.Context, netflowPolicy *v1alpha.NetflowPolicy, ...) (*v1alpha.NetflowPolicy, error)
- func (c *FakeNetflowPolicies) 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 FakeAciV1alpha ¶
func (*FakeAciV1alpha) NetflowPolicies ¶
func (c *FakeAciV1alpha) NetflowPolicies() v1alpha.NetflowPolicyInterface
func (*FakeAciV1alpha) RESTClient ¶
func (c *FakeAciV1alpha) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeNetflowPolicies ¶
type FakeNetflowPolicies struct {
Fake *FakeAciV1alpha
}
FakeNetflowPolicies implements NetflowPolicyInterface
func (*FakeNetflowPolicies) Create ¶
func (c *FakeNetflowPolicies) Create(ctx context.Context, netflowPolicy *v1alpha.NetflowPolicy, opts v1.CreateOptions) (result *v1alpha.NetflowPolicy, err error)
Create takes the representation of a netflowPolicy and creates it. Returns the server's representation of the netflowPolicy, and an error, if there is any.
func (*FakeNetflowPolicies) Delete ¶
func (c *FakeNetflowPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the netflowPolicy and deletes it. Returns an error if one occurs.
func (*FakeNetflowPolicies) DeleteCollection ¶
func (c *FakeNetflowPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNetflowPolicies) Get ¶
func (c *FakeNetflowPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha.NetflowPolicy, err error)
Get takes name of the netflowPolicy, and returns the corresponding netflowPolicy object, and an error if there is any.
func (*FakeNetflowPolicies) List ¶
func (c *FakeNetflowPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha.NetflowPolicyList, err error)
List takes label and field selectors, and returns the list of NetflowPolicies that match those selectors.
func (*FakeNetflowPolicies) Patch ¶
func (c *FakeNetflowPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha.NetflowPolicy, err error)
Patch applies the patch and returns the patched netflowPolicy.
func (*FakeNetflowPolicies) Update ¶
func (c *FakeNetflowPolicies) Update(ctx context.Context, netflowPolicy *v1alpha.NetflowPolicy, opts v1.UpdateOptions) (result *v1alpha.NetflowPolicy, err error)
Update takes the representation of a netflowPolicy and updates it. Returns the server's representation of the netflowPolicy, and an error, if there is any.
func (*FakeNetflowPolicies) UpdateStatus ¶
func (c *FakeNetflowPolicies) UpdateStatus(ctx context.Context, netflowPolicy *v1alpha.NetflowPolicy, opts v1.UpdateOptions) (*v1alpha.NetflowPolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNetflowPolicies) Watch ¶
func (c *FakeNetflowPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested netflowPolicies.