Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeLoggingLogExclusions
- func (c *FakeLoggingLogExclusions) Create(ctx context.Context, loggingLogExclusion *v1beta1.LoggingLogExclusion, ...) (result *v1beta1.LoggingLogExclusion, err error)
- func (c *FakeLoggingLogExclusions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeLoggingLogExclusions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeLoggingLogExclusions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.LoggingLogExclusion, err error)
- func (c *FakeLoggingLogExclusions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.LoggingLogExclusionList, err error)
- func (c *FakeLoggingLogExclusions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.LoggingLogExclusion, err error)
- func (c *FakeLoggingLogExclusions) Update(ctx context.Context, loggingLogExclusion *v1beta1.LoggingLogExclusion, ...) (result *v1beta1.LoggingLogExclusion, err error)
- func (c *FakeLoggingLogExclusions) UpdateStatus(ctx context.Context, loggingLogExclusion *v1beta1.LoggingLogExclusion, ...) (*v1beta1.LoggingLogExclusion, error)
- func (c *FakeLoggingLogExclusions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeLoggingLogSinks
- func (c *FakeLoggingLogSinks) Create(ctx context.Context, loggingLogSink *v1beta1.LoggingLogSink, ...) (result *v1beta1.LoggingLogSink, err error)
- func (c *FakeLoggingLogSinks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeLoggingLogSinks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeLoggingLogSinks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.LoggingLogSink, err error)
- func (c *FakeLoggingLogSinks) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.LoggingLogSinkList, err error)
- func (c *FakeLoggingLogSinks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.LoggingLogSink, err error)
- func (c *FakeLoggingLogSinks) Update(ctx context.Context, loggingLogSink *v1beta1.LoggingLogSink, ...) (result *v1beta1.LoggingLogSink, err error)
- func (c *FakeLoggingLogSinks) UpdateStatus(ctx context.Context, loggingLogSink *v1beta1.LoggingLogSink, ...) (*v1beta1.LoggingLogSink, error)
- func (c *FakeLoggingLogSinks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeLoggingV1beta1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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
func (c *FakeLoggingLogExclusions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
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
func (c *FakeLoggingLogExclusions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.LoggingLogExclusionList, err error)
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
func (c *FakeLoggingLogExclusions) UpdateStatus(ctx context.Context, loggingLogExclusion *v1beta1.LoggingLogExclusion, opts v1.UpdateOptions) (*v1beta1.LoggingLogExclusion, error)
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
func (c *FakeLoggingLogExclusions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested loggingLogExclusions.
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 ¶
func (c *FakeLoggingLogSinks) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.LoggingLogSinkList, err error)
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 ¶
func (c *FakeLoggingLogSinks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested loggingLogSinks.
type FakeLoggingV1beta1 ¶
func (*FakeLoggingV1beta1) LoggingLogExclusions ¶ added in v1.52.0
func (c *FakeLoggingV1beta1) LoggingLogExclusions(namespace string) v1beta1.LoggingLogExclusionInterface
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.