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 FakeBillingAccountBucketConfigs

type FakeBillingAccountBucketConfigs struct {
	Fake *FakeLoggingV1alpha1
	// contains filtered or unexported fields
}

FakeBillingAccountBucketConfigs implements BillingAccountBucketConfigInterface

func (*FakeBillingAccountBucketConfigs) Create

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

func (*FakeBillingAccountBucketConfigs) Delete

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

func (*FakeBillingAccountBucketConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBillingAccountBucketConfigs) Get

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

func (*FakeBillingAccountBucketConfigs) List

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

func (*FakeBillingAccountBucketConfigs) Patch

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

Patch applies the patch and returns the patched billingAccountBucketConfig.

func (*FakeBillingAccountBucketConfigs) Update

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

func (*FakeBillingAccountBucketConfigs) UpdateStatus

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

func (*FakeBillingAccountBucketConfigs) Watch

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

type FakeBillingAccountExclusions

type FakeBillingAccountExclusions struct {
	Fake *FakeLoggingV1alpha1
	// contains filtered or unexported fields
}

FakeBillingAccountExclusions implements BillingAccountExclusionInterface

func (*FakeBillingAccountExclusions) Create

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

func (*FakeBillingAccountExclusions) Delete

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

func (*FakeBillingAccountExclusions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBillingAccountExclusions) Get

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

func (*FakeBillingAccountExclusions) List

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

func (*FakeBillingAccountExclusions) Patch

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

Patch applies the patch and returns the patched billingAccountExclusion.

func (*FakeBillingAccountExclusions) Update

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

func (*FakeBillingAccountExclusions) UpdateStatus

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

func (*FakeBillingAccountExclusions) Watch

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

type FakeBillingAccountSinks

type FakeBillingAccountSinks struct {
	Fake *FakeLoggingV1alpha1
	// contains filtered or unexported fields
}

FakeBillingAccountSinks implements BillingAccountSinkInterface

func (*FakeBillingAccountSinks) Create

func (c *FakeBillingAccountSinks) Create(ctx context.Context, billingAccountSink *v1alpha1.BillingAccountSink, opts v1.CreateOptions) (result *v1alpha1.BillingAccountSink, err error)

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

func (*FakeBillingAccountSinks) Delete

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

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

func (*FakeBillingAccountSinks) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBillingAccountSinks) Get

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

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

func (*FakeBillingAccountSinks) List

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

func (*FakeBillingAccountSinks) Patch

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

Patch applies the patch and returns the patched billingAccountSink.

func (*FakeBillingAccountSinks) Update

func (c *FakeBillingAccountSinks) Update(ctx context.Context, billingAccountSink *v1alpha1.BillingAccountSink, opts v1.UpdateOptions) (result *v1alpha1.BillingAccountSink, err error)

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

func (*FakeBillingAccountSinks) UpdateStatus

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

func (*FakeBillingAccountSinks) Watch

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

type FakeFolderBucketConfigs

type FakeFolderBucketConfigs struct {
	Fake *FakeLoggingV1alpha1
	// contains filtered or unexported fields
}

FakeFolderBucketConfigs implements FolderBucketConfigInterface

func (*FakeFolderBucketConfigs) Create

func (c *FakeFolderBucketConfigs) Create(ctx context.Context, folderBucketConfig *v1alpha1.FolderBucketConfig, opts v1.CreateOptions) (result *v1alpha1.FolderBucketConfig, err error)

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

func (*FakeFolderBucketConfigs) Delete

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

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

func (*FakeFolderBucketConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeFolderBucketConfigs) Get

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

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

func (*FakeFolderBucketConfigs) List

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

func (*FakeFolderBucketConfigs) Patch

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

Patch applies the patch and returns the patched folderBucketConfig.

func (*FakeFolderBucketConfigs) Update

func (c *FakeFolderBucketConfigs) Update(ctx context.Context, folderBucketConfig *v1alpha1.FolderBucketConfig, opts v1.UpdateOptions) (result *v1alpha1.FolderBucketConfig, err error)

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

func (*FakeFolderBucketConfigs) UpdateStatus

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

func (*FakeFolderBucketConfigs) Watch

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

type FakeFolderExclusions

type FakeFolderExclusions struct {
	Fake *FakeLoggingV1alpha1
	// contains filtered or unexported fields
}

FakeFolderExclusions implements FolderExclusionInterface

func (*FakeFolderExclusions) Create

func (c *FakeFolderExclusions) Create(ctx context.Context, folderExclusion *v1alpha1.FolderExclusion, opts v1.CreateOptions) (result *v1alpha1.FolderExclusion, err error)

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

func (*FakeFolderExclusions) Delete

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

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

func (*FakeFolderExclusions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeFolderExclusions) Get

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

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

func (*FakeFolderExclusions) List

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

func (*FakeFolderExclusions) Patch

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

Patch applies the patch and returns the patched folderExclusion.

func (*FakeFolderExclusions) Update

func (c *FakeFolderExclusions) Update(ctx context.Context, folderExclusion *v1alpha1.FolderExclusion, opts v1.UpdateOptions) (result *v1alpha1.FolderExclusion, err error)

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

func (*FakeFolderExclusions) UpdateStatus

func (c *FakeFolderExclusions) UpdateStatus(ctx context.Context, folderExclusion *v1alpha1.FolderExclusion, opts v1.UpdateOptions) (*v1alpha1.FolderExclusion, error)

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

func (*FakeFolderExclusions) Watch

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

type FakeFolderSinks

type FakeFolderSinks struct {
	Fake *FakeLoggingV1alpha1
	// contains filtered or unexported fields
}

FakeFolderSinks implements FolderSinkInterface

func (*FakeFolderSinks) Create

func (c *FakeFolderSinks) Create(ctx context.Context, folderSink *v1alpha1.FolderSink, opts v1.CreateOptions) (result *v1alpha1.FolderSink, err error)

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

func (*FakeFolderSinks) Delete

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

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

func (*FakeFolderSinks) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeFolderSinks) Get

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

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

func (*FakeFolderSinks) List

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

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

func (*FakeFolderSinks) Patch

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

Patch applies the patch and returns the patched folderSink.

func (*FakeFolderSinks) Update

func (c *FakeFolderSinks) Update(ctx context.Context, folderSink *v1alpha1.FolderSink, opts v1.UpdateOptions) (result *v1alpha1.FolderSink, err error)

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

func (*FakeFolderSinks) UpdateStatus

func (c *FakeFolderSinks) UpdateStatus(ctx context.Context, folderSink *v1alpha1.FolderSink, opts v1.UpdateOptions) (*v1alpha1.FolderSink, error)

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

func (*FakeFolderSinks) Watch

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

type FakeLoggingV1alpha1

type FakeLoggingV1alpha1 struct {
	*testing.Fake
}

func (*FakeLoggingV1alpha1) BillingAccountBucketConfigs

func (c *FakeLoggingV1alpha1) BillingAccountBucketConfigs(namespace string) v1alpha1.BillingAccountBucketConfigInterface

func (*FakeLoggingV1alpha1) BillingAccountExclusions

func (c *FakeLoggingV1alpha1) BillingAccountExclusions(namespace string) v1alpha1.BillingAccountExclusionInterface

func (*FakeLoggingV1alpha1) BillingAccountSinks

func (c *FakeLoggingV1alpha1) BillingAccountSinks(namespace string) v1alpha1.BillingAccountSinkInterface

func (*FakeLoggingV1alpha1) FolderBucketConfigs

func (c *FakeLoggingV1alpha1) FolderBucketConfigs(namespace string) v1alpha1.FolderBucketConfigInterface

func (*FakeLoggingV1alpha1) FolderExclusions

func (c *FakeLoggingV1alpha1) FolderExclusions(namespace string) v1alpha1.FolderExclusionInterface

func (*FakeLoggingV1alpha1) FolderSinks

func (c *FakeLoggingV1alpha1) FolderSinks(namespace string) v1alpha1.FolderSinkInterface

func (*FakeLoggingV1alpha1) Metrics

func (c *FakeLoggingV1alpha1) Metrics(namespace string) v1alpha1.MetricInterface

func (*FakeLoggingV1alpha1) OrganizationBucketConfigs

func (c *FakeLoggingV1alpha1) OrganizationBucketConfigs(namespace string) v1alpha1.OrganizationBucketConfigInterface

func (*FakeLoggingV1alpha1) OrganizationExclusions

func (c *FakeLoggingV1alpha1) OrganizationExclusions(namespace string) v1alpha1.OrganizationExclusionInterface

func (*FakeLoggingV1alpha1) OrganizationSinks

func (c *FakeLoggingV1alpha1) OrganizationSinks(namespace string) v1alpha1.OrganizationSinkInterface

func (*FakeLoggingV1alpha1) ProjectBucketConfigs

func (c *FakeLoggingV1alpha1) ProjectBucketConfigs(namespace string) v1alpha1.ProjectBucketConfigInterface

func (*FakeLoggingV1alpha1) ProjectExclusions

func (c *FakeLoggingV1alpha1) ProjectExclusions(namespace string) v1alpha1.ProjectExclusionInterface

func (*FakeLoggingV1alpha1) ProjectSinks

func (c *FakeLoggingV1alpha1) ProjectSinks(namespace string) v1alpha1.ProjectSinkInterface

func (*FakeLoggingV1alpha1) RESTClient

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

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

type FakeMetrics

type FakeMetrics struct {
	Fake *FakeLoggingV1alpha1
	// contains filtered or unexported fields
}

FakeMetrics implements MetricInterface

func (*FakeMetrics) Create

func (c *FakeMetrics) Create(ctx context.Context, metric *v1alpha1.Metric, opts v1.CreateOptions) (result *v1alpha1.Metric, err error)

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

func (*FakeMetrics) Delete

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

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

func (*FakeMetrics) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMetrics) Get

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

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

func (*FakeMetrics) List

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

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

func (*FakeMetrics) Patch

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

Patch applies the patch and returns the patched metric.

func (*FakeMetrics) Update

func (c *FakeMetrics) Update(ctx context.Context, metric *v1alpha1.Metric, opts v1.UpdateOptions) (result *v1alpha1.Metric, err error)

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

func (*FakeMetrics) UpdateStatus

func (c *FakeMetrics) UpdateStatus(ctx context.Context, metric *v1alpha1.Metric, opts v1.UpdateOptions) (*v1alpha1.Metric, error)

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

func (*FakeMetrics) Watch

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

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

type FakeOrganizationBucketConfigs

type FakeOrganizationBucketConfigs struct {
	Fake *FakeLoggingV1alpha1
	// contains filtered or unexported fields
}

FakeOrganizationBucketConfigs implements OrganizationBucketConfigInterface

func (*FakeOrganizationBucketConfigs) Create

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

func (*FakeOrganizationBucketConfigs) Delete

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

func (*FakeOrganizationBucketConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeOrganizationBucketConfigs) Get

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

func (*FakeOrganizationBucketConfigs) List

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

func (*FakeOrganizationBucketConfigs) Patch

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

Patch applies the patch and returns the patched organizationBucketConfig.

func (*FakeOrganizationBucketConfigs) Update

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

func (*FakeOrganizationBucketConfigs) UpdateStatus

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

func (*FakeOrganizationBucketConfigs) Watch

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

type FakeOrganizationExclusions

type FakeOrganizationExclusions struct {
	Fake *FakeLoggingV1alpha1
	// contains filtered or unexported fields
}

FakeOrganizationExclusions implements OrganizationExclusionInterface

func (*FakeOrganizationExclusions) Create

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

func (*FakeOrganizationExclusions) Delete

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

func (*FakeOrganizationExclusions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeOrganizationExclusions) Get

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

func (*FakeOrganizationExclusions) List

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

func (*FakeOrganizationExclusions) Patch

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

Patch applies the patch and returns the patched organizationExclusion.

func (*FakeOrganizationExclusions) Update

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

func (*FakeOrganizationExclusions) UpdateStatus

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

func (*FakeOrganizationExclusions) Watch

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

type FakeOrganizationSinks

type FakeOrganizationSinks struct {
	Fake *FakeLoggingV1alpha1
	// contains filtered or unexported fields
}

FakeOrganizationSinks implements OrganizationSinkInterface

func (*FakeOrganizationSinks) Create

func (c *FakeOrganizationSinks) Create(ctx context.Context, organizationSink *v1alpha1.OrganizationSink, opts v1.CreateOptions) (result *v1alpha1.OrganizationSink, err error)

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

func (*FakeOrganizationSinks) Delete

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

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

func (*FakeOrganizationSinks) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeOrganizationSinks) Get

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

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

func (*FakeOrganizationSinks) List

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

func (*FakeOrganizationSinks) Patch

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

Patch applies the patch and returns the patched organizationSink.

func (*FakeOrganizationSinks) Update

func (c *FakeOrganizationSinks) Update(ctx context.Context, organizationSink *v1alpha1.OrganizationSink, opts v1.UpdateOptions) (result *v1alpha1.OrganizationSink, err error)

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

func (*FakeOrganizationSinks) UpdateStatus

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

func (*FakeOrganizationSinks) Watch

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

type FakeProjectBucketConfigs

type FakeProjectBucketConfigs struct {
	Fake *FakeLoggingV1alpha1
	// contains filtered or unexported fields
}

FakeProjectBucketConfigs implements ProjectBucketConfigInterface

func (*FakeProjectBucketConfigs) Create

func (c *FakeProjectBucketConfigs) Create(ctx context.Context, projectBucketConfig *v1alpha1.ProjectBucketConfig, opts v1.CreateOptions) (result *v1alpha1.ProjectBucketConfig, err error)

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

func (*FakeProjectBucketConfigs) Delete

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

func (*FakeProjectBucketConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeProjectBucketConfigs) Get

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

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

func (*FakeProjectBucketConfigs) List

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

func (*FakeProjectBucketConfigs) Patch

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

Patch applies the patch and returns the patched projectBucketConfig.

func (*FakeProjectBucketConfigs) Update

func (c *FakeProjectBucketConfigs) Update(ctx context.Context, projectBucketConfig *v1alpha1.ProjectBucketConfig, opts v1.UpdateOptions) (result *v1alpha1.ProjectBucketConfig, err error)

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

func (*FakeProjectBucketConfigs) UpdateStatus

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

func (*FakeProjectBucketConfigs) Watch

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

type FakeProjectExclusions

type FakeProjectExclusions struct {
	Fake *FakeLoggingV1alpha1
	// contains filtered or unexported fields
}

FakeProjectExclusions implements ProjectExclusionInterface

func (*FakeProjectExclusions) Create

func (c *FakeProjectExclusions) Create(ctx context.Context, projectExclusion *v1alpha1.ProjectExclusion, opts v1.CreateOptions) (result *v1alpha1.ProjectExclusion, err error)

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

func (*FakeProjectExclusions) Delete

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

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

func (*FakeProjectExclusions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeProjectExclusions) Get

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

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

func (*FakeProjectExclusions) List

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

func (*FakeProjectExclusions) Patch

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

Patch applies the patch and returns the patched projectExclusion.

func (*FakeProjectExclusions) Update

func (c *FakeProjectExclusions) Update(ctx context.Context, projectExclusion *v1alpha1.ProjectExclusion, opts v1.UpdateOptions) (result *v1alpha1.ProjectExclusion, err error)

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

func (*FakeProjectExclusions) UpdateStatus

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

func (*FakeProjectExclusions) Watch

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

type FakeProjectSinks

type FakeProjectSinks struct {
	Fake *FakeLoggingV1alpha1
	// contains filtered or unexported fields
}

FakeProjectSinks implements ProjectSinkInterface

func (*FakeProjectSinks) Create

func (c *FakeProjectSinks) Create(ctx context.Context, projectSink *v1alpha1.ProjectSink, opts v1.CreateOptions) (result *v1alpha1.ProjectSink, err error)

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

func (*FakeProjectSinks) Delete

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

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

func (*FakeProjectSinks) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeProjectSinks) Get

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

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

func (*FakeProjectSinks) List

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

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

func (*FakeProjectSinks) Patch

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

Patch applies the patch and returns the patched projectSink.

func (*FakeProjectSinks) Update

func (c *FakeProjectSinks) Update(ctx context.Context, projectSink *v1alpha1.ProjectSink, opts v1.UpdateOptions) (result *v1alpha1.ProjectSink, err error)

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

func (*FakeProjectSinks) UpdateStatus

func (c *FakeProjectSinks) UpdateStatus(ctx context.Context, projectSink *v1alpha1.ProjectSink, opts v1.UpdateOptions) (*v1alpha1.ProjectSink, error)

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

func (*FakeProjectSinks) Watch

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

Jump to

Keyboard shortcuts

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