Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeContainerV1alpha1
- func (c *FakeContainerV1alpha1) Groups(namespace string) v1alpha1.GroupInterface
- func (c *FakeContainerV1alpha1) RESTClient() rest.Interface
- func (c *FakeContainerV1alpha1) Registries(namespace string) v1alpha1.RegistryInterface
- func (c *FakeContainerV1alpha1) RegistryScopeMaps(namespace string) v1alpha1.RegistryScopeMapInterface
- func (c *FakeContainerV1alpha1) RegistryTasks(namespace string) v1alpha1.RegistryTaskInterface
- func (c *FakeContainerV1alpha1) RegistryTokens(namespace string) v1alpha1.RegistryTokenInterface
- func (c *FakeContainerV1alpha1) RegistryWebhooks(namespace string) v1alpha1.RegistryWebhookInterface
- type FakeGroups
- func (c *FakeGroups) Create(ctx context.Context, group *v1alpha1.Group, opts v1.CreateOptions) (result *v1alpha1.Group, err error)
- func (c *FakeGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Group, err error)
- func (c *FakeGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GroupList, err error)
- func (c *FakeGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Group, err error)
- func (c *FakeGroups) Update(ctx context.Context, group *v1alpha1.Group, opts v1.UpdateOptions) (result *v1alpha1.Group, err error)
- func (c *FakeGroups) UpdateStatus(ctx context.Context, group *v1alpha1.Group, opts v1.UpdateOptions) (*v1alpha1.Group, error)
- func (c *FakeGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRegistries
- func (c *FakeRegistries) Create(ctx context.Context, registry *v1alpha1.Registry, opts v1.CreateOptions) (result *v1alpha1.Registry, err error)
- func (c *FakeRegistries) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRegistries) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRegistries) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Registry, err error)
- func (c *FakeRegistries) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RegistryList, err error)
- func (c *FakeRegistries) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Registry, err error)
- func (c *FakeRegistries) Update(ctx context.Context, registry *v1alpha1.Registry, opts v1.UpdateOptions) (result *v1alpha1.Registry, err error)
- func (c *FakeRegistries) UpdateStatus(ctx context.Context, registry *v1alpha1.Registry, opts v1.UpdateOptions) (*v1alpha1.Registry, error)
- func (c *FakeRegistries) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRegistryScopeMaps
- func (c *FakeRegistryScopeMaps) Create(ctx context.Context, registryScopeMap *v1alpha1.RegistryScopeMap, ...) (result *v1alpha1.RegistryScopeMap, err error)
- func (c *FakeRegistryScopeMaps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRegistryScopeMaps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRegistryScopeMaps) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RegistryScopeMap, err error)
- func (c *FakeRegistryScopeMaps) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RegistryScopeMapList, err error)
- func (c *FakeRegistryScopeMaps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.RegistryScopeMap, err error)
- func (c *FakeRegistryScopeMaps) Update(ctx context.Context, registryScopeMap *v1alpha1.RegistryScopeMap, ...) (result *v1alpha1.RegistryScopeMap, err error)
- func (c *FakeRegistryScopeMaps) UpdateStatus(ctx context.Context, registryScopeMap *v1alpha1.RegistryScopeMap, ...) (*v1alpha1.RegistryScopeMap, error)
- func (c *FakeRegistryScopeMaps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRegistryTasks
- func (c *FakeRegistryTasks) Create(ctx context.Context, registryTask *v1alpha1.RegistryTask, ...) (result *v1alpha1.RegistryTask, err error)
- func (c *FakeRegistryTasks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRegistryTasks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRegistryTasks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RegistryTask, err error)
- func (c *FakeRegistryTasks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RegistryTaskList, err error)
- func (c *FakeRegistryTasks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.RegistryTask, err error)
- func (c *FakeRegistryTasks) Update(ctx context.Context, registryTask *v1alpha1.RegistryTask, ...) (result *v1alpha1.RegistryTask, err error)
- func (c *FakeRegistryTasks) UpdateStatus(ctx context.Context, registryTask *v1alpha1.RegistryTask, ...) (*v1alpha1.RegistryTask, error)
- func (c *FakeRegistryTasks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRegistryTokens
- func (c *FakeRegistryTokens) Create(ctx context.Context, registryToken *v1alpha1.RegistryToken, ...) (result *v1alpha1.RegistryToken, err error)
- func (c *FakeRegistryTokens) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRegistryTokens) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRegistryTokens) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RegistryToken, err error)
- func (c *FakeRegistryTokens) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RegistryTokenList, err error)
- func (c *FakeRegistryTokens) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.RegistryToken, err error)
- func (c *FakeRegistryTokens) Update(ctx context.Context, registryToken *v1alpha1.RegistryToken, ...) (result *v1alpha1.RegistryToken, err error)
- func (c *FakeRegistryTokens) UpdateStatus(ctx context.Context, registryToken *v1alpha1.RegistryToken, ...) (*v1alpha1.RegistryToken, error)
- func (c *FakeRegistryTokens) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRegistryWebhooks
- func (c *FakeRegistryWebhooks) Create(ctx context.Context, registryWebhook *v1alpha1.RegistryWebhook, ...) (result *v1alpha1.RegistryWebhook, err error)
- func (c *FakeRegistryWebhooks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRegistryWebhooks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRegistryWebhooks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RegistryWebhook, err error)
- func (c *FakeRegistryWebhooks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RegistryWebhookList, err error)
- func (c *FakeRegistryWebhooks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.RegistryWebhook, err error)
- func (c *FakeRegistryWebhooks) Update(ctx context.Context, registryWebhook *v1alpha1.RegistryWebhook, ...) (result *v1alpha1.RegistryWebhook, err error)
- func (c *FakeRegistryWebhooks) UpdateStatus(ctx context.Context, registryWebhook *v1alpha1.RegistryWebhook, ...) (*v1alpha1.RegistryWebhook, error)
- func (c *FakeRegistryWebhooks) 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 FakeContainerV1alpha1 ¶
func (*FakeContainerV1alpha1) Groups ¶
func (c *FakeContainerV1alpha1) Groups(namespace string) v1alpha1.GroupInterface
func (*FakeContainerV1alpha1) RESTClient ¶
func (c *FakeContainerV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeContainerV1alpha1) Registries ¶
func (c *FakeContainerV1alpha1) Registries(namespace string) v1alpha1.RegistryInterface
func (*FakeContainerV1alpha1) RegistryScopeMaps ¶
func (c *FakeContainerV1alpha1) RegistryScopeMaps(namespace string) v1alpha1.RegistryScopeMapInterface
func (*FakeContainerV1alpha1) RegistryTasks ¶ added in v0.5.0
func (c *FakeContainerV1alpha1) RegistryTasks(namespace string) v1alpha1.RegistryTaskInterface
func (*FakeContainerV1alpha1) RegistryTokens ¶
func (c *FakeContainerV1alpha1) RegistryTokens(namespace string) v1alpha1.RegistryTokenInterface
func (*FakeContainerV1alpha1) RegistryWebhooks ¶
func (c *FakeContainerV1alpha1) RegistryWebhooks(namespace string) v1alpha1.RegistryWebhookInterface
type FakeGroups ¶
type FakeGroups struct { Fake *FakeContainerV1alpha1 // contains filtered or unexported fields }
FakeGroups implements GroupInterface
func (*FakeGroups) Create ¶
func (c *FakeGroups) Create(ctx context.Context, group *v1alpha1.Group, opts v1.CreateOptions) (result *v1alpha1.Group, err error)
Create takes the representation of a group and creates it. Returns the server's representation of the group, and an error, if there is any.
func (*FakeGroups) Delete ¶
func (c *FakeGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the group and deletes it. Returns an error if one occurs.
func (*FakeGroups) DeleteCollection ¶
func (c *FakeGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGroups) Get ¶
func (c *FakeGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Group, err error)
Get takes name of the group, and returns the corresponding group object, and an error if there is any.
func (*FakeGroups) List ¶
func (c *FakeGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GroupList, err error)
List takes label and field selectors, and returns the list of Groups that match those selectors.
func (*FakeGroups) Patch ¶
func (c *FakeGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Group, err error)
Patch applies the patch and returns the patched group.
func (*FakeGroups) Update ¶
func (c *FakeGroups) Update(ctx context.Context, group *v1alpha1.Group, opts v1.UpdateOptions) (result *v1alpha1.Group, err error)
Update takes the representation of a group and updates it. Returns the server's representation of the group, and an error, if there is any.
func (*FakeGroups) UpdateStatus ¶
func (c *FakeGroups) UpdateStatus(ctx context.Context, group *v1alpha1.Group, opts v1.UpdateOptions) (*v1alpha1.Group, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGroups) Watch ¶
func (c *FakeGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested groups.
type FakeRegistries ¶
type FakeRegistries struct { Fake *FakeContainerV1alpha1 // contains filtered or unexported fields }
FakeRegistries implements RegistryInterface
func (*FakeRegistries) Create ¶
func (c *FakeRegistries) Create(ctx context.Context, registry *v1alpha1.Registry, opts v1.CreateOptions) (result *v1alpha1.Registry, err error)
Create takes the representation of a registry and creates it. Returns the server's representation of the registry, and an error, if there is any.
func (*FakeRegistries) Delete ¶
func (c *FakeRegistries) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the registry and deletes it. Returns an error if one occurs.
func (*FakeRegistries) DeleteCollection ¶
func (c *FakeRegistries) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRegistries) Get ¶
func (c *FakeRegistries) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Registry, err error)
Get takes name of the registry, and returns the corresponding registry object, and an error if there is any.
func (*FakeRegistries) List ¶
func (c *FakeRegistries) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RegistryList, err error)
List takes label and field selectors, and returns the list of Registries that match those selectors.
func (*FakeRegistries) Patch ¶
func (c *FakeRegistries) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Registry, err error)
Patch applies the patch and returns the patched registry.
func (*FakeRegistries) Update ¶
func (c *FakeRegistries) Update(ctx context.Context, registry *v1alpha1.Registry, opts v1.UpdateOptions) (result *v1alpha1.Registry, err error)
Update takes the representation of a registry and updates it. Returns the server's representation of the registry, and an error, if there is any.
func (*FakeRegistries) UpdateStatus ¶
func (c *FakeRegistries) UpdateStatus(ctx context.Context, registry *v1alpha1.Registry, opts v1.UpdateOptions) (*v1alpha1.Registry, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRegistries) Watch ¶
func (c *FakeRegistries) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested registries.
type FakeRegistryScopeMaps ¶
type FakeRegistryScopeMaps struct { Fake *FakeContainerV1alpha1 // contains filtered or unexported fields }
FakeRegistryScopeMaps implements RegistryScopeMapInterface
func (*FakeRegistryScopeMaps) Create ¶
func (c *FakeRegistryScopeMaps) Create(ctx context.Context, registryScopeMap *v1alpha1.RegistryScopeMap, opts v1.CreateOptions) (result *v1alpha1.RegistryScopeMap, err error)
Create takes the representation of a registryScopeMap and creates it. Returns the server's representation of the registryScopeMap, and an error, if there is any.
func (*FakeRegistryScopeMaps) Delete ¶
func (c *FakeRegistryScopeMaps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the registryScopeMap and deletes it. Returns an error if one occurs.
func (*FakeRegistryScopeMaps) DeleteCollection ¶
func (c *FakeRegistryScopeMaps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRegistryScopeMaps) Get ¶
func (c *FakeRegistryScopeMaps) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RegistryScopeMap, err error)
Get takes name of the registryScopeMap, and returns the corresponding registryScopeMap object, and an error if there is any.
func (*FakeRegistryScopeMaps) List ¶
func (c *FakeRegistryScopeMaps) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RegistryScopeMapList, err error)
List takes label and field selectors, and returns the list of RegistryScopeMaps that match those selectors.
func (*FakeRegistryScopeMaps) Patch ¶
func (c *FakeRegistryScopeMaps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.RegistryScopeMap, err error)
Patch applies the patch and returns the patched registryScopeMap.
func (*FakeRegistryScopeMaps) Update ¶
func (c *FakeRegistryScopeMaps) Update(ctx context.Context, registryScopeMap *v1alpha1.RegistryScopeMap, opts v1.UpdateOptions) (result *v1alpha1.RegistryScopeMap, err error)
Update takes the representation of a registryScopeMap and updates it. Returns the server's representation of the registryScopeMap, and an error, if there is any.
func (*FakeRegistryScopeMaps) UpdateStatus ¶
func (c *FakeRegistryScopeMaps) UpdateStatus(ctx context.Context, registryScopeMap *v1alpha1.RegistryScopeMap, opts v1.UpdateOptions) (*v1alpha1.RegistryScopeMap, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRegistryScopeMaps) Watch ¶
func (c *FakeRegistryScopeMaps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested registryScopeMaps.
type FakeRegistryTasks ¶ added in v0.5.0
type FakeRegistryTasks struct { Fake *FakeContainerV1alpha1 // contains filtered or unexported fields }
FakeRegistryTasks implements RegistryTaskInterface
func (*FakeRegistryTasks) Create ¶ added in v0.5.0
func (c *FakeRegistryTasks) Create(ctx context.Context, registryTask *v1alpha1.RegistryTask, opts v1.CreateOptions) (result *v1alpha1.RegistryTask, err error)
Create takes the representation of a registryTask and creates it. Returns the server's representation of the registryTask, and an error, if there is any.
func (*FakeRegistryTasks) Delete ¶ added in v0.5.0
func (c *FakeRegistryTasks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the registryTask and deletes it. Returns an error if one occurs.
func (*FakeRegistryTasks) DeleteCollection ¶ added in v0.5.0
func (c *FakeRegistryTasks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRegistryTasks) Get ¶ added in v0.5.0
func (c *FakeRegistryTasks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RegistryTask, err error)
Get takes name of the registryTask, and returns the corresponding registryTask object, and an error if there is any.
func (*FakeRegistryTasks) List ¶ added in v0.5.0
func (c *FakeRegistryTasks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RegistryTaskList, err error)
List takes label and field selectors, and returns the list of RegistryTasks that match those selectors.
func (*FakeRegistryTasks) Patch ¶ added in v0.5.0
func (c *FakeRegistryTasks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.RegistryTask, err error)
Patch applies the patch and returns the patched registryTask.
func (*FakeRegistryTasks) Update ¶ added in v0.5.0
func (c *FakeRegistryTasks) Update(ctx context.Context, registryTask *v1alpha1.RegistryTask, opts v1.UpdateOptions) (result *v1alpha1.RegistryTask, err error)
Update takes the representation of a registryTask and updates it. Returns the server's representation of the registryTask, and an error, if there is any.
func (*FakeRegistryTasks) UpdateStatus ¶ added in v0.5.0
func (c *FakeRegistryTasks) UpdateStatus(ctx context.Context, registryTask *v1alpha1.RegistryTask, opts v1.UpdateOptions) (*v1alpha1.RegistryTask, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRegistryTasks) Watch ¶ added in v0.5.0
func (c *FakeRegistryTasks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested registryTasks.
type FakeRegistryTokens ¶
type FakeRegistryTokens struct { Fake *FakeContainerV1alpha1 // contains filtered or unexported fields }
FakeRegistryTokens implements RegistryTokenInterface
func (*FakeRegistryTokens) Create ¶
func (c *FakeRegistryTokens) Create(ctx context.Context, registryToken *v1alpha1.RegistryToken, opts v1.CreateOptions) (result *v1alpha1.RegistryToken, err error)
Create takes the representation of a registryToken and creates it. Returns the server's representation of the registryToken, and an error, if there is any.
func (*FakeRegistryTokens) Delete ¶
func (c *FakeRegistryTokens) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the registryToken and deletes it. Returns an error if one occurs.
func (*FakeRegistryTokens) DeleteCollection ¶
func (c *FakeRegistryTokens) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRegistryTokens) Get ¶
func (c *FakeRegistryTokens) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RegistryToken, err error)
Get takes name of the registryToken, and returns the corresponding registryToken object, and an error if there is any.
func (*FakeRegistryTokens) List ¶
func (c *FakeRegistryTokens) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RegistryTokenList, err error)
List takes label and field selectors, and returns the list of RegistryTokens that match those selectors.
func (*FakeRegistryTokens) Patch ¶
func (c *FakeRegistryTokens) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.RegistryToken, err error)
Patch applies the patch and returns the patched registryToken.
func (*FakeRegistryTokens) Update ¶
func (c *FakeRegistryTokens) Update(ctx context.Context, registryToken *v1alpha1.RegistryToken, opts v1.UpdateOptions) (result *v1alpha1.RegistryToken, err error)
Update takes the representation of a registryToken and updates it. Returns the server's representation of the registryToken, and an error, if there is any.
func (*FakeRegistryTokens) UpdateStatus ¶
func (c *FakeRegistryTokens) UpdateStatus(ctx context.Context, registryToken *v1alpha1.RegistryToken, opts v1.UpdateOptions) (*v1alpha1.RegistryToken, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRegistryTokens) Watch ¶
func (c *FakeRegistryTokens) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested registryTokens.
type FakeRegistryWebhooks ¶
type FakeRegistryWebhooks struct { Fake *FakeContainerV1alpha1 // contains filtered or unexported fields }
FakeRegistryWebhooks implements RegistryWebhookInterface
func (*FakeRegistryWebhooks) Create ¶
func (c *FakeRegistryWebhooks) Create(ctx context.Context, registryWebhook *v1alpha1.RegistryWebhook, opts v1.CreateOptions) (result *v1alpha1.RegistryWebhook, err error)
Create takes the representation of a registryWebhook and creates it. Returns the server's representation of the registryWebhook, and an error, if there is any.
func (*FakeRegistryWebhooks) Delete ¶
func (c *FakeRegistryWebhooks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the registryWebhook and deletes it. Returns an error if one occurs.
func (*FakeRegistryWebhooks) DeleteCollection ¶
func (c *FakeRegistryWebhooks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRegistryWebhooks) Get ¶
func (c *FakeRegistryWebhooks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RegistryWebhook, err error)
Get takes name of the registryWebhook, and returns the corresponding registryWebhook object, and an error if there is any.
func (*FakeRegistryWebhooks) List ¶
func (c *FakeRegistryWebhooks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RegistryWebhookList, err error)
List takes label and field selectors, and returns the list of RegistryWebhooks that match those selectors.
func (*FakeRegistryWebhooks) Patch ¶
func (c *FakeRegistryWebhooks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.RegistryWebhook, err error)
Patch applies the patch and returns the patched registryWebhook.
func (*FakeRegistryWebhooks) Update ¶
func (c *FakeRegistryWebhooks) Update(ctx context.Context, registryWebhook *v1alpha1.RegistryWebhook, opts v1.UpdateOptions) (result *v1alpha1.RegistryWebhook, err error)
Update takes the representation of a registryWebhook and updates it. Returns the server's representation of the registryWebhook, and an error, if there is any.
func (*FakeRegistryWebhooks) UpdateStatus ¶
func (c *FakeRegistryWebhooks) UpdateStatus(ctx context.Context, registryWebhook *v1alpha1.RegistryWebhook, opts v1.UpdateOptions) (*v1alpha1.RegistryWebhook, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRegistryWebhooks) Watch ¶
func (c *FakeRegistryWebhooks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested registryWebhooks.