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 FakeAadDiagnosticSettings

type FakeAadDiagnosticSettings struct {
	Fake *FakeMonitorV1alpha1
	// contains filtered or unexported fields
}

FakeAadDiagnosticSettings implements AadDiagnosticSettingInterface

func (*FakeAadDiagnosticSettings) Create

func (c *FakeAadDiagnosticSettings) Create(ctx context.Context, aadDiagnosticSetting *v1alpha1.AadDiagnosticSetting, opts v1.CreateOptions) (result *v1alpha1.AadDiagnosticSetting, err error)

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

func (*FakeAadDiagnosticSettings) Delete

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

func (*FakeAadDiagnosticSettings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAadDiagnosticSettings) Get

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

func (*FakeAadDiagnosticSettings) List

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

func (*FakeAadDiagnosticSettings) Patch

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

Patch applies the patch and returns the patched aadDiagnosticSetting.

func (*FakeAadDiagnosticSettings) Update

func (c *FakeAadDiagnosticSettings) Update(ctx context.Context, aadDiagnosticSetting *v1alpha1.AadDiagnosticSetting, opts v1.UpdateOptions) (result *v1alpha1.AadDiagnosticSetting, err error)

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

func (*FakeAadDiagnosticSettings) UpdateStatus

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

func (*FakeAadDiagnosticSettings) Watch

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

type FakeActionGroups

type FakeActionGroups struct {
	Fake *FakeMonitorV1alpha1
	// contains filtered or unexported fields
}

FakeActionGroups implements ActionGroupInterface

func (*FakeActionGroups) Create

func (c *FakeActionGroups) Create(ctx context.Context, actionGroup *v1alpha1.ActionGroup, opts v1.CreateOptions) (result *v1alpha1.ActionGroup, err error)

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

func (*FakeActionGroups) Delete

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

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

func (*FakeActionGroups) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeActionGroups) Get

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

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

func (*FakeActionGroups) List

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

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

func (*FakeActionGroups) Patch

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

Patch applies the patch and returns the patched actionGroup.

func (*FakeActionGroups) Update

func (c *FakeActionGroups) Update(ctx context.Context, actionGroup *v1alpha1.ActionGroup, opts v1.UpdateOptions) (result *v1alpha1.ActionGroup, err error)

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

func (*FakeActionGroups) UpdateStatus

func (c *FakeActionGroups) UpdateStatus(ctx context.Context, actionGroup *v1alpha1.ActionGroup, opts v1.UpdateOptions) (*v1alpha1.ActionGroup, error)

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

func (*FakeActionGroups) Watch

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

type FakeActionRuleActionGroups

type FakeActionRuleActionGroups struct {
	Fake *FakeMonitorV1alpha1
	// contains filtered or unexported fields
}

FakeActionRuleActionGroups implements ActionRuleActionGroupInterface

func (*FakeActionRuleActionGroups) Create

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

func (*FakeActionRuleActionGroups) Delete

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

func (*FakeActionRuleActionGroups) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeActionRuleActionGroups) Get

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

func (*FakeActionRuleActionGroups) List

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

func (*FakeActionRuleActionGroups) Patch

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

Patch applies the patch and returns the patched actionRuleActionGroup.

func (*FakeActionRuleActionGroups) Update

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

func (*FakeActionRuleActionGroups) UpdateStatus

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

func (*FakeActionRuleActionGroups) Watch

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

type FakeActionRuleSuppressions

type FakeActionRuleSuppressions struct {
	Fake *FakeMonitorV1alpha1
	// contains filtered or unexported fields
}

FakeActionRuleSuppressions implements ActionRuleSuppressionInterface

func (*FakeActionRuleSuppressions) Create

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

func (*FakeActionRuleSuppressions) Delete

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

func (*FakeActionRuleSuppressions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeActionRuleSuppressions) Get

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

func (*FakeActionRuleSuppressions) List

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

func (*FakeActionRuleSuppressions) Patch

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

Patch applies the patch and returns the patched actionRuleSuppression.

func (*FakeActionRuleSuppressions) Update

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

func (*FakeActionRuleSuppressions) UpdateStatus

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

func (*FakeActionRuleSuppressions) Watch

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

type FakeActivityLogAlerts

type FakeActivityLogAlerts struct {
	Fake *FakeMonitorV1alpha1
	// contains filtered or unexported fields
}

FakeActivityLogAlerts implements ActivityLogAlertInterface

func (*FakeActivityLogAlerts) Create

func (c *FakeActivityLogAlerts) Create(ctx context.Context, activityLogAlert *v1alpha1.ActivityLogAlert, opts v1.CreateOptions) (result *v1alpha1.ActivityLogAlert, err error)

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

func (*FakeActivityLogAlerts) Delete

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

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

func (*FakeActivityLogAlerts) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeActivityLogAlerts) Get

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

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

func (*FakeActivityLogAlerts) List

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

func (*FakeActivityLogAlerts) Patch

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

Patch applies the patch and returns the patched activityLogAlert.

func (*FakeActivityLogAlerts) Update

func (c *FakeActivityLogAlerts) Update(ctx context.Context, activityLogAlert *v1alpha1.ActivityLogAlert, opts v1.UpdateOptions) (result *v1alpha1.ActivityLogAlert, err error)

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

func (*FakeActivityLogAlerts) UpdateStatus

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

func (*FakeActivityLogAlerts) Watch

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

type FakeAutoscaleSettings

type FakeAutoscaleSettings struct {
	Fake *FakeMonitorV1alpha1
	// contains filtered or unexported fields
}

FakeAutoscaleSettings implements AutoscaleSettingInterface

func (*FakeAutoscaleSettings) Create

func (c *FakeAutoscaleSettings) Create(ctx context.Context, autoscaleSetting *v1alpha1.AutoscaleSetting, opts v1.CreateOptions) (result *v1alpha1.AutoscaleSetting, err error)

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

func (*FakeAutoscaleSettings) Delete

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

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

func (*FakeAutoscaleSettings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAutoscaleSettings) Get

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

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

func (*FakeAutoscaleSettings) List

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

func (*FakeAutoscaleSettings) Patch

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

Patch applies the patch and returns the patched autoscaleSetting.

func (*FakeAutoscaleSettings) Update

func (c *FakeAutoscaleSettings) Update(ctx context.Context, autoscaleSetting *v1alpha1.AutoscaleSetting, opts v1.UpdateOptions) (result *v1alpha1.AutoscaleSetting, err error)

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

func (*FakeAutoscaleSettings) UpdateStatus

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

func (*FakeAutoscaleSettings) Watch

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

type FakeDiagnosticSettings

type FakeDiagnosticSettings struct {
	Fake *FakeMonitorV1alpha1
	// contains filtered or unexported fields
}

FakeDiagnosticSettings implements DiagnosticSettingInterface

func (*FakeDiagnosticSettings) Create

func (c *FakeDiagnosticSettings) Create(ctx context.Context, diagnosticSetting *v1alpha1.DiagnosticSetting, opts v1.CreateOptions) (result *v1alpha1.DiagnosticSetting, err error)

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

func (*FakeDiagnosticSettings) Delete

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

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

func (*FakeDiagnosticSettings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDiagnosticSettings) Get

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

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

func (*FakeDiagnosticSettings) List

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

func (*FakeDiagnosticSettings) Patch

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

Patch applies the patch and returns the patched diagnosticSetting.

func (*FakeDiagnosticSettings) Update

func (c *FakeDiagnosticSettings) Update(ctx context.Context, diagnosticSetting *v1alpha1.DiagnosticSetting, opts v1.UpdateOptions) (result *v1alpha1.DiagnosticSetting, err error)

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

func (*FakeDiagnosticSettings) UpdateStatus

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

func (*FakeDiagnosticSettings) Watch

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

type FakeLogProfiles

type FakeLogProfiles struct {
	Fake *FakeMonitorV1alpha1
	// contains filtered or unexported fields
}

FakeLogProfiles implements LogProfileInterface

func (*FakeLogProfiles) Create

func (c *FakeLogProfiles) Create(ctx context.Context, logProfile *v1alpha1.LogProfile, opts v1.CreateOptions) (result *v1alpha1.LogProfile, err error)

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

func (*FakeLogProfiles) Delete

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

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

func (*FakeLogProfiles) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeLogProfiles) Get

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

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

func (*FakeLogProfiles) List

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

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

func (*FakeLogProfiles) Patch

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

Patch applies the patch and returns the patched logProfile.

func (*FakeLogProfiles) Update

func (c *FakeLogProfiles) Update(ctx context.Context, logProfile *v1alpha1.LogProfile, opts v1.UpdateOptions) (result *v1alpha1.LogProfile, err error)

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

func (*FakeLogProfiles) UpdateStatus

func (c *FakeLogProfiles) UpdateStatus(ctx context.Context, logProfile *v1alpha1.LogProfile, opts v1.UpdateOptions) (*v1alpha1.LogProfile, error)

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

func (*FakeLogProfiles) Watch

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

type FakeMetricAlerts

type FakeMetricAlerts struct {
	Fake *FakeMonitorV1alpha1
	// contains filtered or unexported fields
}

FakeMetricAlerts implements MetricAlertInterface

func (*FakeMetricAlerts) Create

func (c *FakeMetricAlerts) Create(ctx context.Context, metricAlert *v1alpha1.MetricAlert, opts v1.CreateOptions) (result *v1alpha1.MetricAlert, err error)

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

func (*FakeMetricAlerts) Delete

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

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

func (*FakeMetricAlerts) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMetricAlerts) Get

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

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

func (*FakeMetricAlerts) List

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

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

func (*FakeMetricAlerts) Patch

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

Patch applies the patch and returns the patched metricAlert.

func (*FakeMetricAlerts) Update

func (c *FakeMetricAlerts) Update(ctx context.Context, metricAlert *v1alpha1.MetricAlert, opts v1.UpdateOptions) (result *v1alpha1.MetricAlert, err error)

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

func (*FakeMetricAlerts) UpdateStatus

func (c *FakeMetricAlerts) UpdateStatus(ctx context.Context, metricAlert *v1alpha1.MetricAlert, opts v1.UpdateOptions) (*v1alpha1.MetricAlert, error)

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

func (*FakeMetricAlerts) Watch

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

type FakeMonitorV1alpha1

type FakeMonitorV1alpha1 struct {
	*testing.Fake
}

func (*FakeMonitorV1alpha1) AadDiagnosticSettings

func (c *FakeMonitorV1alpha1) AadDiagnosticSettings(namespace string) v1alpha1.AadDiagnosticSettingInterface

func (*FakeMonitorV1alpha1) ActionGroups

func (c *FakeMonitorV1alpha1) ActionGroups(namespace string) v1alpha1.ActionGroupInterface

func (*FakeMonitorV1alpha1) ActionRuleActionGroups

func (c *FakeMonitorV1alpha1) ActionRuleActionGroups(namespace string) v1alpha1.ActionRuleActionGroupInterface

func (*FakeMonitorV1alpha1) ActionRuleSuppressions

func (c *FakeMonitorV1alpha1) ActionRuleSuppressions(namespace string) v1alpha1.ActionRuleSuppressionInterface

func (*FakeMonitorV1alpha1) ActivityLogAlerts

func (c *FakeMonitorV1alpha1) ActivityLogAlerts(namespace string) v1alpha1.ActivityLogAlertInterface

func (*FakeMonitorV1alpha1) AutoscaleSettings

func (c *FakeMonitorV1alpha1) AutoscaleSettings(namespace string) v1alpha1.AutoscaleSettingInterface

func (*FakeMonitorV1alpha1) DiagnosticSettings

func (c *FakeMonitorV1alpha1) DiagnosticSettings(namespace string) v1alpha1.DiagnosticSettingInterface

func (*FakeMonitorV1alpha1) LogProfiles

func (c *FakeMonitorV1alpha1) LogProfiles(namespace string) v1alpha1.LogProfileInterface

func (*FakeMonitorV1alpha1) MetricAlerts

func (c *FakeMonitorV1alpha1) MetricAlerts(namespace string) v1alpha1.MetricAlertInterface

func (*FakeMonitorV1alpha1) PrivateLinkScopedServices added in v0.5.0

func (c *FakeMonitorV1alpha1) PrivateLinkScopedServices(namespace string) v1alpha1.PrivateLinkScopedServiceInterface

func (*FakeMonitorV1alpha1) PrivateLinkScopes added in v0.5.0

func (c *FakeMonitorV1alpha1) PrivateLinkScopes(namespace string) v1alpha1.PrivateLinkScopeInterface

func (*FakeMonitorV1alpha1) RESTClient

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

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

func (*FakeMonitorV1alpha1) ScheduledQueryRulesAlerts

func (c *FakeMonitorV1alpha1) ScheduledQueryRulesAlerts(namespace string) v1alpha1.ScheduledQueryRulesAlertInterface

func (*FakeMonitorV1alpha1) ScheduledQueryRulesLogs

func (c *FakeMonitorV1alpha1) ScheduledQueryRulesLogs(namespace string) v1alpha1.ScheduledQueryRulesLogInterface

func (*FakeMonitorV1alpha1) SmartDetectorAlertRules

func (c *FakeMonitorV1alpha1) SmartDetectorAlertRules(namespace string) v1alpha1.SmartDetectorAlertRuleInterface

type FakePrivateLinkScopedServices added in v0.5.0

type FakePrivateLinkScopedServices struct {
	Fake *FakeMonitorV1alpha1
	// contains filtered or unexported fields
}

FakePrivateLinkScopedServices implements PrivateLinkScopedServiceInterface

func (*FakePrivateLinkScopedServices) Create added in v0.5.0

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

func (*FakePrivateLinkScopedServices) Delete added in v0.5.0

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

func (*FakePrivateLinkScopedServices) DeleteCollection added in v0.5.0

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

DeleteCollection deletes a collection of objects.

func (*FakePrivateLinkScopedServices) Get added in v0.5.0

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

func (*FakePrivateLinkScopedServices) List added in v0.5.0

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

func (*FakePrivateLinkScopedServices) Patch added in v0.5.0

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

Patch applies the patch and returns the patched privateLinkScopedService.

func (*FakePrivateLinkScopedServices) Update added in v0.5.0

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

func (*FakePrivateLinkScopedServices) UpdateStatus added in v0.5.0

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

func (*FakePrivateLinkScopedServices) Watch added in v0.5.0

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

type FakePrivateLinkScopes added in v0.5.0

type FakePrivateLinkScopes struct {
	Fake *FakeMonitorV1alpha1
	// contains filtered or unexported fields
}

FakePrivateLinkScopes implements PrivateLinkScopeInterface

func (*FakePrivateLinkScopes) Create added in v0.5.0

func (c *FakePrivateLinkScopes) Create(ctx context.Context, privateLinkScope *v1alpha1.PrivateLinkScope, opts v1.CreateOptions) (result *v1alpha1.PrivateLinkScope, err error)

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

func (*FakePrivateLinkScopes) Delete added in v0.5.0

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

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

func (*FakePrivateLinkScopes) DeleteCollection added in v0.5.0

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

DeleteCollection deletes a collection of objects.

func (*FakePrivateLinkScopes) Get added in v0.5.0

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

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

func (*FakePrivateLinkScopes) List added in v0.5.0

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

func (*FakePrivateLinkScopes) Patch added in v0.5.0

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

Patch applies the patch and returns the patched privateLinkScope.

func (*FakePrivateLinkScopes) Update added in v0.5.0

func (c *FakePrivateLinkScopes) Update(ctx context.Context, privateLinkScope *v1alpha1.PrivateLinkScope, opts v1.UpdateOptions) (result *v1alpha1.PrivateLinkScope, err error)

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

func (*FakePrivateLinkScopes) UpdateStatus added in v0.5.0

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

func (*FakePrivateLinkScopes) Watch added in v0.5.0

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

type FakeScheduledQueryRulesAlerts

type FakeScheduledQueryRulesAlerts struct {
	Fake *FakeMonitorV1alpha1
	// contains filtered or unexported fields
}

FakeScheduledQueryRulesAlerts implements ScheduledQueryRulesAlertInterface

func (*FakeScheduledQueryRulesAlerts) Create

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

func (*FakeScheduledQueryRulesAlerts) Delete

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

func (*FakeScheduledQueryRulesAlerts) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeScheduledQueryRulesAlerts) Get

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

func (*FakeScheduledQueryRulesAlerts) List

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

func (*FakeScheduledQueryRulesAlerts) Patch

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

Patch applies the patch and returns the patched scheduledQueryRulesAlert.

func (*FakeScheduledQueryRulesAlerts) Update

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

func (*FakeScheduledQueryRulesAlerts) UpdateStatus

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

func (*FakeScheduledQueryRulesAlerts) Watch

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

type FakeScheduledQueryRulesLogs

type FakeScheduledQueryRulesLogs struct {
	Fake *FakeMonitorV1alpha1
	// contains filtered or unexported fields
}

FakeScheduledQueryRulesLogs implements ScheduledQueryRulesLogInterface

func (*FakeScheduledQueryRulesLogs) Create

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

func (*FakeScheduledQueryRulesLogs) Delete

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

func (*FakeScheduledQueryRulesLogs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeScheduledQueryRulesLogs) Get

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

func (*FakeScheduledQueryRulesLogs) List

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

func (*FakeScheduledQueryRulesLogs) Patch

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

Patch applies the patch and returns the patched scheduledQueryRulesLog.

func (*FakeScheduledQueryRulesLogs) Update

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

func (*FakeScheduledQueryRulesLogs) UpdateStatus

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

func (*FakeScheduledQueryRulesLogs) Watch

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

type FakeSmartDetectorAlertRules

type FakeSmartDetectorAlertRules struct {
	Fake *FakeMonitorV1alpha1
	// contains filtered or unexported fields
}

FakeSmartDetectorAlertRules implements SmartDetectorAlertRuleInterface

func (*FakeSmartDetectorAlertRules) Create

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

func (*FakeSmartDetectorAlertRules) Delete

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

func (*FakeSmartDetectorAlertRules) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSmartDetectorAlertRules) Get

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

func (*FakeSmartDetectorAlertRules) List

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

func (*FakeSmartDetectorAlertRules) Patch

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

Patch applies the patch and returns the patched smartDetectorAlertRule.

func (*FakeSmartDetectorAlertRules) Update

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

func (*FakeSmartDetectorAlertRules) UpdateStatus

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

func (*FakeSmartDetectorAlertRules) Watch

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

Jump to

Keyboard shortcuts

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