Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCiliumV1alpha1
- func (c *FakeCiliumV1alpha1) PodInfo(namespace string) v1alpha1.PodInfoInterface
- func (c *FakeCiliumV1alpha1) RESTClient() rest.Interface
- func (c *FakeCiliumV1alpha1) TracingPolicies() v1alpha1.TracingPolicyInterface
- func (c *FakeCiliumV1alpha1) TracingPoliciesNamespaced(namespace string) v1alpha1.TracingPolicyNamespacedInterface
- type FakePodInfo
- func (c *FakePodInfo) Create(ctx context.Context, podInfo *v1alpha1.PodInfo, opts v1.CreateOptions) (result *v1alpha1.PodInfo, err error)
- func (c *FakePodInfo) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePodInfo) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePodInfo) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PodInfo, err error)
- func (c *FakePodInfo) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PodInfoList, err error)
- func (c *FakePodInfo) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PodInfo, err error)
- func (c *FakePodInfo) Update(ctx context.Context, podInfo *v1alpha1.PodInfo, opts v1.UpdateOptions) (result *v1alpha1.PodInfo, err error)
- func (c *FakePodInfo) UpdateStatus(ctx context.Context, podInfo *v1alpha1.PodInfo, opts v1.UpdateOptions) (*v1alpha1.PodInfo, error)
- func (c *FakePodInfo) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTracingPolicies
- func (c *FakeTracingPolicies) Create(ctx context.Context, tracingPolicy *v1alpha1.TracingPolicy, ...) (result *v1alpha1.TracingPolicy, err error)
- func (c *FakeTracingPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTracingPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTracingPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TracingPolicy, err error)
- func (c *FakeTracingPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TracingPolicyList, err error)
- func (c *FakeTracingPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.TracingPolicy, err error)
- func (c *FakeTracingPolicies) Update(ctx context.Context, tracingPolicy *v1alpha1.TracingPolicy, ...) (result *v1alpha1.TracingPolicy, err error)
- func (c *FakeTracingPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTracingPoliciesNamespaced
- func (c *FakeTracingPoliciesNamespaced) Create(ctx context.Context, tracingPolicyNamespaced *v1alpha1.TracingPolicyNamespaced, ...) (result *v1alpha1.TracingPolicyNamespaced, err error)
- func (c *FakeTracingPoliciesNamespaced) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTracingPoliciesNamespaced) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTracingPoliciesNamespaced) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TracingPolicyNamespaced, err error)
- func (c *FakeTracingPoliciesNamespaced) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TracingPolicyNamespacedList, err error)
- func (c *FakeTracingPoliciesNamespaced) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.TracingPolicyNamespaced, err error)
- func (c *FakeTracingPoliciesNamespaced) Update(ctx context.Context, tracingPolicyNamespaced *v1alpha1.TracingPolicyNamespaced, ...) (result *v1alpha1.TracingPolicyNamespaced, err error)
- func (c *FakeTracingPoliciesNamespaced) 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 FakeCiliumV1alpha1 ¶
func (*FakeCiliumV1alpha1) PodInfo ¶
func (c *FakeCiliumV1alpha1) PodInfo(namespace string) v1alpha1.PodInfoInterface
func (*FakeCiliumV1alpha1) RESTClient ¶
func (c *FakeCiliumV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeCiliumV1alpha1) TracingPolicies ¶
func (c *FakeCiliumV1alpha1) TracingPolicies() v1alpha1.TracingPolicyInterface
func (*FakeCiliumV1alpha1) TracingPoliciesNamespaced ¶
func (c *FakeCiliumV1alpha1) TracingPoliciesNamespaced(namespace string) v1alpha1.TracingPolicyNamespacedInterface
type FakePodInfo ¶
type FakePodInfo struct { Fake *FakeCiliumV1alpha1 // contains filtered or unexported fields }
FakePodInfo implements PodInfoInterface
func (*FakePodInfo) Create ¶
func (c *FakePodInfo) Create(ctx context.Context, podInfo *v1alpha1.PodInfo, opts v1.CreateOptions) (result *v1alpha1.PodInfo, err error)
Create takes the representation of a podInfo and creates it. Returns the server's representation of the podInfo, and an error, if there is any.
func (*FakePodInfo) Delete ¶
func (c *FakePodInfo) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the podInfo and deletes it. Returns an error if one occurs.
func (*FakePodInfo) DeleteCollection ¶
func (c *FakePodInfo) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePodInfo) Get ¶
func (c *FakePodInfo) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PodInfo, err error)
Get takes name of the podInfo, and returns the corresponding podInfo object, and an error if there is any.
func (*FakePodInfo) List ¶
func (c *FakePodInfo) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PodInfoList, err error)
List takes label and field selectors, and returns the list of PodInfo that match those selectors.
func (*FakePodInfo) Patch ¶
func (c *FakePodInfo) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PodInfo, err error)
Patch applies the patch and returns the patched podInfo.
func (*FakePodInfo) Update ¶
func (c *FakePodInfo) Update(ctx context.Context, podInfo *v1alpha1.PodInfo, opts v1.UpdateOptions) (result *v1alpha1.PodInfo, err error)
Update takes the representation of a podInfo and updates it. Returns the server's representation of the podInfo, and an error, if there is any.
func (*FakePodInfo) UpdateStatus ¶
func (c *FakePodInfo) UpdateStatus(ctx context.Context, podInfo *v1alpha1.PodInfo, opts v1.UpdateOptions) (*v1alpha1.PodInfo, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePodInfo) Watch ¶
func (c *FakePodInfo) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested podInfo.
type FakeTracingPolicies ¶
type FakeTracingPolicies struct {
Fake *FakeCiliumV1alpha1
}
FakeTracingPolicies implements TracingPolicyInterface
func (*FakeTracingPolicies) Create ¶
func (c *FakeTracingPolicies) Create(ctx context.Context, tracingPolicy *v1alpha1.TracingPolicy, opts v1.CreateOptions) (result *v1alpha1.TracingPolicy, err error)
Create takes the representation of a tracingPolicy and creates it. Returns the server's representation of the tracingPolicy, and an error, if there is any.
func (*FakeTracingPolicies) Delete ¶
func (c *FakeTracingPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the tracingPolicy and deletes it. Returns an error if one occurs.
func (*FakeTracingPolicies) DeleteCollection ¶
func (c *FakeTracingPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTracingPolicies) Get ¶
func (c *FakeTracingPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TracingPolicy, err error)
Get takes name of the tracingPolicy, and returns the corresponding tracingPolicy object, and an error if there is any.
func (*FakeTracingPolicies) List ¶
func (c *FakeTracingPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TracingPolicyList, err error)
List takes label and field selectors, and returns the list of TracingPolicies that match those selectors.
func (*FakeTracingPolicies) Patch ¶
func (c *FakeTracingPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.TracingPolicy, err error)
Patch applies the patch and returns the patched tracingPolicy.
func (*FakeTracingPolicies) Update ¶
func (c *FakeTracingPolicies) Update(ctx context.Context, tracingPolicy *v1alpha1.TracingPolicy, opts v1.UpdateOptions) (result *v1alpha1.TracingPolicy, err error)
Update takes the representation of a tracingPolicy and updates it. Returns the server's representation of the tracingPolicy, and an error, if there is any.
func (*FakeTracingPolicies) Watch ¶
func (c *FakeTracingPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested tracingPolicies.
type FakeTracingPoliciesNamespaced ¶
type FakeTracingPoliciesNamespaced struct { Fake *FakeCiliumV1alpha1 // contains filtered or unexported fields }
FakeTracingPoliciesNamespaced implements TracingPolicyNamespacedInterface
func (*FakeTracingPoliciesNamespaced) Create ¶
func (c *FakeTracingPoliciesNamespaced) Create(ctx context.Context, tracingPolicyNamespaced *v1alpha1.TracingPolicyNamespaced, opts v1.CreateOptions) (result *v1alpha1.TracingPolicyNamespaced, err error)
Create takes the representation of a tracingPolicyNamespaced and creates it. Returns the server's representation of the tracingPolicyNamespaced, and an error, if there is any.
func (*FakeTracingPoliciesNamespaced) Delete ¶
func (c *FakeTracingPoliciesNamespaced) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the tracingPolicyNamespaced and deletes it. Returns an error if one occurs.
func (*FakeTracingPoliciesNamespaced) DeleteCollection ¶
func (c *FakeTracingPoliciesNamespaced) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTracingPoliciesNamespaced) Get ¶
func (c *FakeTracingPoliciesNamespaced) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TracingPolicyNamespaced, err error)
Get takes name of the tracingPolicyNamespaced, and returns the corresponding tracingPolicyNamespaced object, and an error if there is any.
func (*FakeTracingPoliciesNamespaced) List ¶
func (c *FakeTracingPoliciesNamespaced) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TracingPolicyNamespacedList, err error)
List takes label and field selectors, and returns the list of TracingPoliciesNamespaced that match those selectors.
func (*FakeTracingPoliciesNamespaced) Patch ¶
func (c *FakeTracingPoliciesNamespaced) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.TracingPolicyNamespaced, err error)
Patch applies the patch and returns the patched tracingPolicyNamespaced.
func (*FakeTracingPoliciesNamespaced) Update ¶
func (c *FakeTracingPoliciesNamespaced) Update(ctx context.Context, tracingPolicyNamespaced *v1alpha1.TracingPolicyNamespaced, opts v1.UpdateOptions) (result *v1alpha1.TracingPolicyNamespaced, err error)
Update takes the representation of a tracingPolicyNamespaced and updates it. Returns the server's representation of the tracingPolicyNamespaced, and an error, if there is any.
func (*FakeTracingPoliciesNamespaced) Watch ¶
func (c *FakeTracingPoliciesNamespaced) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested tracingPoliciesNamespaced.