fake

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 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 FakeClusterCustomerManagedKeys

type FakeClusterCustomerManagedKeys struct {
	Fake *FakeLoganalyticsV1alpha1
	// contains filtered or unexported fields
}

FakeClusterCustomerManagedKeys implements ClusterCustomerManagedKeyInterface

func (*FakeClusterCustomerManagedKeys) Create

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

func (*FakeClusterCustomerManagedKeys) Delete

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

func (*FakeClusterCustomerManagedKeys) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterCustomerManagedKeys) Get

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

func (*FakeClusterCustomerManagedKeys) List

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

func (*FakeClusterCustomerManagedKeys) Patch

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

Patch applies the patch and returns the patched clusterCustomerManagedKey.

func (*FakeClusterCustomerManagedKeys) Update

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

func (*FakeClusterCustomerManagedKeys) UpdateStatus

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

func (*FakeClusterCustomerManagedKeys) Watch

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

type FakeClusters

type FakeClusters struct {
	Fake *FakeLoganalyticsV1alpha1
	// contains filtered or unexported fields
}

FakeClusters implements ClusterInterface

func (*FakeClusters) Create

func (c *FakeClusters) Create(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.CreateOptions) (result *v1alpha1.Cluster, err error)

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

func (*FakeClusters) Delete

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

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

func (*FakeClusters) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusters) Get

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

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

func (*FakeClusters) List

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

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

func (*FakeClusters) Patch

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

Patch applies the patch and returns the patched cluster.

func (*FakeClusters) Update

func (c *FakeClusters) Update(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.UpdateOptions) (result *v1alpha1.Cluster, err error)

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

func (*FakeClusters) UpdateStatus

func (c *FakeClusters) UpdateStatus(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.UpdateOptions) (*v1alpha1.Cluster, error)

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

func (*FakeClusters) Watch

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

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

type FakeDataExportRules

type FakeDataExportRules struct {
	Fake *FakeLoganalyticsV1alpha1
	// contains filtered or unexported fields
}

FakeDataExportRules implements DataExportRuleInterface

func (*FakeDataExportRules) Create

func (c *FakeDataExportRules) Create(ctx context.Context, dataExportRule *v1alpha1.DataExportRule, opts v1.CreateOptions) (result *v1alpha1.DataExportRule, err error)

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

func (*FakeDataExportRules) Delete

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

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

func (*FakeDataExportRules) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDataExportRules) Get

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

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

func (*FakeDataExportRules) List

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

func (*FakeDataExportRules) Patch

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

Patch applies the patch and returns the patched dataExportRule.

func (*FakeDataExportRules) Update

func (c *FakeDataExportRules) Update(ctx context.Context, dataExportRule *v1alpha1.DataExportRule, opts v1.UpdateOptions) (result *v1alpha1.DataExportRule, err error)

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

func (*FakeDataExportRules) UpdateStatus

func (c *FakeDataExportRules) UpdateStatus(ctx context.Context, dataExportRule *v1alpha1.DataExportRule, opts v1.UpdateOptions) (*v1alpha1.DataExportRule, error)

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

func (*FakeDataExportRules) Watch

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

type FakeDatasourceWindowsEvents

type FakeDatasourceWindowsEvents struct {
	Fake *FakeLoganalyticsV1alpha1
	// contains filtered or unexported fields
}

FakeDatasourceWindowsEvents implements DatasourceWindowsEventInterface

func (*FakeDatasourceWindowsEvents) Create

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

func (*FakeDatasourceWindowsEvents) Delete

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

func (*FakeDatasourceWindowsEvents) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDatasourceWindowsEvents) Get

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

func (*FakeDatasourceWindowsEvents) List

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

func (*FakeDatasourceWindowsEvents) Patch

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

Patch applies the patch and returns the patched datasourceWindowsEvent.

func (*FakeDatasourceWindowsEvents) Update

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

func (*FakeDatasourceWindowsEvents) UpdateStatus

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

func (*FakeDatasourceWindowsEvents) Watch

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

type FakeDatasourceWindowsPerformanceCounters

type FakeDatasourceWindowsPerformanceCounters struct {
	Fake *FakeLoganalyticsV1alpha1
	// contains filtered or unexported fields
}

FakeDatasourceWindowsPerformanceCounters implements DatasourceWindowsPerformanceCounterInterface

func (*FakeDatasourceWindowsPerformanceCounters) Create

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

func (*FakeDatasourceWindowsPerformanceCounters) Delete

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

func (*FakeDatasourceWindowsPerformanceCounters) DeleteCollection

DeleteCollection deletes a collection of objects.

func (*FakeDatasourceWindowsPerformanceCounters) Get

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

func (*FakeDatasourceWindowsPerformanceCounters) List

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

func (*FakeDatasourceWindowsPerformanceCounters) Patch

Patch applies the patch and returns the patched datasourceWindowsPerformanceCounter.

func (*FakeDatasourceWindowsPerformanceCounters) Update

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

func (*FakeDatasourceWindowsPerformanceCounters) UpdateStatus

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

func (*FakeDatasourceWindowsPerformanceCounters) Watch

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

type FakeLinkedServices

type FakeLinkedServices struct {
	Fake *FakeLoganalyticsV1alpha1
	// contains filtered or unexported fields
}

FakeLinkedServices implements LinkedServiceInterface

func (*FakeLinkedServices) Create

func (c *FakeLinkedServices) Create(ctx context.Context, linkedService *v1alpha1.LinkedService, opts v1.CreateOptions) (result *v1alpha1.LinkedService, err error)

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

func (*FakeLinkedServices) Delete

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

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

func (*FakeLinkedServices) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeLinkedServices) Get

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

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

func (*FakeLinkedServices) List

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

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

func (*FakeLinkedServices) Patch

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

Patch applies the patch and returns the patched linkedService.

func (*FakeLinkedServices) Update

func (c *FakeLinkedServices) Update(ctx context.Context, linkedService *v1alpha1.LinkedService, opts v1.UpdateOptions) (result *v1alpha1.LinkedService, err error)

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

func (*FakeLinkedServices) UpdateStatus

func (c *FakeLinkedServices) UpdateStatus(ctx context.Context, linkedService *v1alpha1.LinkedService, opts v1.UpdateOptions) (*v1alpha1.LinkedService, error)

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

func (*FakeLinkedServices) Watch

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

type FakeLinkedStorageAccounts

type FakeLinkedStorageAccounts struct {
	Fake *FakeLoganalyticsV1alpha1
	// contains filtered or unexported fields
}

FakeLinkedStorageAccounts implements LinkedStorageAccountInterface

func (*FakeLinkedStorageAccounts) Create

func (c *FakeLinkedStorageAccounts) Create(ctx context.Context, linkedStorageAccount *v1alpha1.LinkedStorageAccount, opts v1.CreateOptions) (result *v1alpha1.LinkedStorageAccount, err error)

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

func (*FakeLinkedStorageAccounts) Delete

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

func (*FakeLinkedStorageAccounts) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeLinkedStorageAccounts) Get

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

func (*FakeLinkedStorageAccounts) List

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

func (*FakeLinkedStorageAccounts) Patch

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

Patch applies the patch and returns the patched linkedStorageAccount.

func (*FakeLinkedStorageAccounts) Update

func (c *FakeLinkedStorageAccounts) Update(ctx context.Context, linkedStorageAccount *v1alpha1.LinkedStorageAccount, opts v1.UpdateOptions) (result *v1alpha1.LinkedStorageAccount, err error)

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

func (*FakeLinkedStorageAccounts) UpdateStatus

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

func (*FakeLinkedStorageAccounts) Watch

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

type FakeLoganalyticsV1alpha1

type FakeLoganalyticsV1alpha1 struct {
	*testing.Fake
}

func (*FakeLoganalyticsV1alpha1) ClusterCustomerManagedKeys

func (c *FakeLoganalyticsV1alpha1) ClusterCustomerManagedKeys(namespace string) v1alpha1.ClusterCustomerManagedKeyInterface

func (*FakeLoganalyticsV1alpha1) Clusters

func (*FakeLoganalyticsV1alpha1) DataExportRules

func (c *FakeLoganalyticsV1alpha1) DataExportRules(namespace string) v1alpha1.DataExportRuleInterface

func (*FakeLoganalyticsV1alpha1) DatasourceWindowsEvents

func (c *FakeLoganalyticsV1alpha1) DatasourceWindowsEvents(namespace string) v1alpha1.DatasourceWindowsEventInterface

func (*FakeLoganalyticsV1alpha1) DatasourceWindowsPerformanceCounters

func (c *FakeLoganalyticsV1alpha1) DatasourceWindowsPerformanceCounters(namespace string) v1alpha1.DatasourceWindowsPerformanceCounterInterface

func (*FakeLoganalyticsV1alpha1) LinkedServices

func (c *FakeLoganalyticsV1alpha1) LinkedServices(namespace string) v1alpha1.LinkedServiceInterface

func (*FakeLoganalyticsV1alpha1) LinkedStorageAccounts

func (c *FakeLoganalyticsV1alpha1) LinkedStorageAccounts(namespace string) v1alpha1.LinkedStorageAccountInterface

func (*FakeLoganalyticsV1alpha1) RESTClient

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

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

func (*FakeLoganalyticsV1alpha1) SavedSearches

func (c *FakeLoganalyticsV1alpha1) SavedSearches(namespace string) v1alpha1.SavedSearchInterface

func (*FakeLoganalyticsV1alpha1) Solutions

func (*FakeLoganalyticsV1alpha1) StorageInsightses

func (c *FakeLoganalyticsV1alpha1) StorageInsightses(namespace string) v1alpha1.StorageInsightsInterface

func (*FakeLoganalyticsV1alpha1) Workspaces

type FakeSavedSearches

type FakeSavedSearches struct {
	Fake *FakeLoganalyticsV1alpha1
	// contains filtered or unexported fields
}

FakeSavedSearches implements SavedSearchInterface

func (*FakeSavedSearches) Create

func (c *FakeSavedSearches) Create(ctx context.Context, savedSearch *v1alpha1.SavedSearch, opts v1.CreateOptions) (result *v1alpha1.SavedSearch, err error)

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

func (*FakeSavedSearches) Delete

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

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

func (*FakeSavedSearches) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSavedSearches) Get

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

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

func (*FakeSavedSearches) List

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

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

func (*FakeSavedSearches) Patch

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

Patch applies the patch and returns the patched savedSearch.

func (*FakeSavedSearches) Update

func (c *FakeSavedSearches) Update(ctx context.Context, savedSearch *v1alpha1.SavedSearch, opts v1.UpdateOptions) (result *v1alpha1.SavedSearch, err error)

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

func (*FakeSavedSearches) UpdateStatus

func (c *FakeSavedSearches) UpdateStatus(ctx context.Context, savedSearch *v1alpha1.SavedSearch, opts v1.UpdateOptions) (*v1alpha1.SavedSearch, error)

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

func (*FakeSavedSearches) Watch

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

type FakeSolutions

type FakeSolutions struct {
	Fake *FakeLoganalyticsV1alpha1
	// contains filtered or unexported fields
}

FakeSolutions implements SolutionInterface

func (*FakeSolutions) Create

func (c *FakeSolutions) Create(ctx context.Context, solution *v1alpha1.Solution, opts v1.CreateOptions) (result *v1alpha1.Solution, err error)

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

func (*FakeSolutions) Delete

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

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

func (*FakeSolutions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSolutions) Get

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

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

func (*FakeSolutions) List

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

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

func (*FakeSolutions) Patch

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

Patch applies the patch and returns the patched solution.

func (*FakeSolutions) Update

func (c *FakeSolutions) Update(ctx context.Context, solution *v1alpha1.Solution, opts v1.UpdateOptions) (result *v1alpha1.Solution, err error)

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

func (*FakeSolutions) UpdateStatus

func (c *FakeSolutions) UpdateStatus(ctx context.Context, solution *v1alpha1.Solution, opts v1.UpdateOptions) (*v1alpha1.Solution, error)

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

func (*FakeSolutions) Watch

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

type FakeStorageInsightses

type FakeStorageInsightses struct {
	Fake *FakeLoganalyticsV1alpha1
	// contains filtered or unexported fields
}

FakeStorageInsightses implements StorageInsightsInterface

func (*FakeStorageInsightses) Create

func (c *FakeStorageInsightses) Create(ctx context.Context, storageInsights *v1alpha1.StorageInsights, opts v1.CreateOptions) (result *v1alpha1.StorageInsights, err error)

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

func (*FakeStorageInsightses) Delete

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

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

func (*FakeStorageInsightses) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeStorageInsightses) Get

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

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

func (*FakeStorageInsightses) List

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

func (*FakeStorageInsightses) Patch

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

Patch applies the patch and returns the patched storageInsights.

func (*FakeStorageInsightses) Update

func (c *FakeStorageInsightses) Update(ctx context.Context, storageInsights *v1alpha1.StorageInsights, opts v1.UpdateOptions) (result *v1alpha1.StorageInsights, err error)

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

func (*FakeStorageInsightses) UpdateStatus

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

func (*FakeStorageInsightses) Watch

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

type FakeWorkspaces

type FakeWorkspaces struct {
	Fake *FakeLoganalyticsV1alpha1
	// contains filtered or unexported fields
}

FakeWorkspaces implements WorkspaceInterface

func (*FakeWorkspaces) Create

func (c *FakeWorkspaces) Create(ctx context.Context, workspace *v1alpha1.Workspace, opts v1.CreateOptions) (result *v1alpha1.Workspace, err error)

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

func (*FakeWorkspaces) Delete

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

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

func (*FakeWorkspaces) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeWorkspaces) Get

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

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

func (*FakeWorkspaces) List

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

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

func (*FakeWorkspaces) Patch

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

Patch applies the patch and returns the patched workspace.

func (*FakeWorkspaces) Update

func (c *FakeWorkspaces) Update(ctx context.Context, workspace *v1alpha1.Workspace, opts v1.UpdateOptions) (result *v1alpha1.Workspace, err error)

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

func (*FakeWorkspaces) UpdateStatus

func (c *FakeWorkspaces) UpdateStatus(ctx context.Context, workspace *v1alpha1.Workspace, opts v1.UpdateOptions) (*v1alpha1.Workspace, error)

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

func (*FakeWorkspaces) Watch

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

Jump to

Keyboard shortcuts

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