fake

package
v1.72.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeLoggingLogBuckets added in v1.72.0

type FakeLoggingLogBuckets struct {
	Fake *FakeLoggingV1beta1
	// contains filtered or unexported fields
}

FakeLoggingLogBuckets implements LoggingLogBucketInterface

func (*FakeLoggingLogBuckets) Create added in v1.72.0

func (c *FakeLoggingLogBuckets) Create(ctx context.Context, loggingLogBucket *v1beta1.LoggingLogBucket, opts v1.CreateOptions) (result *v1beta1.LoggingLogBucket, err error)

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

func (*FakeLoggingLogBuckets) Delete added in v1.72.0

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

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

func (*FakeLoggingLogBuckets) DeleteCollection added in v1.72.0

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

DeleteCollection deletes a collection of objects.

func (*FakeLoggingLogBuckets) Get added in v1.72.0

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

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

func (*FakeLoggingLogBuckets) List added in v1.72.0

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

func (*FakeLoggingLogBuckets) Patch added in v1.72.0

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

Patch applies the patch and returns the patched loggingLogBucket.

func (*FakeLoggingLogBuckets) Update added in v1.72.0

func (c *FakeLoggingLogBuckets) Update(ctx context.Context, loggingLogBucket *v1beta1.LoggingLogBucket, opts v1.UpdateOptions) (result *v1beta1.LoggingLogBucket, err error)

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

func (*FakeLoggingLogBuckets) UpdateStatus added in v1.72.0

func (c *FakeLoggingLogBuckets) UpdateStatus(ctx context.Context, loggingLogBucket *v1beta1.LoggingLogBucket, opts v1.UpdateOptions) (*v1beta1.LoggingLogBucket, error)

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

func (*FakeLoggingLogBuckets) Watch added in v1.72.0

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

type FakeLoggingLogExclusions added in v1.52.0

type FakeLoggingLogExclusions struct {
	Fake *FakeLoggingV1beta1
	// contains filtered or unexported fields
}

FakeLoggingLogExclusions implements LoggingLogExclusionInterface

func (*FakeLoggingLogExclusions) Create added in v1.52.0

func (c *FakeLoggingLogExclusions) Create(ctx context.Context, loggingLogExclusion *v1beta1.LoggingLogExclusion, opts v1.CreateOptions) (result *v1beta1.LoggingLogExclusion, err error)

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

func (*FakeLoggingLogExclusions) Delete added in v1.52.0

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

func (*FakeLoggingLogExclusions) DeleteCollection added in v1.52.0

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

DeleteCollection deletes a collection of objects.

func (*FakeLoggingLogExclusions) Get added in v1.52.0

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

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

func (*FakeLoggingLogExclusions) List added in v1.52.0

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

func (*FakeLoggingLogExclusions) Patch added in v1.52.0

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

Patch applies the patch and returns the patched loggingLogExclusion.

func (*FakeLoggingLogExclusions) Update added in v1.52.0

func (c *FakeLoggingLogExclusions) Update(ctx context.Context, loggingLogExclusion *v1beta1.LoggingLogExclusion, opts v1.UpdateOptions) (result *v1beta1.LoggingLogExclusion, err error)

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

func (*FakeLoggingLogExclusions) UpdateStatus added in v1.52.0

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

func (*FakeLoggingLogExclusions) Watch added in v1.52.0

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

type FakeLoggingLogMetrics added in v1.71.0

type FakeLoggingLogMetrics struct {
	Fake *FakeLoggingV1beta1
	// contains filtered or unexported fields
}

FakeLoggingLogMetrics implements LoggingLogMetricInterface

func (*FakeLoggingLogMetrics) Create added in v1.71.0

func (c *FakeLoggingLogMetrics) Create(ctx context.Context, loggingLogMetric *v1beta1.LoggingLogMetric, opts v1.CreateOptions) (result *v1beta1.LoggingLogMetric, err error)

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

func (*FakeLoggingLogMetrics) Delete added in v1.71.0

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

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

func (*FakeLoggingLogMetrics) DeleteCollection added in v1.71.0

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

DeleteCollection deletes a collection of objects.

func (*FakeLoggingLogMetrics) Get added in v1.71.0

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

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

func (*FakeLoggingLogMetrics) List added in v1.71.0

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

func (*FakeLoggingLogMetrics) Patch added in v1.71.0

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

Patch applies the patch and returns the patched loggingLogMetric.

func (*FakeLoggingLogMetrics) Update added in v1.71.0

func (c *FakeLoggingLogMetrics) Update(ctx context.Context, loggingLogMetric *v1beta1.LoggingLogMetric, opts v1.UpdateOptions) (result *v1beta1.LoggingLogMetric, err error)

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

func (*FakeLoggingLogMetrics) UpdateStatus added in v1.71.0

func (c *FakeLoggingLogMetrics) UpdateStatus(ctx context.Context, loggingLogMetric *v1beta1.LoggingLogMetric, opts v1.UpdateOptions) (*v1beta1.LoggingLogMetric, error)

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

func (*FakeLoggingLogMetrics) Watch added in v1.71.0

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

type FakeLoggingLogSinks

type FakeLoggingLogSinks struct {
	Fake *FakeLoggingV1beta1
	// contains filtered or unexported fields
}

FakeLoggingLogSinks implements LoggingLogSinkInterface

func (*FakeLoggingLogSinks) Create

func (c *FakeLoggingLogSinks) Create(ctx context.Context, loggingLogSink *v1beta1.LoggingLogSink, opts v1.CreateOptions) (result *v1beta1.LoggingLogSink, err error)

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

func (*FakeLoggingLogSinks) Delete

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

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

func (*FakeLoggingLogSinks) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeLoggingLogSinks) Get

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

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

func (*FakeLoggingLogSinks) List

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

func (*FakeLoggingLogSinks) Patch

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

Patch applies the patch and returns the patched loggingLogSink.

func (*FakeLoggingLogSinks) Update

func (c *FakeLoggingLogSinks) Update(ctx context.Context, loggingLogSink *v1beta1.LoggingLogSink, opts v1.UpdateOptions) (result *v1beta1.LoggingLogSink, err error)

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

func (*FakeLoggingLogSinks) UpdateStatus

func (c *FakeLoggingLogSinks) UpdateStatus(ctx context.Context, loggingLogSink *v1beta1.LoggingLogSink, opts v1.UpdateOptions) (*v1beta1.LoggingLogSink, error)

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

func (*FakeLoggingLogSinks) Watch

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

type FakeLoggingV1beta1

type FakeLoggingV1beta1 struct {
	*testing.Fake
}

func (*FakeLoggingV1beta1) LoggingLogBuckets added in v1.72.0

func (c *FakeLoggingV1beta1) LoggingLogBuckets(namespace string) v1beta1.LoggingLogBucketInterface

func (*FakeLoggingV1beta1) LoggingLogExclusions added in v1.52.0

func (c *FakeLoggingV1beta1) LoggingLogExclusions(namespace string) v1beta1.LoggingLogExclusionInterface

func (*FakeLoggingV1beta1) LoggingLogMetrics added in v1.71.0

func (c *FakeLoggingV1beta1) LoggingLogMetrics(namespace string) v1beta1.LoggingLogMetricInterface

func (*FakeLoggingV1beta1) LoggingLogSinks

func (c *FakeLoggingV1beta1) LoggingLogSinks(namespace string) v1beta1.LoggingLogSinkInterface

func (*FakeLoggingV1beta1) RESTClient

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

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

Jump to

Keyboard shortcuts

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