fake

package
v1.116.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 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 FakeTagsTagBindings added in v1.100.0

type FakeTagsTagBindings struct {
	Fake *FakeTagsV1beta1
	// contains filtered or unexported fields
}

FakeTagsTagBindings implements TagsTagBindingInterface

func (*FakeTagsTagBindings) Create added in v1.100.0

func (c *FakeTagsTagBindings) Create(ctx context.Context, tagsTagBinding *v1beta1.TagsTagBinding, opts v1.CreateOptions) (result *v1beta1.TagsTagBinding, err error)

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

func (*FakeTagsTagBindings) Delete added in v1.100.0

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

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

func (*FakeTagsTagBindings) DeleteCollection added in v1.100.0

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

DeleteCollection deletes a collection of objects.

func (*FakeTagsTagBindings) Get added in v1.100.0

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

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

func (*FakeTagsTagBindings) List added in v1.100.0

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

func (*FakeTagsTagBindings) Patch added in v1.100.0

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

Patch applies the patch and returns the patched tagsTagBinding.

func (*FakeTagsTagBindings) Update added in v1.100.0

func (c *FakeTagsTagBindings) Update(ctx context.Context, tagsTagBinding *v1beta1.TagsTagBinding, opts v1.UpdateOptions) (result *v1beta1.TagsTagBinding, err error)

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

func (*FakeTagsTagBindings) UpdateStatus added in v1.100.0

func (c *FakeTagsTagBindings) UpdateStatus(ctx context.Context, tagsTagBinding *v1beta1.TagsTagBinding, opts v1.UpdateOptions) (*v1beta1.TagsTagBinding, error)

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

func (*FakeTagsTagBindings) Watch added in v1.100.0

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

type FakeTagsTagKeys

type FakeTagsTagKeys struct {
	Fake *FakeTagsV1beta1
	// contains filtered or unexported fields
}

FakeTagsTagKeys implements TagsTagKeyInterface

func (*FakeTagsTagKeys) Create

func (c *FakeTagsTagKeys) Create(ctx context.Context, tagsTagKey *v1beta1.TagsTagKey, opts v1.CreateOptions) (result *v1beta1.TagsTagKey, err error)

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

func (*FakeTagsTagKeys) Delete

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

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

func (*FakeTagsTagKeys) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTagsTagKeys) Get

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

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

func (*FakeTagsTagKeys) List

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

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

func (*FakeTagsTagKeys) Patch

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

Patch applies the patch and returns the patched tagsTagKey.

func (*FakeTagsTagKeys) Update

func (c *FakeTagsTagKeys) Update(ctx context.Context, tagsTagKey *v1beta1.TagsTagKey, opts v1.UpdateOptions) (result *v1beta1.TagsTagKey, err error)

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

func (*FakeTagsTagKeys) UpdateStatus

func (c *FakeTagsTagKeys) UpdateStatus(ctx context.Context, tagsTagKey *v1beta1.TagsTagKey, opts v1.UpdateOptions) (*v1beta1.TagsTagKey, error)

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

func (*FakeTagsTagKeys) Watch

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

type FakeTagsTagValues

type FakeTagsTagValues struct {
	Fake *FakeTagsV1beta1
	// contains filtered or unexported fields
}

FakeTagsTagValues implements TagsTagValueInterface

func (*FakeTagsTagValues) Create

func (c *FakeTagsTagValues) Create(ctx context.Context, tagsTagValue *v1beta1.TagsTagValue, opts v1.CreateOptions) (result *v1beta1.TagsTagValue, err error)

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

func (*FakeTagsTagValues) Delete

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

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

func (*FakeTagsTagValues) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTagsTagValues) Get

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

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

func (*FakeTagsTagValues) List

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

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

func (*FakeTagsTagValues) Patch

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

Patch applies the patch and returns the patched tagsTagValue.

func (*FakeTagsTagValues) Update

func (c *FakeTagsTagValues) Update(ctx context.Context, tagsTagValue *v1beta1.TagsTagValue, opts v1.UpdateOptions) (result *v1beta1.TagsTagValue, err error)

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

func (*FakeTagsTagValues) UpdateStatus

func (c *FakeTagsTagValues) UpdateStatus(ctx context.Context, tagsTagValue *v1beta1.TagsTagValue, opts v1.UpdateOptions) (*v1beta1.TagsTagValue, error)

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

func (*FakeTagsTagValues) Watch

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

type FakeTagsV1beta1

type FakeTagsV1beta1 struct {
	*testing.Fake
}

func (*FakeTagsV1beta1) RESTClient

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

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

func (*FakeTagsV1beta1) TagsTagBindings added in v1.100.0

func (c *FakeTagsV1beta1) TagsTagBindings(namespace string) v1beta1.TagsTagBindingInterface

func (*FakeTagsV1beta1) TagsTagKeys

func (c *FakeTagsV1beta1) TagsTagKeys(namespace string) v1beta1.TagsTagKeyInterface

func (*FakeTagsV1beta1) TagsTagValues

func (c *FakeTagsV1beta1) TagsTagValues(namespace string) v1beta1.TagsTagValueInterface

Jump to

Keyboard shortcuts

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