Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeResourceCompositions
- func (c *FakeResourceCompositions) Create(ctx context.Context, resourceComposition *v1alpha1.ResourceComposition, ...) (result *v1alpha1.ResourceComposition, err error)
- func (c *FakeResourceCompositions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeResourceCompositions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeResourceCompositions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceComposition, err error)
- func (c *FakeResourceCompositions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourceCompositionList, err error)
- func (c *FakeResourceCompositions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ResourceComposition, err error)
- func (c *FakeResourceCompositions) Update(ctx context.Context, resourceComposition *v1alpha1.ResourceComposition, ...) (result *v1alpha1.ResourceComposition, err error)
- func (c *FakeResourceCompositions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeResourceEvents
- func (c *FakeResourceEvents) Create(ctx context.Context, resourceEvent *v1alpha1.ResourceEvent, ...) (result *v1alpha1.ResourceEvent, err error)
- func (c *FakeResourceEvents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeResourceEvents) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeResourceEvents) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceEvent, err error)
- func (c *FakeResourceEvents) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourceEventList, err error)
- func (c *FakeResourceEvents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ResourceEvent, err error)
- func (c *FakeResourceEvents) Update(ctx context.Context, resourceEvent *v1alpha1.ResourceEvent, ...) (result *v1alpha1.ResourceEvent, err error)
- func (c *FakeResourceEvents) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeResourceMonitors
- func (c *FakeResourceMonitors) Create(ctx context.Context, resourceMonitor *v1alpha1.ResourceMonitor, ...) (result *v1alpha1.ResourceMonitor, err error)
- func (c *FakeResourceMonitors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeResourceMonitors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeResourceMonitors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceMonitor, err error)
- func (c *FakeResourceMonitors) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourceMonitorList, err error)
- func (c *FakeResourceMonitors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ResourceMonitor, err error)
- func (c *FakeResourceMonitors) Update(ctx context.Context, resourceMonitor *v1alpha1.ResourceMonitor, ...) (result *v1alpha1.ResourceMonitor, err error)
- func (c *FakeResourceMonitors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeResourcePolicies
- func (c *FakeResourcePolicies) Create(ctx context.Context, resourcePolicy *v1alpha1.ResourcePolicy, ...) (result *v1alpha1.ResourcePolicy, err error)
- func (c *FakeResourcePolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeResourcePolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeResourcePolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourcePolicy, err error)
- func (c *FakeResourcePolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourcePolicyList, err error)
- func (c *FakeResourcePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ResourcePolicy, err error)
- func (c *FakeResourcePolicies) Update(ctx context.Context, resourcePolicy *v1alpha1.ResourcePolicy, ...) (result *v1alpha1.ResourcePolicy, err error)
- func (c *FakeResourcePolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeWorkflowsV1alpha1
- func (c *FakeWorkflowsV1alpha1) RESTClient() rest.Interface
- func (c *FakeWorkflowsV1alpha1) ResourceCompositions(namespace string) v1alpha1.ResourceCompositionInterface
- func (c *FakeWorkflowsV1alpha1) ResourceEvents(namespace string) v1alpha1.ResourceEventInterface
- func (c *FakeWorkflowsV1alpha1) ResourceMonitors(namespace string) v1alpha1.ResourceMonitorInterface
- func (c *FakeWorkflowsV1alpha1) ResourcePolicies(namespace string) v1alpha1.ResourcePolicyInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeResourceCompositions ¶
type FakeResourceCompositions struct { Fake *FakeWorkflowsV1alpha1 // contains filtered or unexported fields }
FakeResourceCompositions implements ResourceCompositionInterface
func (*FakeResourceCompositions) Create ¶
func (c *FakeResourceCompositions) Create(ctx context.Context, resourceComposition *v1alpha1.ResourceComposition, opts v1.CreateOptions) (result *v1alpha1.ResourceComposition, err error)
Create takes the representation of a resourceComposition and creates it. Returns the server's representation of the resourceComposition, and an error, if there is any.
func (*FakeResourceCompositions) Delete ¶
func (c *FakeResourceCompositions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the resourceComposition and deletes it. Returns an error if one occurs.
func (*FakeResourceCompositions) DeleteCollection ¶
func (c *FakeResourceCompositions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeResourceCompositions) Get ¶
func (c *FakeResourceCompositions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceComposition, err error)
Get takes name of the resourceComposition, and returns the corresponding resourceComposition object, and an error if there is any.
func (*FakeResourceCompositions) List ¶
func (c *FakeResourceCompositions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourceCompositionList, err error)
List takes label and field selectors, and returns the list of ResourceCompositions that match those selectors.
func (*FakeResourceCompositions) Patch ¶
func (c *FakeResourceCompositions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ResourceComposition, err error)
Patch applies the patch and returns the patched resourceComposition.
func (*FakeResourceCompositions) Update ¶
func (c *FakeResourceCompositions) Update(ctx context.Context, resourceComposition *v1alpha1.ResourceComposition, opts v1.UpdateOptions) (result *v1alpha1.ResourceComposition, err error)
Update takes the representation of a resourceComposition and updates it. Returns the server's representation of the resourceComposition, and an error, if there is any.
func (*FakeResourceCompositions) Watch ¶
func (c *FakeResourceCompositions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested resourceCompositions.
type FakeResourceEvents ¶
type FakeResourceEvents struct { Fake *FakeWorkflowsV1alpha1 // contains filtered or unexported fields }
FakeResourceEvents implements ResourceEventInterface
func (*FakeResourceEvents) Create ¶
func (c *FakeResourceEvents) Create(ctx context.Context, resourceEvent *v1alpha1.ResourceEvent, opts v1.CreateOptions) (result *v1alpha1.ResourceEvent, err error)
Create takes the representation of a resourceEvent and creates it. Returns the server's representation of the resourceEvent, and an error, if there is any.
func (*FakeResourceEvents) Delete ¶
func (c *FakeResourceEvents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the resourceEvent and deletes it. Returns an error if one occurs.
func (*FakeResourceEvents) DeleteCollection ¶
func (c *FakeResourceEvents) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeResourceEvents) Get ¶
func (c *FakeResourceEvents) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceEvent, err error)
Get takes name of the resourceEvent, and returns the corresponding resourceEvent object, and an error if there is any.
func (*FakeResourceEvents) List ¶
func (c *FakeResourceEvents) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourceEventList, err error)
List takes label and field selectors, and returns the list of ResourceEvents that match those selectors.
func (*FakeResourceEvents) Patch ¶
func (c *FakeResourceEvents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ResourceEvent, err error)
Patch applies the patch and returns the patched resourceEvent.
func (*FakeResourceEvents) Update ¶
func (c *FakeResourceEvents) Update(ctx context.Context, resourceEvent *v1alpha1.ResourceEvent, opts v1.UpdateOptions) (result *v1alpha1.ResourceEvent, err error)
Update takes the representation of a resourceEvent and updates it. Returns the server's representation of the resourceEvent, and an error, if there is any.
func (*FakeResourceEvents) Watch ¶
func (c *FakeResourceEvents) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested resourceEvents.
type FakeResourceMonitors ¶
type FakeResourceMonitors struct { Fake *FakeWorkflowsV1alpha1 // contains filtered or unexported fields }
FakeResourceMonitors implements ResourceMonitorInterface
func (*FakeResourceMonitors) Create ¶
func (c *FakeResourceMonitors) Create(ctx context.Context, resourceMonitor *v1alpha1.ResourceMonitor, opts v1.CreateOptions) (result *v1alpha1.ResourceMonitor, err error)
Create takes the representation of a resourceMonitor and creates it. Returns the server's representation of the resourceMonitor, and an error, if there is any.
func (*FakeResourceMonitors) Delete ¶
func (c *FakeResourceMonitors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the resourceMonitor and deletes it. Returns an error if one occurs.
func (*FakeResourceMonitors) DeleteCollection ¶
func (c *FakeResourceMonitors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeResourceMonitors) Get ¶
func (c *FakeResourceMonitors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceMonitor, err error)
Get takes name of the resourceMonitor, and returns the corresponding resourceMonitor object, and an error if there is any.
func (*FakeResourceMonitors) List ¶
func (c *FakeResourceMonitors) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourceMonitorList, err error)
List takes label and field selectors, and returns the list of ResourceMonitors that match those selectors.
func (*FakeResourceMonitors) Patch ¶
func (c *FakeResourceMonitors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ResourceMonitor, err error)
Patch applies the patch and returns the patched resourceMonitor.
func (*FakeResourceMonitors) Update ¶
func (c *FakeResourceMonitors) Update(ctx context.Context, resourceMonitor *v1alpha1.ResourceMonitor, opts v1.UpdateOptions) (result *v1alpha1.ResourceMonitor, err error)
Update takes the representation of a resourceMonitor and updates it. Returns the server's representation of the resourceMonitor, and an error, if there is any.
func (*FakeResourceMonitors) Watch ¶
func (c *FakeResourceMonitors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested resourceMonitors.
type FakeResourcePolicies ¶
type FakeResourcePolicies struct { Fake *FakeWorkflowsV1alpha1 // contains filtered or unexported fields }
FakeResourcePolicies implements ResourcePolicyInterface
func (*FakeResourcePolicies) Create ¶
func (c *FakeResourcePolicies) Create(ctx context.Context, resourcePolicy *v1alpha1.ResourcePolicy, opts v1.CreateOptions) (result *v1alpha1.ResourcePolicy, err error)
Create takes the representation of a resourcePolicy and creates it. Returns the server's representation of the resourcePolicy, and an error, if there is any.
func (*FakeResourcePolicies) Delete ¶
func (c *FakeResourcePolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the resourcePolicy and deletes it. Returns an error if one occurs.
func (*FakeResourcePolicies) DeleteCollection ¶
func (c *FakeResourcePolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeResourcePolicies) Get ¶
func (c *FakeResourcePolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourcePolicy, err error)
Get takes name of the resourcePolicy, and returns the corresponding resourcePolicy object, and an error if there is any.
func (*FakeResourcePolicies) List ¶
func (c *FakeResourcePolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourcePolicyList, err error)
List takes label and field selectors, and returns the list of ResourcePolicies that match those selectors.
func (*FakeResourcePolicies) Patch ¶
func (c *FakeResourcePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ResourcePolicy, err error)
Patch applies the patch and returns the patched resourcePolicy.
func (*FakeResourcePolicies) Update ¶
func (c *FakeResourcePolicies) Update(ctx context.Context, resourcePolicy *v1alpha1.ResourcePolicy, opts v1.UpdateOptions) (result *v1alpha1.ResourcePolicy, err error)
Update takes the representation of a resourcePolicy and updates it. Returns the server's representation of the resourcePolicy, and an error, if there is any.
func (*FakeResourcePolicies) Watch ¶
func (c *FakeResourcePolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested resourcePolicies.
type FakeWorkflowsV1alpha1 ¶
func (*FakeWorkflowsV1alpha1) RESTClient ¶
func (c *FakeWorkflowsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeWorkflowsV1alpha1) ResourceCompositions ¶
func (c *FakeWorkflowsV1alpha1) ResourceCompositions(namespace string) v1alpha1.ResourceCompositionInterface
func (*FakeWorkflowsV1alpha1) ResourceEvents ¶
func (c *FakeWorkflowsV1alpha1) ResourceEvents(namespace string) v1alpha1.ResourceEventInterface
func (*FakeWorkflowsV1alpha1) ResourceMonitors ¶
func (c *FakeWorkflowsV1alpha1) ResourceMonitors(namespace string) v1alpha1.ResourceMonitorInterface
func (*FakeWorkflowsV1alpha1) ResourcePolicies ¶
func (c *FakeWorkflowsV1alpha1) ResourcePolicies(namespace string) v1alpha1.ResourcePolicyInterface