fake

package
v1.72.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 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 FakeMonitoringAlertPolicies

type FakeMonitoringAlertPolicies struct {
	Fake *FakeMonitoringV1beta1
	// contains filtered or unexported fields
}

FakeMonitoringAlertPolicies implements MonitoringAlertPolicyInterface

func (*FakeMonitoringAlertPolicies) Create

func (c *FakeMonitoringAlertPolicies) Create(ctx context.Context, monitoringAlertPolicy *v1beta1.MonitoringAlertPolicy, opts v1.CreateOptions) (result *v1beta1.MonitoringAlertPolicy, err error)

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

func (*FakeMonitoringAlertPolicies) Delete

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

func (*FakeMonitoringAlertPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMonitoringAlertPolicies) Get

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

func (*FakeMonitoringAlertPolicies) List

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

func (*FakeMonitoringAlertPolicies) Patch

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

Patch applies the patch and returns the patched monitoringAlertPolicy.

func (*FakeMonitoringAlertPolicies) Update

func (c *FakeMonitoringAlertPolicies) Update(ctx context.Context, monitoringAlertPolicy *v1beta1.MonitoringAlertPolicy, opts v1.UpdateOptions) (result *v1beta1.MonitoringAlertPolicy, err error)

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

func (*FakeMonitoringAlertPolicies) UpdateStatus

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

func (*FakeMonitoringAlertPolicies) Watch

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

type FakeMonitoringDashboards added in v1.54.0

type FakeMonitoringDashboards struct {
	Fake *FakeMonitoringV1beta1
	// contains filtered or unexported fields
}

FakeMonitoringDashboards implements MonitoringDashboardInterface

func (*FakeMonitoringDashboards) Create added in v1.54.0

func (c *FakeMonitoringDashboards) Create(ctx context.Context, monitoringDashboard *v1beta1.MonitoringDashboard, opts v1.CreateOptions) (result *v1beta1.MonitoringDashboard, err error)

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

func (*FakeMonitoringDashboards) Delete added in v1.54.0

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

func (*FakeMonitoringDashboards) DeleteCollection added in v1.54.0

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

DeleteCollection deletes a collection of objects.

func (*FakeMonitoringDashboards) Get added in v1.54.0

func (c *FakeMonitoringDashboards) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.MonitoringDashboard, err error)

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

func (*FakeMonitoringDashboards) List added in v1.54.0

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

func (*FakeMonitoringDashboards) Patch added in v1.54.0

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

Patch applies the patch and returns the patched monitoringDashboard.

func (*FakeMonitoringDashboards) Update added in v1.54.0

func (c *FakeMonitoringDashboards) Update(ctx context.Context, monitoringDashboard *v1beta1.MonitoringDashboard, opts v1.UpdateOptions) (result *v1beta1.MonitoringDashboard, err error)

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

func (*FakeMonitoringDashboards) UpdateStatus added in v1.54.0

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

func (*FakeMonitoringDashboards) Watch added in v1.54.0

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

type FakeMonitoringGroups

type FakeMonitoringGroups struct {
	Fake *FakeMonitoringV1beta1
	// contains filtered or unexported fields
}

FakeMonitoringGroups implements MonitoringGroupInterface

func (*FakeMonitoringGroups) Create

func (c *FakeMonitoringGroups) Create(ctx context.Context, monitoringGroup *v1beta1.MonitoringGroup, opts v1.CreateOptions) (result *v1beta1.MonitoringGroup, err error)

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

func (*FakeMonitoringGroups) Delete

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

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

func (*FakeMonitoringGroups) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMonitoringGroups) Get

func (c *FakeMonitoringGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.MonitoringGroup, err error)

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

func (*FakeMonitoringGroups) List

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

func (*FakeMonitoringGroups) Patch

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

Patch applies the patch and returns the patched monitoringGroup.

func (*FakeMonitoringGroups) Update

func (c *FakeMonitoringGroups) Update(ctx context.Context, monitoringGroup *v1beta1.MonitoringGroup, opts v1.UpdateOptions) (result *v1beta1.MonitoringGroup, err error)

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

func (*FakeMonitoringGroups) UpdateStatus

func (c *FakeMonitoringGroups) UpdateStatus(ctx context.Context, monitoringGroup *v1beta1.MonitoringGroup, opts v1.UpdateOptions) (*v1beta1.MonitoringGroup, error)

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

func (*FakeMonitoringGroups) Watch

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

type FakeMonitoringMetricDescriptors added in v1.58.1

type FakeMonitoringMetricDescriptors struct {
	Fake *FakeMonitoringV1beta1
	// contains filtered or unexported fields
}

FakeMonitoringMetricDescriptors implements MonitoringMetricDescriptorInterface

func (*FakeMonitoringMetricDescriptors) Create added in v1.58.1

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

func (*FakeMonitoringMetricDescriptors) Delete added in v1.58.1

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

func (*FakeMonitoringMetricDescriptors) DeleteCollection added in v1.58.1

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

DeleteCollection deletes a collection of objects.

func (*FakeMonitoringMetricDescriptors) Get added in v1.58.1

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

func (*FakeMonitoringMetricDescriptors) List added in v1.58.1

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

func (*FakeMonitoringMetricDescriptors) Patch added in v1.58.1

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

Patch applies the patch and returns the patched monitoringMetricDescriptor.

func (*FakeMonitoringMetricDescriptors) Update added in v1.58.1

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

func (*FakeMonitoringMetricDescriptors) UpdateStatus added in v1.58.1

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

func (*FakeMonitoringMetricDescriptors) Watch added in v1.58.1

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

type FakeMonitoringNotificationChannels

type FakeMonitoringNotificationChannels struct {
	Fake *FakeMonitoringV1beta1
	// contains filtered or unexported fields
}

FakeMonitoringNotificationChannels implements MonitoringNotificationChannelInterface

func (*FakeMonitoringNotificationChannels) Create

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

func (*FakeMonitoringNotificationChannels) Delete

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

func (*FakeMonitoringNotificationChannels) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMonitoringNotificationChannels) Get

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

func (*FakeMonitoringNotificationChannels) List

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

func (*FakeMonitoringNotificationChannels) Patch

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

Patch applies the patch and returns the patched monitoringNotificationChannel.

func (*FakeMonitoringNotificationChannels) Update

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

func (*FakeMonitoringNotificationChannels) UpdateStatus

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

func (*FakeMonitoringNotificationChannels) Watch

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

type FakeMonitoringServiceLevelObjectives added in v1.68.0

type FakeMonitoringServiceLevelObjectives struct {
	Fake *FakeMonitoringV1beta1
	// contains filtered or unexported fields
}

FakeMonitoringServiceLevelObjectives implements MonitoringServiceLevelObjectiveInterface

func (*FakeMonitoringServiceLevelObjectives) Create added in v1.68.0

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

func (*FakeMonitoringServiceLevelObjectives) Delete added in v1.68.0

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

func (*FakeMonitoringServiceLevelObjectives) DeleteCollection added in v1.68.0

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

DeleteCollection deletes a collection of objects.

func (*FakeMonitoringServiceLevelObjectives) Get added in v1.68.0

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

func (*FakeMonitoringServiceLevelObjectives) List added in v1.68.0

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

func (*FakeMonitoringServiceLevelObjectives) Patch added in v1.68.0

Patch applies the patch and returns the patched monitoringServiceLevelObjective.

func (*FakeMonitoringServiceLevelObjectives) Update added in v1.68.0

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

func (*FakeMonitoringServiceLevelObjectives) UpdateStatus added in v1.68.0

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

func (*FakeMonitoringServiceLevelObjectives) Watch added in v1.68.0

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

type FakeMonitoringServices added in v1.68.0

type FakeMonitoringServices struct {
	Fake *FakeMonitoringV1beta1
	// contains filtered or unexported fields
}

FakeMonitoringServices implements MonitoringServiceInterface

func (*FakeMonitoringServices) Create added in v1.68.0

func (c *FakeMonitoringServices) Create(ctx context.Context, monitoringService *v1beta1.MonitoringService, opts v1.CreateOptions) (result *v1beta1.MonitoringService, err error)

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

func (*FakeMonitoringServices) Delete added in v1.68.0

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

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

func (*FakeMonitoringServices) DeleteCollection added in v1.68.0

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

DeleteCollection deletes a collection of objects.

func (*FakeMonitoringServices) Get added in v1.68.0

func (c *FakeMonitoringServices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.MonitoringService, err error)

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

func (*FakeMonitoringServices) List added in v1.68.0

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

func (*FakeMonitoringServices) Patch added in v1.68.0

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

Patch applies the patch and returns the patched monitoringService.

func (*FakeMonitoringServices) Update added in v1.68.0

func (c *FakeMonitoringServices) Update(ctx context.Context, monitoringService *v1beta1.MonitoringService, opts v1.UpdateOptions) (result *v1beta1.MonitoringService, err error)

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

func (*FakeMonitoringServices) UpdateStatus added in v1.68.0

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

func (*FakeMonitoringServices) Watch added in v1.68.0

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

type FakeMonitoringUptimeCheckConfigs added in v1.70.0

type FakeMonitoringUptimeCheckConfigs struct {
	Fake *FakeMonitoringV1beta1
	// contains filtered or unexported fields
}

FakeMonitoringUptimeCheckConfigs implements MonitoringUptimeCheckConfigInterface

func (*FakeMonitoringUptimeCheckConfigs) Create added in v1.70.0

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

func (*FakeMonitoringUptimeCheckConfigs) Delete added in v1.70.0

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

func (*FakeMonitoringUptimeCheckConfigs) DeleteCollection added in v1.70.0

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

DeleteCollection deletes a collection of objects.

func (*FakeMonitoringUptimeCheckConfigs) Get added in v1.70.0

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

func (*FakeMonitoringUptimeCheckConfigs) List added in v1.70.0

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

func (*FakeMonitoringUptimeCheckConfigs) Patch added in v1.70.0

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

Patch applies the patch and returns the patched monitoringUptimeCheckConfig.

func (*FakeMonitoringUptimeCheckConfigs) Update added in v1.70.0

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

func (*FakeMonitoringUptimeCheckConfigs) UpdateStatus added in v1.70.0

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

func (*FakeMonitoringUptimeCheckConfigs) Watch added in v1.70.0

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

type FakeMonitoringV1beta1

type FakeMonitoringV1beta1 struct {
	*testing.Fake
}

func (*FakeMonitoringV1beta1) MonitoringAlertPolicies

func (c *FakeMonitoringV1beta1) MonitoringAlertPolicies(namespace string) v1beta1.MonitoringAlertPolicyInterface

func (*FakeMonitoringV1beta1) MonitoringDashboards added in v1.54.0

func (c *FakeMonitoringV1beta1) MonitoringDashboards(namespace string) v1beta1.MonitoringDashboardInterface

func (*FakeMonitoringV1beta1) MonitoringGroups

func (c *FakeMonitoringV1beta1) MonitoringGroups(namespace string) v1beta1.MonitoringGroupInterface

func (*FakeMonitoringV1beta1) MonitoringMetricDescriptors added in v1.58.1

func (c *FakeMonitoringV1beta1) MonitoringMetricDescriptors(namespace string) v1beta1.MonitoringMetricDescriptorInterface

func (*FakeMonitoringV1beta1) MonitoringNotificationChannels

func (c *FakeMonitoringV1beta1) MonitoringNotificationChannels(namespace string) v1beta1.MonitoringNotificationChannelInterface

func (*FakeMonitoringV1beta1) MonitoringServiceLevelObjectives added in v1.68.0

func (c *FakeMonitoringV1beta1) MonitoringServiceLevelObjectives(namespace string) v1beta1.MonitoringServiceLevelObjectiveInterface

func (*FakeMonitoringV1beta1) MonitoringServices added in v1.68.0

func (c *FakeMonitoringV1beta1) MonitoringServices(namespace string) v1beta1.MonitoringServiceInterface

func (*FakeMonitoringV1beta1) MonitoringUptimeCheckConfigs added in v1.70.0

func (c *FakeMonitoringV1beta1) MonitoringUptimeCheckConfigs(namespace string) v1beta1.MonitoringUptimeCheckConfigInterface

func (*FakeMonitoringV1beta1) RESTClient

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

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

Jump to

Keyboard shortcuts

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