fake

package
v0.0.0-...-a6e3ad7 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 9 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 FakeVMAgents

type FakeVMAgents struct {
	Fake *FakeVictoriametricsV1beta1
	// contains filtered or unexported fields
}

FakeVMAgents implements VMAgentInterface

func (*FakeVMAgents) Create

func (c *FakeVMAgents) Create(ctx context.Context, vMAgent *v1beta1.VMAgent, opts v1.CreateOptions) (result *v1beta1.VMAgent, err error)

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

func (*FakeVMAgents) Delete

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

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

func (*FakeVMAgents) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVMAgents) Get

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

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

func (*FakeVMAgents) List

func (c *FakeVMAgents) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VMAgentList, err error)

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

func (*FakeVMAgents) Patch

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

Patch applies the patch and returns the patched vMAgent.

func (*FakeVMAgents) Update

func (c *FakeVMAgents) Update(ctx context.Context, vMAgent *v1beta1.VMAgent, opts v1.UpdateOptions) (result *v1beta1.VMAgent, err error)

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

func (*FakeVMAgents) UpdateStatus

func (c *FakeVMAgents) UpdateStatus(ctx context.Context, vMAgent *v1beta1.VMAgent, opts v1.UpdateOptions) (*v1beta1.VMAgent, error)

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

func (*FakeVMAgents) Watch

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

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

type FakeVMAlertmanagerConfigs

type FakeVMAlertmanagerConfigs struct {
	Fake *FakeVictoriametricsV1beta1
	// contains filtered or unexported fields
}

FakeVMAlertmanagerConfigs implements VMAlertmanagerConfigInterface

func (*FakeVMAlertmanagerConfigs) Create

func (c *FakeVMAlertmanagerConfigs) Create(ctx context.Context, vMAlertmanagerConfig *v1beta1.VMAlertmanagerConfig, opts v1.CreateOptions) (result *v1beta1.VMAlertmanagerConfig, err error)

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

func (*FakeVMAlertmanagerConfigs) Delete

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

func (*FakeVMAlertmanagerConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVMAlertmanagerConfigs) Get

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

func (*FakeVMAlertmanagerConfigs) List

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

func (*FakeVMAlertmanagerConfigs) Patch

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

Patch applies the patch and returns the patched vMAlertmanagerConfig.

func (*FakeVMAlertmanagerConfigs) Update

func (c *FakeVMAlertmanagerConfigs) Update(ctx context.Context, vMAlertmanagerConfig *v1beta1.VMAlertmanagerConfig, opts v1.UpdateOptions) (result *v1beta1.VMAlertmanagerConfig, err error)

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

func (*FakeVMAlertmanagerConfigs) UpdateStatus

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

func (*FakeVMAlertmanagerConfigs) Watch

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

type FakeVMAlertmanagers

type FakeVMAlertmanagers struct {
	Fake *FakeVictoriametricsV1beta1
	// contains filtered or unexported fields
}

FakeVMAlertmanagers implements VMAlertmanagerInterface

func (*FakeVMAlertmanagers) Create

func (c *FakeVMAlertmanagers) Create(ctx context.Context, vMAlertmanager *v1beta1.VMAlertmanager, opts v1.CreateOptions) (result *v1beta1.VMAlertmanager, err error)

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

func (*FakeVMAlertmanagers) Delete

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

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

func (*FakeVMAlertmanagers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVMAlertmanagers) Get

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

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

func (*FakeVMAlertmanagers) List

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

func (*FakeVMAlertmanagers) Patch

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

Patch applies the patch and returns the patched vMAlertmanager.

func (*FakeVMAlertmanagers) Update

func (c *FakeVMAlertmanagers) Update(ctx context.Context, vMAlertmanager *v1beta1.VMAlertmanager, opts v1.UpdateOptions) (result *v1beta1.VMAlertmanager, err error)

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

func (*FakeVMAlertmanagers) UpdateStatus

func (c *FakeVMAlertmanagers) UpdateStatus(ctx context.Context, vMAlertmanager *v1beta1.VMAlertmanager, opts v1.UpdateOptions) (*v1beta1.VMAlertmanager, error)

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

func (*FakeVMAlertmanagers) Watch

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

type FakeVMAlerts

type FakeVMAlerts struct {
	Fake *FakeVictoriametricsV1beta1
	// contains filtered or unexported fields
}

FakeVMAlerts implements VMAlertInterface

func (*FakeVMAlerts) Create

func (c *FakeVMAlerts) Create(ctx context.Context, vMAlert *v1beta1.VMAlert, opts v1.CreateOptions) (result *v1beta1.VMAlert, err error)

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

func (*FakeVMAlerts) Delete

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

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

func (*FakeVMAlerts) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVMAlerts) Get

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

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

func (*FakeVMAlerts) List

func (c *FakeVMAlerts) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VMAlertList, err error)

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

func (*FakeVMAlerts) Patch

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

Patch applies the patch and returns the patched vMAlert.

func (*FakeVMAlerts) Update

func (c *FakeVMAlerts) Update(ctx context.Context, vMAlert *v1beta1.VMAlert, opts v1.UpdateOptions) (result *v1beta1.VMAlert, err error)

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

func (*FakeVMAlerts) UpdateStatus

func (c *FakeVMAlerts) UpdateStatus(ctx context.Context, vMAlert *v1beta1.VMAlert, opts v1.UpdateOptions) (*v1beta1.VMAlert, error)

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

func (*FakeVMAlerts) Watch

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

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

type FakeVMAuths

type FakeVMAuths struct {
	Fake *FakeVictoriametricsV1beta1
	// contains filtered or unexported fields
}

FakeVMAuths implements VMAuthInterface

func (*FakeVMAuths) Create

func (c *FakeVMAuths) Create(ctx context.Context, vMAuth *v1beta1.VMAuth, opts v1.CreateOptions) (result *v1beta1.VMAuth, err error)

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

func (*FakeVMAuths) Delete

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

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

func (*FakeVMAuths) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVMAuths) Get

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

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

func (*FakeVMAuths) List

func (c *FakeVMAuths) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VMAuthList, err error)

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

func (*FakeVMAuths) Patch

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

Patch applies the patch and returns the patched vMAuth.

func (*FakeVMAuths) Update

func (c *FakeVMAuths) Update(ctx context.Context, vMAuth *v1beta1.VMAuth, opts v1.UpdateOptions) (result *v1beta1.VMAuth, err error)

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

func (*FakeVMAuths) UpdateStatus

func (c *FakeVMAuths) UpdateStatus(ctx context.Context, vMAuth *v1beta1.VMAuth, opts v1.UpdateOptions) (*v1beta1.VMAuth, error)

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

func (*FakeVMAuths) Watch

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

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

type FakeVMClusters

type FakeVMClusters struct {
	Fake *FakeVictoriametricsV1beta1
	// contains filtered or unexported fields
}

FakeVMClusters implements VMClusterInterface

func (*FakeVMClusters) Create

func (c *FakeVMClusters) Create(ctx context.Context, vMCluster *v1beta1.VMCluster, opts v1.CreateOptions) (result *v1beta1.VMCluster, err error)

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

func (*FakeVMClusters) Delete

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

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

func (*FakeVMClusters) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVMClusters) Get

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

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

func (*FakeVMClusters) List

func (c *FakeVMClusters) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VMClusterList, err error)

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

func (*FakeVMClusters) Patch

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

Patch applies the patch and returns the patched vMCluster.

func (*FakeVMClusters) Update

func (c *FakeVMClusters) Update(ctx context.Context, vMCluster *v1beta1.VMCluster, opts v1.UpdateOptions) (result *v1beta1.VMCluster, err error)

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

func (*FakeVMClusters) UpdateStatus

func (c *FakeVMClusters) UpdateStatus(ctx context.Context, vMCluster *v1beta1.VMCluster, opts v1.UpdateOptions) (*v1beta1.VMCluster, error)

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

func (*FakeVMClusters) Watch

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

type FakeVMNodeScrapes

type FakeVMNodeScrapes struct {
	Fake *FakeVictoriametricsV1beta1
	// contains filtered or unexported fields
}

FakeVMNodeScrapes implements VMNodeScrapeInterface

func (*FakeVMNodeScrapes) Create

func (c *FakeVMNodeScrapes) Create(ctx context.Context, vMNodeScrape *v1beta1.VMNodeScrape, opts v1.CreateOptions) (result *v1beta1.VMNodeScrape, err error)

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

func (*FakeVMNodeScrapes) Delete

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

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

func (*FakeVMNodeScrapes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVMNodeScrapes) Get

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

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

func (*FakeVMNodeScrapes) List

func (c *FakeVMNodeScrapes) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VMNodeScrapeList, err error)

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

func (*FakeVMNodeScrapes) Patch

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

Patch applies the patch and returns the patched vMNodeScrape.

func (*FakeVMNodeScrapes) Update

func (c *FakeVMNodeScrapes) Update(ctx context.Context, vMNodeScrape *v1beta1.VMNodeScrape, opts v1.UpdateOptions) (result *v1beta1.VMNodeScrape, err error)

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

func (*FakeVMNodeScrapes) UpdateStatus

func (c *FakeVMNodeScrapes) UpdateStatus(ctx context.Context, vMNodeScrape *v1beta1.VMNodeScrape, opts v1.UpdateOptions) (*v1beta1.VMNodeScrape, error)

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

func (*FakeVMNodeScrapes) Watch

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

type FakeVMPodScrapes

type FakeVMPodScrapes struct {
	Fake *FakeVictoriametricsV1beta1
	// contains filtered or unexported fields
}

FakeVMPodScrapes implements VMPodScrapeInterface

func (*FakeVMPodScrapes) Create

func (c *FakeVMPodScrapes) Create(ctx context.Context, vMPodScrape *v1beta1.VMPodScrape, opts v1.CreateOptions) (result *v1beta1.VMPodScrape, err error)

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

func (*FakeVMPodScrapes) Delete

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

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

func (*FakeVMPodScrapes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVMPodScrapes) Get

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

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

func (*FakeVMPodScrapes) List

func (c *FakeVMPodScrapes) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VMPodScrapeList, err error)

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

func (*FakeVMPodScrapes) Patch

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

Patch applies the patch and returns the patched vMPodScrape.

func (*FakeVMPodScrapes) Update

func (c *FakeVMPodScrapes) Update(ctx context.Context, vMPodScrape *v1beta1.VMPodScrape, opts v1.UpdateOptions) (result *v1beta1.VMPodScrape, err error)

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

func (*FakeVMPodScrapes) UpdateStatus

func (c *FakeVMPodScrapes) UpdateStatus(ctx context.Context, vMPodScrape *v1beta1.VMPodScrape, opts v1.UpdateOptions) (*v1beta1.VMPodScrape, error)

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

func (*FakeVMPodScrapes) Watch

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

type FakeVMProbes

type FakeVMProbes struct {
	Fake *FakeVictoriametricsV1beta1
	// contains filtered or unexported fields
}

FakeVMProbes implements VMProbeInterface

func (*FakeVMProbes) Create

func (c *FakeVMProbes) Create(ctx context.Context, vMProbe *v1beta1.VMProbe, opts v1.CreateOptions) (result *v1beta1.VMProbe, err error)

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

func (*FakeVMProbes) Delete

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

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

func (*FakeVMProbes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVMProbes) Get

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

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

func (*FakeVMProbes) List

func (c *FakeVMProbes) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VMProbeList, err error)

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

func (*FakeVMProbes) Patch

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

Patch applies the patch and returns the patched vMProbe.

func (*FakeVMProbes) Update

func (c *FakeVMProbes) Update(ctx context.Context, vMProbe *v1beta1.VMProbe, opts v1.UpdateOptions) (result *v1beta1.VMProbe, err error)

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

func (*FakeVMProbes) UpdateStatus

func (c *FakeVMProbes) UpdateStatus(ctx context.Context, vMProbe *v1beta1.VMProbe, opts v1.UpdateOptions) (*v1beta1.VMProbe, error)

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

func (*FakeVMProbes) Watch

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

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

type FakeVMRules

type FakeVMRules struct {
	Fake *FakeVictoriametricsV1beta1
	// contains filtered or unexported fields
}

FakeVMRules implements VMRuleInterface

func (*FakeVMRules) Create

func (c *FakeVMRules) Create(ctx context.Context, vMRule *v1beta1.VMRule, opts v1.CreateOptions) (result *v1beta1.VMRule, err error)

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

func (*FakeVMRules) Delete

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

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

func (*FakeVMRules) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVMRules) Get

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

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

func (*FakeVMRules) List

func (c *FakeVMRules) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VMRuleList, err error)

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

func (*FakeVMRules) Patch

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

Patch applies the patch and returns the patched vMRule.

func (*FakeVMRules) Update

func (c *FakeVMRules) Update(ctx context.Context, vMRule *v1beta1.VMRule, opts v1.UpdateOptions) (result *v1beta1.VMRule, err error)

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

func (*FakeVMRules) UpdateStatus

func (c *FakeVMRules) UpdateStatus(ctx context.Context, vMRule *v1beta1.VMRule, opts v1.UpdateOptions) (*v1beta1.VMRule, error)

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

func (*FakeVMRules) Watch

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

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

type FakeVMScrapeConfigs

type FakeVMScrapeConfigs struct {
	Fake *FakeVictoriametricsV1beta1
	// contains filtered or unexported fields
}

FakeVMScrapeConfigs implements VMScrapeConfigInterface

func (*FakeVMScrapeConfigs) Create

func (c *FakeVMScrapeConfigs) Create(ctx context.Context, vMScrapeConfig *v1beta1.VMScrapeConfig, opts v1.CreateOptions) (result *v1beta1.VMScrapeConfig, err error)

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

func (*FakeVMScrapeConfigs) Delete

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

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

func (*FakeVMScrapeConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVMScrapeConfigs) Get

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

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

func (*FakeVMScrapeConfigs) List

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

func (*FakeVMScrapeConfigs) Patch

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

Patch applies the patch and returns the patched vMScrapeConfig.

func (*FakeVMScrapeConfigs) Update

func (c *FakeVMScrapeConfigs) Update(ctx context.Context, vMScrapeConfig *v1beta1.VMScrapeConfig, opts v1.UpdateOptions) (result *v1beta1.VMScrapeConfig, err error)

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

func (*FakeVMScrapeConfigs) UpdateStatus

func (c *FakeVMScrapeConfigs) UpdateStatus(ctx context.Context, vMScrapeConfig *v1beta1.VMScrapeConfig, opts v1.UpdateOptions) (*v1beta1.VMScrapeConfig, error)

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

func (*FakeVMScrapeConfigs) Watch

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

type FakeVMServiceScrapes

type FakeVMServiceScrapes struct {
	Fake *FakeVictoriametricsV1beta1
	// contains filtered or unexported fields
}

FakeVMServiceScrapes implements VMServiceScrapeInterface

func (*FakeVMServiceScrapes) Create

func (c *FakeVMServiceScrapes) Create(ctx context.Context, vMServiceScrape *v1beta1.VMServiceScrape, opts v1.CreateOptions) (result *v1beta1.VMServiceScrape, err error)

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

func (*FakeVMServiceScrapes) Delete

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

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

func (*FakeVMServiceScrapes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVMServiceScrapes) Get

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

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

func (*FakeVMServiceScrapes) List

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

func (*FakeVMServiceScrapes) Patch

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

Patch applies the patch and returns the patched vMServiceScrape.

func (*FakeVMServiceScrapes) Update

func (c *FakeVMServiceScrapes) Update(ctx context.Context, vMServiceScrape *v1beta1.VMServiceScrape, opts v1.UpdateOptions) (result *v1beta1.VMServiceScrape, err error)

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

func (*FakeVMServiceScrapes) UpdateStatus

func (c *FakeVMServiceScrapes) UpdateStatus(ctx context.Context, vMServiceScrape *v1beta1.VMServiceScrape, opts v1.UpdateOptions) (*v1beta1.VMServiceScrape, error)

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

func (*FakeVMServiceScrapes) Watch

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

type FakeVMSingles

type FakeVMSingles struct {
	Fake *FakeVictoriametricsV1beta1
	// contains filtered or unexported fields
}

FakeVMSingles implements VMSingleInterface

func (*FakeVMSingles) Create

func (c *FakeVMSingles) Create(ctx context.Context, vMSingle *v1beta1.VMSingle, opts v1.CreateOptions) (result *v1beta1.VMSingle, err error)

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

func (*FakeVMSingles) Delete

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

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

func (*FakeVMSingles) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVMSingles) Get

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

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

func (*FakeVMSingles) List

func (c *FakeVMSingles) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VMSingleList, err error)

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

func (*FakeVMSingles) Patch

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

Patch applies the patch and returns the patched vMSingle.

func (*FakeVMSingles) Update

func (c *FakeVMSingles) Update(ctx context.Context, vMSingle *v1beta1.VMSingle, opts v1.UpdateOptions) (result *v1beta1.VMSingle, err error)

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

func (*FakeVMSingles) UpdateStatus

func (c *FakeVMSingles) UpdateStatus(ctx context.Context, vMSingle *v1beta1.VMSingle, opts v1.UpdateOptions) (*v1beta1.VMSingle, error)

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

func (*FakeVMSingles) Watch

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

type FakeVMStaticScrapes

type FakeVMStaticScrapes struct {
	Fake *FakeVictoriametricsV1beta1
	// contains filtered or unexported fields
}

FakeVMStaticScrapes implements VMStaticScrapeInterface

func (*FakeVMStaticScrapes) Create

func (c *FakeVMStaticScrapes) Create(ctx context.Context, vMStaticScrape *v1beta1.VMStaticScrape, opts v1.CreateOptions) (result *v1beta1.VMStaticScrape, err error)

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

func (*FakeVMStaticScrapes) Delete

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

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

func (*FakeVMStaticScrapes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVMStaticScrapes) Get

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

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

func (*FakeVMStaticScrapes) List

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

func (*FakeVMStaticScrapes) Patch

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

Patch applies the patch and returns the patched vMStaticScrape.

func (*FakeVMStaticScrapes) Update

func (c *FakeVMStaticScrapes) Update(ctx context.Context, vMStaticScrape *v1beta1.VMStaticScrape, opts v1.UpdateOptions) (result *v1beta1.VMStaticScrape, err error)

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

func (*FakeVMStaticScrapes) UpdateStatus

func (c *FakeVMStaticScrapes) UpdateStatus(ctx context.Context, vMStaticScrape *v1beta1.VMStaticScrape, opts v1.UpdateOptions) (*v1beta1.VMStaticScrape, error)

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

func (*FakeVMStaticScrapes) Watch

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

type FakeVMUsers

type FakeVMUsers struct {
	Fake *FakeVictoriametricsV1beta1
	// contains filtered or unexported fields
}

FakeVMUsers implements VMUserInterface

func (*FakeVMUsers) Create

func (c *FakeVMUsers) Create(ctx context.Context, vMUser *v1beta1.VMUser, opts v1.CreateOptions) (result *v1beta1.VMUser, err error)

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

func (*FakeVMUsers) Delete

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

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

func (*FakeVMUsers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVMUsers) Get

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

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

func (*FakeVMUsers) List

func (c *FakeVMUsers) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VMUserList, err error)

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

func (*FakeVMUsers) Patch

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

Patch applies the patch and returns the patched vMUser.

func (*FakeVMUsers) Update

func (c *FakeVMUsers) Update(ctx context.Context, vMUser *v1beta1.VMUser, opts v1.UpdateOptions) (result *v1beta1.VMUser, err error)

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

func (*FakeVMUsers) UpdateStatus

func (c *FakeVMUsers) UpdateStatus(ctx context.Context, vMUser *v1beta1.VMUser, opts v1.UpdateOptions) (*v1beta1.VMUser, error)

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

func (*FakeVMUsers) Watch

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

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

type FakeVictoriametricsV1beta1

type FakeVictoriametricsV1beta1 struct {
	*testing.Fake
}

func (*FakeVictoriametricsV1beta1) RESTClient

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

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

func (*FakeVictoriametricsV1beta1) VMAgents

func (*FakeVictoriametricsV1beta1) VMAlertmanagerConfigs

func (c *FakeVictoriametricsV1beta1) VMAlertmanagerConfigs(namespace string) v1beta1.VMAlertmanagerConfigInterface

func (*FakeVictoriametricsV1beta1) VMAlertmanagers

func (c *FakeVictoriametricsV1beta1) VMAlertmanagers(namespace string) v1beta1.VMAlertmanagerInterface

func (*FakeVictoriametricsV1beta1) VMAlerts

func (*FakeVictoriametricsV1beta1) VMAuths

func (*FakeVictoriametricsV1beta1) VMClusters

func (*FakeVictoriametricsV1beta1) VMNodeScrapes

func (c *FakeVictoriametricsV1beta1) VMNodeScrapes(namespace string) v1beta1.VMNodeScrapeInterface

func (*FakeVictoriametricsV1beta1) VMPodScrapes

func (*FakeVictoriametricsV1beta1) VMProbes

func (*FakeVictoriametricsV1beta1) VMRules

func (*FakeVictoriametricsV1beta1) VMScrapeConfigs

func (c *FakeVictoriametricsV1beta1) VMScrapeConfigs(namespace string) v1beta1.VMScrapeConfigInterface

func (*FakeVictoriametricsV1beta1) VMServiceScrapes

func (c *FakeVictoriametricsV1beta1) VMServiceScrapes(namespace string) v1beta1.VMServiceScrapeInterface

func (*FakeVictoriametricsV1beta1) VMSingles

func (*FakeVictoriametricsV1beta1) VMStaticScrapes

func (c *FakeVictoriametricsV1beta1) VMStaticScrapes(namespace string) v1beta1.VMStaticScrapeInterface

func (*FakeVictoriametricsV1beta1) VMUsers

Jump to

Keyboard shortcuts

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