Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterNetworkPolicies
- func (c *FakeClusterNetworkPolicies) Create(ctx context.Context, clusterNetworkPolicy *v1alpha1.ClusterNetworkPolicy, ...) (result *v1alpha1.ClusterNetworkPolicy, err error)
- func (c *FakeClusterNetworkPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterNetworkPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterNetworkPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterNetworkPolicy, err error)
- func (c *FakeClusterNetworkPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterNetworkPolicyList, err error)
- func (c *FakeClusterNetworkPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterNetworkPolicy, err error)
- func (c *FakeClusterNetworkPolicies) Update(ctx context.Context, clusterNetworkPolicy *v1alpha1.ClusterNetworkPolicy, ...) (result *v1alpha1.ClusterNetworkPolicy, err error)
- func (c *FakeClusterNetworkPolicies) UpdateStatus(ctx context.Context, clusterNetworkPolicy *v1alpha1.ClusterNetworkPolicy, ...) (*v1alpha1.ClusterNetworkPolicy, error)
- func (c *FakeClusterNetworkPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCrdV1alpha1
- func (c *FakeCrdV1alpha1) ClusterNetworkPolicies() v1alpha1.ClusterNetworkPolicyInterface
- func (c *FakeCrdV1alpha1) ExternalNodes(namespace string) v1alpha1.ExternalNodeInterface
- func (c *FakeCrdV1alpha1) NetworkPolicies(namespace string) v1alpha1.NetworkPolicyInterface
- func (c *FakeCrdV1alpha1) RESTClient() rest.Interface
- func (c *FakeCrdV1alpha1) SupportBundleCollections() v1alpha1.SupportBundleCollectionInterface
- func (c *FakeCrdV1alpha1) Tiers() v1alpha1.TierInterface
- func (c *FakeCrdV1alpha1) Traceflows() v1alpha1.TraceflowInterface
- type FakeExternalNodes
- func (c *FakeExternalNodes) Create(ctx context.Context, externalNode *v1alpha1.ExternalNode, ...) (result *v1alpha1.ExternalNode, err error)
- func (c *FakeExternalNodes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeExternalNodes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeExternalNodes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ExternalNode, err error)
- func (c *FakeExternalNodes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ExternalNodeList, err error)
- func (c *FakeExternalNodes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ExternalNode, err error)
- func (c *FakeExternalNodes) Update(ctx context.Context, externalNode *v1alpha1.ExternalNode, ...) (result *v1alpha1.ExternalNode, err error)
- func (c *FakeExternalNodes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNetworkPolicies
- func (c *FakeNetworkPolicies) Create(ctx context.Context, networkPolicy *v1alpha1.NetworkPolicy, ...) (result *v1alpha1.NetworkPolicy, err error)
- func (c *FakeNetworkPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNetworkPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNetworkPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NetworkPolicy, err error)
- func (c *FakeNetworkPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NetworkPolicyList, err error)
- func (c *FakeNetworkPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NetworkPolicy, err error)
- func (c *FakeNetworkPolicies) Update(ctx context.Context, networkPolicy *v1alpha1.NetworkPolicy, ...) (result *v1alpha1.NetworkPolicy, err error)
- func (c *FakeNetworkPolicies) UpdateStatus(ctx context.Context, networkPolicy *v1alpha1.NetworkPolicy, ...) (*v1alpha1.NetworkPolicy, error)
- func (c *FakeNetworkPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSupportBundleCollections
- func (c *FakeSupportBundleCollections) Create(ctx context.Context, supportBundleCollection *v1alpha1.SupportBundleCollection, ...) (result *v1alpha1.SupportBundleCollection, err error)
- func (c *FakeSupportBundleCollections) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSupportBundleCollections) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSupportBundleCollections) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SupportBundleCollection, err error)
- func (c *FakeSupportBundleCollections) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SupportBundleCollectionList, err error)
- func (c *FakeSupportBundleCollections) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.SupportBundleCollection, err error)
- func (c *FakeSupportBundleCollections) Update(ctx context.Context, supportBundleCollection *v1alpha1.SupportBundleCollection, ...) (result *v1alpha1.SupportBundleCollection, err error)
- func (c *FakeSupportBundleCollections) UpdateStatus(ctx context.Context, supportBundleCollection *v1alpha1.SupportBundleCollection, ...) (*v1alpha1.SupportBundleCollection, error)
- func (c *FakeSupportBundleCollections) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTiers
- func (c *FakeTiers) Create(ctx context.Context, tier *v1alpha1.Tier, opts v1.CreateOptions) (result *v1alpha1.Tier, err error)
- func (c *FakeTiers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTiers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTiers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Tier, err error)
- func (c *FakeTiers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TierList, err error)
- func (c *FakeTiers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Tier, err error)
- func (c *FakeTiers) Update(ctx context.Context, tier *v1alpha1.Tier, opts v1.UpdateOptions) (result *v1alpha1.Tier, err error)
- func (c *FakeTiers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTraceflows
- func (c *FakeTraceflows) Create(ctx context.Context, traceflow *v1alpha1.Traceflow, opts v1.CreateOptions) (result *v1alpha1.Traceflow, err error)
- func (c *FakeTraceflows) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTraceflows) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTraceflows) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Traceflow, err error)
- func (c *FakeTraceflows) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TraceflowList, err error)
- func (c *FakeTraceflows) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Traceflow, err error)
- func (c *FakeTraceflows) Update(ctx context.Context, traceflow *v1alpha1.Traceflow, opts v1.UpdateOptions) (result *v1alpha1.Traceflow, err error)
- func (c *FakeTraceflows) UpdateStatus(ctx context.Context, traceflow *v1alpha1.Traceflow, opts v1.UpdateOptions) (*v1alpha1.Traceflow, error)
- func (c *FakeTraceflows) 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 FakeClusterNetworkPolicies ¶
type FakeClusterNetworkPolicies struct {
Fake *FakeCrdV1alpha1
}
FakeClusterNetworkPolicies implements ClusterNetworkPolicyInterface
func (*FakeClusterNetworkPolicies) Create ¶
func (c *FakeClusterNetworkPolicies) Create(ctx context.Context, clusterNetworkPolicy *v1alpha1.ClusterNetworkPolicy, opts v1.CreateOptions) (result *v1alpha1.ClusterNetworkPolicy, err error)
Create takes the representation of a clusterNetworkPolicy and creates it. Returns the server's representation of the clusterNetworkPolicy, and an error, if there is any.
func (*FakeClusterNetworkPolicies) Delete ¶
func (c *FakeClusterNetworkPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterNetworkPolicy and deletes it. Returns an error if one occurs.
func (*FakeClusterNetworkPolicies) DeleteCollection ¶
func (c *FakeClusterNetworkPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterNetworkPolicies) Get ¶
func (c *FakeClusterNetworkPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterNetworkPolicy, err error)
Get takes name of the clusterNetworkPolicy, and returns the corresponding clusterNetworkPolicy object, and an error if there is any.
func (*FakeClusterNetworkPolicies) List ¶
func (c *FakeClusterNetworkPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterNetworkPolicyList, err error)
List takes label and field selectors, and returns the list of ClusterNetworkPolicies that match those selectors.
func (*FakeClusterNetworkPolicies) Patch ¶
func (c *FakeClusterNetworkPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterNetworkPolicy, err error)
Patch applies the patch and returns the patched clusterNetworkPolicy.
func (*FakeClusterNetworkPolicies) Update ¶
func (c *FakeClusterNetworkPolicies) Update(ctx context.Context, clusterNetworkPolicy *v1alpha1.ClusterNetworkPolicy, opts v1.UpdateOptions) (result *v1alpha1.ClusterNetworkPolicy, err error)
Update takes the representation of a clusterNetworkPolicy and updates it. Returns the server's representation of the clusterNetworkPolicy, and an error, if there is any.
func (*FakeClusterNetworkPolicies) UpdateStatus ¶
func (c *FakeClusterNetworkPolicies) UpdateStatus(ctx context.Context, clusterNetworkPolicy *v1alpha1.ClusterNetworkPolicy, opts v1.UpdateOptions) (*v1alpha1.ClusterNetworkPolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterNetworkPolicies) Watch ¶
func (c *FakeClusterNetworkPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterNetworkPolicies.
type FakeCrdV1alpha1 ¶
func (*FakeCrdV1alpha1) ClusterNetworkPolicies ¶
func (c *FakeCrdV1alpha1) ClusterNetworkPolicies() v1alpha1.ClusterNetworkPolicyInterface
func (*FakeCrdV1alpha1) ExternalNodes ¶ added in v1.8.0
func (c *FakeCrdV1alpha1) ExternalNodes(namespace string) v1alpha1.ExternalNodeInterface
func (*FakeCrdV1alpha1) NetworkPolicies ¶
func (c *FakeCrdV1alpha1) NetworkPolicies(namespace string) v1alpha1.NetworkPolicyInterface
func (*FakeCrdV1alpha1) RESTClient ¶
func (c *FakeCrdV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeCrdV1alpha1) SupportBundleCollections ¶ added in v1.9.0
func (c *FakeCrdV1alpha1) SupportBundleCollections() v1alpha1.SupportBundleCollectionInterface
func (*FakeCrdV1alpha1) Tiers ¶
func (c *FakeCrdV1alpha1) Tiers() v1alpha1.TierInterface
func (*FakeCrdV1alpha1) Traceflows ¶
func (c *FakeCrdV1alpha1) Traceflows() v1alpha1.TraceflowInterface
type FakeExternalNodes ¶ added in v1.8.0
type FakeExternalNodes struct { Fake *FakeCrdV1alpha1 // contains filtered or unexported fields }
FakeExternalNodes implements ExternalNodeInterface
func (*FakeExternalNodes) Create ¶ added in v1.8.0
func (c *FakeExternalNodes) Create(ctx context.Context, externalNode *v1alpha1.ExternalNode, opts v1.CreateOptions) (result *v1alpha1.ExternalNode, err error)
Create takes the representation of a externalNode and creates it. Returns the server's representation of the externalNode, and an error, if there is any.
func (*FakeExternalNodes) Delete ¶ added in v1.8.0
func (c *FakeExternalNodes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the externalNode and deletes it. Returns an error if one occurs.
func (*FakeExternalNodes) DeleteCollection ¶ added in v1.8.0
func (c *FakeExternalNodes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeExternalNodes) Get ¶ added in v1.8.0
func (c *FakeExternalNodes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ExternalNode, err error)
Get takes name of the externalNode, and returns the corresponding externalNode object, and an error if there is any.
func (*FakeExternalNodes) List ¶ added in v1.8.0
func (c *FakeExternalNodes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ExternalNodeList, err error)
List takes label and field selectors, and returns the list of ExternalNodes that match those selectors.
func (*FakeExternalNodes) Patch ¶ added in v1.8.0
func (c *FakeExternalNodes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ExternalNode, err error)
Patch applies the patch and returns the patched externalNode.
func (*FakeExternalNodes) Update ¶ added in v1.8.0
func (c *FakeExternalNodes) Update(ctx context.Context, externalNode *v1alpha1.ExternalNode, opts v1.UpdateOptions) (result *v1alpha1.ExternalNode, err error)
Update takes the representation of a externalNode and updates it. Returns the server's representation of the externalNode, and an error, if there is any.
func (*FakeExternalNodes) Watch ¶ added in v1.8.0
func (c *FakeExternalNodes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested externalNodes.
type FakeNetworkPolicies ¶
type FakeNetworkPolicies struct { Fake *FakeCrdV1alpha1 // contains filtered or unexported fields }
FakeNetworkPolicies implements NetworkPolicyInterface
func (*FakeNetworkPolicies) Create ¶
func (c *FakeNetworkPolicies) Create(ctx context.Context, networkPolicy *v1alpha1.NetworkPolicy, opts v1.CreateOptions) (result *v1alpha1.NetworkPolicy, err error)
Create takes the representation of a networkPolicy and creates it. Returns the server's representation of the networkPolicy, and an error, if there is any.
func (*FakeNetworkPolicies) Delete ¶
func (c *FakeNetworkPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the networkPolicy and deletes it. Returns an error if one occurs.
func (*FakeNetworkPolicies) DeleteCollection ¶
func (c *FakeNetworkPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNetworkPolicies) Get ¶
func (c *FakeNetworkPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NetworkPolicy, err error)
Get takes name of the networkPolicy, and returns the corresponding networkPolicy object, and an error if there is any.
func (*FakeNetworkPolicies) List ¶
func (c *FakeNetworkPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NetworkPolicyList, err error)
List takes label and field selectors, and returns the list of NetworkPolicies that match those selectors.
func (*FakeNetworkPolicies) Patch ¶
func (c *FakeNetworkPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NetworkPolicy, err error)
Patch applies the patch and returns the patched networkPolicy.
func (*FakeNetworkPolicies) Update ¶
func (c *FakeNetworkPolicies) Update(ctx context.Context, networkPolicy *v1alpha1.NetworkPolicy, opts v1.UpdateOptions) (result *v1alpha1.NetworkPolicy, err error)
Update takes the representation of a networkPolicy and updates it. Returns the server's representation of the networkPolicy, and an error, if there is any.
func (*FakeNetworkPolicies) UpdateStatus ¶
func (c *FakeNetworkPolicies) UpdateStatus(ctx context.Context, networkPolicy *v1alpha1.NetworkPolicy, opts v1.UpdateOptions) (*v1alpha1.NetworkPolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNetworkPolicies) Watch ¶
func (c *FakeNetworkPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested networkPolicies.
type FakeSupportBundleCollections ¶ added in v1.9.0
type FakeSupportBundleCollections struct {
Fake *FakeCrdV1alpha1
}
FakeSupportBundleCollections implements SupportBundleCollectionInterface
func (*FakeSupportBundleCollections) Create ¶ added in v1.9.0
func (c *FakeSupportBundleCollections) Create(ctx context.Context, supportBundleCollection *v1alpha1.SupportBundleCollection, opts v1.CreateOptions) (result *v1alpha1.SupportBundleCollection, err error)
Create takes the representation of a supportBundleCollection and creates it. Returns the server's representation of the supportBundleCollection, and an error, if there is any.
func (*FakeSupportBundleCollections) Delete ¶ added in v1.9.0
func (c *FakeSupportBundleCollections) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the supportBundleCollection and deletes it. Returns an error if one occurs.
func (*FakeSupportBundleCollections) DeleteCollection ¶ added in v1.9.0
func (c *FakeSupportBundleCollections) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSupportBundleCollections) Get ¶ added in v1.9.0
func (c *FakeSupportBundleCollections) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SupportBundleCollection, err error)
Get takes name of the supportBundleCollection, and returns the corresponding supportBundleCollection object, and an error if there is any.
func (*FakeSupportBundleCollections) List ¶ added in v1.9.0
func (c *FakeSupportBundleCollections) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SupportBundleCollectionList, err error)
List takes label and field selectors, and returns the list of SupportBundleCollections that match those selectors.
func (*FakeSupportBundleCollections) Patch ¶ added in v1.9.0
func (c *FakeSupportBundleCollections) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.SupportBundleCollection, err error)
Patch applies the patch and returns the patched supportBundleCollection.
func (*FakeSupportBundleCollections) Update ¶ added in v1.9.0
func (c *FakeSupportBundleCollections) Update(ctx context.Context, supportBundleCollection *v1alpha1.SupportBundleCollection, opts v1.UpdateOptions) (result *v1alpha1.SupportBundleCollection, err error)
Update takes the representation of a supportBundleCollection and updates it. Returns the server's representation of the supportBundleCollection, and an error, if there is any.
func (*FakeSupportBundleCollections) UpdateStatus ¶ added in v1.9.0
func (c *FakeSupportBundleCollections) UpdateStatus(ctx context.Context, supportBundleCollection *v1alpha1.SupportBundleCollection, opts v1.UpdateOptions) (*v1alpha1.SupportBundleCollection, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSupportBundleCollections) Watch ¶ added in v1.9.0
func (c *FakeSupportBundleCollections) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested supportBundleCollections.
type FakeTiers ¶
type FakeTiers struct {
Fake *FakeCrdV1alpha1
}
FakeTiers implements TierInterface
func (*FakeTiers) Create ¶
func (c *FakeTiers) Create(ctx context.Context, tier *v1alpha1.Tier, opts v1.CreateOptions) (result *v1alpha1.Tier, err error)
Create takes the representation of a tier and creates it. Returns the server's representation of the tier, and an error, if there is any.
func (*FakeTiers) Delete ¶
Delete takes name of the tier and deletes it. Returns an error if one occurs.
func (*FakeTiers) DeleteCollection ¶
func (c *FakeTiers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTiers) Get ¶
func (c *FakeTiers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Tier, err error)
Get takes name of the tier, and returns the corresponding tier object, and an error if there is any.
func (*FakeTiers) List ¶
func (c *FakeTiers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TierList, err error)
List takes label and field selectors, and returns the list of Tiers that match those selectors.
func (*FakeTiers) Patch ¶
func (c *FakeTiers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Tier, err error)
Patch applies the patch and returns the patched tier.
type FakeTraceflows ¶
type FakeTraceflows struct {
Fake *FakeCrdV1alpha1
}
FakeTraceflows implements TraceflowInterface
func (*FakeTraceflows) Create ¶
func (c *FakeTraceflows) Create(ctx context.Context, traceflow *v1alpha1.Traceflow, opts v1.CreateOptions) (result *v1alpha1.Traceflow, err error)
Create takes the representation of a traceflow and creates it. Returns the server's representation of the traceflow, and an error, if there is any.
func (*FakeTraceflows) Delete ¶
func (c *FakeTraceflows) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the traceflow and deletes it. Returns an error if one occurs.
func (*FakeTraceflows) DeleteCollection ¶
func (c *FakeTraceflows) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTraceflows) Get ¶
func (c *FakeTraceflows) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Traceflow, err error)
Get takes name of the traceflow, and returns the corresponding traceflow object, and an error if there is any.
func (*FakeTraceflows) List ¶
func (c *FakeTraceflows) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TraceflowList, err error)
List takes label and field selectors, and returns the list of Traceflows that match those selectors.
func (*FakeTraceflows) Patch ¶
func (c *FakeTraceflows) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Traceflow, err error)
Patch applies the patch and returns the patched traceflow.
func (*FakeTraceflows) Update ¶
func (c *FakeTraceflows) Update(ctx context.Context, traceflow *v1alpha1.Traceflow, opts v1.UpdateOptions) (result *v1alpha1.Traceflow, err error)
Update takes the representation of a traceflow and updates it. Returns the server's representation of the traceflow, and an error, if there is any.
func (*FakeTraceflows) UpdateStatus ¶
func (c *FakeTraceflows) UpdateStatus(ctx context.Context, traceflow *v1alpha1.Traceflow, opts v1.UpdateOptions) (*v1alpha1.Traceflow, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTraceflows) Watch ¶
func (c *FakeTraceflows) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested traceflows.