fake

package
v0.5.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeConfigurationOverlays

type FakeConfigurationOverlays struct {
	Fake *FakePlatformV1alpha1
	// contains filtered or unexported fields
}

FakeConfigurationOverlays implements ConfigurationOverlayInterface

func (*FakeConfigurationOverlays) Create

func (c *FakeConfigurationOverlays) Create(ctx context.Context, configurationOverlay *v1alpha1.ConfigurationOverlay, opts v1.CreateOptions) (result *v1alpha1.ConfigurationOverlay, err error)

Create takes the representation of a configurationOverlay and creates it. Returns the server's representation of the configurationOverlay, and an error, if there is any.

func (*FakeConfigurationOverlays) Delete

Delete takes name of the configurationOverlay and deletes it. Returns an error if one occurs.

func (*FakeConfigurationOverlays) DeleteCollection

func (c *FakeConfigurationOverlays) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeConfigurationOverlays) Get

Get takes name of the configurationOverlay, and returns the corresponding configurationOverlay object, and an error if there is any.

func (*FakeConfigurationOverlays) List

List takes label and field selectors, and returns the list of ConfigurationOverlays that match those selectors.

func (*FakeConfigurationOverlays) Patch

func (c *FakeConfigurationOverlays) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ConfigurationOverlay, err error)

Patch applies the patch and returns the patched configurationOverlay.

func (*FakeConfigurationOverlays) Update

func (c *FakeConfigurationOverlays) Update(ctx context.Context, configurationOverlay *v1alpha1.ConfigurationOverlay, opts v1.UpdateOptions) (result *v1alpha1.ConfigurationOverlay, err error)

Update takes the representation of a configurationOverlay and updates it. Returns the server's representation of the configurationOverlay, and an error, if there is any.

func (*FakeConfigurationOverlays) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeConfigurationOverlays) Watch

Watch returns a watch.Interface that watches the requested configurationOverlays.

type FakeDashboards

type FakeDashboards struct {
	Fake *FakePlatformV1alpha1
	// contains filtered or unexported fields
}

FakeDashboards implements DashboardInterface

func (*FakeDashboards) Create

func (c *FakeDashboards) Create(ctx context.Context, dashboard *v1alpha1.Dashboard, opts v1.CreateOptions) (result *v1alpha1.Dashboard, err error)

Create takes the representation of a dashboard and creates it. Returns the server's representation of the dashboard, and an error, if there is any.

func (*FakeDashboards) Delete

func (c *FakeDashboards) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the dashboard and deletes it. Returns an error if one occurs.

func (*FakeDashboards) DeleteCollection

func (c *FakeDashboards) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDashboards) Get

func (c *FakeDashboards) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Dashboard, err error)

Get takes name of the dashboard, and returns the corresponding dashboard object, and an error if there is any.

func (*FakeDashboards) List

func (c *FakeDashboards) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DashboardList, err error)

List takes label and field selectors, and returns the list of Dashboards that match those selectors.

func (*FakeDashboards) Patch

func (c *FakeDashboards) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Dashboard, err error)

Patch applies the patch and returns the patched dashboard.

func (*FakeDashboards) Update

func (c *FakeDashboards) Update(ctx context.Context, dashboard *v1alpha1.Dashboard, opts v1.UpdateOptions) (result *v1alpha1.Dashboard, err error)

Update takes the representation of a dashboard and updates it. Returns the server's representation of the dashboard, and an error, if there is any.

func (*FakeDashboards) UpdateStatus

func (c *FakeDashboards) UpdateStatus(ctx context.Context, dashboard *v1alpha1.Dashboard, opts v1.UpdateOptions) (*v1alpha1.Dashboard, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeDashboards) Watch

Watch returns a watch.Interface that watches the requested dashboards.

type FakeDefaultStorageClasses

type FakeDefaultStorageClasses struct {
	Fake *FakePlatformV1alpha1
	// contains filtered or unexported fields
}

FakeDefaultStorageClasses implements DefaultStorageClassInterface

func (*FakeDefaultStorageClasses) Create

func (c *FakeDefaultStorageClasses) Create(ctx context.Context, defaultStorageClass *v1alpha1.DefaultStorageClass, opts v1.CreateOptions) (result *v1alpha1.DefaultStorageClass, err error)

Create takes the representation of a defaultStorageClass and creates it. Returns the server's representation of the defaultStorageClass, and an error, if there is any.

func (*FakeDefaultStorageClasses) Delete

Delete takes name of the defaultStorageClass and deletes it. Returns an error if one occurs.

func (*FakeDefaultStorageClasses) DeleteCollection

func (c *FakeDefaultStorageClasses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDefaultStorageClasses) Get

Get takes name of the defaultStorageClass, and returns the corresponding defaultStorageClass object, and an error if there is any.

func (*FakeDefaultStorageClasses) List

List takes label and field selectors, and returns the list of DefaultStorageClasses that match those selectors.

func (*FakeDefaultStorageClasses) Patch

func (c *FakeDefaultStorageClasses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DefaultStorageClass, err error)

Patch applies the patch and returns the patched defaultStorageClass.

func (*FakeDefaultStorageClasses) Update

func (c *FakeDefaultStorageClasses) Update(ctx context.Context, defaultStorageClass *v1alpha1.DefaultStorageClass, opts v1.UpdateOptions) (result *v1alpha1.DefaultStorageClass, err error)

Update takes the representation of a defaultStorageClass and updates it. Returns the server's representation of the defaultStorageClass, and an error, if there is any.

func (*FakeDefaultStorageClasses) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeDefaultStorageClasses) Watch

Watch returns a watch.Interface that watches the requested defaultStorageClasses.

type FakeLicenses

type FakeLicenses struct {
	Fake *FakePlatformV1alpha1
	// contains filtered or unexported fields
}

FakeLicenses implements LicenseInterface

func (*FakeLicenses) Create

func (c *FakeLicenses) Create(ctx context.Context, license *v1alpha1.License, opts v1.CreateOptions) (result *v1alpha1.License, err error)

Create takes the representation of a license and creates it. Returns the server's representation of the license, and an error, if there is any.

func (*FakeLicenses) Delete

func (c *FakeLicenses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the license and deletes it. Returns an error if one occurs.

func (*FakeLicenses) DeleteCollection

func (c *FakeLicenses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeLicenses) Get

func (c *FakeLicenses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.License, err error)

Get takes name of the license, and returns the corresponding license object, and an error if there is any.

func (*FakeLicenses) List

func (c *FakeLicenses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LicenseList, err error)

List takes label and field selectors, and returns the list of Licenses that match those selectors.

func (*FakeLicenses) Patch

func (c *FakeLicenses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.License, err error)

Patch applies the patch and returns the patched license.

func (*FakeLicenses) Update

func (c *FakeLicenses) Update(ctx context.Context, license *v1alpha1.License, opts v1.UpdateOptions) (result *v1alpha1.License, err error)

Update takes the representation of a license and updates it. Returns the server's representation of the license, and an error, if there is any.

func (*FakeLicenses) UpdateStatus

func (c *FakeLicenses) UpdateStatus(ctx context.Context, license *v1alpha1.License, opts v1.UpdateOptions) (*v1alpha1.License, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeLicenses) Watch

func (c *FakeLicenses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested licenses.

type FakeLogFilters

type FakeLogFilters struct {
	Fake *FakePlatformV1alpha1
	// contains filtered or unexported fields
}

FakeLogFilters implements LogFilterInterface

func (*FakeLogFilters) Create

func (c *FakeLogFilters) Create(ctx context.Context, logFilter *v1alpha1.LogFilter, opts v1.CreateOptions) (result *v1alpha1.LogFilter, err error)

Create takes the representation of a logFilter and creates it. Returns the server's representation of the logFilter, and an error, if there is any.

func (*FakeLogFilters) Delete

func (c *FakeLogFilters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the logFilter and deletes it. Returns an error if one occurs.

func (*FakeLogFilters) DeleteCollection

func (c *FakeLogFilters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeLogFilters) Get

func (c *FakeLogFilters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LogFilter, err error)

Get takes name of the logFilter, and returns the corresponding logFilter object, and an error if there is any.

func (*FakeLogFilters) List

func (c *FakeLogFilters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LogFilterList, err error)

List takes label and field selectors, and returns the list of LogFilters that match those selectors.

func (*FakeLogFilters) Patch

func (c *FakeLogFilters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.LogFilter, err error)

Patch applies the patch and returns the patched logFilter.

func (*FakeLogFilters) Update

func (c *FakeLogFilters) Update(ctx context.Context, logFilter *v1alpha1.LogFilter, opts v1.UpdateOptions) (result *v1alpha1.LogFilter, err error)

Update takes the representation of a logFilter and updates it. Returns the server's representation of the logFilter, and an error, if there is any.

func (*FakeLogFilters) UpdateStatus

func (c *FakeLogFilters) UpdateStatus(ctx context.Context, logFilter *v1alpha1.LogFilter, opts v1.UpdateOptions) (*v1alpha1.LogFilter, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeLogFilters) Watch

Watch returns a watch.Interface that watches the requested logFilters.

type FakeLogTails

type FakeLogTails struct {
	Fake *FakePlatformV1alpha1
	// contains filtered or unexported fields
}

FakeLogTails implements LogTailInterface

func (*FakeLogTails) Create

func (c *FakeLogTails) Create(ctx context.Context, logTail *v1alpha1.LogTail, opts v1.CreateOptions) (result *v1alpha1.LogTail, err error)

Create takes the representation of a logTail and creates it. Returns the server's representation of the logTail, and an error, if there is any.

func (*FakeLogTails) Delete

func (c *FakeLogTails) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the logTail and deletes it. Returns an error if one occurs.

func (*FakeLogTails) DeleteCollection

func (c *FakeLogTails) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeLogTails) Get

func (c *FakeLogTails) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LogTail, err error)

Get takes name of the logTail, and returns the corresponding logTail object, and an error if there is any.

func (*FakeLogTails) List

func (c *FakeLogTails) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LogTailList, err error)

List takes label and field selectors, and returns the list of LogTails that match those selectors.

func (*FakeLogTails) Patch

func (c *FakeLogTails) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.LogTail, err error)

Patch applies the patch and returns the patched logTail.

func (*FakeLogTails) Update

func (c *FakeLogTails) Update(ctx context.Context, logTail *v1alpha1.LogTail, opts v1.UpdateOptions) (result *v1alpha1.LogTail, err error)

Update takes the representation of a logTail and updates it. Returns the server's representation of the logTail, and an error, if there is any.

func (*FakeLogTails) UpdateStatus

func (c *FakeLogTails) UpdateStatus(ctx context.Context, logTail *v1alpha1.LogTail, opts v1.UpdateOptions) (*v1alpha1.LogTail, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeLogTails) Watch

func (c *FakeLogTails) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested logTails.

type FakePlatformV1alpha1

type FakePlatformV1alpha1 struct {
	*testing.Fake
}

func (*FakePlatformV1alpha1) ConfigurationOverlays

func (c *FakePlatformV1alpha1) ConfigurationOverlays(namespace string) v1alpha1.ConfigurationOverlayInterface

func (*FakePlatformV1alpha1) Dashboards

func (c *FakePlatformV1alpha1) Dashboards(namespace string) v1alpha1.DashboardInterface

func (*FakePlatformV1alpha1) DefaultStorageClasses

func (c *FakePlatformV1alpha1) DefaultStorageClasses(namespace string) v1alpha1.DefaultStorageClassInterface

func (*FakePlatformV1alpha1) Licenses

func (c *FakePlatformV1alpha1) Licenses(namespace string) v1alpha1.LicenseInterface

func (*FakePlatformV1alpha1) LogFilters

func (c *FakePlatformV1alpha1) LogFilters(namespace string) v1alpha1.LogFilterInterface

func (*FakePlatformV1alpha1) LogTails

func (c *FakePlatformV1alpha1) LogTails(namespace string) v1alpha1.LogTailInterface

func (*FakePlatformV1alpha1) Proxies

func (c *FakePlatformV1alpha1) Proxies(namespace string) v1alpha1.ProxyInterface

func (*FakePlatformV1alpha1) RESTClient

func (c *FakePlatformV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakePlatformV1alpha1) RegistryCredentials

func (c *FakePlatformV1alpha1) RegistryCredentials(namespace string) v1alpha1.RegistryCredentialInterface

func (*FakePlatformV1alpha1) ResourceGroups

func (c *FakePlatformV1alpha1) ResourceGroups(namespace string) v1alpha1.ResourceGroupInterface

func (*FakePlatformV1alpha1) Runbooks

func (c *FakePlatformV1alpha1) Runbooks(namespace string) v1alpha1.RunbookInterface

func (*FakePlatformV1alpha1) SecretSyncs

func (c *FakePlatformV1alpha1) SecretSyncs(namespace string) v1alpha1.SecretSyncInterface

func (*FakePlatformV1alpha1) SlashCommands

func (c *FakePlatformV1alpha1) SlashCommands(namespace string) v1alpha1.SlashCommandInterface

func (*FakePlatformV1alpha1) StatefulSetResizes

func (c *FakePlatformV1alpha1) StatefulSetResizes(namespace string) v1alpha1.StatefulSetResizeInterface

type FakeProxies

type FakeProxies struct {
	Fake *FakePlatformV1alpha1
	// contains filtered or unexported fields
}

FakeProxies implements ProxyInterface

func (*FakeProxies) Create

func (c *FakeProxies) Create(ctx context.Context, proxy *v1alpha1.Proxy, opts v1.CreateOptions) (result *v1alpha1.Proxy, err error)

Create takes the representation of a proxy and creates it. Returns the server's representation of the proxy, and an error, if there is any.

func (*FakeProxies) Delete

func (c *FakeProxies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the proxy and deletes it. Returns an error if one occurs.

func (*FakeProxies) DeleteCollection

func (c *FakeProxies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeProxies) Get

func (c *FakeProxies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Proxy, err error)

Get takes name of the proxy, and returns the corresponding proxy object, and an error if there is any.

func (*FakeProxies) List

func (c *FakeProxies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ProxyList, err error)

List takes label and field selectors, and returns the list of Proxies that match those selectors.

func (*FakeProxies) Patch

func (c *FakeProxies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Proxy, err error)

Patch applies the patch and returns the patched proxy.

func (*FakeProxies) Update

func (c *FakeProxies) Update(ctx context.Context, proxy *v1alpha1.Proxy, opts v1.UpdateOptions) (result *v1alpha1.Proxy, err error)

Update takes the representation of a proxy and updates it. Returns the server's representation of the proxy, and an error, if there is any.

func (*FakeProxies) UpdateStatus

func (c *FakeProxies) UpdateStatus(ctx context.Context, proxy *v1alpha1.Proxy, opts v1.UpdateOptions) (*v1alpha1.Proxy, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeProxies) Watch

func (c *FakeProxies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested proxies.

type FakeRegistryCredentials

type FakeRegistryCredentials struct {
	Fake *FakePlatformV1alpha1
	// contains filtered or unexported fields
}

FakeRegistryCredentials implements RegistryCredentialInterface

func (*FakeRegistryCredentials) Create

func (c *FakeRegistryCredentials) Create(ctx context.Context, registryCredential *v1alpha1.RegistryCredential, opts v1.CreateOptions) (result *v1alpha1.RegistryCredential, err error)

Create takes the representation of a registryCredential and creates it. Returns the server's representation of the registryCredential, and an error, if there is any.

func (*FakeRegistryCredentials) Delete

func (c *FakeRegistryCredentials) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the registryCredential and deletes it. Returns an error if one occurs.

func (*FakeRegistryCredentials) DeleteCollection

func (c *FakeRegistryCredentials) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeRegistryCredentials) Get

func (c *FakeRegistryCredentials) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RegistryCredential, err error)

Get takes name of the registryCredential, and returns the corresponding registryCredential object, and an error if there is any.

func (*FakeRegistryCredentials) List

List takes label and field selectors, and returns the list of RegistryCredentials that match those selectors.

func (*FakeRegistryCredentials) Patch

func (c *FakeRegistryCredentials) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.RegistryCredential, err error)

Patch applies the patch and returns the patched registryCredential.

func (*FakeRegistryCredentials) Update

func (c *FakeRegistryCredentials) Update(ctx context.Context, registryCredential *v1alpha1.RegistryCredential, opts v1.UpdateOptions) (result *v1alpha1.RegistryCredential, err error)

Update takes the representation of a registryCredential and updates it. Returns the server's representation of the registryCredential, and an error, if there is any.

func (*FakeRegistryCredentials) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeRegistryCredentials) Watch

Watch returns a watch.Interface that watches the requested registryCredentials.

type FakeResourceGroups

type FakeResourceGroups struct {
	Fake *FakePlatformV1alpha1
	// contains filtered or unexported fields
}

FakeResourceGroups implements ResourceGroupInterface

func (*FakeResourceGroups) Create

func (c *FakeResourceGroups) Create(ctx context.Context, resourceGroup *v1alpha1.ResourceGroup, opts v1.CreateOptions) (result *v1alpha1.ResourceGroup, err error)

Create takes the representation of a resourceGroup and creates it. Returns the server's representation of the resourceGroup, and an error, if there is any.

func (*FakeResourceGroups) Delete

func (c *FakeResourceGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the resourceGroup and deletes it. Returns an error if one occurs.

func (*FakeResourceGroups) DeleteCollection

func (c *FakeResourceGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeResourceGroups) Get

func (c *FakeResourceGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceGroup, err error)

Get takes name of the resourceGroup, and returns the corresponding resourceGroup object, and an error if there is any.

func (*FakeResourceGroups) List

func (c *FakeResourceGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourceGroupList, err error)

List takes label and field selectors, and returns the list of ResourceGroups that match those selectors.

func (*FakeResourceGroups) Patch

func (c *FakeResourceGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ResourceGroup, err error)

Patch applies the patch and returns the patched resourceGroup.

func (*FakeResourceGroups) Update

func (c *FakeResourceGroups) Update(ctx context.Context, resourceGroup *v1alpha1.ResourceGroup, opts v1.UpdateOptions) (result *v1alpha1.ResourceGroup, err error)

Update takes the representation of a resourceGroup and updates it. Returns the server's representation of the resourceGroup, and an error, if there is any.

func (*FakeResourceGroups) UpdateStatus

func (c *FakeResourceGroups) UpdateStatus(ctx context.Context, resourceGroup *v1alpha1.ResourceGroup, opts v1.UpdateOptions) (*v1alpha1.ResourceGroup, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeResourceGroups) Watch

Watch returns a watch.Interface that watches the requested resourceGroups.

type FakeRunbooks

type FakeRunbooks struct {
	Fake *FakePlatformV1alpha1
	// contains filtered or unexported fields
}

FakeRunbooks implements RunbookInterface

func (*FakeRunbooks) Create

func (c *FakeRunbooks) Create(ctx context.Context, runbook *v1alpha1.Runbook, opts v1.CreateOptions) (result *v1alpha1.Runbook, err error)

Create takes the representation of a runbook and creates it. Returns the server's representation of the runbook, and an error, if there is any.

func (*FakeRunbooks) Delete

func (c *FakeRunbooks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the runbook and deletes it. Returns an error if one occurs.

func (*FakeRunbooks) DeleteCollection

func (c *FakeRunbooks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeRunbooks) Get

func (c *FakeRunbooks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Runbook, err error)

Get takes name of the runbook, and returns the corresponding runbook object, and an error if there is any.

func (*FakeRunbooks) List

func (c *FakeRunbooks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RunbookList, err error)

List takes label and field selectors, and returns the list of Runbooks that match those selectors.

func (*FakeRunbooks) Patch

func (c *FakeRunbooks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Runbook, err error)

Patch applies the patch and returns the patched runbook.

func (*FakeRunbooks) Update

func (c *FakeRunbooks) Update(ctx context.Context, runbook *v1alpha1.Runbook, opts v1.UpdateOptions) (result *v1alpha1.Runbook, err error)

Update takes the representation of a runbook and updates it. Returns the server's representation of the runbook, and an error, if there is any.

func (*FakeRunbooks) UpdateStatus

func (c *FakeRunbooks) UpdateStatus(ctx context.Context, runbook *v1alpha1.Runbook, opts v1.UpdateOptions) (*v1alpha1.Runbook, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeRunbooks) Watch

func (c *FakeRunbooks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested runbooks.

type FakeSecretSyncs

type FakeSecretSyncs struct {
	Fake *FakePlatformV1alpha1
	// contains filtered or unexported fields
}

FakeSecretSyncs implements SecretSyncInterface

func (*FakeSecretSyncs) Create

func (c *FakeSecretSyncs) Create(ctx context.Context, secretSync *v1alpha1.SecretSync, opts v1.CreateOptions) (result *v1alpha1.SecretSync, err error)

Create takes the representation of a secretSync and creates it. Returns the server's representation of the secretSync, and an error, if there is any.

func (*FakeSecretSyncs) Delete

func (c *FakeSecretSyncs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the secretSync and deletes it. Returns an error if one occurs.

func (*FakeSecretSyncs) DeleteCollection

func (c *FakeSecretSyncs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSecretSyncs) Get

func (c *FakeSecretSyncs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SecretSync, err error)

Get takes name of the secretSync, and returns the corresponding secretSync object, and an error if there is any.

func (*FakeSecretSyncs) List

func (c *FakeSecretSyncs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SecretSyncList, err error)

List takes label and field selectors, and returns the list of SecretSyncs that match those selectors.

func (*FakeSecretSyncs) Patch

func (c *FakeSecretSyncs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.SecretSync, err error)

Patch applies the patch and returns the patched secretSync.

func (*FakeSecretSyncs) Update

func (c *FakeSecretSyncs) Update(ctx context.Context, secretSync *v1alpha1.SecretSync, opts v1.UpdateOptions) (result *v1alpha1.SecretSync, err error)

Update takes the representation of a secretSync and updates it. Returns the server's representation of the secretSync, and an error, if there is any.

func (*FakeSecretSyncs) UpdateStatus

func (c *FakeSecretSyncs) UpdateStatus(ctx context.Context, secretSync *v1alpha1.SecretSync, opts v1.UpdateOptions) (*v1alpha1.SecretSync, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeSecretSyncs) Watch

Watch returns a watch.Interface that watches the requested secretSyncs.

type FakeSlashCommands

type FakeSlashCommands struct {
	Fake *FakePlatformV1alpha1
	// contains filtered or unexported fields
}

FakeSlashCommands implements SlashCommandInterface

func (*FakeSlashCommands) Create

func (c *FakeSlashCommands) Create(ctx context.Context, slashCommand *v1alpha1.SlashCommand, opts v1.CreateOptions) (result *v1alpha1.SlashCommand, err error)

Create takes the representation of a slashCommand and creates it. Returns the server's representation of the slashCommand, and an error, if there is any.

func (*FakeSlashCommands) Delete

func (c *FakeSlashCommands) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the slashCommand and deletes it. Returns an error if one occurs.

func (*FakeSlashCommands) DeleteCollection

func (c *FakeSlashCommands) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSlashCommands) Get

func (c *FakeSlashCommands) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SlashCommand, err error)

Get takes name of the slashCommand, and returns the corresponding slashCommand object, and an error if there is any.

func (*FakeSlashCommands) List

func (c *FakeSlashCommands) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SlashCommandList, err error)

List takes label and field selectors, and returns the list of SlashCommands that match those selectors.

func (*FakeSlashCommands) Patch

func (c *FakeSlashCommands) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.SlashCommand, err error)

Patch applies the patch and returns the patched slashCommand.

func (*FakeSlashCommands) Update

func (c *FakeSlashCommands) Update(ctx context.Context, slashCommand *v1alpha1.SlashCommand, opts v1.UpdateOptions) (result *v1alpha1.SlashCommand, err error)

Update takes the representation of a slashCommand and updates it. Returns the server's representation of the slashCommand, and an error, if there is any.

func (*FakeSlashCommands) UpdateStatus

func (c *FakeSlashCommands) UpdateStatus(ctx context.Context, slashCommand *v1alpha1.SlashCommand, opts v1.UpdateOptions) (*v1alpha1.SlashCommand, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeSlashCommands) Watch

Watch returns a watch.Interface that watches the requested slashCommands.

type FakeStatefulSetResizes

type FakeStatefulSetResizes struct {
	Fake *FakePlatformV1alpha1
	// contains filtered or unexported fields
}

FakeStatefulSetResizes implements StatefulSetResizeInterface

func (*FakeStatefulSetResizes) Create

func (c *FakeStatefulSetResizes) Create(ctx context.Context, statefulSetResize *v1alpha1.StatefulSetResize, opts v1.CreateOptions) (result *v1alpha1.StatefulSetResize, err error)

Create takes the representation of a statefulSetResize and creates it. Returns the server's representation of the statefulSetResize, and an error, if there is any.

func (*FakeStatefulSetResizes) Delete

func (c *FakeStatefulSetResizes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the statefulSetResize and deletes it. Returns an error if one occurs.

func (*FakeStatefulSetResizes) DeleteCollection

func (c *FakeStatefulSetResizes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeStatefulSetResizes) Get

func (c *FakeStatefulSetResizes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.StatefulSetResize, err error)

Get takes name of the statefulSetResize, and returns the corresponding statefulSetResize object, and an error if there is any.

func (*FakeStatefulSetResizes) List

List takes label and field selectors, and returns the list of StatefulSetResizes that match those selectors.

func (*FakeStatefulSetResizes) Patch

func (c *FakeStatefulSetResizes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.StatefulSetResize, err error)

Patch applies the patch and returns the patched statefulSetResize.

func (*FakeStatefulSetResizes) Update

func (c *FakeStatefulSetResizes) Update(ctx context.Context, statefulSetResize *v1alpha1.StatefulSetResize, opts v1.UpdateOptions) (result *v1alpha1.StatefulSetResize, err error)

Update takes the representation of a statefulSetResize and updates it. Returns the server's representation of the statefulSetResize, and an error, if there is any.

func (*FakeStatefulSetResizes) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeStatefulSetResizes) Watch

Watch returns a watch.Interface that watches the requested statefulSetResizes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL