Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDiscoveryRules
- func (c *FakeDiscoveryRules) Create(ctx context.Context, discoveryRule *v1alpha1.DiscoveryRule, ...) (result *v1alpha1.DiscoveryRule, err error)
- func (c *FakeDiscoveryRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDiscoveryRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDiscoveryRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DiscoveryRule, err error)
- func (c *FakeDiscoveryRules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DiscoveryRuleList, err error)
- func (c *FakeDiscoveryRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.DiscoveryRule, err error)
- func (c *FakeDiscoveryRules) Update(ctx context.Context, discoveryRule *v1alpha1.DiscoveryRule, ...) (result *v1alpha1.DiscoveryRule, err error)
- func (c *FakeDiscoveryRules) UpdateStatus(ctx context.Context, discoveryRule *v1alpha1.DiscoveryRule, ...) (*v1alpha1.DiscoveryRule, error)
- func (c *FakeDiscoveryRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeInvV1alpha1
- func (c *FakeInvV1alpha1) DiscoveryRules(namespace string) v1alpha1.DiscoveryRuleInterface
- func (c *FakeInvV1alpha1) RESTClient() rest.Interface
- func (c *FakeInvV1alpha1) Schemas(namespace string) v1alpha1.SchemaInterface
- func (c *FakeInvV1alpha1) TargetConnectionProfiles(namespace string) v1alpha1.TargetConnectionProfileInterface
- func (c *FakeInvV1alpha1) TargetSyncProfiles(namespace string) v1alpha1.TargetSyncProfileInterface
- func (c *FakeInvV1alpha1) Targets(namespace string) v1alpha1.TargetInterface
- type FakeSchemas
- func (c *FakeSchemas) Create(ctx context.Context, schema *v1alpha1.Schema, opts v1.CreateOptions) (result *v1alpha1.Schema, err error)
- func (c *FakeSchemas) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSchemas) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSchemas) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Schema, err error)
- func (c *FakeSchemas) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SchemaList, err error)
- func (c *FakeSchemas) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Schema, err error)
- func (c *FakeSchemas) Update(ctx context.Context, schema *v1alpha1.Schema, opts v1.UpdateOptions) (result *v1alpha1.Schema, err error)
- func (c *FakeSchemas) UpdateStatus(ctx context.Context, schema *v1alpha1.Schema, opts v1.UpdateOptions) (*v1alpha1.Schema, error)
- func (c *FakeSchemas) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTargetConnectionProfiles
- func (c *FakeTargetConnectionProfiles) Create(ctx context.Context, targetConnectionProfile *v1alpha1.TargetConnectionProfile, ...) (result *v1alpha1.TargetConnectionProfile, err error)
- func (c *FakeTargetConnectionProfiles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTargetConnectionProfiles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTargetConnectionProfiles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TargetConnectionProfile, err error)
- func (c *FakeTargetConnectionProfiles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TargetConnectionProfileList, err error)
- func (c *FakeTargetConnectionProfiles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.TargetConnectionProfile, err error)
- func (c *FakeTargetConnectionProfiles) Update(ctx context.Context, targetConnectionProfile *v1alpha1.TargetConnectionProfile, ...) (result *v1alpha1.TargetConnectionProfile, err error)
- func (c *FakeTargetConnectionProfiles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTargetSyncProfiles
- func (c *FakeTargetSyncProfiles) Create(ctx context.Context, targetSyncProfile *v1alpha1.TargetSyncProfile, ...) (result *v1alpha1.TargetSyncProfile, err error)
- func (c *FakeTargetSyncProfiles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTargetSyncProfiles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTargetSyncProfiles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TargetSyncProfile, err error)
- func (c *FakeTargetSyncProfiles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TargetSyncProfileList, err error)
- func (c *FakeTargetSyncProfiles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.TargetSyncProfile, err error)
- func (c *FakeTargetSyncProfiles) Update(ctx context.Context, targetSyncProfile *v1alpha1.TargetSyncProfile, ...) (result *v1alpha1.TargetSyncProfile, err error)
- func (c *FakeTargetSyncProfiles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTargets
- func (c *FakeTargets) Create(ctx context.Context, target *v1alpha1.Target, opts v1.CreateOptions) (result *v1alpha1.Target, err error)
- func (c *FakeTargets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTargets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTargets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Target, err error)
- func (c *FakeTargets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TargetList, err error)
- func (c *FakeTargets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Target, err error)
- func (c *FakeTargets) Update(ctx context.Context, target *v1alpha1.Target, opts v1.UpdateOptions) (result *v1alpha1.Target, err error)
- func (c *FakeTargets) UpdateStatus(ctx context.Context, target *v1alpha1.Target, opts v1.UpdateOptions) (*v1alpha1.Target, error)
- func (c *FakeTargets) 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 FakeDiscoveryRules ¶
type FakeDiscoveryRules struct { Fake *FakeInvV1alpha1 // contains filtered or unexported fields }
FakeDiscoveryRules implements DiscoveryRuleInterface
func (*FakeDiscoveryRules) Create ¶
func (c *FakeDiscoveryRules) Create(ctx context.Context, discoveryRule *v1alpha1.DiscoveryRule, opts v1.CreateOptions) (result *v1alpha1.DiscoveryRule, err error)
Create takes the representation of a discoveryRule and creates it. Returns the server's representation of the discoveryRule, and an error, if there is any.
func (*FakeDiscoveryRules) Delete ¶
func (c *FakeDiscoveryRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the discoveryRule and deletes it. Returns an error if one occurs.
func (*FakeDiscoveryRules) DeleteCollection ¶
func (c *FakeDiscoveryRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDiscoveryRules) Get ¶
func (c *FakeDiscoveryRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DiscoveryRule, err error)
Get takes name of the discoveryRule, and returns the corresponding discoveryRule object, and an error if there is any.
func (*FakeDiscoveryRules) List ¶
func (c *FakeDiscoveryRules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DiscoveryRuleList, err error)
List takes label and field selectors, and returns the list of DiscoveryRules that match those selectors.
func (*FakeDiscoveryRules) Patch ¶
func (c *FakeDiscoveryRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DiscoveryRule, err error)
Patch applies the patch and returns the patched discoveryRule.
func (*FakeDiscoveryRules) Update ¶
func (c *FakeDiscoveryRules) Update(ctx context.Context, discoveryRule *v1alpha1.DiscoveryRule, opts v1.UpdateOptions) (result *v1alpha1.DiscoveryRule, err error)
Update takes the representation of a discoveryRule and updates it. Returns the server's representation of the discoveryRule, and an error, if there is any.
func (*FakeDiscoveryRules) UpdateStatus ¶
func (c *FakeDiscoveryRules) UpdateStatus(ctx context.Context, discoveryRule *v1alpha1.DiscoveryRule, opts v1.UpdateOptions) (*v1alpha1.DiscoveryRule, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDiscoveryRules) Watch ¶
func (c *FakeDiscoveryRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested discoveryRules.
type FakeInvV1alpha1 ¶
func (*FakeInvV1alpha1) DiscoveryRules ¶
func (c *FakeInvV1alpha1) DiscoveryRules(namespace string) v1alpha1.DiscoveryRuleInterface
func (*FakeInvV1alpha1) RESTClient ¶
func (c *FakeInvV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeInvV1alpha1) Schemas ¶
func (c *FakeInvV1alpha1) Schemas(namespace string) v1alpha1.SchemaInterface
func (*FakeInvV1alpha1) TargetConnectionProfiles ¶
func (c *FakeInvV1alpha1) TargetConnectionProfiles(namespace string) v1alpha1.TargetConnectionProfileInterface
func (*FakeInvV1alpha1) TargetSyncProfiles ¶
func (c *FakeInvV1alpha1) TargetSyncProfiles(namespace string) v1alpha1.TargetSyncProfileInterface
func (*FakeInvV1alpha1) Targets ¶
func (c *FakeInvV1alpha1) Targets(namespace string) v1alpha1.TargetInterface
type FakeSchemas ¶
type FakeSchemas struct { Fake *FakeInvV1alpha1 // contains filtered or unexported fields }
FakeSchemas implements SchemaInterface
func (*FakeSchemas) Create ¶
func (c *FakeSchemas) Create(ctx context.Context, schema *v1alpha1.Schema, opts v1.CreateOptions) (result *v1alpha1.Schema, err error)
Create takes the representation of a schema and creates it. Returns the server's representation of the schema, and an error, if there is any.
func (*FakeSchemas) Delete ¶
func (c *FakeSchemas) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the schema and deletes it. Returns an error if one occurs.
func (*FakeSchemas) DeleteCollection ¶
func (c *FakeSchemas) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSchemas) Get ¶
func (c *FakeSchemas) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Schema, err error)
Get takes name of the schema, and returns the corresponding schema object, and an error if there is any.
func (*FakeSchemas) List ¶
func (c *FakeSchemas) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SchemaList, err error)
List takes label and field selectors, and returns the list of Schemas that match those selectors.
func (*FakeSchemas) Patch ¶
func (c *FakeSchemas) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Schema, err error)
Patch applies the patch and returns the patched schema.
func (*FakeSchemas) Update ¶
func (c *FakeSchemas) Update(ctx context.Context, schema *v1alpha1.Schema, opts v1.UpdateOptions) (result *v1alpha1.Schema, err error)
Update takes the representation of a schema and updates it. Returns the server's representation of the schema, and an error, if there is any.
func (*FakeSchemas) UpdateStatus ¶
func (c *FakeSchemas) UpdateStatus(ctx context.Context, schema *v1alpha1.Schema, opts v1.UpdateOptions) (*v1alpha1.Schema, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSchemas) Watch ¶
func (c *FakeSchemas) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested schemas.
type FakeTargetConnectionProfiles ¶
type FakeTargetConnectionProfiles struct { Fake *FakeInvV1alpha1 // contains filtered or unexported fields }
FakeTargetConnectionProfiles implements TargetConnectionProfileInterface
func (*FakeTargetConnectionProfiles) Create ¶
func (c *FakeTargetConnectionProfiles) Create(ctx context.Context, targetConnectionProfile *v1alpha1.TargetConnectionProfile, opts v1.CreateOptions) (result *v1alpha1.TargetConnectionProfile, err error)
Create takes the representation of a targetConnectionProfile and creates it. Returns the server's representation of the targetConnectionProfile, and an error, if there is any.
func (*FakeTargetConnectionProfiles) Delete ¶
func (c *FakeTargetConnectionProfiles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the targetConnectionProfile and deletes it. Returns an error if one occurs.
func (*FakeTargetConnectionProfiles) DeleteCollection ¶
func (c *FakeTargetConnectionProfiles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTargetConnectionProfiles) Get ¶
func (c *FakeTargetConnectionProfiles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TargetConnectionProfile, err error)
Get takes name of the targetConnectionProfile, and returns the corresponding targetConnectionProfile object, and an error if there is any.
func (*FakeTargetConnectionProfiles) List ¶
func (c *FakeTargetConnectionProfiles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TargetConnectionProfileList, err error)
List takes label and field selectors, and returns the list of TargetConnectionProfiles that match those selectors.
func (*FakeTargetConnectionProfiles) Patch ¶
func (c *FakeTargetConnectionProfiles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.TargetConnectionProfile, err error)
Patch applies the patch and returns the patched targetConnectionProfile.
func (*FakeTargetConnectionProfiles) Update ¶
func (c *FakeTargetConnectionProfiles) Update(ctx context.Context, targetConnectionProfile *v1alpha1.TargetConnectionProfile, opts v1.UpdateOptions) (result *v1alpha1.TargetConnectionProfile, err error)
Update takes the representation of a targetConnectionProfile and updates it. Returns the server's representation of the targetConnectionProfile, and an error, if there is any.
func (*FakeTargetConnectionProfiles) Watch ¶
func (c *FakeTargetConnectionProfiles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested targetConnectionProfiles.
type FakeTargetSyncProfiles ¶
type FakeTargetSyncProfiles struct { Fake *FakeInvV1alpha1 // contains filtered or unexported fields }
FakeTargetSyncProfiles implements TargetSyncProfileInterface
func (*FakeTargetSyncProfiles) Create ¶
func (c *FakeTargetSyncProfiles) Create(ctx context.Context, targetSyncProfile *v1alpha1.TargetSyncProfile, opts v1.CreateOptions) (result *v1alpha1.TargetSyncProfile, err error)
Create takes the representation of a targetSyncProfile and creates it. Returns the server's representation of the targetSyncProfile, and an error, if there is any.
func (*FakeTargetSyncProfiles) Delete ¶
func (c *FakeTargetSyncProfiles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the targetSyncProfile and deletes it. Returns an error if one occurs.
func (*FakeTargetSyncProfiles) DeleteCollection ¶
func (c *FakeTargetSyncProfiles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTargetSyncProfiles) Get ¶
func (c *FakeTargetSyncProfiles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TargetSyncProfile, err error)
Get takes name of the targetSyncProfile, and returns the corresponding targetSyncProfile object, and an error if there is any.
func (*FakeTargetSyncProfiles) List ¶
func (c *FakeTargetSyncProfiles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TargetSyncProfileList, err error)
List takes label and field selectors, and returns the list of TargetSyncProfiles that match those selectors.
func (*FakeTargetSyncProfiles) Patch ¶
func (c *FakeTargetSyncProfiles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.TargetSyncProfile, err error)
Patch applies the patch and returns the patched targetSyncProfile.
func (*FakeTargetSyncProfiles) Update ¶
func (c *FakeTargetSyncProfiles) Update(ctx context.Context, targetSyncProfile *v1alpha1.TargetSyncProfile, opts v1.UpdateOptions) (result *v1alpha1.TargetSyncProfile, err error)
Update takes the representation of a targetSyncProfile and updates it. Returns the server's representation of the targetSyncProfile, and an error, if there is any.
func (*FakeTargetSyncProfiles) Watch ¶
func (c *FakeTargetSyncProfiles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested targetSyncProfiles.
type FakeTargets ¶
type FakeTargets struct { Fake *FakeInvV1alpha1 // contains filtered or unexported fields }
FakeTargets implements TargetInterface
func (*FakeTargets) Create ¶
func (c *FakeTargets) Create(ctx context.Context, target *v1alpha1.Target, opts v1.CreateOptions) (result *v1alpha1.Target, err error)
Create takes the representation of a target and creates it. Returns the server's representation of the target, and an error, if there is any.
func (*FakeTargets) Delete ¶
func (c *FakeTargets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the target and deletes it. Returns an error if one occurs.
func (*FakeTargets) DeleteCollection ¶
func (c *FakeTargets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTargets) Get ¶
func (c *FakeTargets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Target, err error)
Get takes name of the target, and returns the corresponding target object, and an error if there is any.
func (*FakeTargets) List ¶
func (c *FakeTargets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TargetList, err error)
List takes label and field selectors, and returns the list of Targets that match those selectors.
func (*FakeTargets) Patch ¶
func (c *FakeTargets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Target, err error)
Patch applies the patch and returns the patched target.
func (*FakeTargets) Update ¶
func (c *FakeTargets) Update(ctx context.Context, target *v1alpha1.Target, opts v1.UpdateOptions) (result *v1alpha1.Target, err error)
Update takes the representation of a target and updates it. Returns the server's representation of the target, and an error, if there is any.
func (*FakeTargets) UpdateStatus ¶
func (c *FakeTargets) UpdateStatus(ctx context.Context, target *v1alpha1.Target, opts v1.UpdateOptions) (*v1alpha1.Target, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTargets) Watch ¶
func (c *FakeTargets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested targets.