fake

package
v2.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 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 FakeClusterFilters

type FakeClusterFilters struct {
	Fake *FakeFluentbitV1alpha2
}

FakeClusterFilters implements ClusterFilterInterface

func (*FakeClusterFilters) Create

func (c *FakeClusterFilters) Create(ctx context.Context, clusterFilter *v1alpha2.ClusterFilter, opts v1.CreateOptions) (result *v1alpha2.ClusterFilter, err error)

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

func (*FakeClusterFilters) Delete

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

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

func (*FakeClusterFilters) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterFilters) Get

func (c *FakeClusterFilters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.ClusterFilter, err error)

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

func (*FakeClusterFilters) List

func (c *FakeClusterFilters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ClusterFilterList, err error)

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

func (*FakeClusterFilters) Patch

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

Patch applies the patch and returns the patched clusterFilter.

func (*FakeClusterFilters) Update

func (c *FakeClusterFilters) Update(ctx context.Context, clusterFilter *v1alpha2.ClusterFilter, opts v1.UpdateOptions) (result *v1alpha2.ClusterFilter, err error)

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

func (*FakeClusterFilters) Watch

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

type FakeClusterFluentBitConfigs

type FakeClusterFluentBitConfigs struct {
	Fake *FakeFluentbitV1alpha2
}

FakeClusterFluentBitConfigs implements ClusterFluentBitConfigInterface

func (*FakeClusterFluentBitConfigs) Create

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

func (*FakeClusterFluentBitConfigs) Delete

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

func (*FakeClusterFluentBitConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterFluentBitConfigs) Get

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

func (*FakeClusterFluentBitConfigs) List

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

func (*FakeClusterFluentBitConfigs) Patch

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

Patch applies the patch and returns the patched clusterFluentBitConfig.

func (*FakeClusterFluentBitConfigs) Update

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

func (*FakeClusterFluentBitConfigs) Watch

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

type FakeClusterInputs

type FakeClusterInputs struct {
	Fake *FakeFluentbitV1alpha2
}

FakeClusterInputs implements ClusterInputInterface

func (*FakeClusterInputs) Create

func (c *FakeClusterInputs) Create(ctx context.Context, clusterInput *v1alpha2.ClusterInput, opts v1.CreateOptions) (result *v1alpha2.ClusterInput, err error)

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

func (*FakeClusterInputs) Delete

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

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

func (*FakeClusterInputs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterInputs) Get

func (c *FakeClusterInputs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.ClusterInput, err error)

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

func (*FakeClusterInputs) List

func (c *FakeClusterInputs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ClusterInputList, err error)

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

func (*FakeClusterInputs) Patch

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

Patch applies the patch and returns the patched clusterInput.

func (*FakeClusterInputs) Update

func (c *FakeClusterInputs) Update(ctx context.Context, clusterInput *v1alpha2.ClusterInput, opts v1.UpdateOptions) (result *v1alpha2.ClusterInput, err error)

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

func (*FakeClusterInputs) Watch

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

type FakeClusterMultilineParsers added in v2.8.0

type FakeClusterMultilineParsers struct {
	Fake *FakeFluentbitV1alpha2
}

FakeClusterMultilineParsers implements ClusterMultilineParserInterface

func (*FakeClusterMultilineParsers) Create added in v2.8.0

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

func (*FakeClusterMultilineParsers) Delete added in v2.8.0

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

func (*FakeClusterMultilineParsers) DeleteCollection added in v2.8.0

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterMultilineParsers) Get added in v2.8.0

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

func (*FakeClusterMultilineParsers) List added in v2.8.0

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

func (*FakeClusterMultilineParsers) Patch added in v2.8.0

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

Patch applies the patch and returns the patched clusterMultilineParser.

func (*FakeClusterMultilineParsers) Update added in v2.8.0

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

func (*FakeClusterMultilineParsers) Watch added in v2.8.0

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

type FakeClusterOutputs

type FakeClusterOutputs struct {
	Fake *FakeFluentbitV1alpha2
}

FakeClusterOutputs implements ClusterOutputInterface

func (*FakeClusterOutputs) Create

func (c *FakeClusterOutputs) Create(ctx context.Context, clusterOutput *v1alpha2.ClusterOutput, opts v1.CreateOptions) (result *v1alpha2.ClusterOutput, err error)

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

func (*FakeClusterOutputs) Delete

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

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

func (*FakeClusterOutputs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterOutputs) Get

func (c *FakeClusterOutputs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.ClusterOutput, err error)

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

func (*FakeClusterOutputs) List

func (c *FakeClusterOutputs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ClusterOutputList, err error)

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

func (*FakeClusterOutputs) Patch

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

Patch applies the patch and returns the patched clusterOutput.

func (*FakeClusterOutputs) Update

func (c *FakeClusterOutputs) Update(ctx context.Context, clusterOutput *v1alpha2.ClusterOutput, opts v1.UpdateOptions) (result *v1alpha2.ClusterOutput, err error)

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

func (*FakeClusterOutputs) Watch

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

type FakeClusterParsers

type FakeClusterParsers struct {
	Fake *FakeFluentbitV1alpha2
}

FakeClusterParsers implements ClusterParserInterface

func (*FakeClusterParsers) Create

func (c *FakeClusterParsers) Create(ctx context.Context, clusterParser *v1alpha2.ClusterParser, opts v1.CreateOptions) (result *v1alpha2.ClusterParser, err error)

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

func (*FakeClusterParsers) Delete

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

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

func (*FakeClusterParsers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterParsers) Get

func (c *FakeClusterParsers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.ClusterParser, err error)

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

func (*FakeClusterParsers) List

func (c *FakeClusterParsers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ClusterParserList, err error)

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

func (*FakeClusterParsers) Patch

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

Patch applies the patch and returns the patched clusterParser.

func (*FakeClusterParsers) Update

func (c *FakeClusterParsers) Update(ctx context.Context, clusterParser *v1alpha2.ClusterParser, opts v1.UpdateOptions) (result *v1alpha2.ClusterParser, err error)

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

func (*FakeClusterParsers) Watch

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

type FakeCollectors

type FakeCollectors struct {
	Fake *FakeFluentbitV1alpha2
	// contains filtered or unexported fields
}

FakeCollectors implements CollectorInterface

func (*FakeCollectors) Create

func (c *FakeCollectors) Create(ctx context.Context, collector *v1alpha2.Collector, opts v1.CreateOptions) (result *v1alpha2.Collector, err error)

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

func (*FakeCollectors) Delete

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

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

func (*FakeCollectors) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCollectors) Get

func (c *FakeCollectors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.Collector, err error)

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

func (*FakeCollectors) List

func (c *FakeCollectors) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.CollectorList, err error)

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

func (*FakeCollectors) Patch

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

Patch applies the patch and returns the patched collector.

func (*FakeCollectors) Update

func (c *FakeCollectors) Update(ctx context.Context, collector *v1alpha2.Collector, opts v1.UpdateOptions) (result *v1alpha2.Collector, err error)

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

func (*FakeCollectors) UpdateStatus

func (c *FakeCollectors) UpdateStatus(ctx context.Context, collector *v1alpha2.Collector, opts v1.UpdateOptions) (*v1alpha2.Collector, error)

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

func (*FakeCollectors) Watch

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

type FakeFilters

type FakeFilters struct {
	Fake *FakeFluentbitV1alpha2
	// contains filtered or unexported fields
}

FakeFilters implements FilterInterface

func (*FakeFilters) Create

func (c *FakeFilters) Create(ctx context.Context, filter *v1alpha2.Filter, opts v1.CreateOptions) (result *v1alpha2.Filter, err error)

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

func (*FakeFilters) Delete

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

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

func (*FakeFilters) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeFilters) Get

func (c *FakeFilters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.Filter, err error)

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

func (*FakeFilters) List

func (c *FakeFilters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.FilterList, err error)

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

func (*FakeFilters) Patch

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

Patch applies the patch and returns the patched filter.

func (*FakeFilters) Update

func (c *FakeFilters) Update(ctx context.Context, filter *v1alpha2.Filter, opts v1.UpdateOptions) (result *v1alpha2.Filter, err error)

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

func (*FakeFilters) Watch

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

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

type FakeFluentBitConfigs

type FakeFluentBitConfigs struct {
	Fake *FakeFluentbitV1alpha2
	// contains filtered or unexported fields
}

FakeFluentBitConfigs implements FluentBitConfigInterface

func (*FakeFluentBitConfigs) Create

func (c *FakeFluentBitConfigs) Create(ctx context.Context, fluentBitConfig *v1alpha2.FluentBitConfig, opts v1.CreateOptions) (result *v1alpha2.FluentBitConfig, err error)

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

func (*FakeFluentBitConfigs) Delete

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

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

func (*FakeFluentBitConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeFluentBitConfigs) Get

func (c *FakeFluentBitConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.FluentBitConfig, err error)

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

func (*FakeFluentBitConfigs) List

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

func (*FakeFluentBitConfigs) Patch

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

Patch applies the patch and returns the patched fluentBitConfig.

func (*FakeFluentBitConfigs) Update

func (c *FakeFluentBitConfigs) Update(ctx context.Context, fluentBitConfig *v1alpha2.FluentBitConfig, opts v1.UpdateOptions) (result *v1alpha2.FluentBitConfig, err error)

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

func (*FakeFluentBitConfigs) Watch

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

type FakeFluentBits

type FakeFluentBits struct {
	Fake *FakeFluentbitV1alpha2
	// contains filtered or unexported fields
}

FakeFluentBits implements FluentBitInterface

func (*FakeFluentBits) Create

func (c *FakeFluentBits) Create(ctx context.Context, fluentBit *v1alpha2.FluentBit, opts v1.CreateOptions) (result *v1alpha2.FluentBit, err error)

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

func (*FakeFluentBits) Delete

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

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

func (*FakeFluentBits) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeFluentBits) Get

func (c *FakeFluentBits) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.FluentBit, err error)

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

func (*FakeFluentBits) List

func (c *FakeFluentBits) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.FluentBitList, err error)

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

func (*FakeFluentBits) Patch

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

Patch applies the patch and returns the patched fluentBit.

func (*FakeFluentBits) Update

func (c *FakeFluentBits) Update(ctx context.Context, fluentBit *v1alpha2.FluentBit, opts v1.UpdateOptions) (result *v1alpha2.FluentBit, err error)

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

func (*FakeFluentBits) UpdateStatus

func (c *FakeFluentBits) UpdateStatus(ctx context.Context, fluentBit *v1alpha2.FluentBit, opts v1.UpdateOptions) (*v1alpha2.FluentBit, error)

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

func (*FakeFluentBits) Watch

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

type FakeFluentbitV1alpha2

type FakeFluentbitV1alpha2 struct {
	*testing.Fake
}

func (*FakeFluentbitV1alpha2) ClusterFilters

func (*FakeFluentbitV1alpha2) ClusterFluentBitConfigs

func (c *FakeFluentbitV1alpha2) ClusterFluentBitConfigs() v1alpha2.ClusterFluentBitConfigInterface

func (*FakeFluentbitV1alpha2) ClusterInputs

func (*FakeFluentbitV1alpha2) ClusterMultilineParsers added in v2.8.0

func (c *FakeFluentbitV1alpha2) ClusterMultilineParsers() v1alpha2.ClusterMultilineParserInterface

func (*FakeFluentbitV1alpha2) ClusterOutputs

func (*FakeFluentbitV1alpha2) ClusterParsers

func (*FakeFluentbitV1alpha2) Collectors

func (c *FakeFluentbitV1alpha2) Collectors(namespace string) v1alpha2.CollectorInterface

func (*FakeFluentbitV1alpha2) Filters

func (c *FakeFluentbitV1alpha2) Filters(namespace string) v1alpha2.FilterInterface

func (*FakeFluentbitV1alpha2) FluentBitConfigs

func (c *FakeFluentbitV1alpha2) FluentBitConfigs(namespace string) v1alpha2.FluentBitConfigInterface

func (*FakeFluentbitV1alpha2) FluentBits

func (c *FakeFluentbitV1alpha2) FluentBits(namespace string) v1alpha2.FluentBitInterface

func (*FakeFluentbitV1alpha2) MultilineParsers added in v2.8.0

func (c *FakeFluentbitV1alpha2) MultilineParsers(namespace string) v1alpha2.MultilineParserInterface

func (*FakeFluentbitV1alpha2) Outputs

func (c *FakeFluentbitV1alpha2) Outputs(namespace string) v1alpha2.OutputInterface

func (*FakeFluentbitV1alpha2) Parsers

func (c *FakeFluentbitV1alpha2) Parsers(namespace string) v1alpha2.ParserInterface

func (*FakeFluentbitV1alpha2) RESTClient

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

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

type FakeMultilineParsers added in v2.8.0

type FakeMultilineParsers struct {
	Fake *FakeFluentbitV1alpha2
	// contains filtered or unexported fields
}

FakeMultilineParsers implements MultilineParserInterface

func (*FakeMultilineParsers) Create added in v2.8.0

func (c *FakeMultilineParsers) Create(ctx context.Context, multilineParser *v1alpha2.MultilineParser, opts v1.CreateOptions) (result *v1alpha2.MultilineParser, err error)

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

func (*FakeMultilineParsers) Delete added in v2.8.0

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

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

func (*FakeMultilineParsers) DeleteCollection added in v2.8.0

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

DeleteCollection deletes a collection of objects.

func (*FakeMultilineParsers) Get added in v2.8.0

func (c *FakeMultilineParsers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.MultilineParser, err error)

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

func (*FakeMultilineParsers) List added in v2.8.0

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

func (*FakeMultilineParsers) Patch added in v2.8.0

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

Patch applies the patch and returns the patched multilineParser.

func (*FakeMultilineParsers) Update added in v2.8.0

func (c *FakeMultilineParsers) Update(ctx context.Context, multilineParser *v1alpha2.MultilineParser, opts v1.UpdateOptions) (result *v1alpha2.MultilineParser, err error)

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

func (*FakeMultilineParsers) Watch added in v2.8.0

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

type FakeOutputs

type FakeOutputs struct {
	Fake *FakeFluentbitV1alpha2
	// contains filtered or unexported fields
}

FakeOutputs implements OutputInterface

func (*FakeOutputs) Create

func (c *FakeOutputs) Create(ctx context.Context, output *v1alpha2.Output, opts v1.CreateOptions) (result *v1alpha2.Output, err error)

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

func (*FakeOutputs) Delete

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

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

func (*FakeOutputs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeOutputs) Get

func (c *FakeOutputs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.Output, err error)

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

func (*FakeOutputs) List

func (c *FakeOutputs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.OutputList, err error)

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

func (*FakeOutputs) Patch

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

Patch applies the patch and returns the patched output.

func (*FakeOutputs) Update

func (c *FakeOutputs) Update(ctx context.Context, output *v1alpha2.Output, opts v1.UpdateOptions) (result *v1alpha2.Output, err error)

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

func (*FakeOutputs) Watch

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

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

type FakeParsers

type FakeParsers struct {
	Fake *FakeFluentbitV1alpha2
	// contains filtered or unexported fields
}

FakeParsers implements ParserInterface

func (*FakeParsers) Create

func (c *FakeParsers) Create(ctx context.Context, parser *v1alpha2.Parser, opts v1.CreateOptions) (result *v1alpha2.Parser, err error)

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

func (*FakeParsers) Delete

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

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

func (*FakeParsers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeParsers) Get

func (c *FakeParsers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.Parser, err error)

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

func (*FakeParsers) List

func (c *FakeParsers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ParserList, err error)

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

func (*FakeParsers) Patch

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

Patch applies the patch and returns the patched parser.

func (*FakeParsers) Update

func (c *FakeParsers) Update(ctx context.Context, parser *v1alpha2.Parser, opts v1.UpdateOptions) (result *v1alpha2.Parser, err error)

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

func (*FakeParsers) Watch

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

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

Jump to

Keyboard shortcuts

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